Replace top.sv with $(TOP).sv

This commit is contained in:
Graham Edgecombe 2017-12-10 09:25:18 +00:00
parent 0306c4dc72
commit 9c8dfd1b82

View file

@ -42,7 +42,7 @@ $(BLIF): $(YS) $(SRC) progmem_syn.hex
yosys $(QUIET) -s $<
check: $(SRC)
iverilog -Wall -t null -g2012 `yosys-config --datdir/ice40/cells_sim.v` top.sv
iverilog -Wall -t null -g2012 `yosys-config --datdir/ice40/cells_sim.v` $(TOP).sv
$(ASC_SYN): $(BLIF) $(PCF)
arachne-pnr $(QUIET) -d $(DEVICE) -P $(PACKAGE) -o $@ -p $(PCF) $<