spelling error
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 15 Jul 2020 14:59:28 +0000 (15:59 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 15 Jul 2020 14:59:28 +0000 (15:59 +0100)
src/soc/fu/mul/post_stage.py

index 0fe957bd981ff3bdf5fdfd5a528268471a9a0f1b..1c144ad1c85281170231003a48b721a2a7b10950 100644 (file)
@@ -57,7 +57,7 @@ class MulMainStage3(PipeModBase):
                 # compute overflow
                 mul_ov = Signal(reset_less=True)
                 with m.If(is_32bit):
-                    m31 = mul_o[31:64] # yes really bits 31 to 63 (incl)
+                    m32 = mul_o[31:64] # yes really bits 31 to 63 (incl)
                     comb += mul_ov.eq(m32.bool() & ~m32.all())
                 with m.Else():
                     m64 = mul_o[63:128] # yes really bits 63 to 127 (incl)