summaryrefslogtreecommitdiff
path: root/example/Makefile
diff options
context:
space:
mode:
authorVladimir Vassilev <vladimir@lightside-instruments.com>2020-02-14 02:12:14 +0100
committerVladimir Vassilev <vladimir@lightside-instruments.com>2020-02-14 02:12:14 +0100
commitf164a8bc5b083e993977c807aae1006552abc45d (patch)
tree38d04ff6436f45d79e900ac06bf6f3945de2c3a3 /example/Makefile
parent729cde057cabe4627fe1fb177a12a5a1db91e979 (diff)
Release ice4pi-1.1
Diffstat (limited to 'example/Makefile')
-rw-r--r--example/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/example/Makefile b/example/Makefile
new file mode 100644
index 0000000..a55ea4c
--- /dev/null
+++ b/example/Makefile
@@ -0,0 +1,11 @@
+
+rot.bin: rot.v rot.pcf
+ yosys -q -p "synth_ice40 -blif rot.blif" rot.v
+ arachne-pnr -p rot.pcf rot.blif -o rot.txt
+ icebox_explain rot.txt > rot.ex
+ icepack rot.txt rot.bin
+ ./ice4pi_prog rot.bin
+# iceprog rot.bin
+
+clean:
+ rm -f rot.blif rot.txt rot.ex rot.bin