From 7312ecd487d8a7760c8cfe1dff18c2f2c71d0c03 Mon Sep 17 00:00:00 2001 From: uvok Date: Fri, 26 Dec 2025 13:22:48 +0100 Subject: make: make yosys-dep quit, add nextpnr_opts --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e7fc552..669aa17 100644 --- a/Makefile +++ b/Makefile @@ -60,7 +60,7 @@ simu: $(PROGRAM).lxt2 # sh resolvedeps.sh $< # only used for dep-generation, output file is needed for dep file, but otherwise useless # this must happen *without* synth_gowin, as this includes additional files, which ruin the depfile. - yosys $< -E $*.dep -o $@ && rm -f $@ + yosys -q $< -E $*.dep -o $@ && rm -f $@ yosys -p "read_verilog $<; synth_gowin -top $* -json $@" $(YOSYS_OPTS) # because yosys -E is buggy, or behaves differently than expected, @@ -74,10 +74,12 @@ simu: $(PROGRAM).lxt2 nextpnr-himbaechel --json $< --write $@ \ --device $(DEVICE_NAME) --vopt family=$(DEVICE_FAMILY) \ --vopt cst=$(CST) \ + $(NEXTPNR_OPTS) \ || \ nextpnr-gowin --json $< --write $@ \ --device $(DEVICE_NAME) --family $(DEVICE_FAMILY) \ - --cst $(CST) + --cst $(CST) \ + $(NEXTPNR_OPTS) # pack bitstream %.fs: %.pnr.json -- cgit v1.2.3