From: Luke Kenneth Casson Leighton Date: Sat, 19 Feb 2022 15:07:48 +0000 (+0000) Subject: hm -abc9 seems to be working, and without -nowidelut X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=280caeffe77d67463cc06115dadf9ff2a49eba50;p=ls2.git hm -abc9 seems to be working, and without -nowidelut --- 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