build/trellis: add verilog_read -defer option to yosys script
This commit is contained in:
parent
96e7e6e89a
commit
642c4b3036
|
@ -49,7 +49,10 @@ def _build_lpf(named_sc, named_pc, build_name):
|
||||||
# Yosys/Nextpnr Helpers/Templates ------------------------------------------------------------------
|
# Yosys/Nextpnr Helpers/Templates ------------------------------------------------------------------
|
||||||
|
|
||||||
_yosys_template = [
|
_yosys_template = [
|
||||||
|
"verilog_defaults -push",
|
||||||
|
"verilog_defaults -add -defer",
|
||||||
"{read_files}",
|
"{read_files}",
|
||||||
|
"verilog_defaults -pop",
|
||||||
"attrmap -tocase keep -imap keep=\"true\" keep=1 -imap keep=\"false\" keep=0 -remove keep=0",
|
"attrmap -tocase keep -imap keep=\"true\" keep=1 -imap keep=\"false\" keep=0 -remove keep=0",
|
||||||
"synth_ecp5 -abc9 {nwl} -json {build_name}.json -top {build_name}",
|
"synth_ecp5 -abc9 {nwl} -json {build_name}.json -top {build_name}",
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue