From da6af8185fc2d8c3341c79f50cd134f32d0f1bc7 Mon Sep 17 00:00:00 2001 From: Anzooooo Date: Fri, 29 Nov 2024 13:20:41 +0800 Subject: [PATCH] fix(Sbuffer): remove address assert for 'io.dcache.req' This is a false assertion, and we should not prohibit 0 address requests --- src/main/scala/xiangshan/mem/sbuffer/Sbuffer.scala | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/main/scala/xiangshan/mem/sbuffer/Sbuffer.scala b/src/main/scala/xiangshan/mem/sbuffer/Sbuffer.scala index 31dbabdf6b..bd18c9627c 100644 --- a/src/main/scala/xiangshan/mem/sbuffer/Sbuffer.scala +++ b/src/main/scala/xiangshan/mem/sbuffer/Sbuffer.scala @@ -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" )