Verilog design code for ETHERNET Protocol

Hi,

I am learning about Ethernet protocol from basics. Ethernet Architecture and how it will work and about the frame format I want to do the verification of Ethernet protocol in UVM. I want a design code for the Ethernet. Can you please help me by providing the design code(in Verilog) for Ethernet.

Thanks in advance
Harshavardhan

In reply to Harsha vardhan:

A good place to start is at OpenCores.