From a5617e1a74eef51a933cc1b34dafa7215399ae3e Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 22 Jul 2019 11:46:40 +0100 Subject: [PATCH] set fraction width to zero --- src/ieee754/fpdiv/pipeline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ieee754/fpdiv/pipeline.py b/src/ieee754/fpdiv/pipeline.py index 63f30e73..1b3a0b33 100644 --- a/src/ieee754/fpdiv/pipeline.py +++ b/src/ieee754/fpdiv/pipeline.py @@ -163,7 +163,7 @@ class FPDIVMuxInOut(ReservationStations): # also: round up to nearest radix fmt.m_width = roundup(fmt.m_width + 4, log2_radix) - cfg = DivPipeCoreConfig(fmt.m_width, fmt.fraction_width, log2_radix) + cfg = DivPipeCoreConfig(fmt.m_width, 0*fmt.fraction_width, log2_radix) self.pspec.fpformat = fmt self.pspec.log2_radix = log2_radix -- 2.30.2