aboutsummaryrefslogtreecommitdiffstats
path: root/translate/grt/grt-types.ads
diff options
context:
space:
mode:
Diffstat (limited to 'translate/grt/grt-types.ads')
-rw-r--r--translate/grt/grt-types.ads5
1 files changed, 5 insertions, 0 deletions
diff --git a/translate/grt/grt-types.ads b/translate/grt/grt-types.ads
index 18ea2b9f3..96bd97b51 100644
--- a/translate/grt/grt-types.ads
+++ b/translate/grt/grt-types.ads
@@ -86,6 +86,11 @@ package Grt.Types is
function To_Std_String_Ptr is new Ada.Unchecked_Conversion
(Source => Address, Target => Std_String_Ptr);
+ type Std_Bit is ('0', '1');
+ type Std_Bit_Vector_Uncons is array (Ghdl_Index_Type range <>) of Std_Bit;
+ subtype Std_Bit_Vector_Base is Std_Bit_Vector_Uncons (Ghdl_Index_Type);
+ type Std_Bit_Vector_Basep is access all Std_Bit_Vector_Base;
+
-- An unconstrained array.
-- It is in fact a fat pointer to the base and the bounds.
type Ghdl_Uc_Array is record