mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2024-12-25 15:39:27 -05:00
Add yosys flags to optimize synthesis
* -abc2, run two passes of 'abc' for slightly improved logic density * -device u, optimize timing for up5k device * -dff, run 'abc'/'abc9' with -dff (D flip flop) option Update digest of application_fpga.bin
This commit is contained in:
parent
3514d7ef3c
commit
8af048fb9a
@ -335,7 +335,8 @@ synth.json: $(FPGA_SRC) $(VERILOG_SRCS) $(PICORV32_SRCS) bram_fw.hex \
|
|||||||
$(YOSYS_FLAG) \
|
$(YOSYS_FLAG) \
|
||||||
-DBRAM_FW_SIZE=$(BRAM_FW_SIZE) \
|
-DBRAM_FW_SIZE=$(BRAM_FW_SIZE) \
|
||||||
-DFIRMWARE_HEX=\"$(P)/bram_fw.hex\" \
|
-DFIRMWARE_HEX=\"$(P)/bram_fw.hex\" \
|
||||||
-p 'synth_ice40 -dsp -top application_fpga -json $@; write_verilog -attr2comment synth.v' \
|
-p 'synth_ice40 -abc2 -device u -dff -dsp -top application_fpga -json $@' \
|
||||||
|
-p 'write_verilog -attr2comment synth.v' \
|
||||||
$(filter %.v, $^)
|
$(filter %.v, $^)
|
||||||
|
|
||||||
application_fpga_par.json: synth.json $(P)/data/$(PIN_FILE)
|
application_fpga_par.json: synth.json $(P)/data/$(PIN_FILE)
|
||||||
|
@ -1 +1 @@
|
|||||||
8dcd61bda632cee5a11c2eb1fc2b36f4948a9ef872e5826b23cc147c8bd2c975 application_fpga.bin
|
6585aafa13727dc5bf560f34c457048ca3d13ee6ab502c2afc737b1e70fa5a00 application_fpga.bin
|
||||||
|
Loading…
Reference in New Issue
Block a user