09.12.2012 Views

Cortex-A8 Technical Reference Manual - ARM Information Center

Cortex-A8 Technical Reference Manual - ARM Information Center

Cortex-A8 Technical Reference Manual - ARM Information Center

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

8.2 Cache organization<br />

8.2.1 L2 cache bank structure<br />

8.2.2 L2 cache transfer policy<br />

Level 2 Memory System<br />

The L2 cache is 8-way set associative of configurable size. The cache is physically addressed.<br />

The cache sizes are configurable with sizes in the range of 0KB, 128KB, 256KB, 512KB, and<br />

1MB.<br />

You can reduce the effective cache size using lockdown format C. This feature enables you to<br />

lock cache ways to prevent allocation to locked entries.<br />

You can configure the L2 memory pipeline to insert wait states to take into account the latencies<br />

of the compiled memories for the implemented RAMs.<br />

To enable streaming of NEON read accesses from the L1 data cache, the L2 memory system<br />

supports up to twelve NEON read accesses. The write buffer handles integer writes, NEON<br />

writes, and eviction accesses from the L1 data cache. This enables streaming of write requests<br />

from the L1 data cache.<br />

The L2 cache incorporates a dirty bit per quadword to reduce AXI traffic. This eliminates<br />

unnecessary transfer of clean data on the AXI interface.<br />

The L2 cache is partitioned into multiple banks to enable parallel operations. There are two<br />

levels of banking:<br />

• the tag array is partitioned into multiple banks to enable up to two requests to access<br />

different tag banks of the L2 cache simultaneously<br />

• each tag bank is partitioned into multiple data banks to enable streaming accesses to the<br />

data banks.<br />

Figure 8-1 shows the logical representation of the L2 cache bank structure. The diagram shows<br />

a configuration with all possible tag and data bank combinations.<br />

Data bank<br />

selected by<br />

PA[5:4]<br />

Data bank 3<br />

Data bank 2<br />

Data bank 1<br />

Data bank 0<br />

Tag bank 0<br />

Figure 8-1 L2 cache bank structure<br />

Table 8-1 on page 8-4 describes instruction and data transfers to and from the L2 cache.<br />

<strong>ARM</strong> DDI 0344K Copyright © 2006-2010 <strong>ARM</strong> Limited. All rights reserved. 8-3<br />

ID060510 Non-Confidential<br />

b11<br />

b10<br />

b01<br />

b00<br />

Tag bank selected by PA[6]<br />

b0<br />

b1<br />

Data bank 3<br />

Data bank 2<br />

Data bank 1<br />

Data bank 0<br />

Tag bank 1<br />

128KB - 1MB 2 tag, 4 data

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!