From 659e4128e845adca13baa6ccb1efbecf87dc72eb Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 21 Jul 2019 15:48:09 +0100 Subject: [PATCH] start adding use of DivPipeInputData and DivPipeInterstageData --- src/ieee754/fpdiv/div0.py | 3 +-- src/ieee754/fpdiv/divstages.py | 6 ++---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/ieee754/fpdiv/div0.py b/src/ieee754/fpdiv/div0.py index c6e74ecf..30d92c6d 100644 --- a/src/ieee754/fpdiv/div0.py +++ b/src/ieee754/fpdiv/div0.py @@ -46,8 +46,7 @@ class FPDivStage0Mod(Elaboratable): return FPSCData(self.pspec, False) def ospec(self): - # XXX TODO: replace with DivPipeCoreInputData, here - return FPDivStage0Data(self.pspec) + return DivPipeInputData(self.pspec) def process(self, i): return self.o diff --git a/src/ieee754/fpdiv/divstages.py b/src/ieee754/fpdiv/divstages.py index c5f76834..2e38cd92 100644 --- a/src/ieee754/fpdiv/divstages.py +++ b/src/ieee754/fpdiv/divstages.py @@ -98,13 +98,11 @@ class FPDivStagesIntermediary(FPState, SimpleHandshake): def ispec(self): # TODO - this is for FPDivStage1Mod - # XXX TODO: replace with "intermediary" (DivPipeInterstageData) - return FPDivStage0Data(self.pspec) # DIV ispec (loop) + return DivPipeInterstageData(self.pspec) # DIV ispec (loop) def ospec(self): # TODO - this is for FPDivStage1Mod - # XXX TODO: replace with "intermediary" (DivPipeInterstageData) - return FPDivStage0Data(self.pspec) # DIV ospec (loop) + return DivPipeInterstageData(self.pspec) # DIV ospec (loop) def setup(self, m, i): """ links module to inputs and outputs. -- 2.30.2