You copied the Doc URL to your clipboard.

11.6. Cache test

Cache test mode allows you to perform the following functions:

  • read and write CAM and RAM

  • CAM matches

  • dirty all entries

  • write the lockdown pointer

  • invalidate either the whole cache or a single entry by VA.

Cache test locations that you can access are shown in Table 11.9. See Chapter 2 Programmer’s Model and Appendix B CP15 Test Registers for more details of the registers used for cache test.

Cache test locations

Location

Address

Read/write

Burst

Data

CAM

0x04

Read/write

Yes

31:0

RAM

0x08

Read/write

Yes

31:0

CAM match, RAM read

0x0C

Write then read

No

31:0

Invalidate all

0x10

Write

No

-

Dirty all

0x14

Write

No

-

Lockdown victim and base

0x18

Write

No

31:2

Invalidate by VA

0x1C

Write

No

31:5

CAM write data is organized as shown in Table 11.10.

CAM write data

CAM data

Read value

Write value

31:5

[31:8] MVA TAG

[31:8] MVA TAG

[7:6] = Segment [2:1]

[7:5] = Segment [2:0]

[5] = 0

4

Valid

Valid

3

Dirty even

Dirty even

2

Dirty odd

Dirty odd

1

Write back

Write back

0

LFSR[6]

0

CAM match write data is organized as shown in Table 11.11.

CAM match write data

Match write data

Value

31:8

MVA TAG

7:5

Segment

4:2

Word

1:0SBZ

CAM match read data is organized as shown in Table 11.12.

CAM match read data

Match read data

Value

31

Cache miss

30

Cache hit

29:0

RAM read data [29:0]

Invalidate by VA write data is organized as shown in Table 11.13.

Invalidate by VA write data

Invalidate by VA data

Value

31:8

VA TAG

7:5

Segment

4:0SBZ

Lockdown victim and base data organization is shown in Table 11.14.

Lockdown victim and base data

Data

Value

31:26

Index

25:8SBZ

7:5

Segment

4:2

Word

1:0SBZ
Was this page helpful? Yes No