add identifying name to FPNumBaseRecord
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 28 Jul 2019 12:12:35 +0000 (13:12 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 28 Jul 2019 12:12:35 +0000 (13:12 +0100)
src/ieee754/fpcommon/roundz.py

index 9c9af127e57bd92b658f1d52ae81399f5c1e34f1..3a656459afece9735f0aa78e926f6661d0bfe104 100644 (file)
@@ -15,7 +15,7 @@ class FPRoundData:
 
     def __init__(self, pspec):
         width = pspec.width
-        self.z = FPNumBaseRecord(width, False)
+        self.z = FPNumBaseRecord(width, False, name="z")
         self.ctx = FPPipeContext(pspec)
         self.muxid = self.ctx.muxid
         # pipeline bypass [data comes from specialcases]