diff options
author | Tristan Gingold <tgingold@free.fr> | 2016-09-18 15:04:33 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2016-09-18 15:04:33 +0200 |
commit | 62652e356f2e91d2317f5305a03f972385ba7ca1 (patch) | |
tree | 57cd13d4c1ccaaa78f29d2b304e0090a35d06d29 /src/vhdl/canon.ads | |
parent | 6284c9c6baf057a4421b1163328621c707349080 (diff) | |
download | ghdl-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.ads | 5 |
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); |