2. Serial RapidIO Interface > Lookup Tables
48
Tsi576 User Manual
June 6, 2016
Integrated Device Technology
www.idt.com
2.3.4.1
Hierarchical LUT Programming
This example demonstrates the process used to program the LUT in Hierarchical mode and uses
for reference.
To add the required entries shown in
after power-up, the following operations must be
performed:
1.
Program the LUT_512 bit = 0 in the SP8_MODE_CSR at offset 0x11804.
w 11804 0x02000000
2.
Program the Default Port = 0xA in the RIO_LUT_ATTR register at offset 0x0078. This operation
may be done at any time before packet traffic starts
w 0078 0x0A
3.
Program the Global LUT with the MSB of the DEST_IDs to be routed using the following write
operations:\
W 11870 0x0 / SP8_ROUTE_CFG_DESTID
W 11874 0x9 / SP8_ROUTE_CFG_PORT
W 11870 0x0100
W 11874 0x9
W 11870 0x0200
W 11874 0x9
W 11870 0xFE00
W 11874 0xE
W 11870 0xFF00
W 11874 0xE
4.
Program the MSB of the DEST_ID that will be used to index into the Local LUT by programming
the BASE field of the SP8_ROUTE_BASE register.
W 11878 0x28000000
The following example shows how to program the LUT in Port 8, but because all ports in the
Tsi576 are capable of operating in hierarchical mode, this procedure can be easily modified to
accommodate a different ingress port.
Steps 1 through 5 are in the JTAG script format for ease of re-use.