Forum Discussion

nhadzic's avatar
nhadzic
Icon for New Contributor rankNew Contributor
2 months ago
Solved

Proper PERST# connection for FMC on Agilex5 Modular Development Kit

I am using an Agilex5 Modular Development Kit to implement a design that has two PCIe endpoints. Each endpoint would run at the same x4 configuration (start with Gen3 and maybe move to Gen4). The first endpoint is easy as the board supports it natively.

For the second endpoint I am planning to use the Terrasic P16E-FMCP board and use a separate adapter to limit the width to x4. I went through the schematic several times and I am fairly confident that FMC PCIe lanes 0-3 (plus the reference clock) would connect to the transceiver bank 1B on the Agilex5 device. So the high speed signals look to be OK.

My issue is with how to achieve a proper PERST connection. The FMC board connects the PERST# signal to the FMC RES0 pin which is not connected on the Agilex board. This means I have to make a manual connection to the appropriate pins on the FPGA device. Assuming that my bank 1B analysis is correct then the possible PERST# pin connections are:

  • CF132
    • net A5E_HVIO_5A_6
    • IO_D61 pin on the primary board-to-board connector
    • Carrier board: net MIPI_XHS0_1V8 which is floating if there is nothing plugged to the MIPI connector
    • Manual PERST connection: Level shift the PERST signal down to 1.8V and then solder it to the MIPI_XHS0_1V8 net.
  • BU109
    • net A5E_HVIO_5B_6
    • IO_A56 pin on the primary board-to-board connector
    • Carrier board: BMC_UART_RX0_I2C_SCL_3V3 which is connected to the MAX10 device
    • Manual PERST connection not possible 

 

Before I do the board modification, I would like to confirm my analysis is correct (maybe 1B is not the correct bank) and that I am not missing some other, easier, connection.

Thank you very much in advance. Any help is greatly appreciated

 

 

  • Whether the production Modular Development Kit already has PERST# physically routed from the PCIe edge connector to one of those HVIO pins, or whether you need a board-level modification, is a question specific to that board's schematic. I'd recommend checking the production board schematic (available from the kit webpage) to confirm whether that trace is already present before reaching for a soldering iron. If the board is used in PCIe slot mode, the nPERST line from the slot should reach the board; if it's used in tabletop/standalone mode, you may need to drive that pin from another source (e.g., an on-board logic signal or manual connection).

7 Replies

  • ai_responder's avatar
    ai_responder
    Icon for Community Manager rankCommunity Manager

    Thank you for your inquiry. To ensure an accurate response, your request has been routed to an Altera application engineer for further review and assistance.


    Note: To continue using AI Responder, please start your next inquiry with ai_responder

    Disclaimer (Beta): The AI Responder is currently provided as a beta feature. AI-generated responses may contain errors or omissions. Please verify technical guidance with official Altera documentation before implementation.

    Thank you very much.

  • AqidAyman_Altera's avatar
    AqidAyman_Altera
    Icon for Regular Contributor rankRegular Contributor

    The Agilex 5 FPGA E-Series 065B Modular Development Kit feature summary explicitly maps transceiver bank 1B to FMC XCVR Lane 0 to Lane 3 (17 Gbps max), and bank 1A to FMC XCVR Lane 4 to Lane 7. Refer this: Feature Summary


    So, your identification of bank 1B as the target for a second x4 PCIe endpoint via the FMC should be correct. The x8 FGT lanes from banks 1A and 1B are terminated to FMC J7. Agilex™ 5 FPGA E-Series 065B Modular Development Kit User Guide


    This is the most important thing if you are using an ES device: Due to a problem in the ES devices, assigning either of the two reset pins as PERST# fails to reset the PCIe link. For the Agilex 5 FPGA E-series in the current Quartus Prime software release, you must assign both p0_pin_perst_n_i and p0_pin_perst_n_1_i ports to the location of the reset pins. Why does toggling p0_pin_perst_n_i fail to reset PCI Express* links in the Agilex™ 5 FPGA E-Series ES devices in the Quartus® Prime Pro Edition Software version 24.2?

    This means that at the IP level in Quartus, you must assign both ports but at board level, you only physically connect PERST# to one of the two pins. For ES device, if one PERST pin is selected as reset signal for GTS, the unused PERST pin for the same GTS bank must be left floating. When used as PCIe platform reset, connect this pin to the system PCIe nPERST signal. Pin Connection Guidelines

    • nhadzic's avatar
      nhadzic
      Icon for New Contributor rankNew Contributor

      Thank you very much for the response and the confirmation about 1B bank.

      I am trying to create this design on a production version of the modular board. According to the most recent version of "GTS AXI Streaming IP for PCI Express* User Guide" (9/14/2026), the production board requires only one PERST connection and the other can be used as a GPIO: "You can connect PERST# to either one of the reset pins. Assign pin_perst input port of the GTS AXI Streaming IP to the location of the reset pin connected to PERST#. For the reset pin not used for PERST#, it can be used as a generic HVIO signal."

      Can you please confirm that I have to do a manual PERST# connection to the board (likely through soldering) to one of the pins listed in the original post? I would like to avoid that if there is a better way to implement the connection.

      Thanks again.

      • AqidAyman_Altera's avatar
        AqidAyman_Altera
        Icon for Regular Contributor rankRegular Contributor

        Whether the production Modular Development Kit already has PERST# physically routed from the PCIe edge connector to one of those HVIO pins, or whether you need a board-level modification, is a question specific to that board's schematic. I'd recommend checking the production board schematic (available from the kit webpage) to confirm whether that trace is already present before reaching for a soldering iron. If the board is used in PCIe slot mode, the nPERST line from the slot should reach the board; if it's used in tabletop/standalone mode, you may need to drive that pin from another source (e.g., an on-board logic signal or manual connection).

  • nhadzic's avatar
    nhadzic
    Icon for New Contributor rankNew Contributor

    Thank you for the response.

    This question is about the PERST# connection from the FMC board since the RES0/RES1 pins are not used. I do not anticipate issues with the PCIe edge connector. 

    I have reviewed the schematic connections and documented them in my original post. My hope was that I can get an independent confirmation of my findings before I start soldering and otherwise modifying the board.

    I think I will carefully proceed with my project and only modify the board as the last resort.

     

  • nhadzic's avatar
    nhadzic
    Icon for New Contributor rankNew Contributor

    I was able to get the PCIe link running through FMC. Here are the details so it can help others:

    • PCIe link is set up as an endpoint
    • Raw PERST from the link is connected to pin BF40 on the 3.3V HVIO bank through the pin 8 on the J23 header (carrier board).
    • Internal to the FPGA: PERST is registered for timing and then brought out to pin CF121 on the 1.8V HVIO bank (carrier board net name MIPI_XTRIG0_1V8). This accomplishes the level shifting from 3.3V to 1.8V
    • The actual PERST to the HIP is driven by the net MIPI_XHS0_1V8
    • The connection between the two nets is accomplished by bridging pins 2 and 4 on the DIP switch S6 on the carrier card. I was able to use debug clips to establish a temporary connection before soldering the wire

    Also, for the HIP clock connections I got the link working with either:

    • using two clocks:
      • AV120: connected to the refclk0 input on the HIP
      • AY120: connected to the GTS PLL 
    • using a single clock:
      • AV120: connected to both the HIP and the GTS PLL
    • AqidAyman_Altera's avatar
      AqidAyman_Altera
      Icon for Regular Contributor rankRegular Contributor

      Thank you for your sharing this information and it is good to know that you are able to get the PCIe link running through FMC.