Add TLB miss performance counters (#762)
This commit is contained in:
committed by
Henry Cook
parent
b2b4c1abcd
commit
dbc5e7c494
@ -985,6 +985,7 @@ class NonBlockingDCacheModule(outer: NonBlockingDCache) extends HellaCacheModule
|
||||
io.cpu.s2_xcpt := Mux(RegNext(s1_xcpt_valid), RegEnable(s1_xcpt, s1_clk_en), 0.U.asTypeOf(s1_xcpt))
|
||||
|
||||
// performance events
|
||||
io.cpu.acquire := edge.done(tl_out.a)
|
||||
io.cpu.release := edge.done(tl_out.c)
|
||||
io.cpu.perf.acquire := edge.done(tl_out.a)
|
||||
io.cpu.perf.release := edge.done(tl_out.c)
|
||||
io.cpu.perf.tlbMiss := io.ptw.req.fire()
|
||||
}
|
||||
|
Reference in New Issue
Block a user