From 60c54155649b5a3d81524c64231c3b2157295151 Mon Sep 17 00:00:00 2001 From: Jean THOMAS Date: Mon, 29 Jun 2020 14:27:52 +0200 Subject: [PATCH] Fix autopep8 madness --- gram/core/crossbar.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/gram/core/crossbar.py b/gram/core/crossbar.py index 66301a3..ddee84b 100644 --- a/gram/core/crossbar.py +++ b/gram/core/crossbar.py @@ -136,13 +136,10 @@ class gramCrossbar(Elaboratable): assert nmasters > 0 # Address mapping -------------------------------------------------------------------------- - cba_shifts = { - "ROW_BANK_COL": controller.settings.geom.colbits - controller.address_align} + cba_shifts = {"ROW_BANK_COL": controller.settings.geom.colbits - controller.address_align} cba_shift = cba_shifts[controller.settings.address_mapping] - m_ba = [master.get_bank_address( - self.bank_bits, cba_shift) for master in self.masters] - m_rca = [master.get_row_column_address( - self.bank_bits, self.rca_bits, cba_shift) for master in self.masters] + m_ba = [master.get_bank_address(self.bank_bits, cba_shift) for master in self.masters] + m_rca = [master.get_row_column_address(self.bank_bits, self.rca_bits, cba_shift) for master in self.masters] master_readys = [0]*nmasters master_wdata_readys = [0]*nmasters -- 2.30.2