build/icestorm: add verilog_read -defer option to yosys script (changes similar the ones applied to trellis).

This commit is contained in:
Florent Kermarrec 2020-04-27 13:17:53 +02:00
parent 192849f0b6
commit c4c891dec5
1 changed files with 3 additions and 0 deletions

View File

@ -38,7 +38,10 @@ def _build_pre_pack(vns, clocks):
# Yosys/Nextpnr Helpers/Templates ------------------------------------------------------------------
_yosys_template = [
"verilog_defaults -push",
"verilog_defaults -add -defer",
"{read_files}",
"verilog_defaults -pop",
"attrmap -tocase keep -imap keep=\"true\" keep=1 -imap keep=\"false\" keep=0 -remove keep=0",
"synth_ice40 {synth_opts} -json {build_name}.json -top {build_name} -dsp",
]