06-01-2010 01:25 AM
Hi, I'm a new user of Xilinx FPGA. And recently im trying to use the PCI Express Endpoint Block PLUS on Virtex-5.
I generated the IP Core in ISE 11.4, and it simulated successfully.
The problem is , how can i put my own datas on pcie bus ?
Or how to write my own program to connect with the IP Core ?
ps: I use VHDL.
06-01-2010 04:19 AM
When you generate the core it comes with PIO example design. Have a look at UG341 in the link below:
It has the details of the example design.
The structure of the generated files are divided between two: user application and core wrapper.
You will need to modify the user application to send your data into the core which will be passed
to the link partner via PCIe link.
06-01-2010 07:23 AM
You may also want to check out XAPPP859 and XAPP1026 for more complex examples:
http://www.xilinx.com/support/documentation/application_notes/xapp859.pdf (Virtex-5 FPGA Integrated Endpoint Block for PCI Express Designs: DDR2 SDRAM DMA Initiator Demonstration Platform)
http://www.xilinx.com/support/documentation/application_notes/xapp1052.pdf (Bus Master DMA Reference Design for the Xilinx Endpoint Block Plus Core for PCI Express)
06-01-2010 08:06 PM
06-02-2010 03:22 PM
XILINX_PCI_EXP_EP consists of both core instantiation and the user application instantiation. User application is not a standard module that comes with the core. This is just an example to show how the back end user application works. Therefore you might either want to replace this application or modify this application to suit your requirement.
06-03-2010 10:06 PM
Now I understand the architecture of the Core.
But my problem is still unsolved.
That in order to send my own data through PCIe, what should I do ? How ?
(Since the DSPORT_INST simulation files cannot be synthesized and downloaded into FPGA)
06-06-2010 10:49 PM
I think you are looking for a way to send real data from PC to the board through PCIe, right?
The easiest way would be to use PCITree, which is a program for assessing all PCI/PCIe peripherals on Windows. Once your card is up and running on your PC, you can use it to read/write the memory space.
PCI tree webpage.
This docuemnt also contains steps for testing a PCIe design on PC (see "PciTree Testing" and "Memory Endpoint Test").
Hope this will help you.
-Yan Shun Li