1 2 3 4 5 6 7 8 9 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