mem: More descriptive address-mapping scheme names

This patch adds the row bits to the name of the address mapping
schemes to make it more clear that all the current schemes places the
row bits as the most significant bits.
This commit is contained in:
Andreas Hansson
2014-03-23 11:11:53 -04:00
parent a3d582f8e6
commit 7e7b67472a
3 changed files with 27 additions and 26 deletions

View File

@@ -168,7 +168,7 @@ def config_mem(options, system):
# If the channel bits are appearing after the column
# bits, we need to add the appropriate number of bits
# for the row buffer size
if ctrl.addr_mapping.value == 'RaBaChCo':
if ctrl.addr_mapping.value == 'RoRaBaChCo':
# This computation only really needs to happen
# once, but as we rely on having an instance we
# end up having to repeat it for each and every