apio build [OPTIONS]
Synthesize the bitstream: generates a bin file from a verilog and a pcf files.
Required packages: scons
, icestorm
.
apio build
-b, --board
Select a specific board.
--fpga
Select a specific FPGA.
--size --type --pack
Select a specific FPGA size, type and pack.
-p, --project-dir
Set the target directory for the project.
-v, --verbose
Show the entire output of the command.
--verbose-yosys
Show the yosys output of the command.
--verbose-arachne
Show the arachne output of the command.
Note
All available boards, FPGAs, sizes, types and packs are showed in cmd_boards
- Process the leds example
$ apio build
[] Processing icezum
---------------------------------------------------------------------------------------------
yosys -p "synth_ice40 -blif hardware.blif" -q leds.v
arachne-pnr -d 1k -P tq144 -p leds.pcf -o hardware.asc -q hardware.blif
icepack hardware.asc hardware.bin
================================== [SUCCESS] Took 0.72 seconds ==============================