From: Jean THOMAS Date: Tue, 7 Jul 2020 10:33:01 +0000 (+0200) Subject: Fix code styling X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=918d8e2c7531f60cdfa3affcedd0ef5fd875e644;p=gram.git Fix code styling --- diff --git a/gram/core/bankmachine.py b/gram/core/bankmachine.py index 787bf83..0589416 100644 --- a/gram/core/bankmachine.py +++ b/gram/core/bankmachine.py @@ -170,10 +170,8 @@ class BankMachine(Elaboratable): m.d.comb += trccon.valid.eq(self.cmd.valid & self.cmd.ready & row_open) # tRAS (activate-precharge) controller ----------------------------------------------------- - m.submodules.trascon = trascon = tXXDController( - self.settings.timing.tRAS) - m.d.comb += trascon.valid.eq(self.cmd.valid & - self.cmd.ready & row_open) + m.submodules.trascon = trascon = tXXDController(self.settings.timing.tRAS) + m.d.comb += trascon.valid.eq(self.cmd.valid & self.cmd.ready & row_open) # Auto Precharge generation ---------------------------------------------------------------- # generate auto precharge when current and next cmds are to different rows