
August 2000
MESC_ST1
MACRO
Data Sheet
Logic Design Solutions
8/28
1.4.2.3
Ingress Sustained Cell Rate Violation Count CLP P
The Ingress Sustained Cell Rate Violation 16-bits Counter is determined as follows :
If (Match) then
if ((
T
- Previous_Arrival_Time) < (1/Contract_SCR)) and
(
T
> Previous_Arrival_time) then
if (Second_Time /= Previous_Violation_Time) then
SCR_Violation <= (SCR_Violation + 1) ;
Previous_Violation_Time <= Second_Time ;
end if ;
end if ;
Previous_Arrival_Time <=
T
;
end if ;
When the
T
counter roll over the statistics are not updated.
The Previous_ Arrival _Time field is the same as used for the Minimum and Maximum statistics.
The SCR_Violation statistic is managed per priority
P
and per connection
VCX
.
When resetted the SCR_Violation field get 0000\h.
When resetted the Previous_Violation_Time field get 0000 0000\h.
When resetted the Previous_Arrival_Time field get
T
current counter value.
The micro must store in the IE_SDRAM the (1/Contract_SCR) value in units of timeslots (680ns) per connection.
The SCR_Violation field contains the total number of one second periods containing one or more SCR violations.
The Previous_Violation_Time field contains the time (in second) at which the last SCR Violations occured.
1.4.2.4
Ingress Maximum Burst Size CLP P
The Ingress maximum Burst size 16-bits Counter is determined as follows :
If (Match) then
if ((
T
- Previous_Arrival_Time)
≤
(1/Contract_PCR)) and
(
T
> Previous_Arrival_time)
then Current_Burst_Size <= (Current_Burst_Size + 1) ;
else Current_Burst_Size <= 0 ;
end if ;
--
if (Current_Burst_Size > Max_Burst_Size)
then Max_Burst_Size <= Current_Burst_Size ;
end if ;
--
Previous_Arrival_Time <=
T
;
end if ;
When the
T
counter roll over the statistics are not updated.
The Previous_ Arrival _Time field is the same as used for the Minimum and Maximum statistics.
The Max_Burst_Size statistic is managed per priority
P
and per connection
VCX
.
When resetted the Current_Burst_Size field get 0000\h.
When resetted the Max_Burst_Size field get 0000\h.
When resetted the Previous_Arrival_Time field get
T
current counter value.