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

Method for replacing cache

A cache replacement and cache technology, which is applied in memory address/allocation/relocation, sustainable building, energy-saving computing, etc. It can solve the problems of inaccurate data reading and long time consumption, so as to reduce system power consumption and improve operation Performance, the effect of reducing invalid waiting time

Inactive Publication Date: 2011-06-22
SHANGHAI HUAHONG INTEGRATED CIRCUIT
View PDF6 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this way, there will be problems of long time consumption and inaccurate data reading in the process of data cache processing

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
  • Method for replacing cache
  • Method for replacing cache
  • Method for replacing cache

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] Below in conjunction with each accompanying drawing, above-mentioned content of the invention is described in detail:

[0018] figure 1 This is the case where the cache and auxiliary cache are independent memories. Assume that the cache is divided into four parts, namely A, B, C, and D; the auxiliary cache is also divided into four parts, namely A', B'C', and D'. There are the following three situations:

[0019] 1. When a new read request hits B in the cache, read data directly from B;

[0020] 2. When a new read request is missed in the cache, the corresponding position is C, and it is also missed in the auxiliary cache, and the corresponding position is C’:

[0021] (1) Read the data in C and write it to C';

[0022] (2) Issuing a reading application;

[0023] (3) write the data in C' back to the external memory (when the bus is free);

[0024] (4) Write the data read back from the external memory to C;

[0025] (5) Read the required data from C;

[0026] 3. T...

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 relates to a method for replacing a cache. The method comprising the following steps of: setting an auxiliary cache, wherein the auxiliary cache and the cache jointly participate in data storage; testing the hit of a read cache; if the miss of the read cache occurs, transmitting an external memory read request and temporarily storing data which are written back into the auxiliary cache; after the read request is transmitted, writing data in the auxiliary cache back to an external memory; and if the miss of the read cache and the hit of the auxiliary cache occur, only copying the data to the cache from the auxiliary cache without transmitting the external memory read request. Due to the adoption of a method for setting the auxiliary cache, invalid waiting time in the data reading process can be effectively reduced, and the operating performance of an application system can be improved, so that the power consumption of the system can be effectively reduced.

Description

technical field [0001] The invention relates to a data cache method, in particular to a cache replacement method in integrated circuit applications. Background technique [0002] Nowadays, multimedia technology has been widely used in daily life. In some multimedia applications, the requirements for image acceleration modules and CPU processing speed are getting higher and higher. However, the processing speed of these units is basically limited to reading and writing external memory. . [0003] In order to meet the requirements of integrated circuit applications, caches can be used. The current cache methods can be roughly divided into three types: one is a read-only cache; the other is a write-only cache, and the other is both readable and writable. cache. This section is about the last form of caching: readable and writable caches. When a read cache miss ("miss" for short) occurs, it is necessary to write the part that has been written ("dirty" for short) back to the e...

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/12
CPCY02B60/1225Y02D10/00
Inventor 王永流
Owner SHANGHAI HUAHONG INTEGRATED CIRCUIT
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