If a memory has dual use, the data sizes for each use case may not match. You can pre-compute the Least Common Multiple of the data sizes to make sure either use case can store an integer number of items. This simplifies addressing and multiplexing. (more on this later...)
http://fpgacpu.ca/fpga/lcm_function.html
http://fpgacpu.ca/fpga/lcm_function.html
Comments