Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

PCI Express computer side program

Status
Not open for further replies.

spman

Advanced Member level 4
Full Member level 1
Joined
Aug 15, 2010
Messages
113
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Visit site
Activity points
2,061
Hi,
I have a design with PCIe and DDR3 RAM on ML605 board. I've implemented the RAM successfully and I'm currently trying to implement PCIe.
I'm confused with the computer side program! How should I send data from computer to FPGA? In the Xilinx example design, a program (PCItree) is used only for testing throughput. But I don't know how to send my data and how to direct them to the RAM. Is it possible to make DMA between the PCIe core and the RAM?

Thanks in advance.

- - - Updated - - -

Another question in regard to this topic:
What does mean each of the terms "Endpoint application" and "Root port application" ? I encountered to these in the Virtex-6 PCIe user guide.
 

hi,

From the "computer side", PCIe is like PCI. So if yo want to communicate with your device, you need a device driver (if you use linux, you can access your device from the user's land using mmap).
A root complex is the PCIe "master". The root complex talks to endpoints.

Franck.
 
  • Like
Reactions: spman

    spman

    Points: 2
    Helpful Answer Positive Rating
Thanks Franck
A root complex is the PCIe "master". The root complex talks to endpoints.
What are endpoints in the literature?

Do you know about communication with PCI in windows?
 

Endpoints are devices.

I've done some communication with a PCI device under windows. I wrote a WDF driver.
I know you can also use some commercial API like Jungo Windriver to handle PCI communication.

Franck.
 
  • Like
Reactions: spman

    spman

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top