From: Luke Kenneth Casson Leighton Date: Thu, 21 Mar 2019 06:59:29 +0000 (+0000) Subject: add ispec and ospec to FPPack X-Git-Tag: ls180-24jan2020~1589 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=58124c0e06bc6696d614c5cae73cfc197002024b;p=ieee754fpu.git add ispec and ospec to FPPack --- diff --git a/src/add/nmigen_add_experiment.py b/src/add/nmigen_add_experiment.py index 1a1a70a0..bb854ae3 100644 --- a/src/add/nmigen_add_experiment.py +++ b/src/add/nmigen_add_experiment.py @@ -1423,7 +1423,13 @@ class FPPack(FPState, FPID): FPState.__init__(self, "pack") FPID.__init__(self, id_wid) self.mod = FPPackMod(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