remove use of FPState
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 31 Jul 2019 00:20:10 +0000 (01:20 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 31 Jul 2019 00:20:10 +0000 (01:20 +0100)
src/ieee754/fpadd/addstages.py

index f875ef920247243e9bfd3265055c66cd87584e1c..75d931d12b3a3e18b7f81168531d3eac78ebc6c7 100644 (file)
@@ -21,7 +21,6 @@ class FPAddAlignSingleAdd(DynamicPipe):
         #FPState.__init__(self, "align")
         self.pspec = pspec
         super().__init__(pspec)
-        self.a1o = self.ospec()
 
     def ispec(self):
         return FPSCData(self.pspec, True)
@@ -46,8 +45,3 @@ class FPAddAlignSingleAdd(DynamicPipe):
     def process(self, i):
         return self.o
 
-    def action(self, m):
-        m.d.sync += self.a1o.eq(self.process(None))
-        m.next = "normalise_1"
-
-