How to send data from FPGA to PC via PCIe

Comments and questions related to the "Down to the TLP" pages

How to send data from FPGA to PC via PCIe

Postby Guest »

Hello,
I want to send data from FPGA to PC via PCIe ,
So up to my understanding i have to allocate memory in PC side,
Get the address of that memory and map to PCIe addressing space..
So MY FPGA have to send the data to that PCIe address space.
In PC side i can read that data with drivers...

Is this correct or any suggestions to do that..??
Guest
 

Re: How to send data from FPGA to PC via PCIe

Postby support »

Hello,

Since this is the Xillybus forum, the obvious answer is that the Xillybus IP Core can do this for you.

The general outline you gave is indeed correct. You probably also want a handshaking mechanism between the PC and FPGA (interrupts and BAR mapped FPGA registers).

It's not a trivial project, but people manage to get it done. :)

Regards,
Eli
support
 
Posts: 802
Joined:


Return to General PCIe

cron