Forum Discussion
Altera_Forum
Honored Contributor
12 years agoCustom 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 ...
Altera_Forum
Honored Contributor
12 years agoI met the same problem.
And I try the way @m3atwad said: 'changing the interface name to something else on this second peripheral'. but it did not work. The attachment is my component's _hw.tcl~ , and here is part of system.h code generated by using the related sopcinfo# define alt_module_class_ezusb2nios_0 ezusb2nios
# define ezusb2nios_0_base 0x0
# define ezusb2nios_0_irq -1
# define ezusb2nios_0_irq_interrupt_controller_id -1
# define ezusb2nios_0_name "/dev/ezusb2nios_0"
# define ezusb2nios_0_span 1024
# define ezusb2nios_0_type "ezusb2nios"
You can see, the IRQ and IRQ_INTERRUPT_CONTROLLER_ID is still -1. I don't know why