Part 6
Part 6
Part 6
Questions regarding the RapidIO Trade Association, specifications, or membership should be forwarded to:
RapidIO Trade Association
12343 Hymeadow, Suite 2-R
(non-US mail deliveries to Suite 3-E)
Austin, TX 78750
512-401-2900 Tel.
512-401-2902 FAX.
RapidIO and the RapidIO logo are trademarks and service marks of the RapidIO Trade Association. All other trademarks are the property of their
respective owners.
RapidIO Trade Association
RapidIO Trade Association
RapidIO Part 6: LP-Serial Physical Layer Specification Rev. 2.2
Table of Contents
Chapter 1 Overview
1.1 Introduction........................................................................................................... 25
1.2 Contents ................................................................................................................ 26
1.3 Terminology.......................................................................................................... 27
1.4 Conventions .......................................................................................................... 27
Chapter 2 Packets
2.1 Introduction........................................................................................................... 29
2.2 Packet Field Definitions........................................................................................ 29
2.3 Packet Format ....................................................................................................... 31
2.4 Packet Protection .................................................................................................. 31
2.4.1 Packet CRC Operation...................................................................................... 32
2.4.2 CRC-16 Code.................................................................................................... 34
2.5 Maximum Packet Size .......................................................................................... 36
3.1 Introduction........................................................................................................... 37
3.2 Control Symbol Field Definitions......................................................................... 39
3.3 Control Symbol Format ........................................................................................ 39
3.4 Stype0 Control Symbols ....................................................................................... 40
3.4.1 Packet-Accepted Control Symbol..................................................................... 42
3.4.2 Packet-Retry Control Symbol........................................................................... 42
3.4.3 Packet-Not-Accepted Control Symbol ............................................................. 43
3.4.4 Status Control Symbol ...................................................................................... 44
3.4.5 VC-Status Control Symbol ............................................................................... 44
3.4.6 Link-Response Control Symbol ....................................................................... 45
3.5 Stype1 Control Symbols ....................................................................................... 46
3.5.1 Start-of-Packet Control Symbol........................................................................ 48
3.5.2 Stomp Control Symbol ..................................................................................... 48
3.5.3 End-of-Packet Control Symbol......................................................................... 48
3.5.4 Restart-From-Retry Control Symbol ................................................................ 49
3.5.5 Link-Request Control Symbol .......................................................................... 49
3.5.5.1 Reset-Device Command ............................................................................... 50
3.5.5.2 Input-Status Command ................................................................................. 50
3.5.6 Multicast-Event Control Symbol ...................................................................... 50
3.6 Control Symbol Protection ................................................................................... 51
3.6.1 CRC-5 Code...................................................................................................... 51
3.6.2 CRC-5 Parallel Code Generation...................................................................... 51
3.6.3 CRC-13 Code.................................................................................................... 53
RapidIO Trade Association 5
RapidIO Part 6: LP-Serial Physical Layer Specification Rev. 2.2
Table of Contents
3.6.4 CRC-13 Parallel Code Generation.................................................................... 53
4.1 Introduction........................................................................................................... 55
4.2 PCS Layer Functions ............................................................................................ 55
4.3 PMA Layer Functions........................................................................................... 56
4.4 Definitions ............................................................................................................ 56
4.5 8B/10B Transmission Code .................................................................................. 57
4.5.1 Character and Code-Group Notation ................................................................ 58
4.5.2 Running Disparity............................................................................................. 59
4.5.3 Running Disparity Rules................................................................................... 59
4.5.4 8B/10B Encoding.............................................................................................. 60
4.5.5 Transmission Order........................................................................................... 60
4.5.6 8B/10B Decoding ............................................................................................. 61
4.5.7 Special Characters and Columns ...................................................................... 70
4.5.7.1 Packet Delimiter Control Symbol (/PD/)...................................................... 70
4.5.7.2 Start of Control Symbol (/SC/) ..................................................................... 71
4.5.7.3 Idle (/I/)......................................................................................................... 71
4.5.7.4 Sync (/K/)...................................................................................................... 71
4.5.7.5 Skip (/R/) ...................................................................................................... 71
4.5.7.6 Align (/A/) .................................................................................................... 71
4.5.7.7 Mark (/M/) .................................................................................................... 71
4.5.7.8 Illegal ............................................................................................................ 71
4.5.8 Effect of Single Bit Code-Group Errors ........................................................... 71
4.6 LP-Serial Link Widths .......................................................................................... 72
4.7 Idle Sequence ........................................................................................................ 73
4.7.1 Clock Compensation Sequence ........................................................................ 74
4.7.2 Idle Sequence 1 (IDLE1) .................................................................................. 74
4.7.3 Idle Sequence 1 Generation .............................................................................. 75
4.7.4 Idle Sequence 2 (IDLE2) .................................................................................. 77
4.7.4.1 Idle Frame..................................................................................................... 78
4.7.4.1.1 IDLE Sequence 2 Random Data Field ..................................................... 78
4.7.4.1.2 IDLE Sequence 2 CS Field Marker.......................................................... 79
4.7.4.1.3 IDLE2 Command and Status Field (CS field).......................................... 81
4.7.4.1.4 IDLE2 CS Field Use................................................................................. 83
4.7.5 Idle Sequence Selection .................................................................................... 86
4.8 Scrambling ............................................................................................................ 87
4.8.1 Scrambling Rules.............................................................................................. 87
4.8.2 Descrambler Synchronization........................................................................... 89
4.8.3 Descrambler Synchronization Verification ...................................................... 90
4.9 1x Mode Transmission Rules ............................................................................... 91
4.9.1 1x Ports ............................................................................................................. 91
4.9.2 Nx Ports Operating in 1x Mode........................................................................ 93
4.10 Nx Link Striping and Transmission Rules............................................................ 94
4.11 Retimers and Repeaters ........................................................................................ 96
6 RapidIO Trade Association
RapidIO Part 6: LP-Serial Physical Layer Specification Rev. 2.2
Table of Contents
4.11.1 Retimers ............................................................................................................ 97
4.11.2 Repeaters........................................................................................................... 97
4.12 Port Initialization .................................................................................................. 98
4.12.1 1x Mode Initialization....................................................................................... 98
4.12.2 1x/Nx Mode Initialization................................................................................. 98
4.12.3 Baud Rate Discovery ........................................................................................ 99
4.12.4 State Machines................................................................................................ 101
4.12.4.1 State Machine Conventions, Functions and Variables ............................... 101
4.12.4.1.1 State Machine Conventions .................................................................... 101
4.12.4.1.2 State Machine Functions ........................................................................ 101
4.12.4.1.3 State Machine Variables ......................................................................... 101
4.12.4.2 Lane Synchronization State Machine ......................................................... 106
4.12.4.3 Lane Alignment State Machine .................................................................. 110
4.12.4.4 1x/2x Mode Detect State Machine ............................................................. 112
4.12.4.5 1x Mode Initialization State Machine......................................................... 113
4.12.4.6 1x/Nx Mode Initialization State Machine for N = 4, 8, 16......................... 114
4.12.4.7 1x/2x Mode Initialization State Machine ................................................... 120
4.12.4.8 1x/Mx/Nx Mode Initialization State Machines .......................................... 123
4.12.4.8.1 1x/2x/Nx Initialization State Machine.................................................... 123
4.12.4.8.2 1x/Mx/Nx Initialization State Machine (N > M > 2) ............................. 127
Table of Contents
5.9 Flow Control ....................................................................................................... 145
5.9.1 Receiver-Controlled Flow Control ................................................................. 145
5.9.1.1 Reliable Traffic VC Receivers.................................................................... 145
5.9.1.2 Continuous Traffic VC Receivers .............................................................. 146
5.9.1.3 Single VC Retry Protocol ........................................................................... 146
5.9.1.4 Input Retry-Stopped Recovery Process ...................................................... 147
5.9.1.5 Output Retry-Stopped Recovery Process ................................................... 147
5.9.2 Transmitter-Controlled Flow Control............................................................. 148
5.9.2.1 Receive Buffer Management ...................................................................... 150
5.9.2.2 Effective Number of Free Receive Buffers ................................................ 151
5.9.2.3 Speculative Packet Transmission ............................................................... 152
5.9.3 Flow Control Mode Negotiation..................................................................... 153
5.10 Canceling Packets ............................................................................................... 153
5.11 Transaction and Packet Delivery Ordering Rules............................................... 154
5.12 Deadlock Avoidance........................................................................................... 156
5.13 Error Detection and Recovery ............................................................................ 158
5.13.1 Lost Packet Detection ..................................................................................... 159
5.13.2 Link Behavior Under Error............................................................................. 160
5.13.2.1 Recoverable Errors ..................................................................................... 160
5.13.2.2 Idle Sequence Errors................................................................................... 160
5.13.2.2.1 IDLE1 Sequence Errors.......................................................................... 160
5.13.2.2.2 IDLE2 Sequence Errors.......................................................................... 161
5.13.2.3 Control Symbol Errors................................................................................ 161
5.13.2.3.1 Link Protocol Violations ........................................................................ 161
5.13.2.3.2 Corrupted Control symbols .................................................................... 162
5.13.2.4 Packet Errors............................................................................................... 163
5.13.2.5 Link Timeout .............................................................................................. 163
5.13.2.6 Input Error-Stopped Recovery Process ...................................................... 163
5.13.2.7 Output Error-Stopped Recovery Process.................................................... 165
5.14 Power Management ............................................................................................ 165
Table of Contents
6.6.2 Port Link Timeout Control CSR (Block Offset 0x20).................................... 180
6.6.3 Port Response Timeout Control CSR (Block Offset 0x24)............................ 181
6.6.4 Port General Control CSR (Block Offset 0x3C) ............................................ 182
6.6.5 Port n Link Maintenance Request CSRs (Block Offsets 0x40, 60, ... , 220).. 183
6.6.6 Port n Link Maintenance Response CSRs (Block Offsets 0x44, 64, ... , 224) 184
6.6.7 Port n Local ackID CSRs (Block Offsets 0x48, 68, ... , 228) ......................... 185
6.6.8 Port n Error and Status CSRs (Block Offset 0x58, 78, ... , 238) .................... 186
6.6.9 Port n Control CSRs (Block Offsets 0x5C, 7C, ... , 23C)............................... 188
6.6.10 Port n Control 2 CSRs (Block Offset 0x54, 74, ... , 234) ............................... 191
6.7 LP-Serial Lane Extended Features Block ........................................................... 195
6.7.1 Register Map................................................................................................... 195
6.7.2 LP-Serial Lane Command and Status Registers (CSRs) ................................ 197
6.7.2.1 LP-Serial Register Block Header (Block Offset 0x0) ................................ 197
6.7.2.2 Lane n Status 0 CSRs (Block Offsets 0x10, 30, ... , 3F0) .......................... 198
6.7.2.3 Lane n Status 1 CSRs (Block Offsets 0x14, 34, ... , 3F4) .......................... 200
6.7.2.4 Implementation Specific CSRs................................................................... 202
6.7.2.4.1 Lane n Status 2 CSR (Block Offsets 0x18, 38, ..., 3F8)......................... 202
6.7.2.4.2 Lane n Status 3 CSR (Block Offsets 0x1C, 3C, ..., 3FC)....................... 202
6.7.2.4.3 Lane n Status 4 CSR (Block Offsets 0x20, 40, ..., 400) ......................... 202
6.7.2.4.4 Lane n Status 5 CSR (Block Offsets 0x24, 44, ..., 404) ......................... 202
6.7.2.4.5 Lane n Status 6 CSR (Block Offsets 0x28, 48, ..., 408) ......................... 202
6.7.2.4.6 Lane n Status 7 CSR (Block Offsets 0x2C, 4C, ..., 40C) ....................... 202
6.8 Virtual Channel Extended Features Block.......................................................... 203
6.8.1 Register Map................................................................................................... 203
6.8.2 Virtual Channel Control Block Registers ....................................................... 205
6.8.2.1 VC Register Block Header (Block Offset 0x0) .......................................... 205
6.8.2.2 Port n VC Control and Status Registers
(Block Offset ((port number) + 1) * 0x20)) ............................................206
6.8.2.3 Port n VC0 BW Allocation Registers
(Block Offset (((port number) + 1) * 0x20) + 0x04))..............................208
6.8.2.4 Port n VCx BW Allocation Registers
(Block Offset ((((port number) + 1) * 0x20) +
(offset based on VC #, see Table 6-23))).................................................210
Table of Contents
8.4.1 Definition of Amplitude and Swing................................................................ 220
8.4.2 Transmitter (Near-End) Template .................................................................. 221
8.4.3 Receiver (Far-End) Template ......................................................................... 224
8.4.3.1 Level I Receiver Template.......................................................................... 224
8.4.3.2 Level II Receiver Template ........................................................................ 226
8.4.4 Definition of Skew and Relative Wander ....................................................... 227
8.4.5 Total Wander Mask ........................................................................................ 228
8.4.6 Relative Wander Mask.................................................................................... 229
8.4.7 Random Jitter Mask ........................................................................................ 229
8.4.8 Defined Test Patterns...................................................................................... 229
8.4.9 Reference Model............................................................................................. 230
8.5 Common Electrical Specification ....................................................................... 230
8.5.1 Introduction..................................................................................................... 230
8.5.2 Data Patterns ................................................................................................... 231
8.5.3 Signal Levels................................................................................................... 231
8.5.4 Bit Error Ratio ................................................................................................ 232
8.5.4.1 Level I Bit Error Ratio................................................................................ 232
8.5.4.2 Level II Bit Error Ratio............................................................................... 232
8.5.5 Ground Differences......................................................................................... 232
8.5.6 Cross Talk ....................................................................................................... 232
8.5.7 Transmitter Test Load..................................................................................... 233
8.5.8 Transmitter Lane-to-Lane Skew ..................................................................... 233
8.5.9 Receiver Input Lane-to-Lane Skew ................................................................ 233
8.5.10 Transmitter Short Circuit Current................................................................... 233
8.5.11 Differential Resistance and Return Loss, Transmitter and Receiver.............. 234
8.5.12 Baud Rate Tolerance....................................................................................... 234
8.5.13 Termination and DC Blocking........................................................................ 235
8.6 Pulse Response Channel Modelling ................................................................... 235
8.6.1 Generating a Pulse Response.......................................................................... 235
8.6.2 Basic Pulse Response Definitions................................................................... 236
8.6.3 Transmitter Pulse Definition........................................................................... 237
8.6.4 Receiver Pulse Response ................................................................................ 238
8.6.5 Crosstalk Pulse Response ............................................................................... 239
8.6.6 Decision Feedback Equalizer.......................................................................... 239
8.6.7 Time Continuous Transverse Filter ................................................................ 240
8.6.7.1 Time Continuous Zero-Pole Equalizer Adaption ....................................... 240
8.6.8 Time Continuous Zero/Pole............................................................................ 241
8.6.9 Degrees of Freedom........................................................................................ 241
8.6.9.1 Receiver Sample Point................................................................................ 241
8.6.9.2 Transmit Emphasis ..................................................................................... 241
8.7 Jitter Modelling................................................................................................... 241
8.7.1 High Frequency Jitter vs. Wander .................................................................. 241
8.7.2 Total Wander vs. Relative Wander................................................................. 242
8.7.3 Correlated vs. Uncorrelated Jitter ................................................................... 242
8.7.4 Jitter Distributions .......................................................................................... 243
8.7.4.1 Unbounded and Bounded Gaussian Distribution ....................................... 243
Table of Contents
8.7.4.2 Bounded Gaussian Distribution.................................................................. 243
8.7.4.3 High Probability Jitter................................................................................. 244
8.7.4.4 Total Jitter................................................................................................... 244
8.7.4.5 Probability Distribution Function vs. Cumulative Distribution Function .. 244
8.7.4.6 BathTub Curves .......................................................................................... 245
8.7.4.7 Specification of GJ and HPJ ....................................................................... 247
8.7.4.8 Example of Bounded Gaussian................................................................... 248
8.7.5 Statistical Eye Methodology........................................................................... 248
8.7.5.1 Derivation of Cursors and Calculation of PDF........................................... 248
8.7.5.2 Inclusion of Sampling Jitter........................................................................ 251
8.7.5.3 Generation of Statistical Eye ...................................................................... 252
Table of Contents
9.4.3.8 Level I Receiver Input Jitter Tolerance ...................................................... 265
9.5 Level I Measurement and Test Requirements .................................................... 267
9.5.1 Level I Transmitter Measurements ................................................................. 267
9.5.1.1 Level I Eye Template Measurements ......................................................... 267
9.5.1.2 Level I Jitter Test Measurements................................................................ 267
9.5.1.3 Level I Transmit Jitter Load ....................................................................... 268
9.5.2 Level I Receiver Jitter Tolerance.................................................................... 268
Table of Contents
10.4.2.2.7 Level II SR Receiver Input Resistance and Return Loss........................ 284
10.4.2.2.8 Level II SR Receiver Input Jitter Tolerance ........................................... 284
10.4.2.3 Level II SR Link and Jitter Budgets ........................................................... 284
10.4.3 Level II SR StatEye.org Template.................................................................. 286
10.5 Level II Long Run Interface General Requirements .......................................... 288
10.5.1 Long Run Jitter and Inter-operability Methodology....................................... 288
10.5.1.1 Level II LR Channel Compliance............................................................... 288
10.5.1.2 Level II LR Transmitter Inter-operability................................................... 290
10.5.1.3 Level II LR Receiver Inter-operability ....................................................... 290
10.5.2 Level II LR Interface Electrical Characteristics ............................................. 291
10.5.2.1 Level II LR Transmitter Characteristics ..................................................... 291
10.5.2.1.1 Level II LR Transmitter Test Load......................................................... 293
10.5.2.1.2 Level II LR Transmitter Baud Rate........................................................ 293
10.5.2.1.3 Level II LR Transmitter Amplitude and Swing...................................... 293
10.5.2.1.4 Level II LR Transmitter Rise and Fall Times......................................... 293
10.5.2.1.5 Level II LR Transmitter Differential Pair Skew..................................... 293
10.5.2.1.6 Level II LR Transmitter Output Resistance and Return Loss ................ 293
10.5.2.1.7 Level II LR Transmitter Lane-to-Lane Skew ......................................... 294
10.5.2.1.8 Level II LR Transmitter Short Circuit Current....................................... 294
10.5.2.1.9 Level II LR Transmitter Template and Jitter.......................................... 294
10.5.2.2 Level II LR Receiver Characteristics ......................................................... 294
10.5.2.2.1 Level II LR Receiver Input Baud Rate ................................................... 295
10.5.2.2.2 Level II LR Receiver Reference Input Signals....................................... 295
10.5.2.2.3 Level II LR Receiver Input Signal Amplitude ....................................... 295
10.5.2.2.4 Level II LR Receiver Absolute Input Voltage........................................ 296
10.5.2.2.5 Level II LR Receiver Input Common Mode Impedance ........................ 296
10.5.2.2.6 Level II LR Receiver Input Lane-to-Lane Skew .................................... 296
10.5.2.2.7 Level II LR Receiver Input Resistance and Return Loss ....................... 296
10.5.2.2.8 Level II LR Receiver Jitter Tolerance .................................................... 297
10.5.3 Level II LR Link and Jitter Budgets ............................................................... 297
10.5.4 Level II LR StatEye.org Template.................................................................. 298
10.6 Level II Medium Run Interface General Requirements ..................................... 300
10.6.1 Medium Run Jitter and Inter-operability Methodology.................................. 300
10.6.1.1 Level II Medium Run Channel Compliance............................................... 300
10.6.1.2 Level II MR Transmitter Inter-operability ................................................. 301
10.6.1.3 Medium Receiver Inter-operability ............................................................ 302
10.6.2 Level II MR Interface Electrical Characteristics ............................................ 302
10.6.2.1 Level II MR Transmitter Characteristics.................................................... 302
10.6.2.1.1 Level II MR Transmitter Test Load ....................................................... 304
10.6.2.1.2 Level II MR Transmitter Baud Rate....................................................... 304
10.6.2.1.3 Level II MR Transmitter Amplitude and Swing .................................... 304
10.6.2.1.4 Level II MR Transmitter Rise and Fall Times ....................................... 304
10.6.2.1.5 Level II MR Transmitter Differential Pair Skew.................................... 304
10.6.2.1.6 Level II MR Transmitter Output Resistance and Return Loss ............... 304
10.6.2.1.7 Level II MR Transmitter Lane-to-Lane Skew........................................ 305
10.6.2.1.8 Level II MR Transmitter Short Circuit Current...................................... 305
Table of Contents
10.6.2.1.9 Level II MR Transmitter Template and Jitter......................................... 305
10.6.2.2 Level II MR Receiver Characteristics ........................................................ 305
10.6.2.2.1 Level II MR Receiver Input Baud Rate.................................................. 306
10.6.2.2.2 Level II MR Receiver Reference Input Signals...................................... 306
10.6.2.2.3 Level II MR Receiver Input Signal Amplitude ...................................... 306
10.6.2.2.4 Level II MR Receiver Absolute Input Voltage ...................................... 307
10.6.2.2.5 Level II MR Receiver Input Common Mode Impedance....................... 307
10.6.2.2.6 Level II MR Receiver Input Lane-to-Lane Skew................................... 307
10.6.2.2.7 Level II MR Receiver Input Resistance and Return Loss ...................... 307
10.6.2.2.8 Level II MR Receiver Jitter Tolerance ................................................... 308
10.6.3 Level II MR Link and Jitter Budgets .............................................................. 308
10.6.4 Level II MR StatEye.org Template................................................................. 309
10.7 Level II Measurement and Test Requirements ................................................... 311
10.7.1 High Frequency Transmit Jitter Measurement ............................................... 311
10.7.1.1 BERT Implementation................................................................................ 311
10.7.1.2 Spectrum Analyzer and Oscilloscope Methodology .................................. 313
10.7.1.2.1 Band Limited Unbounded Gaussian Noise ............................................ 313
10.7.1.2.2 Band Limited 60 Second Total Jitter Measurements.............................. 313
10.7.1.2.3 Uncorrelated High Probability Jitter....................................................... 315
10.7.1.2.4 Total High Probability Jitter ................................................................... 315
10.7.2 Total Transmit Wander Measurement ............................................................ 316
10.7.3 Relative Transmit Wander Measurement ....................................................... 317
10.7.4 Jitter Tolerance ............................................................................................... 318
10.7.4.1 Jitter Tolerance with Relative Wander Lab Setup...................................... 318
10.7.4.1.1 General.................................................................................................... 318
10.7.4.1.2 Synchronization ...................................................................................... 319
10.7.4.1.3 Jitter ........................................................................................................ 319
10.7.4.1.4 Amplitude ............................................................................................... 320
10.7.4.2 Jitter Tolerance with no Relative Wander Lab Setup................................. 320
10.7.4.3 Jitter Tolerance with Defined ISI and no Relative Wander........................ 321
10.7.4.4 Jitter Transfer.............................................................................................. 321
10.7.4.5 Network Analysis Measurement................................................................. 322
10.7.4.6 Eye Mask Measurement Setup ................................................................... 324
Table of Contents
B.1 Extrapolation of Correlated Bounded Gaussian Jitter to low BERs................... 335
B.1.1 Bathtub Measurements ................................................................................... 335
B.2 Confidence Level of Errors Measurement.......................................................... 335
B.3 Eye Mask Adjustment for Sampling Oscilloscopes ........................................... 336
B.3.1 Theory............................................................................................................. 337
B.3.2 Usage .............................................................................................................. 339
Table of Contents
Blank page
List of Figures
2-1 Packet Format .................................................................................................................31
2-2 Packet Alignment............................................................................................................31
2-3 Error Coverage of First 16 Bits of Packet Header ..........................................................32
2-4 Unpadded Packet of Length 80 Bytes or Less ................................................................33
2-5 Padded Packet of Length 80 Bytes or Less.....................................................................33
2-6 Unpadded Packet of Length Greater than 80 Bytes........................................................33
2-7 Padded Packet of Length Greater than 80 Bytes ............................................................34
2-8 CRC Generation Pipeline................................................................................................35
3-1 Short Control Symbol Format.........................................................................................39
3-2 Long Control Symbol Format.........................................................................................39
3-3 Packet-Accepted Control Symbol Formats.....................................................................42
3-4 Packet-Retry Control Symbol Formats...........................................................................42
3-5 Packet-Not-Accepted Control Symbol Formats .............................................................43
3-6 Status Control Symbol Formats ......................................................................................44
3-7 VC_Status Control Symbol Formats ..............................................................................45
3-8 Link-Response Control Symbol Formats .......................................................................45
3-9 Start-of-Packet Control Symbol Formats .......................................................................48
3-10 Stomp Control Symbol Formats .....................................................................................48
3-11 End-of-Packet Control Symbol Formats.........................................................................49
3-12 Restart-From-Retry Control Symbol Formats ................................................................49
3-13 Link-Request Control Symbol Formats ..........................................................................49
3-14 Multicast-Event Control Symbol Formats ......................................................................51
3-15 CRC-5 Implementation...................................................................................................53
4-1 Character Notation Example (D25.3) .............................................................................58
4-2 Code-Group Notation Example (/D25.3/) ......................................................................59
4-3 Lane Encoding, Serialization, Deserialization, and Decoding Process ..........................61
4-4 Example of a Pseudo-Random Idle Code-Group Generator ..........................................76
4-5 Idle Sequence 2 Idle Frame ............................................................................................78
4-6 5-tap Transversal Filter ...................................................................................................84
4-7 Example of CS Field CMD, ACK, NACK Handshake ..................................................86
4-8 Scrambling Sequence Generator.....................................................................................88
4-9 1x Mode Short Control Symbol Encoding and Transmission Order..............................92
4-10 1x Mode Packet Encoding and Transmission Order ......................................................92
4-11 1x Typical Data Flow with Short Control Symbol .........................................................93
4-12 Typical 4x Data Flow with Short Control symbol..........................................................96
4-13 Baudrate_Discovery state machine (Informational) .....................................................100
4-14 Lane_Synchronization State Machine ..........................................................................109
4-15 Lane_Alignment State Machine ...................................................................................111
4-16 1x/2x_Mode_Detect State Machine..............................................................................113
4-17 1x_Initialization State Machine ....................................................................................114
4-18 1x/Nx_Initialization State Machine for N = 4, 8, 16 ....................................................118
List of Figures
4-19 Alternate 1x/4x_Initialization State Machine ...............................................................120
4-20 1x/2x_Initialization State Machine ...............................................................................122
4-21 1x/2x/Nx_Initialization State Machine .........................................................................125
4-22 1x/Mx/Nx_Initialization State Machine for N > M > 2................................................128
5-1 Example Transaction with Acknowledgment...............................................................132
5-2 Single VC Mode Receiver-Controlled Flow Control ...................................................147
5-3 Single VC Mode Transmitter-Controlled Flow Control...............................................149
7-1 RapidIO 1x Device to 1x Device Interface Diagram....................................................212
7-2 RapidIO Nx Device to Nx Device Interface Diagram ..................................................212
7-3 RapidIO Nx Device to 1x Device Interface Diagram...................................................212
8-1 Definition of Transmitter Amplitude and Swing ..........................................................220
8-2 Transition Symbol Transmit Eye Mask ........................................................................222
8-3 Transition and Steady State Symbol Eye Mask............................................................223
8-4 Level I Receiver Input Mask ........................................................................................225
8-5 Receiver Input Mask .....................................................................................................226
8-6 Skew and Relative Wander Between in Band Signals .................................................227
8-7 Total Wander of a Signal ..............................................................................................228
8-8 Total Wander Mask ......................................................................................................228
8-9 Relative Wander Mask..................................................................................................229
8-10 Random Jitter Spectrum................................................................................................229
8-11 Reference Model...........................................................................................................230
8-12 Transmitter and Input Differential Return Loss ...........................................................234
8-13 Termination Example ...................................................................................................235
8-14 Graphical Representation of Receiver Pulse ................................................................236
8-15 Transmit Pulse ..............................................................................................................237
8-16 Transmitter FIR Filter Function....................................................................................238
8-17 Receiver Pulse Definition .............................................................................................239
8-18 Crosstalk Pulse Definition ............................................................................................239
8-19 Decision Feedback Equalizer........................................................................................240
8-20 Feed Forward Filter ......................................................................................................240
8-21 Generation of Total and Relative Wander ....................................................................242
8-22 Jitter Probability Density Functions .............................................................................243
8-23 Example of Total Jitter PDF .........................................................................................245
8-24 Example of Total Jitter CDF.........................................................................................245
8-25 Bathtub Definition ........................................................................................................247
8-26 Example of Bounded Gaussian.....................................................................................248
8-27 Statistics of Pulse Response Cursor..............................................................................249
8-28 Variation of the c0 Sampling Time...............................................................................250
8-29 Varying the Receiver Sampling Point ..........................................................................251
8-30 Generation of the Data Eye and Bathtub ......................................................................253
8-31 Statistical Eye ...............................................................................................................254
9-1 Single Frequency Sinusoidal Jitter Limits ....................................................................266
10-1 OIF Reference Model ...................................................................................................273
10-2 Transmitter Compliance Setup .....................................................................................274
10-3 Receiver Compliance Setup..........................................................................................275
10-4 BERT with Golden PLL ...............................................................................................311
List of Figures
10-5 Spectral Measurement Setup ........................................................................................313
10-6 Single Side Band Relative Power Spectrum for Phase Modulated Signal ...................314
10-7 Single Side Band Relative Power Spectrum for Phase Modulated Signal ...................315
10-8 Transmit Wander Lab Setup .........................................................................................316
10-9 Relative Wander Lab Setup ..........................................................................................317
10-10 Jitter Tolerance with Relative Wander Lab Setup ........................................................318
10-11 Jitter Tolerance with no Relative Wander ....................................................................320
10-12 Jitter Tolerance with Defined ISI..................................................................................321
10-13 Jitter Transfer Lab Setup...............................................................................................322
10-14 S-parameter Port Definitions ........................................................................................323
10-15 Mask Measurement with Golden PLL..........................................................................325
A-1 Transmission Line as 2-port .........................................................................................329
A-2 Network Terminations ..................................................................................................329
A-3 Measurement of Zodd, Zeven .......................................................................................330
A-4 Minimization of Crosstalk at IC Pins ...........................................................................332
A-5 Minimization of Crosstalk At Connector Pins..............................................................333
A-6 Minimization of Crosstalk Over Backplane .................................................................333
A-7 Equations Based Channel Loss Curves ........................................................................334
B-1 Example Data Mask......................................................................................................337
B-2 Example Data Mask......................................................................................................338
B-3 Cumulative Distribution Function of Maximum Amplitude ........................................339
C-1 Input Port Retry Recovery State Machine ....................................................................342
C-2 Output Port Retry Recovery State Machine .................................................................343
C-3 Input Port Error Recovery State Machine.....................................................................345
C-4 Output Port Error Recovery State Machine ..................................................................347
F-1 Example system with asymmetric port-width capabilities ...........................................358
List of Figures
Blank page
List of Tables
2-1 Packet Field Definitions..................................................................................................29
2-2 Use of VC, PRIO and CRF Fields ..................................................................................30
2-3 Parallel CRC-16 Equations .............................................................................................34
2-4 Maximum Packet Size ....................................................................................................36
3-1 Control Symbol Field Definitions...................................................................................39
3-2 Stype0 Control Symbol Encoding ..................................................................................40
3-3 Stype0 Parameter Definitions .........................................................................................41
3-4 Cause Field Definition ....................................................................................................43
3-5 VCID Definition .............................................................................................................45
3-6 Port_status Field Definitions ..........................................................................................46
3-7 Stype1 Control Symbol Encoding ..................................................................................46
3-8 Cmd Field Definitions ....................................................................................................49
3-9 Parallel CRC-5 Equations ...............................................................................................52
3-10 Parallel CRC-13 Equations .............................................................................................53
4-1 Data Character Encodings ..............................................................................................62
4-2 Special Character Encodings ..........................................................................................69
4-3 Special Characters and Columns ....................................................................................70
4-4 Code-Group Corruption Caused by Single Bit Errors ....................................................72
4-5 Active Port Width Field Encodings ................................................................................80
4-6 Lane Number Field Encodings .......................................................................................80
4-7 Command and Status Field Encodings ...........................................................................81
4-8 CS Field 8/10 Bit Encodings ..........................................................................................82
4-9 Scrambler Initialization Values ......................................................................................89
4-10 Dcounter Definition ......................................................................................................102
4-11 lane_sync “Flicker” Probability....................................................................................107
5-1 Additional VC Combinations .......................................................................................134
5-2 VC0 Transaction Request Flow to Priority Mapping ...................................................140
5-3 VC0 Transaction Request Flow to Priority and Critical Request Flow Mapping ........140
5-4 Flow IDs for VCs..........................................................................................................141
6-1 LP-Serial Register Map ................................................................................................168
6-2 Configuration Space Reserved Access Behavior..........................................................168
6-3 Bit Settings for Processing Element Features CAR......................................................170
6-4 LP-Serial Register Map - Generic End Point Devices.................................................172
6-5 LP-Serial Register Map - Generic End Point Devices (SW assisted)...........................173
6-6 LP-Serial Register Map - Generic End Point Free Devices.........................................175
6-7 LP-Serial Register Map - Generic End Point-free Devices (SW assisted) ...................177
6-8 Bit Settings for LP-Serial Register Block Header ........................................................179
6-9 Bit Settings for Port Link Timeout Control CSR .........................................................180
6-10 Bit Settings for Port Response Timeout Control CSR..................................................181
6-11 Bit Settings for Port General Control CSR, Generic End Point Devices .....................182
6-12 Bit Settings for General Port Control CSR, Generic End Point Free Device ...............182
6-13 Bit Settings for Port n Link Maintenance Request CSRs .............................................183
List of Tables
6-14 Bit Settings for Port n Link Maintenance Response CSRs...........................................184
6-15 Bit Settings for Port n Local ackID Status CSRs..........................................................185
6-16 Bit Settings for Port n Error and Status CSRs ..............................................................186
6-17 Bit Settings for Port n Control CSRs ............................................................................188
6-18 Bit Settings for Port n Control 2 CSRs .........................................................................191
6-19 LP-Serial Lane Register Map .......................................................................................195
6-20 Bit Settings for LP-Serial Register Block Header ........................................................197
6-21 Bit Settings for Lane n Status 0 CSRs ..........................................................................198
6-22 Bit Settings for Lane n Status 1 CSRs ..........................................................................200
6-23 Virtual Channel Registers .............................................................................................203
6-24 Bit Settings for VC Register Block Header ..................................................................205
6-25 Port n VC Control and Status Registers........................................................................206
6-26 Port n VC0 BW Allocation CSR ..................................................................................208
6-27 BW Allocation Register Bit Values..............................................................................209
6-28 Port n VCx BW Allocation CSR ..................................................................................210
7-1 LP-Serial Signal Description ........................................................................................211
8-1 Abbreviations................................................................................................................215
8-2 General Definitions.......................................................................................................217
8-3 Jitter and Wander Definitions .......................................................................................218
8-4 Transmitter Output Jitter Specification.........................................................................223
8-5 Transmitter Eye Mask Cross Reference .......................................................................224
8-6 Level I Receiver Jitter Specification.............................................................................225
8-7 Receiver Eye Mask Cross Reference............................................................................226
8-8 Level II Receiver Jitter Specification ...........................................................................227
8-9 Definition of Load Types..............................................................................................232
9-1 Level I SR Transmitter AC Timing Specifications ......................................................257
9-2 Level I SR Transmitter Output Jitter Specifications.....................................................258
9-3 Level I SR Transmitter Return Loss Parameters ..........................................................259
9-4 Level I SR Near-End (Tx) Template Intervals .............................................................259
9-5 Level I LR Transmitter AC Timing Specifications ......................................................260
9-6 Level I LR Transmitter Output Jitter Specifications ....................................................261
9-7 Level I LR Transmitter Return Loss Parameters ..........................................................262
9-8 Level I LR Near-End (Tx) Template Intervals .............................................................262
9-9 Level I Receiver Electrical Input Specifications ..........................................................263
9-10 Level I Receiver Input Jitter Tolerance Specifications.................................................264
9-11 Level I Input Return Loss Parameters ..........................................................................265
9-12 Level I Single Frequency Sinusoidal Jitter Limits Knee Frequencies..........................266
9-13 Level I Far-End (Rx) Template Intervals .....................................................................267
10-1 Reference Models .........................................................................................................273
10-2 Level II SR Transmitter Output Electrical Specifications ............................................278
10-3 Level II SR Transmitter Output Jitter Specifications ...................................................279
10-4 Level II SR Transmitter Return Loss Parameters .........................................................280
10-5 Level II SR Near-End (Tx) Template Intervals ............................................................281
10-6 Level II SR Receiver Electrical Input Specifications ...................................................281
10-7 Level II SR Receiver Input Jitter Tolerance Specifications .........................................282
10-8 Level II SR Input Return Loss Parameters ...................................................................284
List of Tables
10-9 Level II SR Far-End (Rx) Template Intervals ..............................................................284
10-10 Level II SR Informative Loss, Skew and Jitter Budget ................................................285
10-11 Level II SR High Frequency Jitter Budget ...................................................................285
10-12 Level II LR Receiver Equalization Output Eye Mask ..................................................289
10-13 Level II LR Transmitter Output Electrical Specifications............................................292
10-14 Level II LR Transmitter Output Jitter Specifications ...................................................292
10-15 Level II LR Transmitter Return Loss Parameters.........................................................293
10-16 Level II LR Near-End Template Intervals ....................................................................294
10-17 Level II LR Receiver Electrical Input Specifications ...................................................295
10-18 Level II LR Input Return Loss Parameters ...................................................................296
10-19 Level II LR Informative Loss, Skew and Jitter Budget ................................................297
10-20 Level II LR High Frequency Jitter Budget ...................................................................297
10-21 Level II LR Receiver Equalization Output Eye Mask ..................................................301
10-22 Level II MR Transmitter Output Electrical Specifications...........................................303
10-23 Level II MR Transmitter Output Jitter Specifications ..................................................303
10-24 Level II MR Transmitter Return Loss Parameters........................................................304
10-25 Level II MR Near-End Template Intervals...................................................................305
10-26 Level II MR Receiver Electrical Input Specifications..................................................306
10-27 Level II MR Input Return Loss Parameters..................................................................307
10-28 Level II MR Informative Loss, Skew and Jitter Budget...............................................308
10-29 Level II MR High Frequency Jitter Budget ..................................................................308
A-1 Curve fit Coefficients....................................................................................................334
C-1 Input Port Retry Recovery State Machine Transition Table.........................................342
C-2 Output Port Retry Recovery State Machine Transition Table ......................................344
C-3 Input Port Error Recovery State Machine Transition Table .........................................346
C-4 Output Port Error Recovery State Machine Transition Table ......................................347
D-1 Packet Transmission Delay Components .....................................................................352
D-2 Packet Acknowledgment Delay Components...............................................................353
D-3 Packet Delays................................................................................................................353
D-4 Maximum Transmission Distances...............................................................................354
List of Tables
Blank page
Chapter 1 Overview
1.1 Introduction
The RapidIO Part 6: LP-Serial Physical Layer Specification addresses the physical
layer requirements for devices utilizing an electrical serial connection medium. This
specification defines a full duplex serial physical layer interface (link) between
devices. The links are comprised of one or more lanes, each lane being a pair of
unidirectional serial signaling paths with one path in each direction. Further, it
allows ganging of up to sixteen serial lanes for applications requiring higher link
performance. It also defines a protocol for link management and packet transport
over a link.
RapidIO systems are comprised of end point processing elements and switch
processing elements. The RapidIO interconnect architecture is partitioned into a
layered hierarchy of specifications which includes the Logical, Common Transport,
and Physical layers. The Logical layer specifications define the operations and
associated transactions by which end point processing elements communicate with
each other. The Common Transport layer defines how transactions are routed from
one end point processing element to another through switch processing elements.
The Physical Layer defines how adjacent processing elements electrically connect
to each other. RapidIO packets are formed through the combination of bit fields
defined in the Logical, Common Transport, and Physical Layer specifications.
The RapidIO LP-Serial specification defines a protocol for packet delivery between
serial RapidIO devices including packet and control symbol transmission, flow
control, error management, and other device to device functions. A particular device
may not implement all of the mode selectable features found in this document. See
the appropriate user’s manual or implementation specification for specific
implementation details of a device.
The LP-Serial physical layer specification has the following properties:
• Embeds the transmission clock with data using an 8B/10B encoding scheme.
• Supports links with from one lane, up to sixteen ganged lanes where each lane
is a pair of unidirectional serial paths with one path in each direction.
• Allows switching packets between RapidIO LP-Serial ports and RapidIO Part
4: 8/16 LP-LVDS Physical Layer Specification ports without requiring packet
manipulation.
• Employs similar retry and error recovery protocols as the RapidIO 8/16
LP-LVDS physical layer specification.
• Supports transmission rates of 1.25, 2.5, 3.125, 5 and 6.25Gbaud (data rates of
1, 2, 2.5, 4 and 5 Gbps) per lane.
• Supports division of the physical layer bandwidth into up to 9 virtual channels
with independent flow control.
This specification first defines the individual elements that make up the link protocol
such as packets, control symbols, and the serial bit encoding scheme. This is
followed by a description of the link protocol. Finally, the control and status
registers, signal descriptions, and electrical specifications are specified.
The virtual channel features are optional. This specification defines a single virtual
channel mode of operation that is fully compatible with previous RapidIO
specifications.
1.2 Contents
Following are the contents of the RapidIO Part 6: LP-Serial Physical Layer
Specification:
• Chapter 1, "Overview", (this chapter) provides an overview of the specification
• Chapter 2, "Packets", defines how a RapidIO LP-Serial packet is formed by
prefixing a 10-bit physical layer header to the combined RapidIO transport
and logical layer bit fields followed by an appended 16-bit CRC field.
• Chapter 3, "Control Symbols", defines the format of the two control symbols
(short and long) used for packet acknowledgment, link utility functions, link
maintenance, packet delineation, packet acknowledgement and to convey
flow control information. They may be transmitted between packets and
some may be embedded within a packet.
• Chapter 4, "PCS and PMA Layers", describes the Physical Coding Sublayer
(PCS) functionality as well as the Physical Media Attachment (PMA)
functionality. The PCS layer functionality includes 8B/10B encoding scheme
for embedding clock with data. It also gives transmission rules for the 1x-Nx
interfaces and defines the link initialization sequence for clock
synchronization. Among other things, the PMA (Physical Medium
Attachment) function is responsible for serializing the 10-bit code-groups to
and from the serial bitstream(s).
• Chapter 5, "LP-Serial Protocol", describes in detail how packets, control
symbols, and the PCS/PMA layers are used to implement the physical layer
protocol. This includes topics such as link initialization, link maintenance,
error detection and recovery, flow control, bandwidth division, and
transaction delivery ordering.
1.3 Terminology
Refer to the Glossary at the back of this document.
1.4 Conventions
|| Concatenation, used to indicate that two fields are physically
associated as consecutive bits
ACTIVE_HIGH Names of active high signals are shown in uppercase text with
no overbar. Active-high signals are asserted when high and
not asserted when low.
ACTIVE_LOW Names of active low signals are shown in uppercase text with
an overbar. Active low signals are asserted when low and not
asserted when high.
Chapter 2 Packets
2.1 Introduction
This chapter specifies the LP-Serial packet format and the fields that are added by
LP-Serial physical layer. These packets are fed into the PCS function explained in
Chapter 4, "PCS and PMA Layers".
ackID Acknowledge ID is the packet identifier for link level packet acknowledgment—see
Section 5.6.2, "Acknowledgment Identifier" for details concerning ackID functionality.
The length of the ackID value depends on the length of the control symbol being used on the
link. When the short control symbol is being used, the ackID value shall be 5 bits long and shall
be left justified in the ackID field (ackID[0-4]) with the right most bit of the field (ackID[5]) set
to 0b0. When the long control symbol is being used, the ackID value shall be 6 bits long which
fills the ackID field.
VC The VC bit specifies the usage of the PRIO and CRF fields. When VC = 0, the PRIO and CRF
fields contain the priority bits for a virtual channel 0 packet. When VC = 1 the PRIO and CRF
fields contain the Virtual Channel ID for a VC 1-8 packet. See Table 2-2.
prio Depending on the value of the VC field, PRIO specifies packet priority or contains the most
significant bits of the Virtual Channel ID (VCID). See Table 2-2. See Section 5.6.3, "Packet
Priority and Transaction Request Flows" for an explanation of prioritizing packets. See
Section 5.4, "Virtual Channels" for an explanation of virtual channels.
CRF Depending on the value of the VC field, CRF differentiates between virtual channel 0 flows of
equal priority or contains the least significant bit of the Virtual Channel ID. If VC=0 and
Critical Request Flow is not supported, this bit is reserved. See Table 2-2. See Section 5.6.3,
"Packet Priority and Transaction Request Flows" for an explanation of prioritizing packets. See
Section 5.4, "Virtual Channels" for an explanation of virtual channels.
CRC Cyclic Redundancy Code used to detect transmission errors in the packet. See Section 2.4.1 for
details on the CRC error detection scheme.
Table 2-2 describes the use of the VC, prio, and CRF fields.
Table 2-2. Use of VC, PRIO and CRF Fields
VC Description
Single VC mode:
VC = 0 when CRF is RSVD = 0,
PRIO sets packet priority as follows:
00 - lowest priority
01 - medium priority
10 - high priority
11 - highest priority
VC = 0 when CRF is supported,
PRIO||CRF sets packet priority:
00 0 - lowest priority
00 1 - critical flow lowest priority
01 0 - medium priority
01 1 - critical flow medium priority
10 0 - high priority
10 1 - critical flow high priority
11 0 - highest priority
11 1 - critical flow high priority
Multiple VC Mode:
VC||PRIO||CRF Channel
VC = 0 0 XX X - VC0 (PRIO, CRF = Priority, same as single VC mode) *
VC = 1 1 00 0 - VC1 (PRIO, CRF = VCID)
1 00 1 - VC2
1 01 0 - VC3
1 01 1 - VC4
1 10 0 - VC5
1 10 1 - VC6
1 11 0 - VC7
1 11 1 - VC8
ackID VC CRF prio transport & logical fields & possible CRC CRC
6 1 1 2 n 16
This structure allows the ackID value to be changed on a link-by-link basis as the
packet is transported across the fabric without requiring that the CRC be recomputed
for each link. Since ackID values on each link are assigned sequentially for each
subsequent transmitted packet, an error in the ackID field is easily detected.
Protected by protocol
ackID VC CRF prio tt ftype
Protected by CRC
6 1 1 2 2 4
Logic 0 pad
16
32-bit boundary
C00 x x x x
C01 x x x x
C02 x x x x
C03 x x x x x
C04 x x x x x
C05 x x x x x
C06 x x x x x x
C07 x x x x x x x
C08 x x x x x x x x
C09 x x x x x x x x
C10 x x x x x x x x
C11 x x x x
C12 x x x x x
C13 x x x x x
C14 x x x x x
C15 x x x x x
where:
C00–C15 contents of the new check symbol
e00–e15 contents of the intermediate value symbol
e00 = d00 XOR c00
e01 = d01 XOR c01
through
e15 = d15 XOR c15
d00–d15 contents of the next 16 bits of the packet
c00–c15 contents of the previous check symbol
assuming the pipeline described in Figure 2-8
d00–d15
c XOR d
e00–e15
XOR
equations network
C00–C15
c00–c15
stype0 Encoding for control symbols that make use of parameter0 and parameter1. Eight encodings are defined in
Table 3-2.
parameter0 Used in conjunction with stype0 encodings. Reference Table 3-2 for the description of parameter0 encodings.
parameter1 Used in conjunction with stype0 encodings. Reference Table 3-2 for the description of parameter1 encodings.
stype1 Encoding for control symbols which make use of the cmd field. The eight encodings are defined in Table 3-7.
cmd Used in conjunction with the stype1 field to define the link maintenance commands. Refer to Table 3-7 for the cmd
field descriptions.
reserved Set to logic 0s on transmission and ignored on reception
CRC-5 5-bit code used to detect transmission errors in short control symbols. See Section 3.6, "Control Symbol
Protection" for details on the CRC error detection scheme.
CRC-13 13-bit code used to detect transmission errors in long control symbols. See Section 3.6, "Control Symbol
Protection" for details on the CRC error detection scheme.
bits 0 2 3 7 8 12 13 15 16 18 19 23
stype0 parameter0 parameter1 stype1 cmd CRC-5
3 5 5 3 3 5
Short control symbols can carry two functions, one encoded in the stype0 field and
one encoded in the stype1 field. The fields parameter0 and parameter1 are used by
the functions encoded in the stype0 field. The cmd field is a modifier for the
functions encoded in the stype1 field.
The functions encoded in stype0 are “status” functions that convey some type of
status about the port transmitting the control symbol. The functions encoded in
stype1 are requests to the receiving port or transmission delimiters.
All long control symbols shall have the 48 data bit format shown in Figure 3-2.
bits 0 2 3 8 9 14 15 17 18 20 21 34 35 47
stype0 parameter0 parameter1 stype1 cmd reserved CRC-13
3 6 6 3 3 14 13
With one exception, the stype0, parameter0, parameter1, stype1, and cmd fields in
the long control symbol have exactly the same function, encoding, and size as the
same named fields in the short control symbol. The exception is that parameter0 and
parameter1 are 5-bit fields in the short control symbol and 6-bit fields in the long
control symbol.
Control symbols are defined with the ability to carry at least two functions so that a
packet acknowledgment and a packet delimiter can be carried in the same control
symbol. Packet acknowledgment and packet delimiter control symbols constitute
the vast majority of control symbol traffic on a busy link. Carrying an
acknowledgment (or status) and a packet delimiter whenever possible in a single
control symbol allows a significant reduction in link overhead traffic and an increase
in the link bandwidth available for packet transmission.
A control symbol carrying one function is referred to using the name of the function
it carries. A control symbol carrying more than one functions may be referred to
using the name of any function that it carries. For example, a control symbol with
stype0 set to packet-accepted and stype1 set to NOP is referred to a packet-accepted
control symbol. A control symbol with stype0 set to packet-accepted and stype1 set
to restart-from-retry is referred to as either a packet-accepted control symbol or a
restart-from-retry control symbol depending on which name is appropriate for the
context.
Value 30: The value 30 indicates that the port has at least 30 maximum length packet buffers
available for reception on the specified VC.
Value 31: The port has an undefined number of maximum sized packet buffers available for
packet reception, and relies on retry for flow control.
Value 62: The value 62 indicates that the port has at least 62 maximum length packet buffers
available for reception on the specified VC.
Value 63: The port has an undefined number of maximum sized packet buffers available for
packet reception, and relies on retry for flow control
NOTE:
The following sections depict various control symbols. Since control
symbols can contain one or more functions, shading in the figures is
used to indicate which fields are applicable to that specific control
symbol function.
3 5 5 3 3 5
The buf_status value in the control symbol is for the VC of the packet being
accepted. Since the VC of the packet is not carried in the control symbol, the port
receiving the control symbol must reassociate the ackID in the packet_ackID field
with the VC of the accepted packet to determine the VC to which the buf_status
applies.
3 5 5 3 3 5
The packet-retry control symbol is only used in singleVC mode for compatibility
with Rev. 1.x RapidIO devices. Packet retry is replaced with error recovery when
multiple VCs are active. See Chapter 5, "LP-Serial Protocol", for more information.
3 5 5 3 3 5
0b00000 Reserved
0b00001 Received packet with an unexpected ackID
0b00010 Received a control symbol with bad CRC
0b00011 Non-maintenance packet reception is stopped
0b00100 Received packet with bad CRC
0b00101 Received invalid character, or valid but illegal character
0b00110 Packet not accepted due to lack of resources
0b00111 Loss of descrambler sync
0b01000 - 0b11110 Reserved
0b11111 General error
3 5 5 3 3 5
3 5 5 3 3 5
The encoding of the VCID field is specified in Table 3-5. The VCID corresponds to
the VCID in the physical layer format as described in Chapter 2, "Packets".
Table 3-5. VCID Definition
8 Optional VCs Active 4 Optional VCs Active 2 Optional VCs Active 1 Optional VC Active
Formats for 4, 2, and 1 active VCs are shown in the three right hand columns of the
table. When using fewer than 8 VCs, bits in the VCID are ignored starting from the
LSB, consistent with the bit usage in the packet format. For example, with one
optional VC active, all bit patterns in the VCID are interpreted as pertaining to VC1.
3 5 5 3 3 5
Note: * denotes that restart-from-retry and link-request control symbols may only be
packet delimiters if a packet is in progress.
Note: ** NOP (Ignore) is not defined as a control symbol, but is the default value
when the control symbol does not convey another stype1 function.
NOTE:
The following sections depict various control symbols. Since control
symbols can contain one or two functions, shading in the figures is
used to indicate which fields are applicable to that specific control
symbol function.
3 5 5 3 3 5
3 5 5 3 3 5
3 5 5 3 3 5
3 5 5 3 3 5
3 5 5 3 3 5
The use of the “cmd” field in the link-request control symbol format is defined in
Table .
Table 3-8. Cmd Field Definitions
Command
cmd Encoding Description Reference
Name
0b000-0b010 — Reserved
0b011 Reset-device Reset the receiving device Section 3.5.5.1
0b100 Input-status Return input port status; functions as a link request Section 3.5.5.2
(restart-from-error) control symbol under error conditions
0b101-0b111 — Reserved
3 5 5 3 3 5
the effect of both setting the initial CRC to all 1’s (0b11111) and a 20th bit set to logic
0 (0b0) have been included in the equations.
In Table 3-9, an “x” means that the data input should be an input to the
Exclusive-OR necessary to compute that particular bit of the CRC. A “!x”, means
that bit 18 being applied to the CRC circuit must be inverted.
Table 3-9. Parallel CRC-5 Equations
Control
CRC Checksum Bits
Symbol
Data for
C0 C1 C2 C3 C4
CRC
D18 x !x !x !x x
D17 x x x
D16 x x x
D15 x x x
D14 x x x
D13 x x x
D12 x x x
D11 x x x
D10 x x x
D9 x
D8 x
D7 x
D6 x
D5 x
D4 x x x
D3 x x x x x
D2 x x x
D1 x x x
D0 x x x
Figure 3-15 shows the 19-bits that the CRC covers and how they should be applied
to the circuit. As seen in Figure 3-15, bits are labeled with 0 on the left and 18 on the
right. Bit 0, from the stype0 field, would apply to D0 in Table 3-9 and bit 18, from
the cmd field, would apply to D18 in Table 3-9. Once completed, the 5-bit CRC is
appended to the control symbol.
Data For C C C
C0 C1 C2 C3 C4 C5 C6 C7 C8 C9
CRC 10 11 12
D34 x x x x x
D33 x x x x x
D32 x x x x x
D31 x x x x x
D30 x x x x x
D29 x x x x x
Control
CRC Checksum Bits
Symbol
D28 x x x x x x x
D27 x x x x x x x
D26 x x x x x x x
D25 x x x x x x x x x
D24 x x x x x x x
D23 x x x x x x x
D22 x x x x x
D21 x x x x x
D20 x x x
D19 x x x
D18 x x x
D17 x x x
D16 x x x
D15 x x x
D14 x x x
D13 x x x
D12 x x x
D11 x x x
D10 x x x
D9 x x x
D8 x x x x x
D7 x x x x x
D6 x x x x x
D5 x x x x x
D4 x x x x x
D3 x x x
D2 x x x
D1 x x x
D0 x x x
4.4 Definitions
Definitions of terms used in this specification are provided below.
Byte: An 8-bit unit of information. Each bit of a byte has the value 0 or 1.
Character: A 9-bit entity comprised of an information byte and a control bit that indicates
whether the information byte contains data or control information. The control bit has the
value D or K indicating that the information byte contains respectively data or control
information.
D-character: A character whose control bit has the value “D”. Also referred to as a data
character.
K-character: A character whose control bit has the value “K”. Also referred to as a special
character.
Code-group: A 10-bit entity that is the result of 8B/10B encoding a character.
Column: The group of N characters that are transmitted at nominally the same time by a
LP-Serial port operating in Nx mode.
Comma: A 7-bit pattern, unique to certain 8B/10B special code-groups, that is used by a
receiver to determine code-group boundaries. See more in Section 4.5.7.4, "Sync (/K/)" and
Table 4-2.
Idle sequence: The sequence of characters (code-groups after 8B/10B encoding) that is
transmitted by a port on each of its active output lanes when the port is not transmitting a
packet or control symbol. The idle sequence allows the receiver to maintain bit
synchronization, code-group alignment and, if applicable, adaptive equalization settings in
between packets and control symbols.
Lane: A single unidirectional signal path, typically a differential pair, between two
LP-Serial ports.
Nx port: A LP-Serial port that supports links with up to a maximum of N lanes in each
direction.
Lane Alignment: The process of eliminating the skew between the lanes of a LP-Serial
link operating in Nx mode such that the characters transmitted as a column by the sender
are output by the alignment process of receiver as a column. Without lane alignment, the
characters transmitted as a column might be scattered across several columns output by the
receiver. The alignment process uses the columns of “A” special characters transmitted as
part of the idle sequence.
1x mode: A LP-Serial port mode of operation in which the port transmits on a single lane
and receives on a single lane.
Nx mode: A LP-Serial port mode of operation in which the port both transmits and receives
on multiple lanes. A LP-Serial port operating in Nx mode transmits on N lanes and receives
on N lanes where N has a value greater then 1. The transmit data stream is distributed across
the N transmit lanes and the receive data stream is distributed across the N receive lanes.
Striping: The method used on a link operating in Nx mode to distribute data across the N
lanes simultaneously. For each direction of the link, the character stream is striped across
the lanes, on a character-by-character basis, beginning with lane 0, continuing in
incrementing lane number order across the lanes, and wrapping back to lane 0 for character
N+1.
pair having more zeros than ones. This allows the encoder, when selecting an
unbalanced code-group, to select a code-group unbalanced toward ones or
unbalanced toward zeros, depending on which is required to maintain the 0/1
balance of the encoder output code-group stream.
The 8B/10B code has the following properties.
• Sufficient bit transition density (3 to 8 transitions per code-group) to allow
clock recovery by the receiver.
• Special code-groups that are used for establishing the receiver synchronization
to the 10-bit code-group boundaries, delimiting control symbols and
maintaining receiver bit and code-group boundary synchronization.
• 0/1 balanced. (can be AC coupled)
• Detection of all single and some multiple-bit errors.
The output of the 8B/10B encoding process is a 10-bit code-group. The bits of a
code-group are denoted with the letters “a” through “j”. The bits of a code-group are
all of equal significance, there is no most significant or least significant bit. The
ordering of the code-group bits is shown in Figure 4-2.
The code-groups corresponding to the data character Dx.y is denoted by /Dx.y/. The
code-groups corresponding to the special character Kx.y is denoted by /Kx.y/.
abcdei fghj
/D25.3/
100110 1100
the end of the preceding 6-bit sub-block. Running disparity at the end of the
code-group is the running disparity at the end of the 4-bit sub-block.
The sub-block running disparity shall be calculated as follows:
1. The running disparity is positive at the end of any sub-block if the sub-block
contains more 1s than 0s. It is also positive at the end of a 4-bit sub-block if
the sub-block has the value 0b0011 and at the end of a 6-bit sub-block if the
sub-block has the value 0b000111.
2. The running disparity is negative at the end of any sub-block if the sub-block
contains more 0s than 1s. It is also negative at the end of a 4-bit sub-block if
the sub-block has the value 0b1100 and at the end of a 6-bit sub-block if the
sub-block has the value 0b111000.
3. In all other cases, the value of the running disparity at the end of the
sub-block is running disparity at the beginning of the sub-block (the running
disparity is unchanged).
The dotted line shows the functional separation between the PCS layer, that provides
10-bit code-groups, and the PMA layer that serializes the code-groups.
The drawing also shows on the receive side the bits of a special character containing
the comma pattern that is used by the receiver to establish 10-bit code-boundary
synchronization.
8 + control 8 + control
Input to the Output of the
ENCODE function HGFEDCBA HGFEDCBA DECODE function
8B/10B 8B/10B
Encoder PCS Layer Decoder
Notes
1. Reserved code-group.
2. The code-group contain a comma.
3. A Reserved code-group for Idle Sequence 1
4.5.7.8 Illegal
A special character and its associated code-group that is defined by the 8B/10B
code, but not specified for use by the LP-Serial protocol are declared to be an
“illegal” character and “illegal” code-group respectively. The special characters
K23.7, K28.2, K28.4, K28.6, K28.7 and K30.7 are illegal characters, and if a link is
operating with Idle Sequence 1, K28.1 is also an illegal character.
are capable of operating at the same baud rate also support a common link width
over which they can always communicate with each other.
LP-Serial ports that support operation over two or more lanes per direction shall
support 1x mode operation over two of those lanes, lane 0 and lane R (the
redundancy lane). If the port supports operation over at most two lanes per direction
(2x mode), lane R shall be lane 1. If the port supports operation over more than two
lanes, lane R shall be lane 2. Requiring ports that support operation over links with
two or more lanes per direction to also support 1x mode over two lanes per direction
provides a redundant fallback capability that allows communication over the link at
reduced bandwidth in the presence of lane failure, regardless of the lane that fails.
pseudo_random_integer_generator pseudo_random_bit
clock
Q Q Q Q Q Q Q
1
msb lsb
D D D D D
down_counter
LOAD
Q Q Q Q Q
Acntr_eq_zero
send_idle_dlyd
D Q
send_idle send_idle
occur in the same column. As a result, the IDLE2 sequence will appear at the
transmitter output as a sequence of the columns ||K||, ||R||, ||M|| and ||A|| and columns
containing only data code-groups.
CS field marker
8 characters
encoded CS field
32 characters
4. Each random data field that is transmitted on a given lane of a link shall be
generated by first generating a prototype random data field using the above
rules, but with a D0.0 character in the place of each pseudo-random data
character, and then scrambling the prototype random data field with the
transmit scrambler for that lane. The scrambling shall be done in exactly the
same manner as packet and control symbol data characters are scrambled.
The scrambler, the scrambling method and the scrambling rules are specified
in Section 4.8.1, "Scrambling Rules".
5. When a port is operating in Nx mode, the location A or M special characters
in a random data field shall be identical for all N lanes. If the kth character of
a random data field transmitted on lane 0 is an A (M) special character, the
kth character of the random data fields transmitted on lanes 1 through N-1 is
also an A (M) special character.
Generating the random data field pseudo-random data characters by scrambling
D0.0 characters results in the output serial random data bit stream being the
scrambling sequence. This allows the receiver to recover the descrambler seed from
the received idle frame random data field. It also allows the receiver to verify that
the lane descramblers are synchronized to the incoming data stream. If a lane
descrambler is correctly synchronized, the pseudo-random data characters in the idle
frame random data field will all descramble to D0.0 characters.
4.7.4.1.2 IDLE Sequence 2 CS Field Marker
The CS field marker indicates the beginning of the command and status (CS) field
and provides information about the link polarity, link width and lane numbering.
The CS field marker shall be the 8 character sequence
M, M, M, M, D21.5, Dx.y, D21.5, Dx.y
where
x, the least significant 5 bits of Dx.y, encodes lane_number[0-4], the
number of the lane within the port,
y, the most significant 3 bits of Dx.y, encodes active_link_width[0-2],
the active width of the port and
Dx.y is the bit wise complement of Dx.y.
As shown above, the CS frame marker characters shall be transmitted from left to
right. The first character transmitted is M, the last character transmitted is Dx.y.
The “M, M, M, M” sequence that begins the CS field marker is unique and is used
to locate the start of the CS data field. The sequence occurs only between the Idle
Sequence 2 idle frame random data and CS fields. It never occurs in control symbols
or packet data and can not be created by an isolated burst error of 11 bits or less at
the code-group level.
RapidIO Trade Association 79
RapidIO Part 6: LP-Serial Physical Layer Specification Rev. 2.2
The character D21.5 provides lane polarity indication. The 8B/10B encoding of
D21.5 is independent of running disparity. If the lane polarity is inverted, the
character will decode as D10.2.
The active_port_width field shall be encoded as specified in Table 4-5.
Table 4-5. Active Port Width Field Encodings
y active_link_width[0-2] Link mode Notes
0 0b000 1x
1 0b001 2x
2 0b010 4x
3 0b011 8x
4 0b100 16x
5 0b101 1x on lanes 0, 1 and 2 3
6 0b110 1x on both lanes 0 and 1 1
7 0b111 1x on both lanes 0 and 2 2
Notes
1. Used when a 2x port is operating in 1x mode.
2. Used when a 4x, 8x, or 16x port is operating in 1x mode.
3. Used when a 1x/2x/Nx port is operating in 1x mode. Some early implementations may report
this mode as an active_link_width of 0b110 or 0b111 instead of 0b101.
0 0b00000 0
1 0b00001 1
2 0b00010 2
3 0b00011 3
4 0b00100 4
5 0b00101 5
6 0b00110 6
7 0b00111 7
8 0b01000 8
9 0b01001 9
10 0b01010 10
11 0b01011 11
12 0b01100 12
13 0b01101 13
14 0b01110 14
15 0b01111 15
16-31 0b10000 - 0b11111 Reserved
A CS field marker whose first four characters are not all M special characters, fifth
and seventh characters are not both D21.5 or D10.2 or sixth and eight character are
not the bit wise complements of each other shall be determined to be corrupted. A
received CS field marker that is determined to be truncated and/or corrupted shall be
ignored and discarded. Any error detected in a truncated and/or corrupted CS field
marker that is determined to be the result of a transmission error and not the result
of truncation, such as an “invalid” or “illegal” character, shall be reported as an input
error.
4.7.4.1.3 IDLE2 Command and Status Field (CS field)
The CS field allows a port to provide certain status information about itself to the
connected port and to control the transmit emphasis settings of the connected port if
the connected port supports adaptive transmit emphasis.
The CS field shall have 32 information bits, cs_field[0-31], and 32 check bits,
cs_field[32-63]. The check bits cs_field[32-63] shall be the bit wise complement of
the information bits cs_field[0-31] respectively.
The CS field bits are defined in Table 4-7.
Table 4-7. Command and Status Field Encodings
CS_field bit(s) Definition
0 CMD - Command
This bit indicates to the connected port when an emphasis update
command is present
0b0 - no request present
0b1 - request present
1 Implementation defined
2 Receiver trained
When the lane receiver controls any transmit or receive adaptive
equalization, this bit indicates whether or not all adaptive equalizers
controlled by the lane receiver are trained
0b0 - One or more adaptive equalizers are controlled by the lane
receiver and at least one of those adaptive equalizers is not trained
0b1 - The lane receiver controls no adaptive equalizers or all of the
adaptive equalizers controlled by the receiver are trained
3 Data scrambling/descrambling enabled
This bit indicates whether control symbol and packet data characters
are being scrambled before transmission and descrambled upon
reception
This bit indicates whether or not the transmitter is scrambling control
symbol and packet data characters.
0b0: scrambling/descrambling disabled
0b1: scrambling/descrambling enabled
4-5 Tap(-1) status - Transmit emphasis tap(-1) status
These bits indicate the status of transmit emphasis tap(-1).
0b00: not implemented
0b01: at minimum emphasis
0b10: at maximum emphasis
0b11: at intermediate emphasis setting
0,0 D7.3
0,1 D24.3
1,0 D30.3
1,1 D24.7
This encoding has the property that after 8B/10B encoding, the resulting transmit
signal has a minimum run length of 2 except at the boundary between code-groups
when a /D24.7/ is immediately followed by a /D30.3/. The minimum run length of
2 reduces the effective bandwidth of the transmitted signal which improves the
reliability of transmission over an unequalized or partially equalized lane.
The characters encoding the CS channel shall be transmitted in the order of the bits
they encode beginning with the character encoding CS field bits [0,1] and ending
with the character encoding bits [62-63].
A CS field whose bits [32-63] are not the bit wise complement of bits [0-31]
respectively shall be determined to be corrupted. A received CS field that is
determined to be truncated and/or corrupted shall be ignored and discarded. Any
error detected in a truncated and/or corrupted CS field that is determined to be the
result of a transmission error and not the result of truncation, such as an “invalid” or
“illegal” character, shall be reported as an input error.
4.7.4.1.4 IDLE2 CS Field Use
The transmit emphasis status and update commands supported by the CS Field are
based on a reference model for the transmitter emphasis network that is a transversal
filter with K taps with baud period tap spacing. A 5-tap transversal filter is shown in
Figure 4-6. The filter taps are named according to their position relative to the
“main” tap which is designated tap(0). As the signal propagates through the filter,
taps that are reached by the signal before it reaches the main tap are designated with
negative integers. Taps that are reached by the signal after it has passed the main tap
are designated with positive integers. For example, the tap immediately before the
main tap is designated tap(-1), the tap immediately following the main tap is
designated tap(+1) and the second tap after the main tap is designated tap(+2). The
output signal of a transversal filter is formed by multiplying the voltage of each tap
by a tap coefficient and summing the products together. The coefficient for tap(n) is
designated kn. The main tap, tap(0), has the property that its coefficient (k0) is
always positive. When all emphasis is disabled, the main tap coefficient is 1 and all
of the other tap coefficients are 0.
k-2 k-1 k0 k1 k2
Output
The structure of the transmit emphasis transversal filter in a given port is conveyed
to the connected port by the Tap(n) status fields in the CS fields transmitted by the
port.
The intended use for transmit emphasis is to allow at least partial compensation for
the transmission losses of links implemented with differential printed circuit board
(PCB) trace pairs which increase with increasing frequency. Compensation is
achieved by emphasizing the higher frequency portion of the transmit spectrum
before transmission. A transversal filter for this purpose typically has two or three
taps. The two tap filter has a main tap, tap(0), and either a tap(-1) or a tap(+1). The
three tap filter has a main tap and both a tap(-1) and a tap(+1). When adjusted for
transmit emphasis, the coefficients of tap(-1) and tap(+1) will be negative with
emphasis increasing as the coefficients become more negative.
The CS fields exchanged between connected LP-Serial ports provides a command
and acknowledgement path that allows a LP-Serial receiver to control the transmit
emphasis of the connected transmitter. The issuing and acknowledgement of
transmit emphasis commands is control by a handshake that uses the CS field signals
CMD, ACK and NACK.
A receiver may issue the following commands. Only one of these commands may
be issued at a time.
reset emphasis
preset emphasis
modify the emphasis provided by tap(-1), if tap(-1) is implemented
modify the emphasis of tap(+1), if tap(+1) is implemented
CS field commands shall be issued and acknowledged using the following rules.
References to specific command bits and to the CMD bit refer to the specific
command bits and the CMD bit in CS fields transmitted by the port issuing the
command. References to the ACK and NACK bits refer to the ACK and NACK bits
CMD
preset_emphasis
tap(-1)_command(0-1)
tap(+1)_command(0-1)
ACK
NACK
4.8 Scrambling
Scrambling smooths the spectrum of a port’s transmit signal and reduces the
spectrum’s peak values. This is most important when long strings of the same
character or of a repeating character sequence are transmitted. The result is a
reduction in the amount of electromagnetic interference (EMI) generated by the link
and easier design of adaptive equalizer training algorithms. Scrambling of packet
and control symbol data characters is used only on links operating with idle
sequence 2 (IDLE2). It is not used on links operating with idle sequence 1 (IDLE1)
for backwards compatibility with early revisions of this specification.
generation of pseudo-random data characters for the IDLE2 random data field. (See
Section 6.6.10, "Port n Control 2 CSRs (Block Offset 0x54, 74, ... , 234)").
Scrambling and descrambling shall be done at the lane level. Nx ports shall have a
transmit scrambling and receive descrambling function for each of the N lanes. In
the transmitter, scrambling shall occur before 8B/10B encoding, and if the port is
operating in Nx mode, after lane striping. In the receiver, descrambling shall occur
after 8B/10B decoding, and if the port is operating in Nx mode, before lane
destriping.
The polynomial x17+x8+1 shall be used to generate the pseudo-random sequences
that are used for scrambling and descrambling. This polynomial is not primitive, but
when the sequence generator is initialized to all 1s or other appropriate values, the
polynomial produces a sequence with a repeat length of 35,805 bits. The bit serial
output of the pseudo-random sequence generator shall be taken from the output of
the register holding x17. The pseudo random sequence generator is shown in
Figure 4-8.
x1 x2 x3 x4 x5 x6 x7 x8
DQ DQ DQ DQ DQ DQ DQ DQ XOR
Clock
Control symbol and packet data characters shall be scrambled and descrambled by
XORing the bits of each character with the output of the pseudo-random sequence
generator. The bits of each data character are scrambled/descrambled in order of
decreasing significance. The most significant bit (bit 0) is scrambled/descrambled
first, the least significant bit (bit 7) is scrambled/descrambled last.
The transmitter and receiver scrambling sequence generators shall step during all
characters except R special characters. This is to prevent loss of sync between
transmit and receive scramblers when an /R/ or ||R|| is added or removed by a
retimer.
To minimize any correlation between lanes when a port is transmitting on multiple
lanes, the scrambling sequence applied to a given output lane of the port shall be
offset from the scrambling sequence applied to any other output lane of the port by
at least 64 bits. If separate scrambling sequence generators are used for each lane,
the offset requirement can be achieved by initializing the scramblers to the values
specified in Table 4-9, which provide an offset of 64.
88 RapidIO Trade Association
RapidIO Part 6: LP-Serial Physical Layer Specification Rev. 2.2
The SYNC sequence shall be transmitted in parallel on each of the N active lanes of
a link operating in Nx mode and shall immediately precede the link-request control
symbol. If the link is operating in 1x mode, the last character of the SYNC sequence
is immediately followed by the first character of the link-request. If the link is
operating in Nx mode, the last column of the SYNC sequence is immediately
followed by the column containing the first characters of the link-request.
The SYNC sequence shall be comprised of four contiguous repetitions of a five
character sequence that begins with a M special character immediately followed by
4 pseudo-random data characters, i.e. the SYNC sequence is MDDDD MDDDD
MDDDD MDDDD. The pseudo-random data characters shall be generated in the
same way as the pseudo-random data characters in the random data field of the
IDLE2 idle frame are generated. The SYNC sequence will appear as four repetitions
of ||M||D||D||D||D|| on a link operating in Nx mode.
When the descrambler is in sync and in the absence of transmission errors, the
“check field” will contain four data characters that are all D0.0s after descrambling.
The exception to the rule stated above that each descrambler sync check trigger
sequence shall cause the receiving lane to execute a descrambler sync check is when
the descrambler check trigger sequence begins in the four character check field of a
previous trigger sequence. When this occurs, the trigger sequence shall not trigger a
descrambler sync check. For example, the RM in the sequence KRXRMDDDD,
where X is neither a K nor R, shall not trigger a descrambler sync check as it begins
in the four character check field used by the descrambler sync check triggered by the
KR sequence.
If the descrambled value of each of the four characters in a check field is D0.0, the
result of the descrambler sync test shall be “pass”. Otherwise, the result of the
descrambler sync test shall be “fail” and the descrambler shall be determined to be
“out of sync”.
A sync test can fail because of either a loss of descrambler sync or a data
transmission error(s) in either the sync trigger sequence or the check field. While
this will result is some false sync test “failures”, it is preferable to allowing false
sync test “passes” which can result in undetected control symbol or packet
corruption.
If a descrambler sync test fails, the port shall immediately enter the Input
Error-stopped state if it is not already in that state and resynchronize the
descrambler. All control symbols and packet received while a lane descrambler is
out of sync shall be ignored and discarded. The cause field in the
packet-not-accepted control symbol issued by the port on entering the Input
Error-stopped state due to a sync check failure shall indicate “loss of descrambler
sync”.
If the link is operating with idle sequence 2, control symbol and packet data
characters shall be scrambled before transmission and descrambled after reception
as specified in Section 4.8.
Figure 4-9 shows the encoding and transmission order for a short control symbol
transmitted over a LP-Serial link operating in 1x mode.
1st byte[0-7] 2nd byte[0-7] 3rd byte[0-7]
stype0 param 0 param 1 stype1 cmd CRC
Figure 4-10 shows the encoding and transmission order for a packet transmitted over
a 1x LP-Serial link.
Figure 4-11 shows an example of idle sequence 1, short control symbol and packet
transmission on a 1x LP-Serial link.
/SC/ char-0 /PD/ char-0 /PD/ char-0 Data-8 char-0 /SC/ char-0
Cdata-0 char-1 Control char-1 Control char-1 Data-9 char-1 Cdata-0 char-1
Cdata-1 char-2 Symbol char-2 Symbol char-2 Data-10 char-2 Cdata-1 char-2
Cdata-2 char-3 (start pkt) char-3 (end pkt) char-3 Data-11 char-3 Cdata-2 char-3
/I/ char-0 Data-0 char-0 /PD/ char-0 /SC/ char-0 Data-0 char-0
/I/ char-1 Data-1 char-1 Control char-1 Cdata-0 char-1 Data-1 char-1
/I/ char-2 Data-2 char-2 Symbol char-2 Cdata-1 char-2 Data-2 char-2
/I/ char-3 Data-3 char-3 (start pkt) char-3 Cdata-2 char-3 Data-3 char-3
/PD/ char-0 Data-4 char-0 Data-0 char-0 Data-12 char-0 Data-4 char-0
Control char-1 Data-5 char-1 Data-1 char-1 Data-13 char-1 Data-5 char-1
Time Symbol char-2 Data-6 char-2 Data-2 char-2 Data-14 char-2 Data-6 char-2
(start-pkt) char-3 Data-7 char-3 Data-3 char-3 Data-15 char-3 Data-7 char-3
Data-0 char-0 Data-8 char-0 Data-4 char-0 /PD/ char-0 /PD/ char-0
Data-1 char-1 Data-9 char-1 Data-5 char-1 Restart char-1 Control char-1
Data-2 char-2 Data-10 char-2 Data-6 char-2 from char-2 Symbol char-2
Data-3 char-3 Data-11 char-3 Data-7 char-3 Retry char-3 (end pkt) char-3
Data-4 char-0 /SC/ char-0 /SC/ char-0 /PD/ char-0 /I/ char-0
Data-5 char-1 Cdata-0 char-1 Cdata-0 char-1 Control char-1 /I/ char-1
Data-6 char-2 Cdata-1 char-2 Cdata-1 char-2 Symbol char-2 /I/ char-2
Data-7 char-3 Cdata-2 char-3 Cdata-2 char-3 (start pkt) char-3 /I/ char-3
When a port that optionally supports and is enabled for both 2x mode and a wider
Nx mode is operating in 1x, the port shall support both lanes 1 and 2 as redundancy
lanes. The port shall transmit the 1x mode data stream on lanes 0, 1 and 2 and
attempt to receive 1x mode data stream on lanes 0, 1 and 2. The port shall select
between using the data received on lane 0 or the data received on the redundancy
lane which may be either lane 1 or lane 2 depending on the connected port. Unless
forced to use the redundancy lane, the port shall use the data stream received on lane
0 if it is available. The 1x/Nx_Initialization state machine specified in Section
4.12.4.6 shall be modified for a port supporting both 2x and a wider Nx mode to
comply with the above requirements.
If the link is operating with idle sequence 2, control symbol and packet data
characters shall be scrambled before transmission and descrambled after reception
as specified in Section 4.8.
Once a Nx port is initialized to a 1x mode, the port may elect to disable the output
driver of the lane which was not selected for reception by the initialization state
machine of the connected port. Since the ports connected by the link may not be
receiving on the same lane (one port could be receiving on lane 0 and the other port
receiving on lane R), the connected port must be interrogated to determine which
lane can be output disabled. It is recommended that the mechanism for disabling the
output driver be under software control.
4.11.1 Retimers
A retimer shall comply with all applicable AC specifications found in Chapter 8,
"Common Electrical Specifications", Chapter 9, "1.25Gbaud, 2.5Gbaud, and
3.125Gbaud LP-Serial Links", and Chapter 10, "5Gbaud and 6.25Gbaud LP-Serial
Links". This includes resetting the jitter budget thus extending the transmission
distance for the link. The retimer repeats the received code-groups after performing
code-group synchronization and serializes the bitstream again on transmission,
based on a local clock reference. Up to two retimers are allowed between two end
nodes.
A retimer is not RapidIO protocol-aware or addressable in any way. The only
awareness a retimer has is to the synchronization on the /K/ code-group and the
function of /R/ insertion and removal. A retimer may insert up to one /R/ code-group
immediately following a /K/ code-group, or remove one /R/ code-group that
immediately follows a /K/ code-group. Since the /R/ code-group is disparity neutral,
its insertion or deletion does not affect the running disparity.
A N-lane retimer must perform lane synchronization and deskew, in exactly the
same way a RapidIO device implementing this physical layer does when
synchronizing inputs during initialization and startup. A Nx mode retimer will
synchronize and align all lanes that are driven to it. Therefore, such a retimer allows
for the degradation of an input Nx link to a 1x link on either lane 0 or R. If any link
drops out, the retimer must merely continue to pass the active links, monitoring for
the compensation sequence and otherwise passing through whatever code-groups
appear on its inputs. A retimer may optionally not drive any outputs whose
corresponding inputs are not active.
Any insertion or removal of a /R/ code-groups in a N-lane retimer must be done on
a full column. A retimer may retime links operating at the same width only (i.e.
cannot connect a link operating at 1x to a link operating at Nx). A retimer may
connect a 1x link to a Nx link that is operating in 1x mode. Retimers perform clock
tolerance compensation between the receive and transmit clock. The transmit clock
is usually derived from a local reference.
Retimers do not check for code violations. Code-groups received on one port are
transmitted on the other regardless of code violations or running disparity errors.
4.11.2 Repeaters
A repeater is used to amplify the signal, but does not retime the signal, and therefore
can add additional jitter to the signal. It does not compensate for clock rate variation.
The repeater repeats the received code-groups as the bits are received by sampling
the incoming bits with a clock derived from the bit stream, and then retransmitting
them based on that clock. Repeaters may be used with Nx links but lane-to-lane
skew may be amplified. Repeaters do not interpret or alter the bit stream in any way.
5. If the baud rate on the inbound signal is less than the baud rate of the idle
sequence being transmitted by the port, the port shall reduce the baud rate at
which it is transmitting to the next lowest baud rate that it supports and that
is enabled for use and go to step 2.
6. If the baud rate on the inbound signal is greater than the baud rate of the idle
sequence being transmitted by the port, the port shall continue transmitting at
the current baud rate go to step 2.
An informational state diagram for the Baudrate_Discovery state machine is shown
in Figure 4-13.
The techniques and algorithms used to compare the baud rates of the signals being
transmitted and received are implementation specific and beyond the scope of this
specification.
WAIT
xmt_baudrate = max
seek_lanes_drvr_oe
COMPARE
!seek_lanes_drvr_oe
seek_lanes_drvr_oe &
rcv_baudrate < xmt_baudrate seek_lanes_drvr_oe &
(rcv_baudrate >= xmt_baudrate) &
(lane_sync[0] | lane_sync[R]
DECREMENT DONE
xmt_baudrate =
next_lowest_baudrate
!seek_lanes_drvr_oe
1x_mode_delimiter
Asserted when a column of two characters from lanes 0 and 1 contains two SC or
two PD special characters. Otherwise de-asserted.
1x_mode_detected
Asserted by the 1x/2x_Mode_Detect state machine when it determines that the link
receiver input signals on lanes 0 and 1 are in 1x mode. Otherwise, de-asserted.
2x_mode_delimiter
Asserted when a column of two characters from lanes 0 and 1 contains one SC or
PD special character and one data character. Otherwise de-asserted.
||A||
Asserted when the current column contains all /A/s. Otherwise de-asserted.
Acounter
A counter used in the Lane Alignment state machine to count received alignment
columns (||A||s).
align_error
Asserted when the current column contains at least one /A/, but not all /A/s.
Otherwise, de-asserted.
/COMMA/
If Idle Sequence 1 is being used on the link to which the port is connected, asserted
when the current code-group is /K28.5/. Otherwise, de-asserted.
If Idle Sequence 2 is being used on the link to which the port is connected, asserted
when the current code-group is either /K28.1/ or /K28.5/. Otherwise, de-asserted.
Dcounter
A 2-bit synchronous saturating up/down counter with the behavior specified in
Table 4-10. The counter is used in the 1x/2x_Mode_Detect state machine.
Counter (count_up,count_down)
Value 0,0 0,1 1,0 1,1
(count_up,count_down)
Counter
Value
0,0 0,1 1,0 1,1
0x3 0x3 0x2 0x3 0x3
If the port supports only one IDLE sequence at the current baud rate, the bit is always
asserted.
If the port supports multiple IDLE sequences at the current baud rate, the bit is
de-asserted when the Initialization state machine is in the SILENT state and is
otherwise controlled by the Idle Sequence Selection process. The Idle Sequence
Selection process runs when the Initialization state machine is in the SEEK state and
lane_sync has been asserted for lane 0, 1 and/or 2. The bit is asserted when the Idle
Sequence Selection process completes.
/INVALID/
When asserted, /INVALID/ indicates that the current code-group is an invalid
code-group.
Kcounter
Counter used in the Lane_Synchronization state machine to count received
code-groups that contain a comma pattern. There is one Kcounter for each lane in a
Nx mode receiver.
lane_ready[n]
lane_ready[n] = lane_sync[n] & rcvr_trained[n]
lane_sync
Asserted by the Lane_Synchronization state machine when it determines that the
lane it is monitoring is in bit synchronization and code-group boundary alignment.
Otherwise de-asserted.
lane_sync[n]
The lane_sync signal for lane n.
lanes01_drvr_oe
When asserted, the output drivers for lanes 0 and 1 are enabled
lanes02_drvr_oe
When asserted, the output drivers for lanes 0 and 2 are enabled
lanes13_drvr_oe
When asserted, the output drivers for lanes 1 and 3 are enabled
link_drvr_oe (link driver output enable)
When asserted, the output link driver of a 1x port is enabled.
Mcounter
Mcounter is used in the Lane_Alignment state machine to count columns received
that contain at least one /A/, but not all /A/s.
N_lanes_aligned
Asserted by the Lane_Alignment state machine when it determines that lanes 0
through N-1 are in sync and aligned.
N_lanes_drvr_oe
The output enable for the lanes 0 through N - 1.
N_lanes_ready
N_lanes_ready = N_lanes_aligned & lane_ready[0] & ... & lane_ready[N-1]
N_lane_sync
Indicates when lanes 0 through N-1 of a receiver operating in Nx mode are in bit
synchronization and code-group boundary alignment.
N_lane_sync = lane_sync[0] & ... & lane_sync[N-1]
Nx_mode
Asserted when the port is initialized and operating in Nx mode
port_initialized
When asserted, port_initialized indicates that the port is initialized. Otherwise the
port is not initialized. The state of port_initialized affects what the port may transmit
on and accept from the link.
receive_lane1
In a 2x port that is initialized and is operating in 1x mode (2x_mode de-asserted),
receive_lane1 indicates which lane the port has selected for input. When asserted,
the port input is taken from lane 1. When de-asserted the port input is taken from
lane 0. When the port is operating in 2x mode (2x_mode asserted), receive_lane1 is
undefined and shall be ignored.
receive_lane2
In a Nx port that is initialized and is operating in 1x mode (Nx_mode de-asserted for
all N > 2), receive_lane2 indicates which lane the port has selected for input. When
asserted, the port input is taken from lane 2. When de-asserted the port input is taken
from lane 0. When the port is operating in Nx mode (some Nx_mode asserted),
receive_lane2 is undefined and shall be ignored.
rcvr_trained[n]
De-asserted when the local lane[n] receiver controls adaptive equalization in the
receiver and/or the connected lane[n] transmitter and the training of the equalization
in either the lane[n] receiver or the connected lane[n] transmitter has not been
establish code-group boundary alignment. When a lane is error free the “comma”
pattern occurs only in the /K28.1/ and /K28.5/ code-groups. Several counters are
used to provide hysteresis so that occasional bit errors do not cause spurious
lane_sync state changes.
The state machine does not specify how bit synchronization and code-group
boundary alignment is to be achieved. The methods used by a lane receiver to
achieve bit synchronization and code-group boundary alignment are
implementation dependent. However, an isolated single bit or burst error shall not
cause the code-group boundary alignment mechanism to change alignment. For
example, a single bit or burst error that results in a “comma” pattern across a
code-group boundary shall not cause the code-group boundary alignment
mechanism to change alignment.
The state machine starts in the NO_SYNC state and sets the variables Kcounter[n],
Vcounter[n], and lane_sync[n] to 0 (lane n is out of code-group boundary sync). It
then looks for a /COMMA/ code-group. When it finds one and the signal
signal_detect[n] is asserted, the machine moves to the NO_SYNC_1 state.
The NO_SYNC_1 state in combination with the NO_SYNC_2 and NO_SYNC_3
states looks for the reception of 127 /COMMA/ and Vmin /VALID/ code-groups
without any intervening /INVALID/ code-groups. When this condition is achieved,
state machine goes to state SYNC. If an intervening /INVALID/ code-group is
detected, the machine goes back to the NO_SYNC state.
The values of 127 and Vmin are selected such that it is highly unlikely that SYNC
would be falsely reported and that the bit error rate (BER) is low enough that it is
highly unlikely that once asserted, lane_sync will “flicker” ON and OFF while the
training of the receiver timing recovery and any adaptive equalization is completed.
Vmin shall have a minimum value of 0 and is implementation dependent. When
Vmin = 0, the behavior of this Lane_Synchronization state machine is identical to
that of the Lane_Synchronization state machine specified in Rev. 1.3 of this
specification.
Table 4-11 shows the approximate maximum probability of lane_sync “flicker” for
some values of Vmin and over the BER range of 1*10-2 to 1*10-12. It is
recommended that Vmin be at least 212 - 1.
212 - 1 0.021
213 - 1 0.011
214 - 1 0.0056
215 - 1 0.0028
216 - 1 0.0014
When Vmin = 0 and IDLE1 is being received, something more than 256
code-groups must be received after the first /COMMA/ to achieve the 128
/COMMA/ code-groups without error criteria to transition to the SYNC state
because the /COMMA/ code-group comprises slightly less than half of the
code-groups in the IDLE1 sequence.
When Vmin = 0 and IDLE2 is being received, something more than 9 Idle Frames
must be received after the first /COMMA/ to achieve the 127 /COMMA/
code-groups without error to transition to the SYNC state because there are on
average about 14 /COMMA/ code-groups per Idle Frame.
In the SYNC state, the machine sets the variable lane_sync[n] to 1 (lane n is in
code-group boundary sync), sets the variable Icounter[n] to 0 and begins looking for
/INVALID/ code-groups. If an /INVALID/ code-group is detected, the machine goes
to state SYNC_1.
The SYNC_1 state in combination with the SYNC_2, SYNC_3, and SYNC_4 states
looks for 255 consecutive /VALID/ code-groups without any /INVALID/
code-groups. When 255 /VALID/ symbols are received, the Icounter[n] value is
decremented in the transition through the SYNC_4 state. If it does not, it increments
Icounter[n]. If Icounter[n] is decremented back to 0, the state machine returns to the
SYNC state. If Icounter[n] is incremented to Imax, the state machine goes to the
NO_SYNC state and starts over. Imax is an integer and shall have a value of 3 or
greater for receivers not using DFE and a value of 4 or greater for receivers using
DFE. This algorithm tolerates isolated single bit or burst errors in that an isolated
single bit or burst error will not cause the machine to change the variable
lane_sync[n] from 1 to 0 (in sync to out of sync).
A single bit error at the code-group level can cause two INVALID characters to be
reported, one due to a corrupted code-group and one due to corrupted running
disparity with causes a subsequent code-group to be reported as INVALID. A burst
error no longer than 11 bits in length can cause three INVALID characters to be
reported, two due to two corrupted code-groups and one due to corrupted running
disparity which causes a subsequent code-group to be reported as INVALID.
reset | change(signal_detect)
NO_SYNC
lane_sync[n] = 0
Kcounter[n] = 0
Vcounter[n] = 0
next_code_group()
signal_detect[n] & /COMMA/ !signal_detect[n] | !/COMMA/
NO_SYNC_1
Kcounter[n] = Kcounter[n] + 1
Vcounter[n] = Vcounter[n] + 1
(Kcounter[n] >126) & (Kcounter[n] < 127)
(Vcounter[n] > Vmin -1) | (Vcounter[n] < Vmin)
NO_SYNC_2
next_code_group( )
!(/COMMA/ | /INVALID/)
NO_SYNC_3
Vcounter[n] = Vcounter[n] + 1
/COMMA/
/INVALID/
SYNC
lane_sync[n] = 1
Icounter[n] = 0
next_code_group( )
/VALID/ /INVALID/
SYNC_1
Icounter[n] = Icounter[n] + 1
Vcounter[n] = 0
Icounter[n] = Imax Icounter[n] < Imax
SYNC_2
next_code_group( )
/VALID/ /INVALID/
SYNC_3
Vcounter[n] = Vcounter[n] + 1
Vcounter[n] < 255 Vcounter[n] = 255
SYNC_4
Icounter[n] = Icounter[n] - 1
Vcounter[n] = 0
Icounter[n] > 0 Icounter[n] = 0
starts over. Mmax is an integer and shall have a value of 2 or greater for receivers
not using DFE and a value of 3 or greater for receivers using DFE.
This algorithm tolerates an isolated single bit or burst error in that such an error will
not cause the machine to change the variable N_lanes_aligned from 1 to 0 (in lane
alignment to out of lane alignment).
reset | change(N_lane_sync)
NOT_ALIGNED
N_lanes_aligned = 0
Acounter = 0
next_colunm( )
NOT_ALIGNED_1
Acounter = Acounter + 1
Acounter = 4 Acounter < 4
NOT_ALIGNED_2
next_column( )
!align_error & !||A||
||A||
align_error
ALIGNED
N_lanes_aligned = 1
Mcounter = 0
next_column()
align_error !align_error
ALIGNED_1
Acounter = 0
Mcounter = Mcounter + 1
Mcounter = Mmax Mcounter < Mmax
ALIGNED_2
next_column( )
||A|| !align_error & !||A||
align_error
ALIGNED_3
Acounter = Acounter + 1
Acounter < 4 Acounter = 4
The Dcounter is used to prevent transmission errors from erroneously changing the
state of 1x_mode_detected.
reset | change(2_lanes_aligned)
INITIALIZE
1x_mode_detected = 0
Dcounter = 3
2_lanes_aligned
GET_COLUMN
next_2column( )
!1x_mode_delimiter &
!2x_mode_delimiter
1x_mode_delimiter 2x_mode_delimiter
1x_DELIMITER 2x_DELIMITER
Dcounter = Dcounter - 1 Dcounter = Dcounter + 1
SET_1x_MODE SET_2x_MODE
1x_mode_detected = 1 1x_mode_detected = 0
alignment state of the link receiver, it is used by the state machine to indicate the
presence of a link partner. When lane_ready and idle_selected are both asserted, the
1X_MODE state is entered.
The input signal force_reinit allows the port to force link initialization at any time.
The variable port_initialized is asserted only in the 1X_MODE state.
reset
SILENT
link_drvr_oe = 0
port_initialized = 0
force_reinit = 0
silence_timer_en = 1
silence_timer_done
SEEK
port_initialized = 0
link_drvr_oe = 1
lane_ready &
idle_selected
1X_MODE
port_initialized = 1
The 1x/Nx_Initialization state machine starts in SILENT state. All N lane output
drivers are disabled to force the link partner to re-initialize regardless of its current
state. The duration of the SILENT state is controlled by the silence_timer. The
duration must be long enough to ensure that the link partner detects the silence (as a
loss of lane_sync) and is forced to re-initialize. When the silent interval is complete,
the state machine enters the SEEK state.
In the SEEK state, a 1x/Nx port transmits an idle sequence on lanes 0 and 2 (the other
output drivers remain disabled to save power) and waits for an indication that a link
partner is present. While lane_sync as defined indicates the bit and code-group
boundary alignment state of a lane receiver, it is used by the state machine to indicate
the presence of a link partner. A link partner is declared to be present when either
lane_sync[0] or lane_sync[2] is asserted. The assertion of idle_selected and either
lane_sync[0] or lane_sync[2] causes the state machine to enter the DISCOVERY
state.
In the DISCOVERY state, the port enables the output drivers for all N lanes and
transmits an idle sequence on all N lanes if Nx mode is enabled. The discovery timer
(disc_tmr) is started. The discovery timer allows time for the link partner to enter its
DISCOVERY state and if Nx mode is enabled in the link partner, for all N local lane
receivers to acquire bit synchronization and code-group boundary alignment and to
complete the training of any adaptive equalization that is present and for all N lanes
to be aligned.
While waiting for the end of the discovery period (disc_tmr_en asserted but
disc_tmr_done de-asserted), if Nx_mode is enabled, all N lanes become ready and
lane alignment is achieved (N_lanes_ready asserted), the machine enters the
Nx_MODE state. If force_1x_mode is asserted (Nx_mode_enabled is deasserted),
force_laneR is not asserted and lane 0 becomes ready (lane_ready[0] asserted), the
machine enters the 1x_MODE_LANE0 state. If both force_1x_mode and
force_laneR are asserted and lane 2 becomes ready (lane_ready[2] asserted), the
machine enters the 1x_MODE_LANE2 state.
At the end of the discovery period (disc_tmr_done asserted), if the state machine has
not entered the Nx_mode or one of the 1x modes and at least one of lane 0 or lane 2
is ready, the machine will enter one of the 1x mode states. If lane 0 is ready and either
force_1x_mode and force_laneR are asserted but lane 2 is not ready or Nx mode is
enabled but N_lanes_ready is deasserted, the machine enters the
1X_MODE_LANE0 state. If lane 2 is ready, lane 0 is not ready and either
force_1x_mode is asserted and force_laneR is not asserted or neither
force_1x_mode nor N_lanes_ready are asserted, the machine enters the
1X_MODE_LANE2 state. If neither lane_ready[0] nor lane_ready[2] is asserted,
the machine enters the SILENT state and restarts the port initialization process.
If lane synchronization for both lane 0 and lane R is lost (both lane_sync[0] and
lane_sync[2] de-asserted) during the DISCOVERY state, the state machine
enters the SILENT state and restarts the port initialization process.
RapidIO Trade Association 115
RapidIO Part 6: LP-Serial Physical Layer Specification Rev. 2.2
reset | force_reinit
SILENT
disc_tmr_en = 0
lanes02_drvr_oe = 0
N_lanes_drvr_oe = 0
port_initialized = 0
Nx_mode = 0
receive_lane2 = 0
force_reinit = 0
silence_timer_en = 1
silence_timer_done
SEEK
lanes02_drvr_oe = 1
(lane_sync[0]
| lane_sync[2]) &
idle_selected
DISCOVERY
1x_RECOVERY
port_initialized = 0
Nx_mode = 0 port_initialized = 0
N_lanes_drvr_oe = disc_tmr_en = 1
Nx_mode_enabled
disc_tmr_en = 1
!lane_sync[0] & lane_ready[0] & !lane_sync[0] &
!lane_sync[2] | lane_ready[2] & !receive_lane2 & !lane_sync[2]
disc_tmr_done & (force_1x_mode & force_laneR !disc_tmr_done | disc_tmr_done
!lane_ready[0] & | disc_tmr_done & !lane_ready[0] &
!lane_ready[2] (force_1x_mode & !force_laneR
| !force_1x_mode & !N_lanes_ready)) lane_ready[2] &
receive_lane2 &
!disc_tmr_done
Nx_mode_enabled lane_ready[0] &
& N_lanes_ready (force_1x_mode &
(!force_laneR
| force_laneR & disc_tmr_done & !lane_ready[2])
| !force_1x_mode & disc_tmr_done & !N_lanes_ready)
!lane_sync[0] !lane_sync[2]
The following Initialization state machine may be used for 1x/4x ports that support
only the IDLE1 idle sequence. The only difference between the 1x/Nx Initialization
state machine of Figure 4-18 and the 1x/4x_Initialization state machine of
Figure 4-19 is that the 1x/4x_Initialization machine does not have the
1x_RECOVERY state. As a consequence, the machines have different behavior
when force_1x_mode is asserted. Unlike the 1x/Nx machine, the 1x/4x machine
does not have a bias for the 1x_MODE_LANE0 state when force_1x_mode is not
asserted.
reset
SILENT
disc_tmr_en = 0
lanes02_drvr_oe = 0
lanes13_drvr_oe = 0
port_initialized = 0
4x_mode = 0
receive_laneR = 0
force_reinit = 0
silence_timer_en = 1
silence_timer_done
SEEK
lanes02_drvr_oe = 1
force_1x_mode &
DISCOVERY !force_laneR &
port_initialized = 0 lane_ready[0]
4x_mode = 0
lanes13_drvr_oe = 1
disc_tmr_en = 1
mode and the use of lane 1 as the redundancy lane, this state machine is identical to
the 1x/Nx_Initialization state machine specified in Figure 4-18 with N = 2.
Ports that support more than 2 lanes disable all lanes except lanes 0 and R when
operating in 1x mode. This allows the Initialization state machine for a port
supporting more than 2 lanes to use the number of active lanes the port is receiving
to determine whether to operate in 1x or Nx mode. 1x/2x ports transmit on both lanes
regardless of whether they are operating in 1x or 2x mode. As a result, 1x/2x ports
need a mechanism other than the number of active lanes being received to determine
whether to operate in 1x or 2x mode. The 1x/2x_Mode_Detect state machine
specified in Section 4.12.4.4 provides this mechanism.
reset | force_reinit
SILENT
disc_tmr_en = 0
lanes01_drvr_oe = 0
port_initialized = 0
2x_mode = 0
receive_lane1 = 0
force_reinit = 0
silence_timer_en = 1
silence_timer_done
SEEK
lanes01_drvr_oe = 1
(lane_sync[0]
| lane_sync[1]) &
idle_selected
DISCOVERY 1x_RECOVERY
port_initialized = 0 port_initialized = 0
2x_mode = 0 disc_tmr_en = 1
disc_tmr_en = 1
de-asserted indicating that the port is no longer in the normal operational state and
that the link must be re-initialized before packet transmission can be resumed. Once
in the 2x_RECOVERY state, the state machine then transitions to the
1x_MODE_LANE0 state if both 2_lanes_ready and 1x_mode_detected are still
asserted.
The 2x_RECOVERY state is used to prevent the port from recovering to Nx mode
once 2x mode has been selected.
In the 1x_MODE_LANE2 state, the state machine is allowed to transition to the
1x_MODE_LANE1 state via the 1x_RECOVERY state in the event that the
connected port is a 1x/2x/Nx port and the connected port switches to 2x_MODE.
SILENT
SEEK
disc_tmr_en = 0
lanes01_drvr_oe = lanes01_drvr_oe = 0
2x_mode_enabled lanes02_drvr_oe = 0
lanes02_drvr_oe = N_lanes_drvr_oe = 0
Nx_mode_enabled port_initialized = 0
Dto1xM1 1xRto1xM1
DtoNxM 2xRto1xM0
Dto1xM0
Dto2xM
125
RapidIO Part 6: LP-Serial Physical Layer Specification Rev. 2.2
RapidIO Part 6: LP-Serial Physical Layer Specification Rev. 2.2
The variables that are local to the 1x/2x/Nx_Initialization state machine shown in
Figure 4-21 are defined as follows.
1xM0to1xR = !lane_ready[0] & lane_sync[0]
1xM0toSL = !lane_sync[0]
128
SILENT
SEEK disc_tmr_en = 0
lanes02_drvr_oe = 1 lanes02_drvr_oe = 0
N_lanes_drvr_oe = 0
M_lanes_drvr_oe = 0
SKtoD port_initialized = 0
Nx_mode = 0
Mx_mode = 0
DISCOVERY receive_lane2 = 0
force_reinit = 0
port_initialized = 0 silence_timer_en = 1
Nx_mode = 0
M_lanes_drvr_oe =
Mx_RECOVERY 1x_RECOVERY
Mx_mode_enabled disc_tmr_en = 1 disc_tmr_en = 1
N_lanes_drvr_oe = port_initialized = 0 silence_timer_done port_initialized = 0
Nx_mode_enabled Mx_mode = 0
disc_tmr_en = 1
DtoNxM MxRto1xM0
Dto1xM0
DtoMxM
MxMtoSL
The variables that are local to the 1x/Mx/Nx_Initialization state machine shown in
1xM0toSL = !lane_sync[0]
1xM2to1xR = !lane_ready[2] & lane_sync[2]
1xM2toSL = !lane_sync[2]
1xR to1xM0 = !disc_tmr_done & !receive_lane2 & lane_ready[0]
1xR to1xM2 = !disc_tmr_done & receive_lane2 & lane_ready[2]
Data
Initiator (Source) Returned
Operation Operation
Request Acknowledgment Completed for
Issued By Packet Issued Control Symbol
Master Master
Fabric
Acknowledgment Response
Control Symbol Packet Forwarded
Request Acknowledgment
Packet Forwarded Control Symbol
Target (Destination)
Acknowledgment Response
Control Symbol Packet Issued
Target
Completes
Operation
In systems implementing one or more of VCs 1 through 8 and in which the number
of VCs 1 through 8 that are implemented varies from one LP-Serial link to another,
care needs to exercised in assignment of VC numbers so that the desired RT or CT
characteristic of a virtual channel is maintained as the channel passes from one link
to another link that implements fewer virtual channels.
process. If the link is operating with idle sequence 1 (IDLE1), the short control
symbol shall be used. If the link is operating with idle sequence 2 (IDLE2), the long
control symbol shall be used.
link-response control symbols and, if IDLE2 is the idle sequence in use on the link,
SYNC sequences.
After a LP-Serial port is initialized, the port shall complete the following sequence
of actions to enter the link_initialized state (normal operational state).
1. The initialized port shall transmit idle and at least one status control symbol
per 1024 code-groups transmitted per lane until the port has received an error
free status control symbol from the connected port. The transmission of status
control symbols indicates to the connected port that the port has completed
initialization. The transmission of an idle sequence is required for the
connected port to complete initialization.
2. After the initialized port has received an error free status control symbol from
the connected port, the port shall transmit idle and at least 15 additional status
control symbols. This group of control symbols may be sent more rapidly
than the minimum rate of one status control symbol every 1024 code-groups
transmitted per lane.
3. After the initialized port has received an error free status control symbol, the
port shall wait until it has received a total of seven error free status control
symbols with no intervening errors. This requirement provides a degree of
link verification before packets and other control symbols are transmitted.
4. If any VC other than VC0 is implemented and enabled, the port shall transmit
a single VC_Status control symbol for each such VC. This initializes the flow
control status for each implemented and enabled VC other than VC0.
5. The port enters the link_initialized state.
Once a port is in the link_initialized state, loss of port initialization (port_initialized
variable deasserted) shall cause the port to exit the link_initialized state
(link_initialized variable deasserted). The link is then uninitialized from the point of
view of that port. Once the port has exited the link_initialized state, the port shall not
resume the normal transmission of packets and control symbols until the port has
re-entered both the port_initialized and link_initialized states.
A port that is not in the port_initialized state shall ignore and discard any packet or
control symbol that it receives from the connected port. A port that is in the
port_initialized state but not in the link_initialized state shall ignore and discard any
packet or any control symbol, other than status, VC-status, link-request or
link-response control symbols, that it receives from the connected port.
A LP-Serial port shall not enter the Input error-stopped state or the Output
error-stopped state unless the port is in the link_initialized state. The lost of link
initialization (the state machine link_initialized variable is deasserted) shall not
cause a port already in the Input error-stopped state or the Output error-stopped state
to exit either of those states.
can increase packet throughput and reduce packet propagation delay in some
situations, which can be desirable. On the other hand, embedding all packet
acknowledgment control symbols rather than combining as many of them as
possible with packet delimiter control symbols reduces the link bandwidth available
for packet transmission and may be undesirable.
5.6 Packets
5.6.1 Packet Delimiting
LP-Serial packets are delimited for transmission by control symbols. Since packet
length is variable, both start-of-packet and end-of-packet delimiters are required.
The start-of-packet delimiter immediately precedes the first character of the packet
or an embedded delimited control symbol. The control symbol marking the end of a
packet (packet termination) immediately follows the last character of the packet or
the end of an embedded delimited control symbol.
The following control symbols are used to delimit packets.
• Start-of-packet
• End-of-packet
• Stomp
• Restart-from-retry
• Any link-request
packet indicates the order of the packet transmission and is independent of the
virtual channel assignment of the packet.
The acknowledgment control symbols are defined in Chapter 3, "Control Symbols".
When acknowledgement control symbols are received containing VC specific
information (e.g., buf_status), the transmitter side of the port must reassociate that
information with the correct VC based on the returned ackID.
Request Response
Flow System Priority
Packet Priority Packet Priority
C or higher Highest 2 3
B Next 1 2 or 3
A Lowest 0 1, 2, or 3
If the CRF bit is supported, the transaction request flows are mapped similarly as
specified in Table 5-3 below. Devices that do not support the CRF bit treat it as
reserved, setting it to logic 0 on transmit and ignoring it on receive.
Table 5-3. VC0 Transaction Request Flow to Priority and Critical Request Flow Mapping
F or higher Highest 1 2 1 3
E Higher than A, B, C, 0 2 0 3
D
D Higher than A, B, C 1 1 1 2 or 3
C Higher than A, B 0 1 0 2 or 3
B Higher than A 1 0 1 1, 2, or 3
A Lowest 0 0 0 1, 2, or 3
The link protocol uses acknowledgment to monitor packet transmission. With one
exception, each packet transmitted across a LP-Serial link shall be acknowledged by
the receiving port with a packet acknowledgment control symbol. Packets shall be
acknowledged in the order in which they were transmitted (ackID order). The
exception is when an event has occurred that caused a port to enter the Input
Error-stopped state. CT mode packets accepted by a port after the port entered the
Input Error-stopped state and before the port receives a link-request/input-status
control symbol shall not be acknowledged.
To associate packet acknowledgment control symbols with transmitted packets,
each packet shall be assigned an ackID value according to the rules of Section 5.6.2,
"Acknowledgment Identifier" that is carried in the ackID field of the packet and the
packet_ackID field of the associated acknowledgment control symbol. The ackID
value carried by a packet indicates its order of transmission and the order in which
it is acknowledged.
The LP-Serial link RT protocol uses retransmission to recover from packet
transmission errors or a lack of receive buffer resources. To enable packet
retransmission, a copy of each RT packet transmitted across a LP-Serial link shall
be kept by the sending port until either a packet-accepted control symbol is received
for the packet or the sending port determines that the packet has encountered an
unrecoverable error condition.
The LP-Serial link CT protocol does not use packet retransmission. CT mode
packets that are corrupted by transmission errors or that are not accepted because of
a lack of receive buffer resources are discarded and lost. Therefore, a port need not
retain a copy of a CT mode packet whose transmission has been completed.
The LP-Serial link protocol uses the ackID value carried in each packet to ensure
that no RT mode packets are lost due to transmission errors. With one exception, a
port shall accept packets from a LP-Serial link only in sequential ackID order, i.e. if
the ackID value of the last packet accepted was N, the ackID value of the next packet
that is accepted must be (N+1) modulo2n where n is the number of bits in the ackID
field. The exception is when an event has occurred that caused a port to enter the
Input Error-stopped state. A CT mode packet received by a port after the port entered
the Input Error-stopped state and before the port receives a link-request/input-status
control symbol shall be accepted by the port without regard to the value of the
packet’s ackID field if the packet is otherwise error free and there are adequate
receive buffer resources to accept the packet. The value that is maintained by the
port of the ackID expected in the next packet shall not be changed by the acceptance
of CT packets during this period.
A LP-Serial port accepts or rejects each error free packet that it receives with the
expected ackID depending on whether the port has input buffer space available for
the VC and/or priority level of the packet. The use of the packet-accepted,
packet-retry, packet-not-accepted and restart-from-retry control symbols and the
retransmit the RT packets. See Section 5.13, "Error Detection and Recovery" for
details.
If the port is operating in single VC mode, the port may use the Packet Retry
protocol described in Section 5.9.1.3, "Single VC Retry Protocol", or it may
continue to use the packet-not-accepted protocol described above.
Transmitter Receiver
Time Write 0
Write 1 Ack 0
Write 2
Ack 1
Write 3
Write 4
Rtry 2
Write 5
Write 2
Write 3 Ack 2
Write 4
Write 5 Ack 3
Ack 4
Ack 5
• Resets the link packet acknowledgment timers for all transmitted but
unacknowledged packets. (This prevents the generation of spurious timeout
errors.)
• Transmits a restart-from-retry control symbol.
• Backs up to the first unaccepted packet (the retried packet) which is the packet
whose ackID value is specified by the packet_ackID value contained in the
packet-retry control symbol. (The packet_ackID value is also the value of
ackID field the port retrying the packet expects in the first packet it receives
after receiving the restart-from-retry control symbol.)
• Exits the Output Retry-stopped state and resumes transmission with either the
retried packet or a higher priority packet which is assigned the ackID value
contained in the packet_ackID field of the packet-retry control symbol.
An example state machine with the behavior described in this section is included in
Section C.2, "Packet Retry Mechanism".
containing the buf_status field to its link partner no less often than the minimum rate
specified in Section 5.5.3.2, "Buffer Status Maintenance".
When a port implements more than VC0, the value of buf_status is kept on a per VC
basis by the receiving port. When a packet-accepted symbol is returned, the
buf_status field is filled with the status for the specific VC that the packet was sent
to. When sending buf_status asynchronously (not in response to any specific
packet), the status control symbol is used for VC0, and the VC_status control
symbol is used for VC’s 1-8.
A port whose link partner is operating in transmitter-control flow control mode
should never receive a packet-not-accepted (or packet-retry control symbol if
operating in single VC mode) from its link partner unless the port has transmitted
more packets than its link partner has receive buffers, has violated the rules that all
input buffers may not be filled with low priority packets or there is some fault
condition. A receiver overrun is handled according to the rules in 5.9.1,
"Receiver-Controlled Flow Control".
If a port, operating in single VC mode, for whose link partner is operating in
transmitter-control flow control mode, receives a packet-retry control symbol, the
output side of the port immediately enters the Output Retry-stopped state and
follows the Output Retry-stopped recovery process specified in Section 5.9.1.5,
"Output Retry-Stopped Recovery Process".
A simple example of single VC transmitter-controlled flow control is shown in
Figure 5-3.
Transmitter Receiver
Time Write 0
Ack 0, 2 buffers avail
Write 1
Ack 1, 1 buffer avail
Write 2
Ack 2, 0 buffers avail
Idle, 0 buffers avail
Idle, 0 buffers avail
Idle, 2 buffers avail
Write 3
Ack 3, 3 buffers avail
Write 4
Write 5 Ack 4, 2 buffers avail
of ways: they can be equally divided among the VCs, they can be statically
partitioned based on the bandwidth allocation percentages, or they may be
dynamically allocated from a larger pool. The only requirement is that once a given
amount of buffers is reported by the receiver to the transmitter those buffers shall
remain available for packets for that VC. Buffers may be deallocated once they are
used, by removing the data, but not reporting the buffer available to that VC. At that
time, the buffer may be reallocated to another VC. The specific method of buffer
allocation is beyond the scope of this specification.
One implication of Rule 7 is that a port may not fill all of its buffers that can be used
to hold packets awaiting transmission with packets carrying request transactions. If
this situation was allowed to occur and the output was blocked due to congestion in
the connected device, read transactions could not be processed (no place to put the
response packet), input buffer space would become filled and all subsequent
inbound request packets would be forced to retry violating Rule 7.
Another implication is that a port must have a way of preventing output blockage at
priority less than or equal to N, due to congestion in the connected device, from
resulting in a lack of input buffer space for inbound packets of priority greater than
or equal to N. There are multiple ways of doing this.
One way is to provide a port with input buffer space for at least four maximum
length packets and reserve input buffer space for higher priority packets in a manner
similar to that required by Rule 4 for switches. In this case, output port blockage at
priority less than or equal to N will not result is blocking inbound packets of priority
greater than or equal to N as any responses packets they generate will be of priority
greater than N which is not congestion blocked. The port must however have the
ability to select packets of priority greater than N for transmission from the packets
awaiting transmission. This approach does not require the use of response packet
priority promotion.
A port can use the promotion mechanism to increase the priority of response packets
until they are accepted by the connected device. This allows output buffer space
containing response packets to be freed even though all request packets awaiting
transmission are congestion blocked.
As an example, suppose an end point processing element has a blocked input port
because all available resources are being used for a response packet that the
processing element is trying to send. If the response packet is retried by the
downstream processing element, raising the priority of the response packet until it
is accepted allows the processing element’s input port to unblock so the system can
make forward progress.
It should be noted that implementing response priority promotion in a device may
help with its link partner’s input buffer congestion, not its own input buffer
congestion. It should also be noted that response priority promotion may not be able
to guarantee forward progress in the system unless the link partner has implemented
priority based input buffer reservation.
One feature of the error protection strategy is that with the sole exception of
maintenance packets, the CRC value carried in a packet remains unchanged as the
packet moves through the fabric. The CRC carried in a maintenance packet must be
regenerated at each switch as the hop count changes.
contain protocol errors, then the receiving port shall enter both Error-stopped states
and follow both error recovery processes.
Link protocol violations include the following:
• Unexpected packet-accepted, packet-retry, or packet-not-accepted control symbol
• Packet acknowledgment control symbol with an unexpected packet_ackID value
• Link timeout while waiting for an acknowledgment or link-response control
symbol
• Receipt of a packet-retry symbol when operating in multi-VC mode
The following does not constitute a protocol violation:
• Receipt of a VC_status symbol when operating in single VC mode. Unexpected
VC_status symbols are discarded.
The following is an example of a link protocol violation and recovery. A sender
transmits RT mode packets labeled ackID 2, 3, 4, and 5. It receives
acknowledgments for packets 2, 4, and 5, indicating a probable error associated with
ackID 3. The sender then stops transmitting new packets and sends a
link-request/input-status (restart-from-error) control symbol to the receiver. The
receiver then returns a link- response control symbol indicating which packets it has
received properly. These are the possible responses and the sender’s resulting
behavior:
• expecting ackID = 3 - sender must retransmit packets 3, 4, and 5
• expecting ackID = 4 - sender must retransmit packets 4 and 5
• expecting ackID = 5 - sender must retransmit packet 5
• expecting ackID = 6 - receiver got all packets, resume operation
• expecting ackID = anything else - fatal (non-recoverable) error
5.13.2.3.2 Corrupted Control symbols
The reception of a control symbol with detected corruption shall cause the receiving
port to immediately enter the Input Error-stopped state if not already in the Input
Error-stopped state and follow the Input Error-stopped recovery process specified in
Section 5.13.2.6, "Input Error-Stopped Recovery Process".
Input ports detect the following types of control symbol corruption.
• A control symbol containing invalid characters or valid but non-data characters
• A control symbol with an incorrect CRC value
• A control symbol whose start delimiter (SC or PD) occurs in a lane whose
lane_number mod4 != 0
• A long control symbol that does not have a end delimiter in the seventh
character position after its start delimiter and with the same value as the start
delimiter
make these features accessible to the rest of the system using the device’s local
configuration registers.
Register bits defined as reserved are considered reserved for this specification only.
Bits that are reserved in this specification may be defined in another RapidIO
specification.
Table 6-1. LP-Serial Register Map
Configuration
Space Byte Register Name
Offset
0x0-F Reserved
0x10-13 Processing Element Features CAR
0x14-0xFF Reserved
0x100–
FFFF Extended Features Space
0x10000–
FFFFFF Implementation-defined Space
0x100– Extended Features Space Reserved bit read - ignore returned value read - return logic 0
FFFF
write - preserve current value write - ignored
Implementation- read - ignore returned value read - return
defined bit unless implementation-defined value
implementation-defined
function understood
write - preserve current value write -
if implementation-defined implementation-defined
function not understood
Reserved register read - ignore returned value read - return logic 0s
write - write - ignored
0x10000– Implementation-defined Reserved bit and All behavior implementation-defined
FFFFFF Space register
1
Do not depend on reserved bits being a particular value; use appropriate masks to extract defined bits from
the read value.
2
All register writes shall be in the form: read the register to obtain the values of all reserved bits, merge in the
desired values for defined bits to be modified, and write the register, thus preserving the value of all
reserved bits.
0–3 — Reserved
4 Multiport The bit shall be implemented by devices that support the LP-Serial IDLE2 sequence,
but is optional for devices that do not support the LP-Serial IDLE2 sequence. If this
bit is not implemented it is Reserved.
If this bit is implemented, the Switch Port Information CAR at Configuration Space
Offset 0x14 (see RapidIO Part 1: I/O Logical Specification) shall be implemented
regardless of the state of bit 3 of the Processing Element Features CAR.
0x220-230 Reserved
Port 15
The structure and use of the registers comprising the LP-Serial Generic End Point
Extended Features Block is specified in Section 6.6.
The required behavior for accesses to reserved registers and register bits is specified
in Table 6-2.
0x4C-50 Reserved
0x54 Port 0 Control 2 CSR
0x58 Port 0 Error and Status CSR
0x5C Port 0 Control CSR
Table 6-5. LP-Serial Register Map (Continued)- Generic End Point Devices (SW assisted)
Block Byte
Register Name
Offset
0x6C-70 Reserved
0x74 Port 1 Control 2 CSR
0x78 Port 1 Error and Status CSR
0x7C Port 1 Control CSR
Ports 2-14
0x22C-230 Reserved
0x234 Port 15 Control 2 CSR
0x238 Port 15 Error and Status CSR
0x23C Port 15 Control CSR
The structure and use of the registers comprising the LP-Serial Generic End Point,
software assisted error recovery option Extended Features Block is specified in
Section 6.6.
The required behavior for accesses to reserved registers and register bits is specified
in Table 6-2.
0x4–1C Reserved
0x20 Port Link Timeout Control CSR
0x24-38 Reserved
0x3C Port General Control CSR
0x40-50 Reserved
0x54 Port 0 Control 2 CSR
Port 0
Table 6-6. LP-Serial Register Map (Continued) - Generic End Point Free Devices
Block Byte
Register Name
Ports 2-14 Offset
0x220-230 Reserved
Port 15
The structure and use of the registers comprising the LP-Serial Generic End Point
Free Extended Features Block is specified in Section 6.6.
The required behavior for accesses to reserved registers and register bits is specified
in Table 6-2.
0x4C-50 Reserved
0x54 Port 0 Control 2 CSR
0x58 Port 0 Error and Status CSR
0x5C Port 0 Control CSR
Table 6-7. LP-Serial Register Map (Continued)- Generic End Point-free Devices (SW assisted)
Block Byte
Register Name
Offset
0x6C-70 Reserved
0x74 Port 1 Control 2 CSR
0x78 Port 1 Error and Status CSR
0x7C Port 1 Control CSR
Ports 2-14
0x22C-230 Reserved
0x234 Port 15 Control 2 CSR
0x238 Port 15 Error and Status CSR
0x23C Port 15 Control CSR
The structure and use of the registers comprising the LP-Serial Generic End Point
Free, software assisted error recovery option Extended Features Block is specified
in Section 6.6.
The required behavior for accesses to reserved registers and register bits is specified
in Table 6-2.
0-15 EF_PTR Hard wired pointer to the next block in the data structure, if one exists
16-31 EF_ID Hard wired Extended Features Block ID
0 Host see A Host device is a device that is responsible for system exploration,
footnote1 initialization, and maintenance. Agent or slave devices are initialized by
Host devices.
0b0 - agent or slave device
0b1 - host device
1 Master Enable see The Master Enable bit controls whether or not a device is allowed to issue
footnote2 requests into the system. If the Master Enable is not set, the device may
only respond to requests.
0b0 - processing element cannot issue requests
0b1 - processing element can issue requests
2 Discovered see This device has been located by the processing element responsible for
footnote3 system configuration
0b0 - The device has not been previously discovered
0b1 - The device has been discovered by another processing element
3-31 — Reserved
1The
Host reset value is implementation dependent
2The Master Enable reset value is implementation dependent
3
The Discovered reset value is implementation dependent
The register bit definitions for a generic end point free device with or without the
software assisted error recovery option are specified in Table 6-12.
Table 6-12. Bit Settings for General Port Control CSR, Generic End Point Free Device
Reset
Bit Name Description
Value
0-1 — Reserved
2 Discovered see This device has been located by the processing element responsible for
footnote1 system configuration
0b0 - The device has not been previously discovered
0b1 - The device has been discovered by another processing element
3-31 — Reserved
1
The Discovered reset value is implementation dependent
0–28 — Reserved
29-31 Command 0b000 Command to be sent in the link-request control symbol. If read, this field
returns the last written value.
0 response_valid 0b0 If the link-request causes a link-response, this bit indicates that the
link-response has been received and the status fields are valid.
If the link-request does not cause a link-response, this bit indicates that the
link-request has been transmitted.
This bit automatically clears on read.
1-20 — Reserved
21-26 ackID_status 0b000000 ackID status field from the link-response control symbol. Bit 21 is only valid
for long control symbols.
27-31 port_status 0b00000 port status field from the link-response control symbol
0 Clr_outstanding_ackIDs 0b0 Writing 0b1 to this bit causes all outstanding unacknowledged packets to be
discarded. This bit should only be written when trying to recover a failed
link. This bit is always logic 0 when read.
1 — Reserved
2-7 Inbound_ackID 0b000000 Input port next expected ackID value. Bit 2 is only valid for long control
symbols.
8-17 — Reserved
18-23 Outstanding_ackID 0b000000 Output port unacknowledged ackID status. Next expected acknowledge
control symbol ackID field that indicates the ackID value expected in the
next received acknowledge control symbol. Bit 18 is only valid for long
control symbols.
24-25 — Reserved
26-31 Outbound_ackID 0b000000 Output port next transmitted ackID value. Software writing this value can
force retransmission of outstanding unacknowledged packets in order to
manually implement error recovery. Bit 26 is only valid for long control
symbols.
0 Idle Sequence 2 Support see Indicates whether the port supports idle sequence 2 for baudrates of less
footnote1 than 5.5 GBaud.
0b0 - idle sequence 2 not supported for baudrates < 5.5 GBaud.
0b1 - idle sequence 2 supported for baudrates < 5.5 GBaud.
1 Idle Sequence 2 Enable see Controls whether idle sequence 2 is enabled for baudrates of less than 5.5
footnote2 GBaud.
0b0 - idle sequence 2 disabled for baudrates < 5.5 GBaud.
0b1 - idle sequence 2 enabled for baudrates < 5.5 GBaud.
The port shall not allow this bit to be set unless idle sequence 2 is
supported and shall not allow this bit to be cleared if only idle sequence 2
is supported.
2 Idle Sequence see Indicates which idle is active.
footnote1 0b0 - idle sequence 1 is active.
0b1 - idle sequence 2 is active.
3 — Reserved
4 Flow Control Mode 0b0 Indicates which flow control mode is active (read only).
0b0 - receiver-controlled flow control is active.
0b1 - transmitter-controlled flow control is active.
5-10 — Reserved
11 Output 0b0 Output port has encountered a retry condition.This bit is set when bit 13 is
Retry-encountered set. Once set, remains set until written with a logic 1 to clear.
12 Output Retried 0b0 Output port has received a packet-retry control symbol and can not make
forward progress. This bit is set when bit 13 is set and is cleared when a
packet-accepted or a packet-not-accepted control symbol is received
(read-only).
13 Output Retry-stopped 0b0 Output port has received a packet-retry control symbol and is in the
“output retry-stopped” state (read-only).
14 Output 0b0 Output port has encountered (and possibly recovered from) a transmission
Error-encountered error. This bit is set when bit 15 is set. Once set, remains set until written
with a logic 1 to clear.
15 Output Error-stopped 0b0 Output is in the “output error-stopped” state (read-only).
16-20 — Reserved
21 Input Retry-stopped 0b0 Input port is in the “input retry-stopped” state (read-only).
22 Input Error-encountered 0b0 Input port has encountered (and possibly recovered from) a transmission
error. This bit is set when bit 23 is set. Once set, remains set until written
with a logic 1 to clear.
23 Input Error-stopped 0b0 Input port is in the “input error-stopped” state (read-only).
24-26 — Reserved
Table 6-16. Bit Settings for Port n Error and Status CSRs
Reset
Bit Name Description
Value
27 Port-write Pending 0b0 Port has encountered a condition which required it to initiate a
Maintenance Port-write operation This bit is only valid if the device is
capable of issuing a maintenance port-write transaction. Once set remains
set until written with a logic 1 to clear.
28 Port Unavailable see Indicates whether or not the port is available (read only). The port’s
footnote3 resources may have been merged with another port to support wider links.
0b0 - The port is available for use.
0b1 - The port is not available for use.
29 Port Error 0b0 Input or output port has encountered an error from which hardware was
unable to recover. Once set, remains set until written with a logic 1 to clear.
30 Port OK 0b0 The input and output ports are initialized and the port is exchanging
error-free control symbols with the attached device (read-only).
31 Port Uninitialized 0b1 Input and output ports are not initialized. This bit and bit 30 are mutually
exclusive (read-only).
1The reset value is implementation dependent
2The
reset value is 0b1 if feature is supported, otherwise 0b0
3The Port Unavailable reset value is implementation dependent
0-1 Port Width Support see Indicates port width modes supported by the port (read-only). This field is
footnote1 used in conjunction with the Extended Port Width Support field of this
register. The bits of these two fields collectively indicate the port width
modes supported by the port in addition to 1x mode which is supported by
all ports
Bit 0:
0b0 - 2x mode not supported
0b1 - 2x mode supported
Bit 1:
0b0 - 4x mode not supported
0b1 - 4x mode supported
2-4 Initialized Port Width see Width of the ports after initialized (read only):
footnote2
0b000 - Single-lane port
0b001 - Single-lane port, lane R
0b010 - Four-lane port
0b011 - Two-lane port
0b100 - Eight-lane port
0b101 - Sixteen-lane port
0b110 - 0b111 - Reserved
Reset
Bit Name Description
Value
5-7 Port Width Override 0b000 Soft port configuration to control the width modes available for port
initialization. The bits in this field are used and defined in conjunction with
the bits of the Extended Port Width Override field (bits 16-17).
The port shall not allow the enabling of a link width mode that is not
supported by the port.
A change in the value of the Port Width Override or Extended Port Width
Override field shall cause the port to re-initialize using the new field
value(s).
8 Port Disable 0b0 Port disable:
0b0 - port receivers/drivers are enabled
0b1 - port receivers/drivers are disabled and are unable to receive/transmit
any packets or control symbols
9 Output Port Enable see Output port transmit enable:
footnote3 0b0 - port is stopped and not enabled to issue any packets except to route
or respond to I/O logical MAINTENANCE packets. Control symbols are
not affected and are sent normally. This is the recommended state after
device reset.
0b1 - port is enabled to issue any packets
Reset
Bit Name Description
Value
Bit 18:
0b0 - 8x mode not supported
0b1 - 8x mode supported
Bit 19:
0b0 - 16x mode not supported
0b1 - 16x mode supported
20-27 Implementation-defined Implementation-defined
28-30 — Reserved
31 Port Type This indicates the port type (read only)
0b0 - Reserved
0b1 - Serial port
1The Port Width reset value is implementation dependent
2
The Initialized Port Width reset value is implementation dependent
3The Output Port Enable reset value is implementation dependent
4The Input Port Enable reset value is implementation dependent
5
The Multicast-event Participant reset value is implementation dependent
6The Enumeration Boundary reset value is implementation dependent; provision shall be made to allow the
0-3 Selected Baudrate 0b0000 Indicates the initialized baudrate of the port
0b0000 - no rate selected
0b0001 - 1.25 GBaud
0b0010 - 2.5 GBaud
0b0011 - 3.125 GBaud
0b0100 - 5.0 GBaud
0b0101 - 6.25 GBaud
0b0110 - 0b1111 - Reserved
4 Baudrate Discovery see Indicates whether automatic baudrate discovery is supported (read-only)
Support footnote1 0b0 - Automatic baudrate discovery not supported
0b1 - Automatic baudrate discovery supported
5 Baudrate Discovery see Controls whether automatic baudrate discovery is enabled
Enable footnote2 0b0 - Automatic baudrate discovery disabled
0b1 - Automatic baudrate discovery enable
The port shall not allow this bit to be set unless it supports baudrate
discovery.
6 1.25 GBaud Support see Indicates whether port operation at 1.25 GBaud is supported (read only)
footnote1 0b0 - 1.25 GBaud operation not supported
0b1 - 1.25 GBaud operation supported
7 1.25 GBaud Enable see Controls whether port operation at 1.25 GBaud is enabled
footnote2 0b0 - 1.25 GBaud operation disabled
0b1 - 1.25 GBaud operation enabled
The port shall not allow this bit to be set unless it supports 1.25 GBaud.
8 2.5 GBaud Support see Indicates whether port operation at 2.5 GBaud is supported (read only)
footnote1 0b0 - 2.5 GBaud operation not supported
0b1 - 2.5 GBaud operation supported
9 2.5 GBaud Enable see Controls whether port operation at 2.5 GBaud is enabled
footnote2 0b0 - 2.5 GBaud operation disabled
0b1 - 2.5 GBaud operation enabled
The port shall not allow this bit to be set unless it supports 2.5 GBaud.
10 3.125 GBaud Support see Indicates whether port operation at 3.125 GBaud is supported (read only)
footnote1 0b0 - 3.125 GBaud operation not supported
0b1 - 3.125 GBaud operation supported
11 3.125 GBaud Enable see Controls whether port operation at 3.125 GBaud is enabled
footnote2 0b0 - 3.125 GBaud operation disabled
0b1 - 3.125 GBaud operation enabled
The port shall not allow this bit to be set unless it supports 3.125 GBaud.
12 5.0 GBaud Support see Indicates whether port operation at 5.0 GBaud is supported (read only)
footnote1 0b0 - 5.0 GBaud operation not supported
0b1 - 5.0 GBaud operation supported
13 5.0 GBaud Enable see Controls whether port operation at 5.0 GBaud is enabled
footnote2 0b0 - 5.0 GBaud operation disabled
0b1 - 5.0 GBaud operation enabled
The port shall not allow this bit to be set unless it supports 5.0 GBaud.
14 6.25 GBaud Support see Indicates whether port operation at 6.25 GBaud is supported (read only)
footnote1 0b0 - 6.25 GBaud operation not supported
0b1 - 6.25 GBaud operation supported
15 6.25 GBaud Enable see Controls whether port operation at 6.25 GBaud is enabled
footnote2 0b0 - 6.25 GBaud operation disabled
0b1 - 6.25 GBaud operation enabled
The port shall not allow this bit to be set unless it supports 6.25 GBaud
16-27 — Reserved
28 Enable Inactive Lanes 0b0 The implementation of this bit is optional. When implemented, this bit
allows software to force the lanes of the port that are not currently being
used to carry traffic, the “inactive lanes”, to be enabled for testing while
the “active lanes” continue to carry traffic. If this bit is not implemented it
is reserved.
The test mode enabled by the implementation of this bit only allows the
testing of the inactive lanes that are supported by both of the connected
ports. For example, if a 1x/4x/8x port is connected to a 1x/4x/16x port and
the link is operating in 4x mode, only lanes 4 though 7 can be monitored
using this test mode.
Use of the test mode enabled by the implementation of this bit to monitor
the behavior of the inactive lanes requires that this bit must be set in both
ports and that all link width modes wider than the desired Mx mode must
be disabled in the Port n Control CSR of both ports. Failure to meet these
requirements will result in unspecified link behavior. (Modes wider than
the desired Mx mode must be disabled so that the Initialization state
machine ignores the asserted lane_sync signals from the lanes with forced
output enables and does not attempt to enter a mode wider than Mx).
0b0: The output enables of all of the lanes controlled by the port are
controlled solely by the port’s Initialization state machine
0b1: The port’s receivers for the inactive lanes are enabled. The port’s
drivers for the inactive lanes are output enabled if and only if the port’s
Initialization state machine is not in the SILENT or SEEK state. A
continuous IDLE sequence of the same type as is in use on the active lanes
shall be transmitted on the inactive lanes when their transmitters are output
enabled. The IDLE sequences transmitted on the inactive lanes shall
comply with all rules for that type of IDLE sequence including alignment
across the inactive lanes, but they are not required to use the same bit
sequences or be aligned in any way relative to the IDLE sequences
transmitted on the active lanes. If IDLE2 is being used on the active lanes
of the port, the inactive lanes of the port shall report their lane number and
port width in the CS Field Marker and handle commands carried in the CS
Field as if they were active lanes.
0x4–C Reserved
The structure and use of the registers comprising the LP-Serial Lane Extended
Features Block is specified in Section 6.7.2.
The required behavior for accesses to reserved registers and register bits is specified
in Table 6-2.
0-15 EF_PTR Hard wired pointer to the next block in the data structure, if one exists
16-31 EF_ID 0x000D Hard wired Extended Features Block ID
0-7 Port Number The number of the port within the device to which the lane is assigned
8-11 Lane Number The number of the lane within the port to which the lane is assigned
12 Transmitter type Transmitter type
0b0 - short run
0b1 - long run
13 Transmitter mode Transmitter operating mode
0b0 - short run
0b1 - long run
14-15 Receiver type Receiver type
0b00 - short run
0b01 - medium run
0b10 - long run
0b11 - Reserved
16 Receiver input inverted This bit indicates whether the lane receiver has detected that the polarity of
its input signal is inverted and has inverted its receiver input to correct the
polarity.
0b0 - receiver input not inverted
0b1 - receiver input inverted
17 Receiver trained When the lane receiver controls any transmit or receive adaptive
equalization, this bit indicates whether or not all adaptive equalizers
controlled by the lane receiver are trained. If the lane supports the IDLE2
sequence, the value of this bit shall be the same as the value in the
“Receiver trained” bit in the CS Field transmitted by the lane.
0b0 - One or more adaptive equalizers are controlled by the lane receiver
and at least one of those adaptive equalizers is not trained
0b1 - The lane receiver controls no adaptive equalizers or all of the
adaptive equalizers controlled by the lane receiver are trained
18 Receiver lane sync This bit indicates the state of the lane’s lane_sync signal.
0b0: lane_sync FALSE
0b1: lane_sync TRUE
19 Receiver lane ready This bit indicates the state of the lane’s lane_ready signal
0b0 - lane_ready FALSE
0b1 - lane_ready TRUE
Reset
Bit Name Description
Value
20-23 8B/10B decoding errors 0x0 This field indicates the number of 8B/10B decoding errors that have been
detected for this lane since this register was last read. The field is reset to
0x0 when the register is read.
0x0: No 8B/10B decoding errors have been detected since this register was
last read.
0x1: One 8B/10B decoding error has been detected since this register was
last read.
0x2: Two 8B/10B decoding errors have been detected since this register
was last read.
...
0xD: Thirteen 8B/10B decoding errors have been detected since this
register was last read.
0xE: Fourteen 8B/10B decoding errors have been detected since this
register was last read.
0xF: At least fifteen 8B/10B decoding errors have been detected since this
register was last read.
24 Lane_sync state change 0b0 Indicates whether the lane_sync signal for this lane has changed state since
the bit was last read. This bit is reset to 0b0 when the register is read. This
bit provides an indication of the burstiness of the transmission errors
detected by the lane receiver.
0b0 - The state of lane_sync has not changed since this register was last
read
0b1 - The state of lane_sync has changed since this register was last read
25 Rcvr_trained state 0b0 Indicates whether the rcvr_trained signal for this lane has changed state
change since the bit was last read. This bit is reset to 0b0 when the register is read.
A change in state of rcvr_trained indicates that the training state of the
adaptive equalization under the control of this receiver has changed.
Frequent changes of the training state suggest a problem with the lane.
0b0 - The state of rcvr_trained has not changed since this register was last
read
0b1 - The state of rcvr_trained has changed since this register was last read
26-27 — Reserved
28 Status 1 CSR This bit indicates whether or not the Status 1 CSR is implemented for this
implemented lane
0b0 - The Status 1 CSR is not implemented for this lane
0b1 - The Status 1 CSR is implemented for this lane
29-31 Status 2-7 CSRs This field indicates the number of implementation specific Status 2-7
implemented CSRs that are implemented for this lane
0b000 - None of the Status 2-7 CSRs are implemented for this lane
0b001 - The Status 2 CSR is implemented for this lane
0b010 - The Status 2 and 3 CSRs are implemented for this lane
0b011 - The Status 2 through 4 CSRs are implemented for this lane
0b100 - The Status 2 through 5 CSRs are implemented for this lane
0b101 - The Status 2 through 6 CSRs are implemented for this lane
0b110 - The Status 2 through 7 CSRs are implemented for this lane
0b111 - Reserved
0 IDLE2 received 0b0 This bit indicates whether an IDLE2 has been received by the lane since
the bit was last reset. The bit is R/W. This bit can be reset by writing the bit
with the value 0b1. Writing the bit with the value 0b0 does not change the
value of the bit.
0b0 - No IDLE2 sequence has been received since the bit was last reset
0b1 - An IDLE2 sequence has been received at some time since the bit was
last reset
1 IDLE2 information 0b0 This bit indicates whether the information in this register that is collected
current from the received IDLE2 sequence is current. When asserted, this bit
indicates that the information is from the last IDLE2 CS Marker and CS
Field that were received by the lane without detected errors, and that the
lane’s lane_sync signal has remained asserted since the last CS Marker and
CS Field were received.
0b0 - The IDLE2 information is not current
0b1 - The IDLE2 information is current
2 Values changed 0b1 This bit indicates whether the values of any of the other 31 bits in this
register have changed since the register was last read. This bit is reset
when the register is read.
0b0 - The values have not changed
0b1 - One or more values have changed
3 Implementation defined Implementation defined
4 Connected port lane Connected port lane receiver trained
receiver trained 0b0 - Receiver not trained
0b1 - Receiver trained
5-7 Received port width Received port width
0b000 - 1 lane
0b001 - 2 lanes
0b010 - 4 lanes
0b011 - 8 lanes
0b100 - 16 lanes
0b101-0b111 - Reserved
8-11 Lane number in The number of the lane (0-15) within the connected port
connected port 0b0000 - Lane 0
0b0001 - Lane 1
...
0b1111 - Lane 15
Reset
Bit Name Description
Value
0x4-1C Reserved
to
[0x20 * (n + 1) +
0x1C]
The registers are paired according to the VCs as they are implemented. In the second
example, with VCs Supported 0x01, the upper portion (VC5 portion) of the register
would be non-functioning.
NOTE:
There are no provisions in this specification to provide for dynamic
reconfiguration of the VCs. A vendor is not prohibited from
implementing dynamic reconfiguration, it is just beyond the scope of
this specification. Both ends of the channel need to be configured
alike, or unexpected behavior may result, also beyond the scope of this
specification. The default method is to configure VC operation when
the channel is quiescent either by protocol, or by holding the master
enable in the disabled state.
0-15 EF_PTR Hard wired pointer to the next block in the data structure, if one exists
16-31 EF_ID 0x000A Hard wired Extended Features Block ID
0-7 VC Refresh Interval 0x00 The number of 1024 code group intervals over which the VC status must
be refreshed.
Refresh Interval:
0x0 - 1K code groups, 0xF - 16K code groups, 0xFF - 256K code groups
For 8 VCs:
0x01 - VC8 in CT mode
0x03 - VC8, VC7 in CT mode
0x07 - VC8, VC7, VC6, VC 5 in CT mode
0x0F - VC8 - VC1 in CT mode
For 4 VCs:
0x01 - VC7 in CT mode
0x03 - VC7, VC5 in CT mode
0x07 - VC7, VC5, VC3, VC1 in CT mode
For 2 VCs:
0x01 - VC5 in CT mode
0x03 - VC5, VC1 in CT mode
For 1 VC:
0x01 - VC1 in CT mode
0 VC0 Bandwidth see 0b0 - VC0 is strict priority, and has priority over the other VCs. It will
Reservation Capable footnote1 utilize bandwidth without regard to bandwidth reservation. The
bandwidth reservation algorithm will divide up what bandwidth is
remaining after VC0 has no outstanding requests.
0b1 - VC0 is capable of being allocated bandwidth
This bit is read only
1 VC0 BW Res Enable 0b0 0b0 - VC0 is strict priority, does not participate in bandwidth reservation
0b1 - VC0 will be allocated bandwidth according to BW Allocation
Registers
2-7 — Reserved
8 - 15 Bandwidth Reservation see Indicates the number of bits used in the bandwidth reservation precision
Precision footnote2 for all VCs in this port. (read only)
0x00 - 8 bits
0x01 - 9 bits
0x02 - 10 bits
0x04 - 11 bits
0x08 - 12 bits
0x10 - 13 bits
0x20 - 14 bits
0x40 - 15 bits
0x80 - 16 bits
16-31 Bandwidth Allocation 0x00 The contents of this register determines the minimum bandwidth reserved
for this VC (see below)
VC0 may or may not participate in the bandwidth reservation scheduling for the
link. The required implementation is for VC0 to be strict priority. Traffic on VC0 is
serviced before any of the other VCs in this mode. The remaining bandwidth is then
divided according to the percentages in the bandwidth allocations. This will result
in the bandwidth allocations being variable if VC0’s utilization is significant when
compared with the activity on the other VCs.
Optionally, VC0 may be included in the bandwidth reservation scheduling. In this
case, the priorities within VC0 are serviced when VC0 is allocated bandwidth on the
link. VC0 activity cannot cause the other VCs to receive less than their allocation of
bandwidth.
The Bandwidth Reservation Precision field is used to indicate the granularity of
bandwidth scheduling for the port. The value in this register applies to the
subsequent BW Allocation Registers as well.
The value programmed in the BW Allocation Registers is a binary fraction based on
the percentage of the overall total bandwidth. 100% bandwidth is represented by a
value of 1.000:
Table 6-27. BW Allocation Register Bit Values
Bit / Value
0 1 2 3 4 5 6 7
-1 -2 -3 -4 -5 -6 -7
2 2 2 2 2 2 2 2 -8
Bit / Value
8 9 10 11 12 13 14 15
-9 -10 -11 -12 -13 -14 -15 2 -16
2 2 2 2 2 2 2
0 - 15 Bandwidth Allocation 0x0000 The contents of this register determines the minimum bandwidth reserved for
this VC (see below)
The bandwidth allocation value is left justified based on precision. Bits, are
ignored based on the precision value:
0bnnnn_nnnn_xxxx_xxxx (8 bit precision) where ‘x’ represents ignored bits
0bnnnn_nnnn_nxxx_xxxx (9 bit precision)
0bnnnn_nnnn_nnnn_xxxx (12 bit precision), etc.
16-31 Bandwidth Allocation 0x0000 The contents of this register determines the minimum bandwidth reserved for
this VC (see below)
The bandwidth allocation value is left justified based on precision. Bits, are
ignored based on the precision value:
0bnnnn_nnnn_xxxx_xxxx (8 bit precision) where ‘x’ represents ignored bits
0bnnnn_nnnn_nxxx_xxxx (9 bit precision)
0bnnnn_nnnn_nnnn_xxxx (12 bit precision), etc.
In the instance where VC1 is supported, but VC5 is not, bits 0 - 15 are reserved.
The Bandwidth Allocation is as described previously for VC0.
A value of ‘0’ for bandwidth allocation results in no service being given to that VC.
VCs initialize with a value of zero and remain inactive until allocated bandwidth. It
is recommended that the bandwidth allocations be made before enabling the VCs,
but the actual implementation is beyond the scope of this specification.
TD[0-(N-1)]1 O Transmit Data - The transmit data is a Clocking is embedded in data using
unidirectional point to point bus designed to 8B/10B encoding.
transmit the packet information. The TD bus of
one device is connected to the RD bus of the
receiving device. TD[0] is used in 1x mode.
TD[0-(N-1)]1 O Transmit Data complement—These signals are
the differential pairs of the TD signals.
RD[0-(N-1)]1 I Receive Data - The receive data is a
unidirectional point to point bus designed to
receive the packet information. The RD bus of
one device is connected to the TD bus of the
receiving device. RD[0] is used in 1x mode.
RD[0-(N-1)]1 I Receive Data complement—These signals are
the differential pairs of the RD signals.
NOTES:
1. N has legal values of 1, 2, 4, 8, and 16
1x DEVICE 1x DEVICE
TD[0] RD[0]
TD[0] RD[0]
RD[0] TD[0]
RD[0] TD[0]
Nx DEVICE Nx DEVICE
TD[0-(N-1)] RD[0-(N-1)]
TD[0-(N-1)] RD[0-(N-1)]
RD[0–(N-1)] TD[0–(N-1)]
RD[0–(N-1)] TD[0–(N-1)]
Nx DEVICE 1x DEVICE
TD[0] RD[0]
TD[0] RD[0]
TD[1-(N-1)]
TD[1-(N-1)]
RD[0] TD[0]
RD[0] TD[0]
RD[1-(N-1)]
RD[1-(N-1)]
(daughter) card. The smaller swings of the short run specification reduces the overall
power used by the transceivers.
The long run defines a transmitter and receiver that use larger voltage swings and
channel equalization that allows a user to drive signals across two connectors and
backplanes.
The two transmitter specifications allows for a medium run specification that also
uses larger voltage swings that are capable of driving signals across a backplane but
simplifies the receiver requirements to minimize power and complexity. This option
has been included to allow the system integrator to deploy links that take advantage
of either channel materials and/or construction techniques that reduce channel loss
to achieve lower power systems.
It is also a goal of this specification to enable the inter-operability of Level I and
Level II links to allow newer devices to be used with existing legacy devices.
All unit intervals are specified with a tolerance of ±100ppm. The worst case
frequency difference between any transmit and receive clock is 200ppm.
The electrical specifications are based on loss, jitter, and channel cross-talk budgets
and defines the characteristics required to communicate between a transmitter and a
receiver using nominally 100 differential copper signal traces on a printed circuit
board. Rather than specifying materials, channel components, or configurations, this
specification focuses on effective channel characteristics. Hence a short length of
poorer material should be equivalent to a longer length of premium material. A
'length' is effectively defined in terms of its attenuation rather than physical distance.
The RapidIO specification defines applicable data characteristics (e.g. DC balance,
transition density, maximum run length), channel models and compliance
points/parameters supporting the physical run and conditions.
Finally it is assumed that the link designer has taken care to minimize reflections and
crosstalk so that the link can be sufficiently equalized with the transmitter and
receiver chosen.
8.2 References
1. IEEE Standard 802.3ae-2002. “Standard for Information
technology-Telecommunications and information exchange between
systems-Local and metropolitan area networks-Special Requirements. Part 3:
Carrier Sense Multiple Access with Collision Detection (CSMA/CD) Access
Method and Physical Layer Specification. Amendment: Media Access Control
(MAC) Parameters, Physical Layers, and Management Parameters for 10 Gb/s
Operation”, IEEE Std. 802.3ae-2002, August 30, 2002.
2. Optical Internetworking Forum “Common Electrical I/O (CEI) - Electrical and Jitter
Interoperability Agreements for 6G+ bps and 11G+ bps I/O”, IA # OIF-CEI-02.0,
January 28, 2005.
214 RapidIO Trade Association
RapidIO Part 6: LP-Serial Physical Layer Specification Rev. 2.2
3. ITU-T Recommendation O.150 May 1996 and corrigendum May 2002. General
requirements for instrumentation for performance measurements on digital
transmission equipment.
4. Low Voltage Differential Swing (LVDS), ANSI/TIA/EIA-644-A-2001
5. Optical Internetworking Forum, OIF 2002.507.01 - High Speed Backplane (HSB)
Interface Electrical Specification for 5-6.375Gbps Baud Rates over Currently Existing
Communications Backplanes.
8.3 Abbreviations
Table 8-1. Abbreviations
Abbreviation Meaning
HF High Frequency
HPF High Pass Filter
HPJ High Probability Jitter
IA Implementation Agreement
ISI Inter-Symbol Interference
LMS Least Mean Square
LPF Low Pass Filter
LVDS [4] Low Voltage Differential Signal
LR Long Run
mA milli-Amp
MR Medium Run
mV milli-Volt
NEXT Near End Cross Talk
NRZ Non Return to Zero
PCB Printed Circuit Board
PDF Probability Distribution Function
PECL Positive Emitter Coupled Logic
PJ Periodic Jitter
pp Peak to Peak
ppd Peak to Peak Differential (as in 300mVppd)
PLL Phase Locked Loop
ps pico second
PRBS Pseudo Random Bit Stream
Q Inverse error function
RJ Random Jitter
RV Random Variable
RX Receiver
R_Zvtt Resistance of termination to Vtt
S11 and S22 reflection coefficient
S21 transmission coefficient
SCC11 and SCC22 Common mode reflection coefficients
SCD11 and SCD22 Differential to common mode conversion coefficient
SDD11 and SDD22 Differential reflection coefficients
SDC11 and SDC22 Common mode to differential conversion coefficient
SJ Sinusoidal Jitter
SR Short Run
sym/s symbols/second
TJ Total Jitter
TDM Time Division Multiplexed data
TFI TDM Fabric to Framer Interface
TX Transmitter
UBHPJ Uncorrelated Bounded High Probability Jitter
UI Unit Interval = 1/(baud rate)
UUGJ Uncorrelated Unbounded Gaussian Jitter
Vtt Termination Voltage
XAUI 10 Gigabit Attachment Unit Interface
8.4 Definitions
Table 8-2. General Definitions
Parameter Description
Bit Error Ratio A parameter that reflects the quality of the serial transmission and detection scheme. The Bit Error
Ratio is calculated by counting the number of erroneous bits output by a receiver and dividing by
the total number of transmitted bits over a specified transmission period.
Baud rate Is a measure of the number of times per second a signal in a communications channel changes
state. The state is usually voltage level, frequency, or phase angle. It is named after Émile Baudot,
the inventor of the Baudot code for telegraphy.
Channel In this specification Channel shall mean electrical differential channel. The channel is
combination of electrical interconnects that together form the signal path from reference points T
to R - see Figure 8-11. The channel will typically consist of PCB traces, via holes, component
attachment pads and connectors. A characteristic of a signal channel is the complex characteristic
impedance Z.
Common Mode Voltage Average of the Vhigh and Vlow voltage levels - see Figure 8-1.
Confidence level The use of this definition shall be understood as being with reference to a Gaussian distribution
Differential Termination The difference in the DC termination resistance with respect to ground of any two signals forming
Resistance mismatch a differential pair. Usually due to large process spread the absolute termination resistance is
specified relatively loose, e.g. 20% where the relative difference of resistors of the same device
will be much less, e.g 5%. This parameter is used to specify the relative difference tighter than the
overall resistance for the purpose of minimizing differential signal mode conversion
Gaussian A statistical distribution (also termed “normal”) characterized by populations that are not bound in
value and have well defined “tails”. The term “random” in this document always refers to a
Gaussian distribution.
Golden PLL Refers to a defined clock extraction unit which phase tracks the inherent clock present in a data
signal. The phase tracking bandwidth is usually defined in terms of a corner frequency and if not
defined with a corner frequency of baud/1667, a roll off of 20 dB/dec and <0.1 dB peaking
Golden Channel Refers to an electrical channel which is usually identified using a channel compliancy
methodology and is used in the testing of transmitters and receivers
Intersymbol Interference Data dependent deterministic jitter caused by the time differences required for the signal to arrive
at the receiver threshold when starting from different places in bit sequences (symbols). For
example when using media that attenuates the peak amplitude of the bit sequence consisting of
alternating 0, 1, 0, 1... more than peak amplitude of the bit sequence consisting of 0, 0, 0, 0, 1, 1, 1,
1... the time required to reach the receiver threshold with the 0, 1, 0, 1... is less than required from
the 0, 0, 0, 0, 1, 1, 1, 1... The run length of 4 produces a higher amplitude which takes more time to
overcome when changing bit values and therefore produces a time difference compared to the run
length of 1 bit sequence. When different run lengths are mixed in the same transmission the
different bit sequences (symbols) therefore interfere with each other. Intersymbol Interference is
expected whenever any bit sequence has frequency components that are propagated at different
rates by the transmission media.
Lane A single RapidIO Channel
Link A functional connection between the Tx and Rx ports of 2 components, that can be multiple or
parallel RapidIO Lanes defined as 1:N. The definition a Link does not imply duplex operation.
Non-transparent applications Defines an application where the high frequency transmit jitter of a device is defined
independently to the high frequency jitter present at any data input of the same device
Skew The constant portion of the difference in the arrival time between the data of any two in-band
signals.
Stressed Signal (or) Stressed In order to test the tolerance of a receiver a stressed signal or eye is defined which when applied to
Eye the receiver must be received with the defined Bit Error Rate. The stressed signal or eye is defined
in terms of its horizontal closure or jitter and amplitude normally in conjunction with an
eye-mask.
Transparent applications Defines an application where the high frequency transmit jitter of a device is dependent on the
high frequency jitter present at one or more of the data inputs of the same device
Symbol Unit of information conveyed by a single state transition in the medium
Symbol spaced Describes a time difference equal to the nominal period of the data signal
Unit Interval One nominal bit period for a given signaling speed. It is equivalent to the shortest nominal time
between signal transitions. UI is the reciprocal of Symbol.
Correlated Bounded Jitter distribution where the value of the jitter shows a correlation to the signal level being
Gaussian Jitter transmitted. The distribution is quantified, using a Gaussian approximation, as the gradient of the
bathtub linearization at the Bit Error Rate of interest. R_RJ = R_GJ
Correlated Bounded High Jitter distribution where the value of the jitter shows a strong correlation to the signal level being
Probability Jitter transmitted. This jitter may considered as being equalizable due to its correlation to the signal
level. Was called Data Dependent Jitter in earlier specification revisions.
Correlated Wander Components of wander that are common across all applicable in band signals.
Duty Cycle Distortion The absolute value of the difference in the average width of a’1’ symbol or a ’0’ symbol and the
ideal periodic time in a clock-like repeating 0,1,0,1 sequence. Duty Cycle Distortion is part of the
CBHPJ distribution and is measured at the time-averaged signal level.
Gaussian Jitter An overall term that defines a jitter distribution that at the BER of interest e.g. 1e-15 still
shows a Gaussian distribution. Unless otherwise specified Gaussian Jitter is the RMS
sum of CBGJ and UUGJ. Was called Random Jitter in earlier specification revisions.
High Probability Jitter Jitter distribution that at the BER of interest is approximated by a dual dirac. Unless otherwise
specified High Probability Jitter is the sum of UBHPJ, CBHPJ, PJ, SJ, DCD. The distribution is
quantified, using a dual dirac approximation, as the offset of the bathtub linearization at the Bit
Error Rate of interest. Was called Deterministic Jitter in earlier specification revisions.
Jitter Jitter is deviation from the ideal timing of an event at the mean amplitude of the signal population.
Low frequency deviations are tracked by the clock recovery circuit, and do not directly affect the
timing allocations within a bit interval. Jitter that is not tracked by the clock recovery circuit
directly affects the timing allocations in a bit interval. Jitter is phase variations in a signal (clock or
data) after filtering the phase with a single pole high pass filter with the -3 dB point at the jitter
corner frequency.
Jitter Generation Jitter generation is the process whereby jitter appears at the output port in the absence of applied
input jitter at the input port.
Jitter RMS The root mean square value or standard deviation of jitter. See clause 2 for more information.
Jitter Transfer The ratio of the jitter output and jitter input for a component, device, or system often expressed in
dB. A negative dB jitter transfer indicates the element removed jitter. A positive dB jitter transfer
indicates the element added jitter. A zero dB jitter transfer indicates the element had no effect on
jitter. The ratio should be applied separately to deterministic components and Gaussian (random)
jitter components.
Peak-to-Peak Jitter For any type of jitter, Peak to Peak Jitter is the full range of the jitter distribution that contributes
within the specified BER.
Periodic Jitter A sub form of HPJ that defines a jitter which has a single fundamental harmonic plus possible
multiple even and odd harmonics.
Relative Wander Components of wander that are uncorrelated between any two in band signals (See Figure 8-6)
Sigma Refers to the standard deviation of a random variable modelled as a Gaussian Distribution. When
used in reference to jitter, it refers to the standard deviation of the Gaussian Jitter component(s).
When used in reference to confidence levels of a result refers to the probability that the result is
correct given a Gaussian Mode, e.g. a measured result with 3 sigma confidence level would imply
that 99.9% of the measurements are correct.
Sinusoidal Jitter A sub form of HPJ that defines a jitter which has a single frequency harmonic.
Total Jitter Sum of all jitter components.
Total Wander The sum of the correlated and uncorrelated wander. (See Figure 8-7)
Unbounded Gaussian Jitter Jitter distribution that shows a true Gaussian distribution where the observed peak to peak value
has an expected value that grows as a function of the measurement time. This form of jitter is
assumed to arise from phase noise random processes typically found in VCO structures or clock
sources. It is usually quantified as either the Root Mean Square (RMS) or Sigma of the Gaussian
distribution, or as the expected peak value for a given measurement population. (Formally defined
as T_RJ)
Uncorrelated Bounded High Jitter distribution where the value of the jitter show no correlation to any signal level being
Probability Jitter. transmitted. Formally defined as T_DJ.
Uncorrelated Wander Components of wander that are not correlated across all applicable in band signals.
Wander The peak to peak variation in the phase of a signal (clock or data) after filtering the phase with a
single pole low pass filter with the -3db point at the wander corner frequency. Wander does not
include skew.
GND
VD- VLOW Min abs output
1 1 0
UI UI
where VD+ is the voltage on the positive conductor and VD- is the voltage on the
negative conductor of a differential transmission line. VDIFF represents either the
differential output signal of the transmitter, VOD, or the differential input signal of
the receiver, VID where
VOD = VTD - VTD
and
VID = VRD - VRD
The common mode voltage, VCM, is defined as the average or mean voltage present
on the same differential pair. Therefore
VCM = |VD+ + VD-|/2
The maximum value, or the peak-to-peak differential voltage, is calculated on a per
unit interval and is defined as
VDIFFp-p = 2 x max|VD+ - VD-|
because the differential signal ranges from VD+ - VD- to -(VD+ - VD-)
To illustrate these definitions using real values, consider the case of a CML (Current
Mode Logic) transmitter and each of its outputs, TD and TD, has a swing that goes
between VHIGH = 2.5V and VLOW = 2.0V, inclusive. Using these values the common
mode voltage is calculated to be 2.25 V and the single-ended peak voltage swing of
the signals TD and TD is 500mVpp. The differential output signal ranges between
500mV and -500mV, inclusive. therefore the peak-to-peak differential voltage is
1000mVppd.
T_Y2
T_Y1
Amplitude (mV)
-T_Y1
-T_Y2
Time (UI)
T_Y2
T_Y1
Amplitude (mV)
T_Y3
Keep Out
0 For De-emphasis
-T_Y3
-T_Y1
-T_Y2
Time (UI)
R_Y2
Amplitude (mV)
R_Y1
-R_Y1
-R_Y2
Time (UI)
R_Y2
Amplitude (mV)
R_Y1
-R_Y1
-R_Y2
Time (UI)
Lane X
Skew between
Lanes X and Y
See Figure 8-7 for an illustration of total wander in a signal. The definition appears
in Table 8-3.
Total Wander of a
Data or clock signal
Peak to peak
Lane Y
Total Wander
20dB/dec
SJ
High
Frequency
Amplitude
Relative Wander
Amplitude
20dB/dec
SJ High
Frequency
Amplitude
0dB
20dB/dec
Power(dB)
1 0MHz f baud /2
Component Component
Edge Edge
Egress
Channel
TX TE RE RX
Ingress
Channel
RX RI TI TX
The LP-Serial 5Gbaud and 6.25Gbaud Electrical specifications are based upon the
Optical Internetworking Forum's Common Electrical Interface [2], referred to
henceforth as CEI.
CEI includes the following sections that are the basis for the LP-Serial RapidIO
5Gbaud and 6.25Gbaud interfaces:
• CEI-6G-SR clause 6 specification for data lane(s) that support bit rates from
4.976 to 6.375Gbaud over Printed Circuit Boards with physical runs from 0
to 20cm and up to 1 connector. CEI-6G-SR forms the basis for the LP-Serial
5Gbaud and 6.25Gbaud Short Run Interface electrical specifications.
RapidIO has enhanced this electrical specification to include a
continuous-time equalizer with one zero and one pole.
• CEI-6G-LR Clause 7 specification for data lane(s) that support bit rates from
4.976 to 6.375Gbaud over Printed Circuit Boards with physical runs from 0
to 100cm and up to 2 connectors. CEI-6G-LR forms the basis for the
LP-Serial 5Gbaud and 6.25Gbaud Long Run Interface electrical
specifications.
• RapidIO has added a specification for data lane(s) that supports bit rates from
5 to 6.25Gbaud over Printed Circuit Boards and physical runs from 0 to 60cm
and up 2 connectors. The CEI-6G-LR transmitter and a continuous-time
receiver with one zero and one pole form the basis for the LP-Serial 5Gbaud
and 6.25Gbaud Medium Run Interface electrical specifications.
Note: The OIF CEI documentation uses the term “reach” to describe
the length of the channel. Here “run” is used to maintain consistency
with the RapidIO 1.3 interconnect specification.
While the OIF CEI documentation defines support for 4.976 to
6.375Gbaud RapidIO only supports 5.0 and 6.25 Gbaud data rates
Slope
Loss (dB)
A0
Acceptable
Region
f0 f1 f2
Frequency (Hz)
50 0, 1, 2 50
ohm Connectors ohm
AC Capacitors AC
Gnd (Optional) Gnd
Driver Receiver
1
t step = -----------
f max
t = t step n
n = [1,P]
rx(t) = ifft(rx())
c0
Amplitude
c -1 c1 c4
c2
c3
Time
(Baud spaced intervals)
positive time. The exact position of c0 is arbitrary and is defined specifically by the
various methodologies.
A precursor is defined as a cursor that occurs before the occurrence of the main
signal c0, i.e. cn where n<0, usually convergences to zero within a small number of
bits
A post cursor is defined as a cursor that occurs after the occurrence of the main
signal c0, i.e. cn where n>0, and usually convergences to zero within twice the
propagation time of the channel.
Given a deterministic data stream travelling across the channel, the superposition of
the channel pulses give rise to Inter-Symbol Interference (ISI). This ISI has a
maximum occurring for a worst case pattern, which for a channel response where all
cursors are positive would be a single 1 or 0 in the middle of a long run of 0s or 1s
respectively. This maximum is referred to Total Distortion.
n=
= cn
n = – n 0
Due to ISI an enclosure in the time domain also occurs which can be determined by
either running exhaustive simulations or simulations with determined worst case
patterns. For the case where the ISI is so large that the eye is closed, Inherent
Channel Jitter has no meaning.
t(0)
Amplitude
When a pulse train is transmitted the exact transmitted amplitude is therefore the
superposition of the pulses from the previous and to be transmitted pulses, such as
in a FIR filter.
+tn-1+tn+tn+1
an z -1
z -1 +tn-1+tn-tn+1
-tn-1+tn+tn+1
transmit +tn-1-tn+tn+1
+ signal
+tn-1-tn-tn+1
-tn-1-tn+tn+1
-tn-1-tn-tn+1
tn Vtx min
where
P post is the first coefficient of the transmit FIR
E is the emphasis of the transmit emphasis
V tx is the maximum transmit amplitude
min
8.6.4 Receiver Pulse Response
Given an emphasized transmitter the pulse response of the receiver should be
recalculated using the emphasized transmit pulse as opposed to a simple NRZ pulse.
The receiver pulse cursors are defined in Figure 8-17.
r0
Amplitude
r-1 r4
r2
r1
r3
Time
(Baud spaced intervals)
x0
Amplitude
x -2 x4
x2
x1 x3
x -1
Time
(Baud spaced intervals)
+ yn
p z + j2 f
H f = --- -------------------------
z p + j2 f
and consists of a single zero, z , and single pole, p .
Generated Jitter
1
Relative
0.5 Total
-0.5
-1
0 2 4 6 8 10 12 14 16 18
4
x 10
Jitter Sources
0.5
Common
Antiphase
-0.5
0 2 4 6 8 10 12 14 16 18
4
x 10
Decision Level
Sample Error :
Error probability is equal to
1-area under distribution
Sample Time
2
– --------2-
1 1 2
GJ( ) = ---------- --- e
2
For every offset , there exists a finite and non-zero probability.
-
2
--------
1 1 2
2 max
GJ( ) = ---------- --- e if
2 max
0
For random processes consisting of a finite number of random variables there exists
a finite non-zero probability only if max . For example, a band limited channel is
bounded but shows a Gaussian Distribution below its maximum. See
Section 8.7.4.8, "Example of Bounded Gaussian" for an explanation concerning
extrapolation.
W 2 W 2
– ----- + -----
2 2
– ------------------------ – -------------------------
2 2
2 2
1 1
TJ( W ) = -------------- --- e +e
2 2
1
Due to the bounded function the function does not comply to the requirements that the integral of the pdf from minus infinity to infinity is one. This small
inaccuracy is recognized and acceptance in this context.
0.16
0.14
0.12
0.1
Probabiliy
0.08
0.06
0.04
0.02
0
Cumulative Distribution Function of Convolution of Basic Elements
10
-1
10
-2
10
Probabiliy
-3
10
-4
10
Initially the BER axis should be converted to Q as defined below, e.g. a BER of 10-12
is a Q=7.04, and a BER of 10-15 a Q=7.941.
–1
Q = 2 erf 2 1 – BER – 1
–1
where erf x is the inverse function of the error function erf x .
z
2
2- –t
erf(z) = ------ e dt
0
Note: this conversion from BER to Q is only valid given a large time
offset from the optimal sampling point. The use of the nomenclature
BER in this reference should therefore be carefully used. Any accurate
prediction of the BER towards the center of the eye should be done
using Marcum’s Q function, and is outside the scope of this document.
By linearizing the bathtub, as shown in Figure 8-25, we can describe the function of
the left and right hand linear parts of the bathtub in terms of an offset (HPJ) and
gradient (1/GJ).
1
Q left( offset) = offset – HPJ left ---------------
GJ left
1
Q right( offset) = HPJ left – offset ------------------
GJ right
1
It is assumed that when measuring the jitter bathtub that the left and right parts of the bathtub are independent to each other, e.g. the tail of the right hand
part of the bathtub and negligible effect on the left hand side of the bathtub.
HPJleft
HPJright
Q=0
Qleft offset HPJ left 1 GJ left
Qright HPJ right offset 1 GJ right
Q=6
Q=7
GJ right QBER
HPJleft
GJ left QBER
HPJright
-1
-2
-3
-4
Q
-5
-6
-7
-8
0 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1
Time Offset (arbituary)
Probability
Amplitude
pdf(Amplitude)
Signal Amplitude
Pulse Response
Signal
Amplitude
pdf(Amplitude)
Joint
Distribution
pdfs
Zero
Signal
line
Amplitude
pdf(Transmit Jitter)
pdf(Amplitude)
p average(ISI ) =
Signal
Amplitude
pdf(Amplitude)
Joint
Distribution
pdfs
Zero
line
Signal
Amplitude
cdf(Jitter)
By only plotting the probability against time by cutting the statistical eye along the
decision threshold axis can a bathtub of the jitter can be generated.
Arx(tsample, Q)
Q=5
Q=6
Q=7
Q=8
teye
• The long run interface shall be capable of spanning at least 50cm of PCB
material with up to two connectors.
9.2 Equalization
At the high baud rates used by Level I LP-Serial links, the signals transmitted over
a link are degraded by losses and characteristic impedance discontinuities in the
interconnect media. The losses increase with increasing baud rate and interconnect
media length and cause signal attenuation and inter-symbol interference that
degrade the opening of the eye pattern at both the receiver input and the data decoder
decision point. Depending on the baud rate and interconnect length, the degradation
can be greater than that allowed by the specification.
The signal degradation can be partially negated by the use of equalization in the
transmitter and/or receiver. Equalization in the transmitter can improve the eye
pattern at both the receiver input and the data decoder decision point. Equalization
in the receiver can only improve the eye pattern at the data decoder decision point.
Equalization is likely to be required only for longer Level I interconnects and higher
Level I baud rates.
The types of equalizers and, if the equalizers are adaptive, the adaptive equalizer
training algorithms that may be used in Level I transmitter or receiver are subject to
the following restrictions.
Equalizers that can convert a single bit error into a multiple bit burst error, such as
decision feedback equalizers (DFEs), shall not be used when IDLE1 has been
selected for use on the link.
The training algorithm for any adaptive equalization used by a Level I transmitter
and/or receiver shall consistently train the equalizer and retain the equalizer’s
training when IDLE1 is the training signal and shall consistently retain the
equalizer’s training when IDLE1 has been selected for use on the link and the signal
on the link is a continuous sequence of maximum length packets whose payload is
either all ONES or all ZEROS.
electrical designs for Level I electrical designs can reuse XAUI, suitably modified
for applications at the baud intervals and runs described herein.
A0 -10 dB
f0 T_Baud/10 Hz
f1 625 MHz
f2 T_Baud Hz
Slope 10.0 dB/dec
A0 -8 dB
f0 T_Baud/10 Hz
f1 T_Baud/2 MHz
f2 T_Baud Hz
Slope 16.6 dB/dec
A0 -8 dB
f0 100 MHz
f1 1 Hz
RBaud ---
2
f2 R_Baud Hz
Slope 16.6 dB/dec
Receiver input impedance shall result in a differential return loss better that -8dB
and a common mode return loss better than -6dB from 100MHz to (0.5)*(R_Baud
Frequency). This includes contributions from on-chip circuitry, the chip package
and any off-chip components related to the receiver. AC coupling components are
included in this requirement. The reference impedance for return loss measurements
is 100 resistive for differential return loss and 25 resistive for common mode.
ensure margin for wander, hence is over and above any high frequency jitter from
Table 9-13.
8.5 UI p-p
PASS
Sinusoidal
Jitter
Amplitude
FAIL
0.10 UI p-p
f1 Frequency f2 20 MHz
For each baud rate at which a LP-Serial receiver is specified to operate, the receiver
shall meet the corresponding Bit Error Ratio specification in Table 9-10 when the
eye pattern of the receiver test signal (exclusive of sinusoidal jitter) falls entirely
within the unshaded portion of the Receiver Input Compliance Mask shown in
Figure 8-5 with the parameters specified in Table 9-13. The eye pattern of the
receiver test signal is measured at the input pins of the receiving device with the
device replaced with a 100 ± 5% differential resistive load.
in Annex 48A. Single lane implementations shall use the CJPAT sequence specified
in Annex 48A for transmission on lane 0. Jitter shall be measured with AC coupling
and at 0 Volts differential. Jitter measurement for the transmitter (or for calibration
of a jitter tolerance setup) shall be performed with a test procedure resulting in a
BER curve such as that described in Annex 48B of IEEE802.3ae.
• Transmitters and receivers used on short, medium and long run links shall
inter-operate for path lengths up to 20cm.
• Transmitters and receivers used on medium and long run links shall
inter-operate for path lengths up to 60cm.
• The transmitter pins shall be capable of surviving short circuit either to each
other, to supply voltages, and to ground.
10.2 Equalization
At the high baud rates used by Level II LP-Serial links, the signals transmitted over
a link are degraded by losses and characteristic impedance discontinuities in the
interconnect media. The losses increase with increasing baud rate and interconnect
media length and cause signal attenuation and inter-symbol interference that
degrade the opening of the eye pattern at both the receiver input and the data decoder
decision point. Depending on the baud rate and interconnect length, the degradation
can be greater than that allowed by the specification.
The signal degradation can be partially negated by the use of equalization in the
transmitter and/or receiver. Equalization in the transmitter can improve the eye
pattern at both the receiver input and the data decoder decision point. Equalization
in the receiver can only improve the eye pattern at the data decoder decision point.
Some degree of equalization is required by most Level II interconnects.
The types of equalizers and, if the equalizers are adaptive, the adaptive equalizer
training algorithms that may be used in a Level II 5.0 GBaud transmitter or receiver
are subject to the following restrictions.
Equalizers that can convert a single bit error into a multiple bit burst error, such as
decision feedback equalizers (DFEs), shall not be used when IDLE1 has been
selected for use on the link.
The training algorithm for any adaptive equalization used by a Level II transmitter
and/or receiver shall consistently train the equalizer and retain the equalizer’s
training when IDLE1 is the training signal and shall consistently retain the
equalizer’s training when IDLE1 has been selected for use on the link and the signal
on the link is a continuous sequence of maximum length packets whose payload is
either all ONES or all ZEROS.
The above restrictions on the types of equalizers and adaptive equalizer training
algorithms do not apply to Level II transmitters and receivers operating at greater
than 5.5 GBaud.
- - - -
The input stressed eye used in this measurement includes sinusoidal, high
probability, and Gaussian jitter as defined in the appropriate sections of this
specification, along with any necessary additive crosstalk. Additive crosstalk is used
to insure that the receiver under test is adequately stressed if a low loss channel is
used in the measurement.
The additive input crosstalk signal is determined using the channel S-parameters,
receiver reference model, and the StatEye script. It must be of amplitude such that
the resulting receiver equalizer output eye, given the channel, jitter, and crosstalk, is
as close as feasible in amplitude when compared to the defined minimum amplitude
used for channel compliance.
- - -
BERT Channel
Data
+
In
-
Crosstalk is added if the compliant channel used does not close the reference
model receiver equalizer output eye to the specified minimum amplitude.
The crosstalk amplitude is determined using the receiver reference model.
11. The reference receiver shall use the worst case receiver return loss at the baud
frequency. In order to construct the worse case receiver return loss, the
reference receiver should be considered to be a parallel R and C, where R is
the defined maximum allowed DC resistance of the interface and C is
increased until the defined maximum Return Loss at the baud frequency is
reached. The receiver return loss is specified in Section 10.4.2.2.7, "Level II
SR Receiver Input Resistance and Return Loss".
12. The opening of the eye shall be calculated using Statistical Eye Analysis
methods, as per Section 8.7.5, "Statistical Eye Methodology", and confirmed
to be within the requirements as specified in Table 10-9 at the required BER,
10-15.
1. The DUT shall be measured to have a BER1 better than 10-12 for a stressed
signal (see Section 10.7.4.2, "Jitter Tolerance with no Relative Wander Lab
Setup" for a suggested method) with a confidence level of three sigma (see
Annex B.2, “Confidence Level of Errors Measurement" for a suggested
method), given:
– The defined sinusoidal jitter mask for total and relative wander as per
Section 10.4.2.2.8, "Level II SR Receiver Input Jitter Tolerance" with a high
frequency total/relative wander and a maximum total/relative wander as defined
in the CEI IA.
– The specified amount of High Probability Jitter and Gaussian jitter per
Section 10.4.2.2.8, "Level II SR Receiver Input Jitter Tolerance".
– An additive crosstalk signal of amplitude such that the resulting statistical eye,
given the channel, jitter and crosstalk, is as close as feasible in amplitude when
compared to the defined minimum amplitude for channel compliance.
Baud Rate (5Gbaud) T_Baud Section 10.4.2.1.2 5.00 5.00 5.00 Gbaud
-0.01% +0.01%
Baud Rate (6.25Gbaud) 6.25 6.25 6.25 Gbaud
-0.01% +0.01%
Absolute Output Voltage VO Section 10.4.2.1.3 -0.40 2.30 Volts
Output Differential voltage T_Vdiff Section 10.4.2.1.3 400 750 mVppd
(into floating load Rload=)
Differential Resistance T_Rd Section 10.4.2.1.6 80 100 120 W
NOTES:
1. Load Type 0 with min T_Vdiff, AC-Coupling or floating load
2. For Load Types 1 through 3: R_Zvtt 30Vtt is defined for each load type as follows: Load Type 1 R_Vtt = 1.2V +5%/-8%;
Load Type 2 R_Vtt = 1.0V +5%/-8%; Load Type 3 R_Vtt = 0.8V +5%/-8%.
3. DC Coupling compliance is optional (Type 1 through 3). Only Transmitters that support DC coupling are required to meet this
parameter. It is acceptable for a transmitter to restrict the range of T_Vdiff in order to comply with the specified T_Vcm range.
For a transmitter which supports multiple T_Vdiff levels, it is acceptable for a transmitter to claim DC Coupling Compliance if
it meets the T_Vcm ranges for at least one of its T_Vdiff setting as long as those setting(s) that are compliant are indicated.
1if the defined measurement BER is different to system required BER, adjustments to applied stressed eye TJ are necessary
Recommended output rise and fall times T_tr, T_tf Section 10.4.2.1.4 30 ps
(20% to 80%)
Skew between signals comprising a differential T_SKEWdiff Section 10.4.2.1.5 15 ps
pair
Differential Output Return Loss T_SDD22 Section 10.4.2.1.6 -8 dB
(100 MHz to 0.5*T_Baud)
Differential Output Return Loss
(0.5*T_Baud to T_Baud)
Common Mode Return Loss T_SCC22 Section 10.4.2.1.6 -6 dB
(100 MHz to 0.75 *T_Baud)
Transmitter Common Mode Noise T_Ncm 5% of mVppd
T_Vdiff
Output Common Mode Voltage T_Vcm Load Type 01 100 1700 mV
Section 8.5.3
Load Type 12,3 630 1100 mV
Section 8.5.3
NOTES:
1. Load Type 0 with min T_Vdiff, AC-Coupling or floating load
2. For Load Types 1 through 3: R_Zvtt 30Vtt is defined for each load type as follows: Load Type 1 R_Vtt = 1.2V +5%/-8%;
Load Type 2 R_Vtt = 1.0V +5%/-8%; Load Type 3 R_Vtt = 0.8V +5%/-8%.
3. DC Coupling compliance is optional (Type 1 through 3). Only Transmitters that support DC coupling are required to meet this
parameter. It is acceptable for a transmitter to restrict the range of T_Vdiff in order to comply with the specified T_Vcm range.
For a transmitter which supports multiple T_Vdiff levels, it is acceptable for a transmitter to claim DC Coupling Compliance if
it meets the T_Vcm ranges for at least one of its T_Vdiff setting as long as those setting(s) that are compliant are indicated.
A0 -8 dB
f0 100 MHz
f1 T_Baud/2 Hz
f2 T_Baud Hz
Slope 16.6 dB/dec
given in Figure 8-2, Table 10-5, Figure 8-5, and Table 10-9 either with or without
any transmit emphasis.
The maximum near-end duty cycle distortion (T_DCD) shall be less than 0.05UIpp.
It should be noted that it is assumed the Uncorrelated High Probability Jitter
component of the transmitter jitter is not Inter-symbol Interference (ISI). This is only
assumed from a receiver point of view and does not in any way put any restrictions
on the real transmitter HPJ.
Rx Baud Rate (5Gbaud) R_Baud Section 10.4.2.2.1 5.00 5.00 5.00 Gbaud
-0.01% +0.01%
Rx Baud Rate (6.25Gbaud) 6.25 6.25 6.25 Gbaud
-0.01% +0.01%
Absolute Input Voltage R_Vin Section 10.4.2.2.4
Input Differential voltage R_Vdiff Section 10.4.2.2.3 125 1200 mVppd
Differential Resistance R_Rdin Section 10.4.2.2.7 80 100 120
Bias Voltage Source Impedance R_Zvtt 30
(load types 1 to 3)1
NOTES:
1. DC Coupling compliance is optional. For Vcm definition, see Figure 8-1.
2. Receiver is required to implement at least one of specified nominal R_Vtt values, and typically implements only one of these
values. Receiver is only required to meet R_Vrcm parameter values that correspond to R_Vtt values supported.
3. Input common mode voltage for AC-coupled or floating load input with min. T_Vdiff.
4. For floating load, input resistance must be 1k.
far-end eye template and jitter given in Figure 8-5 and Table 10-9, with the
differential load impedance of 1001% at DC with a return loss of better than
20 dB from baud rate divided by 1667 to 1.5 times the baud rate. Note that the input
signal might not meet either of these templates when the actual receiver replaces this
load.
10.4.2.2.3 Level II SR Receiver Input Signal Amplitude
The receiver shall accept differential input signal amplitudes produced by compliant
transmitters connected without attenuation to the receiver. This may be larger than
the 1200mVppd maximum of the transmitter due to output/input impedances and
reflections.
The minimum input amplitude is defined by the far-end transmitter template, the
actual receiver input impedance, and the loss of the actual PCB. Note that the far-end
transmitter template is defined using a well controlled load impedance, however, the
real receiver is not, which can leave the receiver input signal smaller than the
minimum 125mVppd.
10.4.2.2.4 Level II SR Receiver Absolute Input Voltage
The absolute voltage levels with respect to the receiver ground at the input of the
receiver are dependent on the transmitter implementation, the inter-ground
difference, whether the receiver is AC or DC coupled, and (in the case of DC
coupling load types 1 to 3) the nominal R_Vtt supported by the receiver. The voltage
levels at the input of a DC coupled receiver shall be consistent with the R_Vrcm and
R_Vdiff values defined in Table 10-6.
The voltage levels at the input of an AC coupled receiver (if AC coupling is done
within the receiver) or at the Tx side of the external AC coupling cap (if AC coupling
is done externally) shall be between -0.15 and 1.95V, inclusive, with respect to local
ground.
10.4.2.2.5 Level II SR Receiver Input Common Mode Impedance
The input common mode impedance (R_Zvtt) at the input of the receiver is
dependent on whether the receiver is AC or DC coupled. The value of R_Zvtt as
measured at the input of an AC coupled receiver is undefined. The value of R_Zvtt
as measured at the input of a DC coupled receiver is defined as per Table 10-6.
If AC coupling is used it is to be considered part of the receiver for the purposes of
this specification unless explicitly stated otherwise. It should be noted that various
methods for AC coupling are allowed (for example, internal to the chip or done
externally). See Section 8.5.13, "Termination and DC Blocking" for more
information.
10.4.2.2.6 Level II SR Receiver Input Lane-to-Lane Skew
Lane-to-lane skew at the input to the receiver shall not exceed 70UI peak. See
Section 8.5.9, "Receiver Input Lane-to-Lane Skew".
A0 -8 dB
f0 100 MHz
f1 R_Baud/2 Hz
f2 R_Baud Hz
Slope 16.6 dB/dec
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
param.scanResolution = 0.01;
param.binsize = 0.0005;
param.points = 2^13;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% set the transmitter and baud rate. The tx filter has two
% parameters defined for the corner frequency of the poles
param.bps = 6.25e9;
param.bitResolution = 1/(4*param.bps);
param.txFilter = ’singlepole’;
param.txFilterParam = [0.75];
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% set the return loss up. The return loss can be turned off
% using the appropriate option
param.returnLoss = ’on’;
param.cpad = 1.0;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
param.rxsample = -0.1;
% no DFE
param.dfe = [];
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
param.txdj = 0.15;
param.txrj = 0.15/(2*7.94);
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
param.user = [0.0];
param.useuser = ’no’;
param.usesymbol = ’’;
param.xtAmp = 1.0;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
param.Q = 2*7.94;
RapidIO Trade Association 287
RapidIO Part 6: LP-Serial Physical Layer Specification Rev. 2.2
param.maxDJ = 0.30;
param.maxTJ = 0.60;
N = 1 is previous decision (i.e. first tap)
M = oldest decision (i.e. last tap)
R_Y2 = T_Y2 = 400mV
Y = min(R_X1, (R_Y2 - R_Y1) / R_Y2) = 0.30
Z = 2/3 = 0.66667
Then W[N] Y * Z(N - 1)
For the channel compliance model the number of DFE taps (M) = 5. This
gives the following maximum coefficient weights for the taps:
W[1] 0.2625 (sum of taps 1 to 5)
W[2] 0.1750 (sum of taps 2 to 5)
W[3] 0.1167 (sum of taps 3 to 5)
W[4] 0.0778 (sum of taps 4 and 5)
W[5] 0.0519 (tap 5)
Notes:
- These coefficient weights are absolute assuming a T_Vdiff of 1 Vppd
- For a real receiver the restrictions on tap coefficients would apply for the
actual number of DFE taps implemented (M)
9. The reference receiver shall use the worst case receiver return loss at the baud
frequency. In order to construct the worse case receiver return loss, the
reference receiver should be considered to be a parallel R and C, where R is
the defined maximum allowed DC resistance of the interface and C is
increased until the defined maximum Return Loss at the baud frequency is
reached. The receiver return loss is specified in Section 10.5.2.2.7, "Level II
LR Receiver Input Resistance and Return Loss".
Table 10-12. Level II LR Receiver Equalization Output Eye Mask
Parameter Symbol Max Units
10. Any parameters that have degrees of freedom (e.g. filter coefficients or
sampling point) shall be optimized against the amplitude, at the zero phase
offset, as generated by the Statistical Eye Output, e.g. by sweeping all degrees
of freedom and selecting the parameters giving the maximum amplitude. A
receiver return loss, as defined by the reference receiver, shall be used.
11. The opening of the eye shall be calculated using Statistical Eye Analysis
methods, as per Section 8.7.5, "Statistical Eye Methodology", and confirmed
to be within the requirements of the equalized eye mask as specified in
Table 10-12 at the required BER, 10-15.
1. The DUT shall be measured to have a BER1 better than specified for a stressed
signal (see Section 10.7.4.3, "Jitter Tolerance with Defined ISI and no
Relative Wander" for a suggested method) with a confidence level of three
sigma (see Annex B.2, “Confidence Level of Errors Measurement" for a
suggested method), given:
– The defined sinusoidal jitter mask for relative wander as per Section 8.4.6,
"Relative Wander Mask" with a high frequency relative wander and a maximum
relative wander as defined in Section 10.5.2.2.8, "Level II LR Receiver Jitter
Tolerance".
– The specified amount of High Probability Jitter and Gaussian jitter as defined in
Section 10.5.2.2.8, "Level II LR Receiver Jitter Tolerance".
– A compliance channel or filter as identified by Section 10.5.1.1, "Level II LR
Channel Compliance".
– An additive crosstalk signal of amplitude such that the resulting statistical eye,
given the channel, jitter, and crosstalk, is as close as feasible in amplitude when
compared to the defined minimum amplitude for channel compliance.
1if the defined measurement BER is different to system required BER, adjustments to applied stressed eye TJ are necessary
Tx Baud Rate (5Gbaud) T_Baud Section 10.5.2.1.2 5.00 5.00 5.00 Gbaud
-0.01% +0.01%
Tx Baud Rate (6.25Gbaud) 6.25 6.25 6.25 Gbaud
-0.01% +0.01%
Absolute Output Voltage VO Section 10.5.2.1.3 -0.40 2.30 Volts
Output Differential voltage T_Vdiff Section 10.5.2.1.3 1 800 1200 mVppd
(into floating load Rload=100)
Differential Resistance T_Rd Section 10.5.2.1.6 80 100 120
Recommended output rise and fall times T_tr, T_tf Section 10.5.2.1.4 30 ps
(20% to 80%)
Skew between signals comprising a differential T_SKEWdiff Section 10.5.2.1.5 15 ps
pair
Differential Output Return Loss T_SDD22 Section 10.5.2.1.6 -8 dB
(100 MHz to 0.5*T_Baud)
Differential Output Return Loss
(0.5*T_Baud to T_Baud)
Common Mode Return Loss T_S11 Section 10.5.2.1.6 -6 dB
(100 MHz to 0.75 *T_Baud)
Transmitter Common Mode Noise T_Ncm 5% of mVppd
T_Vdiff
Output Common Mode Voltage T_Vcm Load Type 02 100 1700 mV
Section 8.5.3
Load Type 13,4 630 1100 mV
Section 8.5.3
NOTES:
1. The Transmitter must be capable of producing a minimum T_Vdiff greater than or equal to 800mVppd. In applications where
the channel is better than the worst case allowed, a Transmitter device may be provisioned to produce T_Vdiff less than this
minimum value, but greater than or equal to 400mVppd, and is still compliant with this specification.
2. Load Type 0 with min T_Vdiff, AC-Coupling or floating load.
3. For Load Type 1: R_Zvtt 30 T_Vtt & R_Vtt = 1.2V +5%/-8%.
4. DC Coupling compliance is optional (Load Type 1). Only Transmitters that support DC coupling are required to meet this
parameter.
A0 -8 dB
f0 100 MHz
f1 T_Baud/2 Hz
f2 R_Baud Hz
Slope 16.6 dB/dec
Rx Baud Rate (5Gbaud) R_Baud Section 10.5.2.1.2 5.00 5.00 5.00 Gbaud
-0.01% +0.01%
Rx Baud Rate (6.25Gbaud) 6.25 6.25 6.25 Gbaud
-0.01% +0.01%
Absolute Input Voltage R_Vin Section 10.5.2.2.4
Input Differential voltage R_Vdiff Section 10.5.2.2.3 1200 mVppd
Differential Resistance R_Rdin Section 10.5.2.2.7 80 100 120
Bias Voltage Source Impedance R_Zvtt 30
(load type 1)1
Differential Input Return Loss R_SDD11 Section 10.5.2.2.7 -8 dB
(100MHz to 0.5*R_Baud)
Differential Input Return Loss
(0.5*R_Baud to R_Baud))
Common mode Input Return Loss R_SCC11 Section 10.5.2.2.7 -6 dB
(100MHz to 0.5*R_Baud)
Input Common Mode Voltage R_Vfcm Load Type 02 0 1800 mV
1,3
Load Type 1 595 R_Vtt - mV
60
Wander divider (in Figure 8-8 & Figure 8-9) n 10
NOTES:
1. DC Coupling compliance is optional (Load Type 1). Only receivers that support DC coupling are required to meet this
parameter.
2. Load Type 0 with min T_Vdiff, AC-Coupling or floating load. For floating load, input resistance must be 1k
3. For Load Type 1: T_Vtt & R_Vtt = 1.2V +5%/-8%.
The minimum input amplitude is defined by the far-end transmitter template, the
actual receiver input impedance, and the loss of the actual PCB. Note that the far-end
transmitter template is defined using a well controlled load impedance, however the
real receiver is not, which can leave the receiver input signal smaller than expected.
10.5.2.2.4 Level II LR Receiver Absolute Input Voltage
The absolute voltage levels with respect to the receiver ground at the input of the
receiver are dependent on the transmitter implementation and the inter-ground
difference.
The voltage levels at the input of an AC coupled receiver (if the effective AC
coupling is done within the receiver) or at the Tx side of the external AC coupling
cap (if AC coupling is done externally) shall be between -0.15 and 1.95V, inclusive,
with respect to local ground.
10.5.2.2.5 Level II LR Receiver Input Common Mode Impedance
The input common mode impedance (R_Zvtt) at the input of the receiver is
dependent on whether the receiver is AC or DC coupled. The value of R_Zvtt as
measured at the input of an AC coupled receiver is undefined. The value of R_Zvtt
as measured at the input of a DC coupled receiver is defined as per Table 10-17.
If AC coupling is used it is to be considered part of the receiver for the purposes of
this specification unless explicitly stated otherwise. It should be noted that various
methods for AC coupling are allowed (for example, internal to the chip or done
externally). See Section 8.5.13, "Termination and DC Blocking" for more
information.
10.5.2.2.6 Level II LR Receiver Input Lane-to-Lane Skew
Lane-to-lane skew at the input to the receiver shall not exceed 70UI peak. See
Section 8.5.9, "Receiver Input Lane-to-Lane Skew".
10.5.2.2.7 Level II LR Receiver Input Resistance and Return Loss
Refer to Section 8.5.11, "Differential Resistance and Return Loss, Transmitter and
Receiver" for the reference model for return loss. See Table 10-18 for 5Gbaud and
6.25Gbaud short run receiver parameters. Definitions for these parameters are in
Figure 8-12.
Table 10-18. Level II LR Input Return Loss Parameters
Parameter Value Units
A0 -8 dB
f0 100 MHz
f1 R_Baud/2 Hz
f2 R_Baud Hz
Slope 16.6 dB/dec
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
param.scanResolution = 0.01;
param.binsize = 0.0005;
param.points = 2^13;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% set the transmitter and baud rate. The tx filter has two
% parameters defined for the corner frequency of the poles
param.bps = 6.25e9;
param.bitResolution = 1/(4*param.bps);
param.txFilter = ’twopole’;
param.txFilterParam = [0.75 0.75];
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% set the return loss up. The return loss can be turned off
% using the appropriate option
param.returnLoss = ’on’;
param.cpad = 1.00;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
param.rxsample = -0.1;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
param.txdj = 0.15;
param.txrj = 0.15/(2*7.94);
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
param.user = [0.0];
param.useuser = ’no’;
param.usesymbol = ’’;
param.xtAmp = 1.0;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
param.Q = 2*7.94;
param.maxDJ = 0.325;
RapidIO Trade Association 299
RapidIO Part 6: LP-Serial Physical Layer Specification Rev. 2.2
param.maxTJ = 0.60;
be dealt with as they are for the reference receiver. Pole and Zero values have
infinite precision accuracy. Maximum required gain/attenuation shall be less
than or equal to 4dB.
9. The reference receiver shall use the worst case receiver return loss at the baud
frequency. In order to construct the worse case receiver return loss, the
reference receiver should be considered to be a parallel R and C, where R is
the defined maximum allowed DC resistance of the interface and C is
increased until the defined maximum Return Loss at the baud frequency is
reached. The receiver return loss is specified in Section 10.6.2.2.7, "Level II
MR Receiver Input Resistance and Return Loss".
Table 10-21. Level II LR Receiver Equalization Output Eye Mask
Parameter Symbol Max Units
10. Any parameters that have degrees of freedom (e.g. filter coefficients or
sampling point) shall be optimized against the amplitude, at the zero phase
offset, as generated by the Statistical Eye Output, e.g. by sweeping all degrees
of freedom and selecting the parameters giving the maximum amplitude. A
receiver return loss, as defined by the reference receiver, shall be used.
11. The opening of the eye shall be calculated using Statistical Eye Analysis
methods, as per Section 8.7.5, "Statistical Eye Methodology", and confirmed
to be within the requirements of the equalized eye mask as specified in
Table 10-12 at the required BER, 10-12.
If the transmit jitter or transmit eye mask is additionally defined then the following
steps shall also be made to identify which transmitters are to be considered
compliant:
1. The high frequency transmit jitter shall be within that specified (see
Section 10.7.1, "High Frequency Transmit Jitter Measurement" for suggested
methods).
The specified transmit eye mask shall not be violated (see Section 10.7.4.6, "Eye
Mask Measurement Setup" for a suggested method) after adjusting the horizontal
time positions for the measured time with a confidence level of 3 sigma (see
Annex B.3, “Eye Mask Adjustment for Sampling Oscilloscopes" for a suggested
method).
1if the defined measurement BER is different to system required BER, adjustments to applied stressed eye TJ are necessary
Tx Baud Rate (5Gbaud) T_Baud Section 10.6.2.1.2 5.00 5.00 5.00 Gbaud
-0.01% +0.01%
Tx Baud Rate (6.25Gbaud) 6.25 6.25 6.25 Gbaud
-0.01% +0.01%
Absolute Output Voltage VO Section 10.6.2.1.3 -0.40 2.30 Volts
Output Differential voltage T_Vdiff Section 10.6.2.1.3 1 800 1200 mVppd
(into floating load Rload=100)
Differential Resistance T_Rd Section 10.6.2.1.6 80 100 120
Recommended output rise and fall times T_tr, T_tf Section 10.6.2.1.4 30 ps
(20% to 80%)
Skew between signals comprising a differential T_SKEWdiff Section 10.6.2.1.5 15 ps
pair
Differential Output Return Loss T_SDD22 Section 10.6.2.1.6 -8 dB
(100 MHz to 0.5*T_Baud)
Differential Output Return Loss
(0.5*T_Baud to T_Baud)
Common Mode Return Loss T_S11 Section 10.6.2.1.6 -6 dB
(100MHz to 0.75 *T_Baud)
Transmitter Common Mode Noise T_Ncm 5% of mVppd
T_Vdiff
Output Common Mode Voltage T_Vcm Load Type 02 100 1700 mV
Section 8.5.3
Load Type 13,4 630 1100 mV
Section 8.5.3
NOTES:
1. The Transmitter must be capable of producing a minimum T_Vdiff greater than or equal to 800mVppd. In applications where
the channel is better than the worst case allowed, a Transmitter device may be provisioned to produce T_Vdiff less than this
minimum value, but greater than or equal to 400mVppd, and is still compliant with this specification.
2. Load Type 0 with min T_Vdiff, AC-Coupling or floating load.
3. For Load Type 1: R_Zvtt 30 T_Vtt & R_Vtt = 1.2V +5%/-8%
4. DC Coupling compliance is optional (Load Type 1). Only Transmitters that support DC coupling are required to meet this
parameter.
A0 -8 dB
f0 100 MHz
f1 T_Baud/2 Hz
f2 R_Baud Hz
Slope 16.6 dB/dec
Rx Baud Rate (5Gbaud) R_Baud Section 10.6.2.2.1 5.00 5.00 5.00 Gbaud
-0.01% +0.01%
Rx Baud Rate (6.25Gbaud) 6.25 6.25 6.25 Gbaud
-0.01% +0.01%
Absolute Input Voltage R_Vin Section 10.6.2.2.4
Input Differential voltage R_Vdiff Section 10.6.2.2.3 1200 mVppd
Differential Resistance R_Rdin Section 10.5.2.2.7 80 100 120
Bias Voltage Source Impedance R_Zvtt 30
(load type 1)1
Differential Input Return Loss R_SDD11 Section 10.6.2.2.7 -8 dB
(100MHz to 0.5*R_Baud)
Differential Input Return Loss
(0.5*R_Baud to R_Baud))
Common mode Input Return Loss R_SCC11 Section 10.6.2.2.7 -6 dB
(100MHz to 0.5*R_Baud)
Input Common Mode Voltage R_Vfcm Load Type 02 0 1800 mV
1,3
Load Type 1 595 R_Vtt - mV
60
Wander divider (in Figure 8-8 & Figure 8-9) n 10
NOTES:
1. DC Coupling compliance is optional (Load Type 1). Only receivers that support DC coupling are required to meet this
parameter.
2. Load Type 0 with min T_Vdiff, AC-Coupling or floating load. For floating load, input resistance must be 1k
3. For Load Type 1: T_Vtt & R_Vtt = 1.2V +5%/-8%.
The minimum input amplitude is defined by the far-end transmitter template, the
actual receiver input impedance, and the loss of the actual PCB. Note that the far-end
transmitter template is defined using a well controlled load impedance, however the
real receiver is not, which can leave the receiver input signal smaller than expected.
10.6.2.2.4 Level II MR Receiver Absolute Input Voltage
The absolute voltage levels with respect to the receiver ground at the input of the
receiver are dependent on the transmitter implementation and the inter-ground
difference.
The voltage levels at the input of an AC coupled receiver (if the effective AC
coupling is done within the receiver) or at the Tx side of the external AC coupling
cap (if AC coupling is done externally) shall be between -0.15 and 1.95V, inclusive,
with respect to local ground.
10.6.2.2.5 Level II MR Receiver Input Common Mode Impedance
The input common mode impedance (R_Zvtt) at the input of the receiver is
dependent on whether the receiver is AC or DC coupled. The value of R_Zvtt as
measured at the input of an AC coupled receiver is undefined. The value of R_Zvtt
as measured at the input of a DC coupled receiver is defined as per Table 10-17.
If AC coupling is used it is to be considered part of the receiver for the purposes of
this specification unless explicitly stated otherwise. It should be noted that various
methods for AC coupling are allowed (for example, internal to the chip or done
externally). See Section 8.5.13, "Termination and DC Blocking" for more
information.
10.6.2.2.6 Level II MR Receiver Input Lane-to-Lane Skew
Lane-to-lane skew at the input to the receiver shall not exceed 70UI peak. See
Section 8.5.9, "Receiver Input Lane-to-Lane Skew".
10.6.2.2.7 Level II MR Receiver Input Resistance and Return Loss
Refer to Section 8.5.11, "Differential Resistance and Return Loss, Transmitter and
Receiver" for the reference model for return loss. See Table 10-27 for 5Gbaud and
6.25Gbaud short run receiver parameters. Definitions for these parameters are in
Figure 8-12.
Table 10-27. Level II MR Input Return Loss Parameters
Parameter Value Units
A0 -8 dB
f0 100 MHz
f1 R_Baud/2 Hz
f2 R_Baud Hz
Slope 16.6 dB/dec
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
param.scanResolution = 0.01;
param.binsize = 0.0005;
param.points = 2^13;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% set the transmitter and baud rate. The tx filter has two
% parameters defined for the corner frequency of the poles
param.bps = 6.25e9;
param.bitResolution = 1/(4*param.bps);
param.txFilter = ’twopole’;
param.txFilterParam = [0.75 0.75];
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% set the return loss up. The return loss can be turned off
% using the appropriate option
param.returnLoss = ’on’;
param.cpad = 1.0;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
param.rxsample = -0.1;
% no DFE
param.dfe = [];
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
param.txdj = 0.15;
param.txrj = 0.15/(2*7.94);
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
param.user = [0.0];
param.useuser = ’no’;
param.usesymbol = ’’;
param.xtAmp = 1.0;
310 RapidIO Trade Association
RapidIO Part 6: LP-Serial Physical Layer Specification Rev. 2.2
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
param.Q = 2*7.94;
param.maxDJ = 0.325;
param.maxTJ = 0.60;
Differential
to single
ended amp +
DUT
Golden PLL
Trigger
Signal
Clock BERT
Ref
• The transmitter under test shall transmit the specified data pattern, while all
other signals are active.
– The other channels can transmit the same pattern if they have at least a 16 bit
offset with the channel under test.
– All links within a device under test to be active in both transmit and receive
directions, and receive links are to use asynchronous clocks with respect to
transmit links to maximum allowed ppm offset as specified in the protocol
specifications.
• The data should be differentially analyzed using an external differential amp or
differential input BERT and golden PLL.
– Use of single ended signals will give an inaccurate measurement and should not
be used.
– The use of a balun will most likely degrade the signal integrity and is only
recommended for 3Gbaud signalling when the balun is linear with a return loss
of better than -15dB until three times the baud rate.
• Inherent bandwidth of clock reference inputs of the BERT should be verified,
e.g. in the case of parBERTs. Additional bandwidth limitation of the BERT
will lead to inaccurate results.
• The use of a golden PLL is required to eliminate inherent clock content
(Wander) in transmitted data signals for long measurement periods.
– The golden PLL should have at maximum a bandwidth of baud rate over 1667,
with a maximum of 20dB/dec rolloff, until at least baud rate over 16.67, with no
peaking around the corner frequency.
• The output jitter for the DUT is not defined as the contributed jitter from the
DUT but as the total output jitter including the contributions from the
reference clock. To this end, the reference clock of the DUT should be
verified to have a performance similar to the real application.
• A confidence level of three sigma should be guaranteed in the measurement of
BER for the Bathtub as per Annex B.2, “Confidence Level of Errors
Measurement".1
• The High Probability and Gaussian Jitter components should be extracted from
the bathtub measurement using the methodology defined in Section 8.7.4.6,
"BathTub Curves".
• If not defined the maximum Gaussian jitter is equal to the maximum total jitter
minus the actual High Probability jitter.
1It is assumed due to the magnitude of jitter present at the transmitter that the left and right hand parts of the bathtub are independent to each other
Spectrum
DUT
Analysiser
Differential to
single ended
amplifier
Clock
Reference (a)
100f 2 P (f)-
--------
1 f1 j f 10
1
rms = ------ 2 -------------------------------------------------------------- 10
2 1 + j f f1 1 + j f f2
f 1 100
where
rms is the time jitter
P(f) is the measured spectral power for 1Hz Bandwidth
It should be noted that the measured Gaussian noise for a driver can usually be
considered equivalent to that derived from a full bathtub jitter distribution.
10.7.1.2.2 Band Limited 60 Second Total Jitter Measurements
In certain CEI-11G-SR applications total jitter measurements of 60 seconds are
required. The Gaussian Jitter, as measured above, should be multiplied by a Q of
6.963. If spurs are present in the spectrum then these must be converted to time jitter
1
Normal CEI application will integrate from the defined ideal CDR bandwidth to infinity, while some CEI-11G-SR application will integrate over a specific
band
2The spectral power should be measured using averaging
3
Traditional measurements are performed for 60 seconds using a demodulator and performing a real time peak to peak measurement of the jitter. Given this,
the number of bits transmitter across the link in 60 seconds is calculated and the associated three sigma confidence level, peak to peak multiplication
factor, Q, for the random jitter.
separately using an inverse of the Bessel function as per Figure 10-6, which
describes the power spectrum for a given phase modulated signal
where
F(P n) is the inverse spectral SSB power to time modulation (below)
45
40
35
dBc
30
25
20
15
0 0.01 0.02 0.03 0.04 0.05 0.06 0.07
Modulation Index (UI)
Figure 10-6. Single Side Band Relative Power Spectrum for Phase Modulated Signal
45
40
35
dBc
30
25
20
15
0 0.01 0.02 0.03 0.04 0.05 0.06 0.07
Modulation Index (UI)
Figure 10-7. Single Side Band Relative Power Spectrum for Phase Modulated Signal
using a Q calculated for a 3 sigma confidence level1 as per Annex B.3, “Eye Mask
Adjustment for Sampling Oscilloscopes".
10.7.1.2.4 Total High Probability Jitter
After measuring the Unbounded Gaussian Jitter, as above, an oscilloscope
measurement, as per Section 10.7.4.6, "Eye Mask Measurement Setup", of the peak
to peak jitter should be performed using the standard pattern e.g. PRBS31.
The Total High Probability Jitter is then calculated by removing the accumulated
Gaussian jitter.
1It is recommended that enough samples on the oscilloscope should be made such that Q>4
using a Q calculated for a 3 sigma confidence level1 as per Annex B.3, “Eye Mask
Adjustment for Sampling Oscilloscopes".
Differential
DUT to single 1/n Scope
ended Amp Golden PLL
Clock Reference
1It is recommended that enough samples on the oscilloscope should be made such that Q>4
1/n Scope
Golden PLL
DUT
Trigger
1/n
Golden PLL
Clock Reference
Data Output
Signal Filter
BERT Voltage for defining
transmitting defined test Controlled edge rate
pattern Delay Line
Control
Voltage
Input Calibrated
Test Data
DUT Clock
Reference
(100ppm offset to BERT)
PRBS Generator
for generating
Jitter Control Uncorrelated High
Clock Signal Filter Probability Jitter
Reference
modulated by Common SJ
Wander Source
– All lanes to be active in both transmit and receive directions, and opposite ends
of the link, i.e. transmit to receiver, are to use asynchronous clocks to maximum
allowed ppm offset as specified in the protocol specifications.
• The DUT shall be tested using an internal BERT or loop to have the defined
BER performance.
• The confidence level of the BER measurement should be at least three sigma
as per Annex B.2, “Confidence Level of Errors Measurement".
10.7.4.1.2 Synchronization
• All lanes are to be active in both transmit and receive directions.
• All reference clocks should have the maximum offset frequency, with respect
to each other, as defined in the CEI IA.
10.7.4.1.3 Jitter
• The applied calibrated test signal shall have applied a calibrated amount of HF,
GJ, and HPJ.
• The jitter control signal for generating High Probability Jitter should be filtered
using at least a first order low pass filter with a corner frequency between
1/20 - 1/10 of the baud rate of the PRBS generator to ensure that high
frequency components are removed. The distribution of the jitter after the
filter must be reasonably even, symmetrical, and large spikes should be
avoided. The order of the PRBS polynomial may be between 7 and 11,
inclusive, to allow flexibility in meeting this objective. The rate of the PRBS
generator should be between 1/10 - 1/3 of the data rate of the DUT, and their
rates must be not harmonically related. The upper -3 dB frequency of the
filtered HPJ should be at least 1/100 of the data rate of the DUT to represent
transmitter jitter that is above the tracking frequencies of the DUT's CDR.
Calibration of HPJ must be done with a golden PLL in place. Once these
objectives are achieved, there is no need to vary these settings; any
combination of settings that meets all the objectives is satisfactory.
• The jitter control signal for generating Unbounded Gaussian Jitter shall be
filtered as per Figure 8-10 using the “Jitter Control Signal Filter”. However,
the upper frequency of the Gaussian Jitter spectrum will be, acceptably,
limited by the bandwidth of the voltage controlled delay line. The crest factor
of the white noise generator should be better than 18dB.
• The calibrated test signal shall have a calibrated amount of Total Wander and
Relative Wander as compared to the used clock by using the Common SJ
Wander and Antiphase SJ Sources with 1% frequency offsets (note the use of
the inverted input to the uppermost delay line) as per Section 8.7.2, "Total
Wander vs. Relative Wander".
• The amplitude of the Total Wander and Relative Wander is defined by the
sinusoidal masks defined in Section 8.4.5, "Total Wander Mask" and
Section 8.4.6, "Relative Wander Mask" with the specified amplitudes from
the CEI IA.
RapidIO Trade Association 319
RapidIO Part 6: LP-Serial Physical Layer Specification Rev. 2.2
Clock
Reference Calibrated
Input Test Data
Wander can be
optionally applied
directly to FM White Noise Source
input for generating
Clock +
Jitter Control Unbounded Gaussian
Reference
Signal Filter Jitter
PRBS Generator
for generating
Jitter Control uncorrelated High
Signal Filter Probability Jitter
Total
SJ Wander
Source
Clock
Reference Calibrated
Input Test Data
Wander can be
optionally applied
directly to FM White Noise Source
input for generating
Clock +
Jitter Control Unbounded Gaussian
Reference
Signal Filter Jitter
PRBS Generator
for generating
Jitter Control Uncorrelated High
Signal Filter Probability Jitter
Total
SJ Wander
Source
Total
Wander can be SJ Wander
optionally applied Source
directly to FM
input
Clock
Reference
Forward
Channel
Term. Term.
TxP,N RxP,N
Term. Term.
NEXT
Term. Term.
Term. RxP,N
Term. TxP,N
FEXT
TxP,N Term.
Term. RxP,N
Term. Term.
1Special care must be taken when performing multiple single ended measurements if the system is tightly coupled
i(t m) = ifft(Tr())
where
3 3
= [– --- f baud,--- f ]
4 4 baud
Differential
to single
ended amp +
DUT
Golden PLL
Trigger
Signal
Clock Oscilloscope
Ref
Blank page
Zeven).
If there is minimal coupling between the paired conductors then Zodd = Zeven =
Zse. Coupled transmission lines always produce Zodd < Zse < Zeven. The following
equations relate effective differential impedance, Zdiff, to common mode
impedance, Zcm, and single ended impedance, Zse, to even and odd mode
impedances:
Zeven Zeven + Zodd
Zdiff = 2Zodd Zcm = --------------- Zse = ------------------------------------
2 2
Most differential data signals are designed with zdiff = 100 and 25< Zcm < 50.
There is a trade-off in the choice of Zcm. Zcm = 25 (no coupling) may reduce
conducted noise for transmission lines with inadequate AC or DC grounding. Zcm
= 50 (close coupling) may reduce radiated noise (crosstalk) which is more critical
in backplanes. However close coupling requires careful ground construction to
control common mode noise.
The reader may wonder why common mode impedance is meaningful in a
differential transmission system. In a perfectly constructed system only odd mode
(opposite polarity) signals propagate. However imperfections in the transmission
system cause differential to common mode conversion. Once converted into
common mode the energy may convert back to differential mode by the same
imperfections. Thus, these imperfections convert some of the signal energy from
opposite polarities to the same polarity and back.
The two main sources of mode conversion are impedance mismatches which cause
part of the energy to be reflected, and differential skew which causes variations in
forward signal propagation delay between the individual paths of the differential
pair. Impedance mismatches typically occur at boundaries between transmission
line segments, including wire bonds, solder joints, connectors, vias, and trace-to-via
transitions. Often ignored sources of impedance mismatches at these boundaries are
discontinuities within the AC ground itself as well as asymmetric coupling between
the individual traces and the AC ground. Differential skew can occur at these same
boundaries and also due to mismatched trace lengths in device packages and in
PCBs.
I1
Conductor 1
I2
Conductor 2
V1
V2
Ground Plane
Transmission Line
Z 11 Z 12
Zˆc =
Z 21 Z 22
Generally, all four of the matrix entries are complex. But, at frequencies of interest,
the inductance and capacitance per unit length dominate so that all four quantities
are approximately real positive numbers. For engineering purposes it is common to
speak of the impedances as though they are resistances with no imaginary part,
keeping in mind that the imaginary part exists. Since the line is passive and
symmetric, we have Z11 = Z22 and Z12 = Z21 so that the line is described by just two
impedance values. If the line is to be perfectly terminated, then we must create a
network that is equivalent to Zˆc . That is, we need a 3-terminal (2 nodes + ground)
network that presents the same values of Z11 and Z12 as the line. A T or pi network
could be used. The pi network is shown in Figure A-2, along with the impedance
values in terms of Z11 and Z12.
2 2 I1
Z 11 – Z 12 Za
Za = Z 11 + Z 12 Zb = ---------------------------
Z 12
I2 Zb Za
V1
V2
ZaZb
Zodd = ----------------------- = Z 11 – Z 12 Zeven = Za = Z 11 + Z 12
2Za + Zb
definitions that are more descriptive, referring to the polarity of the signal
propagating the differential pair. In the case of opposite signal polarity in the two
lines of the signal pair the odd mode impedance is used. In the case of same signal
polarity the even mode is used. Zodd and Zeven are measured as shown in
Figure A-3.
I + 1
+ 1 V
I
I - + 2
- 2 V
-
V -
gnd
+
gnd
Odd mode impedance is the impedance measured when the two halves of the line
are driven by equal voltage or current sources of opposite polarity. Even mode
impedance is the impedance measured when the two halves of the line are driven by
equal voltage or current sources of the same polarity.
From the above equations we see that Zeven is always greater than Zodd by 2Z12,
where Z12 is a measure of the amount of coupling between the lines. This means that
Zeven is larger than Zodd for coupled transmission lines.
that this still refers to the log of a reflection coefficient in the range of 0 to 1.
Diff pair
Rx
Tx
Rx Can increase cross talk
Tx
Rx
due to Tx beside an Rx,
Chip Tx yet is good to allow for
Rx
Tx
loopback debug testing
Rx
Tx
Rx
Rx
Rx Best for cross talk prevention
Rx
Rx due to separating Rx and Tx,
Chip but harder to design in
Tx
Tx loopback debug testing
Tx
Tx
Tx
Rx
Rx
Rx
Rx Best for crosstalk prevention
Tx due to separating Rx and Tx,
Tx
Tx
but might be harder to route
Tx
Att 20 * log(e) * a1 * f a 2 * f a3 * f 2
Where f is frequency in Hz, a1, a2, and a3 are the curve fit coefficients and Att is in
dB.
Table A-1 gives some examples of these coefficients and Figure A-7 plots them
along with the PCB model and a real 75cm backplane with 5cm paddle cards on both
ends. These examples are representative of Level II LR applications but do not
represent specifications that a RapidIO link is to comply with.
Table A-1. Curve fit Coefficients
Channel a1 a2 a3
0.00
-5.00
-10.00
-15.00
-20.00
Loss (dB)
-25.00
-30.00
-35.00
-40.00
-45.00
-50.00
1.00E+08
1.00E+09
1.00E+10
Frequency (Hz)
XAUI Model (50cm) 75cm Typical Case 75cm Worst Case Real 75cm Channel
– 12
p = 10
12
n = 100 10
m = 100
= 10
min Q=3
m = m + Q
max Q = –3
min 70
m =
max 130
To assess the accuracy of such a measurement an equivalent process with a higher
BER can be calculated that would show the same limit of error for the same
confidence level and measured number of bits.
m = Em – Q
max
m = np – Q npq
max
m = np – Q np 1 – p
max
Solving the quadratic equation for p
– 12
p = 1.69 10
B.3.1 Theory
HPJ
X1 = ----------- + Q GJ rms
2
where
HPJ is the high probability jitter
GJ rms is the Gaussian distributed jitter
Q is the GJ multiplication factor
Given a low sample population and the requirements for mask verification to
achieve a hit or no-hit result, X1 must be adjusted according to the sample
population and the confidence level that a particular peak to peak is achieved.
Sample
Population of n
Maximum of
Population
Amplitude
x n–1
m
P x m = nQ x m Q x dx
0
where
x m is the random variable of the maximum amplitude measured
x is the random variable of the underlying random jitter process
Q x is the Q function of the Normal probability density function
n is the sample population
P x m is a probability density function
The equation above is solved and the probability of attaining a given maximum
(normalized to the sigma) for various populations plotted, Figure B-3.
0
10
-1
10
n=1
Confidence Level
n=10
n=100
-2
10 n=1k
n=10k
n=100k
n=1M
10
-3 3 sigma confidence
level
-4
10
0 1 2 3 4 5 6 7
Q
B.3.2 Usage
Given a known sampling population, n, calculated from the measurement time,
average transition density and sampling/collection frequency of the oscilloscope the
–3
three sigma confidence level (i.e. 1.3 10 ) of the measured Gaussian jitter peak
value can be read from Figure B-3. This value should be multiplied by 2 to give the
full peak to peak value of the random jitter.
The three sigma confidence level should be understood as ensuring that 99.96% of
all good devices do not violate the eye mask. To limit the number of bad devices that
also pass the eye mask it is strongly recommended that the sample population be
chosen as to give a Q larger than 5.
For example, referring to the red circled intersections Figure B-3, if we calculate
that the sample population for an oscilloscope was 100 i.e. n=100, then for a 3 sigma
confidence this equals a Q of 4.2. As the recommended Q value is 5 we should
increase the sample population to 10k to give a Q of 5.2.
Blank page
reset recovery_disabled
2 5
3
wait_for_retry
4
6
stop_input
9
7 8
retry_stopped
1 recovery_disabled recovery_disabled Remain in this state until the input This is the initial state after reset. The
port is enabled to receive packets. input port can’t be enabled before the
initialization sequence has been
completed, and may be controlled
through other mechanisms as well,
such as a software enable bit.
2 recovery_disabled wait_for_retry Input port is enabled.
3 wait_for_retry wait_for_retry Remain in this state until a packet
retry situation has been detected.
4 wait_for_retry stop_input A packet retry situation has been Usually this is due to an internal
detected. resource problem such as not having
packet buffers available for low
priority packets.
5 wait_for_retry recovery_disabled Input port is disabled.
6 stop_input stop_input Remain in this state until described Send a packet-retry control symbol
input port stop activity is completed. with the expected ackID, discard the
packet, and don’t change the expected
ackID. This will force the attached
device to initiate recovery starting at
the expected ackID. Clear the "Port
Normal" state and set the "Input
Retry-stopped" state.
7 stop_input retry_stopped Input port stop activity is complete.
Table C-1. Input Port Retry Recovery State Machine Transition Table (Continued)
Arc Current State Next state Cause Comments
8 retry_stopped retry_stopped Remain in this state until a The "Input Retry-stopped" state
restart-from-retry or link request causes the input port to silently
(restart-from-error) control symbol is discard all incoming packets and not
received or an input port error is change the expected ackID value.
encountered.
9 retry_stopped wait_for_retry Received a restart-from-retry or a link Clear the "Input Retry-stopped" state
request (restart-from-error) control and set the "Port Normal" state. An
symbol or an input port error is input port error shall cause a clean
encountered. transition between the retry recovery
state machine and the error recovery
state machine.
reset recovery_disabled
2 5
3
wait_for_retry
4
6
stop_output
9
8 7
recover
Table C-2 describes the state transition arcs for Figure C-2.
Table C-2. Output Port Retry Recovery State Machine Transition Table
Arc Current State Next state Cause Comments
1 recovery_disabled recovery_disabled Remain in this state until the output This is the initial state after reset. The
port is enabled to receive packets. output port can’t be enabled before
the initialization sequence has been
completed, and may be controlled
through other mechanisms as well,
such as a software enable bit.
2 recovery_disabled wait_for_retry Output port is enabled.
3 wait_for_retry wait_for_retry Remain in this state until a The packet-retry control symbol shall
packet-retry control symbol is be error free.
received.
4 wait_for_retry stop_output A packet-retry control symbol has Start the output port stop procedure.
been received.
5 wait_for_retry recovery_disabled Output port is disabled.
6 stop_output stop_output Remain in this state until the output Clear the "Port Normal" state, set the
port stop procedure is completed. "Output Retry-stopped" state, and
stop transmitting new packets.
7 stop_output recover Output port stop procedure is
complete.
8 recover recover Remain in this state until the internal The packet sent with the ackID value
recovery procedure is completed. returned in the packet-retry control
symbol and all subsequent packets
shall be retransmitted. Output port
state machines and the outstanding
ackID scoreboard shall be updated
with this information, then clear the
"Output Retry-stopped" state and set
the "Port Normal" state to restart the
output port.
Receipt of a packet-not-accepted
control symbol or other output port
error during this procedure shall
cause a clean transition between the
retry recovery state machine and the
error recovery state machine.
Send restart-from-retry control
symbol.
9 recover wait_for_retry Internal recovery procedure is Retransmission has started, so return
complete. to the wait_for_retry state to wait for
the next packet-retry control symbol.
reset recovery_disabled
2 5
3
wait_for_error
4
6
stop_input
9
7 8
error_stopped
Table C-3. Input Port Error Recovery State Machine Transition Table
Arc Current State Next state Cause Comments
1 recovery_disabled recovery_disabled Remain in this state until error This is the initial state after reset.
recovery is enabled. Error recovery can’t be enabled
before the initialization sequence has
been completed, and may be
controlled through other mechanisms
as well, such as a software enable bit.
2 recovery_disabled wait_for_error Error recovery is enabled.
3 wait_for_error wait_for_error Remain in this state until a Detected errors and the level of
recoverable error is detected. coverage is implementation
dependent.
4 wait_for_error stop_input A recoverable error has been An output port associated error will
detected. not cause this transition, only an input
port associated error.
5 wait_for_error recovery_disabled Error recovery is disabled.
6 stop_input stop_input Remain in this state until described Send a packet-not-accepted control
input port stop activity is completed. symbol and, if the error was on a
packet, discard the packet and don’t
change the expected ackID value.
This will force the attached device to
initiate recovery. Clear the "Port
Normal" state and set the "Input
Error-stopped" state.
7 stop_input error_stopped Input port stop activity is complete.
8 error_stopped error_stopped Remain in this state until a link The "Input Error-stopped" state
request (restart-from-error) control causes the input port to silently
symbol is received. discard all subsequent incoming
packets and ignore all subsequent
input port errors.
9 error_stopped wait_for_error Received a link request Clear the "Input Error-stopped" state
(restart-from-error) control symbol. and set the "Port Normal" state,
which will put the input port back in
normal operation.
reset recovery_disabled
2 5
3
wait_for_error
4
6
stop_output
10 12
9 7 8 11
recover fatal_error
1 recovery_disabled recovery_disabled Remain in this state until error This is the initial state after reset.
recovery is enabled. Error recovery can’t be enabled
before the initialization sequence has
been completed, and may be
controlled through other mechanisms
as well, such as a software enable bit.
2 recovery_disabled wait_for_error Error recovery is enabled.
3 wait_for_error wait_for_error Remain in this state until a Detected errors and the level of
recoverable error is detected. coverage is implementation
dependent.
4 wait_for_error stop_output A recoverable error has been An input port associated error will not
detected. cause this transition, only an output
port associated error.
5 wait_for_error recovery_disabled Error recovery is disabled.
Table C-4. Output Port Error Recovery State Machine Transition Table (Continued)
Arc Current State Next state Cause Comments
6 stop_output stop_output Remain in this state until an exit Clear the "Port Normal" state, set the
condition occurs. "Output Error-stopped" state, stop
transmitting new packets, and send a
link-request/input-status control
symbol. Ignore all subsequent output
port errors.
The input on the attached device is in
the "Input Error-stopped" state and is
waiting for a link-request/input-status
in order to be re-enabled to receive
packets.
An implementation may wish to
timeout several times before
regarding a timeout as fatal using a
threshold counter or some other
mechanism.
7 stop_output recover The link-response is received and An outstanding ackID is a value sent
returned an outstanding ackID value out on a packet that has not been
acknowledged yet. In the case where
no ackID is outstanding the returned
ackID value shall match the next
expected/next assigned ackID value,
indicating that the devices are
synchronized.
Recovery is possible, so follow
recovery procedure.
8 stop_output fatal_error The link-response is received and Recovery is not possible, so start
returned an ackID value that is not error shutdown procedure.
outstanding, or timed out waiting for
the link-response.
9 recover recover Remain in this state until the internal The packet sent with the ackID value
recovery procedure is completed. returned in the link-response and all
subsequent packets shall be
retransmitted. All packets transmitted
with ackID values preceding the
returned value were received by the
attached device, so they are treated as
if packet-accepted control symbols
have been received for them. Output
port state machines and the
outstanding ackID scoreboard shall
be updated with this information,
then clear the "Output Error-stopped"
state and set the ‘Port Normal" state
to restart the output port.
10 recover wait_for_error The internal recovery procedure is retransmission (if any was necessary)
complete. has started, so return to the
wait_for_error state to wait for the
next error.
Table C-4. Output Port Error Recovery State Machine Transition Table (Continued)
Arc Current State Next state Cause Comments
11 fatal_error fatal_error Remain in this state until error Clear the "Output Error-stopped"
shutdown procedure is completed. state, set the "Port Error" state, and
signal a system error.
12 fatal_error wait_for_error Error shutdown procedure is Return to the wait_for_error state.
complete.
Blank page
4. The data path and logic within the port run at a clock rate equal to the
aggregate unidirectional data rate of the link divided by 32. This is referred
to as the logic clock. One cycle of this clock is referred to a one logic clock
cycle. (If the aggregate unidirectional baud rate of the link was used to
compute the logic clock, the baud rate would be divided by 40. With 8B/10B
encoding, the baud rate is 1.25 times the data rate.)
5. The minimum length packet header is used. Write request packets have a
length of 12 bytes plus a payload containing an integer multiple of 8 bytes.
Read request packets have a length of 12 bytes. Read response packets have
a length of 8 bytes plus a payload containing an integer multiple of 8 bytes.
6. The beginning and end of each packet is delimited by a control symbol. A
single control symbol may delimit both the end of one packet and the
beginning of the next packet.
7. Packet acknowledgments are carried in packet delimiter control symbols
when ever possible to achieve the efficiency provided by the dual stype
control symbol. This implies that a packet acknowledgment must wait for an
end-of-packet control symbol if packet transmission is in progress when the
packet acknowledgment becomes available.
8. The logic and propagation delay in the packet transmission direction is
comprised of the following components.
Table D-1. Packet Transmission Delay Components
Item Time required
The packet times in the above tables depend on packet length which in turn depends
on packet type and payload size. Since packet traffic will typically involve a mixture
of packet types and payload sizes, the traffic in each direction will be assumed to
contain an equal number of read, write and response packets and average payloads
of 8, 32, and 64 bytes.
The number of logic clock cycles required to transmit or receive a packet is given in
the following table as a function of packet type and payload size.
Table D-3. Packet Delays
Packet Header Data Payload Transmit/Receive Time
Packet Type
bytes bytes logic clock cycles
Read 12 0 3
Response 8 8 4
32 10
64 18
Write 12 8 5
32 11
64 19
Using the above table and the assumed equal number of read, write and response
packets, the average number of logic clock cycles to transmit or received a packet is
4, 8, and 13.3 respectively for packet payloads of 8, 32, and 64 bytes. The average
wait for the completion of a packet being transmitted is assumed to be 1/2 the
transmit time.
The following table gives the maximum length of the optical fiber before the packet
transmission rate becomes limited by the critical resource for a 4x link operating at
unidirectional data rates of 4.0, 8.0 and 10.0 Gb/s.
Table D-4. Maximum Transmission Distances
Maximum Fiber Length Before
Number of Critical
Data Payload Critical Resource Limited (Meters)
Resources
(Bytes)
Available
4.0 Gb/s link 8.0 Gb/s link 10.0 Gb/s link
4 8 - - -
32 4.3 1.9 1.4
64 11.4 5.5 4.3
8 8 9.7 4.6 3.5
32 23.6 11.5 9.1
64 42.2 20.8 16.6
16 8 31.1 15.3 12.1
32 62.2 30.8 24.6
64 103.7 51.6 41.1
24 8 52.5 26.0 20.7
32 100.8 50.2 40.0
64 165.2 82.3 65.7
32 8 74.0 36.7 29.3
32 139.5 69.5 55.5
64 226.7 113.1 90.3
Blank page
5. System Host checks Switch A for its support of 2x mode on its lower
quad-link.
6. System Host writes to the Port Width Override CSR to force both Switch A
lower quad-link.
7. System Host puts Agent C back to 2x mode.
8. A 2x-link is established between Switch A and Agent C.
9. System Host discovers from Vendor Port-Width CAR in Agent B (not through
Switch A because the link was not established yet) that Agent B supports 4x
mode. It also discovers that Switch A supports multiple port configuration
(from its Vendor Specific registers) and its extra port is available (Vendor
Port-Width CAR).1
10. System Host configures the new port on the upper-quad link of Switch A.
11. Agent B now recognizes a 4x link partner.
12. A 4x link is now established between Switch A and Agent B.
5 6
8x
0 1 2 3 4 5 6 7 10
sRIO links 1 sRIO links
4 8
12
3 2 11
0 1 0 1 2 3
2x 7 4x 9
Agent C Agent B
1
Steps 9 to 12 are optional. Switch A is not required to support multiple-port configuration to be compliant.
G Globally shared memory (GSM). Cache coherent system memory that can
be shared between multiple processors in a system.