Claims
- 1. A method of operating a digital system having a cache with a plurality of lines, wherein each line has a plurality of segments, the method comprising the steps of:
determining a first miss in response to receiving a first request for a first segment in a first line of the cache; fetching the first segment of a first plurality of segments in response to the first miss on the first line of the plurality of lines; prefetching other segments of the first plurality of segments for the first line; determining a second miss in response to receiving a second request for a second segment in a second line of the cache prior to completing the step of prefetching other segments of the first plurality of segments; and halting the step of prefetching other segments of the first plurality of segments in response to the second miss and fetching the second segment of a second plurality of segments in response to the second miss.
- 2. The method according to claim 1, wherein the step of prefetching is cancelled in response to the second miss.
- 3. The method of claim 1, further comprising the step of prefetching other segments of the second plurality of segments while the step of prefetching other segments of the first plurality of segments is halted.
- 4. The method according to claim 3, further comprising the step of resuming prefetching other segments of the first plurality of segments after completing the step of prefetching other segments of the second plurality of segments.
- 5. The method according to claim 1, further comprising the steps of:
assigning a first priority to the first miss and a second priority to the second miss; determining if the second priority is less important than the first priority; and wherein the step of halting is not performed if the second priority is less important than the first priority.
- 6. The method according to claim 1, wherein the steps of fetching and prefetching access a memory circuit, further comprising the steps of:
assigning a first priority to the first miss in accordance with a state of the memory circuit; assigning a second priority to the second miss in accordance with the state of the memory circuit in response to the first miss; determining if the second priority is less important than the first priority; and wherein the step of halting is not performed if the second priority is less important than the first priority.
- 7. The method according to claim 1, wherein the first request is received from a lower level cache.
- 8. A digital system, comprising:
a cache with a plurality of lines, wherein each line is organized as a plurality of segments, the cache having detection circuitry operable to detect if a requested data is present in the cache; a requesting device connected to the cache to receive requested data from the cache; a memory circuit connected to the cache; prefetch circuitry connected to the cache operable to fetch a first segment from the memory circuit for a first line of the cache and further operable to prefetch at least a second segment from the memory circuit for the first line of the cache in response to a first miss detected by the detection circuitry; and wherein the prefetch circuitry is operable to halt prefetching for the first line of the cache in response to a second miss detected by the detection circuitry.
- 9. The digital system of claim 8, wherein the prefetch circuitry is operable to prefetch at least a third segment for a second line of the cache in response to the second miss while the prefetch for the first line is halted.
- 10. The digital system according to claim 8 being a cellular telephone, wherein the requesting device is a processor (CPU), further comprising:
an integrated keyboard connected to the CPU via a keyboard adapter; a display, connected to the CPU via a display adapter; radio frequency (RF) circuitry connected to the CPU; and an aerial connected to the RF circuitry.
Priority Claims (2)
Number |
Date |
Country |
Kind |
00402331.3 |
Aug 2000 |
EP |
|
00403535.8 |
Dec 2000 |
EP |
|
Parent Case Info
[0001] This application claims priority to European Application Serial No. 00402331.3, filed Aug. 21, 2000 (TI-31366EU) and to European Application Serial No. 00403535.8, filed Dec. 15, 2000 (TI-31341EU). U.S. patent application Ser. No. (TI-31366US) is incorporated herein by reference.