Skip to content

Commit

Permalink
[rob/lsu] Delay execution of uncacheable loads by a cycle for QoR.
Browse files Browse the repository at this point in the history
  • Loading branch information
bkorpan authored and abejgonzalez committed Jul 19, 2019
1 parent 75dc3ff commit 4dd5800
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/scala/exu/rob.scala
Original file line number Diff line number Diff line change
Expand Up @@ -876,7 +876,8 @@ class Rob(
io.commit.ld_mask(w) := io.commit.valids(w) && rob_head_is_load(w)
}

io.com_load_is_at_rob_head := rob_head_is_load(PriorityEncoder(rob_head_vals.asUInt))
io.com_load_is_at_rob_head := RegNext(rob_head_is_load(PriorityEncoder(rob_head_vals.asUInt)) &&
!will_commit.reduce(_||_))

//--------------------------------------------------
// Handle passing out signals to printf in dpath
Expand Down

0 comments on commit 4dd5800

Please sign in to comment.