# *begins* the processing phase (enters the massive DIV
# pipeline chain) - see ospec.
+ # NOTE: this stage does *NOT* do *ACTUAL* DIV processing,
+ # it is PURELY the *ENTRY* point into the chain, performing
+ # "preparation" work
+
# store intermediate tests (and zero-extended mantissas)
am0 = Signal(len(self.i.a.m)+1, reset_less=True)
bm0 = Signal(len(self.i.b.m)+1, reset_less=True)
# last-stage guard/round/sticky and copies mantissa into z.
# post-processing stages take care of things from that point.
+ # NOTE: this phase does NOT do ACTUAL DIV processing, it ONLY
+ # does "conversion" *out* of the Q/REM last stage
+
with m.If(~self.i.out_do_z):
mw = self.o.z.m_width
m.d.comb += [