JP2000132495A - Dma device - Google Patents

Dma device

Info

Publication number
JP2000132495A
JP2000132495A JP10307356A JP30735698A JP2000132495A JP 2000132495 A JP2000132495 A JP 2000132495A JP 10307356 A JP10307356 A JP 10307356A JP 30735698 A JP30735698 A JP 30735698A JP 2000132495 A JP2000132495 A JP 2000132495A
Authority
JP
Japan
Prior art keywords
transfer
channel
data
dma device
priority
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.)
Pending
Application number
JP10307356A
Other languages
Japanese (ja)
Inventor
Toshiki Onishi
俊樹 大西
Nobuaki Mizuguchi
信明 水口
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP10307356A priority Critical patent/JP2000132495A/en
Publication of JP2000132495A publication Critical patent/JP2000132495A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a DMA(direct memory access) device which reduces the load of data transfer by DMA on a processor and performs efficient data transfer. SOLUTION: The DMA device comprises a transfer control part 10 which sets the memory use areas for respective channels, the transfer source address and transfer destination address of data, the number of transferred bytes, and the ON/OFF state of transfer and transfers the data, a transfer request arbitration part 11 which arbitrates data transfer requests between channels according to specific priority, a memory monitor part 12 which monitors the memory consumption of each channel, and a transfer information monitor part 13 which monitors the order of data processes and other data transfer control information.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、大規模半導体集積
回路(以下「LSI」という。)において、大容量のデ
ータの転送を行うDMA装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a DMA device for transferring a large amount of data in a large-scale semiconductor integrated circuit (hereinafter, "LSI").

【0002】[0002]

【従来の技術】DMA(Direct Memory Access)は、プ
ロセッサを経由することなく、データをデータ処理を行
っている場所から別の場所に転送する方法である。近年
のマルチメディアの発展により、マルチメディア機器
は、データ量が非常に多い画像データ又は音声データ等
を扱うようになり、それに伴い、様々な高性能のマルチ
メディア機器用LSIが登場している。当該LSIにお
いて、メモリ管理や同期処理等のLSI内部ブロック間
のデータ転送は、DMA装置を用いて行われることが一
般的である。
2. Description of the Related Art DMA (Direct Memory Access) is a method of transferring data from a place where data processing is being performed to another place without passing through a processor. With the development of multimedia in recent years, multimedia devices have come to handle image data or audio data having a very large data amount, and accordingly, various high-performance LSIs for multimedia devices have appeared. In the LSI, data transfer between LSI internal blocks, such as memory management and synchronization processing, is generally performed using a DMA device.

【0003】図2は従来のDMA装置及びその周辺回路
の構成を示すものである。図において、200は上記D
MA装置であり、データ転送を要求する各ブロックに対
応する複数のチャンネルを有し、各チャンネル毎に、ブ
ロックとメモリ間でのデータ転送を制御するものであ
る。
FIG. 2 shows the configuration of a conventional DMA device and its peripheral circuits. In the figure, 200 is the above D
The MA device has a plurality of channels corresponding to each block for which data transfer is requested, and controls data transfer between the block and the memory for each channel.

【0004】該DMA装置200は、各チャンネルのメ
モリ使用領域、データの転送元アドレス、転送先アドレ
ス並びに転送バイト数、及び転送のオン/オフの設定、
及びデータの転送を行う転送制御部20と、所定の優先
順位に基づいて、各チャンネル間のデータ転送要求に対
する調停を行う転送要求調停部21とからなり、バス2
07及び制御バス208に接続されている。また、該D
MA装置200は、各ブロックのデータを蓄積するデー
タ蓄積用メモリ201とも接続されている。
[0004] The DMA device 200 sets a memory use area of each channel, a transfer source address of data, a transfer destination address and the number of transfer bytes, and setting of on / off of transfer.
And a transfer request arbitration unit 21 for arbitrating a data transfer request between channels based on a predetermined priority.
07 and the control bus 208. In addition, the D
The MA device 200 is also connected to a data storage memory 201 that stores data of each block.

【0005】バス207には、所定のデータ処理を行う
ブロック203,ブロック204,ブロック205,ブ
ロック206も接続されており、該バス207を介して
データの転送が行われる。
The bus 207 is also connected to blocks 203, 204, 205, and 206 for performing predetermined data processing, and data is transferred via the bus 207.

【0006】また、制御バス208には、上記DMA装
置200と、各ブロック203,204,205,20
6と、上記DMA装置200及び上記各ブロック20
3,204,205,206の状態監視及び制御を行う
プロセッサ202とが接続されており、該制御バス20
8を介して、プロセッサ202によりデータ転送が制御
される。
The control bus 208 includes the DMA device 200 and the blocks 203, 204, 205, and 20.
6, the DMA device 200 and the blocks 20
3, 204, 205, and 206, which are connected to a processor 202 for monitoring and controlling the status.
8, the data transfer is controlled by the processor 202.

【0007】次に動作について説明する。各ブロック2
03,204,205,206は、それぞれのデータ処
理に必要なデータをデータ蓄積用メモリ201から取り
出したり、又はデータ処理によって生成されたデータを
データ蓄積用メモリ201に格納する必要がある場合
に、DMA装置200に転送要求信号を送る。DMA装
置200は、該転送要求信号を受け、転送制御部20に
より、転送要求を発信したブロックとデータ蓄積用メモ
リ201との間でデータの転送を行う。このとき、複数
のブロックから転送要求信号を受けた場合は、所定の優
先順位に基づいて、優先順位の高いチャンネルから順次
データ転送を行う。
Next, the operation will be described. Each block 2
Reference numerals 03, 204, 205, and 206 denote data necessary for each data processing from the data storage memory 201 or when data generated by data processing needs to be stored in the data storage memory 201. A transfer request signal is sent to the DMA device 200. The DMA device 200 receives the transfer request signal and causes the transfer control unit 20 to transfer data between the block that has issued the transfer request and the data storage memory 201. At this time, when a transfer request signal is received from a plurality of blocks, data transfer is performed sequentially from a channel with a higher priority based on a predetermined priority.

【0008】プロセッサ202は、各ブロック203,
204,205,206のデータ処理の進行状況、デー
タ蓄積用メモリ201のメモリ消費量、及びデータ処理
の順位その他の転送制御情報を監視し、各チャンネルの
データ転送のオン/オフ、優先順位の設定等の制御を行
う。
[0008] The processor 202 includes a block 203,
The progress of the data processing of 204, 205, and 206, the memory consumption of the data storage memory 201, the order of the data processing, and other transfer control information are monitored, and the on / off of data transfer of each channel and the setting of the priority are set. And so on.

【0009】[0009]

【発明が解決しようとする課題】上記のようなDMA装
置では、プロセッサによりメモリ消費量並びに転送制御
情報の監視、及びデータ転送の制御を行う構成となって
いるため、転送すべきデータ量が大きくなるほど、又は
データ転送の制御が複雑になるほどプロセッサが制御す
るステップ数が増加する。従って、データ転送速度を向
上するには、プロセッサ及びバスの高速化が必須であ
り、その結果、プロセッサに過大な負担を強いることと
なる。しかし、プロセッサ及びバスを高速化すると、L
SIの消費電力が増大するという問題があり、また、プ
ロセッサ及びバスにのみ依存して転送速度を向上するこ
と、或いはプロセッサのみに依存して複雑な転送制御を
行うことには限界もある。
In the above-described DMA device, the amount of data to be transferred is large because the processor monitors the memory consumption and the transfer control information and controls the data transfer. The number of steps controlled by the processor increases as the control of the data transfer becomes more complicated. Therefore, in order to improve the data transfer speed, it is necessary to increase the speed of the processor and the bus, and as a result, an excessive load is imposed on the processor. However, when the speed of the processor and the bus is increased, L
There is a problem that the power consumption of the SI increases, and there is a limit to improving the transfer speed only depending on the processor and the bus, or performing complicated transfer control only depending on the processor.

【0010】本発明は上記問題に鑑みてなされたもので
あり、DMAによるデータ転送において、プロセッサの
負担を軽減するとともに、効率のよいデータ転送を行う
DMA装置を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in consideration of the above problems, and has as its object to provide a DMA device that reduces the load on a processor and performs efficient data transfer in data transfer by DMA.

【0011】[0011]

【課題を解決するための手段】本発明(請求項1)に係
るDMA装置は、データ転送を行うための複数のチャン
ネルを有し、各チャンネルに対応したデータ処理ブロッ
クから出力される転送要求信号を受け、該ブロックとデ
ータ蓄積用メモリとの間でデータ転送を行うDMA装置
であって、各チャンネル毎に、該チャンネルによるデー
タ蓄積用メモリの消費量を監視し、該メモリ消費量が予
め設定された閾値以上/又は閾値以下であることを表す
信号を出力するメモリ消費量監視手段と、該信号に基づ
いて、各チャンネルのデータ転送順位を示す優先順位を
変更する転送要求調停手段と、上記転送要求信号に基づ
いて、優先順位の高いチャンネルから順にデータ転送を
行う転送制御手段とを備えたものである。
A DMA device according to the present invention (claim 1) has a plurality of channels for performing data transfer, and a transfer request signal output from a data processing block corresponding to each channel. A DMA device which receives the data and transfers data between the block and the data storage memory. The DMA device monitors the consumption of the data storage memory by the channel for each channel, and sets the memory consumption in advance. A memory consumption monitoring unit that outputs a signal indicating that the threshold value is equal to or greater than the threshold value and / or is equal to or less than the threshold value; Transfer control means for performing data transfer in order from the channel having the highest priority based on the transfer request signal.

【0012】また、本発明(請求項2)は、データ転送
を行うための複数のチャンネルを有し、各チャンネルに
対応したデータ処理ブロックから出力される転送要求信
号を受け、該ブロックとデータ蓄積用メモリとの間でデ
ータ転送を行うDMA装置であって、各チャンネル毎
に、該チャンネルに対応するブロックのデータ処理時間
を監視し、該データ処理時間が予め設定された閾値以上
/又は閾値以下であることを表す信号を出力するデータ
処理時間監視手段と、該信号に基づいて、各チャンネル
のデータ転送順位を示す優先順位を変更する転送要求調
停手段と、上記転送要求信号に基づいて、優先順位の高
いチャンネルから順にデータ転送を行う転送制御手段と
を備えたものである。
Further, the present invention (claim 2) has a plurality of channels for performing data transfer, receives a transfer request signal output from a data processing block corresponding to each channel, and stores the data in a data storage block. Device for transferring data to and from a memory for monitoring data processing time of a block corresponding to a channel for each channel, wherein the data processing time is equal to or more than a predetermined threshold and / or equal to or less than a threshold. A data processing time monitoring means for outputting a signal indicating that the transfer request signal is transmitted, a transfer request arbitration means for changing the priority order indicating the data transfer order of each channel based on the signal, and a priority control based on the transfer request signal. Transfer control means for performing data transfer in order from the channel having the highest rank.

【0013】また、本発明(請求項3)は、請求項1に
記載のDMA装置において、上記転送要求調停手段は、
チャンネルのメモリ消費量が閾値以下であることを示す
信号を受けた場合に、該チャンネルの優先順位を繰り上
げるものである。
According to a third aspect of the present invention, in the DMA device according to the first aspect, the transfer request arbitration means includes:
When a signal indicating that the memory consumption of the channel is equal to or less than the threshold is received, the priority of the channel is increased.

【0014】また、本発明(請求項4)は、請求項2に
記載のDMA装置において、上記転送要求調停手段は、
チャンネルに対応するブロックのデータ処理時間が閾値
以上であることを示す信号を受けた場合に、該チャンネ
ルの優先順位を繰り上げるものである。
Further, according to a fourth aspect of the present invention, in the DMA device according to the second aspect, the transfer request arbitration means includes:
When a signal indicating that the data processing time of the block corresponding to the channel is equal to or greater than the threshold is received, the priority of the channel is increased.

【0015】また、本発明(請求項5)は、請求項1又
は2に記載のDMA装置において、上記転送要求調停手
段は、データ転送を行ったチャンネルを一定期間記憶
し、その期間中は、該チャンネルの優先順位を繰下げ
る、又はデータ転送を行わないようにするものである。
Further, according to the present invention (claim 5), in the DMA device according to claim 1 or 2, the transfer request arbitration means stores a channel on which data transfer has been performed for a certain period of time. The priority of the channel is lowered or the data transfer is not performed.

【0016】[0016]

【発明の実施の形態】以下、本発明の実施の形態につい
て説明する。図1は本発明のDMA装置及びその周辺回
路の構成を示すものである。図において、100は上記
DMA装置であり、データ転送を要求する各ブロックに
対応する複数のチャンネルを有し、各チャンネル毎に、
ブロックとメモリ間、或いはブロック間でのデータ転送
を制御するものである。
Embodiments of the present invention will be described below. FIG. 1 shows the configuration of a DMA device according to the present invention and its peripheral circuits. In the figure, reference numeral 100 denotes the DMA device, which has a plurality of channels corresponding to each block requesting data transfer.
It controls data transfer between a block and a memory or between blocks.

【0017】該DMA装置100は、各チャンネルのメ
モリ使用領域、データの転送元アドレス、転送先アドレ
ス並びに転送バイト数、及び転送のオン/オフの設定、
及びデータの転送を行う転送制御部10と、所定の優先
順位に基づいて各チャンネル間のデータ転送要求に対す
る調停を行う転送要求調停部11と、各チャンネルのメ
モリ消費量を監視するメモリ監視部12と、ブロックの
データ処理時間、転送順位その他のデータ転送制御情報
を監視を行う転送情報監視部13とからなり、バス10
7及び制御バス108に接続されている。また、該DM
A装置100は、各ブロックのデータを蓄積するデータ
蓄積用メモリ101とも接続されている。
The DMA device 100 sets a memory use area of each channel, a data transfer source address, a transfer destination address, the number of transfer bytes, and a transfer on / off setting.
And a transfer control unit 10 for transferring data, a transfer request arbitration unit 11 for arbitrating data transfer requests between channels based on a predetermined priority, and a memory monitoring unit 12 for monitoring memory consumption of each channel. And a transfer information monitoring unit 13 for monitoring data processing time, transfer order and other data transfer control information of the block.
7 and the control bus 108. Also, the DM
The A device 100 is also connected to a data storage memory 101 that stores data of each block.

【0018】バス207には、所定のデータ処理を行う
ブロック103,ブロック104,ブロック105,ブ
ロック106も接続されており、該バス107を介して
データの転送が行われる。
The bus 207 is also connected to blocks 103, 104, 105, and 106 for performing predetermined data processing, and data is transferred through the bus 107.

【0019】また、制御バス108には、上記DMA装
置100と、各ブロック103,104,105,10
6と、上記DMA装置100及び上記各ブロック10
3,104,105,106の状態監視と制御を行うプ
ロセッサ102とが接続されており、該制御バス108
を介して、プロセッサ102によりデータ転送が制御さ
れる。
The control bus 108 includes the DMA device 100 and each of the blocks 103, 104, 105, and 10.
6, the DMA device 100 and the respective blocks 10
The processor 102 for monitoring and controlling the states of the control buses 3, 104, 105, and 106 is connected to the control bus 108.
, The data transfer is controlled by the processor 102.

【0020】次に動作について説明する。各ブロック1
03,104,105,106は、それぞれのデータ処
理に必要なデータをデータ蓄積用メモリ101から取り
出したり、又はデータ処理によって生成されたデータを
データ蓄積用メモリ101に格納する必要等がある場合
に、DMA装置100に転送要求信号を送る。DMA装
置100は、該転送要求信号を受け、転送制御部10
は、転送要求を発信したブロックとデータ蓄積用メモリ
101又は他のブロックとの間でデータの転送を行う。
このとき、複数のブロックから転送要求信号を受けた場
合は、転送要求調停部11が保持する所定の優先順位に
基づいて、優先順位の高いブロックから順次データ転送
を行う。
Next, the operation will be described. Each block 1
03, 104, 105, and 106 are used when it is necessary to take out data required for each data processing from the data storage memory 101, or to store data generated by the data processing in the data storage memory 101. , A transfer request signal to the DMA device 100. The DMA device 100 receives the transfer request signal, and
Performs data transfer between the block that has issued the transfer request and the data storage memory 101 or another block.
At this time, when a transfer request signal is received from a plurality of blocks, data transfer is performed sequentially from the block with the highest priority based on the predetermined priority held by the transfer request arbitration unit 11.

【0021】メモリ消費量監視部12は、各チャンネル
毎に、該チャンネルのデータ蓄積用メモリ101のメモ
リ消費量を監視し、該メモリ消費量が予め設定された閾
値以上或いは閾値以下である場合に、該チャンネルのメ
モリ消費量が閾値以上或いは閾値以下であることを表す
信号を転送要求調停部11へ出力する。転送要求調停部
11は、該信号を受け、該チャンネルのデータ転送順位
を示す所定の優先順位を変更し、該信号の出力が停止し
た場合、該チャンネルの優先順位を上記所定の優先順位
に変更する。ここで、該信号を出力するための閾値と、
該信号を停止するための閾値は同一でなくてもよい。優
先順位の変更は、メモリ消費量が閾値以下であるチャン
ネルへのデータ転送を優先して行うように、上記所定の
優先順位を変更する。
The memory consumption monitoring unit 12 monitors, for each channel, the memory consumption of the data storage memory 101 of the channel, and if the memory consumption is equal to or greater than a preset threshold or equal to or less than the threshold. Then, a signal indicating that the memory consumption of the channel is equal to or greater than the threshold or equal to or less than the threshold is output to the transfer request arbitration unit 11. Upon receiving the signal, the transfer request arbitration unit 11 changes a predetermined priority indicating the data transfer order of the channel, and when the output of the signal is stopped, changes the priority of the channel to the predetermined priority. I do. Here, a threshold value for outputting the signal,
The thresholds for stopping the signal need not be the same. The priority is changed by changing the predetermined priority so that data transfer to a channel whose memory consumption is equal to or less than the threshold is preferentially performed.

【0022】転送情報監視部13は、各チャンネル毎に
ブロックのデータ処理時間、転送順位その他のデータ転
送制御情報を監視し、該データ処理時間が予め設定され
た閾値以上或いは閾値以下である場合に、該チャンネル
に対応するブロックのデータ処理時間が閾値以上或いは
閾値以下であることを表す信号を転送要求調停部11へ
出力する。転送要求調停部11は、該信号を受け、該チ
ャンネルのデータ転送順位を示す所定の優先順位を変更
し、該信号の出力が停止した場合、該チャンネルの優先
順位を上記所定の優先順位に変更する。ここで、該信号
を出力するための閾値と、該信号を停止するための閾値
は同一でなくてもよい。優先順位の変更は、データ処理
時間が閾値以上であるブロックへのデータ転送を優先し
て行うように、上記所定の優先順位を変更する。転送制
御部10は、変更された優先順位に基づいて、転送要求
を発信したブロックのうち優先順位の高いチャンネルか
ら順にデータ蓄積用メモリ101との間でデータの転送
を行う。
The transfer information monitoring unit 13 monitors the data processing time of the block, the transfer order and other data transfer control information for each channel, and when the data processing time is equal to or greater than a preset threshold or equal to or less than the threshold. And outputs to the transfer request arbitration unit 11 a signal indicating that the data processing time of the block corresponding to the channel is equal to or greater than the threshold or equal to or less than the threshold. Upon receiving the signal, the transfer request arbitration unit 11 changes a predetermined priority indicating the data transfer order of the channel, and when the output of the signal is stopped, changes the priority of the channel to the predetermined priority. I do. Here, the threshold value for outputting the signal and the threshold value for stopping the signal need not be the same. In the change of the priority, the predetermined priority is changed so that the data transfer to the block whose data processing time is equal to or more than the threshold is preferentially performed. The transfer control unit 10 transfers data to and from the data storage memory 101 in order from the channel with the highest priority among the blocks that transmitted the transfer request, based on the changed priority.

【0023】また、転送要求調停部11は、データ転送
を行ったチャンネルを一定期間記憶し、その期間中は該
チャンネルの優先順位を繰り下げる、又はデータ転送を
行わないように設定する。
The transfer request arbitration unit 11 stores a channel to which data has been transferred for a certain period of time, and during that period, lowers the priority of the channel or sets so as not to perform data transfer.

【0024】このように、本実施の形態のDMA装置1
00によれば、メモリ消費量監視部12及び転送制御情
報監視部13を有し、各チャンネル毎のデータ蓄積用メ
モリの消費量及びデータ転送制御情報を監視し、メモリ
消費量が閾値以下のチャンネル、或いはデータ処理時間
が閾値以上のブロックに対応するチャンネルのデータ転
送を優先するように優先順位を変更するので、プロセッ
サに過大な負担をかけることなく効率のよいデータ転送
を行うことができる。
As described above, the DMA device 1 of the present embodiment
00, a memory consumption monitoring unit 12 and a transfer control information monitoring unit 13 are provided to monitor the data storage memory consumption and data transfer control information for each channel, Alternatively, since the priority is changed so that the data transfer of the channel corresponding to the block whose data processing time is equal to or more than the threshold is prioritized, efficient data transfer can be performed without imposing an excessive burden on the processor.

【0025】また、上記DMA装置100は、データ転
送を行ったチャンネルを一定期間記憶し、その期間中は
該チャンネルの優先順位を繰り下げる、又はデータ転送
を行わないようするので、優先順位の高いチャンネルが
必要以上に優先されることなく、効率のよいデータ転送
を行うことができる。
The DMA device 100 stores the channel to which data has been transferred for a certain period of time, and decrements the priority of the channel or does not perform data transfer during that period. , And efficient data transfer can be performed without giving unnecessary priority.

【0026】なお、上記実施の形態によるDMA装置で
は、転送要求調停部11は、メモリ消費量監視部12又
は転送制御情報監視部13の出力信号を受けている期間
中は所定の優先順位を変更し、出力信号が停止した場合
に変更された優先順位を所定の優先順位に変更するもの
としたが、上記信号の出力期間にかかわらず、変更され
た優先順位を一定期間保持し、その後、もとの優先順位
に戻すものとしてもよい。
In the DMA device according to the above-described embodiment, the transfer request arbitration unit 11 changes the predetermined priority while receiving the output signal of the memory consumption monitoring unit 12 or the transfer control information monitoring unit 13. Then, when the output signal is stopped, the changed priority is changed to a predetermined priority.However, regardless of the output period of the signal, the changed priority is held for a certain period of time. The priority order may be returned.

【0027】また、メモリ消費量監視部12又は転送制
御情報監視部13が、設定された閾値以上/又は閾値以
下を示す信号を出力し、転送要求調停部11が、該信号
を受けた場合に優先順位を変更して保持し、メモリ消費
量監視部12又は転送制御情報監視部13が閾値以下/
閾値以上を示す信号を出力し、転送要求調停部11が、
該信号を受けた場合に変更保持している優先順位を元の
優先順位に戻すようにしてもよい。この場合に、メモリ
消費量監視部12又は転送制御情報監視部13に設定す
る優先順位を変更させるための閾値と、優先順位を元に
戻すための閾値とは同じ値でなくともよい。
When the memory consumption monitoring unit 12 or the transfer control information monitoring unit 13 outputs a signal indicating a value equal to or greater than the set threshold value and / or equal to or less than the threshold value, the transfer request arbitration unit 11 receives the signal. The priority is changed and held, and the memory consumption monitoring unit 12 or the transfer control information monitoring unit 13 sets the
The transfer request arbitration unit 11 outputs a signal indicating the threshold value or more,
When the signal is received, the changed priority may be returned to the original priority. In this case, the threshold for changing the priority set in the memory consumption monitoring unit 12 or the transfer control information monitoring unit 13 and the threshold for restoring the priority may not be the same value.

【0028】[0028]

【発明の効果】本発明(請求項1)に係るDMA装置に
よれば、データ転送を行うための複数のチャンネルを有
し、各チャンネルに対応したデータ処理ブロックから出
力される転送要求信号を受け、該ブロックとデータ蓄積
用メモリとの間でデータ転送を行うDMA装置であっ
て、各チャンネル毎に、該チャンネルによるデータ蓄積
用メモリの消費量を監視し、該メモリ消費量が予め設定
された閾値以上/又は閾値以下であることを表す信号を
出力するメモリ消費量監視手段と、該信号に基づいて、
各チャンネルのデータ転送順位を示す優先順位を変更す
る転送要求調停手段と、上記転送要求信号に基づいて、
優先順位の高いチャンネルから順にデータ転送を行う転
送制御手段とを備えたものとしたので、各チャンネル毎
のデータ蓄積用メモリの消費量に基づいて、優先順位を
変更し、プロセッサに過大な負担をかけることなく効率
のよいデータ転送を行うことができる。
According to the DMA device of the present invention (claim 1), the DMA device has a plurality of channels for data transfer and receives a transfer request signal output from a data processing block corresponding to each channel. A DMA device for performing data transfer between the block and the data storage memory, wherein for each channel, a consumption amount of the data storage memory by the channel is monitored, and the memory consumption amount is set in advance. A memory consumption monitoring means for outputting a signal indicating that the value is equal to or greater than a threshold and / or equal to or less than the threshold;
Transfer request arbitration means for changing the priority order indicating the data transfer order of each channel, and based on the transfer request signal,
Transfer control means for performing data transfer in order from the channel with the highest priority, so that the priority is changed based on the amount of data storage memory consumed for each channel, thereby imposing an excessive burden on the processor. Efficient data transfer can be performed without calling.

【0029】また、本発明(請求項2)によれば、デー
タ転送を行うための複数のチャンネルを有し、各チャン
ネルに対応したデータ処理ブロックから出力される転送
要求信号を受け、該ブロックとデータ蓄積用メモリとの
間でデータ転送を行うDMA装置であって、各チャンネ
ル毎に、該チャンネルに対応するブロックのデータ処理
時間を監視し、該データ処理時間が予め設定された閾値
以上/又は閾値以下であることを表す信号を出力するデ
ータ処理時間監視手段と、該信号に基づいて、各チャン
ネルのデータ転送順位を示す優先順位を変更する転送要
求調停手段と、上記転送要求信号に基づいて、優先順位
の高いチャンネルから順にデータ転送を行う転送制御手
段とを備えたものとしたので、各チャンネルに対応する
ブロックのデータ転送制御情報に基づいて、優先順位を
変更し、プロセッサに過大な負担をかけることなく効率
のよいデータ転送を行うことができる。
Further, according to the present invention (claim 2), it has a plurality of channels for performing data transfer, receives a transfer request signal output from a data processing block corresponding to each channel, and A DMA device for transferring data to and from a data storage memory, wherein for each channel, a data processing time of a block corresponding to the channel is monitored, and the data processing time is equal to or greater than a preset threshold value. A data processing time monitoring unit that outputs a signal indicating that the signal is equal to or less than the threshold value; a transfer request arbitration unit that changes a priority order indicating a data transfer order of each channel based on the signal; And transfer control means for performing data transfer in order from the channel with the highest priority. Based on the transmission control information, and change the priority, it is possible to perform efficient data transfer without placing an excessive burden on the processor.

【0030】また、本発明(請求項3)によれば、請求
項1に記載のDMA装置において、上記転送要求調停手
段は、チャンネルのメモリ消費量が閾値以下であること
を示す信号を受けた場合に、該チャンネルの優先順位を
繰り上げるものとしたので、メモリ消費量の少ないチャ
ンネルを優先するように優先順位を変更し、プロセッサ
に過大な負担をかけることなく効率のよいデータ転送を
行うことができる。
According to the present invention (claim 3), in the DMA device according to claim 1, the transfer request arbitration means receives a signal indicating that the memory consumption of the channel is equal to or less than a threshold value. In this case, the priority of the channel is increased, so that the priority can be changed so that the channel with less memory consumption is prioritized, and efficient data transfer can be performed without imposing an excessive load on the processor. it can.

【0031】また、本発明(請求項4)によれば、請求
項2に記載のDMA装置において、上記転送要求調停手
段は、チャンネルに対応するブロックのデータ処理時間
が閾値以上であることを示す信号を受けた場合に、該チ
ャンネルの優先順位を繰り上げるものとしたので、デー
タ処理が遅れているブロックへのデータ転送を優先する
ように所定の優先順位し、プロセッサに過大な負担をか
けることなく効率のよいデータ転送を行うことができ
る。
According to the present invention (claim 4), in the DMA device according to claim 2, the transfer request arbitration means indicates that a data processing time of a block corresponding to a channel is equal to or longer than a threshold value. When a signal is received, the priority of the channel is increased, so that a predetermined priority is given to give priority to data transfer to a block whose data processing is delayed, without placing an excessive burden on the processor. Efficient data transfer can be performed.

【0032】また、本発明(請求項5)によれば、請求
項1又は2に記載のDMA装置において、上記転送要求
調停手段は、データ転送を行ったチャンネルを一定期間
記憶し、その期間中は、該チャンネルの優先順位を繰下
げる、又はデータ転送を行わないようにするものとした
ので、同一のチャンネルが必要以上に優先されることが
なく、チャンネルのデータ転送を効率的に調節すること
ができる。
Further, according to the present invention (claim 5), in the DMA device according to claim 1 or 2, the transfer request arbitration means stores the channel on which the data transfer has been performed for a fixed period, and during that period, Means that the priority of the channel is lowered or the data transfer is not performed, so that the same channel is not prioritized more than necessary, and the data transfer of the channel is adjusted efficiently. Can be.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 本発明によるDMA装置及びその周辺回路の
構成を表す図である。
FIG. 1 is a diagram showing a configuration of a DMA device and its peripheral circuits according to the present invention.

【図2】 従来のDMA装置及びその周辺回路の構成を
表す図である。
FIG. 2 is a diagram illustrating a configuration of a conventional DMA device and its peripheral circuits.

【符号の説明】[Explanation of symbols]

10:転送制御部 11:転送要求調停部 12:メモリ消費量監視部 13:転送制御情報監視部 100:DMA装置 101:データ蓄積用メモリ 102:プロセッサ 103、104、105、106:ブロック 107:バス 108:制御用バス 20:転送制御部 21:転送要求調停部 200:DMA装置 201:データ蓄積用メモリ 202:プロセッサ 203,204,205,206:ブロック 207:バス 208:制御用バス 10: Transfer control unit 11: Transfer request arbitration unit 12: Memory consumption monitoring unit 13: Transfer control information monitoring unit 100: DMA device 101: Data storage memory 102: Processor 103, 104, 105, 106: Block 107: Bus 108: control bus 20: transfer control unit 21: transfer request arbitration unit 200: DMA device 201: data storage memory 202: processor 203, 204, 205, 206: block 207: bus 208: control bus

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 データ転送を行うための複数のチャンネ
ルを有し、各チャンネルに対応したデータ処理ブロック
から出力される転送要求信号を受け、該ブロックとデー
タ蓄積用メモリとの間でデータ転送を行うDMA装置で
あって、 各チャンネル毎に、該チャンネルによるデータ蓄積用メ
モリの消費量を監視し、該メモリ消費量が予め設定され
た閾値以上/又は閾値以下であることを表す信号を出力
するメモリ消費量監視手段と、 該信号に基づいて、各チャンネルのデータ転送順位を示
す優先順位を変更する転送要求調停手段と、 上記転送要求信号に基づいて、優先順位の高いチャンネ
ルから順にデータ転送を行う転送制御手段とを備えたこ
とを特徴とするDMA装置。
An information processing apparatus has a plurality of channels for performing data transfer, receives a transfer request signal output from a data processing block corresponding to each channel, and performs data transfer between the block and a data storage memory. A DMA device for performing, for each channel, monitoring the amount of data storage memory consumed by the channel and outputting a signal indicating that the memory consumption is greater than or equal to a preset threshold and / or less than the threshold. Memory consumption monitoring means; transfer request arbitration means for changing the priority indicating the data transfer order of each channel based on the signal; and data transfer in descending order of priority based on the transfer request signal. And a transfer control unit for performing the transfer.
【請求項2】 データ転送を行うための複数のチャンネ
ルを有し、各チャンネルに対応したデータ処理ブロック
から出力される転送要求信号を受け、該ブロックとデー
タ蓄積用メモリ又は他のブロックとの間でデータ転送を
行うDMA装置であって、 各チャンネル毎に、該チャンネルに対応するブロックの
データ処理時間を監視し、該データ処理時間が予め設定
された閾値以上/又は閾値以下であることを表す信号を
出力するデータ処理時間監視手段と、 該信号に基づいて、各チャンネルのデータ転送順位を示
す優先順位を変更する転送要求調停手段と、 上記転送要求信号に基づいて、優先順位の高いチャンネ
ルから順にデータ転送を行う転送制御手段とを備えたこ
とを特徴とするDMA装置。
2. It has a plurality of channels for performing data transfer, receives a transfer request signal output from a data processing block corresponding to each channel, and receives a transfer request signal between the block and a data storage memory or another block. A DMA device for performing data transfer by monitoring, for each channel, a data processing time of a block corresponding to the channel, and indicating that the data processing time is equal to or more than a predetermined threshold and / or equal to or less than a threshold. Data processing time monitoring means for outputting a signal; transfer request arbitration means for changing the priority indicating the data transfer order of each channel based on the signal; and A DMA device comprising: transfer control means for sequentially performing data transfer.
【請求項3】 請求項1に記載のDMA装置において、 上記転送要求調停手段は、チャンネルのメモリ消費量が
閾値以下であることを示す信号を受けた場合に、該チャ
ンネルの優先順位を繰り上げるものであることを特徴と
するDMA装置。
3. The DMA device according to claim 1, wherein the transfer request arbitration unit increases the priority of the channel when receiving a signal indicating that the memory consumption of the channel is equal to or less than a threshold value. A DMA device, characterized in that:
【請求項4】 請求項2に記載のDMA装置において、 上記転送要求調停手段は、チャンネルに対応するブロッ
クのデータ処理時間が閾値以上であることを示す信号を
受けた場合に、該チャンネルの優先順位を繰り上げるも
のであることを特徴とするDMA装置。
4. The DMA device according to claim 2, wherein said transfer request arbitration means receives a signal indicating that a data processing time of a block corresponding to the channel is equal to or longer than a threshold value, and sets a priority of said channel. A DMA device characterized by increasing the order.
【請求項5】 請求項1又は2に記載のDMA装置にお
いて、 上記転送要求調停手段は、データ転送を行ったチャンネ
ルを一定期間記憶し、その期間中は、該チャンネルの優
先順位を繰下げる、又はデータ転送を行わないようにす
るものであることを特徴とするDMA装置。
5. The DMA device according to claim 1, wherein the transfer request arbitration unit stores a channel to which data has been transferred for a certain period of time, and during that period, lowers the priority of the channel. Alternatively, a DMA device that does not perform data transfer.
JP10307356A 1998-10-28 1998-10-28 Dma device Pending JP2000132495A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10307356A JP2000132495A (en) 1998-10-28 1998-10-28 Dma device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10307356A JP2000132495A (en) 1998-10-28 1998-10-28 Dma device

Publications (1)

Publication Number Publication Date
JP2000132495A true JP2000132495A (en) 2000-05-12

Family

ID=17968119

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10307356A Pending JP2000132495A (en) 1998-10-28 1998-10-28 Dma device

Country Status (1)

Country Link
JP (1) JP2000132495A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010191492A (en) * 2009-02-16 2010-09-02 Ricoh Co Ltd Device, method, and program for contreolling data transfer and recording medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010191492A (en) * 2009-02-16 2010-09-02 Ricoh Co Ltd Device, method, and program for contreolling data transfer and recording medium

Similar Documents

Publication Publication Date Title
US6032211A (en) Method of mode control in a bus optimized for personal computer data traffic
US6151651A (en) Communication link with isochronous and asynchronous priority modes coupling bridge circuits in a computer system
KR20000053380A (en) A port manager controller for connecting various function modules
JP3284311B2 (en) Communication bus control device and bus control method in data processing system
EP1582989B1 (en) Data transfer processing device and data transfer processing method
JPH0560623B2 (en)
US6199132B1 (en) Communication link with isochronous and asynchronous priority modes
JP2000132495A (en) Dma device
JPH10320349A (en) Processor and data transfer system using the processor
JP2004194014A (en) Bus controller and information processing system
JP2000132505A (en) Bus access method and device therefor, and device and system using the bus access method and device
JP2000022728A (en) Network system
JPH07219887A (en) Dma transfer controller
JPH05173923A (en) Input/output data transfer processing device
JP2001014266A (en) Dma transfer circuit and dma transfer method
JP4190969B2 (en) Bus arbitration system in bus system and AMBA
JP2008165463A (en) Bus controller
JP4194438B2 (en) Signal line control device
JP2002176464A (en) Network interface device
JP3050131B2 (en) Arbitration method
JP2013011953A (en) Information processing system, power supply in information processing system, and control method for clock
JPS6240565A (en) Memory control system
JPH02310759A (en) Data transfer device
JPH01255061A (en) Dma controller
JP2000132500A (en) Data transfer system