5 toplevel.bin
: master.rpt master.bin worker.rpt worker.bin
6 tools
/icestorm
/icemulti
/icemulti
-o toplevel.bin
-v
-p0 worker.bin master.bin
9 tools
/yosys
/yosys
-p
'synth_ice40 -top master -blif $@' $<
12 tools
/yosys
/yosys
-p
'synth_ice40 -top worker -blif $@' $<
15 tools
/arachne-pnr
/bin
/arachne-pnr
-d
$(subst hx
,,$(subst lp
,,$(DEVICE
))) -o
$@
-p
$^
-P tq144
18 tools
/icestorm
/icepack
/icepack
$< $@
21 tools
/icestorm
/icetime
/icetime
-C tools
/icestorm
/icebox
/chipdb-
$(subst hx
,,$(subst lp
,,$(DEVICE
))).txt
-d
$(DEVICE
) -mtr
$@
$<
24 tools
/icestorm
/iceprog
/iceprog
$<
29 progmaster
: master.bin
30 tools
/icestorm
/iceprog
/iceprog
$<
33 rm -f master.blif master.asc worker.blif worker.asc master.bin worker.bin toplevel.bin
37 tools
/yosys
/yosys
-p
'read_verilog -sv -DSIM worker.v; prep -top worker -nordff; sim -clock CLKin -vcd test.vcd -n 3000'
39 .PHONY
: all prog
clean sim