Skip to content

Commit

Permalink
fix(VSegmentUnit): 'isFof' should use io.in for judgement (#3820)
Browse files Browse the repository at this point in the history
  • Loading branch information
Anzooooo authored Nov 11, 2024
1 parent 7a8dfe4 commit 9eeb1c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/xiangshan/mem/vector/VSegmentUnit.scala
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ class VSegmentUnit (implicit p: Parameters) extends VLSUModule
instMicroOp.exceptionVl.valid := false.B
instMicroOp.exceptionVl.bits := io.in.bits.src_vl.asTypeOf(VConfig()).vl
segmentOffset := 0.U
instMicroOp.isFof := (fuOpType === VlduType.vleff) && FuType.isVLoad(fuType)
instMicroOp.isFof := (fuOpType === VlduType.vleff) && FuType.isVSegLoad(io.in.bits.uop.fuType)
}
// latch data
when(io.in.fire && !isEnqFixVlUop){
Expand Down

0 comments on commit 9eeb1c8

Please sign in to comment.