The demonstration test bench performs these steps:
- Input clock signals are generated.
- A reset is applied to the example design.
- The required bit rate is selected using the control interface.
- The MDIO stimulus/response block responds to a read with all 1s indicating no PHY is present.
- Four frames are pushed into the PHY-side receiver interface at the highest Ethernet MAC
bit rate supported:
- The first frame is a minimum-length frame.
- The second frame is a type frame.
- The third frame is an errored frame.
- The fourth frame is a padded frame.
- The frames received at the PHY-side transmitter interface are checked against the stimulus frames to ensure that data is the same. The monitor process takes into account the source/destination address field and FCS modifications resulting from the address swap module.
- The test bench updates the example design for next maximum speed available.
- The MDIO stimulus/response block responds to a read with all 1s indicating no PHY is present.
- Four frames similar to those in step 5 are sent to the PHY side interface and checked against the stimulus frames.
- The preceding steps are repeated until the lowest supported Ethernet MAC bit rate is achieved. Then the packets are checked again at the highest supported Ethernet MAC bit rate.