I have programmed PCIE endpoint block in ML507 board and plugged in the board to PCIe slot. In linux, lspci -v -d 10EE:0007 identifies the Xilinx device. With the following code , I am trying to do map the PCIE memory.
-- offset address - the address displayed in above lspci command (Memory at 0xf3d00000)
-- addr always returns 0x7ffff7ff8000
When I try to do read/write operation , the data returned is 0. I had programmed the ML507 using JTAG and after programming did a power cycle of PC so that the PCIe is recogonised. Could anyone tell me what I am missing here?