From 9e33bb7142f7bfcec6260426f92b6f5fe372a765 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Wed, 11 Jan 2023 05:42:45 +0100 Subject: synth: support constant declarations in protected types --- src/synth/synth-vhdl_decls.adb | 1 + 1 file changed, 1 insertion(+) (limited to 'src/synth') diff --git a/src/synth/synth-vhdl_decls.adb b/src/synth/synth-vhdl_decls.adb index f0c521c63..593452083 100644 --- a/src/synth/synth-vhdl_decls.adb +++ b/src/synth/synth-vhdl_decls.adb @@ -420,6 +420,7 @@ package body Synth.Vhdl_Decls is when Iir_Kind_Type_Declaration | Iir_Kind_Anonymous_Type_Declaration | Iir_Kind_Subtype_Declaration + | Iir_Kind_Constant_Declaration | Iir_Kind_Variable_Declaration | Iir_Kind_File_Declaration => Elab.Vhdl_Decls.Elab_Declaration -- cgit v1.2.3