CN101303677B - Method, system and controller for direct memory access control - Google Patents

Method, system and controller for direct memory access control Download PDF

Info

Publication number
CN101303677B
CN101303677B CN2008100669354A CN200810066935A CN101303677B CN 101303677 B CN101303677 B CN 101303677B CN 2008100669354 A CN2008100669354 A CN 2008100669354A CN 200810066935 A CN200810066935 A CN 200810066935A CN 101303677 B CN101303677 B CN 101303677B
Authority
CN
China
Prior art keywords
direct memory
memory access
interrupt
module
access controller
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2008100669354A
Other languages
Chinese (zh)
Other versions
CN101303677A (en
Inventor
董杰明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2008100669354A priority Critical patent/CN101303677B/en
Publication of CN101303677A publication Critical patent/CN101303677A/en
Application granted granted Critical
Publication of CN101303677B publication Critical patent/CN101303677B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Bus Control (AREA)

Abstract

本发明公开了一种直接存储器访问控制方法、系统及控制器,所述方法包括:直接存储器访问控制器接收逻辑模块发送的中断信号;所述直接存储器访问控制器根据所述中断信号配置所述直接存储器访问控制器,并清除相应逻辑模块的中断源;所述直接存储器访问控制器进行直接存储器访问数据传输处理。本发明通过简化DMA控制流程,采用DMAC和逻辑模块进行DMA控制,节省了CPU的资源,缩短了DMA控制流程的时间,提高了处理速度。

Figure 200810066935

The invention discloses a direct memory access control method, system and controller. The method includes: a direct memory access controller receives an interrupt signal sent by a logic module; the direct memory access controller configures the The direct memory access controller clears the interrupt source of the corresponding logic module; the direct memory access controller performs direct memory access data transmission processing. The present invention simplifies the DMA control flow and adopts DMAC and logic modules to carry out DMA control, thereby saving CPU resources, shortening the time of DMA control flow, and improving the processing speed.

Figure 200810066935

Description

一种直接存储器访问控制方法、系统及控制器 Method, system and controller for direct memory access control

技术领域technical field

本发明涉及通信技术领域,具体地说,涉及一种直接存储器访问控制方法、系统及控制器。The present invention relates to the technical field of communication, in particular to a direct memory access control method, system and controller.

背景技术Background technique

现有的大规模SOC(System On Chip,片上系统)芯片架构中,一般DMA(Direct Memory Access,直接存储器访问)的控制方法如下:逻辑模块发送一个中断请求给中断控制器,中断控制器在经过中断仲裁处理后,发送一个中断信号给CPU,CPU接收该中断信号后,清除该中断,然后配置DMAC(DirectMemory Access Controller,直接存储器访问控制器),在配置完成后,启动DMAC,DMAC进行数据传输。In the existing large-scale SOC (System On Chip, system on chip) chip architecture, the general DMA (Direct Memory Access, direct memory access) control method is as follows: the logic module sends an interrupt request to the interrupt controller, and the interrupt controller passes through After the interrupt arbitration process, send an interrupt signal to the CPU. After the CPU receives the interrupt signal, clear the interrupt, and then configure the DMAC (DirectMemory Access Controller, direct memory access controller). After the configuration is completed, start the DMAC, and the DMAC performs data transmission. .

可见,现有的DMA控制方法中,CPU、DMAC、中断控制器和逻辑模块共同参与完成了DMA控制。发明人在实现本发明的过程中发现:现有的方法中,需要消耗CPU的资源来进行中断处理,导致处理流程时间过长。It can be seen that in the existing DMA control method, the CPU, the DMAC, the interrupt controller and the logic module jointly complete the DMA control. The inventor found in the process of implementing the present invention that: in the existing method, CPU resources need to be consumed for interrupt processing, resulting in too long processing time.

发明内容Contents of the invention

本发明实施例所要解决的技术问题在于提供一种直接存储器访问控制方法、系统及控制器,以解决现有DMA控制方法处理流程时间过长的缺陷。The technical problem to be solved by the embodiments of the present invention is to provide a direct memory access control method, system and controller to solve the defect that the processing time of the existing DMA control method is too long.

本发明实施例通过以下方案实现:Embodiments of the present invention are realized through the following schemes:

一种直接存储器访问控制方法,包括:直接存储器访问控制器接收逻辑模块发送的中断信号;所述直接存储器访问控制器根据所述中断信号中的中断类型,获取所述中断类型所对应的直接存储器访问数据传输所需要的参数,并根据所述参数配置所述直接存储器访问控制器,并清除相应逻辑模块的中断源;所述直接存储器访问控制器进行直接存储器访问数据传输处理。A direct memory access control method, comprising: a direct memory access controller receiving an interrupt signal sent by a logic module; the direct memory access controller acquiring a direct memory access corresponding to the interrupt type according to an interrupt type in the interrupt signal Accessing parameters required for data transmission, configuring the direct memory access controller according to the parameters, and clearing interrupt sources of corresponding logic modules; the direct memory access controller performs direct memory access data transmission processing.

一种直接存储器访问控制方法,其特征在于,包括:直接存储器访问控制器接收逻辑模块发送的中断信号;所述直接存储器访问控制器根据所述中断信号中的中断类型,获取所述中断类型所对应的直接存储器访问控制器进行数据传输处理所需要的参数的规律信息来配置所述直接存储器访问控制器,并清除相应逻辑模块的中断源;所述直接存储器访问控制器进行直接存储器访问数据传输处理。A direct memory access control method, characterized in that it comprises: a direct memory access controller receiving an interrupt signal sent by a logic module; The corresponding direct memory access controller performs regular information on the parameters required for data transmission processing to configure the direct memory access controller, and clear the interrupt source of the corresponding logic module; the direct memory access controller performs direct memory access data transmission deal with.

一种直接存储器访问控制器,包括:逻辑中断处理单元,用于接收中断信号,根据所述中断信号配置所述直接存储器访问控制器,并清除相应逻辑模块的中断源;数据传输处理单元,用于通过直接存储器访问外设请求和应答接口,AHB主接口进行外设和存储器之间的数据传输;其中,所述逻辑中断处理单元包括:A direct memory access controller, comprising: a logic interrupt processing unit, configured to receive an interrupt signal, configure the direct memory access controller according to the interrupt signal, and clear the interrupt source of the corresponding logic module; a data transmission processing unit, configured for Based on the direct memory access peripheral device request and response interface, the AHB master interface performs data transmission between the peripheral device and the memory; wherein, the logic interrupt processing unit includes:

第一接收模块,用于接收所述中断信号,并根据所述中断信号中的中断类型,获取所述中断类型所对应的直接存储器访问数据传输所需要的参数;The first receiving module is configured to receive the interrupt signal, and obtain parameters required for direct memory access data transmission corresponding to the interrupt type according to the interrupt type in the interrupt signal;

第一配置模块,用于根据所述参数配置所述直接存储器访问控制器。A first configuration module, configured to configure the DMA controller according to the parameters.

一种直接存储器访问控制器,其特征在于,包括:A direct memory access controller, characterized in that it comprises:

逻辑中断处理单元,用于接收中断信号,根据所述中断信号配置所述直接存储器访问控制器,并清除相应逻辑模块的中断源;数据传输处理单元,用于通过直接存储器访问外设请求和应答接口、AHB主接口、DMA控制模块和DMA通道模块,进行外设和存储器之间的数据传输;其中,所述逻辑中断处理单元包括:A logic interrupt processing unit, configured to receive an interrupt signal, configure the direct memory access controller according to the interrupt signal, and clear the interrupt source of the corresponding logic module; a data transmission processing unit, used to request and respond through the direct memory access peripheral Interface, AHB main interface, DMA control module and DMA channel module, carry out the data transmission between peripheral hardware and memory; Wherein, described logic interrupt processing unit comprises:

第二接收模块,用于接收所述中断信号,并根据所述中断信号获取直接存储器访问控制器进行数据传输处理所需要的参数的规律信息;The second receiving module is configured to receive the interrupt signal, and obtain regularity information of parameters required by the direct memory access controller for data transmission processing according to the interrupt signal;

第二配置模块,用于根据所述规律信息配置所述直接存储器访问控制器。A second configuration module, configured to configure the DMA controller according to the rule information.

一种直接存储器访问控制系统,包括:所述逻辑模块,用于发送中断信号;所述直接存储器访问控制器,用于接收所述中断信号,根据所述中断信号中的中断类型,获取所述中断类型所对应的直接存储器访问数据传输所需要的参数,并根据所述参数配置所述直接存储器访问控制器,并清除相应逻辑模块的中断源,进行直接存储器访问数据传输处理。A direct memory access control system, comprising: the logic module, configured to send an interrupt signal; the direct memory access controller, configured to receive the interrupt signal, and obtain the interrupt type according to the interrupt type in the interrupt signal Parameters required for direct memory access data transmission corresponding to the interrupt type, configuring the direct memory access controller according to the parameters, clearing the interrupt source of the corresponding logic module, and performing direct memory access data transmission processing.

本发明实施例通过简化DMA控制流程,采用DMAC和逻辑模块进行DMA控制,节省了CPU的资源,缩短了DMA控制流程的时间,提高了处理速度。The embodiment of the present invention simplifies the DMA control process and adopts DMAC and logic modules to perform DMA control, thereby saving CPU resources, shortening the time of DMA control process, and increasing the processing speed.

附图说明Description of drawings

图1为本发明方法实施例的流程示意图;Fig. 1 is the schematic flow sheet of the method embodiment of the present invention;

图2为本发明实施例中DMAC的结构示意图。FIG. 2 is a schematic structural diagram of a DMAC in an embodiment of the present invention.

具体实施方式Detailed ways

以下结合附图详细说明本发明实施例的技术方案。The technical solutions of the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

如图1所示,本发明实施例提供的直接存储器访问控制方法,包括:As shown in FIG. 1, the direct memory access control method provided by the embodiment of the present invention includes:

步骤100、逻辑模块发送中断信号给DMAC。Step 100, the logic module sends an interrupt signal to the DMAC.

步骤102、DMAC接收中断信号,根据该中断信号配置该DMAC,并清除相应逻辑模块的中断源。Step 102, the DMAC receives the interrupt signal, configures the DMAC according to the interrupt signal, and clears the interrupt source of the corresponding logic module.

步骤104、DMAC进行DMA数据传输处理。Step 104, the DMAC performs DMA data transmission processing.

其中,步骤100之前还包括步骤:设置DMAC的配置信息。该配置信息可以包括:至少一种中断类型,以及该中断类型对应的启动一次DMA数据传输所需要的参数。其中启动一次DMA数据传输所需要的参数可以包括:起始地址、目的地址、通道配置寄存器、通道控制寄存器和中断源清零信息等。每一种中断类型对应一个起始地址、目的地址、通道配置参数、通道控制参数和中断源清零信息。例如,有5种中断类型,就有5个起始地址、目的地址、通道配置寄存器、通道控制寄存器和中断源清零信息,每一种中断类型分别对应一个起始地址、目的地址、通道配置参数、通道控制参数和中断源清零信息。或者,该配置信息中包括DMAC进行数据传输处理所需要的参数的规律信息,使DMAC可以根据该规律信息配置DMAC。Wherein, before the step 100, a step is also included: setting the configuration information of the DMAC. The configuration information may include: at least one interrupt type, and parameters corresponding to the interrupt type required to start a DMA data transfer. The parameters required to start a DMA data transfer may include: start address, destination address, channel configuration register, channel control register, and interrupt source clearing information. Each interrupt type corresponds to a start address, destination address, channel configuration parameters, channel control parameters and interrupt source clearing information. For example, if there are 5 types of interrupts, there are 5 start addresses, destination addresses, channel configuration registers, channel control registers, and interrupt source clearing information. Each interrupt type corresponds to a start address, destination address, and channel configuration. Parameters, channel control parameters and interrupt source clearing information. Alternatively, the configuration information includes regularity information of parameters required by the DMAC for data transmission processing, so that the DMAC can configure the DMAC according to the regularity information.

中断信号中包括中断类型,DMAC接收中断信号后,根据中断信号中的中断类型,获取该中断类型所对应的DMA数据传输所需要的参数,并根据所述参数配置DMAC;或者DMAC可以根据DMAC进行数据传输处理所需要的参数的规律信息来配置DMAC。当然,中断信号中还可以包括其他信息,例如中断数量等。DMAC可以通过其AHB从接口(AHB slave)(AdvancedHigh-performance Bus slave,先进的高性能总线从接口)获取所述参数。The interrupt signal includes the interrupt type. After the DMAC receives the interrupt signal, according to the interrupt type in the interrupt signal, the parameters required for the DMA data transmission corresponding to the interrupt type are obtained, and the DMAC is configured according to the parameters; or the DMAC can be configured according to the DMAC. Regular information of the parameters required for data transfer processing to configure the DMAC. Of course, the interrupt signal may also include other information, such as the number of interrupts. The DMAC can obtain the parameters through its AHB slave interface (AHB slave) (Advanced High-performance Bus slave, advanced high-performance bus slave interface).

其中,根据中断类型所对应的DMA数据传输所需要的参数配置DMAC,可以采用以下方式实现:将所述中断类型所对应的DMA数据传输所需要的参数写入DMA控制模块和DMA通道模块,使能所述DMA控制模块和DMA通道模块。Wherein, according to the parameter configuration DMAC required for the DMA data transmission corresponding to the interrupt type, it can be realized in the following manner: the parameters required for the DMA data transmission corresponding to the interrupt type are written into the DMA control module and the DMA channel module, so that capable of the DMA control module and the DMA channel module.

清除逻辑模块相应的中断源可以采用以下方式实现:根据中断源清零信息向AHB主接口(AHB master)发出读/写请求,清除相应逻辑模块的中断源。Clearing the corresponding interrupt source of the logic module can be implemented in the following way: send a read/write request to the AHB master interface (AHB master) according to the interrupt source clearing information, and clear the interrupt source of the corresponding logic module.

DMAC进行DMA数据传输处理可以为:DMAC通过DMA外设请求和应答接口(DMA req and rsp interface)、AHB master、DMA控制模块和DMA通道模块,进行外设和存储器(memory)之间的数据传输。DMA外设请求和应答接口221接收外设的数据传输请求,AHB master 222获得AHB总线的控制权,DMA控制模块223控制DMA通道模块224进行外设和存储器之间的数据传输。其中,DMA通道模块224可以包括多个DMA数据传输通道,当接收数据传输请求的通道在所有即将开始DMA传输的通道中优先级最高时,该通道开始数据传输。DMAC data transmission processing can be: DMAC through DMA peripheral request and response interface (DMA req and rsp interface), AHB master, DMA control module and DMA channel module, data transmission between peripherals and memory (memory) . The DMA peripheral request and response interface 221 receives the data transmission request of the peripheral, the AHB master 222 obtains the control right of the AHB bus, and the DMA control module 223 controls the DMA channel module 224 to perform data transmission between the peripheral and the memory. Wherein, the DMA channel module 224 may include multiple DMA data transmission channels, and when the channel receiving the data transmission request has the highest priority among all the channels that are about to start DMA transmission, the channel starts data transmission.

如图2所示,本发明实施例提供的直接存储器访问控制系统包括:逻辑模块1和DMAC 2;As shown in Figure 2, the direct memory access control system provided by the embodiment of the present invention includes: a logic module 1 and a DMAC 2;

逻辑模块1,用于发送中断信号给DMAC 2。Logic module 1, used to send interrupt signal to DMAC 2.

DMAC 2,用于接收中断信号,根据该中断信号配置该DMAC,并清除相应逻辑模块1的中断源,进行DMA数据传输处理。DMAC 2 is used to receive an interrupt signal, configure the DMAC according to the interrupt signal, and clear the interrupt source of the corresponding logic module 1 to perform DMA data transmission processing.

其中,DMAC 2可以包括:逻辑中断处理单元21和数据传输处理单元22;逻辑中断处理单元21,用于接收中断信号,根据该中断信号配置该DMAC,并清除相应逻辑模块1的中断源;数据传输处理单元22,用于通过DMA外设请求和应答接口221、AHB master 222、DMA控制模块223和DMA通道模块224,进行外设和存储器之间的数据传输。DMA外设请求和应答接口221接收外设的数据传输请求,AHB master 222获得AHB总线的控制权,DMA控制模块223控制DMA通道模块224进行外设和存储器之间的数据传输。其中,DMA通道模块224可以包括多个DMA数据传输通道,当接收数据传输请求的通道在所有即将开始DMA传输的通道中优先级最高时,该通道开始数据传输。Wherein, DMAC 2 can comprise: logical interrupt processing unit 21 and data transmission processing unit 22; Logical interrupt processing unit 21 is used for receiving interrupt signal, configures this DMAC according to this interrupt signal, and clears the interrupt source of corresponding logic module 1; Data The transmission processing unit 22 is used for performing data transmission between the peripheral hardware and the memory through the DMA peripheral hardware request and response interface 221, the AHB master 222, the DMA control module 223 and the DMA channel module 224. The DMA peripheral request and response interface 221 receives the data transmission request of the peripheral, the AHB master 222 obtains the control right of the AHB bus, and the DMA control module 223 controls the DMA channel module 224 to perform data transmission between the peripheral and the memory. Wherein, the DMA channel module 224 may include multiple DMA data transmission channels, and when the channel receiving the data transmission request has the highest priority among all the channels that are about to start DMA transmission, the channel starts data transmission.

所述逻辑中断处理单元21可以包括:第一接收模块211,用于接收中断信号,并根据中断信号中的中断类型,获取该中断类型所对应的DMA数据传输所需要的参数;第一配置模块212,用于根据所述参数配置DMAC 2。DMA数据传输所需要的参数可以包括:起始地址、目的地址、通道配置寄存器、通道控制寄存器和中断源清零信息等。每一种中断类型对应一个起始地址、目的地址、通道配置参数、通道控制参数和中断源清零信息。The logical interrupt processing unit 21 may include: a first receiving module 211, configured to receive an interrupt signal, and obtain parameters required for DMA data transmission corresponding to the interrupt type according to the interrupt type in the interrupt signal; a first configuration module 212, configured to configure the DMAC 2 according to the parameters. The parameters required for DMA data transmission may include: start address, destination address, channel configuration register, channel control register, and interrupt source clearing information. Each interrupt type corresponds to a start address, destination address, channel configuration parameters, channel control parameters and interrupt source clearing information.

或者,逻辑中断处理单元可以包括:第二接收模块,用于接收中断信号,并根据中断信号获取DMAC进行数据传输处理所需要的参数的规律信息;第二配置模块,用于根据所述规律信息配置DMAC。Or, the logical interrupt processing unit may include: a second receiving module, configured to receive an interrupt signal, and obtain the regular information of the parameters required by the DMAC for data transmission processing according to the interrupt signal; a second configuration module, configured to Configure DMACs.

所述DMAC进行数据传输处理所需要的参数及该参数对应的中断类型等配置信息,或者DMAC进行数据传输处理所需要的参数的规律信息,可以预先设置。其中,配置信息中还可以包括中断数量等其他信息。DMAC可以通过其AHB slave 23获取所述参数或参数的规律信息。Configuration information such as parameters required by the DMAC for data transmission processing and interrupt types corresponding to the parameters, or regular information of parameters required by the DMAC for data transmission processing may be preset. Wherein, the configuration information may also include other information such as the number of interrupts. The DMAC can obtain the parameter or regularity information of the parameter through its AHB slave 23.

所述第一配置模块212可以为第一配置子模块,用于将所述中断类型所对应的DMA数据传输所需要的参数写入DMA控制模块223和DMA通道模块224,使能所述DMA控制模块223和DMA通道模块224。The first configuration module 212 can be a first configuration submodule, which is used to write the parameters required for the DMA data transmission corresponding to the interrupt type into the DMA control module 223 and the DMA channel module 224, enabling the DMA control module 223 and DMA channel module 224.

所述逻辑中断处理单元21还包括中断清除模块213,用于根据中断源清零信息向AHB master 222发出读/写请求,清除相应逻辑模块的中断源。The logical interrupt processing unit 21 also includes an interrupt clearing module 213, which is used to send a read/write request to the AHB master 222 according to the interrupt source clearing information, and clear the interrupt source of the corresponding logic module.

本发明实施例通过简化DMA控制流程,采用DMAC和逻辑模块进行DMA控制,节省了CPU的资源,缩短了DMA控制流程的时间,提高了处理速度。The embodiment of the present invention simplifies the DMA control process and adopts DMAC and logic modules to perform DMA control, thereby saving CPU resources, shortening the time of DMA control process, and increasing the processing speed.

以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。The above is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed in the present invention can easily think of changes or Replacement should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.

Claims (15)

1. a direct memory access control method is characterized in that, comprising:
The look-at-me that direct memory access controller receive logic module sends;
Described direct memory access controller is according to the interrupt type in the described look-at-me, obtain the pairing direct memory visit data transmission of described interrupt type parameters needed, and according to the described direct memory access controller of described parameter configuration, and the interrupt source of removing respective logic module;
Described direct memory access controller carries out the transmission process of direct memory visit data.
2. method according to claim 1 is characterized in that, also comprises:
The configuration information of direct memory access controller is set, and described configuration information comprises: at least a interrupt type, and a direct memory visit data transmission of the startup of described interrupt type correspondence parameters needed.
3. method according to claim 2 is characterized in that, described parameter comprises: start address, destination address, channel arrangement register, channel control register and interrupt source zero clearing information.
4. method according to claim 1 is characterized in that, described step according to parameter configuration direct memory access controller comprises:
The pairing direct memory visit data transmission of described interrupt type parameters needed is write direct memory access control module and direct memory access path module, enable described DMA control module and described DMA channel module.
5. method according to claim 3 is characterized in that, the step of the interrupt source of described removing respective logic module comprises:
Send read according to described interrupt source zero clearing information to advanced person's high performance bus AHB main interface, remove the interrupt source of respective logic module.
6. method according to claim 1 is characterized in that, the step that described direct memory access controller carries out the transmission process of direct memory visit data comprises:
The direct memory access controller is by direct memory visit peripheral hardware request and reply interface, AHB main interface, DMA control module and DMA channel module, carries out the data transmission between peripheral hardware and the storer.
7. a direct memory access control method is characterized in that, comprising:
The look-at-me that direct memory access controller receive logic module sends;
Described direct memory access controller is according to the interrupt type in the described look-at-me, obtain the rule information that the pairing direct memory access controller of described interrupt type carries out the data transmission and processing parameters needed and dispose described direct memory access controller, and remove the interrupt source of respective logic module;
Described direct memory access controller carries out the transmission process of direct memory visit data.
8. method according to claim 7 is characterized in that, also comprises:
The configuration information of direct memory access controller is set, and described configuration information comprises: DMAC carries out the rule information of data transmission and processing parameters needed.
9. a direct memory access controller is characterized in that, comprising:
Logic Interrupt Process unit is used to receive look-at-me, disposes described direct memory access controller according to described look-at-me, and removes the interrupt source of respective logic module;
The data transmission and processing unit is used for visiting the peripheral hardware request and replying interface, AHB main interface, DMA control module and DMA channel module by direct memory, carries out the data transmission between peripheral hardware and the storer; Wherein, described logic Interrupt Process unit comprises:
First receiver module is used to receive described look-at-me, and according to the interrupt type in the described look-at-me, obtains the pairing direct memory visit data transmission of described interrupt type parameters needed;
First configuration module is used for according to the described direct memory access controller of described parameter configuration.
10. controller according to claim 9 is characterized in that, described parameter comprises: start address, destination address, channel arrangement register, channel control register and interrupt source zero clearing information.
11. controller according to claim 9, it is characterized in that, described first configuration module is the first configuration submodule, be used for the pairing direct memory visit data transmission of described interrupt type parameters needed is write direct memory access control module and direct memory access path module, enable described DMA control module and described DMA channel module.
12. controller according to claim 9 is characterized in that, described logic Interrupt Process unit also comprises the interrupt clear module, is used for sending read according to described interrupt source zero clearing information to the AHB main interface, removes the interrupt source of respective logic module.
13. a direct memory access controller is characterized in that, comprising:
Logic Interrupt Process unit is used to receive look-at-me, disposes described direct memory access controller according to described look-at-me, and removes the interrupt source of respective logic module;
The data transmission and processing unit is used for visiting the peripheral hardware request and replying interface, AHB main interface, DMA control module and DMA channel module by direct memory, carries out the data transmission between peripheral hardware and the storer; Wherein, described logic Interrupt Process unit comprises:
Second receiver module is used to receive described look-at-me, and obtains the rule information that the direct memory access controller carries out the data transmission and processing parameters needed according to described look-at-me;
Second configuration module is used for according to the described direct memory access controller of described rule information configuration.
14. controller according to claim 13 is characterized in that, described logic Interrupt Process unit also comprises the interrupt clear module, is used for sending read according to described interrupt source zero clearing information to the AHB main interface, removes the interrupt source of respective logic module.
15. a direct memory access control system is characterized in that, comprises direct memory access controller and logic module;
Described logic module is used to send look-at-me;
Described direct memory access controller, be used to receive described look-at-me, according to the interrupt type in the described look-at-me, obtain the pairing direct memory visit data transmission of described interrupt type parameters needed, and according to the described direct memory access controller of described parameter configuration, and the interrupt source of removing respective logic module, carry out the transmission process of direct memory visit data.
CN2008100669354A 2008-05-04 2008-05-04 Method, system and controller for direct memory access control Expired - Fee Related CN101303677B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008100669354A CN101303677B (en) 2008-05-04 2008-05-04 Method, system and controller for direct memory access control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100669354A CN101303677B (en) 2008-05-04 2008-05-04 Method, system and controller for direct memory access control

Publications (2)

Publication Number Publication Date
CN101303677A CN101303677A (en) 2008-11-12
CN101303677B true CN101303677B (en) 2010-06-02

Family

ID=40113588

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100669354A Expired - Fee Related CN101303677B (en) 2008-05-04 2008-05-04 Method, system and controller for direct memory access control

Country Status (1)

Country Link
CN (1) CN101303677B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106484642A (en) * 2016-10-09 2017-03-08 上海新储集成电路有限公司 A kind of direct memory access controller with operational capability
CN106656817A (en) * 2016-12-29 2017-05-10 盛科网络(苏州)有限公司 Method for reducing lookup conflicts caused by read-write of TCAM

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI465905B (en) 2010-09-22 2014-12-21 Toshiba Kk Memory system having high data transfer efficiency and host controller
CN102521178A (en) * 2011-11-22 2012-06-27 北京遥测技术研究所 High-reliability embedded man-machine interface and realizing method thereof
CN103226529B (en) * 2012-01-31 2017-03-15 上海华虹集成电路有限责任公司 Dual-ported memory circuit based on Nandflash
CN106681948A (en) * 2016-12-26 2017-05-17 深圳先进技术研究院 Logic control method and device of programmable logic device
CN109117396A (en) * 2018-08-30 2019-01-01 山东经安纬固消防科技有限公司 memory access method and system
CN115145848A (en) * 2022-06-24 2022-10-04 广西电网有限责任公司电力科学研究院 A Multi-Channel DMA Controller Architecture Based on AHB Bus
CN115114201B (en) * 2022-06-27 2024-07-02 山东云海国创云计算装备产业创新中心有限公司 FSI controller and BMC chip comprising same

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1804823A (en) * 2005-12-22 2006-07-19 北京中星微电子有限公司 Direct memory access controller
CN1828564A (en) * 2005-03-02 2006-09-06 华为技术有限公司 Method for direct memory accessing controller and transmitting data
CN1831799A (en) * 2005-03-07 2006-09-13 华为技术有限公司 Direct memory access controller and method for data transfer using it

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1828564A (en) * 2005-03-02 2006-09-06 华为技术有限公司 Method for direct memory accessing controller and transmitting data
CN1831799A (en) * 2005-03-07 2006-09-13 华为技术有限公司 Direct memory access controller and method for data transfer using it
CN1804823A (en) * 2005-12-22 2006-07-19 北京中星微电子有限公司 Direct memory access controller

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JP特开2000-181736A 2000.06.30

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106484642A (en) * 2016-10-09 2017-03-08 上海新储集成电路有限公司 A kind of direct memory access controller with operational capability
CN106656817A (en) * 2016-12-29 2017-05-10 盛科网络(苏州)有限公司 Method for reducing lookup conflicts caused by read-write of TCAM
CN106656817B (en) * 2016-12-29 2019-12-03 盛科网络(苏州)有限公司 TCAM is reduced to cause to search the method to conflict by reading and writing

Also Published As

Publication number Publication date
CN101303677A (en) 2008-11-12

Similar Documents

Publication Publication Date Title
CN101303677B (en) Method, system and controller for direct memory access control
CN108228492B (en) Multi-channel DDR interleaving control method and device
CN106951379B (en) A high-performance DDR controller and data transmission method based on AXI protocol
US10409744B1 (en) Low-latency wake-up in a peripheral device
CN106933760A (en) A kind of dma controller and data uploading method based on AXI protocol
CN106951388A (en) A kind of DMA data transfer method and system based on PCIe
CN105677598B (en) The module and method of multiple MEMS sensor data are quickly read based on I2C interface
JP5578713B2 (en) Information processing device
CN105095254A (en) Method and apparatus for achieving data consistency
US9170963B2 (en) Apparatus and method for generating interrupt signal that supports multi-processor
CN104714907B (en) A kind of pci bus is converted to ISA and APB bus design methods
CN105573951A (en) AHB interface system for stream data transmission
CN108304334A (en) Application processor and integrated circuit including interrupt control unit
WO2016078307A1 (en) Configurable on-chip interconnection system and method and apparatus for implementing same, and storage medium
CN116166581A (en) Queue type DMA controller circuit and data transmission method for PCIE bus
CN106610906A (en) Data access method and bus
CN103885900B (en) Data access processing method, PCIe device and user equipment
WO2016041453A1 (en) Remote resource access method and exchange device
CN102591817B (en) Multi-bus bridge controller and implementing method thereof
CN108062234A (en) A kind of system and method that BMC FLASH are accessed by mailbox protocol realizations server host
TW200813728A (en) Method and apparatus for enhancing data rate of advanced micro-controller bus architecture
CN103250137A (en) Interrupt factor management device and interrupt processing system
CN101299206A (en) Method and apparatus for realizing interrupt acquisition
TWI750386B (en) Bus system
CN112181878B (en) RapidIO interface architecture and data processing method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100602