Sun Microelectronics
65
6. MMU Internal Architecture
The Data In and Data Access registers are the means of reading and writing the
TLB for all operations. The TLB Data In register is used for TLB-miss and TSB-
miss handler automatic replacement writes; the TLB Data Access register is used
for operating system and diagnostic directed writes (writes to a specific TLB en-
try). Both types of registers have the same format, as follows:
Figure 6-12
MMU I-/D-TLB Data In/Access Registers
Refer to the description of the TTE data in Section 6.2, “Translation Table Entry
(TTE),” on page 41, for a complete description of the above data fields.
Operations to the TLB Data In register require the virtual address to be set to ze-
ro. The format of the TLB Data Access register virtual address is as follows:
Figure 6-13
MMU TLB Data Access Address, in Alternate Space
TLB Entry
: The TLB Entry number to be accessed, in the range 0 .. 63.
The format for the Tag Read register is as follows:
Figure 6-14
I-/D-MMU TLB Tag Read Registers
I/D VA<63:13>
: The 51-bit virtual page number. Page offset bits for larger page
sizes are stored in the TLB and returned for a Tag Read register read, but
ignored during normal translation; that is, VA<15:13>, VA<18:13>, and
VA<21:13> for 64Kb, 512Kb and 4Mb pages, respectively. Note that this
field is sign-extended based on VA<43>.
I/D Context<12:0>
: The 13-bit context identifier.
An ASI store to the TLB Data Access register initiates an internal atomic write to
the specified TLB Entry. The TLB entry data is obtained from the store data, and
the TLB entry tag is obtained from the current contents of the TLB Tag Access
register.
63
0
PA<40:13>
G
13
7
1
W
2
P
3
E
4
CV
5
CP
6
L
Soft
12
41 40
50
Diag
49
59
Soft2
58
61
IE
60
NFO
Size
62
V
63
0
000
9
8
3
2
TLB Entry
—
63
0
VA<63:13>
Context<12:0>
13 12
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com