aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/elab-vhdl_insts.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2021-11-28 10:35:20 +0100
committerTristan Gingold <tgingold@free.fr>2021-11-28 12:13:25 +0100
commitd4c36d398f9ca32e5fad23298bcef1ed9473e7f9 (patch)
tree37b24a84457892134f874471bd49ade18cdc2394 /src/synth/elab-vhdl_insts.ads
parent53a2fdc7927300233c9aec1a4772bd339f930ef5 (diff)
downloadghdl-d4c36d398f9ca32e5fad23298bcef1ed9473e7f9.tar.gz
ghdl-d4c36d398f9ca32e5fad23298bcef1ed9473e7f9.tar.bz2
ghdl-d4c36d398f9ca32e5fad23298bcef1ed9473e7f9.zip
synth: add hooks to support elaboration of foreign instances
Diffstat (limited to 'src/synth/elab-vhdl_insts.ads')
-rw-r--r--src/synth/elab-vhdl_insts.ads7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/synth/elab-vhdl_insts.ads b/src/synth/elab-vhdl_insts.ads
index 3c34fa4ed..b85b3d23a 100644
--- a/src/synth/elab-vhdl_insts.ads
+++ b/src/synth/elab-vhdl_insts.ads
@@ -33,4 +33,11 @@ package Elab.Vhdl_Insts is
-- The synthesis of BLK will clear all configuration of it.
procedure Apply_Block_Configuration (Cfg : Node; Blk : Node);
+ type Elab_Foreign_Instance_Acc is access
+ procedure (Syn_Inst : Synth_Instance_Acc;
+ Comp_Inst : Synth_Instance_Acc;
+ Bind : Node;
+ Module : Node);
+
+ Elab_Foreign_Instance : Elab_Foreign_Instance_Acc;
end Elab.Vhdl_Insts;