Caching management unit and caching management method

A cache management and caching technology, which is applied in memory systems, electrical digital data processing, memory address/allocation/relocation, etc., can solve the problems that the cache management unit cannot be provided in advance, efficiency loss, and delay cannot be fully utilized.

Inactive Publication Date: 2009-05-13
SHANGHAI MAGIMA DIGITAL INFORMATION
View PDF0 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The cache management unit cannot provide the status of the cache in advance. Therefore, in the basic cache management unit, actions such as the producer's next generation of data and the producer's current write command cannot be carried out in parallel.
Even if there is extra space in the cache, the basic cache management...

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
  • Caching management unit and caching management method
  • Caching management unit and caching management method
  • Caching management unit and caching management method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0057] The invention adopts the hardware circuit to manage the cache resources, which can not only release processor resources, but also improve the accuracy of cache management, so that the cache state can be accurate to a clock cycle level. The circuit that manages the cache resources in the present invention is called a cache management unit. When the integrated circuit is implemented, it can design a separate circuit or directly reuse the original hardware resources in the integrated circuit.

[0058] Figure 4 A schematic diagram showing the circuit principle of the cache management unit according to an embodiment of the present invention. The cache management unit in the figure includes a state calculation circuit 171 , a write synchronization circuit 173 , a read synchronization circuit 175 , a write pre-synchronization circuit 178 , a read pre-synchronization circuit 179 and a state indication circuit 177 . The state calculation circuit is used to calculate the effect...

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 discloses a cache management unit and a cache management method. The cache management unit comprises a state calculation circuit for calculating effective data in a cache and obtaining a cache state according to calculation of effective data values; a state indication circuit for outputting the cache state to a producer and/or a consumer; a writing synchronization circuit for sending a writing synchronization signal to perform writing synchronization operation on the state calculation circuit when the producer really writings primary data in the cache at each time; a reading synchronization circuit for sending a reading synchronization signal to perform reading synchronization operation on the state calculation circuit when the customer receives the primary data in the cache at each time; a writing presynchronization circuit for sending a writing presynchronization signal to perform writing presynchronization operation on the state calculation circuit when the producer sends out a write command at each time; and a reading presynchronization circuit for sending a reading presynchronization signal to perform reading presynchronization operation on the state calculation circuit when the customer sends out a read command at each time. The cache management unit and the cache management method help enhance the overall cache efficiency.

Description

technical field [0001] The invention relates to cache management, in particular to a cache management unit and a corresponding cache management method realized by hardware circuits. Background technique [0002] In system design, data is often passed from producers to consumers. Generally, cache resources are needed between producers and consumers to cache data. Cache resources generally include storage resources such as SRAM, SDRAM, and FIFO. Cache resources need to be managed so that producers and consumers can correctly obtain the state of the cache when accessing the cache, thereby avoiding resource conflicts. [0003] Generally, each time a producer writes data to the cache can be divided into three serial processes: the producer generates data, the producer sends a write command, and the data is written into the cache. Every time a consumer reads data from the cache, it can be divided into two serial processes: the consumer sends a read command and the consumer rece...

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
IPC IPC(8): G06F12/08G06F12/0895
Inventor 周振亚邓良策戎卓琼
Owner SHANGHAI MAGIMA DIGITAL INFORMATION
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products