IP Library Granted Patent US 6,981,103
Granted Patent B2
US 6,981,103 · App. 10/166,131 · Granted Dec 27, 2005

Cache memory control apparatus and processor

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 6,981,103
App. No.
10/166,131
Granted
Dec 27, 2005
Kind
B2
Abstract

A cache memory control apparatus ( 20 ) that may control a cache memory ( 100 ) has been disclosed. Cache memory control apparatus ( 20 ) may include a control section ( 21 ). When a cache miss occurs, a refill request for a line ( 118 ) of data may be executed. In response to the refill request, control section ( 21 ) may perform control to make a valid bit ( 103 ) and a TAG portion ( 102 ), corresponding to line ( 118 ) of data to be refilled, invalid. This may occur while accessing the address corresponding to the cache miss from an external memory ( 200 ). In this way, if a reset occurs during the refill operation, a cache memory control apparatus ( 20 ) may recover a cache memory to a state before resetting in a reduced time period. Upon completion of the refill operation, valid bit ( 103 ) and TAG portion ( 102 ) may be updated.

Claims (24)

1. A cache memory control apparatus for controlling read/write of data from/to a cache memory including multiple lines for storing data, comprising:

a control circuit which, when a cache miss occurs, provides a read request to an external memory from a cache miss address and makes a first line in the cache memory where refill data from the external memory is to be stored invalid wherein

the control circuit sets a valid bit corresponding to the first line in the cache memory to an invalid state in response to the cache miss; and

the control circuit sets a TAG address corresponding to the first line in the cache memory to an invalid address state in response to the cache miss.

2. The cache memory control apparatus according to claim 1 , wherein:

the control circuit makes the first line valid when the refill data is stored in the first line.

3. The cache memory control apparatus according to claim 2 , wherein:

the cache memory apparatus is included on a processor device.

4. The cache memory control apparatus according to claim 1 , wherein:

the control circuit sets a TAG address corresponding to the first line in the cache memory to the cache miss address when the refill data is stored in the first line.

5. The cache memory control apparatus according to claim 1 , wherein:

the control circuit sets a valid bit corresponding to the first line in the cache memory to a valid state when the refill data is stored in the first line.

6. A method for controlling a cache memory including multiple lines for storing data, comprising the steps of:

receiving a cache miss indication;

providing a refill request to refill a first line of the cache memory;

setting an invalid state for the first line of the cache memory in response to the refill request;

writing an address value corresponding to at least a portion of a refill request address provided to an external memory during the refill request to a TAG portion for the first line of the cache memory in response to the refill end; and

writing an invalid address value to the TAG portion for the first line of the cache memory in response to the refill request.

7. The method for controlling a cache memory according to claim 6 , further including the step of:

setting the first line of the cache memory to a valid state in response to a refill end.

8. The method for controlling a cache memory according to claim 6 , further including the step of:

writing an address value corresponding to at least a portion of a refill request address provided to an external memory during the refill request to a TAG portion for the first line of the cache memory in response to the refill request.

9. The method for controlling a cache memory according to claim 6 , wherein:

the steps of receiving a cache miss indication, providing a refill request to refill a first line of the cache memory, and setting an invalid state for the first line of the cache memory in response to the refill request are executed on an integrated circuit including a processor.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 19, 2003
From: NEC CORPORATION
To: NEC ELECTRONICS CORPORATION
Reel/Frame 013760/0821 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 17, 2002
From: NAKAMURA, SATOKO
To: NEC CORPORATION
Reel/Frame 013292/0453 →