Data processor and data processing system

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

C711S118000, C711S003000, C711S120000, C711S121000, C711S122000, C711S123000

Reexamination Certificate

active

06351788

ABSTRACT:

TECHNICAL FIELD
The present invention relates to a data processor including cache memories and particularly to technique for easily changing structure of cache memory or function thereof depending on the requested specification, for example, technique which is effectively applied to an RISC (Reduced Instruction Set Computer) for controlling the built-in devices.
BACKGROUND ART
Almost all data processors having the RISC architecture employ the pipeline technique to execute in virtual one instruction in one clock cycle (one pipeline stage) to realize high speed data processing and moreover are loading cache memories to realize high speed access of operands and instructions. Such RISC processor is described, for example, on pages 79 to 92 of the Nikkei Electronics, No. 601 (issued on Feb. 14, 1994 by Nikkei PB).
As is described in above reference, cache mistake of cache memory is correlated with cache memory size and cache line size.
Moreover, type of cache memory is divided to the direct map or set associative structure. The direct map selects cache line using a part of the significant bit side of the given address signal as an index address and compares the cache tag included in the selected cache line with the remaining bits of the significant bit side of the address signal. When these are matched, the direct map uses the data included in the selected cache line. In the set associative structure, the direct map structures are arranged in parallel to provide a plurality of cache lines in one index address and the cache hit rate thereof is considered higher than that of the direct map structure because of its property.
Whether the direct map or set associative should be used as the structure of a cache memory and what capacity the cache memory should have are often determined depending on the application field of the data processor comprising cache memories. Particularly, since it may also be required to load particular peripheral circuit modules depending on the requested specifications in such a field as controlling the loading of the devices, it is preferable to minimize the chip occupation area required by cache memories. Moreover, it is sometimes required to consider the power consumption of cache memories.
According to discussion by the inventors of the present invention about the cache memories comprised in the data processor, on the occasion of offering products of data processor which is loading cache memories of 4-way set associative structure of 4K bytes in total, it is substantially impossible to change, in view of reducing chip size, the relevant cache memories for independent use as the cache memories of the direct map by separating a part of way from the investigated design data (data of module library) of such cache memories and therefore total design change of cache memories is inevitably required. In addition, the set associative type cache memories operate simultaneously a plurality of ways, such cache memories require higher power consumption in comparison with the direct map.
Moreover, the cache memory of the direct map corresponding to capacity of one way of the cache memory of 4-way set associative type is naturally smaller in the chip occupation area and power consumption in comparison with the set associative type but is reduced in the cache hit rate. Even when it is attempted to increase the capacity of cache memory in the product of data processor comprising such cache memory of the direct map type, it is impossible to simply increase the storage capacity and it is also required to establish the total re-design of the cache memory.
The inventors of the present invention have proved that there are problems that the array of cache line of the original cache memory must be re-designed and it is not easy to provide a product of the data processor comprising cache memory in order to increase or decrease the capacity of original cache memory or to change the structure of cache to the set associative type from direct map type or vice versa at the time of offering a product of the data processor comprising cache memory.
Moreover, regarding the cache memory, the technique for assigning cache memory corresponding to the logical page of virtual memory or property of task under the multi-user or multi-task system is described, for example, in the Japanese Published Unexamined Patent Application Nos. SHO 55-8628(1980), SHO 62-276644(1987), HEI 4-49446(1992) and SHO 62-145341(1987). This technique is not intended to utilize as much possible the design resource of cache memory for changing the function or structure of the comprised cache memory on the occasion of offering a product of the data processor as explained above. The cache memory corresponding to logical page and task or the like is only the intrinsic one cache memory and does not have a means for easily changing the function or structure of the cache memory.
It is therefore an object of the present invention to offer a data processor which can change functions of the comprised cache memories under the condition that it is loaded to a system.
It is another object of the present invention to offer the technique for easily changing function or structure of cache memory in order to provide a product of the data processor comprising cache memory.
It is further object of the present invention to provide a data processor and a data processing system which can easily optimize the data processing capability and power consumption from the point of view of function and structure of the cache memory.
The aforementioned and further objects and novel features of the present invention will become apparent from the following description of the present specification.
DISCLOSURE OF THE INVENTION
The data processor of the present invention comprises a central processing unit, a plurality of area designating means for variably designating location and size of address area in the memory space to be managed by the central processing unit, detecting means provided corresponding respective area designating means to detect the access by the central processing unit to the address area designated by the relevant area designating means, a plurality of cache memories provided corresponding to individual means among a plurality of detecting means through the coupling with the central processing unit via the internal bus and a cache control means for controlling respective cache memories on the basis of the determination result of cache hit/mistake of cache memory and detection result of the access detecting means. For example, this data processor is formed on one semiconductor substrate.
The number of cache memories to be employed to the data processor of the present invention is determined freely within the range which is allowed by the chip occupation area. Logic of cache controller is changed only a little depending on the number of cache memories to be employed. Therefore, when the data processor is produced as the product (comprised circuits are added or functions of comprised circuits are changed depending on the specifications requested by users), address array or data array forming the cache line of the cache memory is never newly designed from the beginning.
Moreover, since address range for functioning individual cache memory can be varied, the cache memory can be functioned for each address area of, for example, every task or a group of tasks. Therefore, such a condition that cache mistake occurs continuously at the time of switching the task can be eliminated and data processing efficiency can be improved by utilizing the capability of cache memory to the largest extent. Such operation is never frozen by hardware. In other words, the cache memory to be used as the program area of task can be varied depending on the setting of the area designating means. Accordingly, assignment of cache memory can easily be optimized for the relevant system at the time of producing the data processor as the product to be applied for controlling the comprised devices. Assignment of such areas can also be applied to data area or the like used

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

Data processor and data processing system does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Data processor and data processing system, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Data processor and data processing system will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-2971110

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