Claims
- 1. A microprocessor system comprising:
- a central processing unit;
- a page mapped memory organized in a plurality of pages, each page having a plurality of consecutive memory addresses;
- an address bus having a plurality of address bus lines coupled to the central processing unit and the page mapped memory;
- a set associative cache including a plurality of sets with a plurality of consecutive cache addresses common to all of the sets and having a plurality of cache address lines for designating one of the consecutive cache addresses, the number of cache addresses being no greater than the number of consecutive memory addresses in a page of the page mapped memory;
- a cache controller coupled to the address bus and the cache address lines of the set associative cache, said cache controller including a plurality of gating circuits, each of said plurality of gating circuits being associated with a respective one of the plurality of cache address lines, each of said gating circuits having inputs coupled to predetermined ones of the address bus lines and an output coupled to the respective one of the cache address lines, said cache controller further including control logic coupled to the plurality of gating circuits to selectively connect each respective cache address line to a selected one of the predetermined ones of the address bus lines such that all memory addresses within a single page of the page mapped memory are mapped into a block of the cache addresses, said block of the cache addresses comprising fewer addresses than the memory addresses within the single page of the page mapped memory.
- 2. The microprocessor system of claim 1 wherein each page of memory comprises 16K memory addresses, said cache comprises a four-way associative cache, and all memory addresses within a single page of memory are mapped into a block of said cache comprising 2K cache addresses.
- 3. The microprocessor system of claim 2 wherein a memory address is specified by address bits A1 to AN inclusive, where N is an integer greater than 15 and A1 is the least significant bit, a cache address is specified by address bits A1 to A13 inclusive, and said gating circuits map cache address bits A12 to A15 according to:
- A12 in place of A14
- A13 in place of A15
- A14 in place of A12
- A15 in place of A13.
Parent Case Info
This is a continuation of application Ser. No. 07/596,500, filed Oct. 12, 1990, now abandoned.
US Referenced Citations (6)
Continuations (1)
|
Number |
Date |
Country |
Parent |
596500 |
Oct 1990 |
|