
CYP15G0201DXB
CYV15G0201DXB
Document #: 38-02058 Rev. *G
Page 24 of 46
The BIST state machine has multiple states, as shown in
Figure 4
and
Table 18
. When the receive PLL detects an
out-of-lock condition, the BIST state is forced to the
Start-of-BIST state, regardless of the present state of the BIST
state machine. If the number of detected errors ever exceeds
the number of valid matches by greater than 16, the state
machine is forced to the WAIT_FOR_BIST state where it
monitors the interface for the first character of the next BIST
sequence (D0.0). Also, if the Elasticity Buffer ever hits and
overflow/underflow condition, the status is forced to the
BIST_START until the buffer is re centered (approximately
nine character periods).
To ensure compatibility between the source and destination
BIST operating modes, the sending and receiving ends of the
link must use the same receive clock setup (RXCKSEL = MID
or RXCKSEL
≠
MID.
Table 18. Receive Character Status Bits when Channel Bonding is enabled
RXSTx[2:0] Priority
000
Description
Type-A Status
Type-B Status
7
Normal Character Received
.
The valid Data character on the output bus meets all the formatting require-
ments of Data characters listed in
Table 24
.
Special Code Detected
. The valid special character on the output bus meets all the formatting require-
ments of Special Code characters listed in
Table 25
, but is not the presently selected framing character
or a Decoder violation indication.
Receive Elasticity Buffer Underrun/Overrun
Error
.
The receive buffer was not able to add/drop
a K28.5 or framing character.
001
7
010
2
Channel Lock Detected
. Asserts when the bonded
channels have detected RESYNC within the allotted
window. Presented only on the last cycle before
aligned data is presented.
011
5
Framing Character Detected
. This indicates that a character matching the patterns identified as a
framing character (as selected by FRAMCHAR) was detected. The decoded value of this character is
present in the associated output bus.
Codeword Violation
. The character on the output bus is a C0.7. This indicates that the received
character cannot be decoded into any valid character.
Loss of Sync
.
The character on the bus is invalid,
due to an event that has caused the receive
channels to lose synchronization. When channel
bonding is enabled, this indicates that one or more
channels have either lost bit synchronization (loss of
character framing), or that the bonded channels are
no longer in proper character alignment. When the
channels are operated independently (with the
Decoder enabled), this indicates a PLL Out of Lock
condition.
100
4
101
1
Loss of Sync.
The character on the bus is invalid,
due to an event that has caused the receive
channels to lose synchronization. When channel
bonding is enabled, this indicates that one or more
channels have either lost bit synchronization (loss of
character framing), or that the bonded channels are
no longer in proper character alignment. When the
channels are operated independently (with the
Decoder enabled), this indicates a PLL Out of Lock
condition. Also used to indicate receive Elasticity
Buffer underflow/ overflow errors.
110
111
6
3
Running Disparity Error
. The character on the output bus is a C4.7, C1.7, or C2.7.
Resync
. The receiver state machine is in the Resynchronization state. In this state the data on the output
bus reflects the presently decoded FRAMCHAR.