litex/compat: Fully deprecate up5kspram renaming. (Warning to suggest change has been here for > 1 year).

This commit is contained in:
Florent Kermarrec 2022-01-07 18:40:12 +01:00
parent c46824153d
commit 30a99582ae
1 changed files with 1 additions and 10 deletions

View File

@ -49,13 +49,4 @@ def add_compat(location):
# Cores. # Cores.
if location == "litex.soc.cores": if location == "litex.soc.cores":
class compat_up5kspram: pass
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()