Removed from bperm.py extraneous creation of temporary Signal()
authorcolepoirier <colepoirier@gmail.com>
Sat, 16 May 2020 22:15:57 +0000 (15:15 -0700)
committercolepoirier <colepoirier@gmail.com>
Sat, 16 May 2020 22:15:57 +0000 (15:15 -0700)
src/soc/logical/bperm.py

index 518a4a81f891ed3139786b306cc2eaa4da0305ef..054cce00238b79a4fc32ec67461d9167c015f8c1 100644 (file)
@@ -35,7 +35,6 @@ class Bpermd(Elaboratable):
 
     def elaborate(self, platform):
         m = Module()
-        index = Signal(8, reset_less=True)
         rb64 = Array([Signal(1, reset_less=True, name=f"rb64_{i}") for i in range(64)])
         for i in range(64):
             m.d.comb += rb64[i].eq(self.rb[i])