From 2789fb65d1d70e70d45c0e2506dfc18d13939bb1 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 28 Jun 2019 06:35:22 +0100 Subject: [PATCH] add comment, link to bugreport --- src/ieee754/fpdiv/divstages.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/ieee754/fpdiv/divstages.py b/src/ieee754/fpdiv/divstages.py index 8d7489c7..94c8a785 100644 --- a/src/ieee754/fpdiv/divstages.py +++ b/src/ieee754/fpdiv/divstages.py @@ -1,4 +1,8 @@ -# IEEE Floating Point Divider +"""IEEE754 Floating Point pipelined Divider + +Relevant bugreport: http://bugs.libre-riscv.org/show_bug.cgi?id=99 + +""" from nmigen import Module from nmigen.cli import main, verilog @@ -33,7 +37,9 @@ class FPDivStages(FPState, SimpleHandshake): """ links module to inputs and outputs """ - # chain DivStage0 and DivStage1 + # TODO. clearly, this would be a for-loop, here, creating + # a huge number of stages (if radix-2 is used). interestingly + # the number of stages will be data-dependent. m0mod = FPDivStage0Mod(self.width, self.id_wid) m1mod = FPDivStage1Mod(self.width, self.id_wid) -- 2.30.2