From 7f2e4e9cdcd604cdfb11da22380a630c7155fa70 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 29 Jun 2019 10:35:49 +0100 Subject: [PATCH] add comments --- src/ieee754/fpdiv/div1.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/ieee754/fpdiv/div1.py b/src/ieee754/fpdiv/div1.py index 5ceff1fe..c314c36c 100644 --- a/src/ieee754/fpdiv/div1.py +++ b/src/ieee754/fpdiv/div1.py @@ -39,10 +39,13 @@ class FPDivStage1Mod(Elaboratable): m = Module() # XXX TODO, actual DIV code here. this class would be - # "step two" and is the main "chain". tons of these needed. - # here is where Q and R are used, TODO: those need to be in + # here is where Q and R are used, TODO: Q/REM (etc) need to be in # FPDivStage0Data. + # NOTE: this does ONE step of conversion. it does NOT do + # MULTIPLE stages of Q/REM processing. it *MUST* be PURE + # combinatorial and one step ONLY. + # 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) -- 2.30.2