提交 da424060 编写于 作者: J JinYue

IPrefetch: fix Hint not set PreferCache bit

上级 b3995075
......@@ -24,7 +24,7 @@ import utils._
import xiangshan.cache.mmu._
import xiangshan.frontend._
import xiangshan.backend.fu.{PMPReqBundle, PMPRespBundle}
import huancun.{PreferCacheKey}
abstract class IPrefetchBundle(implicit p: Parameters) extends ICacheBundle
......@@ -217,6 +217,7 @@ class IPrefetchEntry(edge: TLEdgeOut, id: Int)(implicit p: Parameters) extends I
param = TLHints.PREFETCH_READ
)._2
io.mem_hint.bits := hint
io.mem_hint.bits.user.lift(PreferCacheKey).foreach(_ := true.B)
XSPerfAccumulate(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册