diff options
author | Tristan Gingold | 2014-06-14 17:34:15 +0200 |
---|---|---|
committer | Tristan Gingold | 2014-06-14 17:34:15 +0200 |
commit | 86af8ab7aa5f56ce5636eb6b8d48b03d52b415eb (patch) | |
tree | 2098dddb7632a1819ff5c50c80cd66cc43df3914 /configuration.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 'configuration.ads')
-rw-r--r-- | configuration.ads | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configuration.ads b/configuration.ads index 9b5ea9b..0a19a23 100644 --- a/configuration.ads +++ b/configuration.ads @@ -46,4 +46,10 @@ package Configuration is Flag_Load_All_Design_Units : Boolean := True; Flag_Build_File_Dependence : Boolean := False; + + -- Check if ENTITY can be at the top of a hierarchy, ie: + -- ENTITY has no generics or all generics have a default expression + -- ENTITY has no ports or all ports type are constrained. + -- If not, emit a elab error message. + procedure Check_Entity_Declaration_Top (Entity : Iir_Entity_Declaration); end Configuration; |