From f4c8f416e86ce5067311b8494b67b490a98c49a0 Mon Sep 17 00:00:00 2001 From: qarlosalberto Date: Fri, 21 Jul 2023 12:20:51 +0200 Subject: [PATCH] fix: component vhdl template --- .../colibri/src/template/helpers/template_definition_vhdl.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/colibri/src/template/helpers/template_definition_vhdl.ts b/packages/colibri/src/template/helpers/template_definition_vhdl.ts index f7e70578..fff16019 100644 --- a/packages/colibri/src/template/helpers/template_definition_vhdl.ts +++ b/packages/colibri/src/template/helpers/template_definition_vhdl.ts @@ -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] }});