This is an old revision of the document!
The util_mii_to_rmii IP core is designed to interface the Zynq-7000/Zynq UltraScale+ MPSoC - PS Gigabit Ethernet MAC and Reduced Media Independent Interface (RMII) ADIN1300 PHY from the CN0506 Dual PHY Ethernet evaluation board.
Name | Description |
---|---|
mac_phy_link.v | Verilog source for the conversion between MII MAC block interface and RMII PHY chip interface. |
phy_mac_link.v | Verilog source for the conversion between RMII PHY chip interface and MII MAC block interface. |
util_mii_to_rmii.v | Verilog source for the main module made of the MII and RMII interfaces. |
Name | Description | Default |
---|---|---|
INTF_CFG | MAC Block Interface Selection (0 = GMII, 1 = MII). | 0 |
RATE_10_100 | Data Rate Selection (0 = 100 Mbps, 1 = 10 Mbps). | 0 |
Interface | Pin | Type | Description |
---|---|---|---|
MAC-PHY Link (MII MAC Block to RMII PHY) | MII to RMII conversion signals | ||
mac_txd | input [3:0] | MII Transmit Data | |
mac_tx_en | input | MII Transmit Enable | |
mac_tx_er | input | MII Transmit Error | |
mii_tx_clk | output | MII Transmit Clock | |
rmii_txd | output [1:0] | RMII (PHY) Transmit Data | |
rmii_tx_en | output | RMII (PHY) Transmit Enable | |
PHY-MAC Link (RMII PHY to MII MAC Block) | RMII to MII conversion signals | ||
mii_col | output | MII Collision Detect signal (only in half-duplex mode) | |
mii_crs | output | MII Carrier Sense signal (only in half-duplex mode) | |
mii_rxd | input [3:0] | MII Receive Data | |
mii_rx_clk | input | MII Receive Clock | |
mii_rx_dv | input | MII Receive Data Valid | |
mii_rx_er | input | MII Receive Error | |
phy_crs_dv | output | PHY (RMII) Carrier Sense/Data Valid | |
phy_rxd | output[1:0] | PHY (RMII) Receive Data | |
phy_rx_er | output | PHY (RMII) Receive Error | |
External | |||
ref_clk | input | Reference Clock for MII to RMII IP core | |
reset_n | input | Active-Low reset for MII to RMII IP core |
There is no register map defined for this IP core.
The following timing diagrams illustrate different signal protocols for MII and RMII interfaces at data rates of 100 and 10 Mbps.
Analog Devices recommends to use the provided software drivers.