projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96e7e6e
)
build/trellis: add verilog_read -defer option to yosys script
author
Greg Davill
<greg.davill@gmail.com>
Mon, 27 Apr 2020 10:40:25 +0000
(20:10 +0930)
committer
Greg Davill
<greg.davill@gmail.com>
Mon, 27 Apr 2020 10:40:25 +0000
(20:10 +0930)
litex/build/lattice/trellis.py
patch
|
blob
|
history
diff --git
a/litex/build/lattice/trellis.py
b/litex/build/lattice/trellis.py
index a9ae49be4368aa43973579bf2e16afb28e5a2e0b..fa19b91929e7700559e3a92ef8d9b9a67b8a3389 100644
(file)
--- a/
litex/build/lattice/trellis.py
+++ b/
litex/build/lattice/trellis.py
@@
-49,7
+49,10
@@
def _build_lpf(named_sc, named_pc, build_name):
# 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_ecp5 -abc9 {nwl} -json {build_name}.json -top {build_name}",
]