aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/canon.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2016-09-18 15:04:33 +0200
committerTristan Gingold <tgingold@free.fr>2016-09-18 15:04:33 +0200
commit62652e356f2e91d2317f5305a03f972385ba7ca1 (patch)
tree57cd13d4c1ccaaa78f29d2b304e0090a35d06d29 /src/vhdl/canon.ads
parent6284c9c6baf057a4421b1163328621c707349080 (diff)
downloadghdl-62652e356f2e91d2317f5305a03f972385ba7ca1.tar.gz
ghdl-62652e356f2e91d2317f5305a03f972385ba7ca1.tar.bz2
ghdl-62652e356f2e91d2317f5305a03f972385ba7ca1.zip
vhdl08: preliminary work for package body instantiation.
Diffstat (limited to 'src/vhdl/canon.ads')
-rw-r--r--src/vhdl/canon.ads5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vhdl/canon.ads b/src/vhdl/canon.ads
index 7481fe029..97c36b2d3 100644
--- a/src/vhdl/canon.ads
+++ b/src/vhdl/canon.ads
@@ -52,6 +52,11 @@ package Canon is
(Arch : Iir_Architecture_Body)
return Iir_Design_Unit;
+ -- Macro-expand package bodies for instantiations in DECL. Return the
+ -- chain of bodies.
+ function Create_Instantiation_Bodies (Decl : Iir_Package_Declaration)
+ return Iir;
+
-- Canonicalize a subprogram call.
procedure Canon_Subprogram_Call (Call : Iir);