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.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/icestorm/build.sh b/scripts/icestorm/build.sh
new file mode 100644
index 0000000..dcd6fb6
--- /dev/null
+++ b/scripts/icestorm/build.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+set -ex
+yosys -ql synth.log -p 'synth_ice40 -blif synth.blif' ../../picorv32.v
+arachne-pnr -d 8k -o synth.txt synth.blif
+icepack synth.txt synth.bin