From 30a99582ae844fd56c3cd8b154118e6dc68f3628 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Fri, 7 Jan 2022 18:40:12 +0100 Subject: [PATCH] litex/compat: Fully deprecate up5kspram renaming. (Warning to suggest change has been here for > 1 year). --- litex/compat/__init__.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/litex/compat/__init__.py b/litex/compat/__init__.py index 37dcf6a4e..3e6377c3a 100644 --- a/litex/compat/__init__.py +++ b/litex/compat/__init__.py @@ -49,13 +49,4 @@ def add_compat(location): # Cores. if location == "litex.soc.cores": - class compat_up5kspram: - noticed = False - def __getattr__(self, name): - if not self.noticed: - compat_notice("litex.soc.cores.up5kspram", date="2020-03-24", info="Switch to litex.soc.cores.ram.") - self.noticed = True - from litex.soc.cores import ram - return getattr(ram, name) - from litex.soc.cores import ram - sys.modules["litex.soc.cores.up5kspram"] = compat_up5kspram() + pass