summaryrefslogtreecommitdiff
path: root/configuration.ads
diff options
context:
space:
mode:
authorTristan Gingold2014-06-14 17:34:15 +0200
committerTristan Gingold2014-06-14 17:34:15 +0200
commit86af8ab7aa5f56ce5636eb6b8d48b03d52b415eb (patch)
tree2098dddb7632a1819ff5c50c80cd66cc43df3914 /configuration.ads
parentdd88ae7e34c2d33c0afae482f022dbdb08f59c72 (diff)
downloadghdl-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.ads6
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;