Article ID: 000077599 Content Type: Troubleshooting Last Reviewed: 12/07/2012

Incorrect Vectored Interrupt Controller (VIC) IRQ Information in system.h

Environment

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

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 #define statements 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 #define statements 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.

Related Products

This article applies to 1 products

Intel® Programmable Devices

1