From 59e2a56061237670591c19cd0f2bb9a05a4bf233 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Thu, 28 Jul 2022 08:08:05 +0200 Subject: synth-vhdl_expr: add support for branch quantities --- src/synth/synth-vhdl_expr.adb | 1 + src/synth/synth-vhdl_stmts.adb | 1 + 2 files changed, 2 insertions(+) diff --git a/src/synth/synth-vhdl_expr.adb b/src/synth/synth-vhdl_expr.adb index e646f6b0b..a7cb5f5d0 100644 --- a/src/synth/synth-vhdl_expr.adb +++ b/src/synth/synth-vhdl_expr.adb @@ -685,6 +685,7 @@ package body Synth.Vhdl_Expr is | Iir_Kind_Constant_Declaration | Iir_Kind_Iterator_Declaration | Iir_Kind_Free_Quantity_Declaration + | Iir_Kinds_Branch_Quantity_Declaration | Iir_Kind_Object_Alias_Declaration | Iir_Kind_Non_Object_Alias_Declaration | Iir_Kind_File_Declaration diff --git a/src/synth/synth-vhdl_stmts.adb b/src/synth/synth-vhdl_stmts.adb index 05f6ef8fd..b48b107c5 100644 --- a/src/synth/synth-vhdl_stmts.adb +++ b/src/synth/synth-vhdl_stmts.adb @@ -120,6 +120,7 @@ package body Synth.Vhdl_Stmts is | Iir_Kind_Non_Object_Alias_Declaration | Iir_Kind_Object_Alias_Declaration | Iir_Kind_Free_Quantity_Declaration + | Iir_Kinds_Branch_Quantity_Declaration | Iir_Kind_Dot_Attribute => declare Targ : constant Valtyp := Get_Value (Syn_Inst, Pfx); -- cgit v1.2.3