aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/icestorm/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/icestorm/build.sh')
-rw-r--r--scripts/icestorm/build.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/icestorm/build.sh b/scripts/icestorm/build.sh
index dcd6fb6..cdefd04 100644
--- a/scripts/icestorm/build.sh
+++ b/scripts/icestorm/build.sh
@@ -1,5 +1,6 @@
#!/bin/bash
set -ex
-yosys -ql synth.log -p 'synth_ice40 -blif synth.blif' ../../picorv32.v
+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