From: Florent Kermarrec Date: Mon, 27 Apr 2020 11:17:53 +0000 (+0200) Subject: build/icestorm: add verilog_read -defer option to yosys script (changes similar the... X-Git-Tag: 24jan2021_ls180~432 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c4c891dec51a77560f8660967f6666b170b517dc;p=litex.git build/icestorm: add verilog_read -defer option to yosys script (changes similar the ones applied to trellis). --- diff --git a/litex/build/lattice/icestorm.py b/litex/build/lattice/icestorm.py index a084a998..2822a9b5 100644 --- a/litex/build/lattice/icestorm.py +++ b/litex/build/lattice/icestorm.py @@ -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", ]