aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-07-28 08:08:05 +0200
committerTristan Gingold <tgingold@free.fr>2022-07-28 08:08:05 +0200
commit59e2a56061237670591c19cd0f2bb9a05a4bf233 (patch)
tree13b4fb5b06c390139c57475a23ee74ba56924780
parent902544fdc86c3b4fe53ccd3bb07b38ae3f8856bc (diff)
downloadghdl-59e2a56061237670591c19cd0f2bb9a05a4bf233.tar.gz
ghdl-59e2a56061237670591c19cd0f2bb9a05a4bf233.tar.bz2
ghdl-59e2a56061237670591c19cd0f2bb9a05a4bf233.zip
synth-vhdl_expr: add support for branch quantities
-rw-r--r--src/synth/synth-vhdl_expr.adb1
-rw-r--r--src/synth/synth-vhdl_stmts.adb1
2 files changed, 2 insertions, 0 deletions
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);