The present invention provides for a plurality of partitioned ways of an
associative cache. A pseudo-least recently used binary tree is provided,
as is a way partition binary tree, and signals are derived from the way
partition binary tree as a function of a mapped partition. Signals from
the way partition binary tree and the pseudo-least recently used binary
tree are combined. A cache line replacement signal is employable to
select one way of a partition as a function of the pseudo-least recently
used binary tree and the signals derived from the way partition binary
tree.