From: Luke Kenneth Casson Leighton Date: Fri, 28 Jun 2019 15:54:34 +0000 (+0100) Subject: add comments X-Git-Tag: ls180-24jan2020~965 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7ea5658c23398f935ce554766481eb1f28e4f0db;p=ieee754fpu.git add comments --- diff --git a/src/ieee754/fpcommon/getop.py b/src/ieee754/fpcommon/getop.py index b534fd0a..38eb9377 100644 --- a/src/ieee754/fpcommon/getop.py +++ b/src/ieee754/fpcommon/getop.py @@ -87,9 +87,9 @@ class FPADDBaseData: def __init__(self, width, id_wid): self.width = width self.id_wid = id_wid - self.a = Signal(width) - self.b = Signal(width) - self.mid = Signal(id_wid, reset_less=True) + self.a = Signal(width) # operand a + self.b = Signal(width) # operand b + self.mid = Signal(id_wid, reset_less=True) # RS multiplex ID def eq(self, i): return [self.a.eq(i.a), self.b.eq(i.b), self.mid.eq(i.mid)]