aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/icestorm
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2015-06-22 11:35:48 +0200
committerClifford Wolf <clifford@clifford.at>2015-06-22 11:35:48 +0200
commit982e5cc60085236be18a5be35f3747e480ed549f (patch)
treef5cdb2eb80646bca7587953fb6a57dbe954e7ff8 /scripts/icestorm
parent8590c7d2a897b65cd3c55d8a0ce1353d0ae5386d (diff)
downloadpicorv32-982e5cc60085236be18a5be35f3747e480ed549f.tar.gz
picorv32-982e5cc60085236be18a5be35f3747e480ed549f.zip
Added simple icestorm script (not a real example yet)
Diffstat (limited to 'scripts/icestorm')
-rw-r--r--scripts/icestorm/.gitignore2
-rw-r--r--scripts/icestorm/build.sh5
2 files changed, 7 insertions, 0 deletions
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