Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
11 years ago

Custom ip: can't see IRQ number in system.h

Hello,

I'm trying to create a custom component which should generate an interrupt to the NIOS.

My problem is that the BSP generate the system.h with no interruption for the component.

Qsys plugged it to input 4, but BSP irq value is -1 as well as irq_interrrupt_controller_id

I tried to follow several document from Altera literature but no success.

The component has an Avalon MMSlave, a clock input, a reset input, an Interrupt Sender and several Conduit.

in the _sw.tcl there is the isr_preemption_supported set to true and supported_interrupt_apis to "legacy_interrupt_api enhanced_interrupt_api".

The driver code contains only the _regs.h file

The vhdl skeleton of the device is created but not the full behaviour, I don't think that BSP generation check this level of detail.

Can anyone help me with this issue?

Thanks

19 Replies