Skip to content

Commit

Permalink
PTW: Non-leaf PTEs with D/A/U==1 are reserved (#2905)
Browse files Browse the repository at this point in the history
  • Loading branch information
ingallsj authored Nov 30, 2021
1 parent 400f995 commit 303564b
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 @@ -69,7 +69,7 @@ class PTE(implicit p: Parameters) extends CoreBundle()(p) {
val r = Bool()
val v = Bool()

def table(dummy: Int = 0) = v && !r && !w && !x
def table(dummy: Int = 0) = v && !r && !w && !x && !d && !a && !u
def leaf(dummy: Int = 0) = v && (r || (x && !w)) && a
def ur(dummy: Int = 0) = sr() && u
def uw(dummy: Int = 0) = sw() && u
Expand Down

0 comments on commit 303564b

Please sign in to comment.