English
Language : 

DS537 Datasheet, PDF (62/148 Pages) Xilinx, Inc – LogiCORE IP XPS LL TEMAC
LogiCORE IP XPS LL TEMAC (v2.03a)
4. Write to the LSW register (again using the same Ethernet interface) with the value for the Multicast Address
Table Access Word 1 [the multicast address (47:32) value, Write Enable bit set to 0, and the 2-bit address of the
Multicast Address Table register to be written].
5. Write to the CTL register (using the same Ethernet interface) setting the write enable (WEN) bit and providing
ADDRESS_CODE 0x38C. This is initiates a write to the Multicast Address Table Access Word 1 register. Writing
to the Multicast Address Table Access Word 1 initiates the update of the selected register (one of four possible)
in the Multicast Address Table.
6. Poll the RDY register for the Ethernet interface being accessed until the AF_WR bit is asserted or wait until the
HardAcsCmplt interrupt is asserted.
Table 39: Example of a Write to a Multicast Address Table Register
Register Access
Value
Activity
LSW0
Write
0xDDCCBBAA
Write the lower part of the multicast address that will go to the Multicast Address
Table Access Word 0 register for Ethernet interface 0
CTL0
Write
0x00008388
Initiate the write to the Multicast Address Table Access Word 0 register by setting
the write enable and providing the address for that indirectly addressed register
RDY0
Read
0x0001007F
or
0x0000006F
Poll ready register for Ethernet interface 0 until we see 0x0001007F indicating
that the Address Filter register write access is complete
LSW0
Write
0x0002FFEE
Write the upper part of the multicast address that will go to the Multicast Address
Table Access Word 1 register for Ethernet interface 0 along with the address of
the Multicast Address Table register we will write (2 in this case) and set the write
enable bit to 0
CTL0
Write
0x0000838C
Initiate the write to the Multicast Address Table Access Word 1 register by setting
the write enable and providing the address for that indirectly addressed register
RDY0
Read
0x0001007F
or
0x0000006F
Poll ready register for Ethernet interface 0 until we see 0x0001007F indicating
that the Address Filter register write access is complete
Reading from the Multicast Address Table Registers
To read the desired multicast address table register, a PLB write must be performed as follows:
1. Write to the LSW register (using the Ethernet interface 0 address or the Ethernet interface 1 address as
appropriate) with the value for the Multicast Address Table Access Word 1 [the Write Enable bit set to 1 and the
2-bit address of the Multicast Address Table register to be written].
2. Write to the CTL register (using the same Ethernet interface) setting the write enable (WEN) bit and providing
ADDRESS_CODE 0x38C. This is initiates a write to the Multicast Address Table Access Word 1 register.
3. Poll the RDY register for the Ethernet interface being accessed until the AF_RR bit is asserted or wait until the
HardAcsCmplt interrupt is asserted.
4. Read the MSW and LSW (using the same Ethernet interface) to return the multicast address (47:32) and
multicast address (31:0) respectively for the Multicast Address Table Register selected.
www.xilinx.com
62