Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

csr/SRAM: prefix page register with memory name

  • Loading branch information...
commit d2491828a426f8167709e543969777549e1b72a8 1 parent c10622f
@sbourdeauducq sbourdeauducq authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  migen/bus/csr.py
View
2  migen/bus/csr.py
@@ -62,7 +62,7 @@ def __init__(self, mem_or_size, address, bus=None):
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:
Please sign in to comment.
Something went wrong with that request. Please try again.