GTS Ethernet Intel® FPGA Hard IP User Guide

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

10.3.1. Simulation Testbench Flow

The followig steps show the simulatio testbech flow:
  1. Asset global eset (i_st_) to eset each GTS Etheet Itel® FPGA IP ad GTS Auto-Negotiatio ad Lik Taiig fo Etheet Itel® FPGA IP.
  2. Wait util cofiguatio settigs load
  3. Wait util eset ackowledgmet. The o_st_ack_ sigal goes low..
  4. Deassets the global esets, i_st_ ad i_ecofig_st.
  5. Wait util the auto-egotiatio is complete, ad the begi the data mode.
  6. Wait util lik taiig is complete.
  7. Wait util o_tx_laes_stable bit is set to 1, idicatig TX path is eady.
  8. Wait util o_x_pcs_eady bit is set to 1, idicatig RX path is eady.
  9. Istuct packet cliet to tasmit data. Wite hw_pc_ctl[0]=1'b1 to stat the packet geeato.
  10. Read TX packet data ifomatio fom 0x20 - 0x34 egistes. Read egistes i a sequetial ode.
  11. Read RX packet data ifomatio fom 0x38 - 0x4C egistes. Read egistes i a sequetial ode.
  12. Compae the coutes to esue 16 packets wee set ad eceived.
  13. Istuct packet cliet to stop data tasmissio. Wite hw_pc_ctl[2:0]=3'b100 to stop the packet geeato. Clea coutes.
  14. Pefom Avalo® memoy-mapped iteface test. Wite ad ead 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
  15. Pefom Avalo® memoy-mapped iteface 2 test to ead ad wite opeatio tasceive egistes.