Don't double-count release traffic in perfctrs
This commit is contained in:
parent
63f8ce36f6
commit
b24c43badb
@ -505,6 +505,6 @@ class DCacheModule(outer: DCache) extends HellaCacheModule(outer) {
|
||||
}
|
||||
|
||||
// performance events
|
||||
io.cpu.acquire := tl_out.a.fire()
|
||||
io.cpu.release := tl_out.c.fire()
|
||||
io.cpu.acquire := edge.last(tl_out.a)
|
||||
io.cpu.release := edge.last(tl_out.c)
|
||||
}
|
||||
|
@ -155,7 +155,7 @@ class FrontendModule(outer: Frontend) extends LazyModuleImp(outer)
|
||||
io.cpu.resp.bits.btb.bits := s2_btb_resp_bits
|
||||
|
||||
// performance events
|
||||
io.cpu.acquire := icache.io.mem(0).a.fire()
|
||||
io.cpu.acquire := edge.last(icache.io.mem(0).a)
|
||||
}
|
||||
|
||||
/** Mix-ins for constructing tiles that have an ICache-based pipeline frontend */
|
||||
|
@ -975,6 +975,6 @@ class NonBlockingDCacheModule(outer: NonBlockingDCache) extends HellaCacheModule
|
||||
io.cpu.replay_next := (s1_replay && s1_read) || mshrs.io.replay_next
|
||||
|
||||
// performance events
|
||||
io.cpu.acquire := tl_out.a.fire()
|
||||
io.cpu.release := tl_out.c.fire()
|
||||
io.cpu.acquire := edge.last(tl_out.a)
|
||||
io.cpu.release := edge.last(tl_out.c)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user