AN 804: Implementing Analog-to-Digital Converter Multi-Link Designs with Intel® Stratix® 10 JESD204B RX IP Core

ID 683032
Date 1/16/2020
Public
Document Table of Contents

Editing Design Example Platform Designer System for Synchronized ADC- Intel® Stratix® 10 Multi-Link

  1. Open the top-level system, altera_jesd204_ed_qsys_RX.qsys, in Platform Designer.
    1. The RX .qsys file is located at ed_sim/testbench/models/ folder.
    2. To open the .qsys file in Platform Designer, you must have an associated Intel® Quartus® Prime project. Copy the altera_jesd204_ed_RX.qpf and altera_jesd204_ed_RX.qsf files from the ed_synth folder into ed_sim/testbench/models folder.
    3. Select the altera_jesd204_ed_RX.qpf and click Open.
    4. The IP Synchronization Result window opens and click OK to proceed.
  2. In the System Contents tab, right-click the altera_jesd204_subsystem_RX instance and select Drill into Subsystem. This opens the altera_jesd204_subsystem_RX Platform Designer subsystem.
  3. Right-click the altera_jesd204_RX component and select Duplicate.
    This duplicates the JESD204B IP core. You can rename the duplicated IP core as altera_jesd204_RX1.
    Note: Select No if the Platform Designer prompts Do you want to also duplicate the IP Variant file on the disk?. This is because the duplicated JESD204B IP core has the same parameters as the original JESD204B IP core.
  4. Connect the duplicated IP port as shown in the following table.
    Ports for Duplicated IP Core Connection
    jesd204_rx_avs mm_bridge.m0
    jesd204_rx_avs_clk mgmt_clk.clk
    jesd204_rx_avs_rst_n reset_seq.reset_out5
    rxlink_clk link_clk.clk
    pll_ref_clk

    refclk_xcvr.clk 1

    reconfig_clk mgmt_clk.clk 2
    reconfig_reset mgmt_clk.clk_reset 2
    reconfig_avmm mm_bridge.m0 2
  5. Export the rest of the ports to the top-level Platform Designer system by clicking on the Double-click to export in the Export column of the System Contents tab.
  6. At the altera_jesd204_RX component, disconnect the connections at the following ports. Export them to the top-level Platform Designer system.
    • alldev_lane_aligned
    • dev_lane_aligned
    • rx_analogreset
    • rx_analogreset_stat
    • rx_digitalreset
    • rx_digitalreset_stat
    • rx_cal_busy
    • rx_islockedtodata
  7. Change the number of transceiver channels in the Transceiver PHY reset controller to the total number of transceiver channels of all the JESD204B IP cores in the altera_jesd204_subsystem_RX Platform Designer subsystem.
  8. Exports the following ports from the Transceiver PHY reset controller:
    • rx_analogreset
    • rx_analogreset_stat
    • rx_digitalreset
    • rx_digitalreset_stat
    • rx_cal_busy
    • rx_is_lockedtodata
  9. At the Address Map, adjust the starting address of altera_jesd204_RX1 interface so that there is no conflict with other components. For example, you can set the starting address of altera_jesd204_RX1 IP core to 0x000d_0400 as shown in the following table.
    Table 2.  Synchronized ADC-FPGA Multi-Link Address Map for System Console Control Path (Dynamic reconfiguration for the PHY is disabled)
      mm_bridge.m0
    altera_jesd204_RX.jesd204_rx_avs 0x000d_00000x000d_03ff
    altera_jesd204_RX1.jesd204_rx_avs 0x000d_04000x000d_07ff
    Table 3.  Synchronized ADC-FPGA Multi-Link Address Map for System Console Control Path (Dynamic reconfiguration for the PHY is enabled)
      mm_bridge.m0
    altera_jesd204_RX.jesd204_rx_avs 0x000d_00000x000d_03ff
    altera_jesd204_RX.reconfig_avmm 0x0000_00000x0000_1fff 3
    altera_jesd204_RX1.jesd204_rx_avs 0x000d_04000x000d_07ff
    altera_jesd204_RX1.reconfig_avmm 0x0000_20000x0000_3fff 3
  10. Repeat step 3 until step 9 for subsequent links in your design.
  11. Go up to the top-level Platform Designer system.
  12. Export the rest of unconnected ports of altera_jesd204_subsystem_RX instance.
  13. Click Generate HDL to generate the design files needed for Intel® Quartus® Prime compilation.
    1. Ensure you select the HDL language of your choice in the Simulation section of the Generation windows to generate the simulation models.
    2. Click Generate and Yes to save and generate the design files needed for simulation.
  14. After the HDL generation is completed, select Generate from the menu. Select Show Instantiation Template… and click Copy.
  15. Paste the instantiation template of altera_jesd204_ed_qsys_RX Platform Designer to a text editor.
    You must update the instantiated Platform Designer ports at the top-level HDL.
  16. After the HDL generation is completed, click Finish to save your Platform Designer settings and exit the Platform Designer window.
1 You cannot share the same transceiver reference clock pin for transceiver channels at different transceiver tiles. For this case, you should instantiate multiple refclk_xcvr clock sources in Platform Designer and connect them to the transceiver reference clock pins at different transceiver tiles.
2 Connection is applicable only if you turn on the Enable Transceiver Dynamic Reconfiguration option.
3 The address span of the PHY reconfiguration interface depends on the number of transceiver channels.