IP Library › Granted Patent US 7,502,901
Granted Patent B2
US 7,502,901 · App. 10/735,917 · Granted Mar 10, 2009

Memory replacement mechanism in semiconductor device

Assignee: Panasonic Corporation
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 7,502,901
App. No.
10/735,917
Granted
Mar 10, 2009
Kind
B2
Abstract

A semiconductor device has a processor, a first memory unit accessed by the processor, a plurality of page memory units obtained by partitioning a second memory unit which is accessible by the processor at a speed higher than the speed at which the first memory unit is accessible such that each of the page memory units has a storage capacity larger than the memory capacity of a line composing a cache memory, a tag adding, to each of the page memory units, tag information indicative of an address value in the first memory unit and priority information indicative of a replacement priority, a tag comparator for comparing, upon receipt of an access request from the processor, the address value in the first memory unit with the tag information held by the tag, and a replacement control unit for replacing the respective contents of the page memory units.

Claims (88)

1. A semiconductor device comprising:

a processor;

a first memory unit accessed by the processor and serving as a main memory;

a plurality of page memory units obtained by partitioning a second memory unit which is different from the first memory unit and is accessible within several clock cycles by the processor at a speed higher than a speed at which the first memory unit is accessible and serves as a cache memory such that each of the page memory units has a storage capacity of several kilobytes;

a tag for adding, to each of the page memory units, tag information indicative of an address value in the first memory unit and priority information indicative of a replacement priority;

a tag comparator for comparing, upon receipt of an access request from the processor, the address value in the first memory unit with the tag information held by the tag; and

a replacement control unit for replacing respective contents of the page memory units, wherein

the plurality of page memory units are assigned to groups each composed of a specified number of page memory units to compose a plurality of bank memories, the semiconductor device further comprising a bank control unit for managing the plurality of bank memories,

the replacement control unit determines, upon receipt of an access request to any of the page memory units, whether or not information on a requested address of the page memory unit is held in the tag, selects, if the address information is not held, one of the plurality of page memory units based on preliminarily specified replacement information, releases the selected page memory unit, and transfers data from the requested address from the first memory unit into the page memory unit, and

wherein when an application under operation is changed, the replacement control unit evenly redistributes empty memories to application programs to be executed.

2. The semiconductor device of claim 1 , wherein the replacement control unit performs reservation and release of the page memory units in one operation cycle of the application program, does not reserve any of the empty memory during the cycle, and brings the allocated empty memory into a releasable state one cycle after.

3. A semiconductor device comprising:

a processor;

a first memory unit accessed by the processor and serving as a main memory;

a plurality of page memory units obtained by partitioning a second memory unit which is different from the first memory unit and is accessible within several clock cycles by the processor at a speed higher than a speed at which the first memory unit is accessible and serves as a cache memory such that each of the page memory units has a storage capacity of several kilobytes;

a tag for adding, to each of the page memory units, tag information indicative of an address value in the first memory unit and priority information indicative of a replacement priority;

a tag comparator for comparing, upon receipt of an access request from the processor, the address value in the first memory unit with the tag information held by the tag; and

a replacement control unit for replacing respective contents of the page memory units, wherein

the plurality of page memory units are assigned to groups each composed of a specified number of page memory units to compose a plurality of bank memories, the semiconductor device further comprising a bank control unit for managing the plurality of bank memories,

the replacement control unit determines, upon receipt of an access request to any of the page memory units, whether or not information on a requested address of the page memory unit is held in the tag, selects, if the address information is not held, one of the plurality of page memory units based on preliminarily specified replacement information, releases the selected page memory unit, and transfers data from the requested address from the first memory unit into the page memory unit, and

wherein when an application program under operation is changed, the replacement control unit redistributes empty memories to application programs to be executed based on the priority information preliminarily defined and held in the tag.

4. The semiconductor device of claim 3 , wherein the replacement control unit performs reservation and release of the page memory units in one operation cycle of the application program, does not reserve any of the empty memory during the cycle, and brings the allocated empty memory into a releasable state one cycle after.

5. A semiconductor device comprising:

a processor;

a first memory unit accessed by the processor and serving as a main memory;

a plurality of page memory units obtained by partitioning a second memory unit which is different from the first memory unit and is accessible within several clock cycles by the processor at a speed higher than a speed at which the first memory unit is accessible and serves as a cache memory such that each of the page memory units has a storage capacity of several kilobytes;

a tag for adding, to each of the page memory units, tag information indicative of an address value in the first memory unit and priority information indicative of a replacement priority;

a tag comparator for comparing, upon receipt of an access request from the processor, the address value in the first memory unit with the tag information held by the tag; and

a replacement control unit for replacing respective contents of the page memory units, wherein

the plurality of page memory units are assigned to groups each composed of a specified number of page memory units to compose a plurality of bank memories, the semiconductor device further comprising a bank control unit for managing the plurality of bank memories,

the replacement control unit determines, upon receipt of an access request to any of the page memory units, whether or not information on a requested address of the page memory unit is held in the tag, selects, if the address information is not held, one of the plurality of page memory units based on preliminarily specified replacement information, releases the selected page memory unit, and transfers data from the requested address from the first memory unit into the page memory unit, and

wherein when an application program under operation is changed, the replacement control unit redistributes empty memories to application programs to be executed in order of increasing operation cycle.

6. The semiconductor device of claim 5 , wherein the replacement control unit performs reservation and release of the page memory units in one operation cycle of the application program, does not reserve any of the empty memory during the cycle, and brings the allocated empty memory into a releasable state one cycle after.

7. A semiconductor device comprising:

a processor;

a first memory unit accessed by the processor and serving as a main memory:

a plurality of page memory units obtained by partitioning a second memory unit which is different from the first memory unit and is accessible within several clock cycles by the processor at a speed higher than a speed at which the first memory unit is accessible and serves as a cache memory such that each of the page memory units has a storage capacity of several kilobytes;

a tag for adding, to each of the page memory units, tag information indicative of an address value in the first memory unit and priority information indicative of a replacement priority;

a tag comparator for comparing, upon receipt of an access request from the processor, the address value in the first memory unit with the tag information held by the tag; and

a replacement control unit for replacing respective contents of the page memory units, wherein

the plurality of page memory units are assigned to groups each composed of a specified number of page memory units to compose a plurality of bank memories, the semiconductor device further comprising a bank control unit for managing the plurality of bank memories,

the replacement control unit determines, upon receipt of an access request to any of the page memory units, whether or not information on a requested address of the page memory unit is held in the tag, selects, if the address information is not held, one of the plurality of page memory units based on preliminarily specified replacement information, releases the selected page memory unit, and transfers data from the requested address from the first memory unit into the page memory unit, and

wherein when an application program under operation is changed, the replacement control unit redistributes empty memories to application programs to be executed in order of decreasing amount of transfer per unit time.

8. The semiconductor device of claim 7 , wherein the replacement control unit performs reservation and release of the page memory units in one operation cycle of the application program, does not reserve any of the empty memory during the cycle, and brings the allocated empty memory into a releasable state one cycle after.

9. A semiconductor device comprising

a processor;

a first memory unit accessed by the processor and serving as a main memory;

a plurality of page memory units obtained by partitioning a second memory unit which is different from the first memory unit and is accessible within several clock cycles by the processor at a speed higher than a speed at which the first memory unit is accessible and serves as a cache memory such that each of the page memory units has a storage capacity of several kilobytes;

a tag for adding, to each of the page memory units, tag information indicative of an address value in the first memory unit and priority information indicative of a replacement priority;

a tag comparator for comparing, upon receipt of an access request from the processor, the address value in the first memory unit with the tag information held by the tag; and

a replacement control unit for replacing respective contents of the page memory units, wherein

the plurality of page memory units are assigned to groups each composed of a specified number of page memory units to compose a plurality of bank memories, the semiconductor device further comprising a bank control unit for managing the plurality of bank memories,

the replacement control unit determines, upon receipt of an access request to any of the page memory units, whether or not information on a requested address of the page memory unit is held in the tag, selects, if the address information is not held, the one of the plurality of page memory units having a long access cycle, releases the selected page memory unit, and transfers data of the requested address from the first memory unit into the page memory unit, and

wherein when an application program under operation is changed, the replacement control unit evenly redistributes empty memories to application programs to be executed.

10. The semiconductor device of claim 9 , wherein the replacement control unit performs reservation and release of the page memory units in one operation cycle of the application program, does not reserve any of the empty memory during the cycle, and brings the allocated empty memory into a releasable state one cycle after.

11. A semiconductor device comprising:

a processor;

a first memory unit accessed by the processor and serving as a main memory;

a plurality of page memory units obtained by partitioning a second memory unit which is different from the first memory unit and is accessible within several clock cycles by the processor at a speed higher than a speed at which the first memory unit is accessible and serves as a cache memory such that each of the page memory units has a storage capacity of several kilobytes;

a tag for adding, to each of the page memory units, tag information indicative of an address value in the first memory unit and priority information indicative of a replacement priority;

a tag comparator for comparing, upon receipt of an access request from the processor, the address value in the first memory unit with the tag information held by the tag; and

a replacement control unit for replacing respective contents of the page memory units, wherein

the plurality of page memory units are assigned to groups each composed of a specified number of page memory units to compose a plurality of bank memories, the semiconductor device further comprising a bank control unit for managing the plurality of bank memories,

the replacement control unit determines, upon receipt of an access request to any of the page memory units, whether or not information on a requested address of the page memory unit is held in the tag, selects, if the address information is not held, the one of the plurality of page memory units having a long access cycle, releases the selected page memory unit, and transfers data of the requested address from the first memory unit into the page memory unit, and

wherein when an application program under operation is changed, the replacement control unit redistributes empty memories to application programs to be executed based on the priority information preliminarily defined and held in the tag.

12. The semiconductor device of claim 11 , wherein the replacement control unit performs reservation and release of the page memory units in one operation cycle of the application program, does not reserve any of the empty memory during the cycle, and brings the allocated empty memory into a releasable state one cycle after.

13. semiconductor device comprising:

a processor;

a first memory unit accessed by the processor and serving as a main memory;

a plurality of page memory units obtained by partitioning a second memory unit which is different from the first memory unit and is accessible within several clock cycles by the processor at a speed higher than a speed at which the first memory unit is accessible and serves as a cache memory such that each of the page memory units has a storage capacity of several kilobytes;

a tag for adding, to each of the page memory units, tag information indicative of an address value in the first memory unit and priority information indicative of a replacement priority;

a tag comparator for comparing, upon receipt of an access request from the processor, the address value in the first memory unit with the tag information held by the tag; and

a replacement control unit for replacing respective contents of the page memory units, wherein

the plurality of page memory units are assigned to groups each composed of a specified number of page memory units to compose a plurality of bank memories, the semiconductor device further comprising a bank control unit for managing the plurality of bank memories,

the replacement control unit determines, upon receipt of an access request to any of the page memory units, whether or not information on a requested address of the page memory unit is held in the tag, selects, if the address information is not held, the one of the plurality of page memory units having a long access cycle, releases the selected page memory unit, and transfers data from the requested address from the first memory unit into the page memory unit, and

wherein when an application under operation is changed, the replacement control unit redistributes empty memories to application programs to be executed in order of increasing operation cycle.

14. The semiconductor device of claim 13 , wherein the replacement control unit performs reservation and release of the page memory units in one operation cycle of the application program, does not reserve any of the empty memory during the cycle, and brings the allocated empty memory into a releasable state one cycle after.

15. A semiconductor device comprising:

a processor;

a first memory unit accessed by the processor and serving as a main memory;

a plurality of page memory units obtained by partitioning a second memory unit which is different from the first memory unit and is accessible within several clock cycles by the processor at a speed higher than a speed at which the first memory unit is accessible and serves as a cache memory such that each of the page memory units has a storage capacity of several kilobytes;

a tag for adding, to each of the page memory units, tag information indicative of an address value in the first memory unit and priority information indicative of a replacement priority;

a tag comparator for comparing, upon receipt of an access request from the processor, the address value in the first memory unit with the tag information held by the tag; and

a replacement control unit for replacing respective contents of the page memory units, wherein

the plurality of page memory units are assigned to groups each composed of a specified number of page memory units to compose a plurality of bank memories, the semiconductor device further comprising a bank control unit for managing the plurality of bank memories,

the replacement control unit determines, upon receipt of an access request to any of the page memory units, whether or not information on a requested address of the page memory unit is held in the tag, selects, if the address information is not held, the one of the plurality of page memory units having a long access cycle, releases the selected page memory unit, and transfers data from the requested address from the first memory unit into the page memory unit, and

wherein when an application program under operation is changed, the replacement control unit redistributes empty memories to application programs to be executed in order of decreasing amount of transfer per unit time.

16. The semiconductor device of claim 15 , wherein the replacement control unit performs reservation and release of the page memory units in one operation cycle of the application program, does not reserve any of the empty memory during the cycle, and brings the allocated empty memory into a releasable state one cycle after.

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 25, 2015
From: PANASONIC CORPORATION
To: SOCIONEXT INC.
Reel/Frame 035294/0942 →
CHANGE OF NAME Recorded Nov 21, 2008
From: MATSUSHITA ELECTRIC INDUSTRIAL CO., LTD.
To: PANASONIC CORPORATION
Reel/Frame 021897/0624 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 16, 2003
From: KOGA, YOSHIHIRO; KURODA, MANABU; ASAI, NOBORU; FUNAHASHI, KAZUTOSHI
To: MATSUSHITA ELECTRIC INDUSTRIAL CO., LTD.
Reel/Frame 014808/0745 →
Priority Claims (1)
JP 2003-084894 · Mar 26, 2003 · national
Continuity (1)
Related Publication 20040193806A1 · Sep 30, 2004