Information processing device capable of allowing the...

Electrical computers and digital processing systems: memory – Storage accessing and control – Hierarchical memories

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C711S003000, C711S168000

Reexamination Certificate

active

06438662

ABSTRACT:

BACKGROUND OF THE INVENTION
The present invention relates to an information processing device comprising a microprocessor having a cache memory.
In recent years, according to gradual increase of processing speed of a microprocessor, the information processing device, in which a cache memory is installed inside the microprocessor to realize a high speed processing of memory access, has been popularized. In such information processing device a program data and a part of other data stored in the memory (main memory, herewith) installed outside microprocessor are stored in the cache memory inside the microprocessor and the microprocessor accesses the cache memory by replacing to the main memory access to allow getting data from the memory with a high speed.
Meanwhile, in such information processing device, when the outside device operates direct memory access (DMA), for example, by a bus master function to renew the contents of the main memory by the outside device, data held by the cache memory inside the microprocessor and data held by the main memory do not correspond each other. Therefore, after DMA by the outside device, the contents of all the cache memory are once cleared together with the program data and other data.
As the result, for a short time after DMA, the microprocessor gets data from not the cache memory, but the main memory to need tome of memory access resulting in processing performance of the microprocessor.
Then, in order to solve this problem, for example, unexamined Japanese Patent Publication Sho62-145445, namely, No.145445/1987, discloses a method in which management is operated by dividing the cache memory into data area and code area and according to situation, only one area, for example the data area is cleared to keep a certain hit rate of the cache memory, even after DMA has been operated.
However, in this method the cache memory is divided into small areas to cause that data are stored in entire area in the one area, but data are stored in a part of the other area. Thus, the following problem occurs: as a whole, the cache memory cannot be effectively used.
SUMMARY OF THE INVENTION
It is therefore an object of the present invention to provide an information processing device allowing the maximum processing performance for the microprocessor by making possible the effective application of the cache memory, even after the outside device directly accessed the main memory.
Other objects of the present invention will become clear as the description proceeds.
In order to accomplish the above object, the present invention provides an information processing device comprising a microprocessor containing a cache memory, a main memory installed in the outside of said microprocessor to be accessed by said microprocessor, and an outside device to access directly said main memory, wherein said microprocessor comprises the first address storage means to store an address of said main memory to be accessed by said microprocessor, the second address storage means to store the address of said main memory to be accessed by said outside device, a controlling means of address storage to make the second address storage means store by getting the address, to which said outside device accesses, from said outside device, when said outside device accesses said main memory, a controlling means of access memory compares addresses stored by said first and second address storage means when said microprocessor reads a datum from said main memory, if the two addresses differ each other, makes said microprocessor access said cache memory and if the two addresses are identical, makes said microprocessor access said main memory.
In information processing device of the present invention, the controlling means of address storage gets an address, which the outside device accesses, from the outside device to make the second address storage means store, when the outside device accesses the main memory. The access memory controlling means compares addresses stored by the first and the second address storage means, when the microprocessor reads data from the memory. If the two addresses differ each other, make said microprocessor access said cache memory. On the other hand, if said two addresses are identical, make said microprocessor access said main memory.
Therefore, as the result of renewal of stored contents by accessing of the main memory by the outside memory, even if stored contents of the cache memory differs from those of the main memory, when the microprocessor reads data from the address, the microprocessor is automatically controlled to read data from the main memory and not from the cache memory.
Therefore, in the information processing device of the present invention, the maximum processing performance is realized for the microprocessor by making possible the effective application of the cache memory without conventional clearing of the cache memory, even after the outside device renewed the stored contents of the main memory.


REFERENCES:
patent: 5148526 (1992-09-01), Nishimuki et al.
patent: 5551006 (1996-08-01), Kulkarni
patent: 5696917 (1997-12-01), Mills et al.
patent: 5742791 (1998-04-01), Mahalingaiah et al.
patent: 5768557 (1998-06-01), Kulkarni
patent: 5826052 (1998-10-01), Stiles et al.
patent: 5893141 (1999-04-01), Kulkarni
patent: 5913224 (1999-06-01), MacDonald
patent: 5968166 (1999-10-01), Kakiage et al.
patent: 5987585 (1999-11-01), Motoyama et al.
patent: 6026478 (2000-02-01), Dowling
patent: 6061449 (2000-05-01), Candelore et al.
patent: 6073217 (2000-06-01), Mahalingaiah et al.
patent: 6154826 (2000-11-01), Wulf et al.
patent: 6226722 (2001-05-01), Shippy et al.
patent: 6226738 (2001-05-01), Dowling
patent: 62-145445 (1987-06-01), None

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Information processing device capable of allowing the... does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Information processing device capable of allowing the..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Information processing device capable of allowing the... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-2960296

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.