Unlock instant, AI-driven research and patent intelligence for your innovation.

DMA data transmission method and system, DMA controller

A DMA controller and data transmission technology, applied in the direction of electrical digital data processing, instruments, etc., can solve the problems of wasting CPU internal memory storage space, high memory cost, etc., to save operation time, save storage space, and reduce costs. Effect

Inactive Publication Date: 2012-12-05
北京红旗胜利科技发展有限责任公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In practice, however, for the data written into the internal memory of the CPU, only a part of the read data is needed based on the current CPU's arithmetic unit, controller or other operating requirements, for example, only the read data is currently required Among the 256-bit data out, the 64th-160th data, and the data transmission method of the prior art will seriously waste the storage space of the CPU internal memory, because the cost of the CPU internal memory is relatively high and expensive, so this waste is unbearable

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
  • DMA data transmission method and system, DMA controller
  • DMA data transmission method and system, DMA controller
  • DMA data transmission method and system, DMA controller

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0056] The DMA method can enable the external memory to directly transfer batches of data to the CPU internal memory. Generally speaking, the process of transferring data from the external memory to the CPU internal memory by DMA can include the following steps:

[0057] Step S1, the external memory sends a DMA request signal to the CPU through a DMA controller (DMAC), and proposes a bus request to take over the bus control right;

[0058] Step S2, CPU receives this signal, after the end of the current bus cycle, it will respond to the DMA request signal according to the priority of the DMA signal and the order in which the DMA request is made;

[0059] Step S3, the CPU responds to the current DMA request, the system changes to th...

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 method for transmitting DMA data to a CPU internal memory from an external memory, wherein data transmission is controlled by a DMA controller. The method comprises the steps: reading out a preset length of continuous data from the external memory; extracting effective data from the continuous data read out according to effective data-configuration information; and writing the effective data into the CPU internal memory. The method has the advantage of saving memory space of the CPU internal memory so as to reduce the cost of CPU devices.

Description

technical field [0001] The invention relates to the field of DMA data transmission control, in particular to a method and system for DMA data transmission from an external memory to a CPU internal memory, and a DMA controller. Background technique [0002] The CPU is widely used. For example, the CPU is used as an important device in various SOCs (System On Chip, System On Chip). refer to figure 1 A schematic structural diagram of a CPU device as shown may specifically include: [0003] The data storage array 101 includes a plurality of array blocks for storing data; [0004] instruction memory 102, used to store instructions; [0005] A data storage manager 103, configured to manage access requests directed to the data storage array; [0006] an instruction storage manager 104, configured to manage access requests directed to the instruction storage; [0007] A controller 105, configured to control and coordinate the operation of various functional components; [0008...

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): G06F13/28
Inventor 石艳
Owner 北京红旗胜利科技发展有限责任公司