Skip to content

Commit

Permalink
fix(Sbuffer): remove address assert for 'io.dcache.req'
Browse files Browse the repository at this point in the history
This is a false assertion, and we should not prohibit 0 address requests
  • Loading branch information
Anzooooo committed Dec 6, 2024
1 parent 63095de commit da6af81
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/main/scala/xiangshan/mem/sbuffer/Sbuffer.scala
Original file line number Diff line number Diff line change
Expand Up @@ -685,11 +685,6 @@ class Sbuffer(implicit p: Parameters)
io.dcache.req.bits.mask := mask(sbuffer_out_s1_evictionIdx).asUInt
io.dcache.req.bits.id := sbuffer_out_s1_evictionIdx

when (sbuffer_out_s1_fire) {
assert(!(io.dcache.req.bits.vaddr === 0.U))
assert(!(io.dcache.req.bits.addr === 0.U))
}

XSDebug(sbuffer_out_s1_fire,
p"send buf [$sbuffer_out_s1_evictionIdx] to Dcache, req fire\n"
)
Expand Down

0 comments on commit da6af81

Please sign in to comment.