vendor.lattice_{ecp5,machxo_2_3l}: specify impl-dir correctly

This commit is contained in:
Robin Ole Heinemann 2020-08-10 17:23:29 +02:00 committed by whitequark
parent d964ba9cc4
commit b86acdc601
2 changed files with 2 additions and 2 deletions

View 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

View 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