@@ -157,7 +157,7 @@ package AlertLogPkg is
157
157
constant ALERT_DEFAULT_ID : AlertLogIDType := ALERTLOG_DEFAULT_ID ;
158
158
constant LOG_DEFAULT_ID : AlertLogIDType := ALERTLOG_DEFAULT_ID ;
159
159
160
- constant ALERTLOG_ID_NOT_FOUND : AlertLogIDType := - 1 ; -- alternately integer'right
160
+ constant ALERTLOG_ID_NOT_FOUND : AlertLogIDType := - 1 ; -- alternately integer'high
161
161
constant ALERTLOG_ID_NOT_ASSIGNED : AlertLogIDType := - 1 ;
162
162
constant MIN_NUM_AL_IDS : AlertLogIDType := 32 ; -- Number IDs initially allocated
163
163
@@ -604,7 +604,7 @@ package AlertLogPkg is
604
604
PrintDisabledAlerts : OsvvmOptionsType := OPT_INIT_PARM_DETECT ;
605
605
PrintRequirements : OsvvmOptionsType := OPT_INIT_PARM_DETECT ;
606
606
PrintIfHaveRequirements : OsvvmOptionsType := OPT_INIT_PARM_DETECT ;
607
- DefaultPassedGoal : integer := integer 'left ;
607
+ DefaultPassedGoal : integer := integer 'low ;
608
608
AlertPrefix : string := OSVVM_STRING_INIT_PARM_DETECT ;
609
609
LogPrefix : string := OSVVM_STRING_INIT_PARM_DETECT ;
610
610
ReportPrefix : string := OSVVM_STRING_INIT_PARM_DETECT ;
@@ -613,7 +613,7 @@ package AlertLogPkg is
613
613
FailName : string := OSVVM_STRING_INIT_PARM_DETECT ;
614
614
IdSeparator : string := OSVVM_STRING_INIT_PARM_DETECT ;
615
615
WriteTimeLast : OsvvmOptionsType := OPT_INIT_PARM_DETECT ;
616
- TimeJustifyAmount : integer := integer 'left
616
+ TimeJustifyAmount : integer := integer 'low
617
617
) ;
618
618
619
619
procedure ReportAlertLogOptions ;
@@ -2975,10 +2975,10 @@ package body AlertLogPkg is
2975
2975
procedure ClearAlertStopCounts is
2976
2976
-- ----------------------------------------------------------
2977
2977
begin
2978
- AlertLogPtr(ALERTLOG_BASE_ID).AlertStopCount := (FAILURE => 0 , ERROR => integer 'right , WARNING => integer 'right ) ;
2978
+ AlertLogPtr(ALERTLOG_BASE_ID).AlertStopCount := (FAILURE => 0 , ERROR => integer 'high , WARNING => integer 'high ) ;
2979
2979
2980
2980
for i in ALERTLOG_BASE_ID + 1 to NumAlertLogIDsVar loop
2981
- AlertLogPtr(i).AlertStopCount := (FAILURE => integer 'right , ERROR => integer 'right , WARNING => integer 'right ) ;
2981
+ AlertLogPtr(i).AlertStopCount := (FAILURE => integer 'high , ERROR => integer 'high , WARNING => integer 'high ) ;
2982
2982
end loop ;
2983
2983
end procedure ClearAlertStopCounts ;
2984
2984
@@ -3122,7 +3122,7 @@ package body AlertLogPkg is
3122
3122
if AlertLogID = ALERTLOG_BASE_ID then
3123
3123
AlertEnabled := (TRUE , TRUE , TRUE ) ;
3124
3124
LogEnabled := (others => FALSE ) ;
3125
- AlertStopCount := (FAILURE => 0 , ERROR => integer 'right , WARNING => integer 'right ) ;
3125
+ AlertStopCount := (FAILURE => 0 , ERROR => integer 'high , WARNING => integer 'high ) ;
3126
3126
HierarchyLevel := 0 ;
3127
3127
EnQueueID(AlertLogID, ALERTLOG_BASE_ID, TRUE ) ;
3128
3128
else
@@ -3135,7 +3135,7 @@ package body AlertLogPkg is
3135
3135
LogEnabled := AlertLogPtr(ParentID).LogEnabled ;
3136
3136
EnQueueID(AlertLogID, ParentID, ParentIdSet) ;
3137
3137
end if ;
3138
- AlertStopCount := (FAILURE | ERROR | WARNING => integer 'right ) ;
3138
+ AlertStopCount := (FAILURE | ERROR | WARNING => integer 'high ) ;
3139
3139
end if ;
3140
3140
AlertLogPtr(AlertLogID).Name := new string '(iName) ;
3141
3141
AlertLogPtr(AlertLogID).NameLower := new string '(to_lower(iName)) ;
@@ -3146,7 +3146,7 @@ package body AlertLogPkg is
3146
3146
AlertLogPtr(AlertLogID).PassedGoal := 0 ;
3147
3147
AlertLogPtr(AlertLogID).AlertEnabled := AlertEnabled ;
3148
3148
AlertLogPtr(AlertLogID).AlertStopCount := AlertStopCount ;
3149
- AlertLogPtr(AlertLogID).AlertPrintCount := (FAILURE | ERROR | WARNING => integer 'right ) ;
3149
+ AlertLogPtr(AlertLogID).AlertPrintCount := (FAILURE | ERROR | WARNING => integer 'high ) ;
3150
3150
AlertLogPtr(AlertLogID).LogEnabled := LogEnabled ;
3151
3151
AlertLogPtr(AlertLogID).ReportMode := ReportMode ;
3152
3152
AlertLogPtr(AlertLogID).HierarchyLevel := HierarchyLevel ;
@@ -3742,7 +3742,7 @@ package body AlertLogPkg is
3742
3742
Count : integer
3743
3743
) is
3744
3744
begin
3745
- if AlertLogPtr(AlertLogID).AlertStopCount(Level) = integer 'right then
3745
+ if AlertLogPtr(AlertLogID).AlertStopCount(Level) = integer 'high then
3746
3746
AlertLogPtr(AlertLogID).AlertStopCount(Level) := Count ;
3747
3747
else
3748
3748
AlertLogPtr(AlertLogID).AlertStopCount(Level) :=
@@ -7102,7 +7102,7 @@ package body AlertLogPkg is
7102
7102
PrintDisabledAlerts : OsvvmOptionsType := OPT_INIT_PARM_DETECT ;
7103
7103
PrintRequirements : OsvvmOptionsType := OPT_INIT_PARM_DETECT ;
7104
7104
PrintIfHaveRequirements : OsvvmOptionsType := OPT_INIT_PARM_DETECT ;
7105
- DefaultPassedGoal : integer := integer 'left ;
7105
+ DefaultPassedGoal : integer := integer 'low ;
7106
7106
AlertPrefix : string := OSVVM_STRING_INIT_PARM_DETECT ;
7107
7107
LogPrefix : string := OSVVM_STRING_INIT_PARM_DETECT ;
7108
7108
ReportPrefix : string := OSVVM_STRING_INIT_PARM_DETECT ;
@@ -7111,7 +7111,7 @@ package body AlertLogPkg is
7111
7111
FailName : string := OSVVM_STRING_INIT_PARM_DETECT ;
7112
7112
IdSeparator : string := OSVVM_STRING_INIT_PARM_DETECT ;
7113
7113
WriteTimeLast : OsvvmOptionsType := OPT_INIT_PARM_DETECT ;
7114
- TimeJustifyAmount : integer := integer 'left
7114
+ TimeJustifyAmount : integer := integer 'low
7115
7115
) is
7116
7116
begin
7117
7117
-- synthesis translate_off
0 commit comments