Skip to content

Commit

Permalink
[rtl] fix reduce result
Browse files Browse the repository at this point in the history
  • Loading branch information
qinjun-li authored and sequencer committed Nov 9, 2024
1 parent aca05e4 commit 1dd9602
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t1/src/mask/MaskReduce.scala
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,6 @@ class MaskReduce(parameter: T1Parameter) extends Module {
)

out.valid := outValid
out.bits.data := reduceResult
out.bits.data := Mux(updateResult, reduceResult, reduceInit)
out.bits.mask := writeMask & Fill(4, validInst)
}

0 comments on commit 1dd9602

Please sign in to comment.