From: Luke Kenneth Casson Leighton Date: Sun, 28 Jul 2019 12:25:15 +0000 (+0100) Subject: add identifying name to FPNumBaseRecord X-Git-Tag: ls180-24jan2020~702 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c67bc388ca8f3af639d450c59c039d892b4bbbb5;p=ieee754fpu.git add identifying name to FPNumBaseRecord --- 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()