Add performance counter facility

This commit is contained in:
Andrew Waterman committed 2017-03-09 13:58:50 -08:00
1 parent e57ee2692d
commit 4f8f05d635
10 files changed
+132 -15

No files matched your search

+4
View File
@@ -973,4 +973,8 @@ class NonBlockingDCacheModule(outer: NonBlockingDCache) extends HellaCacheModule
io.cpu.resp.bits.data_word_bypass := loadgen.wordData
io.cpu.ordered := mshrs.io.fence_rdy && !s1_valid && !s2_valid
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()
}