vendor.lattice_{ecp5,machxo_2_3l}: specify impl-dir correctly
authorRobin Ole Heinemann <robin.ole.heinemann@t-online.de>
Mon, 10 Aug 2020 15:23:29 +0000 (17:23 +0200)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 31 Dec 2021 14:56:31 +0000 (14:56 +0000)
nmigen/vendor/lattice_ecp5.py
nmigen/vendor/lattice_machxo_2_3l.py

index cd5c99acf2010cb7f9254aed988692e1ce798d6d..c798739f37068fd38b24d7f0e5687d0967ff43f4 100644 (file)
@@ -200,7 +200,7 @@ class LatticeECP5Platform(TemplatedPlatform):
             {{emit_debug_verilog()}}
         """,
         "{{name}}.tcl": r"""
-            prj_project new -name {{name}} -impl impl -impl_dir top_impl \
+            prj_project new -name {{name}} -impl impl -impl_dir {{name}}_impl \
                 -dev {{platform.device}}-{{platform.speed}}{{platform.package}}{{platform.grade}} \
                 -lpf {{name}}.lpf \
                 -synthesis synplify
index 96dbf0252b041056fc17f7455159666e7726f149..95204bebb0d269f84dea493f0690b7aeca20aa83 100644 (file)
@@ -63,7 +63,7 @@ class LatticeMachXO2Or3LPlatform(TemplatedPlatform):
             {{emit_debug_verilog()}}
         """,
         "{{name}}.tcl": r"""
-            prj_project new -name {{name}} -impl impl -impl_dir top_impl \
+            prj_project new -name {{name}} -impl impl -impl_dir {{name}}_impl \
                 -dev {{platform.device}}-{{platform.speed}}{{platform.package}}{{platform.grade}} \
                 -lpf {{name}}.lpf \
                 -synthesis synplify