Forum Discussion
Altera_Forum
Honored Contributor
12 years agoThe behavior you are seeing is most likely the result of how the tools are optimizing away resources due to the fact that your supplied address is fixed value. For example, it doesn't know how to produce zero address lines, so you are stuck with one address line after synthesis, which the fitter knows can correspond to a depth of 2.
Make your 'address' come from an input port and you will find that the RAM summary will report a power-of-two 'depth' based on the width of the address.