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

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

3.12.2. FGT PMA Settings

RX invert P and N: To swap RX P and N serial lanes.

set_instance_assignment -name HSSI_PARAMETER "rx_invert_p_and_n=<parameter_value>" -to <RX_SERIAL_PIN> -entity <TOP_LEVEL_NAME>

Example:

set_instance_assignment -name HSSI_PARAMETER "rx_invert_p_and_n=ENABLE" -to rx_serial_data[0] -entity top

RX on-chip termination:

set_instance_assignment -name HSSI_PARAMETER "rx_onchip_termination=<parameter_value>" -to <RX_SERIAL_PIN> -entity <TOP_LEVEL_NAME>

Example:

set_instance_assignment -name HSSI_PARAMETER "rx_onchip_termination=RX_ONCHIP_TERMINATION_R_2" -to rx_serial_data[0] -entity top
Possible parameter values are:
  • RX_ONCHIP_TERMINATION_R_1 : 85 Ohms.
  • RX_ONCHIP_TERMINATION_R_2 : 100 Ohms.

RX AC coupling:

set_instance_assignment -name HSSI_PARAMETER "rx_ac_couple_enable=<parameter_value>" -to <RX_SERIAL_PIN>  -entity <TOP_LEVEL_NAME>

Example:

set_instance_assignment -name HSSI_PARAMETER "rx_ac_couple_enable=ENABLE" -to rx_serial_data[0] -entity top
Possible parameter values are:
  • ENABLE : when you use on board AC coupling capacitors.

  • DISABLE : when you do not use on board AC coupling capacitors.

TX invert P and N: To swap TX P and N serial lanes.

set_instance_assignment -name HSSI_PARAMETER "tx_invert_p_and_n=<parameter_value>" -to <TX_SERIAL_PIN> -entity <TOP_LEVEL_NAME>

Example:

set_instance_assignment -name HSSI_PARAMETER "tx_invert_p_and_n=ENABLE" -to tx_serial_data[0] -entity top

TX Equalization:

set_instance_assignment -name HSSI_PARAMETER "txeq=<parameter_value>" -to <TX_SERIAL_PIN> -entity <TOP_LEVEL_NAME>
Valid parameter values:
  • main_tap: 0-55
  • pre_tap_1: 0-15
  • pre_tap_2: 0-7
  • post_tap: 0-19

Examples:

set_instance_assignment -name HSSI_PARAMETER "txeq_main_tap=35" -to tx_serial_data[0] -entity top
set_instance_assignment -name HSSI_PARAMETER "txeq_pre_tap_1=5" -to tx_serial_data[0] -entity top
set_instance_assignment -name HSSI_PARAMETER "txeq_pre_tap_2=0" -to tx_serial_data[0] -entity top
set_instance_assignment -name HSSI_PARAMETER "txeq_post_tap_1=0" -to tx_serial_data[0] -entity top

TX PLL Bandwidth:

set_instance_assignment -name HSSI_PARAMETER "tx_pll_bw_sel=<parameter_value>" -to <inst_path>
Valid parameter values:
  • tx_pll_bw_sel_low
  • tx_pll_bw_sel_medium
  • tx_pll_bw_sel_high
To get the instance path, you can follow the steps shown below:
  1. In the Quartus® Prime Pro Edition software, click Support-Logic Generation.
  2. Find the instance path using either one of the following two methods:
    • In the Quartus® Prime Pro Edition software, open Compilation Report -> Logic Generation Tool -> IP Parameter Settings Report and search for tx_pll_bw_sel. The value of -- BB_F_UX_TX is the instance path.
    • Open the <project_name>_tlg.rpt file in the output_files folder and search for -- BB_F_UX_TX.

Example:

set_instance_assignment -name HSSI_PARAMETER "tx_pll_bw_sel=tx_pll_bw_sel_medium" -to dphy|directphy_f_0|dphy_hip_inst|persystem[0].perxcvr[0].fgt.tx_ux.x_bb_f_ux_tx

Manual Tunning:

Bypass RX Auto Adaptation

set_instance_assignment -name HSSI_PARAMETER "flux_mode=FLUX_MODE_BYPASS" -to <RX_SERIAL_PIN> -entity <TOP_LEVEL_NAME>
set_instance_assignment -name HSSI_PARAMETER "flux_mode=FLUX_MODE_BYPASS" -to <TX_SERIAL_PIN> -entity <TOP_LEVEL_NAME>
set_instance_assignment -name HSSI_PARAMETER "engineered_link_mode=ENABLE" -to <RX_SERIAL_PIN> -entity <TOP_LEVEL_NAME>
set_instance_assignment -name HSSI_PARAMETER "engineered_link_mode=ENABLE" -to <TX_SERIAL_PIN> -entity <TOP_LEVEL_NAME>
set_instance_assignment -name HSSI_PARAMETER "rx_adapt_mode=RX_ADAPT_MODE_STATIC_EQ" -to <RX_SERIAL_PIN> -entity <TOP_LEVEL_NAME>

RX Manual Equalization

  • VGA:
    set_instance_assignment -name HSSI_PARAMETER "rxeq_vga_gain=<parameter_value>" -to <RX_SERIAL_PIN> -entity <TOP_LEVEL_NAME>

    Valid parameter values are 0-63.

  • High-frequency boost:
    set_instance_assignment -name HSSI_PARAMETER "rxeq_hf_boost =<parameter_value>" -to  <RX_SERIAL_PIN> -entity <TOP_LEVEL_NAME>

    Valid parameter values are 0-63.

  • DFE Tap 1:
    set_instance_assignment -name HSSI_PARAMETER "rxeq_dfe_data_tap_1=<parameter_value>" -to  <RX_SERIAL_PIN> -entity <TOP_LEVEL_NAME>

    Valid parameter values are 0-63.

VSR Mode for NRZ
  • Data Rate >= 23 Gbps and Insertion Loss <= 10 dB:
    set_instance_assignment -name HSSI_PARAMETER "vsr_mode=VSR_MODE_LOW_LOSS" -to <RX_SERIAL_PIN> -entity <TOP_LEVEL_NAME>
  • Others:
    set_instance_assignment -name HSSI_PARAMETER "vsr_mode=VSR_MODE_DISABLE" -to <RX_SERIAL_PIN> -entity <TOP_LEVEL_NAME>

VSR Mode for PAM4, contact Altera customer support.