Skip to content

Commit

Permalink
[rtl] fix find first.
Browse files Browse the repository at this point in the history
  • Loading branch information
qinjun-li committed Nov 15, 2024
1 parent 0237c9b commit 1710987
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion t1/src/mask/MaskCompress.scala
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ class MaskCompress(parameter: T1Parameter) extends Module {
val viota = in.bits.uop === "b000".U
val mv = in.bits.uop === "b010".U
val mvRd = in.bits.uop === "b011".U
val writeRD = in.bits.uop === BitPat("b?11")
val ffoType = in.bits.uop === BitPat("b11?")

val eew1H: UInt = UIntToOH(in.bits.eew)(2, 0)
Expand Down Expand Up @@ -196,7 +197,7 @@ class MaskCompress(parameter: T1Parameter) extends Module {
)

// todo
out.compressValid := (compressTailValid || (compressDeqValid && in.fire)) && !mvRd
out.compressValid := (compressTailValid || (compressDeqValid && in.fire)) && !writeRD
out.groupCounter := Mux(compress, compressWriteGroupCount, in.bits.groupCounter)

when(newInstruction && ffoInstruction) {
Expand Down

0 comments on commit 1710987

Please sign in to comment.