From b86acdc60187606a83d0b228d8d6154a6cdbc9d4 Mon Sep 17 00:00:00 2001 From: Robin Ole Heinemann Date: Mon, 10 Aug 2020 17:23:29 +0200 Subject: [PATCH] vendor.lattice_{ecp5,machxo_2_3l}: specify impl-dir correctly --- nmigen/vendor/lattice_ecp5.py | 2 +- nmigen/vendor/lattice_machxo_2_3l.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nmigen/vendor/lattice_ecp5.py b/nmigen/vendor/lattice_ecp5.py index cd5c99a..c798739 100644 --- a/nmigen/vendor/lattice_ecp5.py +++ b/nmigen/vendor/lattice_ecp5.py @@ -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 diff --git a/nmigen/vendor/lattice_machxo_2_3l.py b/nmigen/vendor/lattice_machxo_2_3l.py index 96dbf02..95204be 100644 --- a/nmigen/vendor/lattice_machxo_2_3l.py +++ b/nmigen/vendor/lattice_machxo_2_3l.py @@ -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 -- 2.30.2