aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorWojciech Kosior <kwojtus@protonmail.com>2020-04-02 01:39:50 +0200
committerWojciech Kosior <kwojtus@protonmail.com>2020-04-02 01:39:50 +0200
commite956f85190bbb6b8e82d80f1f06ac586fae4f780 (patch)
tree9e695a40d86c830c8a224be115b709b7fb98dd35 /src/Makefile
parentb344b15ea2a8f23b3afaf5fc77a02bd511da2740 (diff)
downloadAGH-engineering-thesis-e956f85190bbb6b8e82d80f1f06ac586fae4f780.tar.gz
AGH-engineering-thesis-e956f85190bbb6b8e82d80f1f06ac586fae4f780.zip
warmup before actual work
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
new file mode 100644
index 0000000..b8a4ac5
--- /dev/null
+++ b/src/Makefile
@@ -0,0 +1,11 @@
+example.blif : example.v
+ yosys -p 'synth_ice40 -top vga_example -blif example.blif' example.v
+
+example.asc : example.blif
+ arachne-pnr -d 8k -o example.asc -p example.pcf example.blif -P ct256
+
+example.bin : example.asc
+ icepack example.asc example.bin
+
+prog : example.bin
+ iceprogduino example.bin