A method includes receiving a linear address for accessing a multiple-bank
memory, determining a first bit location of the linear address based on a
first register value, and providing a bank identifier based on a value at
the first bit location of the linear address. Another method includes
receiving, at a memory controller coupled to a multiple-bank memory,
input indicating a mapping of values at identified bit locations of a
linear address to corresponding values of a memory address output. The
memory address output includes a bank identifier based on a value at one
or more of at least three bit locations of the linear address and a value
of the input is programmable.