mirror of https://github.com/YosysHQ/picorv32.git
770b5bd4c6
Notes about how to build proper simulation vs hardware bitstreams. Signed-off-by: Austin Seipp <aseipp@pobox.com> |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile | ||
example.pcf | ||
example.v | ||
example_tb.v | ||
firmware.S | ||
firmware.c | ||
firmware.lds | ||
readme.md |
readme.md
To build the example LED-blinking firmware for an HX8K Breakout Board and get a timing report (checked against the default 12MHz oscillator):
$ make clean example.bin timing
To run all the simulation tests:
$ make clean example_sim synth_sim route_sim FIRMWARE_COUNTER_BITS=4
(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.)