LAN9211_0711 SMSC [SMSC Corporation], LAN9211_0711 Datasheet - Page 34

no-image

LAN9211_0711

Manufacturer Part Number
LAN9211_0711
Description
High-Performance Small Form Factor Single-Chip Ethernet Controller with HP Auto-MDIX
Manufacturer
SMSC [SMSC Corporation]
Datasheet
High-Performance Small Form Factor Single-Chip Ethernet Controller with HP Auto-MDIX
Datasheet
Note: CSR and status FIFO accesses are not affected by the FPORTEND and FSELEND endianess
select bits.
3.7.4
Word Swap Function
In addition to mixed endian functionality, the LAN9211 supports a Word Swap Function. This feature
is controlled by the Word Swap Register, which is described in
Section 5.3.17, "WORD_SWAP—Word
Swap Control," on page
98. This register affects how words on the data bus are written to or read from
the Control and Status Registers and the Transmit and Receive Data/Status FIFOs.
Both the word swap function and the mixed endian control bits contain the ability to change the byte
ordering of host data path accesses.
Figure 3.2
illustrates the order in which the word swap and
endianess select logic is applied within the LAN9211. Logically, the endian control logic is applied after
the word swap logic for write operations, and before the word swap logic for read operations.
R X/TX D ata FIFO Port
R X/TX D ata FIFO D irect
C SR s and Status FIFO s
A ccess (addresses 00h to
A ccess
3C h)
(FIFO _SEL = 1)
FIFO Port Endian O rdering
D irect FIFO A ccess Endian
FSELEN D
FPO R TEN D
(H W _C FG [28])
Logic
O rdering Logic
(H W _C FG [29])
"W O R D SW A P"
W O R D _SW A P
Logic
D [15:0]
(H ost D ata B us)
Figure 3.2 LAN9211 Host Data Path Diagram
Data path operations for the various supported endianess and word swap configurations are illustrated
in
Figure
3.3.
Table 3.8, "Endian Ordering Logic Operation"
illustrates the byte ordering applied by the
endian logic for each type of host access. This figure and table assume an internal byte ordering of 3-
2-1-0, where ‘3’ is the most significant byte (data[31:24]) and ‘0’ is the least significant byte (data[7:0]).
LAN9211
Revision 1.93 (11-27-07)
34
SMSC
DATASHEET

Related parts for LAN9211_0711