Skip to content

Commit 7664a00

Browse files
anuejnwhitequark
authored andcommitted
vendor._lattice: fix typo in clock constraint generation
before this would raise an exception if platform.iter_signal_clock_constraints() returned any constraints.
1 parent 3c3dffa commit 7664a00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

amaranth/vendor/_lattice.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ class LatticePlatform(TemplatedPlatform):
498498
{% endif %}
499499
{% endfor %}
500500
{% for signal, frequency in platform.iter_signal_clock_constraints() -%}
501-
FREQUENCY NET "{{signals|hierarchy(".")}}" {{frequency}} HZ;
501+
FREQUENCY NET "{{signal|hierarchy(".")}}" {{frequency}} HZ;
502502
{% endfor %}
503503
{% for port, frequency in platform.iter_port_clock_constraints() -%}
504504
FREQUENCY PORT "{{port.name}}" {{frequency}} HZ;

0 commit comments

Comments
 (0)