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

Mapping search method and device for cache memory and main memory

A modulator and comparator technology, applied in the computer field, can solve problems such as high utilization of storage space, increased delay, and complex logic circuit design

Active Publication Date: 2019-03-26
罗三杰
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Among them, the fully associative mapping allows each block in the main memory to be mapped to any block in the cache, such as figure 2 As shown, the main memory and the cache are divided into data blocks of the same size. A data block of the main memory can be loaded into any space in the cache. This mapping method can replace any old word from the full cache. block, because any data block in the main memory can be loaded into any space in the cache, so the storage space utilization rate of the cache is high. When the CPU needs to access data, the Cache hit rate is relatively high. However, when accessing data blocks At this time, the cache must compare the main memory word block tag of the data block with all the tags in the cache each time before judging whether the required data block is in the cache. Using this address mapping method, the number of bits and bits that need to be compared The number of times is large, which leads to the disadvantages of complex logic circuit design and increased delay

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
  • Mapping search method and device for cache memory and main memory
  • Mapping search method and device for cache memory and main memory
  • Mapping search method and device for cache memory and main memory

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0038] image 3 It is a structural schematic diagram of an embodiment 1 of the basic structure of the optical comparator of the present invention, as image 3 As shown, the structure of the first basic structure of the optical comparator in this embodiment may include: a first modulation microring, a first switching microring and a light intensit...

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

A method and device for mapping lookup between a cache and a main memory; an optical comparator realizes a logical operation relationship xor by utilizing the above relation of a micro ring size in an optical field instead of negating a control signal A and an input signal B in an electric field; because of the parallelism of light, the optical comparator is capable of parallelism calculation and has small delay, and can be used to search the cache for the position of the data required by the CPU; and compared with a logic circuit implementing fully-associative mapping in the prior art, the logic circuit of the fully-associative mapping implemented by the optical comparator has a simpler structure, and the comparison delay does not increase with the increase of the number of compared bits.

Description

technical field [0001] The embodiment of the present invention relates to computer technology, in particular to a method and device for mapping and searching a cache memory and a main memory. Background technique [0002] A computer storage system refers to a computer system consisting of various storage devices for storing programs and data, control components, and equipment (hardware) and algorithms (software) for managing information scheduling. [0003] A storage system in an existing computer includes a central processing unit (Central Processing Unit, referred to as CPU), a high-speed cache memory (Cache, referred to as a cache), a main memory (Main memory, referred to as a main memory) and an auxiliary memory (auxiliary storage). structured as figure 1 As shown, specifically, information can be directly exchanged between the CPU and the main memory, but since the speed of the main memory cannot meet the access requirements of the CPU, a cache is added between the two...

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 Patents(China)
IPC IPC(8): G06F17/40G02F1/377
CPCG02F1/377G06F17/40
Inventor 宋亮曹彤彤刘少卿
Owner 罗三杰
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