aboutsummaryrefslogtreecommitdiffstats
path: root/src/types.ads
diff options
context:
space:
mode:
Diffstat (limited to 'src/types.ads')
-rw-r--r--src/types.ads3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/types.ads b/src/types.ads
index e118a108c..2b6fa412c 100644
--- a/src/types.ads
+++ b/src/types.ads
@@ -181,6 +181,9 @@ package Types is
-- Result of a comparaison of two numeric values.
type Order_Type is (Less, Equal, Greater);
+ -- Direction for a range. Used by many HDLs!
+ type Direction_Type is (Dir_To, Dir_Downto);
+
-- Modular type for the size. We don't use Storage_Offset in order to
-- make alignment computation efficient (knowing that alignment is a
-- power of two).