diff options
author | Tristan Gingold <tgingold@free.fr> | 2023-01-11 05:01:46 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2023-01-11 05:01:46 +0100 |
commit | f41cba897a99c1ae635000f32289cf3faeb8d4f6 (patch) | |
tree | 48d4924cc0468871624b89d4232d19da28996623 | |
parent | 9c74053b14345ba80bc8b785e50c016918e68789 (diff) | |
download | ghdl-f41cba897a99c1ae635000f32289cf3faeb8d4f6.tar.gz ghdl-f41cba897a99c1ae635000f32289cf3faeb8d4f6.tar.bz2 ghdl-f41cba897a99c1ae635000f32289cf3faeb8d4f6.zip |
synth: also elaborate dependencies of configurations
-rw-r--r-- | src/synth/elab-vhdl_insts.adb | 4 |
1 files changed, 4 insertions, 0 deletions
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; |