summaryrefslogtreecommitdiff
path: root/iirs_utils.ads
diff options
context:
space:
mode:
authorTristan Gingold2014-06-26 07:56:54 +0200
committerTristan Gingold2014-06-26 07:56:54 +0200
commit7fe7bdb1b5b0250c213526208a03445f58fba92d (patch)
tree7e210a0838c15943b6f69d2096bbe2405d68745d /iirs_utils.ads
parent8b3ec6b7edf3aedbe7084609881571d1603e9621 (diff)
downloadghdl-7fe7bdb1b5b0250c213526208a03445f58fba92d.tar.gz
ghdl-7fe7bdb1b5b0250c213526208a03445f58fba92d.tar.bz2
ghdl-7fe7bdb1b5b0250c213526208a03445f58fba92d.zip
add more support for vhdl2008: aliases, visibility and preliminary work for
generic packages.
Diffstat (limited to 'iirs_utils.ads')
-rw-r--r--iirs_utils.ads6
1 files changed, 6 insertions, 0 deletions
diff --git a/iirs_utils.ads b/iirs_utils.ads
index 8061cba..1477d8e 100644
--- a/iirs_utils.ads
+++ b/iirs_utils.ads
@@ -150,6 +150,12 @@ package Iirs_Utils is
-- See also Evaluation.Get_Physical_Value.
function Get_Physical_Literal_Value (Lit : Iir) return Iir_Int64;
+ -- Definitions from LRM08 4.7 Package declarations.
+ -- PKG must denote a package declaration.
+ function Is_Simple_Package (Pkg : Iir) return Boolean;
+ function Is_Uninstantiated_Package (Pkg : Iir) return Boolean;
+ function Is_Generic_Mapped_Package (Pkg : Iir) return Boolean;
+
-- Return TRUE if the base name of NAME is a signal object.
function Is_Signal_Object (Name: Iir) return Boolean;