We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c78806f commit 212cb2cCopy full SHA for 212cb2c
amaranth/vendor/_gowin.py
@@ -443,9 +443,10 @@ def _osc_div(self):
443
create_clock -name {{signal.name|tcl_quote}} -period {{1000000000/frequency}} [get_nets {{signal|hierarchy("/")|tcl_quote}}]
444
{% endfor %}
445
{% for port, frequency in platform.iter_port_clock_constraints() -%}
446
- create_clock -name {{port.name|tcl_quote}} -period {{1000000000/frequency}} [get_ports {{port.name|tcl_quote}}]
+ create_clock -name {{port.name|tcl_quote}} -period {{1000000000/frequency}} [get_ports
447
+ {{ "{" }}{{port.name}}{{ "}" }}]
448
- {{get_override("add_constraints")|default("# (add_constraints placeholder)")}}
449
+ {{get_override("add_constraints")|default("// (add_constraints placeholder)")}}
450
""",
451
}
452
_gowin_command_templates = [
0 commit comments