Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Cache memory replacement method, cache memory and computer system

A computer system and high-speed buffering technology, which is applied in memory systems, calculations, instruments, etc., can solve the problems of increasing chip cost and power consumption, and can not be directly mapped, so as to improve the hit rate and reduce chip power consumption.

Pending Publication Date: 2020-12-29
SHENZHEN HANGSHUN CHIP TECH DEV CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But adding a large-capacity Cache will significantly increase the cost and power consumption of the chip
Therefore, only small-capacity Cache can be used in cost- and power-consumption-sensitive microcontroller chips. When using small-capacity Cache, it is not possible to use direct mapping, full mapping, or set associative mapping to map and Replace Cache, and the existing mapping method has not yet covered this technical issue

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Cache memory replacement method, cache memory and computer system
  • Cache memory replacement method, cache memory and computer system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiment of the application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiment of the application. Obviously, the described embodiment is only It is an embodiment of a part of the application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the scope of protection of this application.

[0024] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0025] The data replacement method of the cache memory inclu...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a cache memory replacement method, a cache memory and a computer system; in the invention, a sliding window consistent with the capacity k of the cache memory is adopted, the sliding window corresponds to a data block in a main memory, a data block in a main memory corresponding to the sliding window and a priority mark of the data block are stored in a cache block of the cache memory; the priority of a newly accessed program block is judged when the current Cache block of the cache memory has access miss; the Cache content and the priority are replaced only when the priority of the new program block is higher than that of the current program block; the bottom end of the sliding window is moved to a miss address when the Cache block is replaced, and the data block inthe main memory corresponding to the sliding window and the priority of the data block are stored in the cache memory.

Description

technical field [0001] The invention relates to the technical field of cache memory, in particular to a replacement method of cache memory, cache memory and computer system. Background technique [0002] Cache is a special memory subsystem in which frequently used data is copied for fast access. The memory cache stores the contents of frequently accessed RAM locations and the storage addresses of these data items. Cache consists of two basic parts: tag memory and data memory. The tag memory is used to store the control bits and block address tags of the Cache. The control bits are used to manage the read and write operations of the Cache, and the block address tags record the addresses of each block in the Cache. This address contains the block address mapped to the main memory, and all correspond to a piece of "data" in the Cache. And this piece of "data" is stored in the data memory of Cache. When the CPU reads data, it first sends the physical address to the Cache thr...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F12/126
CPCG06F12/126
Inventor 刘吉平熊辉兵
Owner SHENZHEN HANGSHUN CHIP TECH DEV CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products