From: Jean THOMAS Date: Mon, 29 Jun 2020 12:27:52 +0000 (+0200) Subject: Fix autopep8 madness X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=60c54155649b5a3d81524c64231c3b2157295151;p=gram.git Fix autopep8 madness --- 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