diff --git a/scripts/icestorm/.gitignore b/scripts/icestorm/.gitignore new file mode 100644 index 0000000..9542efe --- /dev/null +++ b/scripts/icestorm/.gitignore @@ -0,0 +1,2 @@ +synth.blif +synth.log 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