Skip to content

Commit

Permalink
[rtl] fix assert logic.
Browse files Browse the repository at this point in the history
  • Loading branch information
qinjun-li committed Aug 22, 2024
1 parent a4c4278 commit 09d4975
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t1/src/Lane.scala
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@ class Lane(val parameter: LaneParameter) extends Module with SerializableModule[
UIntToOH(executionUnit.responseIndex(parameter.instructionIndexBits - 2, 0)),
0.U(parameter.chainingSize.W)
)
AssertProperty(BoolSequence(executionUnit.dequeue.valid && stage2.dequeue.valid))
AssertProperty(BoolSequence(!executionUnit.dequeue.valid || stage2.dequeue.valid))
stage3.enqueue.valid := executionUnit.dequeue.valid
executionUnit.dequeue.ready := stage3.enqueue.ready
stage2.dequeue.ready := executionUnit.dequeue.fire
Expand Down

0 comments on commit 09d4975

Please sign in to comment.