add ispec/ospect to FPCorrections
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 21 Mar 2019 20:02:05 +0000 (20:02 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 21 Mar 2019 20:02:05 +0000 (20:02 +0000)
src/add/nmigen_add_experiment.py

index 49bb818434582a30e13d46ace071efd70d45aeb5..bf21cf5717554562685846f01d5be5fbf70b9383 100644 (file)
@@ -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