IDT Programming the Device
Revision 1.5
Integrated Device Technology, Inc.
CPS-16/12/8 User Manual
8 - 6
July 10, 2012
8.2.5.2
Direct Route Table Programming (IDT Standard Route Programming)
The CPS device supports direct programming of the route tables without using the RIO CSRs described
above. There is global route table (0xE00000 - 0xE00400) and per-port route table (Port0: 0xE10000 -
0xE10400). A write to global route table will broadcast to all port route table register. A write to pre-port
route table will update pre-port route table only. It will not update the global route table. Register address
0xE00000 is represent destination ID 0x00, 0xE00004 is represent destination ID 0x01, etc. The value in
the register address 0xE00000 is represent output port number. For example, register address 0xE00000
has value 0x09, which means destination ID 0x00 output to port9. For more detail see section of Destina-
tion Address to Route Table Mapping below.
The routing table is accessed (read/write) through the use of RIO maintenance packets (or alternatively
through I
2
C or JTAG) by providing the address (which is the destination ID) and the data (which is the desti-
nation address) to the routing table.
When a packet is received, the device performs a read of the routing table at the address referred to by the
packet’s destination ID location and retrieves the destination reference to which it will forward the incoming
packet.
8.2.6 Programming Multicast Mask registers
The CPS supports the ability to access each of its 10 multicast mask registers indirectly through use of the
Multicast Mask Port CSR, the Multicast Associate Select CSR, and the Multicast Associate Operation CSR
as defined in "RapidIO Interconnect Specification, Part 9: Multicast Extensions Specification". The CPS
supports the use of a Multicast Mask Port CSR as defined in RIO Part 9 in order to assign ports to multicast
mask registers. It supports multicast mask querying via use of the Multicast Mask Port CSR as defined in
RIO Part 9. The CPS supports the association of destination IDs to multicast mask registers by providing a
Multicast Associate Select CSR and a Multicast Associate Operation CSR whose functionality is as defined
in RIO Part 9.
The CPS device does not support the following multicast models as defined in the part 9 RIO specification:
1) the Simple Multicast Association Model
2) the Per Ingress Port Association Model
3) the Block Association Model
The multicast mask values to be used in Multicast Mask Port CSR is as defined below.
Part 9 of the
RIO Specification
states that only non-response transactions are allowed to use
multicast. Further, Priority 3 packets should not be used since it's reserved for responses.
Unexpected behavior can results in the event of priority 3 multicast transactions are used.
Table 8.4 Multicast Mask Register References for Multicast Mask Port CSR Usage
A15
A14
A13
A12
A11
A10
A9
A8
A7
A6
A5
A4
A3
A2
A1
A0
Mask
Register
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
2
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
3
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
4
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
5
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
6
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
7