Forum Discussion
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- My local bus width is 21 bits, but the BAR space automatically gets set to 23 bits. --- Quote End --- Are your sure that your custom slave component has a memory size of 2MByte ? Can you check that in the SOPC Builder ? A local bus width of 21 bits (I suppose address bus width) does not neccessarily mean 2 MByte address size. The avalon slave address is not a byte address, it is a slave data width address. If your slave has a datawidth of 32 bits then the address is a dword address. A 21 bit dword address corresponds to a 23 bit byte address.