Knowledge Base Article
Why am I seeing the Error: pgm_q_inst_intel_niosv_g_0_platform_irq_rx_bfm_ip.pgm_q_inst_intel_niosv_g_0_platform_irq_rx_bfm: "Irq width" (AV_IRQ_W) 2048 is out of range: 1-32?
Description
Due to a problem in the Quartus® Prime Pro Edition Software version 25.1 and Quartus® Prime Standard Edition Software 24.1, the error message might occur when generating a testbench system for Nios® V/g processor designs. As a result, the Quartus® Prime software fails to generate the testbench system.
The error message occurs when ALL the following conditions are met:
-
The processor implements CLIC interrupt mode with more than 32 platform interrupts (Number of Platform interrupt sources parameter).
-
The processor’s interrupt receiver is exported to the top-level system (Double-click to export option).
-
Selected Standard, BFMs for standard Platform Designer interfaces when generating testbench system (Generate Testbench System tools).
This is because the maximum width of the Avalon Interrupt Source and Interrupt Sink BFMs is capped at 32 interrupts.
Resolution
To work around this problem in the Quartus® Prime software, you may proceed with any of the following options:
-
Implements CLIC interrupt mode with fewer than 32 platform interrupts.
-
Refrain from exporting the processor’s interrupt receiver.
-
Selects Simple, BFM for clocks, and resets when generating the testbench system.
Additional Information
This problem is currently scheduled to be resolved in a future release of the Quartus® Prime Pro Edition Software and Quartus® Prime Stnadard Edition Software.
Related Articles
Nios® V General Purpose Processor (Number of Platform interrupt sources Parameter)
Quartus® Prime User Guide (Generating the Testbench System Tool)
Avalon® Interrupt Source and Interrupt Sink BFMs (IRQ Width Parameter)