remove redundant Signal width=1
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 22 Apr 2019 10:31:30 +0000 (11:31 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 22 Apr 2019 10:31:30 +0000 (11:31 +0100)
TLB/src/LFSR2.py

index 6d2a97c6fc08ef571fd8cca03977b62a2ee00898..455ff90c2c9cb94bdf9780dbdd3724496234a997 100644 (file)
@@ -73,7 +73,7 @@ class LFSR:
     def __init__(self, polynomial):
         self.polynomial = LFSRPolynomial(polynomial)
         self.state = Signal(self.width, reset=1)
-        self.enable = Signal(1, reset=1)
+        self.enable = Signal(reset=1)
 
     @property
     def width(self):