beautypg.com

Renesas SH7781 User Manual

Page 198

background image

7. Memory Management Unit (MMU)

Rev.1.00 Jan. 10, 2008 Page 168 of 1658
REJ09B0261-0100

SR.MD?

R/W?

R/W?

Yes

Yes

No

No

No

Yes

Yes

Yes

No

PR?

PR?

D?

R/W?

W

W

W

R

R

R

R

W

R/W?

WT?

1

1

0

0

00 or
01

10

11

01 or 11

00 or 10

Yes

No

Internal resource access

1

0

CCR.OCE?

1

0

CCR.CB?

0

1

CCR.WT?

1

0

CCR.OCE?

No

Data access to virtual address (VA)

VA is
in P4 area

VA is
in P2 area

VA is
in P1 area

VA is in P0, U0,
or P3 area

MMUCR.AT = 1

SH = 0

and (MMUCR.SV = 0 or

SR.MD = 0)

VPNs match,

ASIDs match, and

V = 1

Only one

entry matches

1 (Privileged)

Data TLB multiple

hit exception

Data TLB protection

violation exception

Data TLB miss

exception

0 (User)

VPNs match

and V = 1

Data TLB protection

violation exception

Initial page write

exception

Cache access

in copy-back mode

Cache access

in write-through mode

Memory access

(Non-cacheable)

C = 1 and

CCR.OCE = 1

Figure 7.9 Flowchart of Memory Access Using UTLB (TLB Compatible Mode)