Proprietary and Confidential to PMC-Sierra, Inc and for its Customer
’
s Internal Use
Document ID: PMC-2002175, Issue 1
26
RM7000
Microprocessor with On-Chip Secondary Cache Datasheet
Released
Table 6 Cache Attributes
Attribute
Size
4.22 Cache Locking
The RM7000 allows critical code or data fragments to be locked into the primary and secondary
caches. The user has complete control over what locking is performed with cache line granularity.
For instruction and data fragments in the primaries, locking is accomplished by setting either or
both of the cache lock enable bits in the CP0 ECC register, specifying the set via a field in the CP0
ECC register, and then executing either a load instruction or a Fill_I cache operation for data or
instructions respectively. Only two sets are lockable within each cache: set A and set B. Locking
within the secondary works identically to the primaries using a separate secondary lock enable bit
and the same set selection field. As with the primaries, only two sets are lockable: sets A and B.
Table 7 summarizes the cache locking capabilities.
Table 7 Cache Locking Control
Cache
Lock Enable
Primary I
ECC[27]
4.23 Cache Management
To improve the performance of critical data movement operations in the embedded environment,
the RM7000 significantly improves the speed of operation of certain critical cache management
Instruction
16KB
Data
16KB
Secondary
256KB
Tertiary
512K, 1M, 2M, 4M,
or 8M
direct mapped
direct replacement
Associativity
Replacement
Algorithm.
Line size
Index
4-way
cyclic
4-way
cyclic
4-way
cyclic
32 byte
vAddr
11..0
pAddr
35..12
n.a.
32 byte
vAddr
11..0
pAddr
35..12
write-back, write-
through
non-blocking (2
outstanding)
critical word first
sequential
first double (if
waiting for data)
per byte
32 byte
pAddr
15..0
pAddr
35..16
block write-back,
bypass
non-blocking (data
only, 2 outstanding)
critical word first
sequential
n.a.
32 byte
pAddr
22..0
pAddr
35..19
block write-through,
bypass
non-blocking (data
only, 2 outstanding)
critical word first
sequential
n.a.
Tag
Write policy
read policy
n.a.
read order
write order
miss restart
following:
Parity
critical word first
NA
complete line
per word
per doubleword
per byte
Set Select
ECC[28]=0
→
A
ECC[28]=1
→
B
ECC[28]=0
→
A
ECC[28]=1
→
B
ECC[28]=0
→
A
ECC[28]=1
→
B
Activate
Fill_I
Primary D
ECC[26]
Load/Store
Secondary
ECC[25]
Fill_I or
Load/Store