Check patentability & draft patents in minutes with Patsnap Eureka AI!

Memory copying method and device as well as SOC (system on chip)

A memory copy and storage device technology, applied in the computer field, can solve the problems of high system consumption, low memory copy efficiency, and multiple resources, etc.

Active Publication Date: 2014-03-19
LOONGSON TECH CORP
View PDF5 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the prior art, DMA (Direct Memory Access, direct memory access) technology is adopted, and the DMA module used in the memory access system is a module independent of the last level of cache and memory controller, as an external module, in During the memory copy process, the read command sent to the last level cache needs to consume more resources
In a

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
  • Memory copying method and device as well as SOC (system on chip)
  • Memory copying method and device as well as SOC (system on chip)
  • Memory copying method and device as well as SOC (system on chip)

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] figure 1 It is a flowchart of an embodiment of the memory copy method of the present invention, such as figure 1 As shown, the method of this embodiment may include:

[0030] S101. Receive a memory copy instruction, where the memory copy instruction includes a source address, a destination address, and a length of the data to be copied in the memory.

[0031] S102. Send a read request to the cache directory storage device corresponding to the source address, and the read request carries the source address, so that the cache directory storage device corresponding to the source address obtains corresponding data to be copied according to the source address.

[0032] S103. Receive a read response sent by the cache directory storage device, where the read response carries data to be copied.

[0033] In a possible implementation manner, the read response further includes a cache identification bit, so that the cache directory storage module corresponding to the source addr...

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 provides a memory copying method and device as well as an SOC (system on chip). The memory copying method comprises steps as follows: a memory copying instruction is received, wherein the memory copying instruction includes a source address and a destination address of to-be-copied data in the memory and the length of the to-be-copied data; a read request is sent to a cache directory storage device corresponding to the source address, wherein the read request carries the source address, so that the cache directory storage device corresponding to the source address can acquire corresponding to-be-copied data according to the source address; a read response sent by the cache directory storage device is received, wherein the read response carries the to-be-copied data; and a write-in request is sent to a cache directory storage device corresponding to the destination address, wherein the write-in request carries the to-be-copied data, so that the cache directory storage device can write the to-be-copied data into the memory corresponding to the destination address. According to the memory copying method and device as well as the SOC, the memory copying efficiency can be improved, and systematic consumption can be reduced.

Description

technical field [0001] The invention relates to computer technology, in particular to a memory copy method, device and on-chip system. Background technique [0002] Memory copy refers to copying a piece of continuous data in memory from one address to another. At present, the computing speed of processors is increasing rapidly, but the ability of processors to access memory (memory access capability) is increasing slowly. The memory copy process hardly requires any calculation, but requires a large number of memory access operations, occupying a large amount of memory access bandwidth, a precious memory access resource. [0003] Memory copying in the era of multi-core processors is more complicated. The same data may exist in both cache and memory. If the value of this data in the cache is not the same as the value in the memory, it is called cache inconsistency; if they are the same, it is called cache consistency. Inconsistencies in the cache may cause system errors, es...

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/0895G06F12/0897
Inventor 陈李维汪文祥王焕东
Owner LOONGSON TECH CORP
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More