summaryrefslogtreecommitdiff
path: root/src/vhdl/translate/trans-chap4.ads
diff options
context:
space:
mode:
authorTristan Gingold2015-06-05 22:04:42 +0200
committerTristan Gingold2015-06-05 22:04:42 +0200
commit463e00e93d8b2507519310789ea9e4fc668cc4ac (patch)
tree3292cbb3bd7ef34156c1768b7719e828078eeeab /src/vhdl/translate/trans-chap4.ads
parentb250273b27b71e2096f05fe4669dae42d83f4e26 (diff)
downloadghdl-463e00e93d8b2507519310789ea9e4fc668cc4ac.tar.gz
ghdl-463e00e93d8b2507519310789ea9e4fc668cc4ac.tar.bz2
ghdl-463e00e93d8b2507519310789ea9e4fc668cc4ac.zip
Rework procedure calls, now use a record to pass parameters.
Diffstat (limited to 'src/vhdl/translate/trans-chap4.ads')
-rw-r--r--src/vhdl/translate/trans-chap4.ads3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vhdl/translate/trans-chap4.ads b/src/vhdl/translate/trans-chap4.ads
index 1299424..6f9b8ae 100644
--- a/src/vhdl/translate/trans-chap4.ads
+++ b/src/vhdl/translate/trans-chap4.ads
@@ -87,6 +87,9 @@ package Trans.Chap4 is
-- Allocate the storage for OBJ, if necessary.
procedure Elab_Object_Storage (Obj : Iir);
+ -- For a scalar or access type ATYPE, return the default initial value.
+ function Get_Scalar_Initial_Value (Atype : Iir) return O_Enode;
+
-- Initialize NAME/OBJ with VALUE.
procedure Elab_Object_Init (Name : Mnode; Obj : Iir; Value : Iir);