Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add support for building and simulating picosoc for TinyFPGA-BX with FuseSoC
To test this the core libraries must first be available. Create a workspace directory and run
or, alternatively if the repos are already on disk and you want to use those instead, run
Picosoc for TinyFPGA-BX can now be built with
This uses
nextpnr
by default. To use arachne-pnr, changepnr : next
topnr : arachne
in the .core fileTo simulate, first create
firmware.hex
(make -C examples/picosoc/firmware.hex
). It is recommended to decrease the blink period tme as simulation takes a long time otherwise (e.g. change toreg_leds = led_timer >> 6;
infirmware.c
. With the newly createdfirmware.hex
runTo use modelsim instead of icarus add
--tool=modelsim
after--target=sim
To find out all available simulation options (e.g. to generate a VCD file or set a simulation timeout) run
FuseSoC 1.8.4 or later is required