diff options
author | Tristan Gingold <tgingold@free.fr> | 2014-06-14 17:34:15 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2014-06-14 17:34:15 +0200 |
commit | 86af8ab7aa5f56ce5636eb6b8d48b03d52b415eb (patch) | |
tree | 2098dddb7632a1819ff5c50c80cd66cc43df3914 /evaluation.ads | |
parent | dd88ae7e34c2d33c0afae482f022dbdb08f59c72 (diff) | |
download | ghdl-86af8ab7aa5f56ce5636eb6b8d48b03d52b415eb.tar.gz ghdl-86af8ab7aa5f56ce5636eb6b8d48b03d52b415eb.tar.bz2 ghdl-86af8ab7aa5f56ce5636eb6b8d48b03d52b415eb.zip |
configuration: add Check_Entity_Declaration_Top from translation.
evaluation: add Get_Path_Instance_Name_Suffix from translation.
grt-signals: rename ghdl_signal_direct_driver to ghdl_signal_add_direct_driver.
add ghdl_signal_direct_assign; make active_chain private.
Diffstat (limited to 'evaluation.ads')
-rw-r--r-- | evaluation.ads | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/evaluation.ads b/evaluation.ads index 7a4df00bb..86dd977b4 100644 --- a/evaluation.ads +++ b/evaluation.ads @@ -104,4 +104,16 @@ package Evaluation is -- Compare two string literals (of same length). type Compare_Type is (Compare_Lt, Compare_Eq, Compare_Gt); function Compare_String_Literals (L, R : Iir) return Compare_Type; + + -- Return the local part of 'Instance_Name or 'Path_Name. + type Path_Instance_Name_Type (Len : Natural) is record + -- The node before suffix (entity, architecture or generate iterator). + Path_Instance : Iir; + + -- The suffix + Suffix : String (1 .. Len); + end record; + + function Get_Path_Instance_Name_Suffix (Attr : Iir) + return Path_Instance_Name_Type; end Evaluation; |