Article ID: 000080162 Content Type: Troubleshooting Last Reviewed: 08/21/2014

Why do IRQs appear as -1 in system.h, when exported from a QSYS sub system through an IRQ Bridge?

Environment

    Quartus® II Subscription Edition
BUILT IN - ARTICLE INTRO SECOND COMPONENT
Description

Due to a problem in the Nios® II SBT software version 13.0, in QSYS with subsystem when user assigns "IRQ = 1" to "Generic Tri-State Controller" component, Nios® II SBT will generate  a "system.h " file with "#define < Generic Tri-State Controller Name>_IRQ -1" instead of the matching value "1" as in QSYS.

This issue is due to, when an interrupt is exported from a QSYS subsystem through an IRQ Bridge; the BSP builder does not assign the interrupt correctly in "system.h" and it appears instead as "-1".

Resolution

To work around this problem, user may need to manually edit the incorrect IRQs in system.h to be match with QSYS.

This problem is fixed beginning with the Quartus II software version 14.0.

Related Products

This article applies to 1 products

Intel® Programmable Devices

1