原文地址:http://www.fpga4fun.com/PCI-Express5.html

 

Xilinx makes using PCI express easy - they provide a free PCI Express core (called "Endpoint Block Plus") and a wizard to configure it, all that in their free version of ISE - ISE WebPack.

So let's fire up Xilinx CORE generator and select Endpoint Block Plus.

PCI Express(五) - Xilinx wizard

The core is inactive, we need to use File --> New Project to create a project and select an FPGA (here we are using a Dragon-E so we select Virtex-5)...

PCI Express(五) - Xilinx wizard

... and also select your favorite language (in the "Generation" tab).

Now the Endpoint Block Plus core becomes active and you can double-click on it to start the wizard.
On the first page, name your component. Here we chose "my_endpoint_blk_plus". The rest is ok for Dragon-E, so click "Next >".

PCI Express(五) - Xilinx wizard

Now you can change the vendor/device IDs...

PCI Express(五) - Xilinx wizard

... and the address spaces.

PCI Express(五) - Xilinx wizard

The next pages are without much interest, so click on "Generate" to generate the core and its documentation.

We are now ready to create our first PCI Express FPGA bitfile, program it in an FPGA and generate real PCI Express traffic.

相关文章: