add comments
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 28 Jun 2019 15:54:34 +0000 (16:54 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 28 Jun 2019 15:54:34 +0000 (16:54 +0100)
src/ieee754/fpcommon/getop.py

index b534fd0a18f92515f279b4cdd779ef275a6b4d0b..38eb937771259597679324ec8855efd73df382c8 100644 (file)
@@ -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)]