import PipeContext not FPPipeContext
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 15 Jul 2020 13:52:12 +0000 (14:52 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 15 Jul 2020 13:52:12 +0000 (14:52 +0100)
src/soc/fu/pipe_data.py

index 7d6ac53936b0cab83cbda6b55cf259623342371a..1faf2a6f7322603bf27a4b406db62c6031df4994 100644 (file)
@@ -1,13 +1,14 @@
-from ieee754.fpcommon.getop import FPPipeContext
+from nmutil.concurrentunit import PipeContext
 from nmutil.dynamicpipe import SimpleHandshakeRedir
 from nmigen import Signal
 from soc.decoder.power_decoder2 import Data
 from soc.fu.regspec import get_regspec_bitwidth
 
+
 class IntegerData:
 
     def __init__(self, pspec, output):
-        self.ctx = FPPipeContext(pspec)
+        self.ctx = PipeContext(pspec) # context for ReservationStation usage
         self.muxid = self.ctx.muxid
         self.data = []
         self.is_output = output