File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -237,11 +237,12 @@ class LatticeECP5Platform(TemplatedPlatform):
237
237
{{get_override("add_preferences")|default("# (add_preferences placeholder)")}}
238
238
""" ,
239
239
"{{name}}.sdc" : r"""
240
+ set_hierarchy_separator {/}
240
241
{% for net_signal, port_signal, frequency in platform.iter_clock_constraints() -%}
241
242
{% if port_signal is not none -%}
242
- create_clock -name {{port_signal.name|tcl_escape }} -period {{1000000000/frequency}} [get_ports {{port_signal.name|tcl_escape }}]
243
+ create_clock -name {{port_signal.name|tcl_quote }} -period {{1000000000/frequency}} [get_ports {{port_signal.name|tcl_quote }}]
243
244
{% else -%}
244
- create_clock -name {{net_signal.name|tcl_escape }} -period {{1000000000/frequency}} [get_nets {{net_signal|hierarchy("/")|tcl_escape }}]
245
+ create_clock -name {{net_signal.name|tcl_quote }} -period {{1000000000/frequency}} [get_nets {{net_signal|hierarchy("/")|tcl_quote }}]
245
246
{% endif %}
246
247
{% endfor %}
247
248
{{get_override("add_constraints")|default("# (add_constraints placeholder)")}}
You can’t perform that action at this time.
0 commit comments