summaryrefslogtreecommitdiffstats
path: root/riscv/README.org
blob: 9c549b7754a3a51b273c5d3558061c94b5a1ccfa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#+title: ButterStick CPU
#+author: Yann Herklotz

To build the example LED-blinking firmware for an HX8K Breakout Board and get
a timing report (checked against the default 12MHz oscillator):

#+begin_src shell
$ make clean example.bin timing
#+end_src

To run all the simulation tests:

#+begin_src shell
$ make clean example_sim synth_sim route_sim FIRMWARE_COUNTER_BITS=4
#+end_src

(You must run the `clean` target to rebuild the firmware with the updated
`FIRMWARE_COUNTER_BITS` parameter; the firmware source must be recompiled for
simulation vs hardware, but this is not tracked as a Makefile dependency.)