From dbbf79365d4dfd906c89d556fc4ff14f412c74f4 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 21 Mar 2019 20:02:05 +0000 Subject: [PATCH] add ispec/ospect to FPCorrections --- 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 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 -- 2.30.2