From c67bc388ca8f3af639d450c59c039d892b4bbbb5 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 28 Jul 2019 13:25:15 +0100 Subject: [PATCH] add identifying name to FPNumBaseRecord --- src/ieee754/fpcommon/postcalc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ieee754/fpcommon/postcalc.py b/src/ieee754/fpcommon/postcalc.py index ce7b2736..fc906a2d 100644 --- a/src/ieee754/fpcommon/postcalc.py +++ b/src/ieee754/fpcommon/postcalc.py @@ -6,11 +6,12 @@ from nmigen import Signal from ieee754.fpcommon.fpbase import Overflow, FPNumBaseRecord from ieee754.fpcommon.getop import FPPipeContext + class FPAddStage1Data: def __init__(self, pspec, e_extra=False): width = pspec.width - self.z = FPNumBaseRecord(width, False, e_extra) + self.z = FPNumBaseRecord(width, False, e_extra, name="z") self.out_do_z = Signal(reset_less=True) self.oz = Signal(width, reset_less=True) self.of = Overflow() -- 2.30.2