How to send data from FPGA to PC via PCIe

Comments and questions to the author of the "Down to the TLP" posts (Eli Billauer)

How to send data from FPGA to PC via PCIe

Postby Guest » Fri Jul 22, 2016 6:18 am

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 » Fri Jul 22, 2016 8:33 am

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: 482
Joined: Tue Apr 24, 2012 3:46 pm


Return to General PCIe

cron