forked from ucb-bar/riscv-sodor
-
Notifications
You must be signed in to change notification settings - Fork 21
Examples Line by Line
apaj edited this page Jan 2, 2018
·
2 revisions
This page is intended to give you hands-on examples of writing Chisel, generating a simulator to see it run, and so forth.
The following set of problems have been selected to walk you through increasingly difficult tasks in Chisel. The problems start off easy and increase in difficulty as you progress. Also, the problems cover almost all the important aspects of digital design (combinational logic, sequential logic, FSMs, etc.).
The repository includes a number of hands on problems (shortcut to them) From those, do these seven: If you get stuck while solving them, answers to the other problems have been included, so you have working examples to borrow code from.
- Adder
- Counter
- Accumulator
- Vector Shift Register (vectors of elements)
- Dynamic Memory Search
- Vending Machine (FSMs)
- Memo (using memory elements)
- Mul (lookup table)