summaryrefslogtreecommitdiff
path: root/types.ads
diff options
context:
space:
mode:
authorgingold2010-01-12 03:15:20 +0000
committergingold2010-01-12 03:15:20 +0000
commitfb5957a16dea47ae4021c5d4c57b980cea02ee59 (patch)
treeabdfbed5924f5be4418f74a0afe50b248e41c330 /types.ads
parent8cca0b24e2c19eedecffdeec89a8a2898da1e362 (diff)
downloadghdl-fb5957a16dea47ae4021c5d4c57b980cea02ee59.tar.gz
ghdl-fb5957a16dea47ae4021c5d4c57b980cea02ee59.tar.bz2
ghdl-fb5957a16dea47ae4021c5d4c57b980cea02ee59.zip
ghdl 0.29 release.
Diffstat (limited to 'types.ads')
-rw-r--r--types.ads9
1 files changed, 8 insertions, 1 deletions
diff --git a/types.ads b/types.ads
index cb75910..9c2ce28 100644
--- a/types.ads
+++ b/types.ads
@@ -28,6 +28,7 @@ package Types is
for Int32'Size use 32;
subtype Nat32 is Int32 range 0 .. Int32'Last;
+ subtype Pos32 is Nat32 range 1 .. Nat32'Last;
type Uns32 is new Interfaces.Unsigned_32;
@@ -53,7 +54,7 @@ package Types is
type String_Cst is access constant String;
type String_Acc_Array is array (Natural range <>) of String_Acc;
- subtype String_Fat is String (Positive);
+ type String_Fat is array (Pos32) of Character;
type String_Fat_Acc is access String_Fat;
-- Array of iir_int32.
@@ -105,6 +106,12 @@ package Types is
type File_Buffer is array (Source_Ptr range <>) of Character;
type File_Buffer_Acc is access File_Buffer;
+ -- PSL Node.
+ type PSL_Node is new Int32;
+
+ -- PSL NFA
+ type PSL_NFA is new Int32;
+
-- Indentation.
-- This is used by all packages that display vhdl code or informations.
Indentation : constant := 2;