6. Event Management > Event Notification
CPS-1848 User Manual
153
June 2, 2014
Formal Status
This document is confidential and is subject to an NDA.
Integrated Device Technology
6.3.11.1
Error Flags
If any bit is set in the
Error Log Match Status Register
, the interrupt signal is asserted. If the
.ALL_FLAG_STOP bit is set, then when all flags are asserted, the following actions occur:
• The Error Log stops accepting more event reports
• The
.STOP_EM bit is set
• An IDT port-write is transmitted
6.3.11.2
Error Counter
Using the
Error Log Match Register {0..7}
, the user can define which errors when detected, increment the
. If the counter reaches its maximum value of 0xFFFF it will stop incrementing, and remain at its maximum value until
it is reset. If the
.CNTR_MAX_STOP bit is set, and the counter reaches its maximum value, then the Error
Log stops accepting more event reports and generates a port-write based on the register description.
The Counter is reset when the Error Manager is reset, or the CNT_RESET bit is set in the
6.3.11.3
Error Management Stop
The Error Manager will stop if a specific error is detected and the
Error Log Match Register {0..7}
.STOP_EN. bit is set. The
user can stop the Error Manager by setting
.STOP_EM to 1. The user must set the same bit to 0 to
enable the Error Manager function.
The Event Log stops accepting further events when the Error Manager is stopped.
6.3.11.4
Error Log Notification Examples
The examples in
demonstrate how to trigger IDT port-writes and interrupts under various scenarios. This assumes
that the events have been configured to be reported to the Error Log as described in
All 8 flag bits must be asserted, which requires that all
Error Log Match Register {0..7}
have detected an event.
Table 57: Error Log Event Notification Examples
Scenario
Step
Register
Address
Register Value
Send an IDT port-write when lane 2 loses
lane-sync
Configure Error Log
(n=3) for Notification
0xFD0014
0x00024260
Send an Interrupt when any lane loses
lane-sync
Configure Error Log
(n=0) for Notification
0xFD0008
0x00440060
Count all lane events detected by the
CPS-1848
Configure Error Log
(n=7) to count all lane
events
0xFD0024
0x00580060