JPS5843770B2 - Asynchronous processing method for external devices - Google Patents

Asynchronous processing method for external devices

Info

Publication number
JPS5843770B2
JPS5843770B2 JP53098868A JP9886878A JPS5843770B2 JP S5843770 B2 JPS5843770 B2 JP S5843770B2 JP 53098868 A JP53098868 A JP 53098868A JP 9886878 A JP9886878 A JP 9886878A JP S5843770 B2 JPS5843770 B2 JP S5843770B2
Authority
JP
Japan
Prior art keywords
microinstruction
signal
processing
operation completion
response signal
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
JP53098868A
Other languages
Japanese (ja)
Other versions
JPS5525173A (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.)
Fujitsu Ltd
NEC Corp
Nippon Telegraph and Telephone Corp
Original Assignee
Fujitsu Ltd
Nippon Telegraph and Telephone Corp
Nippon Electric 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 Fujitsu Ltd, Nippon Telegraph and Telephone Corp, Nippon Electric Co Ltd filed Critical Fujitsu Ltd
Priority to JP53098868A priority Critical patent/JPS5843770B2/en
Publication of JPS5525173A publication Critical patent/JPS5525173A/en
Publication of JPS5843770B2 publication Critical patent/JPS5843770B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)

Description

【発明の詳細な説明】 本発明は非同期インタフェースで接続された外部装置の
非同期処理方式に関し、特にマイクロプログラム制御中
央処理装置の異速度メモリ制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an asynchronous processing method for external devices connected via an asynchronous interface, and more particularly to a different speed memory control method for a microprogram controlled central processing unit.

一般に、非同期インタフェースで接続されている外部装
置、特に異速度メモリを中央処理装置から制御する場合
、中央処理装置からメモリ装置へアクセスした後、その
処理を一時中断し、アクセスされたメモリ装置から動作
完了信号あるいは動作完了予告信号が返送された時点で
処理を再開する方式が採用されている。
Generally, when controlling an external device connected via an asynchronous interface, especially a different speed memory, from a central processing unit, after the central processing unit accesses the memory device, the processing is temporarily suspended, and the operation is performed from the accessed memory device. A method is adopted in which processing is restarted when a completion signal or an operation completion notice signal is returned.

ここで動作完了信号は該メモリ装置のアクセスタイム時
点で返送されるものであり、動作完了予告信号は動作完
了信号に中央処理装置の1マシンサイクル程度先行して
返送されてくる信号である。
Here, the operation completion signal is returned at the access time of the memory device, and the operation completion notice signal is returned approximately one machine cycle of the central processing unit before the operation completion signal.

ところで大半の中央処理装置はマイクロプログラム制御
で実現されており、中央処理装置の処理の中断とは、マ
イクロ命令の実行中断とほぼ等しく、再開とはマイクロ
命令実行中断を解くことに等しい。
By the way, most central processing units are realized by microprogram control, and suspending the processing of the central processing unit is almost equivalent to suspending the execution of microinstructions, and restarting is equivalent to canceling the suspension of microinstruction execution.

従来の非同期処理方式においては、上記再開時点は動作
完了信号受信時もしくは動作完了予告信号受信時のいず
れか一方に限られていた。
In the conventional asynchronous processing method, the above-mentioned restart point is limited to either the time of receiving the operation completion signal or the time of receiving the operation completion notice signal.

この結果、動作完了信号受信時のみの再開では中央処理
装置の処理能力が低下し、動作完了予告信号受信時のみ
の再開ではマイクロ命令のワード数が増加するという欠
点があった。
As a result, restarting only when an operation completion signal is received reduces the processing capacity of the central processing unit, and restarting only when an operation completion notice signal is received increases the number of microinstruction words.

本発明は動作完了予号受信時再開および動作完了予告信
号受信時再開のいずれでも選択制御可能な手段を設ける
ことにより上記欠点を解決し、中央処理装置の処理能力
向上とマイクロ命令ワード数削減を同時に達成した外部
装置の非同期処理方式を提供することにある。
The present invention solves the above-mentioned drawbacks by providing a means that can selectively control restarting when an operation completion warning signal is received and restarting when an operation completion notice signal is received, thereby improving the processing capacity of the central processing unit and reducing the number of microinstruction words. The object of the present invention is to provide an asynchronous processing method for external devices that is achieved at the same time.

本発明は前記目的を達成するため、中央制御装置と外部
装置とが非同期インクフェースで接続されている情報処
理システムにおいて、外部装置は中央制御装置からのア
クセスに反応して第1の応答信号および該第1の応答信
号よりあらかじめ定めた時間遅れた第2の応答信号を発
生する手段を有し、また、中央制御□□装置は上記列部
装置へのアクセス後処理を一時中断するための第1の手
段と上記外部装置よりの第1の応答信号受信時に処理を
再開するための第2の手段と、第1の応答信号受信後あ
らかじめ定めた時間遅れて処理を再開するための第3の
手段と、前記第2および第3の手段のいずれかを選択指
定する第4の手段を具備することを特徴とする。
To achieve the above object, the present invention provides an information processing system in which a central control device and an external device are connected via an asynchronous interface, in which the external device responds to access from the central control device by sending a first response signal and The central control unit has a means for generating a second response signal delayed by a predetermined time from the first response signal, and the central control device has a means for generating a second response signal that is delayed by a predetermined time from the first response signal, and the central control device also has a means for generating a second response signal that is delayed by a predetermined time from the first response signal, and the central control device also has a second response signal for temporarily interrupting the processing after accessing the column device. a second means for restarting the processing upon receiving the first response signal from the external device; and a third means for restarting the processing after a predetermined time delay after receiving the first response signal. and a fourth means for selecting and specifying one of the second and third means.

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

第1図はマイクロ命令ステップレベルの非同期処理を説
明するシーケンス図で、aとbは従来方式による動作イ
メージを、またCは本発明による動作イメージを示して
いる。
FIG. 1 is a sequence diagram illustrating asynchronous processing at the microinstruction step level, where a and b show an operational image according to the conventional method, and C shows an operational image according to the present invention.

横軸は時間の流れを示しており、各1目盛は1マシンサ
イクルを表わしている。
The horizontal axis shows the flow of time, and each division represents one machine cycle.

第1図aにおいて、4はマイクロ命令の実行を意味し、
該マイクロ命令で指令されたメモリアクセス要求1がメ
モリ装置へ発出される。
In FIG. 1a, 4 means execution of a microinstruction,
A memory access request 1 instructed by the microinstruction is issued to the memory device.

5もマイクロ命令の実行を意味するものであるが、マイ
クロプログラム処理対象によりメモリアクセス要求後は
、メモリ装置からの応答がなければ次マイクロ命令処理
ができない場合と、メモリからの応答の前でも既め実行
できる処理が有る場合とが存在するので、破線で示して
いる。
5 also means the execution of a microinstruction, but depending on the microprogram processing target, after a memory access request, the next microinstruction cannot be processed unless there is a response from the memory device, or the next microinstruction cannot be processed even before a response from the memory. Since there are cases where there is a process that can be executed, it is indicated by a broken line.

いま中央処理装置とメモリ装置は非同期インタフェース
で接続されているので、中央処理装置は、4または5の
マイクロ命令を実行した後、メモリ装置から応答信号が
返送されてくる迄処理の進行を一時中断する必要がある
Currently, the central processing unit and memory device are connected through an asynchronous interface, so after executing 4 or 5 microinstructions, the central processing unit temporarily suspends processing until a response signal is returned from the memory device. There is a need to.

3はメモリから返送されてくる動作完了信号であり、該
受信すると、中断されていたマイクロ命令6はその処理
実行を再開する。
3 is an operation completion signal sent back from the memory, and upon reception, the suspended microinstruction 6 resumes its processing execution.

第1図すにおいて2はメモリから返送されてくる動作完
了予告信号であり、マイクロ命令7は2を受信すると処
理実行を再開する。
In FIG. 1, 2 is an operation completion notification signal sent back from the memory, and upon receiving 2, the microinstruction 7 resumes processing execution.

マイクロ命令7はメモリアドレスレジスタの更新等、メ
モリ装置からの応答が有ったということでその更新を許
される処理の為等に使用され、第1図aに比べて処理ス
ピードの向上に大きな効果がある。
Microinstruction 7 is used for processing such as updating the memory address register, which is allowed to be updated when there is a response from the memory device, and has a large effect on improving processing speed compared to Figure 1a. There is.

しかし、一般にマイクロプログラムのダイナミック・ス
テップでいえばメモリアクセス時にbのタイプの処理形
態の出現頻度は非常に大きいが、スタティック・ステッ
プではaのタイプの処理形態が大きい。
However, in general, in dynamic steps of a microprogram, type b processing occurs very frequently during memory access, but in static steps, type a processing occurs frequently.

従来はaのタイプかbのタイプのいずれかにマイクロ命
令の再開方法が固定されており、a方式を採用すれば、
マイクロ命令ワード数は削減できるが、処理スピードが
低下し、b方式を採用すれば即ち、次命令用のアドレス
等が既め演算可能であり、処理スピードが向上するかわ
りに無効なマイクロ命令を多く必要と腰マイクロ命令ワ
ード数が増大するという欠点があった。
Conventionally, the microinstruction restart method is fixed to either type a or type b, and if method a is adopted,
Although the number of microinstruction words can be reduced, the processing speed will decrease.If method b is adopted, the address for the next instruction etc. can already be calculated, and the processing speed will improve, but the number of invalid microinstructions will increase. The drawback is that the number of microinstruction words required increases.

第1図Cは本発明による処理形態を示す図で、aとbの
長所を採り入れたものである。
FIG. 1C is a diagram showing a processing form according to the present invention, which incorporates the advantages of a and b.

即ち動作完了信号3を受信することによりマイクロ命令
6を再開する処理形態と、動作完了予告信号2を受信す
ることにより、マイクロ命令7を再開する処理形態とを
切替える手段8を導入し、8をメモリアクセス時上記処
理形態に応じて切替制御可能とすることにより、処理ス
ピードの向上とマイクロフード数の削減を同時に達成可
能とした。
That is, a means 8 is introduced which switches between a processing mode in which the microinstruction 6 is restarted by receiving the operation completion signal 3 and a processing mode in which the microinstruction 7 is restarted by receiving the operation completion notice signal 2. By enabling switching control according to the processing mode mentioned above during memory access, it is possible to simultaneously improve processing speed and reduce the number of micro hoods.

第2図は本発明の一実施例を示すブロック図で、メモリ
装置10と中央処理装置20とは非同期インタフェース
で接続されている。
FIG. 2 is a block diagram showing one embodiment of the present invention, in which a memory device 10 and a central processing unit 20 are connected through an asynchronous interface.

中央処理装置20からのメモリアクセス要求31をメモ
リ装置10が受信するとタイミング回路11によすfi
M’lE完了予告信号32および動作完了信号33をそ
れぞれ所定時間後に返送する。
When the memory device 10 receives a memory access request 31 from the central processing unit 20, the timing circuit 11 sends fi
The M'lE completion notification signal 32 and the operation completion signal 33 are returned after a predetermined time, respectively.

動作完了予告信号32、動作完了信号33はそれぞれ受
信回路22゜23で受信され、その出力は再開形態切替
回路24に入力され、さらにこの出力はマイクロ命令実
行中断制御回路25に入力されている。
The operation completion notice signal 32 and the operation completion signal 33 are received by receiving circuits 22 and 23, respectively, and their outputs are input to a restart mode switching circuit 24, and further, this output is input to a microinstruction execution interruption control circuit 25.

マイクロ命令実行中断制御回路25にはメモリアクセス
要求31も入力されており、この要求がなされると次マ
イクロ命令の実行を中断し、再開形態切替回路24の出
力が付勢されることにより、その中断を解除し、処理実
行を再開させる。
A memory access request 31 is also input to the microinstruction execution interruption control circuit 25, and when this request is made, the execution of the next microinstruction is interrupted, and the output of the restart mode switching circuit 24 is energized. Cancels the suspension and resumes processing execution.

第3図は第2図の再開形態切替回路24およびマイクロ
命令実行中断制御回路25を詳細に示すブロック図であ
る。
FIG. 3 is a block diagram showing in detail the restart mode switching circuit 24 and microinstruction execution interruption control circuit 25 of FIG. 2.

40はマイクロ命令の実行中断制御フリップフロップで
、メモリアクセス要求信号41でセットされる。
Reference numeral 40 denotes a microinstruction execution interruption control flip-flop, which is set by a memory access request signal 41.

フリップフロップ40がセットされるとマイクロ命令実
行制御部70へ実行の中断を指令する。
When the flip-flop 40 is set, it instructs the microinstruction execution control unit 70 to suspend execution.

マイクロ命令実行の中断は、クロック停止、マイクロ命
令のオペレーション・コード部を特定コードにする等種
々の方式があり、本発明はいずれの方式に採用しても良
い。
There are various methods for interrupting the execution of microinstructions, such as stopping the clock and changing the operation code portion of the microinstruction to a specific code, and the present invention may be adopted in any of these methods.

50は再開形態切替えフリップフロップで信号線51で
フリップフロップ50をセットすれば、動作完了予告信
号受信時に付勢される信号線62によりAND−OR回
路60を付勢し、フリップフロップ40をリセットする
50 is a restart mode switching flip-flop, and when the flip-flop 50 is set by the signal line 51, the AND-OR circuit 60 is energized by the signal line 62, which is energized when the operation completion notification signal is received, and the flip-flop 40 is reset. .

フリップフロップ40がリセットされると、マイクロ命
令の中断指令は解除され、実行を再開する。
When the flip-flop 40 is reset, the interrupt instruction for the microinstruction is released and execution resumes.

52でフリップフロップ50をリセットすれば、動作完
了信号受信時に付勢される信号線63により上記と同様
の動作が行なわれる。
When the flip-flop 50 is reset in step 52, the same operation as described above is performed by the signal line 63 which is activated when the operation completion signal is received.

尚63は中央制御装置内で、62を所定時間遅延させて
発生してもよい。
Note that 63 may be generated within the central control unit by delaying 62 by a predetermined time.

本発明は以上説明したように非同期インタフェースで接
続された舛部装置へのアクセス後の再開法として、動作
完了予告信号受信時および動作完了信号受信時のいずれ
も指定できる再開法を導入することにより、中央処理装
置の処理スピード向上およびマイクロ命令ワード数削減
を同時に達成できるという効果がある。
As explained above, the present invention introduces a restart method that can specify both the time of receiving an operation completion notice signal and the time of receiving an operation completion signal as a restart method after accessing a terminal device connected by an asynchronous interface. This has the effect of simultaneously increasing the processing speed of the central processing unit and reducing the number of microinstruction words.

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

第1図はマイクロ命令の実行中断および再開時点を示す
シーケンスで、a、bは従来方式、Cは本発明による方
式をそれぞれ示し、第2図は本発明の一実施例を示すブ
ロック図、第3図は第2図における再開形態切替回路2
4詞よびマイクロ命令実行中断制御回路25の詳細ブロ
ック図である。 1・・・・・・メモリアクセス要求、2・・・・・・動
作完了予告信号、3・・・・・・動作完了信号、4,5
,6.7・・・・・・マイクロ命令、10・・・・・・
メモリ装置、11・・・・・・タイミング回路、20・
・・・・・中央処理装置、24・・・・・・再開形態切
替回路、25・・・・・・マイクロ命令実行中断制御回
路、31・・・・・・メモリアクセス要求、32・・・
・・・動作完了予告信号、33・・・・・・動作完了信
号、40・・・・・・マイクロ命令実行中断制御フリッ
プフロップ、50・・・・・・再開形態切替えフリップ
フロップ、70・・・・・・マイクロ命令実行制御部。
FIG. 1 is a sequence showing the point at which microinstruction execution is suspended and restarted, a and b are the conventional method, and C is the method according to the present invention. FIG. 2 is a block diagram showing an embodiment of the present invention. Figure 3 shows the restart mode switching circuit 2 in Figure 2.
FIG. 4 is a detailed block diagram of a microinstruction execution interruption control circuit 25; 1...Memory access request, 2...Operation completion notice signal, 3...Operation completion signal, 4, 5
, 6.7... Micro instructions, 10...
Memory device, 11... Timing circuit, 20.
... Central processing unit, 24 ... Resume mode switching circuit, 25 ... Micro instruction execution interruption control circuit, 31 ... Memory access request, 32 ...
. . . Operation completion notice signal, 33 . . . Operation completion signal, 40 . . . Microinstruction execution interruption control flip-flop, 50 . ...Microinstruction execution control unit.

Claims (1)

【特許請求の範囲】[Claims] 1 中央制御装置と外部装置とが非同期インタフェース
で接続されている情報処理システムにおいて、外部装置
は該中央制御装置からのアクセスに応答して第1の応答
信号および該第1の応答信号よりあらかじめ定めた時間
遅れの第2の応答信号を発生する手段を有し、また中央
制御装置は前記列部装置へのアクセス後処理を一時中断
するための第1の手段と、外部装置よりの第1の応答信
号受信時に処理を再開するための第2の手段と、第1の
応答信号受信後あらかじめ定めた時間遅れて処理を再開
するための第3の手段と、前記第2および第3の手段の
いずれかを選択指定する第4の手段とを具備することを
特徴とする外部装置の非同期処理方式。
1. In an information processing system in which a central control device and an external device are connected via an asynchronous interface, the external device responds to an access from the central control device by receiving a first response signal and a signal predetermined from the first response signal. means for generating a second response signal with a time delay, and the central control unit includes first means for temporarily suspending processing after access to the column device; a second means for restarting the process upon receiving the response signal; a third means for restarting the process after a predetermined time delay after receiving the first response signal; and the second and third means. and a fourth means for selecting and specifying one of them.
JP53098868A 1978-08-14 1978-08-14 Asynchronous processing method for external devices Expired JPS5843770B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP53098868A JPS5843770B2 (en) 1978-08-14 1978-08-14 Asynchronous processing method for external devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP53098868A JPS5843770B2 (en) 1978-08-14 1978-08-14 Asynchronous processing method for external devices

Publications (2)

Publication Number Publication Date
JPS5525173A JPS5525173A (en) 1980-02-22
JPS5843770B2 true JPS5843770B2 (en) 1983-09-29

Family

ID=14231159

Family Applications (1)

Application Number Title Priority Date Filing Date
JP53098868A Expired JPS5843770B2 (en) 1978-08-14 1978-08-14 Asynchronous processing method for external devices

Country Status (1)

Country Link
JP (1) JPS5843770B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60121262U (en) * 1983-10-08 1985-08-15 株式会社ユアサコーポレーション sealed lead acid battery

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4974451A (en) * 1972-11-17 1974-07-18
JPS5210039A (en) * 1975-07-14 1977-01-26 Seikosha Co Ltd Supplemental controller of data processer
JPS5236438A (en) * 1975-09-17 1977-03-19 Sanyo Electric Co Ltd Channel device
JPS5255450A (en) * 1975-10-31 1977-05-06 Toshiba Corp Control system of processor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4974451A (en) * 1972-11-17 1974-07-18
JPS5210039A (en) * 1975-07-14 1977-01-26 Seikosha Co Ltd Supplemental controller of data processer
JPS5236438A (en) * 1975-09-17 1977-03-19 Sanyo Electric Co Ltd Channel device
JPS5255450A (en) * 1975-10-31 1977-05-06 Toshiba Corp Control system of processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60121262U (en) * 1983-10-08 1985-08-15 株式会社ユアサコーポレーション sealed lead acid battery

Also Published As

Publication number Publication date
JPS5525173A (en) 1980-02-22

Similar Documents

Publication Publication Date Title
JPH0534699B2 (en)
JPH02156334A (en) Information processor
US5659760A (en) Microprocessor having interrupt vector generation unit and vector fetching command unit to initiate interrupt processing prior to returning interrupt acknowledge information
JPS5843770B2 (en) Asynchronous processing method for external devices
JPS6232812B2 (en)
JPS615348A (en) Information processor
JPS6315628B2 (en)
JP2808757B2 (en) Microprocessor for debugging
JPS59212905A (en) Control system of programmable controller
JP2871171B2 (en) Microcomputer
JP2684663B2 (en) Micro program control circuit
JPH02191034A (en) Microprogram controller
JPH03154139A (en) Cache memory
JPS61136115A (en) Basic clock generating circuit of microcomputer system
JPH03164940A (en) Computer having plural interruption periods
JPS61241843A (en) Information processor
JPS62126441A (en) Microprogram control system
JPH04149733A (en) Sequence control system
JPS61220035A (en) Interruption generating circuit
JPH0481939A (en) Control system for microcomputer
JPS62189537A (en) Context switching device
JPH03263127A (en) Instruction execution control system
JPH0740223B2 (en) Micro-program controller with sequencer
JPH01300345A (en) Pulse generating device
JPH04306747A (en) Block transfer controller