TEST CAPABILITIES

3112 115 4o '

~------------~--~~~~~

LINEAR ADDRESS

TAG

LOOKUP/

 

 

WRITEN

 

COMMAND REGISTER

 

31

12

11

5

4

3

2

1

0

 

 

~I

 

 

 

 

PHYSICAL ADDRESS

 

 

 

MIT/REPLACEMENT

 

 

 

 

 

 

MISS POINTER

 

 

DATA REGISTER

 

 

 

OR

 

 

 

 

 

REPLACEMENT BIT

 

231732i12-2

Figure 12-2. TLB Test Registers

The complement of the Dirty, User, and Writable bits are provided to force a hit or miss for TLB lookups. A lookup operation with a bit and its complement both low is forced to be a miss; if both bits are high, a hit is forced. A write operation must always be per- formed with a bit and its complement bit having opposite values.

The data register has the format shown in Figure 12-2 (bottom). The replacement pointer indicates which of the four sets of the TLB is to receive write data. Its value is changed according to a proprietary algorithm after every TLB hit. For testing, a TLB write may use the replacement pointer value that exists in the TLB, or it may use the value in bits 3 and 2 of the data register. If data register bit 4 = 0, the existing replace- ment pointer is used. If bit 4 = 1, bits 3 and 2 of the data register are used.

The TLB write operation progresses as follows:

1.The physical address, replacement bit, and replacement pointer value (optional) are written to the data register.

2.The linear address and tag values are written to the command register, as well as a ovalue for bit O.

It is important not to write the same linear address to more than one TLB entry. Oth- erwise, hit information returned during a TLB lookup operation is undefined.

12-4

Page 258
Image 258
Intel 386 manual Test Capabilities