Forum Discussion
Altera_Forum
Honored Contributor
10 years agoYou need to read *Avalon-MM to PCI Express Interrupt Status Register* to figure out who caused the interrupt.
Normally the root port driver needs to read the Interrupt Status Register port AVL_IRQ_ASSERTED[15:0] at (CRA+0x40) to know which IRQ was active, each AVL_IRQ_ASSERTED[] bit reflects the value on the corresponding IRQ input port. Value 0 means Avalon-MM IRQ is not being signaled, value 1 means Avalon-MM IRQ is being signaled.