Skip to content

Commit 76a343c

Browse files
committed
Fix for run-time instantiation in VHDL?
1 parent b03ddec commit 76a343c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/main/resources/templates/vhdl/network.vhdl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,13 +180,13 @@ begin
180180
{%- endfor %}
181181
{% endif %}
182182

183-
{%- if i == runtimeMappingProcess.runtimeMappings|length-1 %}
183+
{%- if i == runtimeMappingProcess.runtimeMappings|length %}
184184
-- We're done!
185185
{{ runtimeMappingProcess.processDoneSignal }} <= true;
186186
{% endif %}
187187

188-
{%- if i == 1+runtimeMappingProcess.runtimeMappings|length %}
189-
-- We're waiting to restart!
188+
{%- if i == 0 %}
189+
-- We're starting the next run!
190190
{{ runtimeMappingProcess.processDoneSignal }} <= false;
191191
{% endif %}
192192
{%- endfor %}

0 commit comments

Comments
 (0)