Adding expected data format to TLB header
authorDaniel Benusovich <flyingmonkeys1996@gmail.com>
Thu, 14 Feb 2019 06:23:27 +0000 (22:23 -0800)
committerDaniel Benusovich <flyingmonkeys1996@gmail.com>
Thu, 14 Feb 2019 06:23:27 +0000 (22:23 -0800)
TLB/TLB.py

index 7c68e4a8f0f60d69c805b86b39d17cb712018699..adbf291f47c74f10c2ffe7ac9749fa06233ea5df 100644 (file)
@@ -2,6 +2,10 @@ from nmigen import Memory, Module, Signal
 from nmigen.cli import main
 from PermissionValidator import PermissionValidator
 
+# The expected form of the data is
+# Item (Bits)
+# Tag (N - 79) / ASID (78 - 64) / PTE (63 - 0)
+
 class TLB():
     def __init__(self):
         # Inputs