From f41cba897a99c1ae635000f32289cf3faeb8d4f6 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Wed, 11 Jan 2023 05:01:46 +0100 Subject: synth: also elaborate dependencies of configurations --- src/synth/elab-vhdl_insts.adb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/synth') diff --git a/src/synth/elab-vhdl_insts.adb b/src/synth/elab-vhdl_insts.adb index 48893f38b..8e93fed84 100644 --- a/src/synth/elab-vhdl_insts.adb +++ b/src/synth/elab-vhdl_insts.adb @@ -264,11 +264,15 @@ package body Elab.Vhdl_Insts is end if; end Elab_Package_Instantiation; + procedure Elab_Dependencies (Parent_Inst : Synth_Instance_Acc; Unit : Node); + procedure Elab_Configuration_Declaration (Parent_Inst : Synth_Instance_Acc; Conf : Node) is Syn_Inst : Synth_Instance_Acc; begin + Elab_Dependencies (Root_Instance, Get_Design_Unit (Conf)); + Syn_Inst := Create_Package_Instance (Parent_Inst, Conf); Elab_Declarations (Syn_Inst, Get_Declaration_Chain (Conf)); end Elab_Configuration_Declaration; -- cgit v1.2.3