Skip to content

Commit

Permalink
Fix regression introduced by 79dd73a
Browse files Browse the repository at this point in the history
I introduced some deadlock a couple days ago.
  • Loading branch information
aswaterman committed Nov 9, 2020
1 parent 58a8d8f commit ea701a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/scala/rocket/DCache.scala
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ class DCacheModule(outer: DCache) extends HellaCacheModule(outer) {
tl_out_a.valid := !io.cpu.s2_kill &&
(s2_valid_uncached_pending ||
(s2_valid_cached_miss &&
!(release_ack_wait && release_ack_dirty) &&
!release_ack_wait &&
(cacheParams.acquireBeforeRelease && release_queue_empty || cacheParams.silentDrop && !s2_victim_dirty)))
tl_out_a.bits := Mux(!s2_uncached, acquire(s2_vaddr, s2_req.addr, s2_grow_param),
Mux(!s2_write, get,
Expand Down Expand Up @@ -858,7 +858,7 @@ class DCacheModule(outer: DCache) extends HellaCacheModule(outer) {
when (releaseDone) { release_state := s_voluntary_write_meta }
when (tl_out_c.fire() && c_first) {
release_ack_wait := true
release_ack_dirty := release_state === s_voluntary_release
release_ack_dirty := inWriteback
release_ack_addr := probe_bits.address
}
}
Expand Down

0 comments on commit ea701a1

Please sign in to comment.