Knowledge Base Article
Why do IRQs appear as -1 in system.h, when exported from a QSYS sub system through an IRQ Bridge?
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.
Updated 3 months ago
Version 2.0No CommentsBe the first to comment