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

Direct memory access system and method

A technology of memory access and memory, which is applied in the directions of instruments, climate sustainability, and electrical digital data processing, etc., and can solve problems such as cache inconsistency

Active Publication Date: 2021-01-22
HYGON INFORMATION TECH CO LTD
View PDF6 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At this time, if CPU core 1 needs to access the value of x again, but there is a value of x in the cache at this time, the value obtained by CPU core 1 is the old value of 0, and the cache is inconsistent.

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
  • Direct memory access system and method
  • Direct memory access system and method
  • Direct memory access system and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] In the existing cache coherence protocol MESI for multiple CPU cores and multi-level caches, the initial scenario: at the beginning, there is no data in all CPUs, and one of the CPUs has a read operation, and RR (data Read from the memory to the cache of the current CPU), the state is E (exclusive, only the current CPU has data, and it is consistent with the memory). At this time, if other CPUs also read the memory data, the state is changed to S (shared, the same data is shared between multiple CPUs, and it is consistent with the memory). If data modification occurs in one of the CPUs, then the data in the CPU The state is changed to M (has the latest data, which is inconsistent with the memory, but the data in the current CPU shall prevail), and other CPUs that own the data are notified that the data is invalid (or invalid), and the state of the cache line in other CPUs is changed to I (Invalid, invalid, and the data in the memory is considered inconsistent, the data ...

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 direct memory access (DMA) system and method are provided, the system comprising: a DMA memory configured to cache data; a memory configured to store data; a DMA storage indexer configured to determine whether a write address is an address frequently accessed by a central processing unit (CPU) or not in response to a write command of DMA equipment for writing data into the write address; if it is determined that the write address is an address frequently accessed by a CPU, caching data to be written in the DMA memory; and if it is determined that the write address is not the address frequently accessed by the CPU, sending data to be written to the memory for storage.

Description

technical field [0001] The present application relates to the field of integrated circuits, and more particularly, to a direct memory access (Direct Memory Access, DMA) system and a direct memory access DMA method. Background technique [0002] The early CPU storage hierarchy is three layers, namely CPU registers, DRAM main memory (or memory) and disk storage. Because the access time overhead between the register and the main memory is very different, the designer added an L1 cache (2 to 4 clock cycles) between the register (one clock cycle) and the main memory, for example, when the CPU needs to read from the main memory When the data with address A is fetched from the memory, the address A is first sent to the cache. When the CPU requests to access the data at address A, if the data with address A is stored in the cache (that is, a cache hit occurs), it is directly read from the cache. The data is taken out and passed to the CPU. In this way, the data frequently accessed...

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 Applications(China)
IPC IPC(8): G06F13/28
CPCG06F13/28Y02D10/00
Inventor 姜莹王海洋
Owner HYGON INFORMATION TECH CO LTD
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