Skip to content

Commit

Permalink
[rtl] Do not steal data with unread instructions.
Browse files Browse the repository at this point in the history
  • Loading branch information
qinjun-li committed Jun 3, 2024
1 parent cdd392e commit ce35852
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t1/src/laneStage/LaneStage1.scala
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ class LaneStage1(parameter: LaneParameter, isLastSlot: Boolean) extends Module {
val allDataQueueValid: Bool = VecInit(dataQueueValidVec).asUInt.andR
dequeue.valid := allDataQueueValid && pipeQueue.io.deq.valid
dataQueueVs1.ready := allDataQueueValid && dequeue.ready && pipeQueue.io.deq.bits.decodeResult(Decoder.vtype)
dataQueueVs2.io.deq.ready := allDataQueueValid && dequeue.ready
dataQueueVs2.io.deq.ready := allDataQueueValid && dequeue.ready && !pipeQueue.io.deq.bits.skipRead
dataQueueVd.io.deq.ready :=
allDataQueueValid && dequeue.ready && !pipeQueue.io.deq.bits.decodeResult(Decoder.sReadVD)
crossReadResultQueue.foreach(_.io.deq.ready := allDataQueueValid && dequeue.ready && pipeQueue.io.deq.bits.decodeResult(Decoder.crossRead))
Expand Down

0 comments on commit ce35852

Please sign in to comment.