Hi @VijayaJangam1
I have checked your some code.
I have some advices.
1. I think your PHY may not complete auto-negotiation before EMAC is enabled.
So i think you can
while (!phy_link_up()) { dly(1000000); } // Wait for stable link
2. Did you config the ENET_TX_EN, ENET_TXD0, ENET_TXD1, ENET_REF_CLK pin?
BR
Harry