Claims
- 1. In a system for the processing of data having a main memory and a data cache, a method of caching data stored in main memory so as to mitigate the effects of address pattern dependency, comprising the steps of:
translating main memory physical address into main memory virtual addresses on a page-by-page basis such that certain of said virtual address bits are the same as respective physical address bits; selecting a portion of said address bits that are the same; generating cache offset values using said selected bits; and writing data to said cache at offset positions derived from said cache offset values.
- 2. A method according to claim 1, wherein said step of selecting a portion of address bits identifies bits that address bytes within a line of data and makes a selection from the remaining bits.
- 3. A method according to claim 1, wherein the system includes a second cache and data is transferred from said first cache to said second cache and offset values for said second cache are also derived from said selected portion of address bits.
- 4. A method according to claim 1, wherein said data is image data consisting of a plurality of frames each forming part of one of a plurality of clips;
a process is performed on a first clip in combination with a second clip by writing frames of said first clip from main memory to cache and by writing frames of said second clip into cache; and data writes occur at said offset positions to minimise the risk of said second frame write overwriting data of said first frame write.
- 5. A method according to claim 1, wherein image data is transferred from an external device to said main memory by a process of direct memory access.
- 6. A method according to claim 1, wherein said main memory is constructed from dynamic RAM and said cache is constructed from static RAM.
CROSS REFERENCE TO RELATED APPLICATIONS
[0001] This application is a continuation of co-pending and commonly-assigned U.S. patent application Ser. No. 09/400,557, filed Sep. 21, 1999, by Benoit Belley, entitled “CACHE ADDRESSING”, attorneys' docket number 30566.183-US-01, which application is incorporated by reference herein.
Continuations (1)
|
Number |
Date |
Country |
Parent |
09400557 |
Sep 1999 |
US |
Child |
10214643 |
Aug 2002 |
US |