[Cryptech-Commits] [user/shatov/ice40mkm] 04/05: Makefile to build the MKM firmware. Build tested with Yosys 0.9, note that version 0.7 *which is shipped with Ubuntu 18.04) doesn't work.

git at cryptech.is git at cryptech.is
Mon Dec 20 10:07:52 UTC 2021


This is an automated email from the git hooks/post-receive script.

meisterpaul1 at yandex.ru pushed a commit to branch master
in repository user/shatov/ice40mkm.

commit 6d9bf8ee598da6720b6eaa1febc9e7f31c5ab2f2
Author: Pavel V. Shatov (Meister) <meisterpaul1 at yandex.ru>
AuthorDate: Mon Dec 20 13:03:52 2021 +0300

    Makefile to build the MKM firmware. Build tested with Yosys 0.9, note that
    version 0.7 *which is shipped with Ubuntu 18.04) doesn't work.
---
 mkm_refdes/src/Makefile | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/mkm_refdes/src/Makefile b/mkm_refdes/src/Makefile
new file mode 100644
index 0000000..304e598
--- /dev/null
+++ b/mkm_refdes/src/Makefile
@@ -0,0 +1,10 @@
+filename = mkm_refdes
+pcf_file = $(filename).pcf
+
+build:
+	yosys -p "synth_ice40 -blif $(filename).blif" $(filename).v
+	arachne-pnr -d 5k -P sg48 -p $(pcf_file) $(filename).blif -o $(filename).asc
+	icepack $(filename).asc $(filename).bin
+
+clean:
+	rm -rf $(filename).blif $(filename).asc $(filename).bin



More information about the Commits mailing list