Don't emit PTW covers when !usingVM
This commit is contained in:
parent
7e75d63ba6
commit
7bef935d2a
@ -279,13 +279,11 @@ class PTW(n: Int)(implicit edge: TLEdgeOut, p: Parameters) extends CoreModule()(
|
|||||||
count := pgLevels-1
|
count := pgLevels-1
|
||||||
}
|
}
|
||||||
|
|
||||||
if (usingVM) {
|
|
||||||
ccover(io.mem.s2_nack, "NACK", "D$ nacked page-table access")
|
ccover(io.mem.s2_nack, "NACK", "D$ nacked page-table access")
|
||||||
ccover(state === s_wait2 && io.mem.s2_xcpt.ae.ld, "AE", "access exception while walking page table")
|
ccover(state === s_wait2 && io.mem.s2_xcpt.ae.ld, "AE", "access exception while walking page table")
|
||||||
}
|
|
||||||
|
|
||||||
def ccover(cond: Bool, label: String, desc: String)(implicit sourceInfo: SourceInfo) =
|
def ccover(cond: Bool, label: String, desc: String)(implicit sourceInfo: SourceInfo) =
|
||||||
cover(cond, s"PTW_$label", "MemorySystem;;" + desc)
|
if (usingVM) cover(cond, s"PTW_$label", "MemorySystem;;" + desc)
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Mix-ins for constructing tiles that might have a PTW */
|
/** Mix-ins for constructing tiles that might have a PTW */
|
||||||
|
Loading…
Reference in New Issue
Block a user