switch pspec from dict to PipelineSpec
[ieee754fpu.git] / src / ieee754 / fpmul / mul0.py
index f56f69b532d524cef9a92a68699c63fcee693563..656e9bc0624e94ef15ab9154fb9e74d44b944588 100644 (file)
@@ -14,7 +14,7 @@ from ieee754.fpcommon.getop import FPPipeContext
 class FPMulStage0Data:
 
     def __init__(self, pspec):
-        width = pspec['width']
+        width = pspec.width
         self.z = FPNumBaseRecord(width, False)
         self.out_do_z = Signal(reset_less=True)
         self.oz = Signal(width, reset_less=True)