Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: m-labs/nmigen
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ee1ad2daf183
Choose a base ref
...
head repository: m-labs/nmigen
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5f9b8ec1eba2
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Sep 22, 2019

  1. vendor.lattice_ecp5: simplify quoting. NFC.

    See commit ee1ad2d.
    whitequark committed Sep 22, 2019
    Copy the full SHA
    5f9b8ec View commit details
Showing with 9 additions and 9 deletions.
  1. +9 −9 nmigen/vendor/lattice_ecp5.py
18 changes: 9 additions & 9 deletions nmigen/vendor/lattice_ecp5.py
Original file line number Diff line number Diff line change
@@ -185,22 +185,22 @@ class LatticeECP5Platform(TemplatedPlatform):
{{emit_design("verilog")}}
""",
"{{name}}.tcl": r"""
prj_project new -name "{{name}}" -impl "impl" -impl_dir "top_impl" \
prj_project new -name {{name}} -impl impl -impl_dir top_impl \
-dev {{platform.device}}-{{platform.speed}}{{platform.package}}{{platform.grade}} \
-lpf "{{name}}.lpf" \
-lpf {{name}}.lpf \
-synthesis synplify
{% for file in platform.iter_extra_files(".v", ".sv", ".vhd", ".vhdl") -%}
prj_src add "{{file}}"
{% endfor %}
prj_src add "{{name}}.v"
prj_impl option top "{{name}}"
prj_src add "{{name}}.sdc"
prj_src add {{name}}.v
prj_impl option top {{name}}
prj_src add {{name}}.sdc
{{get_override("script_project")|default("# (script_project placeholder)")}}
prj_project save
prj_run Synthesis -impl "impl" -forceAll
prj_run Translate -impl "impl" -forceAll
prj_run Map -impl "impl" -forceAll
prj_run PAR -impl "impl" -forceAll
prj_run Synthesis -impl impl -forceAll
prj_run Translate -impl impl -forceAll
prj_run Map -impl impl -forceAll
prj_run PAR -impl impl -forceAll
prj_run Export -impl "impl" -forceAll -task Bitgen
{{get_override("script_after_export")|default("# (script_after_export placeholder)")}}
""",