summaryrefslogtreecommitdiff
path: root/iirs_utils.ads
diff options
context:
space:
mode:
authorTristan Gingold2014-09-03 04:41:55 +0200
committerTristan Gingold2014-09-03 04:41:55 +0200
commit6d8c5299f20b4cd8f1e049f7eea454c00a3102b7 (patch)
treee06fd1ab55f2398d2e121ad6d7a7b3236aaeda6b /iirs_utils.ads
parente6ffb98cb5ad3f07bcaf79323d8ab8411688c494 (diff)
downloadghdl-6d8c5299f20b4cd8f1e049f7eea454c00a3102b7.tar.gz
ghdl-6d8c5299f20b4cd8f1e049f7eea454c00a3102b7.tar.bz2
ghdl-6d8c5299f20b4cd8f1e049f7eea454c00a3102b7.zip
Fix ghdl_simul (after previous change).
Diffstat (limited to 'iirs_utils.ads')
-rw-r--r--iirs_utils.ads12
1 files changed, 12 insertions, 0 deletions
diff --git a/iirs_utils.ads b/iirs_utils.ads
index 98b6b9e..3b06e27 100644
--- a/iirs_utils.ads
+++ b/iirs_utils.ads
@@ -164,6 +164,18 @@ package Iirs_Utils is
-- Return the identifier of the entity for architecture ARCH.
function Get_Entity_Identifier_Of_Architecture (Arch : Iir) return Name_Id;
+ -- Return True is component instantiation statement INST instantiate a
+ -- component.
+ function Is_Component_Instantiation
+ (Inst : Iir_Component_Instantiation_Statement)
+ return Boolean;
+
+ -- Return True is component instantiation statement INST instantiate a
+ -- design entity.
+ function Is_Entity_Instantiation
+ (Inst : Iir_Component_Instantiation_Statement)
+ return Boolean;
+
-- Return the bound type of a string type, ie the type of the (first)
-- dimension of a one-dimensional array type.
function Get_String_Type_Bound_Type (Sub_Type : Iir) return Iir;