Altera_Forum
Honored Contributor
15 years agoPCIe BAR size must be larger than Avalon size
I'm using PCIe hard ip with SOPC builder with an Avalon MM conduit to my slave application logic. The size of the memory map on the conduit is 2M so I set my Avalon size in SOPC to 2 pages at 1M each. The SOPC builder does not allow me to set the PCIe BAR size to 2M though. It can't be set to anything lower that 8M otherwise I get the following warning and the BAR size get set to 8M automatically: "
Warning: pcie_compiler_0: bar0_Non_Prefetchable: BAR settings do not allow full access to the mapped Avalon slaves. Avalon size is hardcoded to 2 MBytes - 21 bits and Avalon Base Address is 0x00000000 in PCI Express Compiler settings.' I can't find any explanation as to why they can't both be set to 2M. Any enlightenment would be appreciated. Thanks