AN 755: Implementing JESD204B IP Core System Reference Design with ARM HPS As Control Unit (Baremetal Flow)

ID 683776
Date 12/30/2015
Public
Document Table of Contents

1.8.3.1. Editing the Qsys Project

  1. Open the top level Qsys project (jesd204b_ed_soc.qsys) as per the instructions in the Qsys system section.
  2. Each JESD204B link is represented by a single jesd204b_subsystem instantiation. To implement multi-links in Qsys, duplicate the jesd204b_subsystem instantiations. In the System Contents tab, right-click on the jesd204b_subsystem_0 module and select Duplicate. This duplicates the jesd204b_subsystem_0 module to a new module called jesd204b_subsystem_1.
  3. Connect the jesd204b_subsystem_1 ports as shown in the table below. Any ports not described in the table below should be exported. To export a port, double-click on the Double-click to export label in the Export column of the System Contents tab.
    Table 20.  Port Connections of jesd204b_subsystem_1 Module

    Ports of jesd204b_subsystem_1 Module

    Connection

    device_clk

    device_clk.clk

    do_not_connect_reset_0

    mgmt_clk.clk_reset

    do_not_connect_reset_1

    mgmt_clk.clk_reset

    do_not_connect_reset_2

    mgmt_clk.clk_reset

    frame_clk

    frame_clk.clk

    jesd204b_jesd204_rx_int

    hps_0.f2h_irq0

    ILC.irq

    jesd204b_jesd204_tx_int

    hps_0.f2h_irq0

    ILC.irq

    link_clk

    link_clk.clk

    mgmt_clk

    mgmt_clk.clk

    mgmt_reset

    mgmt_clk.clk_reset

    mm_bridge_s0

    fpga_only_master.master

    mm_bridge_0.m0

    reset_seq_irq

    hps_0.f2h_irq0

    ILC.irq

    reset_seq_pll_reset

    Do not connect

    reset_seq_reset_in0

    mgmt_clk.clk_reset

  4. Adjust the IRQ port count of the ILC module to accommodate new interrupt ports of the jesd204b_subsystem_1 module. Double-click the ILC module in the System Contents tab. In the ILC module Parameters tab, adjust the IRQ_PORT_COUNT parameter to 9.
  5. Adjust the interrupt priorities of the interrupt ports (for example, jesd204b_jesd204_rx_int , jesd204b_jesd204_tx_int, reset_seq_irq) of the new jesd204b_subsystem_1 module as necessary to meet your system specifications. Click on the priority number of the relevant interrupt ports in the IRQ column of the System Contents tab and edit accordingly. The lower the number, the higher the priority.
  6. Assign the address map of the jesd204b_subsystem_1 module. Refer to the Top Level Qsys Address Map section for more details on the top level Qsys project address map. Bits 16-17 of the Avalon-MM bridge (0x0004_0000 base address) indicate the link number. Assign the address map of the jesd204b_subsystem_1 module as shown in the figure below.
    Figure 8. Multi-Link Address Map

    Notice that bits 16-17 of the address map denote the link indicator. For subsequent links, increment the link indicator accordingly. Up to 4 links can be supported in this manner.

    Attention: Do not exceed the maximum number of links (4) that the address map can support.
  7. Repeat steps 2 – 6 for subsequent links in your design.
  8. Click Generate HDL to generate the HDL files needed for Quartus compilation.
  9. After the HDL generation completes, click Finish to save your Qsys settings and exit the Qsys window.

Did you find the information on this page useful?

Characters remaining:

Feedback Message