JPH0490016A - Data processor - Google Patents

Data processor

Info

Publication number
JPH0490016A
JPH0490016A JP2206266A JP20626690A JPH0490016A JP H0490016 A JPH0490016 A JP H0490016A JP 2206266 A JP2206266 A JP 2206266A JP 20626690 A JP20626690 A JP 20626690A JP H0490016 A JPH0490016 A JP H0490016A
Authority
JP
Japan
Prior art keywords
bus
clock
ranking
bus clock
module
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.)
Granted
Application number
JP2206266A
Other languages
Japanese (ja)
Other versions
JP2736474B2 (en
Inventor
Masakatsu Iyasu
居安 正勝
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 JP2206266A priority Critical patent/JP2736474B2/en
Publication of JPH0490016A publication Critical patent/JPH0490016A/en
Application granted granted Critical
Publication of JP2736474B2 publication Critical patent/JP2736474B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Hardware Redundancy (AREA)
  • Multi Processors (AREA)

Abstract

PURPOSE:To prevent the stop of the whole of a system by supplying a bus clock from the module, to which the highest level is set, out of the other modules at the time when the module to supply the bus clock is faulty to stop the bus clock supply. CONSTITUTION:When the supply of the bus clock from a module 21 set to the highest level is stopped, this stop is detected by the other modules 22 to 2n. When detecting the stop of the bus clock, each of these modules 22 to 2n outputs its own level to a common bus 10 and takes levels outputted from the other modules to the common bus as the input to detect the highest level and compares this detected highest level and the level set to the module itself; and when it is discriminated that the level set to the module itself is highest, a clock oscillating circuit is connected to the common bus 10 to supply the bus clock to the other modules. Thus, the whole of a device is not stopped when the module 21 which supplies the bus clock is faulty.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は複数個のモジュールがバスクロックに同期する
同期型共通バスにより接続されている場合に共通バスの
耐故障性を向上させたデータ処理装置に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention provides a data processing device that improves the fault tolerance of a common bus when a plurality of modules are connected by a synchronous common bus synchronized with a bus clock. Regarding.

〔従来の技術〕[Conventional technology]

第10図はUインテル?1tlLTIBLIS IIバ
バスアーキテクチャ使用説明書」 (インテルジャパン
株式会社発行)に開示されている従来の同期型共通バス
を有するデータ処理装置の構成を示すブロック図である
Figure 10 is U Intel? 1 is a block diagram illustrating the configuration of a conventional data processing device having a synchronous common bus disclosed in "1tl LTIBLIS II Babasu Architecture User's Manual" (published by Intel Japan Co., Ltd.).

第10図において、参照符号11はクロックマスクモジ
ュールであり、共通バス10のバスクロック信号115
にバスクロックを出力するバスクロック発生回路110
を有する。
In FIG. 10, reference numeral 11 is a clock mask module, and the bus clock signal 115 of the common bus 10 is
A bus clock generation circuit 110 that outputs a bus clock to
has.

参照符号12.13・・・Inはデータ処理装置内に備
えられている通常のモジュール、即ちバスクロック発生
回路110を有していないモジュールをそれぞれ示して
いる。
Reference numerals 12, 13, . . . In indicate normal modules provided in the data processing device, that is, modules that do not have the bus clock generation circuit 110, respectively.

なお、共通バス10は上述のバスクロック信号線15と
その他の種々の信号線群16とで構成されている。
Note that the common bus 10 is composed of the above-mentioned bus clock signal line 15 and various other signal line groups 16.

この従来例では、バスクロックはクロックマスタモジュ
ール11のバスクロック発生回路110にて発生され、
他の全てのモジュール12.13・・・Inにバスクロ
ック信号線15を介して供給されている。
In this conventional example, the bus clock is generated by the bus clock generation circuit 110 of the clock master module 11,
It is supplied to all other modules 12, 13, . . . , In via the bus clock signal line 15.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

このような従来の構成のデータ処理装置では、バスクロ
ックは共通バスに接続されている多数のモジュール11
.12・・・Inの内のクロックマスタモジュール11
のみで発生されて他の各モジュール12I3・・・1n
に供給されているので、クロックマスクモジュール11
が故障した場合、あるいはバスクロック信号線15が切
断された場合には、バスクロックの供給が完全に断たれ
てしまい、装置全体のl!能が停止する。従って、耐故
障性能という面からは重大な弱点がある。
In a data processing device with such a conventional configuration, the bus clock is connected to a large number of modules 11 connected to a common bus.
.. 12... Clock master module 11 in In
generated only in each other module 12I3...1n
clock mask module 11.
If the bus clock signal line 15 fails, or if the bus clock signal line 15 is disconnected, the bus clock supply will be completely cut off, causing the l! function stops. Therefore, there is a serious weakness in terms of fault tolerance.

本発明はこのような事情に鑑みてなされたものであり、
バスクロックを発生しているモジュールに故障が発生し
た場合、あるいはバスクロックの伝播経路が切断された
ような場合においても、バスクロックの供給を可能とし
て耐故障性能を向上させたデータ処理装置の提供を目的
とする。
The present invention was made in view of these circumstances, and
To provide a data processing device that can supply a bus clock and has improved fault tolerance performance even when a failure occurs in a module that generates a bus clock or when the bus clock propagation path is cut off. purpose.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のデータ処理装置は、その第1の発明では、共通
バスに接続された各モジュールそれぞれに予めバスクロ
ックの供給源となるべき順位を付与しておき、バスクロ
ックが停止した場合にそれを検出する手段と、バスクロ
ックの停止を検出した場合に自身の順位を共通バスへ出
力する手段と、各モジュールが共通バスへ出力している
順位を入力して最上位の順位を検出する手段と、検出さ
れた最上位の順位と自身に設定されている順位とを比較
する手段と、クロックの発振回路と、自身に設定されて
いる順位が最上位であると判定された場合にクロックの
発振回路を共通バスと接続して他モジュールにバスクロ
ックとして供給するための回路とを複数のモジュールに
備えている。
In the first aspect of the data processing device of the present invention, each module connected to a common bus is assigned a priority as a bus clock supply source in advance, and when the bus clock stops, the data processing device means for detecting, means for outputting its own ranking to the common bus when a stop of the bus clock is detected, and means for inputting the ranking outputted by each module to the common bus to detect the highest ranking. , means for comparing the detected highest ranking with the ranking set for itself, a clock oscillation circuit, and a clock oscillation circuit when it is determined that the ranking set for itself is the highest. A plurality of modules includes a circuit for connecting the circuit to a common bus and supplying the bus clock to other modules.

また第2の発明では、共通バスが切断されたためにバス
クロックの供給が停止された場合に上述同様に動作し、
その後共通バスが接続された場合にはバスクロックの供
給を停止させる手段を複数のモジュールに備えている。
Further, in the second invention, when the supply of the bus clock is stopped because the common bus is disconnected, the operation is performed in the same manner as described above;
A plurality of modules are provided with means for stopping the supply of the bus clock when the common bus is subsequently connected.

更に第3の発明では、自身がバスクロックを供給してい
る場合に、共通バス上のバスクロックの位相と自身が発
振しているクロックの位相とを比較する手段と、両者間
に所定幅以上の位相差がある場合にバスクロックの供給
を停止する手段を各モジュールに備えている。
Furthermore, the third invention provides means for comparing the phase of the bus clock on the common bus with the phase of the clock oscillated by the self when the self supplies the bus clock, and a means for comparing the phase of the bus clock on the common bus with the phase of the clock oscillated by the self, Each module is provided with means for stopping the supply of the bus clock when there is a phase difference of .

〔作用〕[Effect]

本発明のデータ処理装置の第1の発明では、共通バスに
接続されている複数のモジュールに対してバスクロック
を供給しているモジュールが故障したような場合に、他
のモジュールの内の最上位の順位が設定されているモジ
ュールが直ちにバスクロックの供給を開始するので、装
置全体が停止することはない。
In the first aspect of the data processing device of the present invention, when a module that supplies bus clocks to a plurality of modules connected to a common bus fails, the topmost module among the other modules Since the module to which the priority is set starts supplying the bus clock immediately, the entire device does not stop.

また第2の発明では、バスクロックの供給が共通バスの
切断、′より停止した場合にそれまでにバスクロックを
供給していたモジュールと分離されたモジュール群内で
新たにバスクロックを供給するモジュールが出来るが、
その後に共通バスが再接続された場合には後からバスク
ロックの供給源となったモジュールによるバスクロック
の供給が停止される。
Further, in the second invention, when the supply of bus clock stops due to disconnection of the common bus or can be done, but
If the common bus is subsequently reconnected, the bus clock supply by the module that later became the bus clock supply source is stopped.

更に第3の発明では、バスタロフタの供給が二つ以上の
モジュールから同時に行われるような事態が発生した場
合に、バスクロックを供給しているモジエールが共通バ
ス上に出力されているバスクロックと自身が発生してい
るクロックとの位相差を検出することによりその状態を
検出し、バスクロックの供給を停止する。
Furthermore, in the third invention, when a situation occurs in which the bus star lofter is supplied from two or more modules at the same time, the module supplying the bus clock outputs the bus clock output on the common bus and the module itself. The state is detected by detecting the phase difference with the clock that is being generated, and the supply of the bus clock is stopped.

(以 下 余 白) 〔実施例〕 以下、本発明をその実施例を示す図面を参照して詳述す
る。
(Margins below) [Examples] The present invention will be described in detail below with reference to drawings showing examples thereof.

第1図は本発明に係るデータ処理装置の第1の発明の一
実施例の構成例を示すブロック図である。
FIG. 1 is a block diagram showing a configuration example of a first embodiment of a data processing apparatus according to the present invention.

第1図において、参照符号21.22.23・・・2n
はモジ7ユールであり、いずれも共通バス10をアクセ
スする機能とバスクロックを供給し得る機能とを有する
In FIG. 1, reference numbers 21.22.23...2n
are modules, and both have the function of accessing the common bus 10 and the function of supplying a bus clock.

15はバスクロック信号線であり、各モジュール21、
22.23・・・20間でバスクロックを供給する。
15 is a bus clock signal line, and each module 21,
The bus clock is supplied between 22, 23...20.

16は信号線群であり、データ線及びその他の各種信号
線を含んでいる。
A signal line group 16 includes data lines and various other signal lines.

17はパスタロック出力権要求信号線であり、各モジュ
ール21.22.23・・・2n間でバスクロック出力
権を要求する信号が伝播される。
17 is a pasta lock output right request signal line, and a signal requesting the bus clock output right is propagated between each module 21, 22, 23, . . . 2n.

これらのバスクロック信号線15.信号線群16バスク
ロソク出力権要求信号!17等にて共通バスlOが構成
されている。共通バス10は全てのモジュール21.2
2.23.24に接続されている。
These bus clock signal lines 15. Signal line group 16 bus clotho clock output request signal! 17 etc. constitute a common bus lO. A common bus 10 connects all modules 21.2
Connected to 2.23.24.

第2図は各モジュール21.22.23・・・2nに備
えられているバスクロックの供給源を切換えるための回
路構成、即ちバスクロック切換え回路210の構成例を
示すブロック図である。
FIG. 2 is a block diagram showing a circuit configuration for switching the bus clock supply source provided in each module 21, 22, 23, . . . 2n, ie, a configuration example of the bus clock switching circuit 210.

第2図において、参照符号30はバスクロック停止検出
回路であり、バスクロック信号線15に接続された単安
定マルチバイブレークまたはカウンタ等にて構成されて
いる。このバスクロック停止検出回路30は、バスクロ
ック信号vA15がバスクロックを供給しているか否か
を監視しており、バスクロックの供給が停止した場合に
それを検出し、デコード回路32及びクロックマスタ信
号生成回路36へ出力しているバスクロック停止信号S
1を有意にする。
In FIG. 2, reference numeral 30 denotes a bus clock stop detection circuit, which is composed of a monostable multi-by-break or a counter connected to the bus clock signal line 15. The bus clock stop detection circuit 30 monitors whether the bus clock signal vA15 is supplying the bus clock, detects when the bus clock supply has stopped, and outputs the decode circuit 32 and the clock master signal. Bus clock stop signal S output to generation circuit 36
Make 1 significant.

参照符号31は要求レベル設定回路である。各モジュー
ル21.22.23・・・2nそれぞれにはパスクロフ
タ出力権の要求レベル、即ちそれぞれのモジュール21
 22.23・・・2nがバスクロックの供給源になり
得る順位がそれぞれ異なる値(たとえばモノjL−ル2
122.23・・・2nの順に第1.第2・・・第n位
)にて予め設定されており、その値が順位保持手段とし
てのこの要求レベル設定回路31に設定されて保持され
ている。要求レベル設定回路31に設定されている要求
レベル設定値はデコード回路32及び比較回路35に出
力されている。
Reference numeral 31 is a required level setting circuit. Each module 21, 22, 23...2n has a required level of pass crafter output right, that is, each module 21.
22, 23...2n can be a bus clock supply source with different values (for example, mono
122.23...2n in the order of 1st. (2nd... nth rank), and the value is set and held in this request level setting circuit 31 as a ranking holding means. The required level setting value set in the required level setting circuit 31 is output to the decoding circuit 32 and the comparing circuit 35.

参照符号32はデコード回路であり、要求レベル設定回
路31が出力する要求レベル設定値を表す信号をデコー
ドする。このデコード回路32により要求レベル設定値
を表す信号がデコードされた結果、デコード回路32の
複数の出力信号WA32a、 32b、 32c・・・
32nの内の1本のみが有意となる。なお、このデコー
ド回路32のデコード結果は、バスクロック停止検出回
路30から与えられているバスクロック停止信号S1が
有意である場合にのみドライバ回路33へ出力される。
Reference numeral 32 is a decoding circuit that decodes a signal representing the required level setting value outputted from the required level setting circuit 31. As a result of the decoding circuit 32 decoding the signal representing the required level setting value, a plurality of output signals WA32a, 32b, 32c, . . . from the decoding circuit 32 are generated.
Only one of 32n becomes significant. Note that the decoding result of this decoding circuit 32 is output to the driver circuit 33 only when the bus clock stop signal S1 given from the bus clock stop detection circuit 30 is significant.

換言すれば、デコード回路32は要求レベルの出力手段
、即ち順位出力手段として機能する。
In other words, the decoding circuit 32 functions as a required level output means, that is, a ranking output means.

ドライバ回路33は複数のドライバ33a、 33b、
 33c・・・33r+にて構成されており、デコード
回路32の対応する出力信号線32a、 32b、 3
2c・・・32nによりそれぞれが開閉制御される。具
体的には、ドライバ回路33の各ドライバ33a、 3
3b、 33cm33nはそれぞれが接続されているデ
コード回路32の出力信号線32a、 32b、 32
cm32nが有意(第2図の構成例ではローレベル)で
ある場合にのみローレベルの信号をバスクロック出力権
要求信号線17の対応する信号W117a、 17b、
 17c −17n ヘ出力する。
The driver circuit 33 includes a plurality of drivers 33a, 33b,
33c...33r+, and the corresponding output signal lines 32a, 32b, 3 of the decoding circuit 32
2c...32n respectively open and close them. Specifically, each driver 33a, 3 of the driver circuit 33
3b, 33cm and 33n are output signal lines 32a, 32b, 32 of the decoding circuit 32 to which they are connected, respectively.
Only when cm32n is significant (low level in the configuration example shown in FIG. 2), a low level signal is sent to the corresponding signal W117a, 17b, of the bus clock output right request signal line 17.
Output to 17c -17n.

参照符号34はプライオリティエンコーダであり、バス
クロック出力権要求信号wA17の各信号線17a17
b、 17c・・・17nからパスタロック出力権要求
信号を入力してその値をエンコードして比較回路35へ
出力する。この場合のプライオリティエンコーダ34の
出力信号はバスクロック出力権を要求している最も上位
の要求レベル値になるように信号vA32a32b、 
32c・・・32nによるデコード及びプライオリティ
エンコータ34によるエンコードのロジックが定められ
ている。換言すれば、プライオリティエンコーダ34は
他のモジュールが出力している要求レベルの入力手段、
即ち順位入力手段として機能する。
Reference numeral 34 is a priority encoder, and each signal line 17a17 of the bus clock output right request signal wA17
A pasta lock output right request signal is input from the circuits b, 17c, . . . , 17n, and its value is encoded and output to the comparison circuit 35. In this case, the output signal of the priority encoder 34 is the signal vA32a32b,
The logic of decoding by 32c . . . 32n and encoding by the priority encoder 34 is determined. In other words, the priority encoder 34 is an input means for the required level outputted by other modules;
That is, it functions as a ranking input means.

参照符号35は比較回路であり、プライオリティエンコ
ーダ34の出力と前述の要求レベル設定回路31の出力
とを比較し、要求レベル設定回路31に設定されている
要求レベルの設定値がプライオリティエンコーダ34の
出力と一致する場合にクロックマスタ信号生成回路36
への出力信号S2を有意にする。
Reference numeral 35 is a comparison circuit that compares the output of the priority encoder 34 and the output of the above-mentioned required level setting circuit 31, and determines that the set value of the required level set in the required level setting circuit 31 is the output of the priority encoder 34. If it matches, the clock master signal generation circuit 36
makes the output signal S2 significant.

クロックマスタ信号生成回路36は、比較回路35から
与えられている信号52が所定時間に亙って有意な状態
を維持した場合に自モジュールがパスクロツタ出力権を
得たとしてその出力信号S3を有意にする。このクロッ
クマスタ信号生成回路36の出力信号であるクロックマ
スタ信号S3はドライバ38に与えられている。
When the signal 52 given from the comparator circuit 35 maintains a significant state for a predetermined period of time, the clock master signal generation circuit 36 determines that its own module has obtained the pass clock output right and makes the output signal S3 significant. do. A clock master signal S3, which is an output signal of the clock master signal generation circuit 36, is provided to a driver 38.

第3図はクロックマスタ信号生成回路36の内部構成例
を示すブロック図である。
FIG. 3 is a block diagram showing an example of the internal configuration of the clock master signal generation circuit 36.

第3図において、参照符号360はカウンタ、同361
 はT−フリップフロップである。カウンタ360は端
子Tに入力されている内部クロックを計数してその計数
値が所定値に達すると端子QからT−フリップフロップ
361の端子Tへ入力している信号を有意にする。また
カウンタ360の負論理のリセット端子Rにはバスクロ
ック停止時にハイレベルになるバスクロック停止信号S
1と自モジュールがバスクロックの出力権を得た場合に
Aイレベルになる出力信号S2とがANDゲート362
を介して入力されている。従って、カウンタ360の端
子Qから出力されてT−フリップフロップ361の端子
Tに入力される信号は、バスクロックの供給が停止し且
つ自モジュールがバスクロックの供給権を獲得した場合
にのみ、所定時間後に有意になる。
In FIG. 3, reference numeral 360 is a counter, and reference numeral 361 is a counter.
is a T-flip-flop. The counter 360 counts the internal clock input to the terminal T, and when the counted value reaches a predetermined value, makes the signal input from the terminal Q to the terminal T of the T-flip-flop 361 significant. In addition, the negative logic reset terminal R of the counter 360 is connected to a bus clock stop signal S that becomes high level when the bus clock is stopped.
AND gate 362
is entered via. Therefore, the signal output from the terminal Q of the counter 360 and input to the terminal T of the T-flip-flop 361 is set to a predetermined value only when the bus clock supply stops and the own module acquires the right to supply the bus clock. becomes significant after some time.

T−フリップフロップ361 は上述のようにして自身
の端子Tにカウンタ360の端子Qから与えられている
信号が有意になった場合にその出力端子からの出力信号
であるクロックマスタ信号S3を有意にする。
The T-flip-flop 361 makes the clock master signal S3, which is the output signal from its output terminal, significant when the signal applied to its own terminal T from the terminal Q of the counter 360 becomes significant as described above. do.

なお、T−フリップフロップ361の負論理のリセット
端子RにはNORゲート363を介してイニシャルリセ
ント信号IR,後述するバス接続信号S4及びバスクロ
ック異常信号S5が入力されている。これらの信号[R
,S4及びS5はいずれもハイレベル有意であり、有意
になった場合にT−フリップフロップ361の端子Jか
らの出力信号であるクロックマスク信号S3を停止さて
てそのモジュールからのバスクロックの供給を停止させ
る。
Note that an initial recent signal IR, a bus connection signal S4, which will be described later, and a bus clock abnormality signal S5 are input to a negative logic reset terminal R of the T-flip-flop 361 via a NOR gate 363. These signals [R
, S4 and S5 are all significant at high level, and when they become significant, the clock mask signal S3, which is the output signal from the terminal J of the T-flip-flop 361, is stopped and the bus clock supply from that module is stopped. make it stop.

参照符号37は発振回路であり、バスクロックと同一の
発振周波数にてクロックを発振し、ドライバ38へ出力
している。
Reference numeral 37 is an oscillation circuit that oscillates a clock at the same oscillation frequency as the bus clock and outputs it to the driver 38.

ドライバ38はクロックマスク信号生成回路36の出力
信号S3が存意である場合にのみ、発振回路37が発振
しているクロック信号をバスクロック信号線15へ出力
する。
The driver 38 outputs the clock signal oscillated by the oscillation circuit 37 to the bus clock signal line 15 only when the output signal S3 of the clock mask signal generation circuit 36 is valid.

次に、上述のように構成された本発明のデータ処理装置
の動作について説明する。
Next, the operation of the data processing apparatus of the present invention configured as described above will be explained.

いまたとえば第1図において、バスクロック出力権の設
定順位が第1位であるモジュール21がバスクロックの
供給源になっているとする。そして、このモジュール2
1になんらかの故障が発生して他の各モジュール22.
23・・・2nへのバスクロックの供給が停止されたと
する。
For example, in FIG. 1, it is assumed that the module 21, which has the first bus clock output right setting order, is the bus clock supply source. And this module 2
If some kind of failure occurs in module 22.1, each of the other modules 22.
Assume that the supply of bus clocks to 23...2n is stopped.

モジュール21からのバスクロックの供給が停止すると
、モジュール21以外の他の各モジュール2223・・
・2nにおいては、それぞれのバスクロック停止検出回
路30が所定時間経過後にバスクロックの供給停止を検
出してバスクロック停止信号S1を有意にする。これに
より、各モジュール22.23・・・2nでは、それぞ
れの要求レベル設定回路31に予め設定されている要求
レベル値の信号をそれぞれのデコード回路32でデコー
ドする。この結果、各モジュール22.23・・・2n
のデコード回路32の出力信号線32a32b、 32
c・・・32nはその内のそれぞれ異なる1本のみが有
意(第2図の例ではローレベル)になり、ドライバ回路
33の対応するドライバ33a(又は33b33c・・
・32n)が有意になる。これにより、それぞれに対応
するバスクロック出力権要求信号線17a、17b17
c・・・17nの内の1本が有意になるので、各モジュ
ール22.23・・・2nに予め設定されている要求レ
ベル値に相当するバスクロック出力権要求信号線17b
When the supply of bus clock from module 21 stops, each module 2223 other than module 21...
- In 2n, each bus clock stop detection circuit 30 detects the stop of bus clock supply after a predetermined period of time and makes the bus clock stop signal S1 significant. As a result, in each of the modules 22, 23, . As a result, each module 22.23...2n
Output signal lines 32a32b, 32 of the decoding circuit 32 of
Only one different one of c...32n becomes significant (low level in the example of FIG. 2), and the corresponding driver 33a (or 33b33c...) of the driver circuit 33 becomes significant.
・32n) becomes significant. As a result, the corresponding bus clock output right request signal lines 17a, 17b17
Since one of c...17n becomes significant, the bus clock output right request signal line 17b corresponds to the request level value preset in each module 22, 23...2n.
.

17c・・・17nは全て有意になる。17c...17n all become significant.

パスクロフタ出力権要求信号線17のパスタロッり出力
積要求信号は各モジュール22.23・・・2nのプラ
イオリティエンコーダ34に入力されてエンコードされ
る。それぞれのモジュール22.23・・・2nのプラ
イオリティエンコーダ34は、その時点でバスクロック
出力が要求されているレベルの内の最上位のレベル(こ
の場合は第2位)を比較回路35へ出力する。
The passcroft output product request signal on the passcroft output right request signal line 17 is input to the priority encoder 34 of each module 22, 23, . . . 2n, and is encoded. The priority encoder 34 of each of the modules 22, 23, . .

各モジュール22.23・・・2nの比較回路35はプ
ライオリティエンコーダ34から与えられるレベル値と
要求レベル設定回路31に設定されれているレベル値と
を比較し、両者が一致していればクロックマスタ信号生
成回路36への出力信号S2を有意にする。
The comparison circuit 35 of each module 22, 23...2n compares the level value given from the priority encoder 34 with the level value set in the required level setting circuit 31, and if they match, the clock master The output signal S2 to the signal generation circuit 36 is made significant.

この場合はモジュール22の出力信号S2が有意になる
In this case, the output signal S2 of module 22 becomes significant.

比較回路35での比較結果が一致したモジュール22で
は、バスクロック停止検出回路30から出力されるバス
クロック停止信号S1及び比較図lR35から出力され
る出力信号S2が共に有意になるので、カウンタ360
により所定時間遅延した時点からT−フリップフロップ
361はその状態を保持し、その出力端子からの出力信
号であるクロンクマスタ信号S3を有意にする。これに
より、発振回路37が発振しているクロックがドライバ
38を経由してバスクロ・7り信号線15へ出力される
In the module 22 where the comparison result in the comparison circuit 35 matches, both the bus clock stop signal S1 outputted from the bus clock stop detection circuit 30 and the output signal S2 outputted from the comparison diagram IR35 become significant, so that the counter 360
After a predetermined time delay, the T-flip-flop 361 maintains its state and makes the clock master signal S3, which is the output signal from its output terminal, significant. As a result, the clock oscillated by the oscillation circuit 37 is outputted to the bus clock signal line 15 via the driver 38.

以上により、バスクロックの供給源は、それまでのモジ
ュール21から他のモジュール22.23・・・2nの
内の最も高い要求レベルが予め設定されているモジュー
ル22に自動的に切換えられる。新たにバスクロック供
給源となったモジュール22は、その内部に故障が発生
したりあるいは電源が遮断されたりしない限り、バスク
ロックの供給源として爾後機能し続ける。
As a result of the above, the bus clock supply source is automatically switched from the previous module 21 to the module 22 to which the highest required level has been preset among the other modules 22, 23, . . . 2n. The module 22 that has newly become a bus clock supply source continues to function as a bus clock supply source from now on unless a failure occurs internally or the power is cut off.

この後、モジュール22からのバスクロックの供給が遮
断された場合には、同様の動作の結果、次の111位が
設定されているモジュール23がバスクロックを供給す
るようになる。
After this, when the supply of the bus clock from the module 22 is cut off, as a result of the same operation, the next module 23 to which the 111th position is set starts supplying the bus clock.

なお、上述の如き第2図に示された実施例ではバスクロ
ック出力権要求信号線17はローレベル有意としている
が、ハイレベル有意とする構成を採ることも勿論可能で
ある。またバスクロック出力権要求信号&1117の各
信号線17a、 17b、 17c −17nの内の1
本をドライブするモジュールはバス上では1個になるよ
うにデコード回路32でデコードしているが、ドライバ
回路33の各ドライバ33a、 33b33c・・・3
3nにオーブンコレクタのドライバを使用し、バスクロ
ック出力権要求信号!17の各信号線17a、17b、
 17c・・・17nをローレベル有意にすれば、要求
レベル値をデコードすることなくそのまま出力すること
も可能である。
In the embodiment shown in FIG. 2, the bus clock output right request signal line 17 is set to be significant at a low level, but it is of course possible to employ a configuration in which it is made significant at a high level. Also, one of the signal lines 17a, 17b, 17c-17n of the bus clock output right request signal &1117
The module that drives the book is decoded by the decoding circuit 32 so that there is only one module on the bus, and each driver 33a, 33b, 33c, . . . 3 of the driver circuit 33
Use an oven collector driver for 3n, and use it as a bus clock output request signal! 17 signal lines 17a, 17b,
If 17c...17n are made low level and significant, it is also possible to output the requested level value as it is without decoding it.

このような構成を採る場合には、バスクロックの出力を
要求しているレベルの内の最上位のレベル値をバスクロ
ック出力権要求信号vA17の各信号線17a、 17
b、 17cm17n自身が示すので、プライオリティ
エンコーダ34も不要になると共に、バスクロック出力
権要求信号線17の本数をも削減することが出来る。
When adopting such a configuration, the highest level value among the levels requesting bus clock output is set to each signal line 17a, 17 of the bus clock output right request signal vA17.
b, 17cm and 17n themselves, the priority encoder 34 becomes unnecessary, and the number of bus clock output right request signal lines 17 can also be reduced.

第4図は本発明の第1の発明の第2の実施例の要部の構
成を示す回路図である。この第2の実施例では、パスク
ロツタ出力増要求信号線17を省略し得る回路構成を採
っている。
FIG. 4 is a circuit diagram showing the configuration of a main part of a second embodiment of the first aspect of the present invention. This second embodiment employs a circuit configuration in which the passcrotter output increase request signal line 17 can be omitted.

第4図において、参照符号45は共通バス10の信号線
群16のデータバス線をドライブするドライバである。
In FIG. 4, reference numeral 45 is a driver that drives the data bus lines of the signal line group 16 of the common bus 10. In FIG.

このドライバ45へのデータ入力は2入力のNORゲー
ト81の出力が、出力制御入力には2入力のNot?ゲ
ート83の出力がそれぞれ与えられている。
The data input to this driver 45 is the output of the 2-input NOR gate 81, and the 2-input Not? The outputs of the gates 83 are respectively given.

NORゲート81の一方の入力にはバスクロック停止信
号S1が信号線4Iを介して、他方の入力には2入力の
ANDゲート82の出力がそれぞれ与えられている。
The bus clock stop signal S1 is applied to one input of the NOR gate 81 via the signal line 4I, and the output of the two-input AND gate 82 is applied to the other input.

ANDゲート82の一方の入力にはバスクロック停止信
号SLの反転信号が、他方の入力には信号線42を介し
て通常のデータ出力信号がそれぞれ与えられている。
An inverted signal of the bus clock stop signal SL is applied to one input of the AND gate 82, and a normal data output signal is applied to the other input via the signal line 42.

NORゲート83の一方の入力は負論理であり、第2図
に示されているデコード回路32の信号m 32 a 
One input of the NOR gate 83 is negative logic, and the signal m 32 a of the decoding circuit 32 shown in FIG.
.

32b、 32c・・・32nの内の自モジュールのバ
スクロック出力権が要求レベルと一致した場合に有意に
なる信号が信号線43を介して与えられている。またN
0IIゲート83の他方の入力には2入力のANDゲー
ト84の出力がそれぞれ与えられている。
A signal that becomes significant when the bus clock output right of one of the modules 32b, 32c, . . . , 32n matches the required level is provided via a signal line 43. Also N
The output of a two-input AND gate 84 is applied to the other input of the 0II gate 83, respectively.

ANDゲート84の一方の入力にはバスクロック停止信
号S1の反転信号が、他方の入力にはバスアクセスの出
力動作を行わせる際に有意になる出力イネーブル信号が
出力イネーブル信号線44を介してそれぞれ与えられて
いる。
One input of the AND gate 84 receives an inverted signal of the bus clock stop signal S1, and the other input receives an output enable signal that becomes significant when performing a bus access output operation via the output enable signal line 44. It is given.

参照符号46は共通バス10のデータバス線16のレシ
ーバである。レシーバ46の出力信号は、信号線47を
介して第2図に示したプライオリティエンコーダ34に
与えられると共に、信号線48を介して通常のデータ入
力信号としても入力される。
Reference numeral 46 is the receiver of the data bus line 16 of the common bus 10. The output signal of the receiver 46 is applied to the priority encoder 34 shown in FIG. 2 via a signal line 47, and is also input as a normal data input signal via a signal line 48.

次に第4図に示すような回路構成の本発明の第2の実施
例の動作について説明する。
Next, the operation of the second embodiment of the present invention having a circuit configuration as shown in FIG. 4 will be explained.

バスクロックが正常である場合には、ドライバ45のデ
ータ入力には通常のデータバス出力信号が信号線42か
らANDゲート82及びNORゲート81を介して与え
られ、ドライバ45の出力制御線には出力イネーブル信
号144を介して出力イネーブル信号43が与えられる
When the bus clock is normal, a normal data bus output signal is given to the data input of the driver 45 from the signal line 42 via the AND gate 82 and the NOR gate 81, and the output control line of the driver 45 is given the normal data bus output signal. Output enable signal 43 is provided via enable signal 144.

一方、バスクロックが停止した場合には、ドライバ45
のデータ入力にはバスクロック停止信号S1(ハイレベ
ル有意)がNORゲート81を介して与えられ、ドライ
バ45の出力制御線にはバスクロック停止時には第2図
におけるデコード回路32の出力信号が信号線43を介
して与えられる。
On the other hand, if the bus clock stops, the driver 45
A bus clock stop signal S1 (high level significant) is applied to the data input of the driver 45 via the NOR gate 81, and when the bus clock is stopped, the output signal of the decode circuit 32 in FIG. 2 is applied to the output control line of the driver 45. 43.

マタ、共通バス10のデータバス線16のレシーバ46
の出力信号が信号″4g48を介して通常のデータ入力
信号として入力されると共に、信号線47を介して第2
図におけるプライオリティエンコーダ34に入力される
ように構成されている。このため、共通バス10のデー
タバス信号線16はバスクロックが正常である場合には
通常のデータの通信線として機能し、バスクロック停止
時にはバスクロック出力項の要求信号線(17)として
機能する。
data bus line 16 receiver 46 of common bus 10
The output signal of
It is configured to be input to the priority encoder 34 in the figure. Therefore, the data bus signal line 16 of the common bus 10 functions as a normal data communication line when the bus clock is normal, and functions as a request signal line (17) for the bus clock output term when the bus clock is stopped. .

このように、バスクロック出力項の要求信号線(17)
をデータバス線(16)に多重すれば、共通バス10の
信号本数を増加させることなく、バスクロ。
In this way, the request signal line (17) of the bus clock output term
By multiplexing the signals onto the data bus line (16), bus clocking can be performed without increasing the number of signals on the common bus 10.

りの供給源の自動切換えが可能になる。Automatic switching of multiple supply sources is possible.

なおここでは、パスクロツタ出力項の要求信号線(17
)をデータバス線(16)に多重する構成に付いて説明
したが、共通バス10のアドレス線、制御線等に多重し
ても同様の効果が発揮される。また、それらの信号線の
ドライバがオープンコレクタにて構成されている場合に
は、前述のようにバスクロック出力項の要求レベルをそ
のまま多重化することも可能である。
Note that here, the request signal line (17
) is multiplexed on the data bus line (16), but the same effect can be achieved even when multiplexed on the address line, control line, etc. of the common bus 10. Furthermore, if the drivers of these signal lines are configured with open collectors, it is also possible to multiplex the required level of the bus clock output term as is, as described above.

次に、本発明のデータ処理装置の第2の発明について説
明する。この第2の発明では、共通バス10がケーブル
等にて構成されており、モジュールの増設あるいは事故
等で共通バス10が分断される可能性がある場合を考慮
している。
Next, a second aspect of the data processing device of the present invention will be explained. In this second invention, the common bus 10 is constituted by cables, etc., and the case where the common bus 10 may be separated due to the addition of modules or an accident is taken into consideration.

第5図は本発明のデータ処理装置の第2の発明の詳細な
説明するためのシステム構成を示すブロック図である。
FIG. 5 is a block diagram showing a system configuration for explaining in detail the second aspect of the data processing apparatus of the present invention.

第5図において、参照符号2L 22.23・・・2n
は前述のバスクロック発生回路110を有しているモジ
ュール、6L 62.63・・・6n−1はそれぞれ隣
接するモジュール、たとえば21と22.22と23等
の間で共通バス信号を伝播させるためのケーブルである
In FIG. 5, reference number 2L 22.23...2n
6L 62, 63...6n-1 are modules having the aforementioned bus clock generation circuit 110, and 6L 62, 63...6n-1 are for propagating a common bus signal between adjacent modules, for example, 21, 22, 22, 23, etc. cable.

いまたとえば、モジュール21がバスクロック供給源で
あり、第5図の“P”点においてケーブルの分断事故が
発生したとすると、それまでバスクロック供給源であっ
たモジュール21とは切離された複数のモジュール23
・・・2nにて構成されるモジュール群において前述の
第1の発明の如(にして一つのモジュール(たとえばモ
ジュール23)がバスクロック供給源として機能するよ
うに自動的に切換えられる。この結果1.第5閏に示す
如く、“A”とB“との二つのモジュール群双方におい
てそれぞれモジュール21と23とがバスクロック供給
源になる。その後、第5図の“P″点において再度ケー
ブルが接続されると、モジュール21.22.23・・
・2n(7)内で二つのモジュール21と23とがバス
クロンク源として存続することになるので、システム全
体としては2系統のバスクロックが供給されることにな
る。
For example, if the module 21 is the bus clock supply source and a cable breakage accident occurs at point "P" in FIG. module 23 of
. . . 2n, one module (for example, module 23) is automatically switched to function as a bus clock supply source (as in the first invention described above). As a result, 1 .As shown in the fifth jump, modules 21 and 23 become the bus clock supply sources for both module groups "A" and "B", respectively.Then, the cable is connected again at point "P" in FIG. Once connected, modules 21, 22, 23...
- Since the two modules 21 and 23 continue as bus clock sources in 2n(7), two systems of bus clocks are supplied to the entire system.

このような問題点の発生を回避する必要性から、第6図
に示す本発明の第2の発明の構成を採ることによる対策
が考えられる。
In view of the need to avoid the occurrence of such problems, a countermeasure can be considered by adopting the configuration of the second invention of the present invention shown in FIG.

第6図において、参照符号60は共通バスの一端におい
て接地レベルに固定されたバス接続認識信号線であり、
15は共通バスのバスクロック信号線、16はその他の
共通バスの信号線である。そして、バス接続認識信号線
60、バスクロック信号線15及び共通バス16は実際
には第5図に示されているようにケーブル61にて各モ
ジエール2122.23・・・2nと接続されている。
In FIG. 6, reference numeral 60 is a bus connection recognition signal line fixed to the ground level at one end of the common bus;
15 is a bus clock signal line of the common bus, and 16 is a signal line of other common buses. The bus connection recognition signal line 60, the bus clock signal line 15, and the common bus 16 are actually connected to each module 2122.23...2n by a cable 61, as shown in FIG. .

更に、各モジュール21.22.23・・・2nはバス
接続認識信号vA60と各バス接続認識回路81.82
.83・・・8nを介してそれぞれ接続されている。な
お、各モジュール21.22.23・・・2nのバス接
続認識信号線60に対する接続順は、バス接続認識信号
線60の接地端側からモジュール21.22.23・・
・2nの順であり、且つそれぞれのモジュール21.2
2.23・・・2nに設定されているパスクロンク出力
権の要求レベルは上位側からモジュール21.22.2
3・・・2nの順である。
Furthermore, each module 21, 22, 23...2n has a bus connection recognition signal vA60 and each bus connection recognition circuit 81, 82.
.. 83...8n, respectively. The order in which the modules 21.22.23...2n are connected to the bus connection recognition signal line 60 is from the ground end of the bus connection recognition signal line 60 to the modules 21.22.23...2n.
- 2n order, and each module 21.2
2.23...The required level of pass clock output authority set in 2n is from the upper side to module 21.22.2.
The order is 3...2n.

第7図は各バス接続認識回路81.82.83・・・8
nの構成を示す回路図である。
Figure 7 shows each bus connection recognition circuit 81, 82, 83...8
FIG. 2 is a circuit diagram showing the configuration of n.

各バス接続認識回路81.82.83・・・8nはそれ
ぞれ、バス接続認識信号線60に逆流防止用のダイオー
ド91を介して接続し、各モジュール21.22.23
・・・2n側にはレシーバ92を介して接続している。
Each bus connection recognition circuit 81.82.83...8n is connected to the bus connection recognition signal line 60 via a backflow prevention diode 91, and each module 21.22.23
. . . It is connected to the 2n side via a receiver 92.

そして、ダイオード91とレシーバ92との間に抵抗9
3を介して電源電位Vccが印加されている。
A resistor 9 is connected between the diode 91 and the receiver 92.
A power supply potential Vcc is applied via 3.

従って、各バス接続認識回路81.82.83・・・8
nはバス接続認識信号線60が正常(切断されていない
状態)であれば、ダイオード91とレシーバ92との間
に印加されている電源電位Vccはバス接続認識信号線
60を介して接地されているので、レシーバ92の出力
信号はローレベルになっている。このレシーバ92の出
力信号がバス接続信号S4であり、前述のクロックマス
ク信号生成回路36のT−フリ、ブフロフプ361のリ
セット端子Rに与えられている。
Therefore, each bus connection recognition circuit 81, 82, 83...8
If the bus connection recognition signal line 60 is normal (not disconnected), the power supply potential Vcc applied between the diode 91 and the receiver 92 is grounded via the bus connection recognition signal line 60. Therefore, the output signal of the receiver 92 is at a low level. The output signal of this receiver 92 is the bus connection signal S4, which is applied to the reset terminal R of the T-flip and buffer flop 361 of the clock mask signal generation circuit 36 mentioned above.

このような本発明の第2の発明の動作は以下の如くであ
る。
The operation of the second aspect of the present invention is as follows.

たとえば第6図においてモジュール21がバスクロック
も供給源である状態でモジュール22と23との間でケ
ーブル61が切断されてバス接続認識信号線60も切断
されたとする。この場合、モジュール21、22.23
−2nは、モジュール21及び22のグループと、モジ
ュール23・・・2nのグループとの2群に分離される
For example, in FIG. 6, assume that the cable 61 is disconnected between the modules 22 and 23 and the bus connection recognition signal line 60 is also disconnected while the module 21 is also the bus clock supply source. In this case modules 21, 22.23
-2n is separated into two groups: a group of modules 21 and 22, and a group of modules 23...2n.

一方のグループのモジュール21.22の各バス接続認
識回路81.82はバス接続認識信号線6oを介して接
地されている状態が継続されるので、モジュール21.
22ではそれぞれのバス接続認識回路81゜82のバス
接続信号s4はローレベルのままであり、それまで同様
にモジュール21がバスクロックの供給を行う。
Since the bus connection recognition circuits 81.82 of the modules 21.22 of one group continue to be grounded via the bus connection recognition signal line 6o, the modules 21.
At 22, the bus connection signal s4 of each of the bus connection recognition circuits 81 and 82 remains at a low level, and the module 21 supplies the bus clock in the same manner as before.

他方のグループのモジュール23・・・2nの各バス接
続認識回路83・・・8nはバス接続認識信号!60を
介しての接地から遮断されるので、それぞれのバス接続
認識回路83・・・8nのバス接続信号s4はハイレベ
ルになる。また、それぞれのモジュール23・・・2n
へのバスクロックの供給が断たれるので、前述の如くし
てグループ内で最上位のバスクロック出カ権が設定され
ているモジュール83がバスクロックの供給源となって
グループ内の各モジュール23・・・2nにバスクロッ
クを供給する。
Each bus connection recognition circuit 83...8n of the modules 23...2n of the other group is a bus connection recognition signal! 60, the bus connection signal s4 of each bus connection recognition circuit 83...8n becomes high level. In addition, each module 23...2n
Since the bus clock supply to the module 23 is cut off, the module 83 to which the highest bus clock output authority has been set in the group as described above becomes the bus clock supply source to each module 23 in the group. ...Supplies the bus clock to 2n.

ところで、上述のようにしてケーブル61が一旦遮断さ
れた後に再接続された場合、モジュール23・・・2n
のグループではそれぞれのバス接続認識回路83・・・
8nが再度バス接続認識信号m60を介して接地される
のでそれぞれのバス接続信号S4はローレベルに復帰す
る。これにより、それぞれのモジュル23・・・2nで
はクロックマスタ信号生成回路36のTフリップフロッ
プ361のリセット端子Rにローレベルのバス接続信号
S4が与えられるので、モジュール83のクロックマス
ク信号生成回路36の出力信号であるクロックマスタ信
号S3が無意となってバスクロックの供給を停止する。
By the way, when the cable 61 is once disconnected and then reconnected as described above, the modules 23...2n
In each group, each bus connection recognition circuit 83...
8n is grounded again via the bus connection recognition signal m60, so each bus connection signal S4 returns to low level. As a result, the low level bus connection signal S4 is applied to the reset terminal R of the T flip-flop 361 of the clock master signal generation circuit 36 in each of the modules 23...2n, so that the clock mask signal generation circuit 36 of the module 83 is supplied with the low level bus connection signal S4. The clock master signal S3, which is the output signal, becomes involuntary and stops supplying the bus clock.

このような構成を採ることにより、ケーブルの途中で切
断事故が発生し、その後に復旧したような場合にもケー
ブル61(共通バス10)上ではバスクロックの供給源
は一つになるため、第5図に示されている構成において
生じるような現象は発生せず、信顛性が向上する。
By adopting such a configuration, even if a disconnection accident occurs in the middle of the cable and the cable is subsequently restored, there is only one bus clock supply source on the cable 61 (common bus 10), so the first The phenomenon that occurs in the configuration shown in FIG. 5 does not occur, and reliability is improved.

また本発明のデータ処理装置は第8図に示すような第3
の発明の構成を採ることも可能である。
Further, the data processing device of the present invention has a third data processing device as shown in FIG.
It is also possible to adopt the configuration of the invention.

即ち、この第8図に示されている構成はあるモジュール
がクロックの供給源になっている場合に、そのモジュー
ルがバスクロック用に生成している内部クロ、りと、共
通バス上のバスクロックの各立上がり、立下がりのエツ
ジにおいてバスクロックの乱れを監視するための回路構
成を示す実施例のブロック図である。
In other words, in the configuration shown in FIG. 8, when a certain module is the clock supply source, the internal clock generated by that module for the bus clock and the bus clock on the common bus are FIG. 2 is a block diagram of an embodiment showing a circuit configuration for monitoring bus clock disturbances at each rising and falling edge of .

第8図において、参照符号72〜75はJ−にフリップ
フロップであり、バスクロックの供給源となっている場
合にのみ出力がハイレベルになるクロックマスタ信号S
3が遅延回路77を介してそれぞれのリセット端子Rに
与えられている。従って、各J471Jツブフロツプ7
2〜75はクロックマスタ信号S3が有意である場合に
のみリセットが解除される。
In FIG. 8, reference numerals 72 to 75 are flip-flops on J-, and the clock master signal S whose output becomes high level only when serving as a bus clock supply source.
3 is applied to each reset terminal R via a delay circuit 77. Therefore, each J471J tube flop 7
2 to 75 are reset only when the clock master signal S3 is significant.

また、各J−にフリップフロップ72〜75の出力はO
Rゲート78に入力されており、このORゲート78の
出力は信号線76を介してバスクロック異常信号S5と
して出力される。従って、各J−にフリップフロ7ブ7
2〜75の内の一つでもその出力がハイレベルになると
バスクロック異常信号S5は有意(ハイレベル)になる
In addition, the output of flip-flops 72 to 75 for each J- is O
It is input to an R gate 78, and the output of this OR gate 78 is outputted via a signal line 76 as a bus clock abnormality signal S5. Therefore, each J- has a flip-flop 7b 7
If even one of the outputs from 2 to 75 becomes high level, the bus clock abnormal signal S5 becomes significant (high level).

マタ、J−にフリップフロップ72のJ入力にはバスク
ロック信号線15からバスクロックが、T入力にはバス
クロック用に第2図に示されている発振回路37が生成
している内部クロックが信号線71からそれぞれ入力さ
れている。
The J input of the flip-flop 72 receives the bus clock from the bus clock signal line 15, and the T input receives the internal clock generated by the oscillation circuit 37 shown in FIG. 2 for the bus clock. Each signal is input from a signal line 71.

J−にフリップフロップ73のJ入力に(よバスクロッ
クを反転した信号が、T入力には内部クロックを反転し
た信号がそれぞれ入力されている。
A signal obtained by inverting the bus clock is input to the J input of the flip-flop 73, and a signal obtained by inverting the internal clock is input to the T input.

J−にフリップフロップ74のJ入力には内部クロック
の反転信号が、T入力にはバスクロック信号の反転信号
がそれぞれ入力されている。
An inverted internal clock signal is inputted to the J input of the flip-flop 74, and an inverted signal of the bus clock signal is inputted to the T input.

J−にフリップフロップ75のJ入力には内部クロック
が、T入力にバスクロックの反転信号がそれぞれ入力さ
れている。
An internal clock is input to the J input of the flip-flop 75, and an inverted signal of the bus clock is input to the T input.

また、遅延回路77は、クロ、クマスタ信号S3が無意
になっても少なくとも各モジュールがバスクロックの停
止を検出し、バスクロック供給源の切換えが完了するま
での間はJ−にフリップフロップ72〜75がリセット
されないようにクロックマスタ信号S3を遅延する。
Further, the delay circuit 77 connects the flip-flops 72 to 72 to J- until at least each module detects the stop of the bus clock and the switching of the bus clock supply source is completed even if the master signal S3 becomes insignificant. The clock master signal S3 is delayed so that 75 is not reset.

なお、各モジュールは前述のバスクロック異常信号S5
が有意である場合には、バスクロックの供給源である状
態を保持しているクロックマスク信号生成回路36のT
−フリップフロップ361をリセットし、バスクロック
の供給を停止すると共に、バスクロック出力権の要求を
行わないように構成されている。
Note that each module receives the aforementioned bus clock abnormal signal S5.
is significant, T of the clock mask signal generation circuit 36 that maintains the state of being the bus clock supply source
- The flip-flop 361 is reset, the bus clock supply is stopped, and the bus clock output right is not requested.

このような構成のバスクロックの乱れを監視する回路は
、第9図falに示す如く、内部クロックに対して一定
の遅延時間tl、 t2でバスクロックがモジュール内
に入力されている間は、J−にフリップフロップ72〜
75の出力は全て無意になっている。
As shown in FIG. 9, the circuit for monitoring disturbances in the bus clock with such a configuration is configured such that, as shown in FIG. − to flip-flop 72~
All outputs of 75 are disabled.

ところが、たとえば第9図(blに示す如く、バスクロ
ックに乱れが生して位相差がある程度以上に大きくなる
と、J−にフリップフロップ74の出力がバスクロック
の乱れにより立上がりエツジ“口”において有意になり
、バスクロック異常を検出する。
However, as shown in FIG. 9 (bl), for example, if a disturbance occurs in the bus clock and the phase difference becomes larger than a certain level, the output of the flip-flop 74 at J- will become significant at the rising edge "mouth" due to the disturbance in the bus clock. and detects a bus clock abnormality.

これにより、バスクロックの供給が停止され、その時点
までバスクロックを入力するのみであったモジュールの
間でバスクロック供給源の切換えが行われる。即ち、こ
の回路を用いた構成を採ることにより、第5図に示され
た構成の「共通バス上にバスクロック供給源が二つにな
る」という現象は瞬間的にのみ発生するだけになるので
、システム全体に与える影響は実質上は無視される。従
って、前述のバス接続認識信号線60を使用する構成と
同様の効果がある。
As a result, the supply of the bus clock is stopped, and the bus clock supply source is switched between the modules that had only input the bus clock up to that point. In other words, by adopting a configuration using this circuit, the phenomenon of ``two bus clock supply sources on a common bus'' in the configuration shown in Figure 5 will only occur momentarily. , the effect on the entire system is virtually ignored. Therefore, it has the same effect as the configuration using the bus connection recognition signal line 60 described above.

また、同じ値のパスクロフタ出力権の要求レベルが誤っ
て複数のモジュールに設定されているような場合にも、
上述の「共通バス上にバスクロック供給源が二つになる
」現象が生じるが、第8図に示されている構成を採れば
バスクロックの乱れとして検出することが可能になるの
で、最小限度の乱れに抑制出来る。
Also, if the request level for passcrofter output authority with the same value is incorrectly set to multiple modules,
The above-mentioned phenomenon of "two bus clock supply sources on a common bus" occurs, but if the configuration shown in Figure 8 is adopted, it becomes possible to detect it as a bus clock disturbance, so it can be minimized. The disturbance can be suppressed.

最後に、以上の説明において特には述べられていないが
、バスクロック出力権の要求レベル設定回路は通常のバ
スアクセス要求レベル設定回路と兼用する構成を採るこ
とも可能である。また第4図、第8図は共に一構成例を
示したものであり、他の構成例を採ることも可能である
Finally, although not specifically mentioned in the above description, the bus clock output right request level setting circuit may be configured to be used also as a normal bus access request level setting circuit. Further, FIGS. 4 and 8 both show one configuration example, and other configuration examples may also be adopted.

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

以上に詳述した如(、本発明のデータ処理装置では、そ
の第1の発明ではバスクロックを供給しているモジュー
ルが故障してバスクロ、7りの供給停止した場合にも他
のモジュールの内の予め最上位の順位が設定されている
モジュールからバスクロックが供給されるので、システ
ム全体が停止することはない。また、バスクロックを伝
播する共通バスが切断したような場合には、それまでク
ロックを供給していたモジュールと分離されたモジュー
ルの内の予め最上位の順位が設定されているモジュール
からもバスクロックが供給されるので、システム全体が
停止することはない。
As described in detail above, in the first aspect of the data processing device of the present invention, even if the module supplying the bus clock fails and the bus clock supply is stopped, the other modules Since the bus clock is supplied from the module whose highest order is set in advance, the entire system will not stop.Also, in the event that the common bus that propagates the bus clock is disconnected, the Since the bus clock is also supplied from the module whose highest rank among the modules that were separated from the module that was supplying the clock is set in advance, the entire system does not stop.

また第2の発明では、共通バスが切断された後に上述の
ようにして切断された共通バスのそれぞれの側において
各1系統のバスクロックが供給される状態になり、更に
その後共通バスが再接続された時点で、後からバスクロ
ックの供給源になったモジュールはバスクロックの供給
を停止するので、共通バスが接続された後に2系統のバ
スクロックが供給され続けるという不具合は解消される
Further, in the second invention, after the common bus is disconnected, one system of bus clock is supplied to each side of the disconnected common bus as described above, and then the common bus is reconnected. At this point, the module that later became the bus clock supply source stops supplying the bus clock, so the problem of two systems of bus clocks continuing to be supplied after the common bus is connected is resolved.

更に第3の発明では、バスクロックを供給しているモジ
ュールで共通バス上のバスクロックと自身が発生してい
るクロックとの位相差を検出して2重にバスクロックが
供給されるでいる状態を検出するように構成されている
ので、モジュールの故障あるいはバスクロック供給順位
の誤設定等により同時に2系統のバスクロックが供給さ
れる戊が無くなる。
Furthermore, in the third invention, the module supplying the bus clock detects the phase difference between the bus clock on the common bus and the clock generated by itself, and the bus clock is supplied in duplicate. Since the system is configured to detect this, there is no possibility that two systems of bus clocks will be supplied at the same time due to a module failure or incorrect setting of the bus clock supply order.

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

第1図は本発明に係るデータ処理装置の第1の発明の一
実施例の構成例を示すブロック図、第2図は各モジュー
ルに備えられているバスクロックの供給源を切換えるた
めの回路構成、即ちバスクロック切換え回路の構成例を
示すブロック図、 第3図はクロックマスタ信号生成回路の内部構成例を示
すブロック図、 第4図は本発明の第1の発明の第2の実施例の要部の構
成を示す回路図、 第5図は本発明のデータ処理装置の第2の発明の詳細な
説明するためのシステム構成を示すブロック図、 第6図は本発明に係るデータ処理装置の第2の発明の一
実施例の構成例を示すブロック図、第7図は各バス接続
認識回路の構成を示す回路図・ 第8図は本発明に係るデータ処理装置の第2の発明の一
実施例の構成例を示すブロック図、第9図は第8図に示
す本発明のデータ処理装置の第2の発明の動作説明のた
めのタイミングチャート、 第10図は従来のデータ処理装置の一構成例を示すブロ
ック図である。 10:共通バス  15:バスクロック信号線17:パ
スクロフタ出力権要求信号vA21,22゜23・・・
2n:モジュール  30:バスクロック停止検出回路
  31:要求レベル設定回路  32:デコード回路
  33a、 33b、 33c ・・・33n  :
ドライバ34ニブライオリティエンコーダ  35:比
較回路36:クロックマスタ信号生成回路  37:発
振回路  60:バス接続認識信号線  72.73.
7475:J−にフリップフロップ  81.82.8
3−8n :バス接続認識回路  210:バスクロッ
ク切換え回路361:T−フリップフロップ  363
: NORゲートなお、図中、同一符号は同一、又は相
当部分を示す。
FIG. 1 is a block diagram showing a configuration example of a first embodiment of a data processing device according to the present invention, and FIG. 2 is a circuit configuration for switching the bus clock supply source provided in each module. , that is, a block diagram showing an example of the configuration of the bus clock switching circuit, FIG. 3 is a block diagram showing an example of the internal configuration of the clock master signal generation circuit, and FIG. 4 is a block diagram showing an example of the internal configuration of the clock master signal generation circuit. FIG. 5 is a block diagram showing a system configuration for explaining in detail the second invention of the data processing device of the present invention; FIG. 6 is a circuit diagram showing the configuration of the main part of the data processing device of the present invention. FIG. 7 is a block diagram showing a configuration example of an embodiment of the second invention; FIG. 7 is a circuit diagram showing the configuration of each bus connection recognition circuit; FIG. FIG. 9 is a block diagram showing a configuration example of the embodiment, FIG. 9 is a timing chart for explaining the operation of the second invention of the data processing device of the present invention shown in FIG. 8, and FIG. 10 is a diagram of a conventional data processing device. FIG. 2 is a block diagram showing a configuration example. 10: Common bus 15: Bus clock signal line 17: Pass crofter output right request signal vA21, 22°23...
2n: Module 30: Bus clock stop detection circuit 31: Request level setting circuit 32: Decode circuit 33a, 33b, 33c...33n:
Driver 34 Ni priority encoder 35: Comparison circuit 36: Clock master signal generation circuit 37: Oscillator circuit 60: Bus connection recognition signal line 72.73.
7475: Flip-flop to J- 81.82.8
3-8n: Bus connection recognition circuit 210: Bus clock switching circuit 361: T-flip-flop 363
: NOR gate In the figures, the same reference numerals indicate the same or equivalent parts.

Claims (3)

【特許請求の範囲】[Claims] (1)バスクロックに同期する同期型共通バスに複数の
モジュールが接続されたデータ処理装置において、 前記同期型バスからのバスクロックの供給状態を監視す
るバスクロック監視手段と、それぞれに予め設定されて
いるバスクロック供給の順位を保持する順位保持手段と
、前記バスクロック監視手段がバスクロックの供給が停
止されたことを検出した場合に、前記順位保持手段が保
持している順位を他のモジュールへ出力する順位出力手
段と、 他のモジュールから出力されている順位を入力する順位
入力手段と、 該順位入力手段から入力された順位と自己の順位保持手
段に保持されている順位とを比較する比較手段と、 クロックの発振回路と、 前記比較手段による比較結果が一致した場合に前記発振
回路が発振するクロックを前記共通バスへ出力させる手
段と を有するバスクロック切換え回路を前記複数のモジュー
ルの内の少なくとも二つに備えたことを特徴とするデー
タ処理装置。
(1) In a data processing device in which a plurality of modules are connected to a synchronous common bus that is synchronized with a bus clock, a bus clock monitoring means for monitoring the supply status of the bus clock from the synchronous bus, and a bus clock monitoring means configured in advance for each module are provided. and a ranking holding means for holding the ranking of bus clock supply that is currently being supplied to the bus; A ranking output means that outputs the output to the module, a ranking input means that inputs the ranking output from other modules, and a comparison between the ranking input from the ranking input means and the ranking held in the own ranking holding means. A bus clock switching circuit having a comparison means, a clock oscillation circuit, and a means for outputting a clock oscillated by the oscillation circuit to the common bus when the comparison result by the comparison means matches is included in the plurality of modules. A data processing device comprising at least two of the following.
(2)バスクロックに同期する同期型共通バスに複数の
モジュールが接続されたデータ処理装置において、 前記同期型バスからのバスクロックの供給状態を監視す
るバスクロック監視手段と、それぞれに予め設定されて
いるバスクロック供給の順位を保持する順位保持手段と
、前記バスクロック監視手段がバスクロックの供給が停
止されたことを検出した場合に、前記順位保持手段が保
持している順位を他のモジュールへ出力する順位出力手
段と、 他のモジュールから出力されている順位を入力する順位
入力手段と、 該順位入力手段から入力された順位と自己の順位保持手
段に保持されている順位とを比較する比較手段と、 クロックの発振回路と、 前記比較手段による比較結果が一致した場合に前記発振
回路が発振するクロックを前記共通バスへ出力させる手
段と を有するバスクロック切換え回路と、 所定の信号が与えられた場合に前記バスクロック切換え
回路の動作を禁じる手段と、前記共通バスの断続状態を
検出し、接続されている場合に前記所定の信号を前記バ
スクロック切換え回路に与える手段と を前記複数のモジュールの内の少なくとも二つに備えた
ことを特徴とするデータ処理装置。
(2) In a data processing device in which a plurality of modules are connected to a synchronous common bus synchronized with a bus clock, a bus clock monitoring means for monitoring the supply status of the bus clock from the synchronous bus, and a bus clock monitoring means configured in advance for each module. and a ranking holding means for holding the ranking of bus clock supply that is currently being supplied to the bus; A ranking output means that outputs the output to the module, a ranking input means that inputs the ranking output from other modules, and a comparison between the ranking input from the ranking input means and the ranking held in the own ranking holding means. a bus clock switching circuit comprising: a comparison means; a clock oscillation circuit; and a means for outputting a clock oscillated by the oscillation circuit to the common bus when the comparison results by the comparison means match; means for inhibiting the operation of the bus clock switching circuit when the bus clock switching circuit is connected; and means for detecting an intermittent state of the common bus and applying the predetermined signal to the bus clock switching circuit when the common bus is connected. A data processing device comprising at least two of the modules.
(3)バスクロックに同期する同期型共通バスに複数の
モジュールが接続されたデータ処理装置において、 前記同期型バスからのバスクロックの供給状態を監視す
るバスクロック監視手段と、それぞれに予め設定されて
いるバスクロック供給の順位を保持する順位保持手段と
、前記バスクロック監視手段がバスクロックの供給が停
止されたことを検出した場合に、前記順位保持手段が保
持している順位を他のモジュールへ出力する順位出力手
段と、 他のモジュールから出力されている順位を入力する順位
入力手段と、 該順位入力手段から入力された順位と自己の順位保持手
段に保持されている順位とを比較する比較手段と、 クロックの発振回路と、 前記比較手段による比較結果が一致した場合に前記発振
回路が発振するクロックを前記共通バスへ出力させる手
段と を有するバスクロック切換え回路と、 該バスクロック切換え回路によりクロック を前記共通バスへ供給している場合に、前記発振回路が
発振するクロックと前記共通バスから入力されるクロッ
クとの位相を比較する位相比較手段と、 該位相比較手段により所定幅以上の位相差が検出された
場合に、前記発振回路が発振するクロックの前記共通バ
スへの出力を停止すると共に前記バスクロック切換え回
路の動作を禁じる手段と を前記複数のモジュールの内の少なくとも二つに備えた
ことを特徴とするデータ処理装置。
(3) In a data processing device in which a plurality of modules are connected to a synchronous common bus synchronized with a bus clock, a bus clock monitoring means for monitoring the supply status of the bus clock from the synchronous bus, and a bus clock monitoring means configured in advance for each module. and a ranking holding means for holding the ranking of bus clock supply that is currently being supplied to the bus; A ranking output means that outputs the output to the module, a ranking input means that inputs the ranking output from other modules, and a comparison between the ranking input from the ranking input means and the ranking held in the own ranking holding means. a bus clock switching circuit comprising a comparison means, a clock oscillation circuit, and a means for outputting a clock oscillated by the oscillation circuit to the common bus when the comparison result by the comparison means matches; and the bus clock switching circuit. a phase comparison means for comparing the phases of the clock oscillated by the oscillation circuit and the clock input from the common bus when a clock is supplied to the common bus by the phase comparison means; At least two of the plurality of modules are provided with means for stopping output of the clock oscillated by the oscillation circuit to the common bus and inhibiting operation of the bus clock switching circuit when a phase difference is detected. A data processing device comprising:
JP2206266A 1990-08-01 1990-08-01 Data processing device Expired - Lifetime JP2736474B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2206266A JP2736474B2 (en) 1990-08-01 1990-08-01 Data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2206266A JP2736474B2 (en) 1990-08-01 1990-08-01 Data processing device

Publications (2)

Publication Number Publication Date
JPH0490016A true JPH0490016A (en) 1992-03-24
JP2736474B2 JP2736474B2 (en) 1998-04-02

Family

ID=16520485

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2206266A Expired - Lifetime JP2736474B2 (en) 1990-08-01 1990-08-01 Data processing device

Country Status (1)

Country Link
JP (1) JP2736474B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09282045A (en) * 1996-04-12 1997-10-31 Nec Corp Multiplex clock distributing system
US6201845B1 (en) 1993-06-21 2001-03-13 Fujitsu Limited Data processing apparatus adapted for data transfer between circuit units operating with different clock cycles
JP2014236478A (en) * 2013-06-05 2014-12-15 株式会社デンソー Clock signal supply system and standby clock signal output device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6201845B1 (en) 1993-06-21 2001-03-13 Fujitsu Limited Data processing apparatus adapted for data transfer between circuit units operating with different clock cycles
JPH09282045A (en) * 1996-04-12 1997-10-31 Nec Corp Multiplex clock distributing system
JP2014236478A (en) * 2013-06-05 2014-12-15 株式会社デンソー Clock signal supply system and standby clock signal output device

Also Published As

Publication number Publication date
JP2736474B2 (en) 1998-04-02

Similar Documents

Publication Publication Date Title
EP0365819B1 (en) Synchronized fault tolerant clocks for multiprocessor systems
US5271023A (en) Uninterruptable fault tolerant data processor
JP5337022B2 (en) Error filtering in fault-tolerant computing systems
CA1178712A (en) Digital data processor with high reliability
US5068780A (en) Method and apparatus for controlling initiation of bootstrap loading of an operating system in a computer system having first and second discrete computing zones
US5572620A (en) Fault-tolerant voter system for output data from a plurality of non-synchronized redundant processors
EP0415551A2 (en) Protocol for transfer of DMA data
JPH07177130A (en) Error count circuit
US4979191A (en) Autonomous N-modular redundant fault tolerant clock system
JP2002517819A (en) Method and apparatus for managing redundant computer-based systems for fault-tolerant computing
US5163138A (en) Protocol for read write transfers via switching logic by transmitting and retransmitting an address
US5381416A (en) Detection of skew fault in a multiple clock system
JP2008046942A (en) Fault tolerant computer and transaction synchronous control method therefor
US5905875A (en) Multiprocessor system connected by a duplicated system bus having a bus status notification line
JPH0490016A (en) Data processor
US9710342B1 (en) Fault-tolerant mastership arbitration in a multi-master system
JP2001297071A (en) Accurate decentralization system time
KR970004795B1 (en) Protection against loss or corruption of data upon switchover of a replicated system
US3750110A (en) Data transfer systems
KR100198416B1 (en) Synchronization monitor circuit for duplicated control system
JP2645880B2 (en) System clock duplication method
JPH08190494A (en) High-reliability computer with dual processors
JP2669851B2 (en) Failure notification method
JP2600021B2 (en) Time slot indication check processing method
JP2701741B2 (en) Redundant / single switching mode

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080116

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090116

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100116

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100116

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110116

Year of fee payment: 13

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110116

Year of fee payment: 13