Quartus® Prime Pro Edition User Guide: Partial Reconfiguration

ID 683834
Date 10/23/2024
Public
Document Table of Contents

2.4.4. Configuring an External Host for Agilex® 7, Agilex™ 5, and Stratix® 10 Designs

You can optionally use an external host to write the partial bitstream data from external memory into the Agilex® 7, Agilex™ 5, or Stratix® 10 device. When using external host configuration, the external host initiates partial reconfiguration by asserting the pr_request signal. The external host monitors the PR status through the pr_done and pr_error signals.

The external host must respond appropriately to the handshake signals for successful partial reconfiguration. Co-ordinate system-level partial reconfiguration by ensuring that you prepare the correct PR region for partial reconfiguration. After reconfiguration, return the PR region into operating state.

To configure an external host, follow these steps:

  1. Parameterize and generate the Partial Reconfiguration External Configuration Controller Intel FPGA IP, as Specifying the IP Parameters and Options ( Quartus Prime Pro Edition) describes.
  2. Connect the Partial Reconfiguration External Configuration Controller pr_request, pr_done, and pr_error signals to top-level pins for control and monitor by the external host. You can assign the pin location by clicking Assignments > Pin Planner.
  3. Click Assignments > Device, and then click the Device & Pin Options button.
  4. In the Category list, click Configuration.
  5. For the Configuration scheme, select the scheme that matches with your full device configuration. For example, if your full device configuration uses the AVSTx32 scheme, the PR configuration must use AVSTx32.This option automatically reserves dedicated Avalon® streaming configuration pins for partial reconfiguration during user mode. The pins are exactly same as the Avalon® streaming pins that you use for full device configuration.

The following table describes the PR pins that the external host uses. The PR streaming to Avalon® streaming pins must conform to the Avalon® streaming specification for data transfer with backpressure.

Table 35.  Partial Reconfiguration External Configuration Pins
Pin Name Type Description
pr_request Input User-assigned port connected to Partial Reconfiguration External Configuration Controller IP. Logic high on this pin indicates that the PR host is requesting partial reconfiguration.
pr_done Output User-assigned port connected to Partial Reconfiguration External Configuration Controller IP. Logic high on this pin indicates that the partial reconfiguration is complete.
pr_error Output User-assigned port connected to Partial Reconfiguration External Configuration Controller IP. Logic high on this pin indicates an error in the device during partial reconfiguration.
avst_data:
avstx8 - [7:0]
avstx16 - [15:0]
avstx32 - [31:0]
Input These pins provide connectivity for the external host to transfer the PR bitstream to the SDM. The avstx8 data pins are part of the SDM I/O. avstx16 and avstx32 data pins are from I/O 48 bank 3A.
avst_clk Input Clocks the Avalon® streaming interfaces. avst_data and avst_valid are synchronous with avst_clk. The avstx8 clk pin is part of the SDM I/O. avstx16 and avstx32 are from I/O 48 bank 3A.
avst_valid Input

Logic high on this pin indicates the data in avst_data is valid data. The avstx8 data pins are part of the SDM I/O. avstx16 and avstx32 data pins are from I/O 48 bank 3A.

avst_ready Output Logic high on this pin indicates the SDM is ready to accept data from an external host. This output is part of the SDM I/O.