Main

Embedded Tri-mode Ethernet MAC Wrapper v4.1- Header file has incorrect mask values

AR# 23306

Search For Another Answer

Topic IP-Datacom/Storage
Last Updated 04/27/2006
Status Active
Description

Keywords: Virtex-4, TEMAC, tri-speed, patch, reset, 3-speed

Header file "xv4emac_l.h" has incorrect mask values. There are 2 #defines as follows in the xv4emac_l.h file:

/*
* MDIO Configuration Word Register
*/
#define XV4EMAC_MDIO_ENABLE_MASK 0x20 /* enable MII bit */
#define XV4EMAC_MDIO_CLOCK_DIV_MASK 0x1F /* clock divide bits */

Solution

A patch is available to fix this issue. See (Xilinx Answer 22332) to download the patch.

The MDIO enable bit is bit 6. Therefore, the enable mask should be 0x40 not 0x20.

The MDIO clock divide bits are 0:5. Therefore, the clock divide mask should be 0x3f.
 
 
/csi/footer.htm