![NXP Semiconductors MSC8113 Reference Manual Download Page 295](http://html1.mh-extra.com/html/nxp-semiconductors/msc8113/msc8113_reference-manual_1721628295.webp)
Instruction Cache (ICache)
MSC8113 Reference Manual, Rev. 0
Freescale Semiconductor
9-35
9.4.4.3 Reads
You can read the ICache state and mode information in the following four ICache registers:
Read the tag array state (Debug mode only): Tag Array Status Register, page 9-37.
Read the LRU State (Debug mode only): LRU Status Register (LRUSR), page 9-37.
Read the valid bit array state (Debug mode only): Valid Bit Array Status Register
(VBASR), page 9-38.
Read the cache control register (cache mode and LRU boundaries): ICache Control
Register (ICCR), page 9-36.
9.4.4.4 Restrictions
Following are the restrictions/issues on ICache programming:
Control register newly written data can be read only in the second execution set following
the write. There should be at least one execution set between the read and the write of the
register so that the new data can be observed.
Enabling a disabled cache in any way (either by setting the on bit, resetting the lock or
debug mode bits, or returning the lower LRU boundary to be less or equal to the upper
boundary) must be both preceded and followed by two no operation (nop) execution sets,
as illustrated in the following code example.
move.l #$0000f001,d1
nop
nop
move.w d1,($<ICCR_ADDRESS>)
nop
nop
In addition, any program that enables/disables the ICache must not be placed into the
internal memory space accessible to the DMA controller.
Paralleling a run-time command with a control register write has this effect: if a flush
between boundaries is paralleled with a boundary change, the new boundaries are used.
However, if any flush command is paralleled with a cache disable (cache off, debug mode,
and so on), the flush is performed.
Cache run-time commands cause SC140 core stall penalties.
Cache run-time commands are performed in lock mode.
If a flush command is paralleled with a flush between boundaries command, the full cache
flush is performed, yet the timing penalty is of the flush between boundaries (the longer
penalty of the two).
Debug commands and read state registers are served in Debug mode only or they are
discarded (an exception flag is raised). There must be at least one execution set between
the time when the debug mode bit is turned on and the time when the first debug
Summary of Contents for MSC8113
Page 1: ...MSC8113 Reference Manual Tri Core 16 Bit Digital Signal Processor MSC8113RM Rev 0 May 2008 ...
Page 20: ...MSC8113 Reference Manual Rev 0 xx Freescale Semiconductor Contents ...
Page 28: ...MSC8113 Reference Manual Rev 0 xxviii Freescale Semiconductor ...
Page 56: ...MSC8113 Reference Manual Rev 0 1 28 Freescale Semiconductor MSC8113 Overview ...
Page 76: ...MSC8113 Reference Manual Rev 0 2 20 Freescale Semiconductor SC140 Core Overview ...
Page 134: ...MSC8113 Reference Manual Rev 0 4 30 Freescale Semiconductor System Interface Unit SIU ...
Page 168: ...MSC8113 Reference Manual Rev 0 6 18 Freescale Semiconductor Boot Program ...
Page 180: ...MSC8113 Reference Manual Rev 0 7 12 Freescale Semiconductor Clocks ...
Page 260: ...MSC8113 Reference Manual Rev 0 8 80 Freescale Semiconductor Memory Map ...
Page 300: ...MSC8113 Reference Manual Rev 0 9 40 Freescale Semiconductor Extended Core ...
Page 304: ...MSC8113 Reference Manual Rev 0 10 4 Freescale Semiconductor MQBus and M2 Memory ...
Page 308: ...MSC8113 Reference Manual Rev 0 11 4 Freescale Semiconductor SQBus ...
Page 590: ...MSC8113 Reference Manual Rev 0 17 46 Freescale Semiconductor Interrupt Processing ...
Page 614: ...MSC8113 Reference Manual Rev 0 18 24 Freescale Semiconductor Debugging ...
Page 622: ...MSC8113 Reference Manual Rev 0 19 8 Freescale Semiconductor Internal Peripheral Bus IPBus ...
Page 724: ...MSC8113 Reference Manual Rev 0 21 32 Freescale Semiconductor UART ...
Page 920: ...MSC8113 Reference Manual Rev 0 25 150 Freescale Semiconductor Ethernet Controller ...
Page 1171: ...MSC8113 Reference Manual Rev 0 Freescale Semiconductor C 61 EF wait_rts P 01077FFC 9F rts 71 ...
Page 1172: ...MSC8113 Reference Manual Rev 0 C 62 Freescale Semiconductor MSC8113 Boot Code ...
Page 1202: ...MSC8113 Reference Manual Rev 0 Index 30 Freescale Semiconductor Index ...