From 62652e356f2e91d2317f5305a03f972385ba7ca1 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sun, 18 Sep 2016 15:04:33 +0200 Subject: vhdl08: preliminary work for package body instantiation. --- src/vhdl/canon.ads | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/vhdl/canon.ads') 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); -- cgit v1.2.3