Instruction caching method and device

A technology of instruction caching and instructions, which is applied in the direction of machine execution devices, program control design, instruments, etc., can solve the problems of increased CPU power consumption, achieve fast reading speed, reduce power consumption, and improve efficiency

Pending Publication Date: 2021-08-03
南京英锐创电子科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] Based on this, it is necessary to provide a new instruction cache method and device for the problem that the traditional ICACHE design needs to read multiple SRAMs at the same time, resulting in increased CPU power consumption.

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
  • Instruction caching method and device
  • Instruction caching method and device
  • Instruction caching method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] In order to facilitate the understanding of the present invention, the present invention will be described more fully below with reference to the associated drawings. Preferred embodiments of the invention are shown in the accompanying drawings. However, the present invention can be embodied in many different forms and is not limited to the embodiments described herein. On the contrary, these embodiments are provided to make the understanding of the disclosure of the present invention more thorough and comprehensive.

[0027] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field of the invention. The terms used herein in the description of the present invention are for the purpose of describing specific embodiments only, and are not intended to limit the present invention. As used herein, the term "and / or" includes any and all combinations of one or more of ...

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 an instruction caching method, which comprises the following steps: responding to an access request signal, and sending out a first reading request; obtaining label data and effective indication data according to the first reading request, wherein the label data and the effective indication data are stored in a register block; judging whether target instruction data exists or not according to the label data, the effective indication data and an access address signal; and if the target instruction data exists, returning the target instruction data to the CPU. According to the instruction caching method, the tag data and the effective indication data are obtained from the register block, the TAG_SRAM originally used for storing the tag data in the cache is replaced, and the problem of high power consumption when a CPU reads a plurality of SRAMs at the same time is solved. Meanwhile, the reading speed between the CPU and the register block is higher than the reading speed between the CPU and the SRAM, so that the instruction caching method can also improve the CPU instruction reading efficiency.

Description

technical field [0001] The invention relates to the field of chip circuit design, in particular to an instruction cache method and device. Background technique [0002] Due to the limitation of memory read speed, the mismatch between memory speed and CPU speed becomes a bottleneck that limits system performance. Based on the time and space limitations of the CPU access program, a small-capacity instruction cache (Instruction Cache, ICACHE) can be used to make up the difference between the CPU and the speed, thereby improving the overall performance of the system. Cache (cache) is one of the important foundations for the high performance of all modern computers. It is generally composed of SRAM, the speed is very fast, and it can perform high-speed data exchange with the CPU. Normally, the CPU first looks for the required data in the cache, and when there is no data required by the CPU in the cache, the CPU accesses it again. When the CPU finds the target data in the cache...

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): G06F9/30
CPCG06F9/30047G06F9/30138
Inventor 周亚莉王吉健徐红如
Owner 南京英锐创电子科技有限公司
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