| |||
| Home > Bus Interface Unit > Level 2 cache support and performance analysis | |||
The BURST[1:0] encoding, used with WRITEOUT and PROT[1:0], or BWRITE and BPROT[1:0], is intended to provide the information necessary to implement an efficient AHB wrapper. However, it also provides enough information for a level 2 cache to be implemented outside the ARM922T macrocell. Contact ARM for details. Encodings for the range of accesses supported by the ARM922T processor are listed in Table 6.8.
Table 6.8. ARM922T supported bus access types
| BURST[1:0] | WRITEOUT | PROT[0] | ARM922T bus access |
|---|---|---|---|
| 00 | Read | 0 | Noncachable fetch |
| 00 | Read | 1 | Noncachable LDR or LDM |
| 00 | Write | 0 | - |
| 00 | Write | 1 | Nonbuffered STR or STM |
| 01 | Read | 0 | - |
| 01 | Read | 1 | - |
| 01 | Write | 0 | - |
| 01 | Write | 1 | Write-back of 4 words |
| 10 | Read | 0 | Instruction linefill of 8 words |
| 10 | Read | 1 | Data linefill of 8 words |
| 10 | Write | 0 | - |
| 10 | Write | 1 | Write-back of 8 words |
| 11 | Read | 0 | Instruction table walk |
| 11 | Read | 1 | Data table walk |
| 11 | Write | 0 | - |
| 11 | Write | 1 | Buffered STR or STM |
By monitoring the AMBA ASB bus transfers, qualified by the ARM922T AGNT and slave responses BERROR, BLAST, and BWAIT, you can implement a performance monitor outside the ARM922T macrocell. This might give the type of information shown in Example 6.1 after running a program. The performance monitor can be made accessible as a memory mapped peripheral or using JTAG on the ARM922T external scan chain.