From bccafab9f706394f70cdf88dfbe12f711ead415c Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Wed, 11 Jan 2023 05:18:46 +0100 Subject: synth: allow file declaration in protected objects --- src/synth/synth-vhdl_decls.adb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/synth/synth-vhdl_decls.adb') diff --git a/src/synth/synth-vhdl_decls.adb b/src/synth/synth-vhdl_decls.adb index 5c9e62f37..f0c521c63 100644 --- a/src/synth/synth-vhdl_decls.adb +++ b/src/synth/synth-vhdl_decls.adb @@ -420,7 +420,8 @@ package body Synth.Vhdl_Decls is when Iir_Kind_Type_Declaration | Iir_Kind_Anonymous_Type_Declaration | Iir_Kind_Subtype_Declaration - | Iir_Kind_Variable_Declaration => + | Iir_Kind_Variable_Declaration + | Iir_Kind_File_Declaration => Elab.Vhdl_Decls.Elab_Declaration (Obj_Inst, Decl, True, Last_Type); when Iir_Kind_Function_Declaration -- cgit v1.2.3