From 14c6062b005de3d7d09babaf4c2d0196422fbc21 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Fri, 28 Dec 2018 11:10:43 +0100 Subject: [PATCH] core/crossbar: remove "ROW_COL_BANK" address_mapping (need to be simulated) --- litedram/core/crossbar.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/litedram/core/crossbar.py b/litedram/core/crossbar.py index f444bf8..30cb57f 100644 --- a/litedram/core/crossbar.py +++ b/litedram/core/crossbar.py @@ -90,10 +90,7 @@ class LiteDRAMCrossbar(Module): # address mapping cba_shifts = { "ROW_BANK_COL": controller.settings.geom.colbits - - controller.address_align, - "ROW_COL_BANK": controller.settings.geom.rowbits + - controller.settings.geom.colbits - - controller.address_align + controller.address_align } cba_shift = cba_shifts[controller.settings.address_mapping] m_ba = [m.get_bank_address(self.bank_bits, cba_shift)for m in self.masters]