Access device for direct memory access and method for implementing single channel bidirectional data interaction

A memory and channel technology, applied in memory systems, electrical digital data processing, instruments, etc., can solve problems such as inability to realize effective utilization of memory resources, limit DMA peripheral resources, increase chip cost, etc., and achieve simple design and memory saving Space, the effect of improving the utilization rate

Inactive Publication Date: 2006-08-30
HUAWEI TECH CO LTD
View PDF0 Cites 26 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Due to the limited channel resources of DMA, this limits the peripheral resources supported by DMA
If the peripherals supported by DMA are increased by increasing the number of DMA channels, more circuits will be introduced to increase the area of ​​the chip, thereby increasing the cost of the chip
[0017] 2) During the DMA t

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
  • Access device for direct memory access and method for implementing single channel bidirectional data interaction
  • Access device for direct memory access and method for implementing single channel bidirectional data interaction
  • Access device for direct memory access and method for implementing single channel bidirectional data interaction

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0050] The core idea of ​​this release is to improve the channel logic and the structure of each channel of the register group in the DMA, replace the FIFO control logic with the ping-pong operation structure, and realize the operation of different flow data through ping-pong switching, so that each channel of the DMA is independent It can simultaneously complete data reading and writing between peripherals and memory, forming a double DMA (DDMA, Duplicated DMA) structure.

[0051] In order to support the realization of the DDMA function, the DMA of the present invention has made two improvements to the existing DMA: first, a set of control registers is added corresponding to each channel; second, the implementation structure of the control logic of each DMA channel is changed and modified accordingly The structure of the channel control logic. Specifically: First, add four control registers for each channel to store the source address, destination address, control parameters and ...

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 direct memory access (DMA) device, comprising bus Slave interface, DMA request and response interface, bus Master interface, control logic and register set, channel logic and register set, and interrupt request logic, where the key point is that control logic of each DMA channel in the channel logic and register set comprises: channel control logic used to control state switching of first and second state selection units and control read-in/-out of data from source address to destination address; first and second data buffer areas for storing data read in DMA channels in different directions; first and second state selection units for reading data from the source address into the first or second data buffer area and sending data in the second or first data buffer area to the destination address. And the invention also discloses a method for realizing single channel bidirectional data exchange. And the device and method can make each DMA channel support bidirectional data exchange, raising resources utilization ratio and DMA operating efficiency and reducing cost of DMA chip.

Description

Technical field [0001] The present invention relates to direct memory access technology, in particular to a direct memory access device and a method for realizing single-channel two-way data interaction. Background technique [0002] Direct Memory Access (DMA, Direct Memory Access) is an important technology to improve the efficiency of data transmission in a microcomputer system. DMA technology can realize the movement and exchange of data between different areas of the storage space. This type of access generally does not require a CPU. The intervention of the DMA controller completes all the control. Specifically: In a system that supports DMA for data transmission, both DMA and CPU are connected to the system bus. Generally, the CPU controls the system bus. DMA is only a controlled module that works in a slave state, and DMA is used. The method of data transmission is to replace the CPU with the DMA to obtain the control of the system bus within a certain period of time, and ...

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/00G06F13/14G06F12/00
Inventor 马涛
Owner HUAWEI 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