Fix autopep8 madness
authorJean THOMAS <git0@pub.jeanthomas.me>
Mon, 29 Jun 2020 12:27:52 +0000 (14:27 +0200)
committerJean THOMAS <git0@pub.jeanthomas.me>
Mon, 29 Jun 2020 12:27:52 +0000 (14:27 +0200)
gram/core/crossbar.py

index 66301a36d8abd32140455b8acdadb1739d90cfc7..ddee84b022608b6ab54bbe096a2b6af2ed96a947 100644 (file)
@@ -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