fix RippleMSB
authorJacob Lifshay <programmerjake@gmail.com>
Thu, 5 May 2022 04:24:08 +0000 (21:24 -0700)
committerJacob Lifshay <programmerjake@gmail.com>
Thu, 5 May 2022 04:24:08 +0000 (21:24 -0700)
TODO: add tests

https://bugs.libre-soc.org/show_bug.cgi?id=798#c5

src/nmutil/ripple.py

index 6e7a5af2eecf317344ec290ef57966d9874995e8..1afa05dc32f72a8f9c844ac64d8ced02e6d0e28d 100644 (file)
@@ -78,7 +78,7 @@ class RippleMSB(Ripple):
     """
 
     def __init__(self, width):
-        Ripple.__init__(self, width, start_lsb=True)
+        Ripple.__init__(self, width, start_lsb=False)
 
 
 class MoveMSBDown(Elaboratable):