Fix code styling
authorJean THOMAS <git0@pub.jeanthomas.me>
Wed, 29 Jul 2020 15:01:55 +0000 (17:01 +0200)
committerJean THOMAS <git0@pub.jeanthomas.me>
Wed, 29 Jul 2020 15:01:55 +0000 (17:01 +0200)
gram/core/crossbar.py

index 9f6b0265a3237f6715f65fc13aad7e3f30b30b5d..642a8e2ad90a30999dcd069cc7db0383f4987984 100644 (file)
@@ -136,10 +136,8 @@ class gramCrossbar(Elaboratable):
                 master_locked.append(locked)
 
             # Arbitrate ----------------------------------------------------------------------------
-            bank_selected = [(ba == nb) & ~locked for ba,
-                             locked in zip(m_ba, master_locked)]
-            bank_requested = [bs & master.cmd.valid for bs,
-                              master in zip(bank_selected, self.masters)]
+            bank_selected = [(ba == nb) & ~locked for ba, locked in zip(m_ba, master_locked)]
+            bank_requested = [bs & master.cmd.valid for bs, master in zip(bank_selected, self.masters)]
             m.d.comb += [
                 arbiter.requests.eq(Cat(*bank_requested)),
                 arbiters_en[nb].eq(~bank.valid & ~bank.lock)