Memory Architecture
6-32
ADSP-BF535 Blackfin Processor Hardware Reference
R0.L = 0;
R0.H = 0;
[I1] = R0;
/* The cache lines come out of reset in a random state. The valid
bits of each line must be set to zero at initialization. */
/* Explanation: The invalidation routine is as follows: */
/* Cache setup: */
/* I-CACHE: */
/* 4 sub-banks, */
/* each sub-bank has 4 ways, */
/* each way has 32 lines, */
/* each line (or set) has 4 double words. */
/* Routine: */
/* - Take way 0, and way 1 */
/* - Inner loop: */
/* Invalidate all sets (cache lines) in sub- bank for way 0
and way 1
*/
/* Instruction Cache has 32 sets (cache lines), hence loop
count is 32
*/
/* - Outer loop: */
/* Increment sub-banks */
/* repeat inner loop */
/* do it 4 times because of 4 sub-banks. */
/* - Repeat again for way 2, way 3 */
R2 = 32; /* Need to increment the set index every loop (Should
be 64 for D-cache) */
R3.L = 0; /* sub-bank increment, at the end of inner loop */
R3.H = 1;
P4 = 4; /* Number of sub-bank - also outer loop counter (Should
be 2 for D-cache) */
P3 = R2; /* Inner loop counter (Number of set index) */
Summary of Contents for ADSP-BF535 Blackfin
Page 80: ...Development Tools 1 26 ADSP BF535 Blackfin Processor Hardware Reference...
Page 312: ...Working With Memory 6 86 ADSP BF535 Blackfin Processor Hardware Reference...
Page 332: ...System Interfaces 7 20 ADSP BF535 Blackfin Processor Hardware Reference...
Page 360: ...Dynamic Power Management Controller 8 28 ADSP BF535 Blackfin Processor Hardware Reference...
Page 446: ...Beginning and Ending an SPI Transfer 10 40 ADSP BF535 Blackfin Processor Hardware Reference...
Page 522: ...Timing Examples 11 76 ADSP BF535 Blackfin Processor Hardware Reference...
Page 562: ...IrDA Support 12 40 ADSP BF535 Blackfin Processor Hardware Reference...
Page 608: ...PCI I O Issues 13 46 ADSP BF535 Blackfin Processor Hardware Reference...
Page 672: ...References 14 64 ADSP BF535 Blackfin Processor Hardware Reference...
Page 810: ...SDRAM Controller SDC 18 86 ADSP BF535 Blackfin Processor Hardware Reference...
Page 811: ...ADSP BF535 Blackfin Processor Hardware Reference 18 87 External Bus Interface Unit...
Page 812: ...SDRAM Controller SDC 18 88 ADSP BF535 Blackfin Processor Hardware Reference...
Page 860: ...DMA Bus Debug Registers 20 30 ADSP BF535 Blackfin Processor Hardware Reference...