output registers need to be Data type (consistently)
[soc.git] / src / soc / fu / cr / pipe_data.py
index 0eae72f0509cb0bfa7ed7c9367909fb0e19770e4..4b736a0b85c3176c6616c9d1023fe5db67c2ec04 100644 (file)
@@ -50,7 +50,7 @@ class CROutputData(IntegerData):
                ('CR', 'cr_o', '0:3')]     # 4 bit range
     def __init__(self, pspec):
         super().__init__(pspec)
-        self.o = Signal(64, reset_less=True) # RA
+        self.o = Data(64, name="o") # RA
         self.full_cr = Data(32, name="cr_out") # CR in
         self.cr_o = Data(4, name="cr_o")
 
@@ -66,6 +66,7 @@ class CROutputData(IntegerData):
                       self.full_cr.eq(i.full_cr),
                       self.cr_o.eq(i.cr_o)]
 
+
 class CRPipeSpec(CommonPipeSpec):
     regspec = (CRInputData.regspec, CROutputData.regspec)
     opsubsetkls = CompCROpSubset