Skip to content

Commit ff44683

Browse files
agrifwhitequark
authored andcommitted
vendor._gowin: use braces around net names in SDC
Gowin's SDC parser doesn't like quotes, so use braces instead. This is a follow-up to PR #1501, merged as 0f27429. That PR just missed this one last use of tcl_quote.
1 parent b8dc233 commit ff44683

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

amaranth/vendor/_gowin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ def _osc_div(self):
448448
"{{name}}.sdc": r"""
449449
// {{autogenerated}}
450450
{% for signal, frequency in platform.iter_signal_clock_constraints() -%}
451-
create_clock -name {{ "{" }}{{signal.name}}{{ "}" }} -period {{1000000000/frequency}} [get_nets {{signal|hierarchy("/")|tcl_quote}}]
451+
create_clock -name {{ "{" }}{{signal.name}}{{ "}" }} -period {{1000000000/frequency}} [get_nets {{ "{" }}{{signal|hierarchy("/")}}{{ "}" }}]
452452
{% endfor %}
453453
{% for port, frequency in platform.iter_port_clock_constraints() -%}
454454
create_clock -name {{ "{" }}{{port.name}}{{ "}" }} -period {{1000000000/frequency}} [get_ports

0 commit comments

Comments
 (0)