Forum Discussion
8 Replies
- Altera_Forum
Honored Contributor
how do you expect to loopback the PCIE? in PCIe requests expect completions for non-posted requests. Or are you just expecting to see the same packets you sent out in the first place?
- Altera_Forum
Honored Contributor
i am just expecting to see the same packets that i sent it first, but i want to do this in the same device.
I saw that there are 3 three types of loopack, and the type used in the Cyclone IV GX is reversal parallel loopack , that is why I need another PCIe device. so i just want to test on a single card , I want to just do a SERIAL loopack. is it possible on the Cyclone IV GX?! - Altera_Forum
Honored Contributor
I generated the IP compiler using MegaWizard plug-in manager , and I need help interfacing the IP at top level to do a transaction memory via PCI Express, is it explained somewhere ?
Thanks - Altera_Forum
Honored Contributor
Have you started looking at the PCIe user guide? and also got yourself the PCIe spec?
user guide: http://www.altera.com/literature/ug/ug_pci_express.pdf great PCIe express architecture book: http://www.mindshare.com/shop/?c=b§ion=0ba200b5 - Altera_Forum
Honored Contributor
yes I have already seen, I understood a the PCI express protocol (layers,trasaction types ...) but I need to interface PCIe IP I have already generated with the MegaWizard Plug-In Manager in order to guarantee successful data transfer, through PCI Express.
- Altera_Forum
Honored Contributor
well you will know then that you need to build an application that can handle the tlps that come put of the avalon-st bus and act on them, putting the completions back in.
its not a quick job as you will need some kind of state machine. o also recommend putting fifos on the st bus. - Altera_Forum
Honored Contributor
thank you,
is there an example to explain the procedure that I can follow to build this kind of application ? - Altera_Forum
Honored Contributor
try this reference design:
http://www.altera.com/support/refdesigns/ip/interface/ref-pciexpress-hp.html