2.1. Intel Agilex® 7 Configuration Timing Diagram
The SDM drives Intel Agilex® 7 device configuration.
The power-on reset (POR) holds the Intel Agilex® 7 device in the reset state until the power supply outputs are within the recommended operating range. tRAMP defines the maximum power supply ramp time. If power supplies ramp time do not meet the tRAMP time, the Intel Agilex® 7 device I/O pins state is unknown.
For more information about POR refer to the Intel Agilex® 7 Power Management User Guide. For more information about tRAMP refer to the Intel Agilex® 7 Device Datasheet.
Initial Configuration Timing
When an error occurs, nSTATUS pulses low and asserts high when the device is ready to accept reconfiguration.
The numbers in the Initial Configuration part of the timing diagram mark the following events:
- The SDM boots up and samples the MSEL signals to determine the specified FPGA configuration scheme. The SDM does not sample the MSEL pins again until the next power cycle.
- With the nCONFIG signal low, the SDM enters Idle mode after booting.
Note: For Avalon® -ST x16 and x32 configuration schemes, the host must drive nCONFIG low until it samples nSTATUS low. If the host fails to drive nCONFIG low until it samples nSTATUS low there is a chance that configuration may fail.
- When the external host drives nCONFIG signal high, the SDM initiates configuration. The SDM drives the nSTATUS signal high, signaling the beginning of FPGA configuration. The SDM receives the configuration bitstream on the interface that the MSEL bus specified in Step 1. Throughout the configuration, it is possible for AVST_READY to deassert which would require AVST_VALID to deassert within six cycles.
- The SDM drives the CONF_DONE signal high, indicating the SDM received the bitstream successfully.
- When the Intel Agilex® 7 device asserts INIT_DONE to indicate the FPGA has entered user mode. GPIO pins exit the high impedance state. The time between the assertion of CONF_DONE and INIT_DONE is variable.
For FPGA first configuration, INIT_DONE asserts after initialization of the FPGA fabric, including registers and state machines.
For HPS first configuration, the HPS application controls the time between CONF_DONE and INIT_DONE. INIT_DONE does not assert until after the software running on the HPS such as U-Boot or the operating system (OS) initiates the configuration, the FPGA configures and enters user mode.
The entire device does not enter user mode simultaneously. Intel requires you to include reset release as described in the Including the Reset Release Intel FPGA IP in Your Design. Use the nINIT_DONE output of the Reset Release Intel® FPGA IP to hold your application logic in the reset state until the entire FPGA fabric is in user mode. Failure to include this IP in your design may result in intermittent application logic failures.
The second event in the timing diagram illustrates the Intel Agilex® 7 device reconfiguration. If you change the MSEL setting after power-on, you must power-cycle the Intel Agilex® 7. Power cycling forces the SDM to sample the MSEL pins before reconfiguring the device.
The numbers in the Reconfiguration part of the timing diagram mark the following events:
- The external host drives nCONFIG signal low. nCONFIG signal must be held low until the device drives the nSTATUS signal low.
- The SDM initiates device cleaning.
- The SDM drives the nSTATUS signal low when device cleaning is complete.
- The external host drives the nCONFIG signal high to initiate reconfiguration.
- The SDM drives the nSTATUS signal high signaling the device is ready for reconfiguration and starts to reconfigure.
Note: If you do not monitor the nSTATUS signal, pulse the nCONFIG signal low for at least 1000 ms to initiate a reconfiguration request.
Recoverable Configuration Error
The numbers in the Configuration Error part of the timing diagram mark the following events:
- The SDM drives nSTATUS signal low for a period of time specified in the Intel Agilex® 7 Device Datasheet to indicate a recoverable configuration error. The Intel Agilex® 7 device may not assert CONF_DONE indicating that device did not receive the complete configuration bitstream. The device does not assert INIT_DONE indicating that the configuration did not complete successfully. nCONFIG should continue to be driven high until after nSTATUS has returned back to high state.
If an error occurs during JTAG configuration, the SDM does not change the state of the nSTATUS signal. You can monitor the error messages that the Intel® Quartus® Prime Pro Edition Programmer generates for error reporting.
- The SDM enters the error state.
- The SDM enters the idle state if the nCONFIG signal drives to low. The device is ready for reconfiguration by driving a low to high transition on nCONFIG. You can also power cycle the device by following the device power down sequence.
Note: The nCONFIG signal can only change levels when it has the same value as nSTATUS. This restriction means that when nSTATUS = 1, nCONFIG can transition from 1 to 0. When nSTATUS = 0, nCONFIG can transition from 0 to 1. Apart from error reporting, nSTATUS only changes to follow nCONFIG.
Unrecoverable Configuration Error
In rare instances, a configuration error or a security event may be unrecoverable. In these cases, the SDM drives nSTATUS low and it stays low. You must perform a power cycle to restart the reconfiguration process. To ensure error recovery under all reconfiguration circumstances, Intel recommends that you design your system to continuously monitor nSTATUS and enable device power cycling if needed.
Note that in the case of a double bit ECC error in the SDM RAM, nSTATUS is also asserted low and stays low.
Bootrom recovery is a feature introduced to eliminate the need to power cycle the FPGA in the rare instance when the FPGA enters an unrecoverable error state. This feature is not available in AGF006, AGF008, AGF012, AGF014, AGF022, AGF027, AGI022, and AGI027. For more information on device ordering codes, refer to the Intel Agilex® 7 FPGAs and SoCs Device Overview.
If you are using Avalon® streaming interface x16 or Avalon® streaming interface x32 configuration mode, bootrom recovery requires you to follow the dual-purpose pins restrictions in Enabling Dual-Purpose Pins.
If you are using QSPI flash, you must connect the serial flash or quad SPI flash reset pin to the AS_nRST pin. The SDM must fully control the QSPI reset. Do not connect the quad SPI reset pin to any external host.