SummerCart64/fw/cpu/picorv32/scripts/icestorm
Polprzewodnikowy 604c8a76d2 yo
2021-08-29 01:56:43 +02:00
..
.gitignore yo 2021-08-29 01:56:43 +02:00
example_tb.v yo 2021-08-29 01:56:43 +02:00
example.pcf yo 2021-08-29 01:56:43 +02:00
example.v yo 2021-08-29 01:56:43 +02:00
firmware.c yo 2021-08-29 01:56:43 +02:00
firmware.lds yo 2021-08-29 01:56:43 +02:00
firmware.S yo 2021-08-29 01:56:43 +02:00
Makefile yo 2021-08-29 01:56:43 +02:00
readme.md yo 2021-08-29 01:56:43 +02:00

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.)