JPH02201680A - Dma data transfer circuit - Google Patents

Dma data transfer circuit

Info

Publication number
JPH02201680A
JPH02201680A JP2148289A JP2148289A JPH02201680A JP H02201680 A JPH02201680 A JP H02201680A JP 2148289 A JP2148289 A JP 2148289A JP 2148289 A JP2148289 A JP 2148289A JP H02201680 A JPH02201680 A JP H02201680A
Authority
JP
Japan
Prior art keywords
signal
data
data transfer
dma
output
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
JP2148289A
Other languages
Japanese (ja)
Inventor
Tsunehiro Abe
阿部 常弘
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.)
Toshiba Corp
Toshiba Computer Engineering Corp
Original Assignee
Toshiba Corp
Toshiba Computer Engineering 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 Toshiba Corp, Toshiba Computer Engineering Corp filed Critical Toshiba Corp
Priority to JP2148289A priority Critical patent/JPH02201680A/en
Publication of JPH02201680A publication Critical patent/JPH02201680A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To execute data transfer at high speed by providing a FIFO (first in first out) memory to take in an ACK (acknowledge) signal with an EOP(end of process) signal outputted from a DMA (direct memory access) control circuit as a load clock, to generate and hold data including the information of a correspondent channel. CONSTITUTION:A DMA control circuit 1 outputs the ACK signal to permit the occupation of a system bus in correspondence to any one of the plural channels. Then, when the ACK signal is outputted several times to be set in advance for each channel by a counter 3, the EOP signal is outputted. A FIFO memory 2 takes in the ACK signal with the EOP signal as the load clock, generates the data including the information of the correspondent channel and holds these data. When a data read instruction is outputted to the FIFO memory 2, an OR signal is outputted to promote prescribed interruption processing to a peripheral device in a transfer destination and the held data are transferred to the peripheral device. Thus, it can be easily confirmed with channel the generation of the interruption corresponds to. Then, a data transfer speed can be improved.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、システムの主記憶と、例えば磁気ディスク装
置等の周辺装置との間の高速データ転送を実現するため
用いられるDMAデータ転送回路に関する。
[Detailed Description of the Invention] [Object of the Invention] (Industrial Application Field) The present invention is used to realize high-speed data transfer between the main memory of a system and a peripheral device such as a magnetic disk device. This invention relates to a DMA data transfer circuit.

(従来の技術) 従来から、システムの主記憶と周辺装置との間の高速デ
ータ転送を実現するためのデータ転送方式として、D 
M A (direct memory acsess
)方式が知られている。
(Prior Art) Conventionally, D
M A (direct memory access
) method is known.

このDMA方式による高速データ転送の制御は次のよう
に行われる。
Control of high-speed data transfer using this DMA method is performed as follows.

まず、周辺装置からの要求(リクエスト)により、DM
A制御回路は、CPUに対しシステムバスを解放するよ
う要求する。これにより周辺装置がバスの使用権を獲得
すると、主記憶に対するアドレスを出力してデータを主
記憶から読出し、バスの使用を許可する ACK (ア
クノリッジ)信号を周辺装置に出力してバス上のデータ
を取込むよう指示する。これにより、主記憶」二の記憶
データが周辺装置に転送される。
First, in response to a request from a peripheral device, DM
The A control circuit requests the CPU to release the system bus. When the peripheral device acquires the right to use the bus, it outputs the address to the main memory, reads the data from the main memory, and outputs an ACK (acknowledge) signal to the peripheral device, allowing it to use the bus. Instruct them to import. As a result, the data stored in the main memory is transferred to the peripheral device.

このような動作において、上述したACK信号は、予め
カウンタに設定された回数たけ連続して出力されるよう
になっており、その最終出力に応じてDMA制御回路か
ら周辺装置に対し一連の処理の終了を示すIEOP(エ
ンド・オブ・プロセス)信号が出力されるようになって
いる。
In such an operation, the above-mentioned ACK signal is outputted consecutively the number of times set in the counter in advance, and depending on the final output, the DMA control circuit sends a series of processing to the peripheral device. An IEOP (end of process) signal indicating completion is output.

ところで、DMA制御回路のEOP信号の出力端は、周
辺装置における割り込みラインに直結されており、周辺
装置はそのEOP信号の入力に応じて所定の割り込み処
理を開始するようなされている。
Incidentally, the output end of the EOP signal of the DMA control circuit is directly connected to an interrupt line in a peripheral device, and the peripheral device starts a predetermined interrupt process in response to input of the EOP signal.

したがって、ACK信号を複数のチャネルで使用するよ
う構成されたシステムでは、EOP信号の入力による割
り込みの発生がどのチャネルに対応するものかを容易に
判断するために、各ACK信号出力に対応するカウンタ
の値をそれぞれ読取る必要があった。
Therefore, in a system configured to use the ACK signal in multiple channels, a counter corresponding to each ACK signal output is used to easily determine which channel the interrupt caused by the input of the EOP signal corresponds to. It was necessary to read the values of each.

(発明が解決しようとする課題) このように、従来からのDMAデータ転送回路では、シ
ステムハスの専有を許可するためのACK信号を複数の
チャネルに対して使用する場合においての充分な高速デ
ータ転送が困難であった。
(Problems to be Solved by the Invention) As described above, in the conventional DMA data transfer circuit, sufficient high-speed data transfer is required when the ACK signal for permitting exclusive use of the system lot is used for multiple channels. was difficult.

またDMA制御回路を多数組込んでシステムを構成した
場合、EOP信号だけで割り込みラインを専有してしま
うおそれもあった。
Furthermore, when a system is constructed by incorporating a large number of DMA control circuits, there is a risk that the EOP signal alone may monopolize the interrupt line.

因みに、前述した条件下で、高速データ転送を実現でき
、併せてEOP信号による専有割り込みラインを単一化
できる回路としては、例えば第4図に示すようなものが
挙げられるが、これでは、非常に多くの部品点数を要し
、かつ配線の接続もかなり複雑であるため実用的でなか
った。
Incidentally, an example of a circuit that can realize high-speed data transfer under the conditions described above and also unify the dedicated interrupt line using the EOP signal is the one shown in Figure 4, but this is extremely difficult. It was impractical because it required a large number of parts and the wiring connections were quite complicated.

本発明は上記した課題を解決するためのもので、複数の
チャネルのいずれかに対応してDMAデータ転送を行う
場合においても、簡単な構成で、周辺装置においての割
り込みの発生がどのチャネルに対応するものかを容易に
確認することができ、データ転送速度の向上化を図れる
DMAデータ転送回路の提供を目的としている。
The present invention is intended to solve the above-mentioned problems, and even when performing DMA data transfer corresponding to any one of a plurality of channels, the present invention has a simple configuration, and allows generation of an interrupt in a peripheral device to correspond to which channel. The object of the present invention is to provide a DMA data transfer circuit that can easily confirm whether the data is being transferred and improve the data transfer speed.

[発明の構成コ (課題を解決するための手段) 本発明のDMAデータ転送回路は上記したl」的を達成
するために、複数のチャネルのいずれかに対応してシス
テムバスの専有を5!1可する第1の信号を出力し、か
つこの第1の信号か前記各チャネル毎に予め設定された
回数連続的に出力されたとき、第2の信号を出力するD
MA制御回路と、このDMA制御回路から出力された前
記第2の信号をロードクロックとして該DMA制御回路
から出力された前記第1の信号を取込み、この信号から
対応する前記チャネルの情報を含んだデータを生成保持
するFIFOメモリとを備え、データ読出し指令により
、前記FIFOメモリから、ブタ転送先の周辺装置に対
し、所定の割り込み処理を促す第3の信号を前記FIF
Oメモリに保持されたデータとともに出力するようにし
たものである。
[Structure of the Invention (Means for Solving the Problems)] In order to achieve the above-mentioned object, the DMA data transfer circuit of the present invention monopolizes the system bus in accordance with any one of a plurality of channels. 1, and when this first signal is continuously output a preset number of times for each channel, outputs a second signal.
an MA control circuit; and the first signal output from the DMA control circuit is taken in using the second signal output from the DMA control circuit as a load clock, and information about the corresponding channel is included from this signal. A FIFO memory that generates and holds data, and in response to a data read command, a third signal is sent from the FIFO memory to the peripheral device to which the data is transferred, prompting the peripheral device to perform a predetermined interrupt process.
It is designed to be output together with the data held in O memory.

(作 用) 本発明のDMAデータ転送回路の作用を説明)康る。ま
ず、DMA制御回路は、複数のチャネルのいずれかに対
応してシステムバスの専有を許可する第1の信号を出力
し、この第1の信号が前記各チャネル毎に予め設定され
た回数出力されたとき、第2の信号を出力する。
(Function) Explanation of the function of the DMA data transfer circuit of the present invention). First, the DMA control circuit outputs a first signal that permits exclusive use of the system bus in correspondence with one of the plurality of channels, and this first signal is output a preset number of times for each channel. When this occurs, a second signal is output.

FIFOメモリは、その第2の信号をロードクロックと
してDMA制御回路から出力された第1の信号を取込み
、そしてこの信号から対応するチャネルの情報を含んだ
データを生成し、これを保持する。
The FIFO memory takes in the first signal output from the DMA control circuit using the second signal as a load clock, generates data containing information of the corresponding channel from this signal, and holds this.

この後、FIFOメモリに対しデータ読出し指令が出力
されると、前記FIFOメモリからデルタ転送先の周辺
装置に対し所定の割り込み処理を促す第3の信号が出力
され、これに伴ってPIFOメモリに保持されたデータ
が周辺装置に転送される。
After that, when a data read command is output to the FIFO memory, a third signal is output from the FIFO memory to prompt the peripheral device of the delta transfer destination to perform a predetermined interrupt process. data is transferred to the peripheral device.

したがって、この発明によれば、複数のチャネルのいず
れかに対応してDMAデータ転送を行う場合においても
、簡(11−な構成で、周辺装置においての割り込みの
発生がどのチャネルに対応するものかを容易に確認する
ことができ、データ転送速度の向上化を図ることが可能
となる。
Therefore, according to the present invention, even when performing DMA data transfer corresponding to one of a plurality of channels, it is possible to easily determine which channel an interrupt in a peripheral device corresponds to. It is possible to easily check the data transfer rate, and it is possible to improve the data transfer speed.

(実施例) 以下、本発明の一実施例を図面に基づいて説明する。(Example) Hereinafter, one embodiment of the present invention will be described based on the drawings.

第1図は本発明に係る一実施例のDMAデータ転送回路
の構成を説明するための図である。
FIG. 1 is a diagram for explaining the configuration of a DMA data transfer circuit according to an embodiment of the present invention.

同図において、1はシステムの主記憶と周辺装置との間
のDMAデータ転送を制御するDMA制御回路、2はD
MA制御回路1と周辺装置との間に介挿されたF I 
F O(first in Nrst out)メモリ
を示している。
In the figure, 1 is a DMA control circuit that controls DMA data transfer between the main memory of the system and peripheral devices, and 2 is a D
FI inserted between MA control circuit 1 and peripheral devices
FO (first in Nrst out) memory is shown.

DMA制御回路1は、複数のチャネルのいずれかに対応
して、システムバスの専有を周辺装置に対し許可するた
めのACK (アクノリッジ)信号を出力するようなさ
れている。またこのDMA制御回路1には、各チャネル
毎のACK信号出力にそれぞれ対応するカウンタ3が備
えられており、ACK信号は、対応するカウンタ3にお
いて予め設定された回数(カウントダウンて「0コにな
るまで)連続して出力され、その最終出力に応じてEO
P(エンド・オブ・プロセス)信号が出力されるように
なっている。さらにこのEOPOR信号インバタ4を介
してFIFOメモリ2のロード・クロック端子に入力さ
れるようになっている。
The DMA control circuit 1 is configured to output an ACK (acknowledge) signal for granting exclusive use of the system bus to a peripheral device, corresponding to one of a plurality of channels. The DMA control circuit 1 is also equipped with a counter 3 corresponding to the ACK signal output of each channel, and the ACK signal is outputted by the corresponding counter 3 a preset number of times (counts down until it reaches 0). ) is output continuously, and EO is output according to the final output.
A P (end of process) signal is output. Further, this EOPOR signal is inputted to the load clock terminal of the FIFO memory 2 via the inverter 4.

第2図はこの実施例回路における動作タイミングを示し
ている。
FIG. 2 shows the operation timing in this embodiment circuit.

同図に示すように、この実施例では、上記したロード・
クロックの立ち上りに同期して、DMA制御回路1から
のACK信号がFIFOメモリ2のデータ入力保持部5
に入力され、対応するチャネルの情報を含んだデータと
して保持される。
As shown in the figure, in this embodiment, the above load
In synchronization with the rising edge of the clock, the ACK signal from the DMA control circuit 1 is sent to the data input holding section 5 of the FIFO memory 2.
is input into the channel and retained as data containing information on the corresponding channel.

このFIFOメモリ2のデータ入力保持部5に保持され
たデータは、CPUからFIFOメモリ2のUNCKI
N入力端およびOE (アウト・プツト・イネーブル)
入力端へのREAD信号の入力に応じて周辺装置に出力
される。
The data held in the data input holding unit 5 of the FIFO memory 2 is transferred from the CPU to the UNCKI of the FIFO memory 2.
N input terminal and OE (output enable)
The signal is output to the peripheral device in response to the input of the READ signal to the input terminal.

一方、FIFOメモリ2のOR(アウト・プツト・リー
ド)出力端は周辺装置の割り込みラインと接続されてお
り、CPUからFIFOメモリ2にREAD信号が入力
されることにより、FIFOメモリ2から周辺装置に対
し所定の割り込み処理を促すOR信号が出力される。
On the other hand, the OR (output read) output terminal of the FIFO memory 2 is connected to the interrupt line of the peripheral device, and when the READ signal is input from the CPU to the FIFO memory 2, the output terminal from the FIFO memory 2 is connected to the peripheral device. In contrast, an OR signal is output that prompts a predetermined interrupt process.

こうして周辺装置において所定の割り込み処理が開始さ
れる。この時、FIFOメモリ2のブタ入力保持部5か
ら先入れ先出し方式で出力されたデータから、割り込み
の発生がどのチャネルに対応するものであるかが判断さ
れる。
In this way, predetermined interrupt processing is started in the peripheral device. At this time, it is determined to which channel the occurrence of the interrupt corresponds based on the data output from the pig input holding section 5 of the FIFO memory 2 in a first-in, first-out manner.

すなイつち、第2図に示す如く、 1番1−1に発生し
た割り込みは、F工FOメモリ2から 1番目に出力さ
れたデータがrFBI(Jであることから(ACK2)
によるもの、2番目に発生した割り込みは、FIFOメ
モリ2から 2番目に出力されたデータがrFEl(J
であることから(ACKO)によるものと判断される。
In other words, as shown in Fig. 2, the interrupt that occurred at No. 1 1-1 is (ACK2) because the first data output from FO memory 2 is rFBI (J).
The second interrupt that occurs is caused by the second data output from FIFO memory 2 being rFE1(J
Therefore, it is determined that this is due to (ACKO).

かくしてこの実施例によれば、周辺装置においての割り
込みの発生がどのチャネルに対応するものかを容易に確
認することができ、この結果、データ転送の高速化を図
ることができる。しかも、本実施例装置と同等の機能を
有する従来の回路(第4図参照)と比べ、部品点数は少
なくて済み、接続も容易となるため、極めて実用的なり
MAデタ転送回路を構成することができる。
Thus, according to this embodiment, it is possible to easily confirm which channel the occurrence of an interrupt in a peripheral device corresponds to, and as a result, it is possible to increase the speed of data transfer. Moreover, compared to a conventional circuit (see Figure 4) that has the same function as the device of this embodiment, the number of parts is smaller and the connections are easier, making it extremely practical to construct an MA data transfer circuit. Can be done.

なお、上述した実施例では1つのDMA制御回路を用い
てDMAデータ転送回路を構成しているが、複数のDM
A制御回路を用いた場合においても、本発明を同様に用
いることができる。
Note that in the embodiment described above, the DMA data transfer circuit is configured using one DMA control circuit, but the DMA data transfer circuit is configured using one DMA control circuit.
The present invention can be similarly applied even when the A control circuit is used.

例えば、第3図に示すように、複数のDMA制御回路1
]の各ACK信号出力端をFIFOメモリ12のデータ
入力保持部13と、各DMA制御回路11のEOP信号
出力端をOR回路14を介してFIFOメモリ12のロ
ード・クロック端子と、さらに、各DMA制御回路11
のAEN信号出力端を2つずつNOR回路15を介して
FIFOメモリ12のデータ入力保持部13とそれぞれ
接続することにより、上述した実施例と同等の機能を持
つDMAデータ転送回路を構築することができる。
For example, as shown in FIG.
] to the data input holding unit 13 of the FIFO memory 12, the EOP signal output terminal of each DMA control circuit 11 to the load/clock terminal of the FIFO memory 12 via the OR circuit 14, and Control circuit 11
By connecting the AEN signal output terminals of two each to the data input holding section 13 of the FIFO memory 12 via the NOR circuit 15, it is possible to construct a DMA data transfer circuit having the same function as the embodiment described above. can.

しかもこの場合、複数のDMA制御回路11を用いても
専有する割り込みラインは1本で済む。
Moreover, in this case, even if a plurality of DMA control circuits 11 are used, only one interrupt line is used exclusively.

[発明の効果] 以上説明したように本発明のDMAデータ転送回路によ
れば、複数のチャネルに対応してDMAデータ転送を行
う場合においても、簡単な構成で、周辺装置においての
割り込みの発生がとのチャネルに対応するものかを容易
に確認することができ、データ転送速度の向上化を図る
ことができる。
[Effects of the Invention] As explained above, according to the DMA data transfer circuit of the present invention, even when performing DMA data transfer corresponding to a plurality of channels, the occurrence of interrupts in peripheral devices can be prevented with a simple configuration. It is possible to easily check whether the channel is compatible with the other channel, and it is possible to improve the data transfer speed.

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

第1図は本発明に係る一実施例のDMAデータ転送回路
の構成を説明するための回路図、第2図は第1図のDM
Aデータ転送回路における動作タイミングを示す図、第
3図は本発明の他の実施例を説明するための回路図、第
4図は第1図あるいは第2図のDMAデータ転送回路と
同等の機能を持つ従来のDMAデータ転送回路の構成を
示す回路図である。 1・・・DMA制御回路 2・・・FIFOメモリ 3・・・カウンタ 4・・・インバータ 5・・・データ入力保持部。 1 ]
FIG. 1 is a circuit diagram for explaining the configuration of a DMA data transfer circuit according to an embodiment of the present invention, and FIG. 2 is a DM data transfer circuit shown in FIG.
A diagram showing the operation timing in the data transfer circuit, FIG. 3 is a circuit diagram for explaining another embodiment of the present invention, and FIG. 4 shows the same function as the DMA data transfer circuit in FIG. 1 or 2. 1 is a circuit diagram showing the configuration of a conventional DMA data transfer circuit having the following configuration. 1...DMA control circuit 2...FIFO memory 3...Counter 4...Inverter 5...Data input holding unit. 1]

Claims (1)

【特許請求の範囲】[Claims] (1)複数のチャネルのいずれかに対応してシステムバ
スの専有を許可する第1の信号を出力し、かつこの第1
の信号が前記各チャネル毎に予め設定された回数連続的
に出力されたとき、第2の信号を出力するDMA制御回
路と、 このDMA制御回路から出力された前記第2の信号をロ
ードクロックとして該DMA制御回路から出力された前
記第1の信号を取込み、この信号から対応する前記チャ
ネルの情報を含んだデータを生成保持するFIFOメモ
リとを備え、 データ読出し指令により、前記FIFOメモリから、デ
ータ転送先の周辺装置に対し所定の割り込み処理を促す
第3の信号を、前記FIFOメモリに保持されたデータ
とともに出力するようにしたことを特徴とするDMAデ
ータ転送回路。
(1) Output a first signal that permits exclusive use of the system bus corresponding to one of the plurality of channels, and
a DMA control circuit that outputs a second signal when the signal is continuously output a preset number of times for each channel, and the second signal output from the DMA control circuit is used as a load clock. a FIFO memory that captures the first signal output from the DMA control circuit and generates and holds data including information of the corresponding channel from this signal, and reads data from the FIFO memory in response to a data read command. A DMA data transfer circuit characterized in that a third signal prompting a transfer destination peripheral device to perform predetermined interrupt processing is output together with data held in the FIFO memory.
JP2148289A 1989-01-31 1989-01-31 Dma data transfer circuit Pending JPH02201680A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2148289A JPH02201680A (en) 1989-01-31 1989-01-31 Dma data transfer circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2148289A JPH02201680A (en) 1989-01-31 1989-01-31 Dma data transfer circuit

Publications (1)

Publication Number Publication Date
JPH02201680A true JPH02201680A (en) 1990-08-09

Family

ID=12056192

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2148289A Pending JPH02201680A (en) 1989-01-31 1989-01-31 Dma data transfer circuit

Country Status (1)

Country Link
JP (1) JPH02201680A (en)

Similar Documents

Publication Publication Date Title
JPH02201680A (en) Dma data transfer circuit
US6105082A (en) Data processor used in a data transfer system which includes a detection circuit for detecting whether processor uses bus in a forthcoming cycle
JPH04323755A (en) Dma device
JP3206910B2 (en) DMA transfer method
JP2667285B2 (en) Interrupt control device
KR100448930B1 (en) Computer for preferably processing an interrupt of a device connected to a pci bus, concerned with increasing the processing speed of the entire system by preferably handling interrupt request signals of devices located on the pci bus
JPH0736806A (en) Dma system
JP2747154B2 (en) I / O processor
JPH0773136A (en) Operation method for computer system
JPS6220041A (en) Asynchronous data transfer circuit for data processor
JPH0311848A (en) Communication controller
JPS59220823A (en) Interface control system
JPH04302346A (en) Multiprocessor system
JPS61187058A (en) Data transfer system
JPS63300346A (en) Dma control system
JPH03282669A (en) Inter-cpu interface circuit
JPS61250762A (en) Data transmission equipment
JPS63257856A (en) Serial communication system
JPH0240754A (en) Dma unit
KR19980044600A (en) Multiple Interrupt Controls and Methods for Sequential PCI Buses
JPH01304568A (en) Data read system for process output device
JPS63187943A (en) Communication control equipment
JPH0869382A (en) Semiconductor device
JPH0573484A (en) Information processing system
JPH03276218A (en) Electronic circuit controller