Qorivva MPC5xxx/SPC5xx Debugger and NEXUS Trace
34
©1989-2021 Lauterbach GmbH
MESI States and Cache Status Flags
The data cache logic of Power Architecture cores is described as states of the MESI protocol. The debugger
displays the cache state using the cache line status flags valid, dirty and shared. The debugger also displays
additional status flags (e. g. locked) which can not be mapped to any of the MESI states.
State translation table:
Using Cache Lines as SRAM Extension
Some e200 cores (e200z6, e200z650, e200z750, e200z760) allow using locked cache lines as additional
SRAM. The cache lines are enabled and locked to an unused address. In this case the debugger might fail
to display the contents in cache (bus error) if the debugger is not configured / used as described below.
If the cache lines are used as data memory, ensure that
is set to ON (default).
l or ll
Way locked.
MPC55XX with unified cache:
--: not locked
I-: locked for instructions globally through L1CSR[WID]
-D: locked for instructions globally through L1CSR[WID]
ID: locked by lock bit in cache line
MPC5XXX with I/D-Cache (harvard):
-: not locked
L: locked
sa ua
Supervisor (sa)/user (ua) access protection:
rw: read-write
ro: read-only
na: no access
MPC57XX/SPC57X/58X only.
lo
Lockout state.
Cache lines with tag errors or data errors will have this lockout
indicator set. MPC57XX/SPC57X/58X only.
u
LRU information. Shows which cache way will be replaced next.
MPC57XX/SPC57X/58X only.
00 04 08 ...
Address offsets within cache line corresponding to the cached data
address (right field)
Debug symbol assigned to address
MESI state
Flag
M (modified)
V(alid) && D(irty)
E (exclusive)
V(alid) && NOT D(irty)
S (shared)
V(alid) && S(hared)
I (invalid)
NOT V(alid)