From 5078b19bff76d0a7145c4adceca167ca4146dce3 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 18 May 2020 18:51:25 +0200 Subject: [PATCH] core/crossbar: remove retro-compat > 6 months old. --- litedram/core/crossbar.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/litedram/core/crossbar.py b/litedram/core/crossbar.py index 66b44bc..f75ab96 100644 --- a/litedram/core/crossbar.py +++ b/litedram/core/crossbar.py @@ -73,15 +73,7 @@ class LiteDRAMCrossbar(Module): self.masters = [] - def get_port(self, mode="both", data_width=None, clock_domain="sys", reverse=False, **kwargs): - # retro-compatibility # FIXME: remove - if "cd" in kwargs: - print("[WARNING] Please update LiteDRAMCrossbar.get_port's \"cd\" parameter to \"clock_domain\"") - clock_domain = kwargs["cd"] - if "dw" in kwargs: - print("[WARNING] Please update LiteDRAMCrossbar.get_port's \"dw\" parameter to \"data_width\"") - data_width = kwargs["dw"] - + def get_port(self, mode="both", data_width=None, clock_domain="sys", reverse=False): if self.finalized: raise FinalizeError