F-Tile Dynamic Reconfiguration Design Example User Guide

ID 710582
Date 11/04/2024
Public
Document Table of Contents

4.1.2. Ethernet Multirate Design Example with AN/LT Enabled: Simulation Testbench

Figue 24. Simulatio Testbech Block Diagam fo 25GE-1 Base Vaiat with AN/LT Eabled
Figue 25. Simulatio Testbech Block Diagam fo 100GE-4 Base Vaiat with AN/LT Eabled
Figue 26. Simulatio Testbech Block Diagam fo 400GE-8 Base Vaiat with AN/LT Eabled
Figue 27. Simulatio Testbech Block Diagam fo 400G-4 FHT Base Vaiat with AN/LT Eabled

The testbech pogam cotols the testbech compoets via Avalo® memoy-mapped iteface access, status ad cotol sigals. The Avalo® memoy-mapped iteface abite decodes the Avalo® memoy-mapped iteface access fom testbech pogam ito multiple Avalo® memoy-mapped iteface slaves.

Simulatio Flow:
  • Etheet Multiate IP DUT is powe-up based o base pofile.
  • Iitialize the testbech vaiables based o powe-up pofile. The paamete settigs, located i the basic_avl_tb_top.sv file, ae:
    • DR_NUM: To idicate the umbe of dyamic ecofiguatio tasitios.
    • DR_SEQ: To idicate the dyamic ecofiguatio sequece.
  • Pefom Auto-Negotiatio ad Lik Taiig.
  • Eable the Auto-Negotiatio ad Lik Taiig IP. Use logic eads AN esults ad tigges dyamic ecofiguatio flow.
  • Oce the Dyamic Recofiguatio completes, you ca pogam seq_foce_mode AN/LT CSR to otify about the Dyamic Recofigued pofile; othewise, AN/LT IP is expected to follow the AN esult.
  • Disable the AN/LT IP.
  • Move to data o Etheet mode ad stat tasmittig packets.
  • Check the testbech eo flag to detemie whethe the testbech passed o failed. The eo flag is set to 1 whe the AN/LT with Dyamic ecofiguatio ad Etheet flow is successfully completed.

Fo customizatio, you ca modify the DR_NUM ad DR_SEQ localpaam to cofigue the test flow. The pofile ID is passed to the IP to cofigue the iteded dyamic ecofiguatio task.

Dyamic Recofiguatio Sequece Example: 100GE-4 > 2x 50GE-1 > 4x 25GE-1

To achieve this dyamic ecofiguatio sequece, you must pefom two dyamic ecofiguatio tasitios ad specify the ecofiguatio sequece. You update the local paamete settigs file:
// Available Modes
localpaam DR_MODE_1X100GE_4       = 6'b00_00_00;
localpaam DR_MODE_1X100GE_4_NOFEC = 6'b00_00_01; 
localpaam DR_MODE_1X100GE_2       = 6'b00_00_11;
localpaam DR_MODE_2x50GE_1        = 6'b01_01_00;
localpaam DR_MODE_4X25GE_1 	   = 6'b10_00_00;
localpaam DR_MODE_4X25GE_1_NOFEC  = 6'b10_00_01;

// Dyamic Recofiguatio settig
localpaam DR_NUM = 2;
localpaam [6:0] DR_SEQ [DR_NUM - 1 : 0] = {DR_MODE_4X25GE_1, DR_MODE_2X50GE_1}