F-Tile Dynamic Reconfiguration Design Example User Guide

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

3.1.1. Ethernet Multirate Design Example: Simulation Testbench

Figue 9. Simulatio Testbech Block Diagam fo 25GE-1 Base Vaiat
Figue 10. Simulatio Testbech Block Diagam fo 25GE-1 with PTP Base Vaiat
Figue 11. Simulatio Testbech Block Diagam fo 100GE-4 Base VaiatThe packet cliet block is available fo each of the Etheet ates.
Figue 12. Simulatio Testbech Block Diagam fo 100GE-4 with PTP Base VaiatThe packet cliet block is available fo each of the Etheet ates.
Figue 13. Simulatio Testbech Block Diagam fo 400GE-8 Base VaiatThe packet cliet block is available fo each of the Etheet ates.
Figue 14. Simulatio Testbech Block Diagam fo 400GE-8 with PTP Base VaiatThe packet cliet block is available fo each of the Etheet ates.
Figue 15. Simulatio Testbech Block Diagam fo 400G-4 FHT Base Vaiat

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 dyamic ecofiguatio.
  • Check the testbech eo flag ad detemie whethe testbech passed o failed. The eo flag is set to 1 if thee is ay eo afte dyamic ecofiguatio taffic tests.

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}