add comments on parameters
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 28 Jun 2019 07:51:20 +0000 (08:51 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 28 Jun 2019 07:51:20 +0000 (08:51 +0100)
src/ieee754/fpcommon/pack.py

index 39f38f87db276b98c23fe55982e300da1ef57a8b..9a9e4d5c749738af4ae765e295c83ff7736cbba7 100644 (file)
@@ -15,8 +15,8 @@ class FPPackData(Object):
 
     def __init__(self, width, id_wid):
         Object.__init__(self)
-        self.z = Signal(width, reset_less=True)
-        self.mid = Signal(id_wid, reset_less=True)
+        self.z = Signal(width, reset_less=True)    # result
+        self.mid = Signal(id_wid, reset_less=True) # multiplex ID
 
 
 class FPPackMod(Elaboratable):