Skip to content

Commit

Permalink
[rtl] fix popcount & voita.
Browse files Browse the repository at this point in the history
  • Loading branch information
qinjun-li committed Jan 3, 2025
1 parent 01256e4 commit c522a45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion t1/src/OtherUnit.scala
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ class OtherUnit(val parameter: OtherUnitParam) extends VFUModule with Serializab
selectSource2
)
).asUInt
val popCountResult: UInt = popCount.resp + request.popInit(7, 0)
val popCountResult: UInt = popCount.resp + request.popInit
val result: UInt = Mux1H(
resultSelect,
Seq(ffo.resp.bits, popCountResult, indexRes, clipResult, request.src.head, request.src(1))
Expand Down
2 changes: 1 addition & 1 deletion t1/src/mask/MaskUnit.scala
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ class MaskUnit(val parameter: T1Parameter)
val readTypeRequestDeq: Bool =
(anyReadFire && groupReadFinish) || (readIssueStageValid && readIssueStageState.needRead === 0.U)

val compressUnitResultQueue: QueueIO[CompressOutput] = Queue.io(new CompressOutput(compressParam), 2, flow = true)
val compressUnitResultQueue: QueueIO[CompressOutput] = Queue.io(new CompressOutput(compressParam), 4, flow = true)

val noSourceValid: Bool = noSource && counterValid &&
(instReg.vl.orR || (mvRd && !readVS1Reg.sendToExecution))
Expand Down

0 comments on commit c522a45

Please sign in to comment.