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

CN105474215BActive Publication Date: 2019-03-26罗三杰
3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2019-03-26

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

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.
Need to check novelty before this filing date? Find Prior Art

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...

Examples

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...