insude a Qsys with NIOS II I inserted voltage monitor module of altera and connected its IRQ signal to IRQ NIOS II IRQ bus at bit 2 and generated the qsys.
at the Qsys file SOPCINFO the irq looks connected ID=2
but when generating the BSP the iterrupt ID equals to -1 instead of 2.
what can be the problem?any workaround?
Thank you for posting in Intel community forum and hope you are doing well.
Clarification on the design, you are using the voltage sensor IP and are trying to connect the interrupt interface to NIOS II processor?
Is it possible to share the Qsys design or any NIOS code for our further checking and better understanding?
For the time being here is some useful resource which you can refer to in regards to the design you are using:
- https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/ug/ug_voltagesensor.pdf (refer to the section 4.3 for interrupt interface)
- https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/hb/nios2/n2sw_nii52006.pdf#... (Nios II Interrupt Service)
Noted on the qsys files, allow us to take a look into the design and get back to you shortly.
Further clarification if I may, in where did you see the interrupt ID of -1 in the BSP? (if convenient, please do provide us a screenshot of the mention settings)
1. Attached please find screenshots of the BSP interrupt ID.
2. I also tried to make a much more simple design with NIOS2 and voltage monitor in 18.1 version, and still got same result.