From 3dab76514ac3a97d5004d5d063c8f9ecb2e4e8b7 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Fri, 29 Apr 2016 17:42:32 +0200 Subject: [PATCH] frontend/crossbar: get_master --> get_port --- litedram/frontend/crossbar.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/litedram/frontend/crossbar.py b/litedram/frontend/crossbar.py index a8e2646..d997724 100644 --- a/litedram/frontend/crossbar.py +++ b/litedram/frontend/crossbar.py @@ -23,13 +23,13 @@ class LiteDRAMCrossbar(Module): self._masters = [] - def get_master(self): + def get_port(self): if self.finalized: raise FinalizeError - lasmi_master = Interface(self._rca_bits + self._bank_bits, + port = Interface(self._rca_bits + self._bank_bits, self._dw, 1, self._req_queue_size, self._read_latency, self._write_latency) - self._masters.append(lasmi_master) - return lasmi_master + self._masters.append(port) + return port def do_finalize(self): nmasters = len(self._masters)