From 777da6874bdbda1c83108024eb37dc901e04838e Mon Sep 17 00:00:00 2001 From: Nathan Ringo Date: Mon, 23 Sep 2024 19:25:28 -0500 Subject: Produce timing reports from nextpnr. --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 2d1d292..d2a6e87 100644 --- a/Makefile +++ b/Makefile @@ -20,11 +20,13 @@ gtkwave: tmp/sim.vcd tmp/sim.vcd: tmp/$(TOPMODULE)Sim.exe tmp/$(TOPMODULE)Sim.exe -V $@ tmp/%.bin: tmp/%.asc + # https://github.com/YosysHQ/icestorm/issues/114 # icetime -d up5k -c 12 $< icepack $< $@ -tmp/%.asc: tmp/%.json src/icebreaker.pcf +tmp/%.asc tmp/%-report.json: tmp/%.json src/icebreaker.pcf nextpnr-ice40 -ql tmp/$*.nplog --up5k --package sg48 --freq 12 \ - --asc $@ --pcf src/icebreaker.pcf --json $< + --asc $@ --report tmp/$*-report.json \ + --pcf src/icebreaker.pcf --json $< tmp/$(TOPMODULE).json: tmp/$(TOPMODULE).v $(addprefix $(BSC)/lib/Verilog/,$(BSC_SOURCES)) yosys -ql tmp/$(TOPMODULE).yslog -p 'synth_ice40 -top mkTop -json $@' $^ tmp/$(TOPMODULE)Sim.exe: tmp/$(TOPFILE).bo -- cgit v1.2.3