add process function to FPGet2OpMod
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 28 Mar 2019 09:02:58 +0000 (09:02 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 28 Mar 2019 09:02:58 +0000 (09:02 +0000)
src/add/nmigen_add_experiment.py

index 0ef45c4156f685f51cf2f0b5eef3089eb67fa5f5..cbac766ffb44bcf53bf3061471585049816a06c1 100644 (file)
@@ -201,6 +201,9 @@ class FPGet2OpMod(Trigger):
     def ospec(self):
         return FPNumBase2Ops(self.width, self.id_wid)
 
+    def process(self, i):
+        return self.o
+
     def elaborate(self, platform):
         m = Trigger.elaborate(self, platform)
         m.submodules.get_op1_out = self.o.a