diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-09-26 08:13:09 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-09-26 08:13:09 +0200 |
commit | 8269262a63906c16f4fc2fd3c17fc91216eb7f09 (patch) | |
tree | 6d0bb3c3e1488510ba00bf7df81c35825a216e2e /src/vhdl/vhdl-sem_inst.ads | |
parent | 73d2b4ce553340c576a85c8d3d9461ddfd95ea0f (diff) | |
download | ghdl-8269262a63906c16f4fc2fd3c17fc91216eb7f09.tar.gz ghdl-8269262a63906c16f4fc2fd3c17fc91216eb7f09.tar.bz2 ghdl-8269262a63906c16f4fc2fd3c17fc91216eb7f09.zip |
vhdl: analyze subprogram instantiations. WIP. For #1470
Diffstat (limited to 'src/vhdl/vhdl-sem_inst.ads')
-rw-r--r-- | src/vhdl/vhdl-sem_inst.ads | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vhdl/vhdl-sem_inst.ads b/src/vhdl/vhdl-sem_inst.ads index eb87994d2..6d8a76300 100644 --- a/src/vhdl/vhdl-sem_inst.ads +++ b/src/vhdl/vhdl-sem_inst.ads @@ -24,6 +24,9 @@ package Vhdl.Sem_Inst is -- Create declaration chain and generic declarations for INST from PKG. procedure Instantiate_Package_Declaration (Inst : Iir; Pkg : Iir); + -- Create interface parameters of INST from SUBPRG. + procedure Instantiate_Subprogram_Declaration (Inst : Iir; Subprg : Iir); + -- Return the instantiation of the body for INST, ie macro-expand the -- body. INST has the form of a generic-mapped package. function Instantiate_Package_Body (Inst : Iir) return Iir; |