Sign In
Upload
Manuals
Brands
IDT Manuals
Switch
Tsi578
User Manuals: IDT Tsi578 RapidIO Switch
Manuals and User Guides for IDT Tsi578 RapidIO Switch. We have
1
IDT Tsi578 RapidIO Switch manual available for free PDF download: User Manual
IDT Tsi578 User Manual (527 pages)
Serial RapidIO Switch
Brand:
IDT
| Category:
Switch
| Size: 2.85 MB
Table of Contents
User Manual
1
Table of Contents
3
About this Document
17
Scope
17
Document Conventions
17
Revision History
18
1 Functional Overview
21
Overview
21
Figure 1: Block Diagram
22
Figure 2: Processor Farm Mezzanine Diagram
23
Figure 3: Switch Carrier Blade
23
Features
24
Serial Rapidio Interface
26
Features
26
Transaction Flow Overview
26
Maintenance Requests
27
Control Symbols
27
Multicast Engine
27
Multicast Operation
27
Features
28
Serial Rapidio Electrical Interface
28
Figure 4: Tsi578 MAC Block Diagram
29
Internal Switching Fabric (ISF)
30
Internal Register Bus (AHB)
30
I 2 C Interface
30
JTAG Interface
32
2 Serial Rapidio Interface
35
Overview
35
Features
35
Transaction Flow Overview
36
Maintenance Requests
36
Control Symbols
36
Transaction Flow
37
Lookup Tables
37
Filling the Lookup Tables
38
Figure 5: LUT Mode of Operation
39
LUT Modes
40
Flat Mode
40
Figure 6: Flat Mode Routing
41
Figure 7: Flat Mode Routing Example
42
Figure 8: Flat Mode LUT Configuration Example
43
Hierarchical Mode
45
Figure 9: Hierarchical Mode
46
Figure 10: Hierarchical Mode Routing Example
47
Mixed Mode of Operation
49
Lookup Table Parity
49
Lookup Table Error Summary
50
Table 1: Error Summary
50
Lookup Table Entry States
51
Table 2: Lookup Table States
51
Maintenance Packets
53
Table 3: Examples of Maintenance Packets with Hop Count = 0 and Associated Tsi578 Responses
53
Multicast Event Control Symbols
55
MCS Reception
55
Generating an MCS
56
Restrictions
56
Reset Control Symbol Processing
57
Data Integrity Checking
57
Packet Data Integrity Checking
57
Control Symbol Data Integrity Checking
57
Error Management
57
Software Assisted Error Recovery
58
Hot Insertion and Hot Extraction
59
Hot Insertion
60
Hot Extraction
61
Hot Extraction System Notification
62
Loss of Lane Synchronization
62
Figure 11: LOLS Silent Period
63
Dead Link Timer
64
Lane Sync Timer
64
3 Serial Rapidio Electrical Interface
65
Overview
65
Figure 12: Tsi578 MAC Block Diagram
66
Port Numbering
67
Port Configuration
67
Table 4: Tsi578 Port Numbering
67
Port Aggregation: 1X and 4X Modes
68
Figure 13: Port Configuration
68
1X + 1X Configuration
69
4X Configuration
69
Clocking
70
Table 5: Reference Clock Frequency and Supported Serial Rapidio Data Rates
70
Changing the Clock Speed
71
Changing the Clock Speed through I C
71
Port Power down
72
Default Configurations on Power down
72
Special Conditions for Port 0 Power down
73
Power-Down Options
73
Configuration and Operation through Power-Down
73
Table 6: Serial Port Power-Down Procedure
73
Port Lanes
74
Lane Synchronization and Alignment
75
Lane Swapping
75
Table 7: Lane Sequence
75
Programmable Transmit and Receive Equalization
77
Transmit Drive Level and Equalization
77
Receive Equalization
78
Figure 14: Drive Strength and Equalization Waveform
78
Port Loopback Testing
79
Figure 15: Tsi578 Loopbacks
79
Digital Equipment Loopback
80
Logical Line Loopback
80
Bit Error Rate Testing (BERT)
80
BERT Pattern Generator
80
Table 8: Patterns Supported by Generator
80
BERT Pattern Matcher and Error Counter
82
Fixed Pattern-Based BERT
82
Table 9: Patterns Supported by Matcher
82
Using PRBS Scripts for the Transmitters and Receivers
83
4 Internal Switching Fabric
85
Overview
85
Functional Behavior
86
Figure 16: ISF Block Diagram
86
Transfer Modes
87
Arbitration for Egress Port
88
Strict Priority Arbitration
88
Figure 17: Egress Arbitration: Weighted Round Robin and Strict Priority
88
Weighted Round Robin (WRR) Arbitration
89
Figure 18: Weighted Round Robin Arbiter Per Priority Group
89
Table 10: Sample Register Settings for WRR in a Given Priority Group (WRR_EN=1)
90
Packet Queuing
91
Output Queuing on the Egress Port
91
Figure 19: Ingress and Egress Packet Queues in Tsi578
91
Table 11: Examples of Use of Watermarks
93
Input Queue for the ISF Port
94
Input Arbitration
95
Input Queuing Model for the Multicast Work Queue
99
Input Queuing Model for the Broadcast Buffer
100
Output Queuing Model for Multicast
100
ISF Bandwidth
100
5 Multicast
103
Overview
103
Multicast Operation
103
Features
103
Multicast Operation with Multiple Tsi57X Switches
104
Figure 20: Multicast Operation - Option 1
104
Multicast Terminology
105
Figure 21: Multicast Operation - Option 2
105
Table 12: Multicast Terminology
105
Multicast Behavior Overview
106
Multicast Work Queue
107
Broadcast Buffers
107
Figure 22: Multicast Packet Flow in the Tsi578
108
Multicast Group Tables
110
Configuring Basic Associations
112
Figure 23: Relationship Representation
112
Configuring Multicast Masks
113
Figure 24: Completed Tables at the End of Configuration
114
Configuring Multicast Masks Using the IDT Specific Registers
116
Arbitration for Multicast Engine Ingress Port
117
Figure 25: IDT-Specific Multicast Mask Configuration
117
Error Management of Multicast Packets
118
Packet TEA
118
Multicast Packet Stomping
118
Figure 26: Arbitration Algorithm for Multicast Port
118
Multicast Maximum Latency Timer
119
Silent Discard of Packets
120
Port-Writes and Multicast
120
Port Reset
120
6 Event Notification
121
Overview
121
Event Summary
122
Table 13: Tsi578 Events
122
Error Rate Thresholds
126
Maintaining Packet Flow
127
Error Stopped State Recovery
128
Error Stopped States
128
Link Error Clearing and Recovery
129
Figure 27: Control Symbol Format
130
Event Capture
131
Table 14: Error Rate Error Events
132
Port-Write Notifications
133
Destination ID
134
Payload
134
Servicing Port-Writes
135
Table 15: Port Write Packet Data Payload - Error Reporting
135
Port-Writes and Hot Insertion/Hot Extraction Notification
136
Port-Writes and Multicast
136
Interrupt Notifications
136
Figure 28: Rapidio Block Interrupt and Port Write Hierarchy
137
Global Interrupt Status Register and Interrupt Handling
138
Int_B Signal
138
Table 16: Port X Error and Status Register Status
139
Interrupt Notification and Port-Writes
140
Reset Control Symbol and Interrupt Handling
140
7 I C Interface
141
I 2 C Interface
141
Overview
141
Protocol Overview
143
Block Diagram
144
Figure 29: I 2 C Block Diagram
145
Figure 30: I 2 C Reference Diagram
146
Tsi578 as I 2 C Master
147
Figure 31: Software-Initiated Master Transactions
148
Example EEPROM Read and Write
149
Master Clock Generation
149
Master Bus Arbitration
150
Master External Device Addressing
150
Master Peripheral Addressing
150
Master Data Transactions
151
Tsi578 as I 2 C Slave
151
Slave Clock Stretching
153
Figure 32: Transaction Protocols for Tsi578 as Slave
153
Slave Device Addressing
154
Slave Peripheral Addressing
154
External I C Register Map
155
Table 17: Externally Visible I 2 C Register Map
155
Slave Write Data Transactions
156
Slave Read Data Transactions
157
Slave Internal Register Accesses
157
Slave Access Examples
158
Resetting the I 2 C Slave Interface
161
Mailboxes
161
Figure 33: I 2 C Mailbox Operation
162
Incoming Mailbox
163
Outgoing Mailbox
163
Smbus Support
163
Unsupported Smbus Features
164
Smbus Protocol Support
164
Figure 34: Smbus Protocol Support
165
Smbus Alert Response Protocol Support
166
Boot Load Sequence
166
Figure 35: Smbus Alert Response Protocol
166
Figure 36: Boot Load Sequence
167
EEPROM Reset Sequence
168
Idle Detect
168
Wait for Bus Idle
168
EEPROM Device Detection
169
Loading Register Data from EEPROM
169
Chaining
170
EEPROM Data Format
170
Table 18: Format for Boot Loadable EEPROM
171
Table 19: Sample EEPROM Loading Two Registers
171
I2C Boot Time
172
Table 20: Sample EEPROM with Chaining
172
Accelerating Boot Load
173
Error Handling
174
Table 21: I 2 C Error Handling
174
Interrupt Handling
176
Figure 37: I 2 C Interrupt Generation
176
Events Versus Interrupts
177
Figure 38: I 2 C Event and Interrupt Logic
178
Timeouts
179
Table 22: I 2 C Interrupt to Events Mapping
179
Figure 39: I 2 C Timeout Periods
182
Bus Timing
183
Figure 40: I 2 C Bus Timing Diagrams
184
I2C_SD Setup and Hold
185
Start/Restart Condition Setup and Hold
185
Stop Condition Setup
185
I2C_SCLK Nominal and Minimum Periods
186
Idle Detect Period
186
8 Performance
187
Overview
187
Throughput
187
Latency
187
Performance Monitoring
188
Figure 41: Latency Illustration
188
Table 23: Performance Monitoring Parameters
189
Throughput
190
Traffic Efficiency
190
Bottleneck Detection
191
Congestion Detection
191
Resetting Performance Registers
191
Configuring the Tsi578 for Performance Measurements
192
Clock Speeds
192
Tsi578 ISF Arbitration Settings
192
Tsi578 Rapidio Transmission Scheduler Settings
193
Tsi578 Rapidio Buffer Watermark Selection Settings
193
Port-To-Port Performance Characteristics
193
Port-To-Port Packet Latency Performance
193
Packet Throughput Performance
194
Table 24: 4X/1X Latency Numbers under no Congestion
194
Multicast Performance
195
Congestion Detection and Management
196
Table 25: 4X/1X Multicast Latency Numbers under no Congestion
196
Figure 42: Congestion and Detection Flowchart
197
Congestion Registers
198
Figure 43: Congestion Example
200
9 JTAG Interface
201
Overview
201
JTAG Device Identification Number
202
JTAG Register Access Details
202
Format
202
Figure 44: Register Access from JTAG - Serial Data in
202
Figure 45: Register Access from JTAG - Serial Data out
202
Write Access to Registers from the JTAG Interface
203
Read Access to Registers from the JTAG Interface
203
10 Clocks, Resets and Power-Up Options
205
Clocks
205
Clocking Architecture
206
Figure 46: Tsi578 Clocking Architecture
206
Serdes Clocks
207
Reference Clocks
207
Table 26: Tsi578 Input Reference Clocks
207
Clock Domains
208
Clock Gating
208
Table 27: Tsi578 Clock Domains
208
Resets
209
Device Reset
209
Per-Port Reset
211
Generating a Rapidio Reset Request to a Peer Device
211
JTAG Reset
211
Power-Up Options
212
Power-Up Option Signals
212
Table 28: Power-Up Options Signals
213
Default Port Speed
214
Port Power-Up and Power-Down
214
Port Width Override
214
11 Signals
215
Overview
215
Table 29: Signal Types
215
Endian Ordering
216
Port Numbering
216
Table 30: Tsi578 Port Numbering
216
Signal Groupings
218
Figure 47: Signal Groupings
218
Table 31: Tsi578 Signal Descriptions
219
Pinlist and Ballmap
227
12 Serial Rapidio Registers
229
Overview
229
Table 32: Address Rules
229
Reserved Register Addresses and Fields
230
Table 33: Register Access Types
230
Port Numbering
231
Conventions
231
Table 34: Port Numbering
231
Register Map
233
Table 35: Register Map Overview
233
Table 36: Register Map
234
Rapidio Logical Layer and Transport Layer Registers
245
Rapidio Device Identity CAR
246
Rapidio Device Information CAR
247
Rapidio Assembly Identity CAR
248
Rapidio Assembly Information CAR
249
Rapidio Processing Element Features CAR
250
Rapidio Switch Port Information CAR
252
Rapidio Source Operation CAR
253
Rapidio Switch Multicast Support CAR
255
Rapidio Route LUT Size CAR
256
Rapidio Switch Multicast Information CAR
257
Rapidio Host Base Device ID Lock CSR
258
Rapidio Component Tag CSR
259
Rapidio Route Configuration Destid CSR
260
Rapidio Route Configuration Output Port CSR
261
Rapidio Route LUT Attributes (Default Port) CSR
262
Rapidio Multicast Mask Configuration Register
263
Rapidio Multicast Destid Configuration Register
265
Rapidio Multicast Destid Association Register
266
Rapidio Physical Layer Registers
268
Table 37: Physical Interface Register Offsets
268
Rapidio 1X or 4X Switch Port Maintenance Block Header
270
Rapidio Switch Port Link Timeout Control CSR
271
Rapidio Switch Port General Control CSR
272
Rapidio Serial Port X Link Maintenance Request CSR
273
Rapidio Serial Port X Link Maintenance Response CSR
275
Rapidio Serial Port X Local Ackid Status CSR
276
Rapidio Port X Error and Status CSR
278
Rapidio Serial Port X Control CSR
281
Rapidio Error Management Extension Registers
285
Table 38: Error Management Registers
285
Port Behavior When Error Rate Failed Threshold Is Reached
286
Table 39: STOP_FAIL_EN and DROP_EN Setting
286
Rapidio Error Reporting Block Header
287
Rapidio Logical and Transport Layer Error Detect CSR
288
Rapidio Logical and Transport Layer Error Enable CSR
289
Rapidio Logical and Transport Layer Address Capture CSR
290
Rapidio Logical and Transport Layer Device ID Capture CSR
291
Rapidio Logical and Transport Layer Control Capture CSR
292
Rapidio Port-Write Target Device ID CSR
293
Rapidio Port X Error Detect CSR
294
Rapidio Port X Error Rate Enable CSR
297
Rapidio Port X Error Capture Attributes CSR and Debug 0
299
Table 40: ERR_TYPE Values
300
Rapidio Port X Packet and Control Symbol Error Capture CSR 0 and Debug 1
301
Rapidio Port X Packet Error Capture CSR 1 and Debug 2
302
Rapidio Port X Packet Error Capture CSR 2 and Debug 3
302
Rapidio Port X Packet Error Capture CSR 3 and Debug 4
303
Rapidio Port X Error Rate CSR
304
Rapidio Port X Error Rate Threshold CSR
306
IDT-Specific Rapidio Registers
307
Table 41: IDT-Specific Broadcast Rapidio Registers
307
Table 42: IDT-Specific Per-Port Performance Registers
308
Rapidio Port X Discovery Timer
309
Rapidio Port X Mode CSR
310
Rapidio Port X Multicast-Event Control Symbol and Reset Control Symbol Interrupt CSR
312
Rapidio Port X Rapidio Watermarks
313
Rapidio Port X Route Config Destid CSR
314
Rapidio Port X Route Config Output Port CSR
315
Rapidio Port X Local Routing LUT Base CSR
316
Rapidio Multicast Write ID X Register
317
Rapidio Multicast Write Mask X Register
318
Rapidio Port X Control Independent Register
319
Rapidio Port X Send Multicast-Event Control Symbol Register
322
Rapidio Port X LUT Parity Error Info CSR
323
Rapidio Port X Control Symbol Transmit
325
Rapidio Port X Interrupt Status Register
326
Rapidio Port X Interrupt Generate Register
329
IDT-Specific Performance Registers
331
Table 43: IDT-Specific Per-Port Performance Registers
331
Rapidio Port X Performance Statistics Counter 0 and 1 Control Register
332
Rapidio Port X Performance Statistics Counter 2 and 3 Control Register
336
Rapidio Port X Performance Statistics Counter 4 and 5 Control Register
340
Rapidio Port X Performance Statistics Counter 0 Register
344
Rapidio Port X Performance Statistics Counter 1 Register
345
Rapidio Port X Performance Statistics Counter 2 Register
346
Rapidio Port X Performance Statistics Counter 3 Register
347
Rapidio Port X Performance Statistics Counter 4 Register
348
Rapidio Port X Performance Statistics Counter 5 Register
349
Rapidio Port X Transmitter Output Queue Depth Threshold Register
350
Rapidio Port X Transmitter Output Queue Congestion Status Register
352
Rapidio Port X Transmitter Output Queue Congestion Period Register
354
Rapidio Port X Receiver Input Queue Depth Threshold Register
355
Rapidio Port X Receiver Input Queue Congestion Status Register
357
Rapidio Port X Receiver Input Queue Congestion Period Register
359
Rapidio Port X Reordering Counter Register
360
Serial Port Electrical Layer Registers
361
Table 44: IDT-Specific Rapidio Registers
361
BYPASS_INIT Functionality
362
Table 45: Serial Port Electrical Layer Registers
362
SRIO MAC X Serdes Configuration Channel 0
363
SRIO MAC X Serdes Configuration Channel 1
366
SRIO MAC X Serdes Configuration Channel 2
368
SRIO MAC X Serdes Configuration Channel 3
370
SRIO MAC X Serdes Configuration Global
372
Table 46: TX_LVL Values
373
Table 47: AC JTAG Level Programmed by ACJT_LVL[4:0]
374
SRIO MAC X Serdes Configuration Globalb
376
SRIO MAC X Digital Loopback and Clock Selection Register
377
Internal Switching Fabric (ISF) Registers
380
Fabric Control Register
380
Fabric Interrupt Status Register
382
Rapidio Broadcast Buffer Maximum Latency Expired Error Register
384
Rapidio Broadcast Buffer Maximum Latency Expired Override
386
Utility Unit Registers
388
Global Interrupt Status Register
388
Global Interrupt Enable Register
390
Rapidio Port-Write Timeout Control Register
392
Rapidio Port Write Outstanding Request Register
393
MCES Pin Control Register
394
Multicast Registers
395
Rapidio Multicast Register Version CSR
395
Rapidio Multicast Maximum Latency Counter CSR
396
Rapidio Port X ISF Watermarks
397
Port X Prefer Unicast and Multicast Packet Prio 0 Register
398
Port X Prefer Unicast and Multicast Packet Prio 1 Register
399
Port X Prefer Unicast and Multicast Packet Prio 2 Register
400
Port X Prefer Unicast and Multicast Packet Prio 3 Register
401
Serdes Per Lane Register
402
Table 48: Serdes Register Map
402
Serdes Lane 0 Pattern Generator Control Register
403
Serdes Lane 1 Pattern Generator Control Register
404
Serdes Lane 2 Pattern Generator Control Register
405
Serdes Lane 3 Pattern Generator Control Register
406
Serdes Lane 0 Pattern Matcher Control Register
407
Serdes Lane 1 Pattern Matcher Control Register
408
Serdes Lane 2 Pattern Matcher Control Register
409
Serdes Lane 3 Pattern Matcher Control Register
410
Serdes Lane 0 Frequency and Phase Value Register
411
Serdes Lane 1 Frequency and Phase Value Register
412
Serdes Lane 2 Frequency and Phase Value Register
413
Serdes Lane 3 Frequency and Phase Value Register
414
13 I2C Registers
415
Register Map
415
Table 49: I 2 C Register Map
415
Register Descriptions
418
I 2 C Device ID Register
418
I 2 C Reset Register
419
C Master Configuration Register
420
C Master Control Register
422
Table 50: Master Operation Sequence
424
C Master Receive Data Register
425
C Master Transmit Data Register
426
C Access Status Register
427
C Interrupt Status Register
430
C Interrupt Enable Register
433
C Interrupt Set Register
435
C Slave Configuration Register
437
C Boot Control Register
440
Externally Visible I C Internal Write Address Register
444
Externally Visible I C Internal Write Data Register
445
Externally Visible I C Internal Read Address Register
446
Externally Visible I C Internal Read Data Register
447
Externally Visible I C Slave Access Status Register
448
Externally Visible I C Internal Access Control Register
450
Externally Visible I C Status Register
452
Externally Visible I C Enable Register
456
Externally Visible I C Outgoing Mailbox Register
460
Externally Visible I C Incoming Mailbox Register
461
C Event and Event Snapshot Registers
462
C New Event Register
466
C Enable Event Register
469
C Time Period Divider Register
472
I 2 C Start Condition Setup/Hold Timing Register
473
C Stop/Idle Timing Register
474
I2C_SD Setup and Hold Timing Register
475
I2C_SCLK High and Low Timing Register
476
I2C_SCLK Minimum High and Low Timing Register
477
I2C_SCLK Low and Arbitration Timeout Register
478
I 2 C Byte/Transaction Timeout Register
479
I 2 C Boot and Diagnostic Timer
480
I 2 C Boot Load Diagnostic Progress Register
481
C Boot Load Diagnostic Configuration Register
482
Serial Rapidio Protocol Overview
483
Protocol
483
Packets
483
Control Symbols
484
Physical Layer
484
PCS Layer
484
PMA Layer
484
Physical Protocol
484
A.2.1 Control Symbols
484
Table 51: Special Characters and Encoding
485
Table 52: Control Symbol Construction
486
Clocking
489
Line Rate Support
489
Table 53: Tsi578 Supported Line Rates
489
Register Requirements Using 125 Mhz S_CLK for a 3.125 Gbps Link Rate
490
P_CLK Programming
493
Rapidio Specifications Directly Affected by Changes in the P_CLK Frequency
493
B.2 P_CLK Programming
493
Table 54: Timer Values with P_CLK and TVAL Variations
494
Table 55: Timer Values with DISCOVERY_TIMER and P_CLK Variations
495
IDT Specific Timers
496
Table 56: Timer Values with P_CLK and DLT_THRESH Variations
496
I 2 C Interface and Timers
497
I 2 C Time Period Divider Register
497
I 2 C Stop/Idle Timing Register
498
Other Performance Factors
503
PRBS Scripts
505
Tsi578_Start_Prbs_All.txt Script
505
Tsi578_Framer_Disable.txt Script
507
C.2 Tsi578_Framer_Disable.txt Script
507
Tsi578_Sync_Prbs_All.txt Script
508
C.3 Tsi578_Sync_Prbs_All.txt Script
508
Tsi578_Read_Prbs_All.txt Script
511
C.4 Tsi578_Read_Prbs_All.txt Script
511
EEPROM Scripts
515
Script
515
Index
523
Advertisement
Advertisement
Related Products
IDT Tsi572
IDT Tsi381
IDT Tsi84
IDT Tsi620
IDT Tsi310TM
IDT Tsi340-RDK1
IDT Tsi382 LQFP
IDT TSI384
IDT Tsi350A
IDT 89HPES12N3
IDT Categories
Motherboard
Switch
Computer Hardware
Microcontrollers
Accessories
More IDT Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL