Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/schoeberl/chisel-examples
Chisel examples and code snippets
https://github.com/schoeberl/chisel-examples
Last synced: 5 days ago
JSON representation
Chisel examples and code snippets
- Host: GitHub
- URL: https://github.com/schoeberl/chisel-examples
- Owner: schoeberl
- License: bsd-2-clause
- Created: 2013-12-05T10:43:09.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2022-08-01T13:27:20.000Z (over 2 years ago)
- Last Synced: 2024-11-09T23:36:29.615Z (2 months ago)
- Language: Tcl
- Size: 1.11 MB
- Stars: 232
- Watchers: 20
- Forks: 78
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Chisel Examples
This repository is a collection of code examples for [Chisel](https://chisel.eecs.berkeley.edu/).
This collection has been moved to the latest version of Chisel, Chisel 3.
I have collected notes on this move in [TowardsChisel3](TowardsChisel3.md)# Getting the Examples
$ git clone https://github.com/schoeberl/chisel-examples.git
The collection is organized as follows:
**hello-world** is a self contained minimal project for a blinking LED in an FPGA.
The rest of the examples are rooted in the current folder.
# Needed Tools
* A recent version of Java (JDK 8 or later)
* The Scala build tool [sbt](http://www.scala-sbt.org/)
# Running the examples
make alu
Generates the Verilog files for the small ALU.
Synthesize it for the DE0 board with Quartus and the alu project file.make alu-test
Generats the C++ based simulation and runs the tests.See the Makefile for further examples, or simply run `sbt run` to see all objects with a main.
## Notes using the DE10-Nano
Change switches for FPGA configuration to:
```
+------+
|* ** *|
| * * |
+------+
```Probably add USB blaster permissions for: Bus 001 Device 005: ID 09fb:6810 Altera and 09fb:6010
A TTL UART is connected to GPIO pins 1 and 2 of GPIO 0.
```
GND * *
* *
* *
* *
* *
txd * * rxd (pin 1)
```rxd and txd are from the FPGA view, therefore TTL UART rxd needs to
be connected to txd (pin 2) and the other way around.