Skip to content

Commit

Permalink
[rtl] fix vslide1down_vx.
Browse files Browse the repository at this point in the history
  • Loading branch information
qinjun-li committed Nov 7, 2024
1 parent 6c9b3e9 commit 29911b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t1/src/mask/SlideIndexGen.scala
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ class SlideIndexGen(parameter: T1Parameter) extends Module {
// 0: dataOffset, 1: accessLane,
// 2: offset, 3: reallyGrowth,
// 4: notNeedRead, 5: elementValid
indexDeq.bits.needRead := VecInit(indexVec.map(!_(4))).asUInt
indexDeq.bits.needRead := VecInit(indexVec.map(!_(4))).asUInt & (~replaceWithVs1).asUInt
indexDeq.bits.elementValid := VecInit(indexVec.map(_(5))).asUInt | replaceWithVs1
indexDeq.bits.replaceVs1 := replaceWithVs1
indexDeq.bits.readOffset := VecInit(indexVec.map(_(2))).asUInt
Expand Down

0 comments on commit 29911b9

Please sign in to comment.