JPH04209059A - Semiconductor integrated circuit - Google Patents

Semiconductor integrated circuit

Info

Publication number
JPH04209059A
JPH04209059A JP27408890A JP27408890A JPH04209059A JP H04209059 A JPH04209059 A JP H04209059A JP 27408890 A JP27408890 A JP 27408890A JP 27408890 A JP27408890 A JP 27408890A JP H04209059 A JPH04209059 A JP H04209059A
Authority
JP
Japan
Prior art keywords
data
transfer
dma
control circuit
transfer source
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
JP27408890A
Other languages
Japanese (ja)
Inventor
Kenjiro Mukai
向井 賢次郎
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.)
Mitsubishi Electric Engineering Co Ltd
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Engineering Co Ltd
Mitsubishi Electric Corp
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 Mitsubishi Electric Engineering Co Ltd, Mitsubishi Electric Corp filed Critical Mitsubishi Electric Engineering Co Ltd
Priority to JP27408890A priority Critical patent/JPH04209059A/en
Publication of JPH04209059A publication Critical patent/JPH04209059A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To minimize the occupation time of respective devices at a transfer origin and a transfer destination and to improve the throughput of the whole system by performing a read cycle and a write cycle in a batch. CONSTITUTION:A direct memory access(DMA) device 2 outputs a transfer source address to the transfer source device through a transfer source address control circuit 211 and a DMA control circuit 211 sends a data read signal to the transfer destination device at the same time. At this time, an internal address control circuit 217 outputs the storage addresses of transfer source data to an internal storage device 214. After they are all stored, the circuit 211 sends a data write signal to the transfer destination device. An internal address control circuit 218 outputs the storage addresses of data sent out to the device 214. Consequently, the contents of the device 214 are transferred to the data storage locations of the transfer destination device. Thus, the read cycle and write cycle are carried out in a batch.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、一般的には直接メモリアクセス(DMA)制
御装置に関するものであり、更に具体的には、アドレス
を割り付けられた周辺装置と主記憶装置間ないし主記憶
装置内の異なる記憶領域間のデータ転送をCPUを介さ
すに行なう装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates generally to direct memory access (DMA) controllers, and more particularly to direct memory access (DMA) controllers, and more particularly to The present invention relates to a device that transfers data between storage devices or between different storage areas within a main storage device via a CPU.

〔従来の技術〕[Conventional technology]

第2図にDMA装置を用いたシステム構成図を示す。(
1)は中央情報処理装置(CPU) 、 +21は直接
メモリアクセス装ff1l (DMA#Afl! ) 
、 +31は主記憶装置、(4)は入力装置、(5)は
出力装置、(6)はデータバス、(7)ハアドレスバス
、(8)は側割バスである。文頭)は主記憶装置(3)
内の転送元記憶領域、曽は主記憶装置(3)内の転送先
記憶領域である。入力装置(4)および出力装置(5)
はアドレスバス(7)からのアドレス指定によりアクセ
スされるべき場所が指定される。
FIG. 2 shows a system configuration diagram using a DMA device. (
1) is the central information processing unit (CPU), +21 is the direct memory access device ff1l (DMA#Afl!)
, +31 is a main storage device, (4) is an input device, (5) is an output device, (6) is a data bus, (7) is an address bus, and (8) is a side bus. The beginning of the sentence) is the main memory (3)
is the transfer source storage area, and Z is the transfer destination storage area in the main storage device (3). Input device (4) and output device (5)
The location to be accessed is specified by addressing from the address bus (7).

DMA転送時には、入力装置(4)ないし主記憶装置(
3)内の転送元記憶領域t311が転送元装置、出力装
置(5)ないし主記憶装置(3)内の転送元記憶領域(
3カが転送先装置となる。
During DMA transfer, the input device (4) or main storage device (
The source storage area t311 in 3) is the source device, the source storage area t311 in the output device (5) or the main storage device (3)
The three devices serve as transfer destination devices.

通常のデータ転送は、バス使用権を獲得しているCPU
(1)が、データバス(6)、アドレスバス(7)、制
御バス(8)で構成されるシステムバスを使用□して行
なう。
Normal data transfer is performed by the CPU that has acquired the right to use the bus.
(1) is performed using a system bus consisting of a data bus (6), an address bus (7), and a control bus (8).

DMA装置(2)によるデータ転送は、ますCPU(1
+、DMA装置(2)間でバス使用権の裁定が行なわれ
、DMA装置(2)がバス使用権を獲得してバスマスタ
となった後、DMA装置(2)がシステムバスを使用し
て行なう。
Data transfer by the DMA device (2) is performed by the CPU (1).
+, After the bus usage right is arbitrated between the DMA devices (2) and the DMA device (2) acquires the bus usage right and becomes the bus master, the DMA device (2) uses the system bus to .

第3図に従来のDMA装置(2)の内部構成図を示す。FIG. 3 shows an internal configuration diagram of a conventional DMA device (2).

(221)はDMA l1II御回路、(222)は転
送元アドレス制御回路、(223)は転送先アドレス回
路、(224)はテンポラリレジスタである。又(6)
はデータバス、(7)はアドレスバス、+81は制御バ
スであり、第2図で示すところのものと同一のものであ
る。
(221) is a DMA I1II control circuit, (222) is a transfer source address control circuit, (223) is a transfer destination address circuit, and (224) is a temporary register. Also (6)
is a data bus, (7) is an address bus, and +81 is a control bus, which are the same as those shown in FIG.

以下に従来のDMA装置(2)の転送動作を記述する。The transfer operation of the conventional DMA device (2) will be described below.

DMA動作の要求を受は付けると、DMA装置i 12
1はCPUtl+に対してバス使用権の要求を行なう。
Upon accepting the request for DMA operation, the DMA device i 12
1 requests the CPUtl+ for the right to use the bus.

CPU(1)よりバスが開放されてバス使用権を獲得す
ると、DMA装置1(2+はDMA動作にはいる。DM
A動作の始めに、DMA装置t 121は、転送元アド
レス制御回路(222)を通して転送元アドレスを転送
元装置に出力すると同時に、DMA制御回路(221)
か制御バス(8)を通して転送元装置11にデータ読み
出し信号を送る。これにより転送元のデータはDMA装
置(2)内のテンポラリレジスタ(224)に転送され
る(リードサイクル)。次にDMA装置t +21は、
転送先アドレス制御回路(223)を通して転送先アド
レスを転送先装置に出力すると同時に、DMA制御回路
(221)が制御バス(8)を通して転送先装置にデー
タ書き込み信号を送る。これによりテンポラリレジスタ
(224)の内容は転送先アドレス制御回路(223)
で指定された転送先装置のデータ格納場所へ転送される
(ライトサイクル)。テンポラリレジスタ(224)の
データサイズは通常、データバス(6)のサイズと同一
である。従ってデータバス(6)のn倍のデータ転送に
対して、n回のリードサイクルとライトサイクルを実行
しDMA転送を終了する。従来装置のDMA動作フロー
を第4図に示す。
When the bus is released by CPU (1) and the right to use the bus is acquired, DMA device 1 (2+ enters DMA operation. DM
At the beginning of operation A, the DMA device t 121 outputs the transfer source address to the transfer source device through the transfer source address control circuit (222), and at the same time outputs the transfer source address to the transfer source device through the transfer source address control circuit (222).
A data read signal is sent to the transfer source device 11 through the control bus (8). As a result, the transfer source data is transferred to the temporary register (224) in the DMA device (2) (read cycle). Next, the DMA device t +21
At the same time as outputting the transfer destination address to the transfer destination device through the transfer destination address control circuit (223), the DMA control circuit (221) sends a data write signal to the transfer destination device via the control bus (8). As a result, the contents of the temporary register (224) are transferred to the transfer destination address control circuit (223).
The data is transferred to the data storage location of the destination device specified by (write cycle). The data size of the temporary register (224) is usually the same as the size of the data bus (6). Therefore, for n times the data transfer of the data bus (6), n read cycles and write cycles are executed to complete the DMA transfer. FIG. 4 shows the DMA operation flow of the conventional device.

又データバスのサイズに相当する一つの転送元データを
複数の転送先へ転送する場合には、転送元アドレス制御
回路(222)のアドレスを固定することにより第6図
のフローのごとく行なわれる。
Further, when transferring one transfer source data corresponding to the size of the data bus to a plurality of transfer destinations, the flow is performed as shown in FIG. 6 by fixing the address of the transfer source address control circuit (222).

この場合にもデータバス(6)のサイズのn倍の転送先
に対してn回のリードサイクルとライトサイクルを実行
する必要がある。
In this case as well, it is necessary to execute n read cycles and write cycles to a transfer destination that is n times the size of the data bus (6).

又、テンポラリレジスタ(224)はリードサイクル時
のデータをライトサイクル時まで保持するためだけの一
時記憶手段であり、リードサイクルとライトサイクルの
間にデータの反転もしくはある値との演算処理といった
操作は行なわれない。
Further, the temporary register (224) is a temporary storage means only for holding data during a read cycle until a write cycle, and operations such as inverting data or performing arithmetic processing with a certain value between read and write cycles are not allowed. Not done.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来のDMA装置は以上のように構成されているので、
テンポラリレジスタのサイズに相当するデータ転送にお
いて、必ずリードサイクルとライトサイクルを続けて実
行する必要が生じてしまう。
Since the conventional DMA device is configured as described above,
In data transfer corresponding to the size of the temporary register, it is always necessary to execute a read cycle and a write cycle in succession.

これは転送データが大きい場合、必要以上に転送元装置
あるいは転送先装置を占有してしまうことになり、シス
テム全体のスルーブツト低下につながることになる。
If the transferred data is large, the transfer source device or transfer destination device will be occupied more than necessary, leading to a reduction in the throughput of the entire system.

又同一データを複数の転送先アドレスの記憶領域に転送
する場合、転送元データは同一であるに′もかかわらず
、テンポラリレジスタサイズのデータ転送毎にリードバ
スサイクルを実行する必要か出てしまい効率的でない。
Furthermore, when transferring the same data to storage areas at multiple destination addresses, even though the source data is the same, it is necessary to execute a read bus cycle every time a temporary register size data is transferred, which reduces efficiency. Not on point.

さらに従来のDMA装置では、DMA転送と同時に、転
送データの反転もしくはある値との演算処理といった操
作はできない。
Furthermore, conventional DMA devices cannot perform operations such as inverting transferred data or performing arithmetic processing with a certain value at the same time as DMA transfer.

この発明は上記のような問題点を解消するためになされ
たもので、リードサイクル又はライトサイクルを連続し
て実行できるとともに、同一データあるいは同一ブロッ
クデータの転送においては。
The present invention was made to solve the above-mentioned problems, and it is possible to execute read cycles or write cycles continuously, and also to transfer the same data or the same block data.

データまたはブロックデータのリードサイクルを一度で
済ませることができるとともK、さらにはDMA転送と
同時にデータの反転もしくはある値との演算処理の操作
ができるDMA装置を得ることを目的とする。
It is an object of the present invention to provide a DMA device that can complete a read cycle of data or block data in one time, and can also perform inversion of data or arithmetic processing with a certain value at the same time as DMA transfer.

〔課題を解決するための手段〕[Means to solve the problem]

この発明に係るDMA装置は、周辺装置ないし主記憶装
置からの転送元データを一時格納するための一時記憶手
段を内蔵し、かつ該転送元データを該一時記憶手段に転
送する読み出し動作と、該一時記憶手段に格納されたデ
ータを該周辺装置ないし該主記憶装置に転送する書き込
み動作を行ない、一回ないし複数回の連続した読み出し
動作と、一回ないし複数回の連続した書き込み動作を行
なうことで、該周辺装置ないし該主記憶装置の一つない
し複数の記憶領域に対する連続したデータ転送を制御す
るための制御手段を内蔵し、さらに、該転送元データと
の演算を行なうための演算データを格納する記憶手段を
内蔵し、かつデータ転送と同時に、該転送元データの反
転ないし該記憶手段に格納された該演算データとの算術
ないし論理演算を行なうための制御手段を内蔵したもの
である。
The DMA device according to the present invention has a built-in temporary storage means for temporarily storing transfer source data from a peripheral device or a main memory device, and has a read operation for transferring the transfer source data to the temporary storage means, and a read operation for transferring the transfer source data to the temporary storage means. Performing a write operation to transfer data stored in the temporary storage means to the peripheral device or the main memory, and performing one or more consecutive read operations and one or more consecutive write operations. and a built-in control means for controlling continuous data transfer to one or more storage areas of the peripheral device or the main storage device, and further includes a control means for controlling continuous data transfer to one or more storage areas of the peripheral device or the main storage device, and further includes calculation data for performing calculations with the transfer source data. It has a built-in storage means for storing data, and a built-in control means for inverting the transfer source data or performing arithmetic or logical operations with the operation data stored in the storage means at the same time as data transfer.

〔作 用〕[For production]

この発明における一時記憶手段は、読み出し動作と書き
込み動作を制御する制御手段により制御されて、転送デ
ータの一時格納を行ない、リードバスサイクルを連続か
つ効率的に実施できるようにする。
The temporary storage means in the present invention is controlled by the control means for controlling read and write operations to temporarily store transfer data so that read bus cycles can be carried out continuously and efficiently.

また転送元データの反転ないし演算処理を行なう制御手
段は、DMA転送と同時に、転送元データの反転ないし
あらかじめ用意された演算データとの演算処理を実施す
る。
Further, the control means for performing inversion or arithmetic processing on the transfer source data inverts the transfer source data or performs arithmetic processing on previously prepared arithmetic data at the same time as the DMA transfer.

〔実施例〕〔Example〕

第1図はこの発明の一実施例の内部構成図である。第1
図において(211)はDMA@御回路、(212)は
転送元アドレス制御回路、(213)は転送先アドレス
制御回路、(214)は内蔵記憶回路、(215)は演
算処理回路、(216)は演算データ記憶回路、(21
7)は読み出し時内部アドレス制御回路、(218)は
書き込み時内部アドレス制御回路であり、また(6)は
データバス、(7)はアドレスバス、(8)は制御バス
であり第2図、第3図に示すところのものと同一である
FIG. 1 is an internal configuration diagram of an embodiment of the present invention. 1st
In the figure, (211) is the DMA@ control circuit, (212) is the transfer source address control circuit, (213) is the transfer destination address control circuit, (214) is the built-in memory circuit, (215) is the arithmetic processing circuit, and (216) is the transfer destination address control circuit. is an arithmetic data storage circuit, (21
7) is an internal address control circuit for reading, (218) is an internal address control circuit for writing, (6) is a data bus, (7) is an address bus, and (8) is a control bus. It is the same as that shown in FIG.

DMA転送に先立って、CP U(11、DMA装置(
2)間でバス使用権の裁定動作が行なわれる。この動作
は、従来のDMA装置と同様のものである。DMA装置
がバス使用権を獲得するとDMA動作にはいる。
Prior to DMA transfer, the CPU (11) and DMA device (
2), an arbitration operation for the right to use the bus is performed. This operation is similar to conventional DMA devices. When the DMA device acquires the right to use the bus, it begins DMA operation.

以下にこの発明の一実施例であるDMA装置のDMA動
作を記述する。DMA動作の始めに、DMA装置(2)
は、転送元アドレス制御回路(212)を通して転送元
アドレスを転送元装置に出力すると同時に、DMA制御
回路(211)が制御バス(8)を通して転送元装置に
データ読み出し信号を送る。このとき、読み出し時内部
アドレス制御回路(217)は内蔵記憶装置(214)
に対して転送元データの格納アドレスを出力する。これ
により転送元のデータはDMA装置(2)内の内蔵記憶
装置(214)に転送される(リードサイクル)。もし
転送と同時に転送データに対する演算を行なう必要があ
る場合は、演算処理回路(215)において行なう。演
算処理回路(215)は、転送元のデータのビット毎の
反転処理、ないし転送元データと演算データ記憶回路(
216)にあらかじめ格納されている演算データとの演
算処理を行なうものである。この演算処理の指定、及び
演算データ記憶装置に対する演算データの格納はDMA
動作に先立って行なっておく。また、転送データがデー
タバスのサイズよりも大きくて一度のリードサイクルで
完Tしない場合は、このリードサイクルを転送元データ
かすべて転送されるまで続ける。このとき、DMA制御
回路(211)は、リードサイクル毎に読み出す転送元
データを転送元アドレス制御回路(212)を制御する
ことにより逐次指定し、内蔵記憶回路(214)の格納
場所の内部アドレスを読み出し時内部アドレス制御回路
(217)を制御することにより逐次指定する。転送元
データを内蔵記憶回路(214)にすべて格納するとD
MA装置(2)は次に、転送先アドレス制御回路(21
3)を通して転送先アドレスを転送先装置に出力すると
同時に、DMA制御回路(211)が制御バス(8)を
通して転送先装置にデータ書き込み信号を送る。このと
き、書き込み時内部アドレス制御回路(218)は内蔵
記憶装置(214)に対して転送先装置に送出すべきデ
ータの格納アドレスを出力する。これにより内蔵記憶回
路(214)の内容は転送先アドレス制御回路(213
)で指定された転送先装置のデータ格納場所へ転送され
る(ライトサイクル)。また、転送データがデータバス
のサイズよりも大きクチー度のライトサイクルで完「し
ない場合は、このライトサイクルを内蔵記憶回路(21
4)に格納したデータかすべて転送されるまで続ける。
The DMA operation of a DMA device that is an embodiment of the present invention will be described below. At the beginning of the DMA operation, the DMA device (2)
outputs the source address to the source device through the source address control circuit (212), and at the same time, the DMA control circuit (211) sends a data read signal to the source device through the control bus (8). At this time, when reading, the internal address control circuit (217) is connected to the internal storage device (214).
Outputs the storage address of the transfer source data to. As a result, the transfer source data is transferred to the built-in storage device (214) in the DMA device (2) (read cycle). If it is necessary to perform an operation on the transferred data at the same time as the transfer, the operation is performed in the arithmetic processing circuit (215). The arithmetic processing circuit (215) performs bit-by-bit inversion processing of the transfer source data, or performs bit-by-bit inversion processing of the transfer source data and the arithmetic data storage circuit (215).
216) is used to perform arithmetic processing with the arithmetic data stored in advance. The designation of this calculation process and the storage of calculation data in the calculation data storage device are performed using DMA.
Do this before starting the operation. Furthermore, if the transferred data is larger than the data bus size and cannot be completed in one read cycle, this read cycle is continued until all the source data is transferred. At this time, the DMA control circuit (211) sequentially specifies the transfer source data to be read in each read cycle by controlling the transfer source address control circuit (212), and sets the internal address of the storage location of the built-in memory circuit (214). At the time of reading, the internal address control circuit (217) is controlled to specify sequentially. When all the transfer source data is stored in the built-in memory circuit (214), D
The MA device (2) then controls the transfer destination address control circuit (21
At the same time as outputting the transfer destination address to the transfer destination device through the control bus (8), the DMA control circuit (211) sends a data write signal to the transfer destination device via the control bus (8). At this time, the write internal address control circuit (218) outputs the storage address of the data to be sent to the transfer destination device to the built-in storage device (214). As a result, the contents of the built-in memory circuit (214) are transferred to the transfer destination address control circuit (213).
) is transferred to the data storage location of the destination device specified by (write cycle). In addition, if the transferred data cannot be completed in a write cycle with a degree larger than the data bus size, this write cycle is
Continue until all the data stored in 4) has been transferred.

このとき、DMA制御回路(211)は、ライトサイク
ル毎に転送先装置の書き込むべき場所のアドレスを転送
先アドレス制御回路(213)を制御することにより逐
次指定し、内蔵記憶回路(214)に格納された転送元
データの格納場所の内部アドレスを書き込み時内部アド
レス制御回路(218)を制御することにより逐次指定
する。内蔵記憶回路(214)の格納データを転送先装
置にすべて転送するとDMA動作が終了する。
At this time, the DMA control circuit (211) sequentially specifies the address of the write location in the transfer destination device for each write cycle by controlling the transfer destination address control circuit (213), and stores it in the built-in storage circuit (214). The internal address of the storage location of the transferred source data is sequentially designated by controlling the internal address control circuit (218) during writing. The DMA operation ends when all data stored in the built-in storage circuit (214) is transferred to the destination device.

このDMA装置(2)のDMA、8作フローを第5図に
示す。
FIG. 5 shows the flow of eight DMA operations of this DMA device (2).

上記動作により、転送元装置からのデータ転送ならびに
転送先装置へのデータ転送は一括して行なうことができ
て、転送元装置および転送先装置の占有時間を最小にす
ることができる。また、転送と同時に演算処理が実施で
きるようになる。
By the above operation, data transfer from the transfer source device and data transfer to the transfer destination device can be performed at once, and the time occupied by the transfer source device and the transfer destination device can be minimized. Furthermore, calculation processing can be performed simultaneously with the transfer.

つぎに、転送元データが同一の場合のDMA動作につい
て説明する。第7図は、転送元装置の1個のデータを転
送先装置のn個の記憶場所へ転送する場合のDMA動作
フローである。データのサイズはデータバスのサイズと
同一とし、1回のリードサイクルないしライトサイクル
で1個のデータか転送されるものとする。この場合、リ
ードサイクルは転送先データが1個のため一度だけ実施
される。リードサイクル完了ののち、ライトサイクルが
n回繰り返される。このとき、書き込み時内部アドレス
制御回路(218)から内蔵記憶回路(214)喝力さ
れる内部アドレスは固定され、転送先アドレス制御回路
(213)からの転送先アドレスは、ライトサイクル毎
に逐次指定される。従来のDMA装置ではリードサイク
ルはn回実施されるのに対して、この動作では1回で済
むため、DMA転送全体としてリードサイクル時間n−
1回分の時間短、縮が図られる。
Next, a DMA operation when the transfer source data are the same will be explained. FIG. 7 is a DMA operation flow when one piece of data in a transfer source device is transferred to n storage locations in a transfer destination device. It is assumed that the data size is the same as the data bus size, and one piece of data is transferred in one read cycle or write cycle. In this case, the read cycle is executed only once because there is only one piece of transfer destination data. After the read cycle is completed, the write cycle is repeated n times. At this time, the internal address that is applied to the built-in storage circuit (214) from the internal address control circuit (218) during writing is fixed, and the transfer destination address from the transfer destination address control circuit (213) is specified sequentially for each write cycle. be done. In conventional DMA devices, read cycles are performed n times, but with this operation, only one read cycle is required, so the read cycle time for the entire DMA transfer is n-
This will shorten the time required for one session.

さらに、複数のデータで構成される転送元ブロックデー
タを複数の転送先ブロックデータとして転送される場合
の動作について説明する。第8図は、n個のデータで構
成される転送元ブロックデータを複数の転送先ブロック
へ転送する場合のDMA 0作フローである。DMA動
作開始後、n回のリードサイクルの実行により転送元装
置のブロックデータが内蔵記憶回路(214) K転送
される。リードサイクル完了ののち、書き込み時内部ア
ドレス制御回路(218)には内蔵記憶回路(214)
に格納されたブロックデータの先頭アドレスが設定され
、また転送先アドレス制御回路(213)には転送先装
置の第一番目のブロックの先頭アドレスが設定されて、
第一番目のブロックに対するライトサイクルにはいる。
Furthermore, an explanation will be given of an operation when source block data consisting of a plurality of pieces of data is transferred as a plurality of pieces of destination block data. FIG. 8 is a DMA 0 operation flow when transferring source block data consisting of n pieces of data to a plurality of destination blocks. After the DMA operation starts, the block data of the transfer source device is transferred to the built-in storage circuit (214) by executing n read cycles. After the read cycle is completed, the internal address control circuit (218) for writing uses the built-in memory circuit (214).
The start address of the block data stored in the transfer destination device is set, and the start address of the first block of the transfer destination device is set in the transfer destination address control circuit (213).
A write cycle for the first block is entered.

転送先装置の第一番目のブロックに対して、書き込み時
内部アドレス制御回路(218)の内部アドレスと転送
先アドレス制御回路(213)の転送先アドレスを逐次
変更しながら、ライトサイクルをn回実施することで、
転送先装置の第一番目のブロックデータの転送か完了す
る。続いて、書き込み時内部アドレス制御回路(218
) K内蔵記憶回路(214)に格納されたブロックデ
ータの先頭アドレスが再び設定され、また転送先アドレ
ス制御回路(213)には転送先装置の第二番目のブロ
ックの先頭アドレスが設定されて、第二番目のブロック
に対するライトサイクルが実施される。以下同様に、最
終ブロックまでライトサイクルが繰り返され、最終ブロ
ックの最終データの転送が完TするとDMA動作が終了
する。従来のDMA装置では転送先ブロック毎にリード
サイクルがn回実施されるのに対して、この動作では転
送元ブロックデータに対するn回のリードサイクルが一
度で済むため、DMA転送全体として大幅な時間短縮が
図られる。
Perform a write cycle n times on the first block of the transfer destination device while sequentially changing the internal address of the write internal address control circuit (218) and the transfer destination address of the transfer destination address control circuit (213). by doing,
The transfer of the first block data of the transfer destination device is completed. Next, the write internal address control circuit (218
) The start address of the block data stored in the K built-in storage circuit (214) is set again, and the start address of the second block of the transfer destination device is set in the transfer destination address control circuit (213), A write cycle for the second block is performed. Similarly, the write cycle is repeated until the final block, and when the transfer of the final data of the final block is completed, the DMA operation ends. In conventional DMA devices, read cycles are performed n times for each transfer destination block, but with this operation, n read cycles are only required once for the transfer source block data, significantly reducing the overall DMA transfer time. is planned.

〔発明の効果〕〔Effect of the invention〕

以上のように、この発明によればリードサイクルおよび
ライトサイクルを一括して行なうことができるため、転
送元装置ないし転送先装置の占有時間を最小にすること
ができ、システム全体としてのスルーブツト向上に効果
がある。
As described above, according to the present invention, since read cycles and write cycles can be performed at once, the time occupied by the transfer source device or the transfer destination device can be minimized, and the throughput of the entire system can be improved. effective.

また、同一データないしブロックデータのDMA転送に
おいて、リードサイクルの実行か上記のように最小で済
ませられるため、DMA転送時間の短縮が図られる。
Further, in the DMA transfer of the same data or block data, the read cycle can be executed with a minimum number as described above, so that the DMA transfer time can be shortened.

さらに、演算処理装置を設けたことで、DMA転送と同
時に転送データの演算処理が可能となった。
Furthermore, by providing an arithmetic processing device, it is possible to perform arithmetic processing on transferred data simultaneously with DMA transfer.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はこの発明の一実施例における内部構成図、第2
図はDMA装置を用いたシステム構成図、第6図は従来
装置におけるデータバスのサイズにの一実施例における
データバスのサイズに相当す施例における複数のデータ
で構成される転送元ブ第1図において(211)はDM
A制御回路、(212)は転送元アドレス制御回路、(
213)は転送先アドレス制御回路、(214)は内蔵
記憶回路、(215)は演算処理回路、(216)は演
算データ記憶回路、(217)は読み出し時内部アドレ
ス制御回路、(218)は書き込み時内部アドレス制御
回路であり、また+61 ハフ’−タバス、(7)はア
ドレスバス、(8)は制御バスである。 第2図において(1)は中央情報処理袋fl (CPU
)、(2)は直接メモリアクセス装置(DMA装置) 
、+31は主記憶装置、(4)は入力装置、(5)は出
力装置、(6)はデータバス、(7)はアドレスバス、
(8)は制御バスであり、また@lIは主記憶装置(2
)内の転送元記憶領域、64は主記憶装置(2)内の転
送先記憶領域である。 第3図において(221)はDMA制御回路、(222
)は転送元アドレス制御回路、(223)は転送先アド
レス回路、(224)はテンポラリレジスタであり、ま
た(6)はデータバス、(7)はアドレスバス、+81
 ハ制御バスである。 なお、図中、同一符号は同一、又は相当部分を示す。
FIG. 1 is an internal configuration diagram of an embodiment of the present invention, and FIG.
The figure is a system configuration diagram using a DMA device, and FIG. In the figure (211) is DM
A control circuit, (212) is the transfer source address control circuit, (
213) is a transfer destination address control circuit, (214) is a built-in memory circuit, (215) is an arithmetic processing circuit, (216) is an arithmetic data storage circuit, (217) is an internal address control circuit for reading, and (218) is a writing circuit. (7) is an address bus, and (8) is a control bus. In Figure 2, (1) is the central information processing bag fl (CPU
), (2) are direct memory access devices (DMA devices)
, +31 is the main memory, (4) is the input device, (5) is the output device, (6) is the data bus, (7) is the address bus,
(8) is the control bus, and @lI is the main memory (2
) is the transfer source storage area, and 64 is the transfer destination storage area in the main storage device (2). In FIG. 3, (221) is a DMA control circuit, (222)
) is a transfer source address control circuit, (223) is a transfer destination address circuit, (224) is a temporary register, (6) is a data bus, (7) is an address bus, +81
It is a control bus. In addition, in the figures, the same reference numerals indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】 1、中央情報処理装置を介さずに、周辺装置と主記憶装
置間のデータ転送、もしくは該主記憶装置内の異なる記
憶領域間のデータ転送を制御する直接メモリアクセス(
DMA)制御装置において、該周辺装置ないし該主記憶
装置からの転送元データを一時格納するための一時記憶
手段を内蔵し、かつ該転送元データを該一時記憶手段に
転送する読み出し動作と、該一時記憶手段に格納された
データを該周辺装置ないし該主記憶装置に転送する書き
込み動作を行ない、一回ないし複数回の連続した読み出
し動作と、一回ないし複数回の連続した書き込み動作を
行なうことで、該周辺装置ないし該主記憶装置の一つな
いし複数の記憶領域に対する連続したデータ転送を制御
するための制御手段を内蔵することを特徴とする半導体
集積回路。 2、前記第1項の請求範囲において、該転送元データと
の演算を行なうための演算データを格納する記憶手段を
内蔵し、かつデータ転送と同時に、該転送元データの反
転ないし該記憶手段に格納された該演算データとの算術
ないし論理演算を行なうための制御手段を内蔵すること
を特徴とする半導体集積回路。
[Claims] 1. Direct memory access (controlling data transfer between a peripheral device and a main memory device, or data transfer between different storage areas within the main memory device, without going through a central information processing unit)
A DMA) control device includes a built-in temporary storage means for temporarily storing transfer source data from the peripheral device or the main storage device, and a read operation for transferring the transfer source data to the temporary storage means; Performing a write operation to transfer data stored in the temporary storage means to the peripheral device or the main memory, and performing one or more consecutive read operations and one or more consecutive write operations. A semiconductor integrated circuit comprising a control means for controlling continuous data transfer to one or more storage areas of the peripheral device or the main memory device. 2. In the scope of claim 1 above, the storage means for storing calculation data for performing calculations with the transfer source data is built-in, and at the same time as the data is transferred, the transfer source data is inverted or stored in the storage means. A semiconductor integrated circuit comprising a built-in control means for performing arithmetic or logical operations with the stored operation data.
JP27408890A 1990-10-11 1990-10-11 Semiconductor integrated circuit Pending JPH04209059A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27408890A JPH04209059A (en) 1990-10-11 1990-10-11 Semiconductor integrated circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27408890A JPH04209059A (en) 1990-10-11 1990-10-11 Semiconductor integrated circuit

Publications (1)

Publication Number Publication Date
JPH04209059A true JPH04209059A (en) 1992-07-30

Family

ID=17536815

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27408890A Pending JPH04209059A (en) 1990-10-11 1990-10-11 Semiconductor integrated circuit

Country Status (1)

Country Link
JP (1) JPH04209059A (en)

Similar Documents

Publication Publication Date Title
JPH0760423B2 (en) Data transfer method
US6272583B1 (en) Microprocessor having built-in DRAM and internal data transfer paths wider and faster than independent external transfer paths
JP6294732B2 (en) Data transfer control device and memory built-in device
JPH04209059A (en) Semiconductor integrated circuit
JPH05282242A (en) Bus control system
JP2985496B2 (en) DMA transfer method
JPH0646413B2 (en) Data processing processor
JPS62182857A (en) Input and output controller
JPH05120207A (en) Data transfer system
JP2594611B2 (en) DMA transfer control device
JP2821176B2 (en) Information processing device
US20050071576A1 (en) Data processing apparatus and system and method for controlling memory access
JPH08278939A (en) Method and device for data transfer
JPH01205259A (en) Block transfer circuit
JP2581144B2 (en) Bus control device
JPH0567035A (en) Data alignment system for dma transfer
JPH03214275A (en) Semiconductor integrated circuit
JPH07146839A (en) Dma circuit
JPH04346150A (en) Data transfer processing system
JPH01233515A (en) Information processor
JPS5983235A (en) Interface system between processors
JPS5979336A (en) Data transfer system
JPH0769885B2 (en) Data transfer device
JPS62145345A (en) Control system for direct memory access interval
JPH05313717A (en) Parallel arithemetic unit