Giter Site home page Giter Site logo

chisel-de1soc-fpga-template's Introduction

This repository includes Quartus files for DE1-SOC for a simple top-level module. This can be used as a template.

Getting Started

 $ git clone https://github.com/kazutomo/de1soc-chisel-temp.git
 $ cd de1soc-chisel-temp
 $ make    # this generate Foobar.v

NOTE:

  • tested on Fedora 28 with sbt 1.2.6
  • Chisel may not work after source the quartus env; it might cause a Java-related error

How to generate DE1SOC bitstream

 # setup the quartus environment before make

 $ source your_quartus_env_sh
 $ make sof

How to run the bitstream on DE1SOC

 # configure and start the USB-blaster (see below)

 $ quartus_pgmw

Configure and start the USB blaster

$ sudo ln -s /lib64/libudev.so.1 /lib64/libudev.so.0

Add the following lines to the /etc/udev/rules.d/51-usbblaster.rules file:

    SUBSYSTEM=="usb", ATTR{idVendor}=="09fb", ATTR{idProduct}=="6001", MODE="0666" OWNER="1000"
    SUBSYSTEM=="usb", ATTR{idVendor}=="09fb", ATTR{idProduct}=="6002", MODE="0666" OWNER="1000"
    SUBSYSTEM=="usb", ATTR{idVendor}=="09fb", ATTR{idProduct}=="6003", MODE="0666" OWNER="1000"
    SUBSYSTEM=="usb", ATTR{idVendor}=="09fb", ATTR{idProduct}=="6010", MODE="0666" OWNER="1000"
    SUBSYSTEM=="usb", ATTR{idVendor}=="09fb", ATTR{idProduct}=="6810", MODE="0666" OWNER="1000"


$ sudo udevadm control --reload-rules   # reboot may be need

$ jtagd  --user-start --foreground --debug

chisel-de1soc-fpga-template's People

Contributors

kazutomo avatar

Watchers

 avatar  avatar

Forkers

lapnd

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.