Skip to content

Commit c030f8a

Browse files
committed
[rtl] fix popcount & voita.
1 parent 1fdb08e commit c030f8a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

t1/src/OtherUnit.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ class OtherUnit(val parameter: OtherUnitParam) extends VFUModule with Serializab
133133
selectSource2
134134
)
135135
).asUInt
136-
val popCountResult: UInt = popCount.resp + request.popInit(7, 0)
136+
val popCountResult: UInt = popCount.resp + request.popInit
137137
val result: UInt = Mux1H(
138138
resultSelect,
139139
Seq(ffo.resp.bits, popCountResult, indexRes, clipResult, request.src.head, request.src(1))

t1/src/mask/MaskUnit.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ class MaskUnit(val parameter: T1Parameter)
720720
val readTypeRequestDeq: Bool =
721721
(anyReadFire && groupReadFinish) || (readIssueStageValid && readIssueStageState.needRead === 0.U)
722722

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

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

0 commit comments

Comments
 (0)