From 982e5cc60085236be18a5be35f3747e480ed549f Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Mon, 22 Jun 2015 11:35:48 +0200 Subject: [PATCH] Added simple icestorm script (not a real example yet) --- scripts/icestorm/.gitignore | 2 ++ scripts/icestorm/build.sh | 5 +++++ 2 files changed, 7 insertions(+) create mode 100644 scripts/icestorm/.gitignore create mode 100644 scripts/icestorm/build.sh 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