projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5ddd12
)
migen/bank/description: remove support of _r prefix in CSRs
author
Florent Kermarrec
<florent@enjoy-digital.fr>
Thu, 2 Apr 2015 10:13:22 +0000
(12:13 +0200)
committer
Florent Kermarrec
<florent@enjoy-digital.fr>
Thu, 2 Apr 2015 10:13:22 +0000
(12:13 +0200)
migen/bank/description.py
patch
|
blob
|
history
diff --git
a/migen/bank/description.py
b/migen/bank/description.py
index fd506fe2172d72f44cea57b46b22b12f6f2a75cd..e44cc56bfa3a6b312e64cf8ae64f10b0234dd776 100644
(file)
--- a/
migen/bank/description.py
+++ b/
migen/bank/description.py
@@
-8,8
+8,6
@@
class _CSRBase(HUID):
self.name = get_obj_var_name(name)
if self.name is None:
raise ValueError("Cannot extract CSR name from code, need to specify.")
- if len(self.name) > 2 and self.name[:2] == "r_":
- self.name = self.name[2:]
self.size = size
class CSR(_CSRBase):