JPH0137769B2 - - Google Patents

Info

Publication number
JPH0137769B2
JPH0137769B2 JP54161053A JP16105379A JPH0137769B2 JP H0137769 B2 JPH0137769 B2 JP H0137769B2 JP 54161053 A JP54161053 A JP 54161053A JP 16105379 A JP16105379 A JP 16105379A JP H0137769 B2 JPH0137769 B2 JP H0137769B2
Authority
JP
Japan
Prior art keywords
instruction
address register
prefetch
error
register
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
JP54161053A
Other languages
Japanese (ja)
Other versions
JPS5682940A (en
Inventor
Fumio Hoshi
Masao Sato
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
Original Assignee
Fujitsu 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 filed Critical Fujitsu Ltd
Priority to JP16105379A priority Critical patent/JPS5682940A/en
Publication of JPS5682940A publication Critical patent/JPS5682940A/en
Publication of JPH0137769B2 publication Critical patent/JPH0137769B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 本発明は通信制御処理装置に関し、特に、命令
再試行機能をそなえた通信制御処理装置に関す
る。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a communication control processing device, and more particularly to a communication control processing device having an instruction retry function.

オンライン通信機器の回線とホスト中央処理装
置(CPU)の間に、通常、通信制御処理装置が
もうけられ伝送制御手順の処理等各種の処理を行
なつている。通信制御処理装置は複数の回線に対
して共通にもうけられるものであり、通信制御処
理装置に障害が発生すると全回線が使用不可とな
つてしまうため、通信制御処理装置には高い信頼
性が要求されている。そして、このため従来は、
信頼度を向上させるために装置の二重化を行な
い、障害時には他方の正常な予備装置に切替えて
通信制御を行なうようにしていた。
A communication control processing unit is usually provided between the line of an online communication device and a host central processing unit (CPU), and performs various processes such as processing of transmission control procedures. Communication control processing equipment is commonly provided for multiple lines, and if a failure occurs in the communication control processing equipment, all lines become unusable, so high reliability is required for communication control processing equipment. has been done. And for this reason, conventionally,
In order to improve reliability, devices were duplicated, and in the event of a failure, communication control was performed by switching to the other normal backup device.

ところで、通信制御処理装置の障害の中には、
命令の再試行を行なえば正常に動作が行なわれる
ようなものが多数あり、このような単純なかつ一
時的な障害のために、その都度現用系と予備系の
切替を行なうことは得策でない。
By the way, some of the failures of communication control processing equipment include:
There are many systems that can operate normally if the command is retried, and it is not a good idea to switch between the active system and the standby system every time there is a simple and temporary failure like this.

本発明は上記考察にもとづくものであり、通信
制御処理装置の信頼度を向上させるとともに、二
重化運用時における切替回数を減少させることを
目的とし、そのため本発明は記憶装置から読出し
た命令等を解読し演算処理を行う通信制御処理装
置において、現在実行中の命令アドレスを示す現
アドレスレジスタと、次に実行すべき命令アドレ
スを示すアドレスレジスタと、再試行制御回路
と、先取アドレスレジスタを含み命令の先取りを
制御する先取り制御回路と、上記先取りされた命
令を記憶するバツフアと、命令の実行中において
演算に誤りが生じたことを記憶する命令誤りラツ
チと、命令の先取り中において誤りが生じたこと
を記憶する先取り誤りラツチをそなえ、命令の先
取り制御を行なうとともに、誤りが発生したとき
上記命令誤りラツチおよび先取り誤りラツチの状
態にもとづき上記先取りアドレスレジスタにセツ
トされるべき命令再試行アドレスとして上記現ア
ドレスレジスタまたは上記次アドレスレジスタの
いずれの内容を使用するかを決定するように構成
したことを特徴とする。
The present invention is based on the above considerations, and aims to improve the reliability of a communication control processing device and reduce the number of switching operations during duplex operation. A communication control processing device that performs arithmetic processing includes a current address register indicating the address of the instruction currently being executed, an address register indicating the address of the next instruction to be executed, a retry control circuit, and a prefetch address register. A prefetch control circuit that controls prefetching, a buffer that stores the prefetched instruction, an instruction error latch that stores information that an error has occurred in an operation during execution of an instruction, and an instruction error latch that stores information that an error has occurred during instruction prefetching. It is provided with a prefetch error latch that stores the instruction prefetch, and performs instruction prefetch control, and also stores the above current state as the instruction retry address to be set in the prefetch address register based on the states of the instruction error latch and prefetch error latch when an error occurs. The present invention is characterized in that it is configured to determine which of the contents of the address register or the next address register is to be used.

以下、本発明を図面により説明する。第1図は
本発明に前提とする通信制御処理装置の1例のブ
ロツク図であり、図中、1は主記憶装置、2は命
令レジスタ、3は演算回路、4は誤り検出回路、
5は再試行制御回路、6は主記憶アドレスレジス
タ、7は次アドレスレジスタ、8は現アドレスレ
ジスタ、9は歩進回路、10と11はアンドゲー
ト、12は反転ゲート、13はオアゲート、14
は抑止ゲート、15は再試行開始指示信号線、1
6は誤り検出信号線、17は抑止指示信号線であ
る。なお、1命令は2バイトから構成されてい
る。正常動作時においては、次アドレスレジスタ
の内容が主記憶アドレスレジスタ6にセツトさ
れ、主記憶装置1からの読出しが行なわれ、読出
された命令は命令レジスタ2にセツトされる。こ
のとき、次アドレスレジスタの内容が現アドレス
レジスタ8に移されるとともに、次アドレスレジ
スタ7には歩進回路9で歩進された値がセツトさ
れる。命令レジスタ2にセツトされた命令につい
ての解読および実行は演算回路3で行なわれ、正
常に実行が終了したときは、次アドレスレジスタ
7の内容にもとづいて次の命令が命令レジスタ2
に読出され、上記と同様に処理が行なわれてい
る。
Hereinafter, the present invention will be explained with reference to the drawings. FIG. 1 is a block diagram of an example of a communication control processing device based on the present invention, in which 1 is a main memory, 2 is an instruction register, 3 is an arithmetic circuit, 4 is an error detection circuit,
5 is a retry control circuit, 6 is a main memory address register, 7 is a next address register, 8 is a current address register, 9 is a step circuit, 10 and 11 are AND gates, 12 is an inversion gate, 13 is an OR gate, 14
is a deterrent gate, 15 is a retry start instruction signal line, 1
6 is an error detection signal line, and 17 is an inhibition instruction signal line. Note that one instruction consists of two bytes. During normal operation, the contents of the next address register are set in the main memory address register 6, read from the main memory 1, and the read instruction is set in the instruction register 2. At this time, the contents of the next address register are transferred to the current address register 8, and the value incremented by the increment circuit 9 is set in the next address register 7. The instruction set in the instruction register 2 is decoded and executed by the arithmetic circuit 3, and when the execution is completed normally, the next instruction is transferred to the instruction register 2 based on the contents of the next address register 7.
The data is read out and processed in the same way as above.

一方、演算回路3の演算結果データに誤りが発
生すると、誤り検出回路4において検出され、誤
り検出信号線16により再試行制御回路5へエラ
ー発生が通知される。これにより再試行制御回路
5は抑止指示信号線17により、演算回路3で次
の命令に関する演算動作が行なわれることを抑止
するとともに、次アドレスレジスタ7の内容が現
アドレスレジスタ8にセツトされることを抑止す
る。そして、再試行開始指示信号線15によりア
ンドゲート10を制御して現アドレスレジスタ8
の内容を次アドレスレジスタ7にセツトする。さ
らに、次アドレスレジスタ7の内容を主記憶アド
レスレジスタ6にセツトし、主記憶装置1から、
当該エラーを生じた命令を再読出しして命令レジ
スタ2にセツトする。これにより、演算回路3に
おいて命令再試行が行なわれる。
On the other hand, if an error occurs in the calculation result data of the calculation circuit 3, it is detected by the error detection circuit 4, and the error detection signal line 16 notifies the retry control circuit 5 of the error occurrence. As a result, the retry control circuit 5 uses the inhibition instruction signal line 17 to inhibit the arithmetic circuit 3 from performing an arithmetic operation regarding the next instruction, and to set the contents of the next address register 7 to the current address register 8. deter. Then, the AND gate 10 is controlled by the retry start instruction signal line 15, and the current address register 8 is
The contents of are set in the next address register 7. Furthermore, the contents of the next address register 7 are set in the main memory address register 6, and the contents are read from the main memory 1.
The instruction that caused the error is reread and set in the instruction register 2. As a result, the instruction is retried in the arithmetic circuit 3.

第2図は上記動作を説明するタイムチヤートで
ある。次に、第3図は本発明による実施例の通信
制御処理装置のブロツク図であり、図中、第1図
と同一番号のものは同一名称の物、19は先取り
バツフア、20は先取りアドレスレジスタ、21
と22はアンドゲート、23は反転ゲート、24
はオアゲート、25は再試行開始指示信号線、2
6は命令の先取り中において誤りが生じたことを
記憶する先取り誤りラツチ、27は命令の実行中
において演算に誤りが生じたことを記憶する命令
誤りラツチ、28は歩進回路である。第1図の例
と同様に1命令は2バイトから構成されている。
第1図の例と異なる点は命令先取り機能が付加さ
れたことおよび命令実行中の誤り検出の他に命令
先取り中の誤りをも検出するようにしたことであ
る。
FIG. 2 is a time chart explaining the above operation. Next, FIG. 3 is a block diagram of a communication control processing device according to an embodiment of the present invention, in which the same numbers as in FIG. 1 have the same names, 19 is a prefetch buffer, and 20 is a prefetch address register. , 21
and 22 are AND gates, 23 are inversion gates, 24
is an OR gate, 25 is a retry start instruction signal line, 2
6 is a prefetch error latch for storing that an error has occurred during prefetching of an instruction; 27 is an instruction error latch for storing that an error has occurred in an operation during execution of an instruction; and 28 is an increment circuit. As in the example of FIG. 1, one instruction consists of two bytes.
The difference from the example shown in FIG. 1 is that an instruction prefetching function is added, and in addition to error detection during instruction execution, errors during instruction prefetching are also detected.

正常動作時において、命令レジスタ2の内容に
もとづいて演算を実行するとともに、次の命令を
主記憶装置1から読出して先取りバツフア19に
セツトしておく。そして、命令読出し毎に、先取
りアドレスレジスタ20の内容を主記憶アドレス
レジスタ6に移すとともに、先取りアドレスレジ
スタ20には歩進回路28で歩進された値がセツ
トされる。
During normal operation, an operation is executed based on the contents of the instruction register 2, and the next instruction is read from the main memory 1 and set in the prefetch buffer 19. Each time an instruction is read, the contents of the prefetch address register 20 are transferred to the main memory address register 6, and the value incremented by the increment circuit 28 is set in the prefetch address register 20.

一方、演算回路3の演算結果データに誤りが発
生すると、誤り検出回路4は誤り検出信号線16
により再試行制御回路5内の命令誤りラツチ27
をセツトする。このとき、第1図の例の場合と同
様な制御が行なわれ、更新されない現アドレスレ
ジスタ8の内容にもとづき主記憶装置1から命令
の読出しが行なわれ、命令レジスタ2にセツトさ
れる。以後、命令の再試行動作が行なわれる。
On the other hand, if an error occurs in the calculation result data of the calculation circuit 3, the error detection circuit 4
The instruction error latch 27 in the retry control circuit 5
Set. At this time, the same control as in the example shown in FIG. 1 is performed, and an instruction is read from main memory 1 based on the contents of current address register 8, which is not updated, and is set in instruction register 2. Thereafter, an instruction retry operation is performed.

また、主記憶装置1から先取りバツフア19へ
命令先取り中にエラーが発生すると、誤り検出回
路4は誤り検出信号線16により再試行制御回路
5内の先取り誤りラツチ26をセツトする。この
とき、再試行開始指示信号線25の制御により、
歩進回路28による先取りアドレスレジスタ20
の歩進は抑止され、先取りアドレスレジスタ20
には次アドレスレジスタ7の内容がセツトされ
る。そして、先取りアドレスレジスタ20の内容
にもとづいて主記憶装置1から命令先取りの再試
行が行なわれ再読出しされた命令は先取りバツフ
ア19にセツトされる。
Further, if an error occurs during prefetching of an instruction from main memory 1 to prefetch buffer 19, error detection circuit 4 sets prefetch error latch 26 in retry control circuit 5 via error detection signal line 16. At this time, by controlling the retry start instruction signal line 25,
Prefetch address register 20 by step circuit 28
The advance of the prefetch address register 20 is inhibited.
The contents of the next address register 7 are set. Then, based on the contents of the prefetch address register 20, a retry of prefetching the instruction from the main memory device 1 is performed, and the reread instruction is set in the prefetch buffer 19.

第4図は第3図の実施例のタイムチヤートであ
り、図中、ERRORはエラー発生を指示する信
号、Check−Regはエラー情報をセツトするレジ
スタ、RQY1とRQY2はそれぞれエラー信号、
RQ1Mは第3図の命令誤りラツチ27と同一の
もの、RQ2Mは第3図の先取り誤りラツチ26
と同一のもの、IAR,LAR,SAR,AARはそれ
ぞれ第3図の次アドレスレジスタ7、現アドレス
レジスタ8、主記憶アドレスレジスタ6、先取り
アドレスレジスタ20と同一のもの、SANTは
命令の読出しタイミング、SANCは命令の実行タ
イミング、IRは命令レジスタ2と同一のもので
ある。第4図のタイムチヤートは命令実行および
命令の先取り両方で同時にエラーが発生したた
め、実行中の命令のフエツチから再試行する例を
示している。
FIG. 4 is a time chart of the embodiment shown in FIG. 3, in which ERROR is a signal instructing error occurrence, Check-Reg is a register for setting error information, RQY1 and RQY2 are error signals, respectively.
RQ1M is the same as the instruction error latch 27 in FIG. 3, and RQ2M is the prefetch error latch 26 in FIG.
, IAR, LAR, SAR, and AAR are the same as the next address register 7, current address register 8, main memory address register 6, and prefetch address register 20 in FIG. 3, and SANT is the instruction read timing. SANC is the instruction execution timing, and IR is the same as instruction register 2. The time chart in FIG. 4 shows an example in which an error occurs simultaneously in both instruction execution and instruction prefetching, so a retry is made starting from fetching the instruction currently being executed.

上記したように本発明によれば、命令の再試行
が可能となるので、通信制御処理装置の信頼度を
向上させることができ、再試行可能な誤りについ
ては見かけ上1台の装置で2台(デユープレツク
ス)の働きをすることになりデータ通信システム
の経済化を計ることができる。また二重化構成と
した場合でも、切替動作が減少するので処理能力
の低減を抑えることが可能となる。
As described above, according to the present invention, it is possible to retry the command, so it is possible to improve the reliability of the communication control processing device. (duplex) function, making it possible to make the data communication system more economical. Furthermore, even in the case of a duplex configuration, since the number of switching operations is reduced, it is possible to suppress a reduction in processing capacity.

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

第1図は本発明の前提とする通信制御処理装置
の1例のブロツク図、第2図は第1図の例のタイ
ムチヤート、第3図は本発明による実施例の通信
制御処理装置のブロツク図、第4図は第3図の実
施例のタイムチヤートである。 図中、1は主記憶装置、2は命令レジスタ、3
は演算回路、4は誤り検出回路、5は再試行制御
回路、6は主記憶アドレスレジスタ、7は次アド
レスレジスタ、8は現アドレスレジスタ、19は
先取りバツフア、20は先取りアドレスレジス
タ、26は先取り誤りラツチ、27は命令誤りラ
ツチである。
FIG. 1 is a block diagram of an example of a communication control processing device on which the present invention is based, FIG. 2 is a time chart of the example of FIG. 1, and FIG. 3 is a block diagram of a communication control processing device of an embodiment according to the present invention. 4 is a time chart of the embodiment of FIG. 3. In the figure, 1 is the main memory, 2 is the instruction register, and 3
is an arithmetic circuit, 4 is an error detection circuit, 5 is a retry control circuit, 6 is a main memory address register, 7 is a next address register, 8 is a current address register, 19 is a prefetch buffer, 20 is a prefetch address register, and 26 is a prefetch. Error latch 27 is an instruction error latch.

Claims (1)

【特許請求の範囲】[Claims] 1 記憶装置から読出した命令等を解読し演算処
理を行う通信制御処理装置において、現在実行中
の命令アドレスを示す現アドレスレジスタと、次
に実行すべき命令アドレスを示す次アドレスレジ
スタと、再試行制御回路と、先取アドレスレジス
タを含み命令の先取りを制御する先取り制御回路
と、上記先取りされた命令を記憶する先取りバツ
フアと、命令の実行中において演算に誤りが生じ
たことを記憶する命令誤りラツチと、命令の先取
り中において誤りが生じたことを記憶する先取り
誤りラツチをそなえ、命令の先取り制御を行なう
とともに、誤りが発生したとき上記命令誤りラツ
チおよび先取り誤りラツチの状態にもとづき上記
先取アドレスレジスタにセツトされるべき命令再
試行アドレスとして上記現アドレスレジスタまた
は上記次アドレスレジスタのいずれの内容を使用
するかを決定するように構成したことを特徴とす
る通信制御処理装置。
1 In a communication control processing device that decodes instructions read from a storage device and performs arithmetic processing, there is a current address register indicating the address of the instruction currently being executed, a next address register indicating the address of the instruction to be executed next, and a retry register. a control circuit, a prefetch control circuit that includes a prefetch address register and controls prefetching of instructions, a prefetch buffer that stores the prefetched instructions, and an instruction error latch that stores information that an error has occurred in an operation during execution of an instruction. and a prefetch error latch that memorizes the occurrence of an error during prefetching of an instruction, and performs prefetch control of the instruction, and when an error occurs, the prefetch address register is set based on the state of the instruction error latch and the prefetch error latch. A communication control processing device, characterized in that it is configured to determine which of the contents of the current address register or the next address register is to be used as an instruction retry address to be set.
JP16105379A 1979-12-12 1979-12-12 Communication controlling processor Granted JPS5682940A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16105379A JPS5682940A (en) 1979-12-12 1979-12-12 Communication controlling processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16105379A JPS5682940A (en) 1979-12-12 1979-12-12 Communication controlling processor

Publications (2)

Publication Number Publication Date
JPS5682940A JPS5682940A (en) 1981-07-07
JPH0137769B2 true JPH0137769B2 (en) 1989-08-09

Family

ID=15727706

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16105379A Granted JPS5682940A (en) 1979-12-12 1979-12-12 Communication controlling processor

Country Status (1)

Country Link
JP (1) JPS5682940A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59218556A (en) * 1983-05-27 1984-12-08 Fujitsu Ltd Microprogram controlling system

Also Published As

Publication number Publication date
JPS5682940A (en) 1981-07-07

Similar Documents

Publication Publication Date Title
JPH0137769B2 (en)
JPH0122653B2 (en)
JP3239935B2 (en) Tightly-coupled multiprocessor system control method, tightly-coupled multiprocessor system, and recording medium therefor
JPH06259274A (en) Duplex system
JP3311776B2 (en) Data transfer check method in disk subsystem
JPH0232652B2 (en)
JP3012402B2 (en) Information processing system
JPS6218060B2 (en)
JPS6240736B2 (en)
JPS6218059B2 (en)
JPH0612270A (en) Test circuit
JPH0152774B2 (en)
JPS6367646A (en) Information processing system with faulty area separating function
JPS63282852A (en) Stand-by system diagnosing system in duplex processing system
JPH07287694A (en) Multiplex processing system and memory synchronous control method
JPS597971B2 (en) I/O device control method
JPS59163653A (en) Debug device
JPS62173658A (en) Resetting circuit
JPH06161797A (en) Data processor
JPH0113577B2 (en)
JPH10124187A (en) Hot-line insertion and pulling out system
JPH01129553A (en) Communication retrial system
JPS62114047A (en) Storage device
JPS63125032A (en) Data bus repeating installation
JPH0315217B2 (en)