Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

csr/SRAM: prefix page register with memory name

  • Loading branch information...
commit d2491828a426f8167709e543969777549e1b72a8 1 parent c10622f
Sébastien Bourdeauducq authored March 01, 2013

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  migen/bus/csr.py
2  migen/bus/csr.py
@@ -62,7 +62,7 @@ def __init__(self, mem_or_size, address, bus=None):
62 62
 		self.address = address
63 63
 		page_bits = _compute_page_bits(self.mem.depth)
64 64
 		if page_bits:
65  
-			self._page = RegisterField("page", page_bits)
  65
+			self._page = RegisterField(self.mem.name_override + "_page", page_bits)
66 66
 		else:
67 67
 			self._page = None
68 68
 		if bus is None:

0 notes on commit d249182

Please sign in to comment.
Something went wrong with that request. Please try again.