Critical Issue
Description
For Qsys hardware designs, the Vectored Interrupt Controller
(VIC) is not supported properly by the Nios II SBT. The SBT publishes
incorrect information to the system.h file. The ALT_ENHANCED_INTERRUPT_API_PRESENT definition
is missing, and IRQ priorities are defined as -1.
Resolution
Use one of the following techniques to work around this issue:
- Create a set of
#definestatements in a new header (.h) file. This technique is recommended because your definitions are preserved if you regenerate the BSP. Ensure that the following information is defined properly:
#define ALT_ENHANCED_INTERRUPT_API_PRESENT
#define <component>_IRQ <interrupt priority from
Qsys system>
- Manually code the correct
#definestatements in system.h. However, if you use this technique, you will lose your changes every time the BSP is regenerated and system.h is updated. - Generate your system with SOPC Builder.
- Use the internal interrupt controller.