Method for implementing two-dimensional data delivery using DMA controller

A DMA controller and control register technology, which is applied in the direction of electrical digital data processing and instruments, can solve the problem that the DMA controller can only carry continuous address space data, etc.

Inactive Publication Date: 2007-10-24
ZTE CORP
View PDF0 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] The technical problem to be solved by the present invention is to provide a method for two-dimensional data transfer using a DMA co

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
  • Method for implementing two-dimensional data delivery using DMA controller
  • Method for implementing two-dimensional data delivery using DMA controller
  • Method for implementing two-dimensional data delivery using DMA controller

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment

[0046] The DMA controller needs to transfer data from two discontinuous memory spaces. Suppose the starting address of the first source memory space is 0x00000000, and the starting address of the target memory space is 0x10000000; the starting address of the second source memory space is 0x00010000, the starting address of the target memory space is 0x10010000; the depth of each memory space is 10, and the data width is 32 bits.

[0047] The starting address of the second source memory space is 0x00010000, the starting address of the target memory space is 0x10010000, and the value of the linked list item address register is 0. Store these values ​​in the memory according to the above order, the starting address is 0x20000000.

[0048] First assign a value to the register, write the source address 0x00000000 into the source address memory, write the target address 0x10000000 into the target address register, and write the linked list item address 0x20000000 into the linked lis...

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 discloses a method for using a DMA controller to realize two-dimension transmission, wherein the DMA controller is arranged with a linked list address register. And the method comprises that valuing each register, arranging source address, target address and linked list to relative registers, according to the address of linked list, storing the values of the object memory space relative to the source address register, the target address register, the linked list address register and the control register into a memory, and the DMA controller reads out the source address from the source address register, to obtain the data stored in the address, and transmit next data with increased addresses until all data in prior memory space are transmitted. The invention uses Scatter/Gather linked list to make DMA controller support two-dimension data transmission.

Description

technical field [0001] The invention relates to a DMA controller method of computer technology, in particular to a method for realizing two-dimensional data transfer by using a DMA controller. Background technique [0002] The basic framework of the DMA controller of the prior art is shown in Figure 1, and it is mainly made up of four modules: [0003] AHB slave device interface module: The main function of this module is to configure the DMA controller. The external program can set up the register group module of the DMA controller. [0004] AHB master device interface module: This module can complete sending address, data and control signals to the AHB bus, and realize reading data from the source address and putting it into the target address. [0005] Register bank module: This module includes source address registers, target address registers, control registers, and other related registers. The initial value of the source address register is the starting address of t...

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): G06F13/28
Inventor 汪坚林晓涛陈家锦
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products