replace i_data with data_i and o_data with data_o
[ieee754fpu.git] / src / add / fpcommon / getop.py
index b966ecbd09f5861f502399a7a62c8a7a042962b6..8cb9521bb3f0e9837588a9f7942dab45628b0b3e 100644 (file)
@@ -101,8 +101,8 @@ class FPGet2OpMod(PrevControl):
         PrevControl.__init__(self)
         self.width = width
         self.id_wid = id_wid
-        self.i_data = self.ispec()
-        self.i = self.i_data
+        self.data_i = self.ispec()
+        self.i = self.data_i
         self.o = self.ospec()
 
     def ispec(self):
@@ -118,7 +118,7 @@ class FPGet2OpMod(PrevControl):
         m = PrevControl.elaborate(self, platform)
         with m.If(self.trigger):
             m.d.comb += [
-                self.o.eq(self.i_data),
+                self.o.eq(self.data_i),
             ]
         return m