[go: up one dir, main page]

JPS5850367B2 - input/output control device - Google Patents

input/output control device

Info

Publication number
JPS5850367B2
JPS5850367B2 JP53099414A JP9941478A JPS5850367B2 JP S5850367 B2 JPS5850367 B2 JP S5850367B2 JP 53099414 A JP53099414 A JP 53099414A JP 9941478 A JP9941478 A JP 9941478A JP S5850367 B2 JPS5850367 B2 JP S5850367B2
Authority
JP
Japan
Prior art keywords
input
microprogram
output
control
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP53099414A
Other languages
Japanese (ja)
Other versions
JPS5528125A (en
Inventor
喬彦 山田
春夫 若林
一夫 小林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP53099414A priority Critical patent/JPS5850367B2/en
Publication of JPS5528125A publication Critical patent/JPS5528125A/en
Publication of JPS5850367B2 publication Critical patent/JPS5850367B2/en
Expired legal-status Critical Current

Links

Description

【発明の詳細な説明】 本発明は、一定の周期で情報の入出力転送を行なう入出
力制御装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an input/output control device that performs input/output transfer of information at regular intervals.

磁気ドラム装置や磁気バブル装置の如く、記憶領域の回
転に同期してデータの送受を必要とする入出力装置と主
記憶装置との間に接続されて、データの送受を制御する
制御装置に於いては、時間規定の点で大きく分けると2
種類の転送制御機能が必要である。
A control device that is connected between a main storage device and an input/output device that requires data transmission and reception in synchronization with the rotation of a storage area, such as a magnetic drum device or a magnetic bubble device, and controls the transmission and reception of data. Broadly speaking, there are two types in terms of time regulations:
Different types of transfer control functions are required.

即ち、(1) 入出力装置と制御装置との間のデータ
転送制御:データ転送は周期的に行ない、且つ単位デー
タ転送に必要な処理は、1周期内に行なわれる必要があ
る。
That is, (1) Data transfer control between the input/output device and the control device: Data transfer is performed periodically, and the processing necessary for unit data transfer needs to be performed within one cycle.

(2)主記憶装置と制御装置との間のデータ転送制御:
応答確認方式の非同期的なデータ転送であるから多少の
待時間は許容できる。
(2) Data transfer control between main storage and control device:
Since this is an asynchronous data transfer using a response confirmation method, some waiting time can be tolerated.

従来のデータ転送制御に於いては、前述の機能は布線論
理で実現されていたので、例えば第1図に示すように、
入出力制御装置CUには並列制御用に2種類の専用の制
御回路MCTL、FCTLを必要とすることになり、金
物量が犬となると共に回路構成が複雑になる欠点があっ
た。
In conventional data transfer control, the above-mentioned functions were realized by wiring logic, so for example, as shown in Figure 1,
The input/output control device CU requires two types of dedicated control circuits MCTL and FCTL for parallel control, which has the drawback of increasing the amount of hardware and complicating the circuit configuration.

なおMMは主記憶装置、IOは磁気バブル装置等の入出
力装置であり、入出力装置IOと入出力制御装置CUと
の間のデータ転送は、制御回路FCTLの制御により入
出力データバッファIOBを用いて行ない、主記憶装置
MMと入出力制御装置CUとの間のデータ転送は、制御
回路MCTLの制御によりデータバッファDBRを用い
て行なうものであった。
Note that MM is a main storage device, IO is an input/output device such as a magnetic bubble device, and data transfer between the input/output device IO and the input/output control device CU is performed using the input/output data buffer IOB under the control of the control circuit FCTL. Data transfer between the main memory device MM and the input/output control device CU was performed using the data buffer DBR under the control of the control circuit MCTL.

又ALUはアドレス演算、転送残語数の更新等を行なう
演算回路である。
The ALU is an arithmetic circuit that performs address calculations, updates of the number of remaining words to be transferred, and the like.

本発明は、周期的割込みにより処理ルーチンを切換え、
マイクロプログラムの時分割多重処理を可能として経済
的な構成とすることを目的とするものである。
The present invention switches processing routines using periodic interrupts,
The purpose is to provide an economical configuration that enables time-division multiplex processing of microprograms.

以下実施例について詳細に説明する。第2図は本発明の
実施例のブロック線図であり、第1図と同一符号は同一
部分を示し、MARはメモリアドレスレジスタ、μCT
Lはマイクロプログラム制御回路、TIMは制御タイミ
ング作成回路、21,22は入出力制御装置CUと主記
憶装置MMとの間のデータ転送を応答確認する為の制御
線、23は入出力制御装置CUと入出力装置IOとの間
のデータ転送時の起動、終結を指示する制御線である。
Examples will be described in detail below. FIG. 2 is a block diagram of an embodiment of the present invention, in which the same symbols as in FIG. 1 indicate the same parts, MAR is a memory address register, μCT
L is a microprogram control circuit, TIM is a control timing generation circuit, 21 and 22 are control lines for confirming the data transfer between the input/output control unit CU and the main storage unit MM, and 23 is the input/output control unit CU. This is a control line that instructs the start and end of data transfer between the input/output device IO and the input/output device IO.

又第3図は本発明の実施例の動作説明用タイムチャート
を示し、301は周期的な割込タイミング、302は非
優先処理マイクロプログラムのシーケンス、303は優
先処理マイクロプログラムのシーケンスを示すものであ
る。
FIG. 3 shows a time chart for explaining the operation of the embodiment of the present invention, in which 301 is a periodic interrupt timing, 302 is a sequence of a non-priority processing microprogram, and 303 is a sequence of a priority processing microprogram. be.

マイクロプログラム制御回路μCTLは制御タイミング
作成回路TIMから一定周期毎にタイミング301の時
点で割込みを受け、この割込みを受付けるとシーケンス
302で実行していたマイクロプログラムを一時中断し
、その時点のプログラムアドレスを図示を省略している
スタックに退避し、シーケンス303のプログラムを実
行する為前周期のシーケンス303の最後のアドレスを
退避していたスタックより取出して先頭番地とし、その
プログラムを実行する。
The microprogram control circuit μCTL receives an interrupt from the control timing generation circuit TIM at timing 301 at regular intervals, and upon accepting this interrupt, temporarily suspends the microprogram being executed in sequence 302 and writes the program address at that time. It is saved to a stack (not shown), and in order to execute the program of sequence 303, the last address of sequence 303 of the previous cycle is taken out from the saved stack and set as the start address, and the program is executed.

このシーケンス303は優先処理ルーチンで、入出力装
置■0と入出力制御装置CUとの間のデータ転送制御を
実行するマイクロプログラムシーケンスであって、この
シーケンスに基いて周期的に規定時間内で処理しなけれ
ばならない入出力データバッファIOBと入出力装置I
Oとの間のデータ送受、制御線23を介して転送制御指
令を送出する等の一連めシーケンスとして実行する。
This sequence 303 is a priority processing routine, which is a microprogram sequence that executes data transfer control between the input/output device ■0 and the input/output control device CU, and processes are periodically performed within a specified time based on this sequence. Input/output data buffer IOB and input/output device I that must be
This is executed as a series of sequences such as sending and receiving data to and from O, sending a transfer control command via the control line 23, etc.

入出力制御装置CUと入出力装置IOとの間のデータの
送受が終了すると、次に主記憶装置MMと入出力制御装
置CUとの間のデータ送受制御用のマイクロプログラム
を実行する為、主記憶装置MMと入出力制御装置CUと
の間のデータ送受制御用のマイクロプログラムの最後の
アドレスをスタックに退避し、前周期のタイミング30
1でスタックに退避したシーケンス302のアドレスを
取出す。
When data transmission and reception between the input/output control unit CU and the input/output unit IO is completed, the main The last address of the microprogram for data transmission/reception control between the storage device MM and the input/output control device CU is saved to the stack, and at timing 30 of the previous cycle.
The address of sequence 302 saved to the stack in step 1 is retrieved.

シーケンス302は、非優先ルーチンで演算回路ALU
を使用してメモリアドレスの更新、転送残溜数の更新、
主記憶装置MMとデータバッファDBRとの間のデータ
送受、メモリアドレスレジスタMARに予め格納してお
いたメモリアドレスを主記憶装置MMへ送出、制御線2
1 、22を介した転送可否の応答確認等を制御するマ
イクロプログラムが実行される。
Sequence 302 is a non-priority routine and the arithmetic circuit ALU
Use to update the memory address, update the remaining number of transfers,
Sending and receiving data between main memory device MM and data buffer DBR, sending memory address stored in advance in memory address register MAR to main memory device MM, control line 2
1 and 22, a microprogram is executed to control response confirmation as to whether transfer is possible or not.

前述のデータ転送制御以外に、入出力装置IOの起動、
転送前処理(磁気バブルの場合は、回転動作(回転磁界
)の起動、アクセス位置のサーチ等)、転送後処理(磁
気バブルの場合は回動動作(回転磁界)の停止、所定位
置へのデータの再書込み等)の動作も、一定周期のタイ
ミング301の整数倍の間隔に正規化できることが多い
ので、その場合は、タイミング301毎にマイクロプロ
グラム制御回路μCTLの制御により演算回路ALUに
含まれているカウンタを更新し、そのカウンタのカウン
ト内容が所定の値になると先の動作を起動する。
In addition to the data transfer control mentioned above, startup of input/output device IO,
Pre-transfer processing (in the case of magnetic bubbles, starting the rotation operation (rotating magnetic field), searching for the access position, etc.), post-transfer processing (in the case of magnetic bubbles, stopping the rotation operation (rotating magnetic field), moving data to the specified position) (e.g., rewriting) can often be normalized to an interval that is an integral multiple of the fixed cycle timing 301. The counter is updated, and when the count of the counter reaches a predetermined value, the previous operation is started.

即ちデータ転送周期に比較して長い時間間隔を必要とす
る処理を、マイクロプログラム制御のカウンタで管理す
ることができる。
That is, processes that require a longer time interval than the data transfer cycle can be managed by a microprogram-controlled counter.

従って、計数回路とマツチ回路とを設け、所定の時間間
隔で割込みをかけて制御回路を動作させる従来に比較し
て構成を簡単化することができる。
Therefore, the configuration can be simplified compared to the conventional method in which a counting circuit and a match circuit are provided and interrupts are applied at predetermined time intervals to operate the control circuit.

又入出力動作の起動シーケンス、終結・報告シーケンス
に必要なチャネル制御語等のフェッチ、チャネル状態語
のメモリへのストア等はシーケンス302で実行する。
Furthermore, fetching of channel control words and the like necessary for the input/output operation startup sequence, termination/reporting sequence, and storing channel status words in memory are executed in sequence 302.

以上説明したように、本発明によれば、時間規定の厳し
い周期的入出力動作と、非同期的入出力動作とを共通の
マイクロプログラム制御回路で時分割的に制御すること
ができるもので、制御系が一本化され、それぞれの制御
回路を必要とした従来例に比較して回路構成が簡単とな
り、装置の経済化を図ることができる。
As explained above, according to the present invention, periodic input/output operations with strict time regulations and asynchronous input/output operations can be controlled in a time-sharing manner by a common microprogram control circuit. Since the system is unified, the circuit configuration is simpler than in the conventional example which required each control circuit, and the device can be made more economical.

従って、磁気ドラム装置や磁気バブル装置のような周期
的入出力動作を行なう入出力装置を制御する入出力制御
装置及びタイプライタ装置等の長周期且つ所定周期の整
数倍で正規化し得る制御時間間隔の入出力動作を行なう
入出力装置を制御する入出力制御装置に適用して、経済
化を図ることができるものである。
Therefore, the control time interval can be normalized by a long period and an integral multiple of a predetermined period, such as an input/output control device that controls an input/output device that performs periodic input/output operations such as a magnetic drum device or a magnetic bubble device, and a typewriter device. The present invention can be applied to an input/output control device that controls an input/output device that performs input/output operations to achieve economicalization.

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

第1図は従来の入出力制御装置を含むデータ転送制御の
説明用ブロック線図、第2図は本発明の実施例のブロッ
ク線図、第3図は本発明の実施例の動作説明用タイムチ
ャートである。 IOは入出力装置、CUは入出力制御装置、MMは主記
憶装置、IOBは入出力データバッファ、DBRはデー
タバッファ、ALUは演算回路、MARはメモリアドレ
スレジスタ、μCTLはマイクロプログラム制御回路、
TIMは制御タイミング作成回路、である。
Fig. 1 is a block diagram for explaining data transfer control including a conventional input/output control device, Fig. 2 is a block diagram for an embodiment of the present invention, and Fig. 3 is a time diagram for explaining the operation of the embodiment of the present invention. It is a chart. IO is an input/output device, CU is an input/output control device, MM is a main memory, IOB is an input/output data buffer, DBR is a data buffer, ALU is an arithmetic circuit, MAR is a memory address register, μCTL is a microprogram control circuit,
TIM is a control timing generation circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 一定の周期毎に情報の入出力転送を行なう入出力装
置を制御する入出力制御装置に於いて、定周期毎に割込
みを受け、該割込みを受付けてそれまで実行していた第
1のマイクロプログラムのアドレスを退避させると共に
、前回の周期で起動された第2のマイクロプログラムの
最後の命令によって指定されたアドレスから第2のマイ
クロプログラムの実行を再開し、該周期内で処理すべき
第2のマイクロプログラムの命令群の実行完了後、次の
周期で実行すべき第2のマイクロプログラムの開始アド
レスを退避し、前記第1のマイクロプログラムの退避ア
ドレスを回復して該アドレスより第1のマイクロプログ
ラムを実行するマイクロプログラム制御回路を具備した
ことを特徴とする入出力制御装置。
1. In an input/output control device that controls an input/output device that inputs/outputs information at regular intervals, an interrupt is received at regular intervals, and the first microcontroller that has been executing At the same time as saving the program address, execution of the second microprogram is resumed from the address specified by the last instruction of the second microprogram started in the previous cycle, and the second microprogram to be processed within the cycle is After the execution of the instruction group of the second microprogram is completed, the start address of the second microprogram to be executed in the next cycle is saved, the saved address of the first microprogram is restored, and the first microprogram is started from this address. An input/output control device characterized by comprising a microprogram control circuit that executes a program.
JP53099414A 1978-08-15 1978-08-15 input/output control device Expired JPS5850367B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP53099414A JPS5850367B2 (en) 1978-08-15 1978-08-15 input/output control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP53099414A JPS5850367B2 (en) 1978-08-15 1978-08-15 input/output control device

Publications (2)

Publication Number Publication Date
JPS5528125A JPS5528125A (en) 1980-02-28
JPS5850367B2 true JPS5850367B2 (en) 1983-11-10

Family

ID=14246809

Family Applications (1)

Application Number Title Priority Date Filing Date
JP53099414A Expired JPS5850367B2 (en) 1978-08-15 1978-08-15 input/output control device

Country Status (1)

Country Link
JP (1) JPS5850367B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63181764U (en) * 1987-05-14 1988-11-24

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5117387A (en) * 1988-08-18 1992-05-26 Delco Electronics Corporation Microprogrammed timer processor
JPH0644236B2 (en) * 1989-03-08 1994-06-08 富士ゼロックス株式会社 Recording device monitor control device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63181764U (en) * 1987-05-14 1988-11-24

Also Published As

Publication number Publication date
JPS5528125A (en) 1980-02-28

Similar Documents

Publication Publication Date Title
EP0087978B1 (en) Information processing unit
JPS5933553U (en) processor
JPS61110256A (en) Processor having plural arithmetic
JPH01237864A (en) Dma transfer controller
KR20050075722A (en) Processor system, dma control circuit, dma control method, control method for dma controller, graphic processing method, and graphic processing circuit
JPH06314205A (en) Method of establishing priority between interrupt sources and data processing system
JPS5850367B2 (en) input/output control device
US3629862A (en) Store with access rate determined by execution time for stored words
US3761893A (en) Digital computer
JPS6315628B2 (en)
JP2720427B2 (en) Vector processing equipment
JPS6226487B2 (en)
JP2844624B2 (en) Data processing device
EP1450255B1 (en) Microcontroller device for complex processing procedures and corresponding interrupt management process
JPH1124941A (en) Method and device for instruction execution control
JPH0462093B2 (en)
JPS6049464A (en) Inter-processor communication system of multi-processor computer
JPH0651979A (en) Microprocessor for peripheral unit control
SU545983A1 (en) Channel Control Device
JPS6120139A (en) Interruption control system
JPH06175859A (en) Processor application device
JP2536103B2 (en) Data processing device
JPS6352240A (en) Data processor
JPH0241781B2 (en)
JPS63307566A (en) channel device