projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c10622f
)
csr/SRAM: prefix page register with memory name
author
Sebastien Bourdeauducq
<sebastien@milkymist.org>
Fri, 1 Mar 2013 11:06:12 +0000
(12:06 +0100)
committer
Sebastien Bourdeauducq
<sebastien@milkymist.org>
Fri, 1 Mar 2013 11:06:12 +0000
(12:06 +0100)
migen/bus/csr.py
patch
|
blob
|
history
diff --git
a/migen/bus/csr.py
b/migen/bus/csr.py
index 264c63c001fd033227dd0e3594afecb03614aaf4..9deb334b77ed7221e5daa727d255a1ee0229b4e0 100644
(file)
--- a/
migen/bus/csr.py
+++ b/
migen/bus/csr.py
@@
-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: