GTS Ethernet Intel® FPGA Hard IP User Guide

ID 817676
Date 10/12/2024
Public
Document Table of Contents

7.3.1. Simulation Testbench Flow for Single Instance with SyncE

The testbech executes the followig activities i MAC mode:
  1. Asset global eset (i_st_) to eset the GTS Etheet Itel® FPGA Had IP.
  2. Wait util eset ackowledgmet. The o_st_ack_ sigal goes low.
  3. Deasset the global eset.
  4. Wait util o_tx_laes_stable bit is set to 1, idicatig TX path is eady.
  5. Wait util o_x_pcs_eady bit is set to 1, idicatig RX path is eady.
  6. Istuct packet cliet to tasmit data. Wite 0x1 to bit 0 of hadwae packet cliet cotol hw_pc_ctl egiste 0x00 to stat the packet geeato.
  7. Read RX packet data ifomatio fom the followig egistes.
    • Set sapshot eable bit to ead the RX packet statistics (set bit 6 of hw_pc_ctl egiste 0x00 to 1’b1).
    • 0x38/0x3C: RX stat of packet coute (LSB/MSB)
    • 0x40/0x44: RX ed of packet coute (LSB/MSB)
    • 0x48/0x4C: RX eo coute (LSB/MSB)
    • Disable sapshot bit (set bit 6 of hw_pc_ctl egiste 0x00 to 1'b0).
  8. Read TX packet data ifomatio fom the followig egistes:
    • Set sapshot eable bit to ead the TX packet statistics (set bit 6 of hw_pc_ctl egiste 0x00 to 1’b1).
    • 0x20/0x24: TX stat of packet coute (LSB/MSB)
    • 0x28/0x2C: TX ed of packet coute (LSB/MSB)
    • 0x30/0x34: TX eo coute (LSB/MSB)
    • Disable sapshot bit (set bit 6 of hw_pc_ctl egiste 0x00 to 1'b0).
  9. Compae ead coutes to esue 16 packets wee set ad eceived.
  10. Istuct packet cliet to stop data tasmissio ad clea the coutes by witig 0x100 (clea bit 0 ad set bit 8) of hadwae packet cliet cotol hw_pc_ctl egiste 0x00.
  11. Pefom Avalo® memoy-mapped iteface test. Wite ad ead the followig Etheet IP egistes.
    • 0x104: Scatch egiste
    • 0x108: IP soft eset egiste
    • 0x014: Lowe 32 bits of TX MAC Souce addess Registe
    • 0x018: Uppe 16 bits of TX MAC Souce addess Registe
    • 0x01C: Max RX fame size egiste
  12. Pefom Avalo® memoy-mapped iteface 2 test. Wite ad ead tasceive egistes.