![Xilinx Virtex-4 RocketIO User Manual Download Page 73](http://html1.mh-extra.com/html/xilinx/virtex-4-rocketio/virtex-4-rocketio_user-manual_3383739073.webp)
Embedded Tri-Mode Ethernet MAC User Guide
73
UG074 (v2.2) February 22, 2010
Host Interface
R
shows the block diagram of the host interface.
Generic Host Bus
When the generic host bus is used, the HOSTEMAC1SEL signal selects between the host
access of EMAC0 or EMAC1. When HOSTEMAC1SEL is asserted, the host accesses
EMAC1. If only one Ethernet MAC is used, this signal can be tied-off to use either one of
the Ethernet MACs.
To use the DCR bus for the host interface, the DCREMACENABLE signal is asserted.
Because the DCREMACENABLE signal is input from the fabric, it can be tied-off to select
between the DCR bus or the generic host bus during the FPGA power-up configuration.
When using the PowerPC processor and its DCR bus interface to control the Ethernet MAC
registers, either connect the EMAC DCREMACENABLE port to the PPC405
DCREMACENABLER port or assert the DCREMACENABLE input to the EMAC.
The PowerPC processor serves as host processor when a DCR bus is used. Interrupt
request is one of the methods used by the PowerPC processor to determine when the host
interface completes a DCR host access command.
The interrupt request DCRHOSTDONEIR signal is only active when the DCR bus is used,
and the host interface register IRENABLE is programmed to enable interrupt. This signal is
active High and level sensitive. When a host access through the DCR bus is completed, the
DCRHOSTDONEIR signal is asserted. The host needs to service the interrupt request and
clear the host interface register (IRSTATUS) to deassert this signal. See
for a description of the DCR.
Access to the management interface depends on the type of transaction.
shows
the access method required for each transaction type.
Figure 3-39:
Ethernet MAC Host Interface Block Diagram
u
g074_3_41_080805
EMAC0
Ethernet MAC Block
Ho
s
t Interf
a
ce
FPGA F
ab
ric
MIIM
S
EL0
DCRHO
S
TDONEIR
HO
S
TEMAC1
S
EL
HO
S
TADDR[9:0]
HO
S
TMIIM
S
EL
HO
S
TCLK
HO
S
TMIIMRDY
HO
S
TRDDATA[31:0]
HO
S
TWRDATA[31:0]
HO
S
TOPCODE[1:0]
HO
S
TREQ
DCR B
us
DCREMACENABLE
REQ0
OPCODE0
ADDR0
WRD0
MIIMRDY0
RDD0
EMAC1
MIIM
S
EL1
REQ1
OPCODE1
ADDR1
WRD1
MIIMRDY1
RDD1
(All intern
a
l
s
ign
a
l
s
)
(Connected intern
a
lly
to PowerPC)
www.BDTIC.com/XILINX