Article ID: 000075534 Content Type: Product Information & Documentation Last Reviewed: 01/13/2023

How do I enable polarity inversion on a per lane basis in the JESD204B Intel® FPGA IP?

Environment

    Intel® Quartus® Prime Pro Edition
    Quartus® II Subscription Edition
    JESD204B Intel® FPGA IP
BUILT IN - ARTICLE INTRO SECOND COMPONENT
Description

When using the Avalon® memory mapped register interface in the JESD204B Intel® FPGA IP, you can enable polarity inversion through bit[0] of lane_ctrl_<n> registers (0x4 - 0x20), where <n> represents the targeted lane number.

Refer to the following links for JESD204B address map and register definitions:

Resolution

If the JESD204B Intel® FPGA IP core register access is unavailable, perform the following workaround sequence to turn on polarity inversion:

  1. Change directory into <IP core name>/altera_jesd204_phy_<acds_version>/<sim or synth>/
  2. Open the file <IP core name>_altera_jesd204_phy_<acds_version>_<random_string>.v with any text editor.
  3. Look for port .csr_lane_polarity in the inst_<tx and/or rx>_mlpcs instantiation.
  4. The width of the input port csr_lane_polarity is L, where L represents the total number of lanes in the JESD204B Intel® FPGA IP core. The LSB represents lane 0, the least significant 1 bit represents lane 1,..., MSB represents lane L-1.  
  5. To enable polarity inversion, drive 1 to the targeted bit in the csr_lane_polarity input port.

 

The following example shows an 8-lane design, with polarity inverted for lane 0 to lane 2:

module <name>_altera_jesd204_phy_<acds_version>_<random_string> #(

...

altera_jesd204_tx_mlpcs #(

...

) inst_tx_mlpcs (

...

   .csr_lane_polarity         (7'b0000_0111), // TX: polarity inverted for lanes 0-2 

...

);

altera_jesd204_rx_mlpcs #(

...

) inst_rx_mlpcs (

...

   .csr_lane_polarity          (7'b0000_0111), // RX: polarity inverted for lanes 0-2 

... 

);

...

 

Related Products

This article applies to 9 products

Intel® Cyclone® 10 GX FPGA
Cyclone® V GT FPGA
Cyclone® V GX FPGA
Cyclone® V SX SoC FPGA
Stratix® V FPGAs
Intel® Stratix® 10 FPGAs and SoC FPGAs
Intel® Arria® 10 FPGAs and SoC FPGAs
Arria® V FPGAs and SoC FPGAs
Cyclone® V ST SoC FPGA

1