JPH06250868A - Computer - Google Patents

Computer

Info

Publication number
JPH06250868A
JPH06250868A JP5036374A JP3637493A JPH06250868A JP H06250868 A JPH06250868 A JP H06250868A JP 5036374 A JP5036374 A JP 5036374A JP 3637493 A JP3637493 A JP 3637493A JP H06250868 A JPH06250868 A JP H06250868A
Authority
JP
Japan
Prior art keywords
output
circuit
control unit
cpu
output information
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
JP5036374A
Other languages
Japanese (ja)
Inventor
Nobuo Nakagawa
信雄 中川
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP5036374A priority Critical patent/JPH06250868A/en
Publication of JPH06250868A publication Critical patent/JPH06250868A/en
Pending legal-status Critical Current

Links

Landscapes

  • Hardware Redundancy (AREA)

Abstract

PURPOSE:To remove an error by independently constituting three operation control parts, allowing the operation control parts to simultaneously execute the same operation and finding out the majority of respective operation results by an I/O control part. CONSTITUTION:Three operation control parts 15 each of which consists of a memory 1, a CPU 2, a control circuit 7, and an FIFO 14 for storing output information are independently constituted. The I/O control part 21 is constituted of a reference signal generating circuit 5 for generating a reference signal 6 for simultaneously and periodically starting the three operation control parts 15, a CPU 18 and a selector circuit 17 for successively selecting the FIFOs 14 of the control parts 15. Since the three operation control parts 15 are independently driven by the reference signal 6, this computer has an effect capable of easily synchronizing plural data outputs and easily detecting and separating a generated error.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、計算機のエラーを、
自動的に排除するフォールトトレラント機能を要求され
る計算機に係わるものである。
BACKGROUND OF THE INVENTION This invention eliminates computer errors.
The present invention relates to a computer that requires a fault-tolerant function that automatically eliminates it.

【0002】[0002]

【従来の技術】図10は、この発明に係わる従来の計算
機の構成例を示す図である。図11は、動作状態を示す
タイミングチャートである。
2. Description of the Related Art FIG. 10 is a diagram showing a configuration example of a conventional computer according to the present invention. FIG. 11 is a timing chart showing the operating state.

【0003】図において、1はプログラムを格納するメ
モリ、2a,2b,2cは演算を実行するCPU、3は
CPU2a,2b,2cの動作クロックを供給するクロ
ック発生回路、4はクロック信号、5はCPU2a,2
b,2cの周期的動作タイミングを発生する基準信号発
生回路、6はCPU2a,2b,2cの周期処理の基準
となる基準信号、7は基準信号6に基づいてCPU2
a,2b,2cの処理実行の可否を決定する制御回路、
8は制御回路7からCPU2a,2b,2cに出力され
るレディー信号、9a,9b,9cはCPU2a,2
b,2cからの出力バス、10は出力バス9a,9b,
9cの情報の多数決をとる多数決回路、11は出力回
路、12は出力データである。13a,13b,13c
はCPU2a,2b,2cの処理が完了したことをプロ
グラムで制御回路7に知らせる処理終了信号である。
In the figure, 1 is a memory for storing a program, 2a, 2b and 2c are CPUs for executing operations, 3 is a clock generation circuit for supplying operation clocks of the CPUs 2a, 2b and 2c, 4 is a clock signal, and 5 is a clock signal. CPU 2a, 2
Reference signal generating circuit for generating periodic operation timings of b and 2c, 6 is a reference signal serving as a reference for the periodic processing of the CPUs 2a, 2b and 2c, and 7 is a CPU 2 based on the reference signal 6.
a control circuit for deciding whether or not to execute the processing of a, 2b, 2c,
Reference numeral 8 is a ready signal output from the control circuit 7 to the CPUs 2a, 2b and 2c, and 9a, 9b and 9c are CPUs 2a and 2c.
Output buses from b and 2c, 10 are output buses 9a and 9b,
9c is a majority decision circuit for taking a majority decision of information, 11 is an output circuit, and 12 is output data. 13a, 13b, 13c
Is a processing end signal which informs the control circuit 7 that the processing of the CPUs 2a, 2b, 2c has been completed.

【0004】なお、図11でT1は基準信号6の周期
を、T2はレディー信号8の期間を示す。T2の期間
が、CPU2a,2b,2cの処理期間となる。
In FIG. 11, T1 indicates the period of the reference signal 6 and T2 indicates the period of the ready signal 8. The period of T2 is the processing period of the CPUs 2a, 2b, 2c.

【0005】次に動作について説明する。図11に示す
ように基準信号6がt1で発生するとt2からレディー
信号8がCPU2a,2b,2cに出力される。CPU
2a,2b,2cは、このレディー信号8に基づいて処
理を同時に開始する。処理が開始されるとCPU2a,
2b,2cは、クロック信号4に同期してメモリ1から
処理プログラムをロードしながら同一処理を実行する。
処理中の出力回路11への出力情報は、出力バス9a,
9b,9cを経由して多数決回路10に出力される。
Next, the operation will be described. As shown in FIG. 11, when the reference signal 6 is generated at t1, the ready signal 8 is output to the CPUs 2a, 2b and 2c from t2. CPU
2a, 2b, 2c simultaneously start processing based on the ready signal 8. When the processing is started, the CPU 2a,
2b and 2c execute the same processing while loading the processing program from the memory 1 in synchronization with the clock signal 4.
The output information to the output circuit 11 being processed is output to the output bus 9a,
It is output to the majority circuit 10 via 9b and 9c.

【0006】CPU2a,2b,2cはクロック信号4
に同期し、かつ同一プログラムであることから出力情報
は同一クロック信号4のタイミングで出力バス9a,9
b,9cに出力されることになる。図11でt3からt
4の間は、出力バス9a,9b,9cが同一情報を出力
した場合を示し、この時の出力データ12は、出力バス
9a,9b,9cの情報と同一情報が出力されることに
なる。
The CPUs 2a, 2b and 2c use the clock signal 4
The output information is output at the timing of the same clock signal 4 because it is synchronized with the same program and is the same program.
b and 9c. In FIG. 11, t3 to t
4 shows the case where the output buses 9a, 9b, 9c output the same information, and the output data 12 at this time outputs the same information as the information of the output buses 9a, 9b, 9c.

【0007】t4からt5は、CPU2cがエラーを発
生した場合を示したものである。多数決回路10によっ
て、エラーとなった出力バス9cの情報は排他され、出
力バス9aと9bの同一となった出力情報を出力データ
12として出力する。
From t4 to t5, the case where the CPU 2c generates an error is shown. The majority circuit 10 excludes the information of the output bus 9c in error, and outputs the same output information of the output buses 9a and 9b as the output data 12.

【0008】CPU2a,2b,2cの処理が完了する
と処理終了信号13a,13b,13cが制御回路7に
出力される。制御回路7は、処理終了信号13a,13
b,13cの何れか2つを入力するとレディー信号8を
t6で停止する。
When the processing of the CPUs 2a, 2b, 2c is completed, processing end signals 13a, 13b, 13c are output to the control circuit 7. The control circuit 7 controls the processing end signals 13a, 13
When any two of b and 13c are input, the ready signal 8 is stopped at t6.

【0009】なお、レディー信号8がT2以外の期間、
CPU2a,2b,2cは、リセット状態となり次の基
準信号6では、初期化された状態から処理を実行するこ
とになる。
Incidentally, when the ready signal 8 is other than T2,
The CPUs 2a, 2b, 2c enter the reset state, and with the next reference signal 6, the processing is executed from the initialized state.

【0010】上記のように、基準信号6ごとにCPU2
a,2b,2cを初期化し、レディー信号8が発生する
とクロック同期で同一メモリ1からプログラムをロード
して実行し、その処理結果を多数決回路10で多数決す
る方法によって、CPU2a,2b,2c何れか一つが
暴走した場合においても、その周期内で暴走を抑え、誤
った出力情報を出力回路11に出力しないようにしてい
た。
As described above, the CPU 2 for each reference signal 6
a, 2b, 2c are initialized, and when a ready signal 8 is generated, a program is loaded from the same memory 1 in synchronization with the clock and executed, and the processing result is majority-determined by the majority-decision circuit 10. Even if one of them runs out of control, the runaway is suppressed within the cycle so that incorrect output information is not output to the output circuit 11.

【0011】[0011]

【発明が解決しようとする課題】しかし、最近CPU2
a,2b,2cの処理速度が向上し、クロック信号4が
高速になり、回路の遅延時間のばらつきなどから、多数
決回路10の同期が難しくなってきたこと、また、メモ
リ1のプログラムを共有するため、メモリ1のエラーが
CPU2a,2b,2cの全処理にエラーを発生させて
しまうという課題があった。
However, recently CPU2
The processing speeds of a, 2b and 2c are improved, the clock signal 4 is increased in speed, and it has become difficult to synchronize the majority circuit 10 due to variations in the delay time of the circuit, and the program of the memory 1 is shared. Therefore, there is a problem that an error in the memory 1 causes an error in all the processes of the CPUs 2a, 2b, 2c.

【0012】この発明は、かかる課題を解決するために
なされたものであり、メモリ、CPUなどから構成され
る演算制御部を独立に3組構成し、これを独立に動作さ
せ、その出力情報を各演算制御部内に配置されるファー
ストイン・ファーストアウトメモリに各々格納し、これ
を別に構成されるCPUが組み込まれた入出力制御部に
よって順に呼び出し、入出力制御部のCPUプログラム
によって多数決をとる方法によって、CPU2a,2
b,2cの同期を容易にすること、さらにメモリ1のエ
ラーが全CPU2a,2b,2cのエラーに波及しない
ようにすることを目的としている。
The present invention has been made in order to solve the above-mentioned problems, and three operation control units each composed of a memory, a CPU and the like are independently configured, and these are independently operated to output the output information. A method of storing each in a first-in / first-out memory arranged in each arithmetic control unit, calling them sequentially by an input / output control unit having a CPU separately configured, and taking a majority decision by a CPU program of the input / output control unit The CPUs 2a, 2
It is intended to facilitate the synchronization of b and 2c and to prevent the error of the memory 1 from affecting the errors of all the CPUs 2a, 2b and 2c.

【0013】また、3組の独立した演算制御部の出力情
報を、別に構成される入出力制御部からランダムなアド
レスで、また演算制御部と入出力制御部のCPUから同
時にもしくは非同期にアクセスできるようにすることを
目的としている。
The output information of the three sets of independent arithmetic control units can be accessed at random addresses from the input / output control units separately configured, and simultaneously or asynchronously from the CPUs of the arithmetic control unit and the input / output control units. The purpose is to do so.

【0014】また、3組の演算制御部の出力情報を入出
力制御部のCPUが同時に読みだし、この出力情報を入
出力制御部のCPUに入力する前に、多数決回路によっ
て多数決をとり、エラーを排他することを目的としてい
る。
Further, the CPU of the input / output control unit simultaneously reads the output information of the three sets of arithmetic control units, and before inputting this output information to the CPU of the input / output control unit, a majority decision is taken by the majority decision circuit to cause an error. Is intended to be exclusive.

【0015】また、3組の演算制御部のファーストイン
・ファーストアウトメモリの出力情報を一定周期ごとに
リード信号を発生する出力制御回路によって同時に読み
だし、この読み出した3組の出力情報を多数決回路によ
ってエラーを排他し、その結果を直接に出力回路11に
出力できるようにすることを目的としている。
Further, the output information of the first-in / first-out memories of the three sets of operation control units are simultaneously read by the output control circuit which generates a read signal at constant intervals, and the read three sets of output information are majority circuits. The purpose is to exclude the error and output the result directly to the output circuit 11.

【0016】また、3組の演算制御部の演算結果を相互
の演算制御部が読み取り、自身の結果と比較してエラー
の有無をチェックし、この結果をエラー信号として入出
力制御部に出力することによってエラーを発生した演算
制御部を識別し、エラーを排他して出力回路11に出力
できるようにすることを目的とする。
Mutual arithmetic control units read the arithmetic results of the three arithmetic control units, compare them with their own results to check for errors, and output the results as an error signal to the input / output control unit. The purpose is to identify the arithmetic control unit in which an error has occurred and to exclude the error so that the error can be output to the output circuit 11.

【0017】[0017]

【課題を解決するための手段】この発明に係わる計算機
は、プログラムを格納するメモリ1、演算を実行するC
PU2a、CPU2aの動作を制御する制御回路7、C
PU2aからの出力情報を格納するファーストイン・フ
ァーストアウトメモリ及びCPU2aへの動作用クロッ
クを供給するクロック発生回路3を1組の演算制御部と
して独立に3組構成し、さらにこの3組の演算制御部を
同時にかつ周期的に実行させる基準信号6を供給する基
準信号発生回路5、各演算制御部の出力情報が格納され
たファーストイン・ファーストアウトメモリを順番に選
択していく選択回路、選択回路で選択されたファースト
イン・ファーストアウトメモリから出力情報を読み込み
3組の出力情報の多数決をプログラムで実行するCP
U、この多数決処理を実行するプログラムを格納するメ
モリ、CPUの動作用クロックを供給するクロック発生
回路3及び外部装置へのデータ出力用の出力回路11を
1組の入出力制御部として構成し、この入出力制御部の
基準信号発生回路5から3組の演算制御部に基準信号6
を発生して同時にプログラム処理を実行させ、3組の演
算制御部がプログラム処理を完了した後、3組の演算制
御部のファーストイン・ファーストアウトメモリから出
力情報を選択回路を切り換えながら順番に入出力制御部
のCPUで読み込み、CPUのプログラムで多数決をと
った後に出力情報を外部装置に出力するようにしたもの
である。
A computer according to the present invention includes a memory 1 for storing a program and a C for executing an operation.
Control circuits 7 and C for controlling the operations of the PU 2a and the CPU 2a
The first-in / first-out memory for storing the output information from the PU 2a and the clock generating circuit 3 for supplying the operation clock to the CPU 2a are independently configured in three sets as one set of operation control section, and further, these three sets of operation control are provided. A reference signal generation circuit 5 for supplying a reference signal 6 for simultaneously and periodically executing the units, a selection circuit for sequentially selecting a first-in / first-out memory in which output information of each operation control unit is stored, and a selection circuit CP that reads output information from the first-in / first-out memory selected in step 3 and executes the majority decision of the three sets of output information by a program
U, a memory that stores a program that executes this majority processing, a clock generation circuit 3 that supplies a clock for operating the CPU, and an output circuit 11 that outputs data to an external device are configured as a set of input / output control units. From the reference signal generation circuit 5 of this input / output control unit to the three sets of arithmetic control units, the reference signal 6
Is generated and the program processing is executed at the same time, and the three sets of arithmetic control units complete the program processing, and the output information is sequentially input while switching the selection circuit from the first-in / first-out memory of the three sets of arithmetic control units. The CPU of the output control unit reads the output data, outputs the output information to an external device after a majority decision is made by the CPU program.

【0018】また、3組の各演算制御部の出力情報の格
納メモリとして2ポートRAMを構成し、演算制御部及
び入出力制御部が各々の動作プログラムの任意のタイミ
ングで2ポートRAMの任意のアドレスをアクセスする
ようにしたものである。
Further, the 2-port RAM is configured as a memory for storing the output information of each of the three sets of arithmetic control units, and the arithmetic control unit and the input / output control unit are set to arbitrary timings of the respective operation programs. The address is accessed.

【0019】また、3組の演算制御部のファーストイン
・ファーストアウトメモリからの出力情報を、入出力制
御部のCPUの指示によって同時に読みだし、この出力
情報を多数決回路によって多数決をとった後に入出力制
御部のCPUに転送するようにしたものである。
Further, the output information from the first-in / first-out memory of the three sets of arithmetic control units is read at the same time according to the instruction of the CPU of the input / output control unit, and this output information is input after the majority decision is made by the majority decision circuit. The data is transferred to the CPU of the output control unit.

【0020】また、入出力制御部に計数回路とパルス発
生回路から成る出力制御回路を構成し、一定周期で、ま
た連続して3組の演算制御部のファーストイン・ファー
ストアウトメモリの出力情報を読み出すリード信号を発
生させ、このリード信号で3組のファーストイン・ファ
ーストアウトメモリからの出力情報を同時に読みだし、
多数決回路によって多数決をとった後に、直接に出力回
路11に出力するようにしたものである。
Further, an output control circuit comprising a counting circuit and a pulse generation circuit is formed in the input / output control section, and the output information of the first-in / first-out memory of the three sets of arithmetic control sections is continuously supplied at a constant cycle. A read signal to be read is generated, and output information from the three sets of first-in / first-out memories is simultaneously read by this read signal.
After the majority decision is made by the majority decision circuit, it is directly output to the output circuit 11.

【0021】また、3組の演算制御部1〜3のファース
トイン・ファーストアウトメモリの出力情報を演算制御
部1については演算制御部2が、演算制御部2について
は演算制御部3が、演算制御部3については演算制御部
1が各々取り込み、自身の出力情報と比較した後、その
結果をエラー識別回路に転送し、もし、演算制御部1と
2がエラーを示した時は演算制御1が、演算制御部2と
3がエラーを示した時は演算制御部2が、演算制御部3
と1がエラーを示した時は演算制御部3がエラーである
と判定し、正しい出力情報を出した演算制御部を選択し
て、外部装置に出力するようにしたものである。
The output information of the first-in / first-out memories of the three sets of arithmetic control units 1 to 3 is calculated by the arithmetic control unit 2 for the arithmetic control unit 1 and the arithmetic control unit 3 for the arithmetic control unit 2. Regarding the control unit 3, the arithmetic control unit 1 takes in each of them, compares them with its own output information, and transfers the result to an error discrimination circuit. If the arithmetic control units 1 and 2 indicate an error, the arithmetic control unit 1 However, when the arithmetic control units 2 and 3 indicate an error, the arithmetic control unit 2 causes the arithmetic control unit 3 to
When 1 and 1 indicate an error, the arithmetic control unit 3 determines that there is an error, selects the arithmetic control unit that has output the correct output information, and outputs it to the external device.

【0022】[0022]

【作用】上記のように独立して動作する3組の演算制御
部と、この3組の演算結果を管理する入出力制御部を配
置し、相互にファーストイン・ファーストアウトメモリ
を用いて出力情報を転送する方法にすることによって、
高速CPUのタイミングをクロック信号4ごとではな
く、基準信号6で同期がとれるように作用すると共に、
プログラム格納用のメモリ1が独立して演算制御部に配
置されるため、一つのメモリ1にエラーが発生しても出
力回路11へのエラーの出力情報が出力されないように
作用する。
The three sets of operation control units that operate independently as described above and the input / output control unit that manages the operation results of these three sets are arranged, and output information is mutually provided by using a first-in / first-out memory. By how to transfer
The timing of the high-speed CPU acts not only by the clock signal 4 but by the reference signal 6, and
Since the memory 1 for storing the program is independently arranged in the arithmetic control unit, even if an error occurs in one memory 1, the error output information to the output circuit 11 is prevented from being output.

【0023】また、3組の演算制御部の出力制御格納メ
モリに2ポートRAMを用いることによって、演算制御
部と入出力制御部のCPUが出力情報を任意のアドレス
に出力、または任意のアドレスから読み取れる。
By using the 2-port RAM as the output control storage memory of the three sets of arithmetic control units, the CPUs of the arithmetic control unit and the input / output control unit output output information to or from arbitrary addresses. Can be read.

【0024】また、3組の演算制御部の出力情報を多数
決回路で多数決をとった後に入出力制御部のCPUに転
送するようにしたことによって、入出力制御部のCPU
における多数決処理が不要になる。
Further, the output information of the three sets of arithmetic control units is transferred to the CPU of the input / output control unit after the majority vote is taken by the majority circuit, so that the CPU of the input / output control unit is
No need for majority processing in.

【0025】また、3組の演算制御部のファーストイン
・ファーストアウトメモリに格納された出力情報を出力
制御回路の計数回路とパルス発生回路から発生するリー
ド信号を用いて一定周期で、かつ連続的に同時に読み出
して多数決回路に入力させるようにすることによって多
数決回路から直接、出力回路11に多数決後の出力情報
を出力する。
The output information stored in the first-in / first-out memories of the three sets of arithmetic control units is continuously read at a constant cycle by using the read signals generated from the counting circuit and the pulse generating circuit of the output control circuit. The output information after the majority vote is directly output from the majority vote circuit to the output circuit 11 by simultaneously reading out and inputting it to the majority vote circuit.

【0026】また、3組の演算制御部の出力情報を相互
に取り込み、取り込んだ出力情報を自身の出力情報と比
較してエラー信号を入出力制御部に発生するようにした
ことで、演算制御部からのエラー信号で入出力制御部が
エラーを発生した演算制御部を識別し、排他できるよう
に作用する。
Further, the output information of the three sets of arithmetic control units are mutually captured, the captured output information is compared with its own output information, and an error signal is generated in the input / output control unit. The input / output control unit identifies the arithmetic control unit in which an error has occurred based on an error signal from the unit, and operates so that the arithmetic control unit can be excluded.

【0027】[0027]

【実施例】【Example】

実施例1 図1は、この発明の一実施例である計算機の構成例を示
したものである。図2は、動作状態を示すタイミングチ
ャートである。
Embodiment 1 FIG. 1 shows a configuration example of a computer which is an embodiment of the present invention. FIG. 2 is a timing chart showing the operating state.

【0028】図において、1〜12は上記従来例と全く
同一のものである。14a,14b,14cはCPU2
a,2b,2cからの出力情報を順次格納するファース
トイン・ファーストアウトメモリ(FIFO)である。
FIFO14a,14b,14cは、出力バス9a,9
b,9cから書き込まれる出力情報を先頭番地から順番
にアドレス指定なしで記憶し、読みだし要求があった時
は、先に書き込まれた、すなわち先頭番地から順番に格
納された出力情報を出力していく機能を有する。従っ
て、ランダムなアドレスから出力情報を読み出すことは
できないが、読みだし信号のみでよいため読みだし時間
が短期間でできる利点を有する。15a,15b,15
cは演算制御部であり、全く同一な回路構成である。1
6は基準信号6を演算制御部15a,15b,15cの
各々に構成される制御回路7に転送するドライバ、17
はFIFO14a,14b,14cの何れを選択するか
を選択する選択回路、18は選択回路17を切り換えな
がらFIFO14a,FIFO14b,FIFO14c
の順番に出力情報を取り込み多数決処理及び出力回路1
1へ出力情報を出力するCPU、19はCPU18の制
御プログラムを格納するメモリ、20はCPU18の基
準信号である。基準信号20は、基準信号6の各発生周
期内で、る一定遅れ時間を持って発生する。この遅れ時
間は、予めCPU2a,2b,2cの処理時間の終了時
間に合わせて基準信号発生回路5の中に設定されてい
る。21は入出力制御部である。
In the figure, 1 to 12 are exactly the same as the above-mentioned conventional example. 14a, 14b and 14c are CPU2
It is a first-in first-out memory (FIFO) that sequentially stores output information from a, 2b, and 2c.
The FIFOs 14a, 14b, 14c are connected to the output buses 9a, 9
The output information written from b and 9c is stored in order from the head address without addressing, and when there is a read request, the output information written first, that is, the output information stored in order from the head address is output. It has a function to go. Therefore, although output information cannot be read from a random address, there is an advantage that the read time can be shortened because only the read signal is required. 15a, 15b, 15
Reference numeral c is an arithmetic control unit, which has exactly the same circuit configuration. 1
Reference numeral 6 denotes a driver for transferring the reference signal 6 to the control circuit 7 formed in each of the arithmetic control units 15a, 15b, 15c, and 17
Is a selection circuit for selecting which one of the FIFOs 14a, 14b, 14c is to be selected, and 18 is a FIFO 14a, a FIFO 14b, a FIFO 14c while switching the selection circuit 17.
Output information in the order of 1) and majority processing and output circuit 1
1 is a CPU that outputs output information, 19 is a memory that stores a control program for the CPU 18, and 20 is a reference signal for the CPU 18. The reference signal 20 is generated with a certain delay time within each generation cycle of the reference signal 6. This delay time is preset in the reference signal generation circuit 5 in accordance with the end time of the processing time of the CPUs 2a, 2b, 2c. Reference numeral 21 is an input / output control unit.

【0029】上記のように、この発明の構成は、数値演
算などのエラーを許容できない部分に演算処理部15
a,15b,15cの同一回路を3組構成し、この出力
情報を入出力制御部21で制御しつつ出力データ12と
して出力していく方法である。
As described above, according to the configuration of the present invention, the arithmetic processing unit 15 is provided in a portion where an error such as numerical operation cannot be tolerated.
This is a method in which three sets of the same circuits a, 15b, and 15c are configured, and the output information is output as the output data 12 while being controlled by the input / output control unit 21.

【0030】次に動作について説明する。基準信号発生
回路5から基準信号6がt1,t8のように周期的に発
生する。基準信号6はドライバ16を経由して演算制御
部15a,15b,15cの各制御回路7に出力され
る。各制御回路7は従来の計算機の動作と同様に各々の
CPU2a,2b,2cにレディー信号8を出力する。
これによって、各CPU2a,2b,2cは、各々専用
に配置されたメモリ1から独立にプログラムを読み出し
ながら独立に処理を開始する。CPU2a,2b,2c
の処理は、各々T3,T4,T5の時間を要する。この
時間のずれは各クロック信号4の位相差によって生じる
ものである。CPU2a,2b,2cは、処理の過程で
出力情報を各FIFO14a,14b,14cに格納す
る。処理が終了すると各CPU2a,2b,2cは処理
終了信号13a,13b,13cを各制御回路7に出力
し、停止状態にはいる。
Next, the operation will be described. A reference signal 6 is periodically generated from the reference signal generation circuit 5 as t1 and t8. The reference signal 6 is output to each control circuit 7 of the arithmetic control units 15a, 15b, 15c via the driver 16. Each control circuit 7 outputs a ready signal 8 to each of the CPUs 2a, 2b, 2c as in the operation of the conventional computer.
As a result, each of the CPUs 2a, 2b, 2c independently starts the processing while independently reading the program from the memory 1 arranged exclusively for each. CPUs 2a, 2b, 2c
The above processing requires time T3, T4, and T5, respectively. This time difference is caused by the phase difference between the clock signals 4. The CPUs 2a, 2b, 2c store output information in the FIFOs 14a, 14b, 14c in the course of processing. When the processing is completed, the CPUs 2a, 2b, 2c output the processing end signals 13a, 13b, 13c to the control circuits 7 and enter the stopped state.

【0031】T6の期間後のt7でCPU18に基準信
号20が出力される。CPU18は、この基準信号20
を起動信号として、メモリ19から出力情報の読み込
み、多数決処理及び外部装置への出力処理機能を有する
プログラムを読み込みながらこの処理を実施する。図2
でT7は、選択回路17を演算制御部15aに設定しF
IFO14aから出力情報を書込まれた順番に読み込み
処理、この結果をメモリ19に格納する処理期間を示
す。T8は、選択回路17を演算制御部15bに切り換
えFIFO14bから出力情報を同様に読み込む処理期
間を示す。T9は、選択回路17を演算制御部15cに
切り換えFIFO14cから出力情報を同様に読み込む
処理期間を示す。
At t7 after the period of T6, the reference signal 20 is output to the CPU 18. The CPU 18 uses the reference signal 20
As a start signal, this process is performed while reading output information from the memory 19 and reading a program having a majority decision process and an output process function to an external device. Figure 2
At T7, the selection circuit 17 is set in the arithmetic control unit 15a and F
The processing period for reading the output information from the IFO 14a in the written order and storing the result in the memory 19 is shown. T8 indicates a processing period in which the selection circuit 17 is switched to the arithmetic control unit 15b and output information is similarly read from the FIFO 14b. T9 indicates a processing period in which the selection circuit 17 is switched to the arithmetic control unit 15c and output information is similarly read from the FIFO 14c.

【0032】上記のようにFIFO14a,14b,1
4cの出力情報を読み込んだ後、T10の期間でCPU
18は、メモリ19に格納した3組の出力情報を多数決
する。多数決処理の後、CPU18は、T11の期間で
出力回路11を経由して外部装置に出力データ12とし
て出力する。
As described above, the FIFOs 14a, 14b, 1
After reading the output information of 4c, the CPU operates in the period of T10.
18 determines a majority of the three sets of output information stored in the memory 19. After the majority vote processing, the CPU 18 outputs the output data 12 to the external device via the output circuit 11 during the period T11.

【0033】このように完全に独立した演算制御部15
a,15b,15cを入出力制御部21からの基準信号
6によって処理開始の同期をとり、さらに出力情報はF
IFO14a,14b,14cによって同期をとる方法
にしたものである。
In this way, the completely independent arithmetic control unit 15
a, 15b, 15c are synchronized with the start of processing by the reference signal 6 from the input / output control unit 21, and the output information is F
This is a method of synchronizing by the IFOs 14a, 14b, 14c.

【0034】実施例2 上記実施例1で、独立した演算制御部15a,15b,
15cと入出力制御部21を配置したことで従来のクロ
ック同期方式の課題を解決できるようになったが、この
実施例は、演算制御部15a,15b,15cと入出力
制御部21の出力情報の転送において、CPU2a,2
b,2cとCPU18の各々から出力情報を同時書込み
及び読み出しを可能にできるようにしたものである。基
本的な動作は、実施例1と同一である。
Second Embodiment In the above first embodiment, the independent arithmetic control units 15a, 15b,
Although the problem of the conventional clock synchronization system can be solved by arranging 15c and the input / output control unit 21, the output information of the arithmetic control units 15a, 15b, 15c and the input / output control unit 21 can be solved in this embodiment. CPUs 2a, 2
The output information can be simultaneously written and read from each of b and 2c and the CPU 18. The basic operation is the same as that of the first embodiment.

【0035】図3は、この実施例に係わる計算機の構成
例を示す図である。図において、22はCPU18から
出力されるアドレス情報を演算制御部15a,15b,
15cに転送するドライバ、23a,23b,23cは
アドレス信号、24a,24b,24cは2ポートRA
Mである。2ポートRAM24a,24b,24cは、
同一RAM内の異なったアドレスに同時にCPU2a及
びCPU18から書込み及び読み出しができると共にア
ドレス指定によってランダムなアドレスにアクセス可能
な機能を持つメモリである。
FIG. 3 is a diagram showing an example of the configuration of a computer according to this embodiment. In the figure, reference numeral 22 indicates the address information output from the CPU 18 in the arithmetic control units 15a, 15b,
A driver for transferring to 15c, 23a, 23b, 23c are address signals, and 24a, 24b, 24c are 2-port RA
It is M. The 2-port RAMs 24a, 24b, 24c are
It is a memory having a function of simultaneously writing and reading from different addresses in the same RAM from the CPU 2a and the CPU 18 and accessing a random address by addressing.

【0036】次に動作について示す。基準信号6による
動作は、基本的に実施例1と全く同様である。よって、
タイミングチャートは、図2と同様になる。異なる点
は、図2のT7,T8,T9期間で出力情報を2ポート
RAM24a,24b,24cから読み込む際に、任意
のアドレスを指定しながら、出力情報を取り込むことが
できる点である。これによって、アドレス信号23a,
23b,23cのアドレス設定時間が加算されることに
なるが、処理プログラムによっては不要となる出力情報
を読み込む必要がなくなると共に、CPU2a,2b,
2cの処理が終了しない前でも、CPU18による並行
読み込みが可能になる。
Next, the operation will be described. The operation based on the reference signal 6 is basically the same as that of the first embodiment. Therefore,
The timing chart is similar to that of FIG. The difference is that the output information can be fetched while designating an arbitrary address when reading the output information from the 2-port RAMs 24a, 24b, 24c in the periods T7, T8, T9 of FIG. As a result, the address signals 23a,
Although the address setting times of 23b and 23c are added, there is no need to read output information that is unnecessary depending on the processing program, and the CPUs 2a, 2b, and
The parallel reading by the CPU 18 is possible even before the processing of 2c is completed.

【0037】実施例3 図4は、この発明の一実施例である計算機の構成例を示
したものである。図5は、動作状態を示すタイミングチ
ャートである。
Embodiment 3 FIG. 4 shows an example of the configuration of a computer which is an embodiment of the present invention. FIG. 5 is a timing chart showing the operating state.

【0038】図中、25はFIFO14a,14b,1
4cからの出力情報の多数決を実行する多数決回路であ
る。
In the figure, 25 is a FIFO 14a, 14b, 1
4c is a majority circuit for executing a majority vote of output information from 4c.

【0039】基本的な動作は、実施例1と同様である
が、実施例1で、FIFO14a,14b,14cの出
力情報の多数決処理をCPU18のプログラムで行って
いたものを、CPU18に取り込む前段階で多数決回路
25によって実施し、CPU18では多数決後の出力情
報を読み込み、これを出力回路11に出力する方法であ
る。
The basic operation is the same as that of the first embodiment, but in the first embodiment, the process in which the majority decision processing of the output information of the FIFOs 14a, 14b and 14c is performed by the program of the CPU 18 is a pre-stage to be taken into the CPU 18. Is performed by the majority decision circuit 25, the CPU 18 reads the output information after the majority decision, and outputs it to the output circuit 11.

【0040】次に動作を説明する。基準信号6によって
CPU2a,2b,2cが処理を開始する。各処理期間
は、図5に示すT3,T4,T5である。同一処理実行
に関するこの時間差は、各演算回路部15a,15b,
15c内部のクロック信号4の位相差によって発生する
ものである。
Next, the operation will be described. The CPU 2a, 2b, 2c starts processing by the reference signal 6. Each processing period is T3, T4, T5 shown in FIG. This time difference regarding the execution of the same processing is caused by the arithmetic circuit units 15a, 15b,
It is generated by the phase difference of the clock signal 4 inside 15c.

【0041】各演算回路部15a,15b,15cの実
行が終了すると、基準信号20がt7でCPU18に出
力され、CPU18は、T12の期間でFIFO14
a,14b,14cから同時に出力情報を読み込む。F
IFO14a,14b,14cから同時に出力された情
報は、多数決回路25によって多数決処理が行われ、こ
の結果が、CPU18に読み込まれて出力回路11から
出力されることになる。T13の期間がプログラムによ
る出力期間である。このように、CPU18での多数決
処理を多数決回路25に行わせることによって、CPU
18の多数決に関するプログラム処理時間を省略でき
る。
When the execution of each of the arithmetic circuit units 15a, 15b, 15c is completed, the reference signal 20 is output to the CPU 18 at t7, and the CPU 18 causes the FIFO 14 to operate during the period of T12.
Output information is read simultaneously from a, 14b, and 14c. F
The information simultaneously output from the IFOs 14a, 14b, and 14c is subjected to majority processing by the majority circuit 25, and the result is read by the CPU 18 and output from the output circuit 11. The period of T13 is the output period by the program. In this way, by causing the majority decision circuit 25 to perform the majority decision process in the CPU 18, the CPU
It is possible to omit the program processing time for the 18 majority votes.

【0042】実施例4 図6は、この発明の一実施例である計算機の構成例を示
したものである。図7は、動作状態を示すタイミングチ
ャートである。
Embodiment 4 FIG. 6 shows an example of the configuration of a computer which is an embodiment of the present invention. FIG. 7 is a timing chart showing the operating state.

【0043】実施例1から3は、入出力制御部21にC
PU18を配置した構成であったが、この実施例では、
ダイレクトメモリアクセス機能を持つ回路を配置したも
のである。
In the first to third embodiments, the input / output control unit 21 has a C
Although the PU 18 is arranged, in this embodiment,
A circuit having a direct memory access function is arranged.

【0044】図において、26はFIFO14a,14
b,14cの出力情報を同時に多数決回路25に一定周
期で出力させる出力制御回路である。27は一定周期を
計数する計数回路、28は計数回路27が規定値に達し
た時にFIFO14a,14b,14cにパルスを出力
するパルス発生回路、29は読み込みパルス、30は読
み込みパルス29をFIFO14a,14b,14cに
転送するドライバ、31a,31b,31cはFIFO
14a,14b,14cへのリード信号である。
In the figure, 26 is a FIFO 14a, 14
This is an output control circuit for simultaneously outputting the output information of b and 14c to the majority circuit 25 in a fixed cycle. 27 is a counting circuit for counting a fixed period, 28 is a pulse generation circuit for outputting a pulse to the FIFOs 14a, 14b, 14c when the counting circuit 27 reaches a specified value, 29 is a read pulse, and 30 is a read pulse 29 for the FIFO 14a, 14b. , 31c, 31b, 31c are FIFOs
It is a read signal to 14a, 14b and 14c.

【0045】次に動作について説明する。基準信号6が
発生すると、CPU2a,2b,2cがT3,T4,T
5で処理を実行する。処理が終了すると基準信号20が
t7で出力制御回路26に出力される。出力制御回路2
6がこの基準信号20を受信すると計数回路27がt9
から計数を開始し、t9,t10の順にT14の周期で
パルス発生回路28に読み込みパルス29の発生を指示
する。読み込みパルス29はドライバ30を経由してリ
ード信号31a,31b,31cとしてFIFO14
a,14b,14cに同時に出力される。
Next, the operation will be described. When the reference signal 6 is generated, the CPUs 2a, 2b, 2c cause T3, T4, T
The process is executed at 5. When the processing is completed, the reference signal 20 is output to the output control circuit 26 at t7. Output control circuit 2
When the reference signal 20 is received by the counter 6, the counting circuit 27 outputs t9.
The counting is started from, and the generation of the read pulse 29 is instructed to the pulse generation circuit 28 in the cycle of T14 in the order of t9 and t10. The read pulse 29 is passed through the driver 30 as read signals 31a, 31b, 31c to the FIFO 14
It is simultaneously output to a, 14b, and 14c.

【0046】このリード信号31a,31b,31cの
発生ごとに、FIFO14a,14b,14cからは同
時にかつ先頭番地から出力情報が順次出力される。この
出力情報は、多数決回路25に入力され多数決が行われ
た後、出力回路11に直接出力される。リード信号31
a,31b,31cの発生数は、FIFO14a,14
b,14cの出力情報の数量に設定されている。
Each time the read signals 31a, 31b, 31c are generated, the output information is output from the FIFOs 14a, 14b, 14c simultaneously and sequentially from the head address. This output information is input to the majority decision circuit 25, is subjected to a majority decision, and is then directly output to the output circuit 11. Read signal 31
The number of occurrences of a, 31b and 31c is the same as that of the FIFO 14a and 14
It is set to the quantity of output information of b and 14c.

【0047】実施例5 図8は、この発明の一実施例である計算機の構成例を示
したものである。図9は、動作状態を示すタイミングチ
ャートである。
Embodiment 5 FIG. 8 shows an example of the configuration of a computer which is an embodiment of the present invention. FIG. 9 is a timing chart showing the operating state.

【0048】この発明の実施例は、実施例1から4まで
が演算制御部15a,15b,15cの出力情報の多数
決を入出力制御部21で実施したのに対し、演算制御部
15a,15b,15cが2組単位で相互に自身の出力
情報と比較することによって、相手と自身との出力情報
における差異の有無を識別する方法である。
In the embodiment of the present invention, the input / output control unit 21 executes the majority decision of the output information of the operation control units 15a, 15b, 15c in the first to fourth embodiments, whereas the operation control units 15a, 15b, 15b, 15c is a method of discriminating whether or not there is a difference in output information between the other party and itself by comparing the output information of itself with each other in units of two sets.

【0049】図において、32a,32b,32cは相
互チェックの結果を示すエラー信号、33は何れのCP
U2a,2b,2cがエラーを発生したのかを識別する
エラー識別回路、34はエラー識別信号である。35は
CPU2a,2b,2cの相互診断処理終了を指示する
基準信号、36は基準信号6,20,35を発生する基
準信号発生回路である。
In the figure, 32a, 32b, and 32c are error signals indicating the result of mutual check, and 33 is any CP.
An error identification circuit for identifying whether U2a, 2b, 2c has generated an error, and 34 is an error identification signal. Reference numeral 35 is a reference signal for instructing the CPU 2a, 2b, 2c to end the mutual diagnostic processing, and 36 is a reference signal generation circuit for generating the reference signals 6, 20, 35.

【0050】次に動作について説明する。基準信号発生
回路36から基準信号6が発生するとCPU2a,2
b,2cが処理を開始する。各々の処理期間は、T3,
T4,T5である。各処理が終了するとT6の期間後に
基準信号20が発生する。この基準信号20をCPU2
a,2b,2cが受け付けるとT15の期間でFIFO
14a,14b,14cの相互診断が実施される。すな
わち、CPU2aは自身の出力情報とFIFO14c
を、CPU2bは自身の出力情報とFIFO14aを、
CPU2cは自身の出力情報とFIFO14bをチェッ
クする。この結果は、エラー信号32a,32b,32
cに出力され、エラー識別回路33に出力される。エラ
ー識別回路33では、エラーの有無を確認し、有りの場
合はどのCPU2a,2b,2cかを識別し、エラー識
別信号34によって、正常なCPU2a,2b,2cを
選択回路17に指示する。この後、基準信号発生回路3
6から基準信号35がt12で出力され、エラーのない
CPU2a,2b,2cからT16の期間、出力回路1
1に出力情報が出力される。
Next, the operation will be described. When the reference signal 6 is generated from the reference signal generation circuit 36, the CPUs 2a, 2
b and 2c start processing. Each processing period is T3
T4 and T5. When each processing is completed, the reference signal 20 is generated after the period of T6. This reference signal 20 is sent to the CPU 2
When a, 2b, and 2c accept the FIFO during the period of T15.
Mutual diagnosis of 14a, 14b, 14c is performed. That is, the CPU 2a and its output information and the FIFO 14c
The CPU 2b outputs its own output information and the FIFO 14a,
The CPU 2c checks its own output information and the FIFO 14b. The result is the error signals 32a, 32b, 32.
It is output to c and is output to the error identification circuit 33. The error identification circuit 33 confirms the presence or absence of an error, and if there is, identifies which CPU 2a, 2b, 2c, and instructs the selection circuit 17 by the error identification signal 34 to indicate the normal CPU 2a, 2b, 2c. After this, the reference signal generation circuit 3
6 outputs the reference signal 35 at t12, and the output circuit 1 outputs the error-free CPU 2a, 2b, 2c to T16 during the period from T16.
Output information is output to 1.

【0051】エラーの識別及び選択回路17の設定は、
以下のように行われる。
The error identification and the setting of the selection circuit 17 are as follows.
This is done as follows.

【0052】CPU2a,2b,2cの全てのエラー信
号32a,32b,32cがエラー無しを示した時は、
CPU2aの出力情報が選択される。CPU2a,2b
のエラー信号32a,32bがエラー有りを示した時は
CPU2aがエラーでありCPU2bが選択される。C
PU2b,2cのエラー信号32b,32cがエラー有
りを示した時はCPU2bがエラーでありCPU2cが
選択される。CPU2c,2aのエラー信号32c,3
2aがエラー有りを示した時はCPU2cがエラーであ
りCPU2aが選択されて出力回路11に出力される。
図9では、CPU2aが正しいと判断された時の例を示
している。
When all the error signals 32a, 32b, 32c of the CPUs 2a, 2b, 2c indicate no error,
The output information of the CPU 2a is selected. CPU 2a, 2b
When the error signals 32a and 32b indicate that there is an error, the CPU 2a is in error and the CPU 2b is selected. C
When the error signals 32b and 32c of the PUs 2b and 2c indicate that there is an error, the CPU 2b is in error and the CPU 2c is selected. Error signals 32c, 3 of CPU 2c, 2a
When 2a indicates that there is an error, the CPU 2c is in error and the CPU 2a is selected and output to the output circuit 11.
FIG. 9 shows an example when the CPU 2a is determined to be correct.

【0053】なお、エラー信号32a,32b,32c
の全てがエラーを示した時は2つ以上のCPU2a,2
b,2cが同時にエラーを発生したためであり、外部装
置への出力は停止されるように動作する。
The error signals 32a, 32b, 32c
Of all CPUs 2a, 2
This is because b and 2c simultaneously generate an error and the output to the external device is stopped.

【0054】[0054]

【発明の効果】この発明は、以上に説明しように構成さ
れているので、以下に記載されるような効果を奏する。
Since the present invention is constructed as described above, it has the following effects.

【0055】演算制御部15a,15b,15cとして
独立に動作させ、この処理の過程で得られる出力情報を
先頭番地から順に格納できるファーストイン・ファース
トアウト機能を有するFIFO14a,14b,14c
に格納し、別途配置した入出力制御部21のCPU18
が順番にこの出力情報を読み出し、プログラムで多数決
をとった結果を出力回路11に出力する方法にしたこと
によって、高速なCPUのタイミングの同期を容易にと
ることができると共に、1組の演算制御部15a,15
b,15cにエラーが発生しても他の演算制御部15
a,15b,15cへのエラー波及を防止することがで
きる効果を奏する。
The FIFOs 14a, 14b, and 14c having the first-in / first-out function, which are independently operated as the arithmetic control units 15a, 15b, and 15c, can store the output information obtained in the course of this processing in order from the head address.
CPU of the input / output control unit 21 stored in
By sequentially reading this output information and outputting the result obtained by the majority decision by the program to the output circuit 11, it is possible to easily synchronize the timing of the high-speed CPUs and to control a set of arithmetic operations. Parts 15a, 15
Even if an error occurs in b and 15c, another calculation control unit 15
This has the effect of preventing error propagation to a, 15b, and 15c.

【0056】また、演算制御部15a,15b,15c
の出力情報の格納メモリを2ポートRAM24a,24
b,24cにしたことで、CPU2a,2b,2cとC
PU18から出力情報の同時アクセスを可能にすると共
に、ランダムなアドレスで出力情報を演算制御部15
a,15b,15cから取り込める効果を奏する。
Further, the arithmetic control units 15a, 15b, 15c
The output information storage memory is a 2-port RAM 24a, 24
b and 24c, CPU2a, 2b, 2c and C
The output information can be simultaneously accessed from the PU 18, and the output information is calculated at a random address.
The effect of being able to take in from a, 15b, and 15c is produced.

【0057】また、演算制御部15a,15b,15c
の出力情報の多数決を多数決回路25を経由させてCP
U18に入力させる方法にしたことによって、プログラ
ムの多数決処理を不要にすることができる効果を奏す
る。
Further, the arithmetic control units 15a, 15b, 15c
The majority of the output information of the CP via the majority circuit 25
By adopting the method of inputting into U18, it is possible to eliminate the need for the majority processing of the program.

【0058】また、演算制御部15a,15b,15c
からの出力情報の入出力制御部21への出力を一定周期
で出力されるリード信号によって、同時に読み出して、
これを出力制御回路26の多数決回路25で多数決をす
る方法にしたことで、多数決回路25から直接、出力回
路11を通して外部装置へ出力できる効果を奏する。
Further, the arithmetic control units 15a, 15b, 15c
The output information from the output to the input / output control unit 21 is read at the same time by the read signal output at a constant cycle,
By adopting a method in which the majority decision circuit 25 of the output control circuit 26 makes a majority decision, there is an effect that the majority decision circuit 25 can directly output to the external device through the output circuit 11.

【0059】また、演算制御部15a,15b,15c
からの出力情報の多数決を演算制御部15a,15b,
15cの2組単位で相互にチェックする方法にしたこと
で、入出力制御回路21のエラー識別回路33で容易に
演算制御部15a,15b,15cの何れにエラーが発
生したかを判定し、エラーを排他できる効果を奏する。
Further, the arithmetic control units 15a, 15b, 15c
The majority of the output information from the arithmetic control units 15a, 15b,
By using the method of mutually checking two sets of 15c, the error identification circuit 33 of the input / output control circuit 21 can easily determine which of the arithmetic control units 15a, 15b, and 15c has an error, and The effect of being able to exclude is produced.

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

【図1】この発明の実施例1である計算機の構成例を示
す図である。
FIG. 1 is a diagram showing a configuration example of a computer that is Embodiment 1 of the present invention.

【図2】この発明の実施例1である計算機のタイミング
チャートを示す図である。
FIG. 2 is a diagram showing a timing chart of the computer that is Embodiment 1 of the present invention.

【図3】この発明の実施例2である計算機の構成例を示
す図である。
FIG. 3 is a diagram showing a configuration example of a computer that is Embodiment 2 of the present invention.

【図4】この発明の実施例3である計算機の構成例を示
す図である。
FIG. 4 is a diagram showing a configuration example of a computer that is Embodiment 3 of the present invention.

【図5】この発明の実施例3である計算機のタイミング
チャートを示す図である。
FIG. 5 is a diagram showing a timing chart of a computer that is Embodiment 3 of the present invention.

【図6】この発明の実施例4である計算機の構成例を示
す図である。
FIG. 6 is a diagram showing a configuration example of a computer that is Embodiment 4 of the present invention.

【図7】この発明の実施例4である計算機のタイミング
チャートを示す図である。
FIG. 7 is a diagram showing a timing chart of a computer that is Embodiment 4 of the present invention.

【図8】この発明の実施例5である計算機の構成例を示
す図である。
FIG. 8 is a diagram showing a configuration example of a computer that is Embodiment 5 of the present invention.

【図9】この発明の実施例5である計算機のタイミング
チャートを示す図である。
FIG. 9 is a diagram showing a timing chart of a computer that is Embodiment 5 of the present invention.

【図10】従来の計算機の構成例を示す図である。FIG. 10 is a diagram showing a configuration example of a conventional computer.

【図11】従来の計算機のタイミングチャートを示す図
である。
FIG. 11 is a diagram showing a timing chart of a conventional computer.

【符号の説明】[Explanation of symbols]

1 メモリ 2a CPU 2b CPU 2c CPU 3 クロック発生回路 5 基準信号発生回路 6 基準信号 7 制御回路 8 レディー信号 10 多数決回路 11 出力回路 14a FIFO 14b FIFO 14c FIFO 15a 演算制御部 15b 演算制御部 15c 演算制御部 17 選択回路 18 CPU 19 メモリ 20 基準信号 21 入出力制御部 24a 2ポートRAM 24b 2ポートRAM 24c 2ポートRAM 25 多数決回路 26 出力制御回路 27 計数回路 28 パルス発生回路 31a リード信号 31b リード信号 31c リード信号 33 エラー識別回路 34 エラー識別信号 35 基準信号 36 基準信号発生回路 1 Memory 2a CPU 2b CPU 2c CPU 3 Clock generation circuit 5 Reference signal generation circuit 6 Reference signal 7 Control circuit 8 Ready signal 10 Majority decision circuit 11 Output circuit 14a FIFO 14b FIFO 14c FIFO 15a Operation control section 15b Operation control section 15c Operation control section 17 Selection Circuit 18 CPU 19 Memory 20 Reference Signal 21 Input / Output Control Unit 24a 2 Port RAM 24b 2 Port RAM 24c 2 Port RAM 25 Majority Decision Circuit 26 Output Control Circuit 27 Counting Circuit 28 Pulse Generation Circuit 31a Read Signal 31b Read Signal 31c Read Signal 33 error identification circuit 34 error identification signal 35 reference signal 36 reference signal generation circuit

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 プログラムを格納するメモリ、演算を実
行するCPU、CPUの実行及び停止などの制御をする
制御回路、CPUからの出力情報を先頭番地から順番に
格納するファーストイン・ファーストアウトメモリ、C
PUへの動作用クロックを供給するクロック発生回路か
ら成る独立したタイミングで動作する3組の演算制御
部、前記3組の演算制御部を同時にかつ周期的に実行さ
せる基準信号を供給する基準信号発生回路、3組の演算
制御部の出力情報が格納された上記ファーストイン・フ
ァーストアウトメモリを順番に選択していく選択回路、
選択回路で選択されたファーストイン・ファーストアウ
トメモリからの出力情報を読み込み3組の出力情報の多
数決処理をプログラムで実行するCPU、この多数決処
理を実行するプログラムを格納するメモリ、前記CPU
の動作用クロックを供給するクロック発生回路、多数決
後の出力情報を外部装置へ出力する出力回路から成る入
出力制御部から構成され、基準信号発生回路からの基準
信号に同期させて3組の演算制御部を同時に実行させ、
3組の演算制御部がプログラムの処理を完了した後に3
組の演算制御部のファーストイン・ファーストアウトメ
モリから出力情報を選択回路を切り換えながら順番に入
出力制御のCPUで読み込み、プログラムで多数決をと
った後に入出力制御部の出力回路から外部装置に出力す
ることを特徴とする計算機。
1. A memory for storing a program, a CPU for executing an operation, a control circuit for controlling execution and stop of the CPU, a first-in / first-out memory for storing output information from the CPU in order from a head address, C
Three sets of operation control units that operate at independent timings and are composed of a clock generation circuit that supplies an operation clock to the PU, and a reference signal generator that supplies a reference signal that causes the three sets of operation control units to be executed simultaneously and periodically. Circuit, a selection circuit for sequentially selecting the first-in / first-out memory in which the output information of the three sets of arithmetic control units is stored,
A CPU that reads output information from the first-in / first-out memory selected by the selection circuit and executes a majority decision process of three sets of output information by a program, a memory that stores a program that executes the majority decision process, and the CPU
Of the input / output control section comprising a clock generation circuit for supplying the operation clock of the above and an output circuit for outputting the output information after the majority decision to an external device, and three sets of operations are performed in synchronization with the reference signal from the reference signal generation circuit. Let the control units run simultaneously,
After the 3 sets of arithmetic and control units have completed the processing of the program, 3
The output information is read from the first-in / first-out memory of the set of arithmetic control units by the input / output control CPU in order while switching the selection circuit, and after the majority decision is made by the program, it is output from the output circuit of the input / output control unit to the external device. A calculator characterized by:
【請求項2】 演算制御部のCPUからの出力情報を格
納するメモリに演算制御部のCPU及び入出力制御部の
CPUの両方から任意のタイミングで、また任意の指定
アドレスで独立してアクセスできる2ポートRAMを構
成したことを特徴とする請求項1記載の計算機。
2. A memory for storing output information from the CPU of the arithmetic control unit can be independently accessed from both the CPU of the arithmetic control unit and the CPU of the input / output control unit at an arbitrary timing and at an arbitrary designated address. The computer according to claim 1, wherein the computer comprises a two-port RAM.
【請求項3】 3組の演算制御部のファーストイン・フ
ァーストアウトメモリからの出力情報を多数決する多数
決回路を入出力制御部に構成し、入出力制御部のCPU
の指示によって3組のファーストイン・ファーストアウ
トメモリの出力情報を同時に読み出して多数決回路で多
数決をとり、この結果を入出力制御部のCPUが読み取
って、外部装置へ出力できるようにしたことを特徴とす
る請求項1記載の計算機。
3. A CPU of the input / output control unit, wherein the input / output control unit comprises a majority-decision circuit for majority-determining output information from the first-in / first-out memories of the three sets of arithmetic control units.
According to the instruction, the output information of the three sets of first-in / first-out memories are read at the same time, the majority decision circuit takes the majority decision, and the CPU of the input / output control section reads the result and outputs it to the external device. The computer according to claim 1.
【請求項4】 入出力制御部に3組の演算制御部のファ
ーストイン・ファーストアウトメモリに格納された出力
情報を一定周期ごとに連続して同時に読み出すリード信
号を発生する計数回路及びパルス発生回路から成る出力
制御回路、この読み出した3組の出力情報の多数決をと
る多数決回路を構成し、ファーストイン・ファーストア
ウトメモリからの出力情報を多数決回路から直接、出力
回路に転送して外部装置に出力できるようにしたことを
特徴とする計算機。
4. A counting circuit and a pulse generating circuit for generating read signals for reading out output information stored in first-in / first-out memories of three sets of arithmetic control units in the input / output control unit simultaneously and continuously at fixed intervals. An output control circuit consisting of a majority decision circuit for taking a majority decision of the read three sets of output information, and the output information from the first-in first-out memory is directly transferred from the majority decision circuit to the output circuit and output to an external device. A computer characterized by being able to do it.
【請求項5】 3組の演算制御部1〜3の各ファースト
イン・ファーストアウトメモリの出力情報を、演算制御
部1については演算制御部2が、演算制御部2について
は演算制御部3が、演算制御部3については演算制御部
1が各々取り込み、自身の出力情報と取り込んだ相手演
算制御部の出力情報とを比較して、もしエラーが有った
時は各演算制御部が個別に比較エラー信号を入出力制御
部に出力できるように演算制御部1〜3を構成し、さら
に入出力制御部に演算制御部1と2が比較エラー有りを
示した時は演算制御部1を、演算制御部2と3が比較エ
ラー有りを示した時は演算制御部2を、演算制御部3と
1が比較処理エラー有りを示した時は演算制御部3をエ
ラーであるとして識別するエラー識別回路とエラー識別
回路の識別結果によって正しい出力情報を選択する選択
回路を構成したことを特徴とする計算機。
5. The output information of each of the first-in / first-out memories of the three sets of arithmetic control units 1 to 3 is output by the arithmetic control unit 2 for the arithmetic control unit 1 and the arithmetic control unit 3 for the arithmetic control unit 2. As for the arithmetic control unit 3, the arithmetic control unit 1 takes in each, and compares the output information of itself with the output information of the other arithmetic control unit that has been taken in. If there is an error, each arithmetic control unit individually The arithmetic control units 1 to 3 are configured so that a comparison error signal can be output to the input / output control unit. Further, when the arithmetic control units 1 and 2 indicate that there is a comparison error in the input / output control unit, the arithmetic control unit 1 is Error identification for identifying the arithmetic control unit 2 when the arithmetic control units 2 and 3 indicate that there is a comparison error, and for identifying the arithmetic control unit 3 when the arithmetic control units 3 and 1 indicate that there is a comparison processing error Circuit and error discrimination circuit A computer having a selection circuit configured to select correct output information.
JP5036374A 1993-02-25 1993-02-25 Computer Pending JPH06250868A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5036374A JPH06250868A (en) 1993-02-25 1993-02-25 Computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5036374A JPH06250868A (en) 1993-02-25 1993-02-25 Computer

Publications (1)

Publication Number Publication Date
JPH06250868A true JPH06250868A (en) 1994-09-09

Family

ID=12468072

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5036374A Pending JPH06250868A (en) 1993-02-25 1993-02-25 Computer

Country Status (1)

Country Link
JP (1) JPH06250868A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002287997A (en) * 2001-03-23 2002-10-04 Kinji Mori Multiple system processing method
JP2008215345A (en) * 2007-01-30 2008-09-18 Hispano Suiza Method for monitoring aircraft engine
JP2012003313A (en) * 2010-06-14 2012-01-05 Hitachi Ltd Computer system and control method therefor

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002287997A (en) * 2001-03-23 2002-10-04 Kinji Mori Multiple system processing method
JP2008215345A (en) * 2007-01-30 2008-09-18 Hispano Suiza Method for monitoring aircraft engine
JP2012003313A (en) * 2010-06-14 2012-01-05 Hitachi Ltd Computer system and control method therefor

Similar Documents

Publication Publication Date Title
RU2137182C1 (en) Execution of data processing instruction
US5229999A (en) Method and apparatus for integrity testing of fault monitoring logic
JP3821806B2 (en) Fault tolerant computer, transaction synchronization control method and program thereof
US4953131A (en) Unconditional clock and automatic refresh logic
JPH06250868A (en) Computer
KR940011041B1 (en) Microcomputer
US6954873B2 (en) Implementation of wait-states
JPH06324900A (en) Computer
JP2988518B2 (en) Multiprocessor control method
JPH08149160A (en) Data receiver
JP7312127B2 (en) Control device
JPH0520350A (en) Vector processing device
JPH06301596A (en) Microprocessor
JPH07248939A (en) Processor and processor system
JPH1125006A (en) Memory tester
JP3405513B2 (en) Redundant controller for programmable controller
JP2890426B2 (en) Information processing device
JPH08212093A (en) Fault tolerant computer system
JP3120781B2 (en) Cache storage device performance evaluation method and device
JP2531207B2 (en) Channel device
JPH04246764A (en) Data processor
JPH03265952A (en) Picture display controller
JPH1173366A (en) Memory control method and memory controller in unified memory architecture
JP2000242317A (en) Programmable controller
JPH1055289A (en) Debugging information generating circuit and information processor using the same