move comment
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 16 Jun 2019 13:41:00 +0000 (14:41 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 16 Jun 2019 13:41:00 +0000 (14:41 +0100)
src/ieee754/fpadd/fadd_state.py

index 5601da36d8b8ed8c763a2a9c81cdf799a132a239..3a69bed7f436d0180597f8407afc2374fce0eb3b 100644 (file)
@@ -45,8 +45,8 @@ class FPADD(FPBase, Elaboratable):
         m.d.comb += a.v.eq(self.in_a.v)
         m.d.comb += b.v.eq(self.in_b.v)
 
-        w = z.m_width + 4
-        tot = Signal(w, reset_less=True) # sticky/round/guard, {mantissa} result, 1 overflow
+        w = z.m_width + 4 # sticky/round/guard, {mantissa} result, 1 overflow
+        tot = Signal(w, reset_less=True)
 
         of = Overflow()