X-Git-Url: http://git.rot13.org/?p=trilby-hat-fpga;a=blobdiff_plain;f=Makefile;h=ed75e6e1a1cdd3f7fdbbcbc6890014157ec2f18f;hp=34477b7e380e0af8c897ca979c8f31784af6aec3;hb=HEAD;hpb=619adcc915cbf7b7ded0992cd08f2438957e3a22 diff --git a/Makefile b/Makefile index 34477b7..ed75e6e 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ TRELLIS?=/usr/share/trellis all: ${PROJ}.bit %.json: %.v - yosys -p "synth_ecp5 -json $@" $< + yosys -p "read_verilog ${PROJ}.v ; synth_ecp5 ; write_json $@" -E .$(basename $@).d $< %_out.config: %.json nextpnr-ecp5 --json $< --textcfg $@ --45k --package CABGA381 --lpf trilby.lpf @@ -22,3 +22,4 @@ clean: rm -f *.svf *.bit *.config *.json .PHONY: prog clean +-include .*.d