Forum Discussion
Altera_Forum
Honored Contributor
11 years agoPCIe Interrupts from Qsys/Arria II GX
I'm feeling a bit lost trying to generate interrupts on the host PC over PCI Express. I'm using IP Compiler for PCI Express (13.1) on an Arria II GX togenerate an Avalon-MM master for Qsys. I've por...
Altera_Forum
Honored Contributor
11 years agoMSI-X interrupts are (effectively) edge sensitive.
So on the leading edge of the internal IRQ line you must generate the correct PCIe master cycle (by a write through the cra) to raise the interrupt. The host ISR will then need to access the device in order to drop the IRQ line (and then maybe check memory for any actions). For our systems I've written a simple bit of logic that implements the MSI-X-table and pending bit array and writes the high address bits to one of the address mapping tables just before doing the write that raises the interrupt itself. Not difficult and I'm a software engineer.