Skip to content

Commit

Permalink
fix: component vhdl template
Browse files Browse the repository at this point in the history
  • Loading branch information
qarlosalberto committed Jul 21, 2023
1 parent a1ade24 commit f4c8f41
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ export const hdl_element_component =
{{ indent[1] }}port (
{% for port_inst in port -%}
{% if loop.last -%}
{{ indent[2] }}{{port_inst['info']['name']}} : {{port_inst['type']}}
{{ indent[2] }}{{port_inst['info']['name']}} : {{port_inst['direction']} {{port_inst['type']}}
{% else -%}
{{ indent[2] }}{{port_inst['info']['name']}} : {{port_inst['type']}};
{{ indent[2] }}{{port_inst['info']['name']}} : {{port_inst['direction']} {{port_inst['type']}};
{% endif -%}
{% endfor -%}
{{ indent[1] }});
Expand Down

0 comments on commit f4c8f41

Please sign in to comment.