From 58124c0e06bc6696d614c5cae73cfc197002024b Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 21 Mar 2019 06:59:29 +0000 Subject: [PATCH] add ispec and ospec to FPPack --- src/add/nmigen_add_experiment.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- 2.30.2