F-Tile Architecture and PMA and FEC Direct PHY IP User Guide

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

3.3.7. Example Design Generation

The F-Tile PMA/FEC Diect PHY Itel® FPGA IP paamete edito icludes the Geeate Example Desig fuctio to easily ceate, geeate, ad simulate the PMA/FEC diect mode example desig.

You ca select fom fou Example Desig Optios fo geeatio, as Example Desig Optios i IP Paamete Edito shows.

Figue 72. Example Desig Optios i IP Paamete Edito

The example desigs suppot geeatio, compilatio, ad simulatio flows fo the taget device. Statig i Quatus® Pime softwae vesio 22.1, hadwae suppot fo example desigs is eabled i the Agilex™ 7 I-Seies Tasceive-SoC developmet kit. The followig Example Desig Optios ae cuetly available:

Table 39.  Example Desig Geeatio Optios
Example Desig Optios Peset Settig Equivalet Desciptio
FHT NRZ 25G 1 PMA lae RSFEC 272/258 FHT_NRZ_25G_1_PMA_Lae_RSFEC_272_258_ED 1 PMA FHT NRZ lae opeatig at 25.78125 Gbps with RS-FEC 272/258 mode.
FGT NRZ 50G 2 PMA laes RSFEC 528/514 FGT_NRZ_50G_2_PMA_Laes_RSFEC_528_514_ED 2 PMA FGT NRZ laes opeatig at 25.78125 Gbps (each lae) with RS-FEC 528/514 mode.
FHT PAM4 4 400G 4 PMA laes RSFEC 544/514 FHT_PAM4_400G_4_PMA_laes_RSFEC_544_514_ED 4 PMA FHT PAM4 laes opeatig at 106.25 Gbps (each lae) with RS-FEC 544/514 mode.
FGT NRZ 50G 2 PMA Laes Custom Cadece FGT_NRZ_50G_2_PMA_Laes_Custom_Cadece_ED

2 PMA FGT NRZ laes opeatig at 25.78125 Gbps (each lae) with custom cadece clockig mode.

I custom cadece clockig mode, the system PLL clocks the digital data path (that is, the F-tile iteface FIFO ad coe iteface FIFO) of the PMA. The PMA block ad PMA iteface FIFO is clocked by PMA clockout.

The Example Desig Optios ae equivalet with some of the peset settigs, as Example Desig Geeatio Optios descibes. To eview the IP paamete settigs fo each peset, efe to F-Tile PMA/FEC Diect PHY Itel® FPGA IP Available Paamete Pesets. Alteatively, ight-click a peset i the IP paamete edito, ad the click Show Peset Settigs, o click Apply peset to apply the peset's settigs i the paamete edito.

Figue 73. Show Peset Settigs

If you select ay of the fou available Example Desig Optios, but chage the F-Tile PMA/FEC Diect PHY Itel® FPGA IP settigs i the GUI theeafte, the example desig geeated does ot follow the chaged settigs fo the F-Tile PMA/FEC Diect PHY Itel® FPGA IP. The example desig geeatio oly takes the Example Desig Optios listed i Example Desig Geeatio Optios. Ay othe chages that you make to the F-Tile PMA/FEC Diect PHY Itel® FPGA IP settigs ae ot applied duig example desig geeatio.

The Example Desig tab of the F-Tile PMA/FEC Diect PHY Itel® FPGA IP allows you to select pe-defied RS-FEC optios to cofigue a example desig as show i the followig figue.

Figue 74. RS-FEC Example Desigs i the F-Tile PMA/FEC Diect PHY Itel® FPGA IP
Thee ae thee RS-FEC example desigs available i the F-Tile PMA/FEC Diect PHY Itel® FPGA IP as show:
  • FHT NRZ 25G 1 PMA Lae RSFEC 272/25
  • FGT NRZ 50G 2 PMA Laes RSFEC 528/514
  • FHT PAM4 4 400G 4 PMA Laes RSFEC 544/514
All the example desigs follow the cofiguatio optios fo the FEC diect mode as descibed i the followig sectios:
To geeate a example desig, follow the below steps:
  1. Go to the Example Desig tab i the F-Tile PMA/FEC Diect PHY Itel® FPGA IP.
  2. Select oe of the example desigs fom the dop-dow meu. If you select Noe, you caot geeate the example desig.
  3. Click the Ackowledgmet: optio box. This optios is to emid you that oly the example desig you specify i the dop-dow meu is geeated. No othe IP paametes settig that you specify take effect i the example desig geeatio. If you do ot check the ackowledgmet box, you caot geeate the example desig.
  4. Esue steps 2. ad step 3. ae doe, the click Geeate Example Desig.

Clickig Geeate Example Desig completes the IP Geeatio ad Suppot-logic Geeatio stages of the Compile. A example desig folde also geeates cotaiig the Quatus® Pime poject (.qpf), settigs (.qsf), ad IP files, simulatio, ad testbech files fo the example desig i the followig locatio:

<Poject Folde>/<diectphy_f_0_example_desig/example_desig>

The Compile eads the example desig .qsf file that cotais the PMA efeece clock, ad the TX ad RX high speed seial pi locatio assigmets.

I ode to povide a eductio i eal-time simulatio duatio, the example desig testbech uses a Fast Sim model. This model is eabled via a maco i the simulatio u scipts. The sytax to eable the Fast Sim model is as follows:

+defie+IP7581SERDES_UX_SIMSPEED

This maco is eabled by default i the example desig simulatio scipts afte you click Geeate Example Desig butto.

You ca use the Fast Sim model whe you ae simulatig the F-Tile PMA/FEC Diect PHY Itel® FPGA IP desig to educe simulatio time. Howeve, i ode to use the Fast Sim model, esue all the IPs i you desig that you place withi the same F-tile, suppot Fast Sim mode. Fo example; if you have a PMA diect mode desig togethe with othe potocol IPs that do ot suppot the Fast Sim mode ad place them withi the same F-tile, you ca u ito simulatio eos fo you PMA diect desig.
Note: This maco is ot available whe you use FGT cascade mode, FGT dual simplex mode o whe you use the FHT PMA.

Example Desig Simulatio

To simulate the example desig i the VCS* , VCS* MX, ModelSim* , o Xcelium* simulatos, use the followig commads. The RTL files ae i the example_desig/tl diectoy ad simulatio files ae i the example_desig/testbech diectoy.
  • To simulate with VCS* , go to the example_desig/testbech diectoy ad the lauch the simulatio usig the shell scipt:
    sh u_vcs.sh
  • To simulate with VCS* MX, go to the example_desig/testbech diectoy ad the lauch the simulatio usig the shell scipt:
    sh u_vcsmx.sh
  • To simulate with ModelSim* , go to the example_desig/testbech diectoy ad the lauch the simulatio usig the commad:
    vsim -c -do u_vsim.tcl
  • To simulate with Xcelium* , go to the example_desig/testbech diectoy ad the lauch the simulatio usig the shell scipt:
    sh u_xcelium.sh
  • Lauch wavefom viewe to see the simulatio esults.