2–152
Altera Corporation
Stratix II GX Device Handbook, Volume 2
October 2007
Native Modes
Figure 2–115. PIPE Mode Synchronization State Machine
Tables 2–32
and
2–33
describe the TS1 and TS2 training sequences,
respectively. A PCI Express fast training sequence consists of a /K28.5/,
followed by three /K28.1/ code group.
If there is one code group error during the synchronization process,
resynchronization must be performed.
Comma Detect
if Data == comma
kcntr++
else
kcntr=kcntr
Loss of Sync
Data= !Valid
Data= Comma
Data=valid;
kcntr<3
kcntr = 3
Synchronized
Data=valid
Data= !Valid
Synchronized Error
Detect
if Data == !valid
ecntr++
gcntr=0
else if gcntr==16
ecntr- -
gcntr=0
else
gcntr++
ecntr = 17
ecntr = 0