csr/SRAM: prefix page register with memory name

This commit is contained in:
Sebastien Bourdeauducq 2013-03-01 12:06:12 +01:00
parent c10622f5e2
commit d2491828a4
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ class SRAM:
self.address = address
page_bits = _compute_page_bits(self.mem.depth)
if page_bits:
self._page = RegisterField("page", page_bits)
self._page = RegisterField(self.mem.name_override + "_page", page_bits)
else:
self._page = None
if bus is None: