From: Luke Kenneth Casson Leighton Date: Thu, 21 Mar 2019 20:02:05 +0000 (+0000) Subject: add ispec/ospect to FPCorrections X-Git-Tag: ls180-24jan2020~1549 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dbbf79365d4dfd906c89d556fc4ff14f412c74f4;p=ieee754fpu.git add ispec/ospect to FPCorrections --- diff --git a/src/add/nmigen_add_experiment.py b/src/add/nmigen_add_experiment.py index 49bb8184..bf21cf57 100644 --- a/src/add/nmigen_add_experiment.py +++ b/src/add/nmigen_add_experiment.py @@ -1388,7 +1388,13 @@ class FPCorrections(FPState, FPID): FPState.__init__(self, "corrections") FPID.__init__(self, id_wid) self.mod = FPCorrectionsMod(width) - self.out_z = self.mod.ospec() + self.out_z = self.ospec() + + def ispec(self): + return self.mod.ispec() + + def ospec(self): + return self.mod.ospec() def setup(self, m, in_z, in_mid): """ links module to inputs and outputs