JPS61250762A - Data transmission equipment - Google Patents

Data transmission equipment

Info

Publication number
JPS61250762A
JPS61250762A JP9111285A JP9111285A JPS61250762A JP S61250762 A JPS61250762 A JP S61250762A JP 9111285 A JP9111285 A JP 9111285A JP 9111285 A JP9111285 A JP 9111285A JP S61250762 A JPS61250762 A JP S61250762A
Authority
JP
Japan
Prior art keywords
data transfer
data transmission
interrupt
circuit
transfer device
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
JP9111285A
Other languages
Japanese (ja)
Inventor
Koji Muramoto
村本 浩司
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP9111285A priority Critical patent/JPS61250762A/en
Publication of JPS61250762A publication Critical patent/JPS61250762A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To start immediately the necessary data transmission without in terrupting a microprogram and to prevent the occurrence of over-run by interpreting the type of interruption in terms of hard ware when other data transmission equipment interrupts. CONSTITUTION:When the other data transmission equipment 2 interrupts in order to start a command chain, a parameter outputted by an interruption accepting circuit 5 equals the one set to an expectation register 7. When the coincidence of both parameters are is detected by a comparator 6, a coincidence signal occurs. Said signal is inputted to a gate circuit 8 through a signal line 18 to cause the gate circuit 8 inoperable. When the gate circuit 8 is inoperable, a CCW address set to a control information buffer 9 is outputted to a data transmission circuit 4. As a result, the CCW address is given to the data transmission circuit 4, and the CCW is transferred to other data transmission equipment 2 from a main memory device 3.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はデータ転送装置に関し、特にマイクロプログラ
ムによって制御されるデータ転送装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data transfer device, and particularly to a data transfer device controlled by a microprogram.

〔従来の技術〕[Conventional technology]

従来この種のデータ転送装置では他装置からの割込を検
出するとマイクロプログラムに対して割ilQ生し、マ
イクロプログラムによって割込種別が解釈された後に処
理が行われていた。例えば他装置からの割込によってデ
ータ転送が開始される場合でも、一度マイクロプログラ
ムへ割込み、マイクロプログラムによって割込種別が解
釈された後にデータ転送の−始が指示されていた。
Conventionally, in this type of data transfer device, when an interrupt from another device is detected, an interrupt is generated to the microprogram, and processing is performed after the interrupt type is interpreted by the microprogram. For example, even when data transfer is started by an interrupt from another device, the microprogram is once interrupted, the interrupt type is interpreted by the microprogram, and then the start of data transfer is instructed.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

このためデータ転送に必要なデータアドレスといった制
御情報がすでに用意されている場合にも、マイクロプロ
グラムが他の処理を行っている場合には割込の受付けが
待たされ、データ転送が遅れるためにオーバランが発生
しやすいという欠点があった。
Therefore, even if the control information such as the data address necessary for data transfer is already prepared, if the microprogram is performing other processing, the acceptance of the interrupt will have to wait, delaying the data transfer and causing an overrun. The disadvantage was that it was easy for this to occur.

〔問題点を解決するための手段〕[Means for solving problems]

本発明の目的は、以上の欠点を解決したデータ転送装置
を提供することにある。
An object of the present invention is to provide a data transfer device that solves the above drawbacks.

本発明は、マイクロプログラムによって制御されるデー
タ転送装置において、主記憶装置と他のデータ転送装置
との間でデータ転送を行う手段と、前記他のデータ転送
装置からの割込を受付けて割込の種別を示すパラメータ
を出力する手段と、マイクロプログラムにより所定の割
込の種別を示すパラメータを設定可能な第1の記憶手段
と、マイクロプログラムによりデータ転送に必要な制御
情報を設定可能な第2の記憶手段と、前記割込受付手段
が出力するパラメータと前記第1の記憶手段に設定され
ているパラメータとを比較する手段と、それらパラメー
タが一致したときに前記比較手段からの出力に応じて前
記第2の記憶手段に設定されている制御情報を前記デー
タ転送手段へ与える手段とを備え、前記主記憶装置と前
記他のデータ転送装置との間でデータ転送を行うことを
特徴としている。
The present invention provides, in a data transfer device controlled by a microprogram, a means for transferring data between a main storage device and another data transfer device, and a means for accepting an interrupt from the other data transfer device and interrupting the data transfer device. means for outputting a parameter indicating the type of interrupt, a first storage means capable of setting a parameter indicating the type of predetermined interrupt by a microprogram, and a second memory means capable of setting control information necessary for data transfer by a microprogram. storage means, means for comparing the parameters output by the interrupt accepting means and the parameters set in the first storage means, and a means for comparing the parameters output by the interrupt reception means with the parameters set in the first storage means, and when the parameters match, the method The apparatus is characterized in that it includes means for providing control information set in the second storage means to the data transfer means, and performs data transfer between the main storage device and the other data transfer device.

〔実施例〕〔Example〕

次に本発明の実施例を図面を参照して説明する。 Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例を示すブロック図である。こ
のデータ転送装置1は、他のデータ転送装置2と主記憶
装置3との間でデータ転送を行うデータ転送回路4を備
えており、主記憶装置3は信号線10.11を経てデー
タ転送回路4に接続され、他のデータ転送装置2は、信
号線12.13を経てデータ転送回路4に接続されてい
る。
FIG. 1 is a block diagram showing one embodiment of the present invention. This data transfer device 1 includes a data transfer circuit 4 that transfers data between another data transfer device 2 and a main memory device 3, and the main memory device 3 is connected to the data transfer circuit through signal lines 10 and 11. 4, and the other data transfer devices 2 are connected to the data transfer circuit 4 via signal lines 12.13.

データ転送装置1は、さらに、他のデータ転送2からの
割込を受付け、割込の種別を示す情報(パラメータ)を
出力する割込受付回路5を備えており、この割込受付回
路は信号線14を経て他のデータ転送装置2に接続され
ている。割込受付回路5は信号線15を経て比較器6の
一方の入力端子に接続され、比較器6の他方の入力端子
は信号線16を経て期待値レジスタ7に接続されている
The data transfer device 1 further includes an interrupt reception circuit 5 that accepts interrupts from other data transfers 2 and outputs information (parameters) indicating the type of interrupt. It is connected to another data transfer device 2 via a line 14. The interrupt acceptance circuit 5 is connected to one input terminal of a comparator 6 via a signal line 15, and the other input terminal of the comparator 6 is connected to an expected value register 7 via a signal line 16.

この期待値レジスタ12には、マイクロプログラムによ
って任意の値(パラメータ)が信号線17を通じて設定
される。
An arbitrary value (parameter) is set in this expected value register 12 through a signal line 17 by a microprogram.

比較器6は信号線18を経てゲート回路8に接続されて
おり、このゲート回路は信号線19を経てデータ転送回
路4に、信号線20を経て制御情報バッファ9に接続さ
れている。この制御情報バッファには、マイクロプログ
ラムによってデータアドレスといったデータ転送に必要
な制御情報が信号線21を通じて設定される。比較器6
は、割込受付回路5から出力されるパラメータと期待値
レジスタ7に設定されているパラメータとの比較を行い
、比較結果をゲート回路8に伝え、ゲート回路8が制御
情報バッファ9の内容をデータ転送回路4へ出力させ、
または抑止するのを制御する。
The comparator 6 is connected to a gate circuit 8 via a signal line 18, which is connected to the data transfer circuit 4 via a signal line 19, and to the control information buffer 9 via a signal line 20. Control information necessary for data transfer, such as a data address, is set in this control information buffer via a signal line 21 by a microprogram. Comparator 6
compares the parameters output from the interrupt reception circuit 5 with the parameters set in the expected value register 7, transmits the comparison result to the gate circuit 8, and the gate circuit 8 converts the contents of the control information buffer 9 into data. output to the transfer circuit 4,
or control to deter.

次に、以上のような構成のデータ転送装置の動作を説明
する。今、期待値レジスタ7にはマイクロプログラムに
よってコマンドチェインを開始するのに必要な割込を示
すパラメータが設定され、制御情報バッファ9にはコマ
ンドチェインにより実行されるCCWのアドレスが設定
されているものとする。割込受付回路5は、前述したよ
うに他のデータ転送装置2からの割込を受付けると、そ
の割込の種別を示すパラメータを信号線15へ出力する
。比較器6では、割込受付回路5の出力するパラメータ
と期待値レジスタ7に設定されているパラメータとを比
較する。
Next, the operation of the data transfer device configured as above will be explained. Now, a parameter indicating an interrupt necessary to start a command chain is set in the expected value register 7 by the microprogram, and the address of the CCW to be executed by the command chain is set in the control information buffer 9. shall be. When the interrupt receiving circuit 5 receives an interrupt from another data transfer device 2 as described above, it outputs a parameter indicating the type of the interrupt to the signal line 15. The comparator 6 compares the parameters output from the interrupt reception circuit 5 with the parameters set in the expected value register 7.

他のデータ転送装置2からコマンドチェインを開始する
ための割込が発生すると、割込受付回路5の出力するパ
ラメータは、期待値レジスタ7に設定されているパラメ
ータと等しくなり、比較器6によって両パラメータの一
致が検出されると、一致信号を発生する。この一致信号
は、信号線18を経てゲー回路8に入力され、ゲート回
路をイネーブルする。ゲート回路8がイネーブルされる
と、制御情報バッファ9に設定されているCCWアドレ
スがデータ転送回路4へ出力される。この結果、データ
転送回路4へはCCWアドレスが与えられ、CCWは主
記憶装置3から他のデータ転送装置2へ転送される。一
方、受付けた割込がコマンドチェインを開始するための
割込でなければ、割込受付回路5の出力は期待値レジス
タ7の内容とは一致しないため、比較器6は一致信号を
発生せず、したがってゲート回路8からは制御情報バッ
ファ9の内容は出力されない。
When an interrupt to start a command chain occurs from another data transfer device 2, the parameters output by the interrupt reception circuit 5 become equal to the parameters set in the expected value register 7, and the comparator 6 When a match of parameters is detected, a match signal is generated. This match signal is input to the gate circuit 8 via the signal line 18 and enables the gate circuit. When the gate circuit 8 is enabled, the CCW address set in the control information buffer 9 is output to the data transfer circuit 4. As a result, the CCW address is given to the data transfer circuit 4, and the CCW is transferred from the main storage device 3 to another data transfer device 2. On the other hand, if the accepted interrupt is not an interrupt for starting a command chain, the output of the interrupt acceptance circuit 5 does not match the contents of the expected value register 7, and therefore the comparator 6 does not generate a match signal. , therefore, the contents of the control information buffer 9 are not output from the gate circuit 8.

以上の実施例から明らかなように、他のデータ転送装置
からの割込によってデータ転送が行われる場合、マイク
ロプログラムへの割込、マイクロプログラムによる割込
種別の解釈は行われないので、マイクロプログラムが他
の処理を実行中であってもデータ転送を開始することが
できる。
As is clear from the above embodiments, when data transfer is performed by an interrupt from another data transfer device, the microprogram is not interrupted and the microprogram does not interpret the interrupt type. Data transfer can be started even when the computer is performing other processing.

以上、本発明の一実施例を説明したが、本発明はこの実
施例に限られるものではなく、本発明の範囲内で種々の
変形、変更が可能なことは勿論である。
Although one embodiment of the present invention has been described above, the present invention is not limited to this embodiment, and it goes without saying that various modifications and changes can be made within the scope of the present invention.

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

以上説明したように本発明のデータ転送装置は、他のデ
ータ転送装置からの割込があった場合、割込種別の解釈
をハード的に行うようにしているので、割込によるデー
タ転送において、マイクロプログラムが他の処理を実行
中であってもマイクロプログラムへ割込むことなく必要
なデータ転送をただちに開始することができ、オーバラ
ンの発生を防止することができるという利点がある。
As explained above, the data transfer device of the present invention interprets the interrupt type in hardware when there is an interrupt from another data transfer device. Even if the microprogram is executing other processing, necessary data transfer can be started immediately without interrupting the microprogram, and there is an advantage that overruns can be prevented from occurring.

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

第1図は本発明のデータ転送装置の一実施例を示すブロ
ック図である。 1・・・・・本発明のデータ転送装置 2・・・・・他のデータ転送装置 3・・・・・主記憶装置 4・・・・・データ転送回路 5・・・・・割込受付回路 6・・・・・比較器 7・・・・・期待値レジスタ 8・・・・・ゲート回路 9・・・・・制御情報バ・7フア 10〜21・信号線
FIG. 1 is a block diagram showing an embodiment of a data transfer device of the present invention. 1...Data transfer device of the present invention 2...Other data transfer device 3...Main storage device 4...Data transfer circuit 5...Interrupt reception Circuit 6...Comparator 7...Expected value register 8...Gate circuit 9...Control information buffer 7Furthers 10-21/Signal line

Claims (1)

【特許請求の範囲】[Claims] (1)マイクロプログラムによって制御されるデータ転
送装置において、主記憶装置と他のデータ転送装置との
間でデータ転送を行う手段と、前記他のデータ転送装置
からの割込を受付けて割込の種別を示すパラメータを出
力する手段と、マイクロプログラムにより所定の割込の
種別を示すパラメータを設定可能な第1の記憶手段と、
マイクロプログラムによりデータ転送に必要な制御情報
を設定可能な第2の記憶手段と、前記割込受付手段が出
力するパラメータと前記第1の記憶手段に設定されてい
るパラメータとを比較する手段と、それらパラメータが
一致したときに前記比較手段からの出力に応じて前記第
2の記憶手段に設定されている制御情報を前記データ転
送手段へ与える手段とを備え、前記主記憶装置と前記他
のデータ転送装置との間でデータ転送を行うことを特徴
とするデータ転送装置。
(1) In a data transfer device controlled by a microprogram, a means for transferring data between the main storage device and another data transfer device, and a means for accepting interrupts from the other data transfer device and processing the interrupts. means for outputting a parameter indicating the type of interrupt; a first storage means capable of setting a parameter indicating the type of predetermined interrupt by a microprogram;
a second storage means in which control information necessary for data transfer can be set by a microprogram; means for comparing parameters output by the interrupt reception means with parameters set in the first storage means; means for supplying the control information set in the second storage means to the data transfer means according to the output from the comparison means when the parameters match, the main storage device and the other data A data transfer device characterized by transferring data to and from a transfer device.
JP9111285A 1985-04-30 1985-04-30 Data transmission equipment Pending JPS61250762A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9111285A JPS61250762A (en) 1985-04-30 1985-04-30 Data transmission equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9111285A JPS61250762A (en) 1985-04-30 1985-04-30 Data transmission equipment

Publications (1)

Publication Number Publication Date
JPS61250762A true JPS61250762A (en) 1986-11-07

Family

ID=14017431

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9111285A Pending JPS61250762A (en) 1985-04-30 1985-04-30 Data transmission equipment

Country Status (1)

Country Link
JP (1) JPS61250762A (en)

Similar Documents

Publication Publication Date Title
US4504906A (en) Multiprocessor system
JPS60186956A (en) Buffer unit for input/output section of digital data processing system
JPS61250762A (en) Data transmission equipment
JP2643931B2 (en) Information processing device
JP2747154B2 (en) I / O processor
JPS61250736A (en) Data processing device
JP2581041B2 (en) Data processing device
JP3161174B2 (en) Key telephone equipment
JPS60168240A (en) Interrupt processing circuit
JPS61131154A (en) Data transfer control system
JP2667285B2 (en) Interrupt control device
JPS63153635A (en) Specification system for data transfer speed
JPS61223965A (en) Data transfer circuit
JPH01233544A (en) Data transfer system
JPH04138555A (en) Parallel type digital signal processor
JPS61264829A (en) Control system for interruption of network controller
JPS63187943A (en) Communication control equipment
JPH0756645B2 (en) Data processing device
JPS6168665A (en) Input/output controlling device of computer
JPS63300346A (en) Dma control system
JPH01291350A (en) Channel device
JPH0227460A (en) Interruption holding register control system
JPS63257856A (en) Serial communication system
JPH01304568A (en) Data read system for process output device
JPS6214866B2 (en)