gram.core.bankmachine: Remove unused local variables in BankMachine
authorJean THOMAS <git0@pub.jeanthomas.me>
Fri, 7 Aug 2020 15:13:01 +0000 (17:13 +0200)
committerJean THOMAS <git0@pub.jeanthomas.me>
Fri, 7 Aug 2020 15:13:01 +0000 (17:13 +0200)
gram/core/bankmachine.py

index f6058643828598921cf54a61417a580bc613dcff..520cb2122114be3d3f515f8a894414270285b619 100644 (file)
@@ -85,8 +85,8 @@ class BankMachine(Elaboratable):
     def __init__(self, n, address_width, address_align, nranks, settings):
         self.settings = settings
         self.req = req = Record(cmd_layout(address_width))
-        self.refresh_req = refresh_req = Signal()
-        self.refresh_gnt = refresh_gnt = Signal()
+        self.refresh_req = Signal()
+        self.refresh_gnt = Signal()
 
         a = settings.geom.addressbits
         ba = settings.geom.bankbits + log2_int(nranks)