Forum Discussion
Altera_Forum
Honored Contributor
9 years agoDE10-Nano Handling FPGA interrupts
Hello, I'm trying to find info on how to handle an IRQ from FPGA to HPS via f2h_irq0 Interrupt Receiver. For now I don't have a clue. I just found info on how to handle GPIO like KEY0 or KEY1...
Altera_Forum
Honored Contributor
9 years agoIt's very simple from a hardware standpoint. f2h_irq0 is a 32-bit input. Connect SW[4:0] to f2h_irq0[4:0] (or whichever 5 bits you want to use) and tie the remaining f2h_irq0 bits to logic 0 if you're not using them for other interrupt sources.