Original address: 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, and their free version of Ise-ise WebPack.
So let's fire up Xilinx CORE generator and select Endpoint Block Plus.
The core is inactive, we need to use File--and New project to create a project and select an FPGA (here we are using a D RAGON-E so we select Virtex-5) ...
... 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 >".
Now your can change the Vendor/device IDs ...
... and the address spaces.
The next pages is without much interest, so click on "Generate" to Generate the core and its documentation.
We is now ready to create our first PCI Express FPGAs bitfile, program it in an FPGA and generate real PCI Express traffic .
PCI Express (v)-Xilinx wizard