Forum Discussion
Altera_Forum
Honored Contributor
16 years agoNios interrupt response time
I have a custom SOPC component which has an interrupt sender (irq_n) in it's avalon interface. In my SOPC component HDL I set the irq_n line low, which causes a Nios interrupt handler to fire. In the...
Altera_Forum
Honored Contributor
16 years agoTake a look at the vic an example designs (http://www.altera.com/literature/an/an595_vic_collateral.zip) to get a reference point for Nios II interrupt performance.
I'm not sure what (exactly) could be causing the large delays that you're all seeing, but these are largely system dependent. I recommend starting with small, simple systems (like what's included in the examples) and building (interface-by-interface) from there. @mikebray: What speed is your UART? The Altera supplied UART has no internal buffering, so I'd expect dropped data if the CPU's not able to keep up. @All: External memory can cause large and unavoidable latencies. Be aware of this and design your hardware and/or hardware interfaces appropriately. Cheers, - slacker