how pcie works in fpga

Status
Not open for further replies.

harinisas

Newbie level 6
Joined
Feb 28, 2012
Messages
12
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,372
Hi,
i am new to fpga and i have zero knowledge on working with them, i am doing a project where i need to transfer the data from pc to fpga and from fpga to pc through pcie. so how does this process happen- like should we write code in hdl for transferring or receiving data from fpga if data is sent from pc how to receive at fpga.
i am working on fpga side.i know the basics like how to write and dump program on fpga using xilinx.
the fpga kit i am using is vertix 6
 
Last edited:

xilinx should provide a pcie core for you. the pcie protocol is rather complicated so the core saves you years of work
 

Check https://www.xilinx.com/support/documentation/user_guides/v6_pcie_ug517.pdf . (By the way, download Xilinx Document Navigator to manage all Xilinx documents) :

 

For PCI communication, there's a very nice tutorial on https://www.fpga4fun.com/. I suggest you to read after the PCI frame, understand it in detail. Design an FSM(finite state machine) on paper and after that you can code it in VHDL, Verilog or what you like.

Good Luck!
 

Maybe you can use an interface-chip between the PC and FPGA, such as MAX232, CP2102. It's very easy.And then you just need to know the time sequence from the datasheet.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…