{%- for key, value in extras.items() %} {{key}}={{value}}{% endfor %};
{% endfor %}
{% for signal, frequency in platform.iter_clock_constraints() -%}
- FREQUENCY PORT "{{signal.name}}" {{frequency}} HZ;
+ FREQUENCY NET "{{signal|hierarchy(".")}}" {{frequency}} HZ;
{% endfor %}
"""
}
{%- for key, value in extras.items() %} {{key}}={{value}}{% endfor %};
{% endfor %}
{% for signal, frequency in platform.iter_clock_constraints() -%}
- FREQUENCY PORT "{{signal.name}}" {{frequency/1000000}} MHZ;
+ FREQUENCY NET "{{signal|hierarchy("/")}}" {{frequency/1000000}} MHZ;
{% endfor %}
{{get_override("add_preferences")|default("# (add_preferences placeholder)")}}
""",
# {{autogenerated}}
{% for signal, frequency in platform.iter_clock_constraints() -%}
{# Clock in MHz #}
- ctx.addClock("{{signal.name}}", {{frequency/1000000}})
+ ctx.addClock("{{signal|hierarchy(".")}}", {{frequency/1000000}})
{% endfor%}
""",
}