Skip to content

Commit

Permalink
PTW do not count pte_miss on leaf walk level (#2692)
Browse files Browse the repository at this point in the history
  • Loading branch information
ingallsj authored Oct 29, 2020
1 parent 1db05c5 commit 630600d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/rocket/PTW.scala
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ class PTW(n: Int)(implicit edge: TLEdgeOut, p: Parameters) extends CoreModule()(
}
is (s_wait2) {
next_state := s_wait3
io.dpath.perf.pte_miss := true
io.dpath.perf.pte_miss := count < pgLevels-1
when (io.mem.s2_xcpt.ae.ld) {
resp_ae := true
next_state := s_ready
Expand Down

0 comments on commit 630600d

Please sign in to comment.