keep to under 80 chars
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 11 Feb 2019 07:03:34 +0000 (07:03 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 11 Feb 2019 07:03:34 +0000 (07:03 +0000)
TLB/PermissionValidator.py

index d0f5b1da6025d35230ab69a70059d2cbbc06f015..ff1ee47233f9adf077506fbed6186dd2e69c5ab4 100644 (file)
@@ -24,7 +24,8 @@ class PermissionValidator():
             # Check if ASID matches OR entry is global
             If(data[98:113] == self.asid or data[5] == 1,
                # Check Execute, Write, Read (XWR) Permissions
-               If(data[3] == self.xwr[2] and data[2] == self.xwr[1] and data[1] == self.xwr[0],
+               If(data[3] == self.xwr[2] and data[2] == self.xwr[1] \
+                  and data[1] == self.xwr[0],
                   # Check if supervisor
                   If(self.super == 1,
                      # Check if entry is in user mode