2. Serial RapidIO Interface > Lookup Tables
44
Tsi578 User Manual
June 6, 2016
Integrated Device Technology
www.idt.com
•
“RapidIO Port x Route Config Output Port CSR” on page 315
•
“RapidIO Port x Local Routing LUT Base CSR” on page 316
Other indirectly related (multicast) registers include:
•
“RapidIO Multicast Mask Configuration Register” on page 263
•
“RapidIO Multicast DestID Configuration Register” on page 265
Lookup Table Configuration Examples
The Tsi578 lookup tables can be configured through an external EEPROM or through software
maintenance writes to the Tsi578 registers.
The following sequence programs the lookup tables using the broadcast (BC) offset:
1.
Write the destination ID to be configured or queried using the broadcast (BC) offset (0x10070) in
the
“RapidIO Port x Route Config DestID CSR” on page 314
.
2.
Read the
“RapidIO Port x Route Config Output Port CSR” on page 315
register to determine the
current egress port for the destination ID, or write this register to change the configuration of the
destination ID.
Example One: Adding a Lookup Table Entry
In the following example, routing is added for all ports to route destination ID 0x98 to output port
0x4.To add a lookup table, perform the following steps:
1.
Write to the
“RapidIO Port x Route Config DestID CSR” on page 314
, using the broadcast offset
(0x10070), with a value of 0x00000098. This makes the destination ID 0x98.
2.
Write to the
“RapidIO Port x Route Config Output Port CSR” on page 315
, using the broadcast
(BC) offset (0x10074), a value of 0x00000004. This makes the egress Port 0x4 for destination ID
0x98.
All lookup table entries are in an unknown state after power-up. All entries should be
programmed to a mapped or unmapped state to ensure predictable operation. IDT strongly
recommends that the value 0xFF be used as the port value for writing unmapped lookup table
entries. An unmapped lookup table entry returns the value of 0xFF as the port value when
read.
IDT strongly recommends that the entire lookup table be configured on each port to avoid
undefined lookup table entries which can cause non-deterministic behavior.
Содержание Tsi578
Страница 1: ...IDT Tsi578 Serial RapidIO Switch User Manual June 6 2016 Titl ...
Страница 20: ...About this Document 20 Tsi578 User Manual June 6 2016 Integrated Device Technology www idt com ...
Страница 102: ...4 Internal Switching Fabric Packet Queuing 102 Tsi578 User Manual June 6 2016 Integrated Device Technology www idt com ...
Страница 228: ...11 Signals Pinlist and Ballmap 228 Tsi578 User Manual June 6 2016 Integrated Device Technology www idt com ...
Страница 504: ...B Clocking P_CLK Programming 504 Tsi578 User Manual June 6 2016 Integrated Device Technology www idt com ...
Страница 526: ...Index 526 Tsi578 User Manual June 6 2016 Integrated Device Technology www idt com ...