The simplest, but also most "underpowered" PCIe implementation is to use the Qsys component.
This thread has a link to a PDF showing how to create the PCIe end-point under an earlier version of Quartus. The steps should be the same under 14.0, or at least very similar.
http://www.alteraforum.com/forum/showthread.php?t=35678 If there is something that does not make sense to you in that document, let me know, and I'll try to explain.
I don't have a Stratix V board, so cannot give you a working example, but can try to help.
Which board do you have?
http://www.bittware.com/products-services-fpga-cots-hardware-fpgatype/altera-stratix-v-fpga Cheers,
Dave