2. Serial RapidIO Interface > Lookup Tables
43
Tsi578 User Manual
June 6, 2016
Integrated Device Technology
www.idt.com
2.3.3.1
Flat LUT Programming
Each of the ports on the Tsi578 has its own lookup table. Each lookup table can be programmed with
different values which allows each port to route packets differently. The lookup table maps the packet
to the correct output port based on the destination ID. The capability of each port having their own
LUT is functionality that is not required in the
RapidIO Interconnect Specification (Revision 1.3)
.
LUT entries can be reprogrammed at any time during normal system operation. However, software
must ensure transactions have completed before reprogramming the LUTs.
shows an example of a LUT in flat mode. In this example, a destination ID of 0x0002, or
0x02, is routed by the switch to output port 1. A destination ID of 0x0003, or 0x03, is routed out port 0
and destination IDs greater than 0x1FF are routed out port 4.
Figure 8: Flat Mode LUT Configuration Example
Registers Used in Lookup Table Configuration
The Tsi578’s RapidIO interfaces are compliant with the
RapidIO Interconnect Specification
(Revision 1.3)
. The following standard RapidIO registers are used by the Tsi578 for programming the
lookup tables:
•
“RapidIO Route Configuration DestID CSR” on page 260
•
“RapidIO Route Configuration Output Port CSR” on page 261
•
“RapidIO Route LUT Size CAR” on page 256
•
“RapidIO Route LUT Attributes (Default Port) CSR” on page 262
•
“RapidIO Port x Local Routing LUT Base CSR” on page 316
Other related registers are IDT specific and include the following:
•
“RapidIO Port x Route Config DestID CSR” on page 314
00_00
02_00
FF_FF
02
03
01
04
etc.
512-LUT
Destination ID
Out of Range
00
DEFAULT_OUT_PORT in the
00_01
00_02
00_03
01_FF
00_04
RIO_LUT_ATTR register