Method for implementing two-dimensional data delivery using DMA controller

A DMA controller and two-dimensional data technology, applied in the direction of electrical digital data processing, instruments, etc., can solve the problem that the DMA controller can only carry continuous address space data, etc.

Active Publication Date: 2009-07-08
SANECHIPS TECH CO LTD
View PDF7 Cites 0 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 controller, which overcomes the disadvantage that the one-dimensional data transfer DMA controller can only transfer continuous address space data

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

Embodiment Construction

[0023] Various preferred embodiments of the present invention will be described in more detail below in conjunction with the accompanying drawings.

[0024] The method for realizing two-dimensional data transfer using a DMA controller of the present invention adopts a two-dimensional jump mode, which can be applied in the case of time division multiplexing, and its jump mode is as follows: image 3 As shown, in addition to the original source address register, target address register and control register of the DMA controller, additional source base address registers, target base address registers, limit registers, and stride registers are added. The description of each register is as follows:

[0025] Source base address register: The initial value of this register is the starting address of the source memory space to be accessed. During the transfer process, the DMA controller will not change the value in this register. After the data transfer is completed, if it is set in t...

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 realizing two-dimensional data transfer by using a DMA controller, which adds and sets a source base address register, a target base address register, a limit register, and a stride register, which includes the following steps: the DMA controller starts from Take out the source address from the source address register, obtain the data stored in the address, and judge whether the memory space is the last memory space, if not, calculate the next source address to be accessed according to the value in the stride register, Store it in the source address register; if yes, jump to the next address of the first memory space, and store this address in the source address register. Because the method of the invention adopts the two-dimensional jump method, the DMA controller supports the two-dimensional data transfer process.

Description

technical field [0001] The invention relates to a DMA controller method in computer technology, in particular to a method for realizing two-dimensional data transfer by using a DMA controller. Background technique [0002] The basic architecture of the DMA controller (Direct Memory Access, hereinafter referred to as DMA) of the prior art is as follows: figure 1 As shown, it mainly consists of four modules: [0003] AHB slave device interface module: the main function of this module is to configure the DMA controller, and the external program can set 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 ...

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 SANECHIPS TECH CO LTD
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