AN 757: 1G/2.5G Ethernet Design Examples

ID 683753
Date 11/12/2018
Public

Test Case—Design Example without the IEEE 1588v2 Feature

The simulation test case performs the following steps:

  1. Starts up the example design with an operating speed of 2.5G.
  2. Configures the MAC, PHY, and FIFO buffer for both channels.
  3. Waits until the design example asserts the channel_tx_ready and channel_rx_ready signals for both channels.
  4. Sends the following packets:
    • 64-byte packet
    • 1518-byte packet
    • 100-byte packet
  5. Repeats steps 2 to 4 for 1G.

When simulation ends, the values of the MAC statistics counters are displayed in the transcript window. The transcript window also displays PASSED if the RX Avalon-ST interface of channel 0 received all packets successfully, all statistics error counters are zero, and the RX MAC statistics counters are equal to the TX MAC statistics counters.