aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/vhdl-sem_inst.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-12-22 10:19:43 +0100
committerTristan Gingold <tgingold@free.fr>2022-12-23 08:53:09 +0100
commit91266a811cd8cd5dcd70345ea6acbb899389453c (patch)
treebccc893934a3fbebf43d6034fb314104c91ecd49 /src/vhdl/vhdl-sem_inst.ads
parentf05bbd02f16d3368e9c171a7f42a08f26219262d (diff)
downloadghdl-91266a811cd8cd5dcd70345ea6acbb899389453c.tar.gz
ghdl-91266a811cd8cd5dcd70345ea6acbb899389453c.tar.bz2
ghdl-91266a811cd8cd5dcd70345ea6acbb899389453c.zip
vhdl-sem_inst: add instantiate_component_declaration.
For #2264
Diffstat (limited to 'src/vhdl/vhdl-sem_inst.ads')
-rw-r--r--src/vhdl/vhdl-sem_inst.ads3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vhdl/vhdl-sem_inst.ads b/src/vhdl/vhdl-sem_inst.ads
index c9585d0c7..dea437837 100644
--- a/src/vhdl/vhdl-sem_inst.ads
+++ b/src/vhdl/vhdl-sem_inst.ads
@@ -40,6 +40,9 @@ package Vhdl.Sem_Inst is
-- body. INST has the form of a generic-mapped package.
function Instantiate_Package_Body (Inst : Iir) return Iir;
+ function Instantiate_Component_Declaration (Comp : Iir; Map : Iir)
+ return Iir;
+
-- In CHAIN, substitute all references to E by REP.
procedure Substitute_On_Chain (Chain : Iir; E : Iir; Rep : Iir);