I have a PCIe-generated kernel / endpoint using the xilinx kernel generator for spartan6 fpga on the development board, which I changed a bit to enable MSI and send them every couple of seconds.
In addition, I made a simple C kernel module on the Linux desktop, on which I plugged in a development board. It registers the device, allocates memory, allows bus mastery for the device, and handles interrupts, etc.
What I want to do now is transfer the DMA from the board to the PC, and then an interrupt will be sent upon completion so that the processor can go and read it. I am not a Verilog expert, and the code I have seems to be incapable of any DMA features.
I could not find relevant information on the Internet, so this is my last hope.
source
share