I want configure an endpoint AV memory mapped Pcie Hard Ip Gen2 x1 in a Qsys System.I need a suggestion as Bar blocks should be configured. I see an error bar0 size of 0 - bit is less than 4 altera pcie error . How the size of bar is configured? There are some parameters to define to change the size? Best Regards
The BAR has to be connected to something in Qsys and Qsys determines the BAR size from that. The BAR size cannot be set independently. If you want to export the BAR you can't do it directly. Export it through an Avalon-MM Pipeline Bridge. You can then set the address size parameter in the Bridge to indirectly set the BAR size.