From d67f24ddc70099affa0fbc3558f8efcb6988142f Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 2 Apr 2015 12:13:22 +0200 Subject: [PATCH] migen/bank/description: remove support of _r prefix in CSRs --- migen/bank/description.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/migen/bank/description.py b/migen/bank/description.py index fd506fe2..e44cc56b 100644 --- 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): -- 2.30.2