Device Configuration User Guide: Agilex™ 5 FPGAs and SoCs

ID 813773
Date 7/24/2024
Public
Document Table of Contents

1.1. Agilex™ 5 Configuration Overview

All Agilex™ 5 FPGAs and SoCs are devices that include a Secure Device Manager (SDM) to manage FPGA configuration and security. The SDM provides a failsafe, strongly authenticated, programmable security mode for device configuration. Previous FPGA families include a fixed state machine to manage device configuration.

The Quartus® Prime software also provides flexible and robust security features to protect sensitive data, intellectual property, and the device itself under both remote and physical attacks. Configuration bitstream authentication ensures that the firmware and configuration bitstream are from a trusted source. Encryption prevents theft of intellectual property. The Quartus® Prime software also compresses FPGA bitstreams, reducing memory utilization such as the on-board quad SPI flash device that is storing the FPGA bitstreams.

Intel describes configuration schemes from the point of view of the FPGA. Agilex™ 5 devices support active and passive configuration schemes. In active configuration schemes the FPGA acts as the master and the external memory acts as a slave device. In passive configuration schemes an external host acts as the master and controls configuration. The FPGA acts as the slave device. All Agilex™ 5 configuration schemes support design security and partial reconfiguration. All Agilex™ 5 active configuration schemes support remote system update (RSU) with quad SPI flash memory. To implement RSU in passive configuration schemes, an external controller must store and drive the configuration bitstream.

Agilex™ 5 devices support the following configuration schemes:

  • Avalon® streaming ( Avalon® -ST)
  • JTAG
  • Configuration via Protocol (CvP)
  • Active Serial (AS) normal and fast modes
Table 1.   Agilex™ 5 Devices Configuration Scheme, Data Width, and MSEL
Configuration Scheme Data Width (bits) MSEL[2:0]
Passive Avalon® -ST 16 101
8 110
JTAG 1 111
Configuration via Protocol (CvP) x4, x8 lanes1

0012

Active AS - fast mode

4

001

AS - normal mode 4 011

Avalon-ST

The Avalon® -ST configuration scheme is a passive configuration scheme. Avalon® -ST is the fastest configuration scheme for Agilex™ 5 devices. Avalon® -ST configuration supports x8 and x16 modes. The x16 bit mode uses general-purpose I/Os (GPIOs) for configuration. The x8 bit mode uses dedicated SDM I/O pins.

Note: The AVST_data[15:0], AVST_clk, and AVST_valid use dual-purpose GPIOs which operate at 1.2 V. You can use these pins as regular I/Os after the device enters user mode. Refer to the Enabling Dual-Purpose Pins section for more information.

Avalon® -ST supports backpressure using the AVST_READY and AVST_VALID pins. Because the time to process the incoming bitstream varies, backpressure support is necessary to transfer data to the Agilex™ 5 device. For more information about the Avalon® -ST refer to the Avalon® Interface Specifications.

JTAG

You can configure the Agilex™ 5 device using the dedicated JTAG pins. The JTAG port provides seamless access to many useful tools and functions. In addition to configuring the Agilex™ 5, you use the JTAG port for debugging with Signal Tap or the System Console tools.

The JTAG port has the highest priority and overrides the MSEL pin settings. Consequently, you can configure the Agilex™ 5 device over JTAG even if the MSEL pins specify a different configuration scheme unless you disabled JTAG for security reasons.

CvP

CvP uses an external PCIe* host device as a Root Port to configure the Agilex™ 5 device over the PCIe* link. You can specify up to a x8 PCIe* link. Agilex™ 5 devices support two CvP modes, CvP initialization and CvP update.
Note: For fast configuration data sources, the data rate of the device's internal configuration data path might limit the configuration data rate; and, not the PCIe* link width.
CvP initialization process includes the following two steps:
  1. During the board power up, the CvP uses quad SPI memory in AS x4 mode to configure the FPGA with the periphery image to enable CvP interface that includes the PCIe* IP. The PCIe* link training establishes the PCIe* link of the CvP PCIe* IP before the core fabric configures.
  2. The host device uses the CvP PCIe* link to configure your design in the core fabric.

CvP update mode updates the FPGA core image using the PCIe* link already established from a previous full chip configuration or CvP initialization configuration. After the Agilex™ 5 enters user mode, you can use the CvP update mode to reconfigure the FPGA fabric. This mode has the following advantages:

  • Allows to change core algorithms logic blocks.
  • Provides a mechanism for standard updates as a part of a release process.
  • Customizes core processing for different components that are part of a complex system.

For Agilex™ 5 SoC devices, CvP is only supported in FPGA configuration first mode.

AS Normal Mode

Active Serial x4 or AS x4 or Quad SPI is an active configuration scheme that supports flash memories capable of three- and four-byte addressing. Upon power up, the SDM boots from a boot ROM which uses three-byte addressing to load the configuration firmware from the Quad SPI flash. After the configuration firmware loads, the Quad SPI flash operates using four-byte addressing for the rest of the configuration process.

AS Fast Mode

The only difference between AS normal mode and fast mode is that this mode does not delay for 10 ms before beginning configuration. Use this mode to meet the link up requirement for PCIe* or for other systems with strict timing requirements.

In AS fast mode, the power-on sequence must ensure that the quad SPI flash memory is out of reset before the SDM because the Agilex™ 5 device accesses flash memory immediately after exiting reset. The power supply must be able to provide an equally fast ramp up for the Agilex™ 5 device and the external AS x4 flash devices. Failing to meet this requirement causes the SDM to report that the memory is missing. Consequently, configuration fails.

1 For more information, refer to the Agilex™ 5 Configuration via Protocol (CvP) Implementation User Guide.
2 Before you can configure the core image using CvP, you must configure either the periphery image or the full image configuration via the AS scheme. The CvP core image is loaded by the host via PCIe link, which is referred to as passive.