Skip to content

Commit

Permalink
[rtl] fix pop count.
Browse files Browse the repository at this point in the history
  • Loading branch information
qinjun-li committed Nov 15, 2024
1 parent ec1f32e commit 04e896a
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 @@ -174,7 +174,7 @@ class MaskReduce(parameter: T1Parameter) extends Module {
adder.request.src := VecInit(Seq(reduceInit, source2Select))
adder.request.opcode := Mux(pop, 0.U, reqReg.aluUop)
adder.request.sign := reqReg.sign
adder.request.vSew := writeEEW
adder.request.vSew := Mux(pop, 2.U, writeEEW)

floatAdder.foreach { fAdder =>
fAdder.io.a := reduceInit
Expand Down

0 comments on commit 04e896a

Please sign in to comment.