build/lattice/trellis: use abc9 techmapping pass with yosys
authorGabriel L. Somlo <gsomlo@gmail.com>
Fri, 5 Jul 2019 20:28:23 +0000 (16:28 -0400)
committerGabriel L. Somlo <gsomlo@gmail.com>
Fri, 9 Aug 2019 13:12:22 +0000 (09:12 -0400)
Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
litex/build/lattice/trellis.py

index 7f7047bf7d70a9dc49b9e396cf71128e6a81941d..ab3fd2edc21b0041df8a25ee7f56f2d46f6dbe8e 100644 (file)
@@ -138,7 +138,7 @@ class LatticeTrellisToolchain:
         self.yosys_template = [
             "{read_files}",
             "attrmap -tocase keep -imap keep=\"true\" keep=1 -imap keep=\"false\" keep=0 -remove keep=0",
-            "synth_ecp5 -json {build_name}.json -top {build_name}",
+            "synth_ecp5 -abc9 -json {build_name}.json -top {build_name}",
         ]
 
         self.build_template = [