Hi,
I have been having problems when trying to enumerate the PCIe bus on a design I have interfacing a Xilinx Virtex 7 FPGA and the TMS320C6678.
The PCIe link is up and running but when I try to enumerate the bus I get the following results:
Start Enumeration of PCIe Fabric on This System
PCI: found device at : 0:0:0
PCI: device info is DEADBEEF
PCI: no device found at : 0:1:0
PCI: no device found at : 0:2:0
| |
PCI: no device found at : 0:31:0
PCI: found device at : 1:0:0
PCI: device info is DEADBEEF
PCI: found device at : 1:1:0
PCI: device info is DEADBEEF
PCI: found device at : 1:2:0
PCI: device info is DEADBEEF
| |
PCI: found device at : 7:30:0
PCI: device info is DEADBEEF
PCI: found device at : 7:31:0
PCI: device info is DEADBEEF
As you can see I find a device, DEADBEEF, on Bus 0 at Device number 0 and with Function 0. This is the root complex of my design.
When continuing to scan through other devices on Bus 0, I do not find the C6678 which I had hoped. Then when scanning through device numbers 0 to 31 on Bus 1 - Bus 7, I find my root complex device at every device addressed. Would you know what could cause this issue?
I have changed the bus numbering as follows when running my test: (Primary: 0, Secondary: 1, Sub: 2), (Primary: 0, Secondary: 1, Sub: 1), (Primary: 0, Secondary: 0, Sub: 0) but I get the same results.
Would you have a reference design for AXI to PCIe for a Virtex 7 device? Even something that is unsupported by you if at all possible.
Thank you,
Fearghal