hm -abc9 seems to be working, and without -nowidelut
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 19 Feb 2022 15:07:48 +0000 (15:07 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 19 Feb 2022 15:07:48 +0000 (15:07 +0000)
src/ls2.py

index 1a7974e23e7ef413be8f7bc31256720927e00c4a..6486bdddb534e94f7084034e7159342a0445c578 100644 (file)
@@ -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