diff options
-rw-r--r-- | mkm_refdes/src/Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
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 |