Forum Discussion
Altera_Forum
Honored Contributor
15 years agoI'm not an expert of custom sopc component.
Have you associated the irq_port signal to the avalon irq line? I think this should be in the _hw.tcl file. Other remark: in the HDL you assign irq a high level but never clear it. I think this is not correct. The C code is correct, provided SIMPLER_IRQ_0_IRQ really refers to your component irq. Again: in the isr you must reset the irq otherwise it will retrigger perpetually