diff --git a/t1/src/mask/MaskReduce.scala b/t1/src/mask/MaskReduce.scala index c85388838..c02479189 100644 --- a/t1/src/mask/MaskReduce.scala +++ b/t1/src/mask/MaskReduce.scala @@ -149,7 +149,9 @@ class MaskReduce(parameter: T1Parameter) extends Module { cutUInt(reqReg.source2, parameter.datapathWidth) ) val sourceValidCalculate: UInt = - reqReg.fpSourceValid.map(fv => Mux(floatType, fv & reqReg.sourceValid, fv)).getOrElse(reqReg.sourceValid) + reqReg.fpSourceValid.map(fv => + Mux(floatType, fv & reqReg.sourceValid, reqReg.sourceValid) + ).getOrElse(reqReg.sourceValid) sourceValid := Mux1H( UIntToOH(crossFoldCount), sourceValidCalculate.asBools