Cache controller and cache controlling method
First Claim
1. A cache memory controller comprising:
- a data detecting unit that detects a write address in the cache memory into which the store data is stored, an area-to-be-stored of the store data that is to be stored and an area-not-to-be-stored that is not to be stored, when the store data is transmitted from an execution unit;
a data determining unit that determines whether data-to-be-stored that is already written is present in the write address detected by the data detecting unit;
an existing data-not-to-be-stored obtaining unit that obtains, from the data written in the write address, data detected by the data detecting unit and written in the area-not-to-be-stored, as existing data-not-to-be-stored, when the data determining unit determines that the data-to-be-stored is present in the write address;
a store data writing unit that merges the existing data-not-to-be-stored obtained by the existing data-not-to-be-stored obtaining unit with the data-to-be-stored in the area-to-be-stored detected by the data detecting unit to generate new store data, and writes the new store data into the write address detected by the data detecting unit; and
an ECC generating unit that generates an ECC for the new store data written by the store data writing unit into the cache memory, from the new store data generated by the store data writing unit.
1 Assignment
0 Petitions
Accused Products
Abstract
A cache memory controlling unit includes a plurality of STBs for maintaining 8-byte store data received from an execution unit, a plurality of WBs, a DATA-RAM, an FCDR, and an ECC-RAM. The cache memory controlling unit having such a structure obtains data-not-to-be-stored from the DATA-RAM, stores the obtained data in the FCDR, and merges the stored data with data-to-be-stored in the store data output from the execution unit and stored in the STBs or the WBs to generate new store data. The cache memory controlling unit then writes the generated new store data in the DATA-RAM, generates an ECC from the new store data, and writes the ECC in the ECC-RAM.
-
Citations
9 Claims
-
1. A cache memory controller comprising:
-
a data detecting unit that detects a write address in the cache memory into which the store data is stored, an area-to-be-stored of the store data that is to be stored and an area-not-to-be-stored that is not to be stored, when the store data is transmitted from an execution unit; a data determining unit that determines whether data-to-be-stored that is already written is present in the write address detected by the data detecting unit; an existing data-not-to-be-stored obtaining unit that obtains, from the data written in the write address, data detected by the data detecting unit and written in the area-not-to-be-stored, as existing data-not-to-be-stored, when the data determining unit determines that the data-to-be-stored is present in the write address; a store data writing unit that merges the existing data-not-to-be-stored obtained by the existing data-not-to-be-stored obtaining unit with the data-to-be-stored in the area-to-be-stored detected by the data detecting unit to generate new store data, and writes the new store data into the write address detected by the data detecting unit; and an ECC generating unit that generates an ECC for the new store data written by the store data writing unit into the cache memory, from the new store data generated by the store data writing unit. - View Dependent Claims (2, 3)
-
-
4. A cache memory controlling method suitable comprising:
-
detecting a write address in the cache memory into which the store data is stored, an area-to-be-stored of the store data that is to be stored and an area-not-to-be-stored that is not to be stored, when the store data is transmitted from an execution unit; determining whether data-to-be-stored that is already written is present in the write address detected at the detecting; obtaining, from the data written in the write address, data detected at the detecting and written in the area-not-to-be-stored, as existing data-not-to-be-stored, when it is determined that the data-to-be-stored is present in the write address at the determining; merging the existing data-not-to-be-stored obtained at the obtaining with the data-to-be-stored in the area-to-be-stored detected at the detecting to generate new store data, and writing the new store data into the write address detected at the detecting; and generating an ECC for the new store data written at the writing into the cache memory, from the new store data generated at the writing. - View Dependent Claims (5, 6)
-
-
7. A computer readable storage medium having stored therein a cache memory controlling program for writing store data received from an execution unit into a cache memory and generating an ECC for the store data, the cache memory controlling program causing a computer to execute a process comprising:
-
detecting a write address in the cache memory into which the store data is stored, an area-to-be-stored of the store data that is to be stored and an area-not-to-be-stored that is not to be stored, when the store data is transmitted from the execution unit; determining whether data-to-be-stored that is already written is present in the write address detected at the detecting; obtaining, from the data written in the write address, data detected at the detecting and written in the area-not-to-be-stored, as existing data-not-to-be-stored, when it is determined that the data-to-be-stored is present in the write address at the determining; merging the existing data-not-to-be-stored obtained at the obtaining with the data-to-be-stored in the area-to-be-stored detected at the detecting to generate new store data, and writing the new store data into the write address detected at the detecting; and generating an ECC for the new store data written at the writing into the cache memory, from the new store data generated at the writing. - View Dependent Claims (8, 9)
-
Specification