Forum Discussion
Altera_Forum
Honored Contributor
18 years agoHow can I connect PCI Express MegaCore to FIFO!
The is some example about conneting PCI Express to SDRAM. http://www.altera.com.cn/literature/an/an431.pdf I need to conneting PCI Express to FIFO, I have ask many people engage in FPGA develop...
Altera_Forum
Honored Contributor
18 years agoTransfer of data can happen in either direction for either a Master (PCIe spec actually uses the term Initiator) or a Slave (PCIe spec actually uses the term Completer).
If the FPGA with the PCIe port was a completer only (slave only) the PC could transfer data to the FPGA by using Write operations and the PC could transfer data from the FPGA by using Read operations. Now if the FPGA also has initiator (master) capabilities, then it could transfer data to the PC memory by using writes it initiated. It could transfer data from the PC memory by using reads it initiated. The example design and testbench created by PCI Express Compiler demonstrates both of these modes of operation. Unfortunately I don't have any PC software application source code to provide as an example. I think the Altera Stratix II GX PCIe Develoment Kit does have a software application that demostrates this, but source code is not available.