diff options
-rw-r--r-- | src/synth/synth-vhdl_decls.adb | 3 |
1 files changed, 2 insertions, 1 deletions
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 |