The invention provides a circuit and method for obtaining a fully functional
microprocessor using only a fraction of the available on-chip cache. The memory
sub-arrays of the on-chip cache are tested to determine which sub-arrays are functional.
After determining which sub-arrays are functional, a set of sub-arrays is selected
that constitute a binary fraction of the cache. The CPU is initialized to accommodate
a smaller address space corresponding to the size of the selected sub-arrays. Finally,
a group of signals are programmed to allow the CPU access to the selected sub-arrays.