picorv32/scripts/icestorm/build.sh

7 lines
198 B
Bash
Raw Normal View History

#!/bin/bash
set -ex
2015-07-04 22:34:18 +08:00
echo -n > firmware.hex
yosys -l synth.log -p 'synth_ice40 -top top -blif synth.blif' ../../picorv32.v top.v
arachne-pnr -d 8k -o synth.txt synth.blif
icepack synth.txt synth.bin