core/crossbar: remove retro-compat > 6 months old.
This commit is contained in:
parent
3b105d512b
commit
5078b19bff
|
@ -73,15 +73,7 @@ class LiteDRAMCrossbar(Module):
|
||||||
|
|
||||||
self.masters = []
|
self.masters = []
|
||||||
|
|
||||||
def get_port(self, mode="both", data_width=None, clock_domain="sys", reverse=False, **kwargs):
|
def get_port(self, mode="both", data_width=None, clock_domain="sys", reverse=False):
|
||||||
# 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"]
|
|
||||||
|
|
||||||
if self.finalized:
|
if self.finalized:
|
||||||
raise FinalizeError
|
raise FinalizeError
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue