From 280caeffe77d67463cc06115dadf9ff2a49eba50 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 19 Feb 2022 15:07:48 +0000 Subject: [PATCH] hm -abc9 seems to be working, and without -nowidelut --- src/ls2.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ls2.py b/src/ls2.py index 1a7974e..6486bdd 100644 --- a/src/ls2.py +++ b/src/ls2.py @@ -309,9 +309,10 @@ if __name__ == "__main__": clk_freq=50e6, add_cpu=True) - #if toolchain == 'Trellis': + if toolchain == 'Trellis': # add -abc9 option to yosys synth_ecp5 - # os.environ['NMIGEN_synth_opts'] = '-abc9' + #os.environ['NMIGEN_synth_opts'] = '-abc9 -nowidelut' + os.environ['NMIGEN_synth_opts'] = '-abc9' if platform is not None: # build and upload it -- 2.30.2