Cache mva and set/way formats – Digi NS9215 User Manual

Page 130

Advertising
background image

W O R K I N G W I T H T H E C P U

Cache MVA and Set/Way formats

130

Hardware Reference NS9215

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

C a c h e M V A a n d S e t / W a y f o r m a t s

This section shows how the MVA and set/way formats of ARM926EJ-S caches map to
a generic virtually indexed, virtually addressed cache, shown next. The next figure
shows a generic, virtually indexed, virtually addressed cache.

Page
table C
bit

Page
table B
bit

Description

ARM926EJ-S behavior

0

0

Noncachable,
nonbufferable

DCache disabled. Read from external memory. Write as a
nonbuffered store(s) to external memory. DCache is not
updated.

0

1

Noncachable,
bufferable

DCache disabled. Read from external memory. Write as a
buffered store(s) to external memory. DCache is not updated.

1

0

Write-through

DCache enabled:

Read hit

Read from DCache.

Read miss

Linefill.

Write hit

Write to the DCache, and buffered store to
external memory.

Write miss

Buffered store to external memory.

1

1

Write-back

DCache enabled:

Read hit

Read from DCache.

Read miss

Linefill.

Write hit

Write to the DCache only.

Write miss

Buffered store to external memory.

Advertising