Altera_Forum
Honored Contributor
14 years agoPCIe Type and Bar
Hi
pcie type 1. A platform that has a CPU(PCIe root complex embedded in it) connects to the FPGA via PCIe. Inside the FPGA, it has a nios ii processor, dma, memory controller, pheripheral and PCIe etc. So, does the FPGA need to has PCIe root complex or native endpoint? OR it need to connect to non-transparent bridge first and then to PCIe (root complex/endpoint?)? 2. How to justify a root complex is needed? Can you give some examples of application that do not use PCIe root complex? 3. What is the interface of a root complex used to connect to memory? PCIe? If via PCIe, then root complex is connected to endpoint first and then memory, right? pcie bar 1. How to know BAR size? e.g. If i have a DMA connect to PCIe, how to know the block size of DMA? So, i can select the number of bit for the particular BAR. I understand that Qsys and SOPC do it automatically but not megafunction. 2. Does a BAR can be shared by different device? If yes, how it is done? Thanks a lot