beautypg.com

Figure 2-46. tlb address translation – NEC Network Controller uPD98502 User Manual

Page 127

background image

CHAPTER 2 V

R

4120A

Preliminary User’s Manual S15543EJ1V0UM

127

Figure 2-46. TLB Address Translation

Virtual address (input)

VPN

and

ASID

Exception

Exception

Exception

Exception

Physical Address (output)

Exception

No

Yes

Yes

Yes

No

Yes

Yes

No

Address

OK?

Supervisor

mode?

User

mode?

Address

OK?

Address

OK?

No

No

Yes

Yes

Yes

Mapped

address?

No

VPN

match?

Dirty

Valid

Global

No

G = 1?

No

V = 1?

Yes

Yes

No

D = 1?

No

Yes

Uncached

area?

No

ASID

match?

No

32-bit

address?

Yes

Yes

TLB

Mismatch

TLB

Invalid

No

No

Yes

Write?

Access

main memory

Access

cache memory

Exception

Address

error

Address

error

Address

error

Exception

TLB

Modified

XTLB

Mismatch

2.4.5.12 TLB misses

If there is no TLB entry that matches the virtual address, a TLB Refill (miss) exception occurs

Note

. If the access

control bits (D and V) indicate that the access is not valid, a TLB Modified or TLB Invalid exception occurs. If the C bit

is 010, the retrieved physical address directly accesses main memory, bypassing the cache.

Note

See Section 2.5 Exception Processing for details of the TLB Miss exception.