[go: up one dir, main page]

JPH05324365A - System for inspecting module identifier repetition - Google Patents

System for inspecting module identifier repetition

Info

Publication number
JPH05324365A
JPH05324365A JP4127466A JP12746692A JPH05324365A JP H05324365 A JPH05324365 A JP H05324365A JP 4127466 A JP4127466 A JP 4127466A JP 12746692 A JP12746692 A JP 12746692A JP H05324365 A JPH05324365 A JP H05324365A
Authority
JP
Japan
Prior art keywords
module
modules
output
bus
cpu
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
JP4127466A
Other languages
Japanese (ja)
Inventor
Yoshimitsu Kamiyama
義光 上山
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP4127466A priority Critical patent/JPH05324365A/en
Publication of JPH05324365A publication Critical patent/JPH05324365A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To previously detect module ID repetition when module ID setting is repeated by a human system error. CONSTITUTION:Modules 30-1 to 30-n which are connected to CPU 10 with a serial bus 20 are constituted in such a way that, when the modules 30-1 and 30-2, for example, are set to a unique ID output mode by CPU 10 by the designation of a module ID which is the same one as the module ID being set by the ID switches 31-1 and 31-2, information adding unique ID which is decided by the mounted position of the modules 30-1 and 30-2 is outputted from shift registers 32-1 and 32-2 to the output line 22 of a bus 20 with drivers 35-1 and 35-2 and a signal in the output line 22 is fetched so as to be compared with the output signal from the registers 32-1 and 32-2 by comparing circuits 36-1 and 36-2 so that abnormality is reported to CPU 10 with the control line 22 of the bus 20 when noncoincidence is detected.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、CPUがバスを介し
て各種のモジュールと通信を行う計算機システムに係
り、特に各モジュールの識別子がスイッチにより任意に
設定可能なシステムにおいてモジュール識別子の重複を
検出するのに好適なモジュール識別子重複検査方式に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a computer system in which a CPU communicates with various modules via a bus, and particularly detects a duplication of module identifiers in a system in which an identifier of each module can be arbitrarily set by a switch. The present invention relates to a module identifier duplication check method suitable for doing so.

【0002】[0002]

【従来の技術】図4に示すように、CPU1がシステム
バス2を介して各種のモジュール3-1〜3-nと通信を行
う計算機システムでは、CPU1はモジュールIDと呼
ぶ識別子により通信相手とするモジュールを指定するの
が一般的である。
2. Description of the Related Art As shown in FIG. 4, in a computer system in which a CPU 1 communicates with various modules 3-1 to 3-n via a system bus 2, the CPU 1 is a communication partner by an identifier called a module ID. It is common to specify a module.

【0003】各モジュール3-1〜3-nには、モジュール
IDを設定するためのスイッチ(IDスイッチ)4-1〜
4-nが設けられている。モジュール3-1〜3-nは、CP
U1から通信相手を指定するためのモジュールIDがシ
ステムバス2を介して転送されると、その指定モジュー
ルIDとIDスイッチ4-1〜4-nにより設定されている
自身のモジュールIDとを比較し、両IDが一致してい
るならば、自身が指定されたものとして、CPU1と通
信を行う。
Each of the modules 3-1 to 3-n has a switch (ID switch) 4-1 to set a module ID.
4-n are provided. Modules 3-1 to 3-n are CP
When the module ID for designating the communication partner is transferred from U1 via the system bus 2, the designated module ID is compared with its own module ID set by the ID switches 4-1 to 4-n. If the two IDs match, it is determined that it has been designated, and communication is performed with the CPU 1.

【0004】各モジュール3-1〜3-nのモジュールID
は、ユーザ等がIDスイッチ4-1〜4-nを操作すること
で、任意に設定操作可能となっている。このため、スイ
ッチ操作を誤ってモジュールID設定が複数モジュール
で重複して行われる可能性があった。もし、CPU1の
指定したモジュールIDが複数モジュールで重複して設
定されている場合には、これら複数モジュールが同時に
動作してしまい、データ衝突(データ破壊)等の不具合
が発生する。
Module ID of each module 3-1 to 3-n
Can be arbitrarily set by a user or the like operating the ID switches 4-1 to 4-n. For this reason, there is a possibility that the switch ID may be erroneously set and the module ID may be duplicated in a plurality of modules. If the module ID designated by the CPU 1 is set redundantly in a plurality of modules, the plurality of modules operate at the same time, causing a problem such as data collision (data destruction).

【0005】[0005]

【発明が解決しようとする課題】上記したように、CP
Uがバスを介して各種のモジュールと通信を行う従来の
計算機システムでは、モジュールIDの設定が人間系の
ミスで複数モジュールで重複して行われていた場合に
は、そのモジュールIDを指定して通信相手となるモジ
ュールを決定しようとすると、複数のモジュールが同時
に動作してしまい、データ衝突等の不具合が発生すると
いう問題があった。
As described above, the CP
In the conventional computer system in which U communicates with various modules via the bus, if the module ID is set redundantly in multiple modules due to a human error, the module ID is specified. When attempting to determine a module to be a communication partner, a plurality of modules operate at the same time, which causes a problem such as data collision.

【0006】この発明は上記事情に鑑みてなされたもの
でその目的は、CPUがバスを介して各種のモジュール
と通信を行う計算機システムにおいて、モジュール識別
子(モジュールID)の設定が人間系のミスで複数モジ
ュールで重複して行われていた場合に、そのモジュール
識別子の重複を事前に検出することができるモジュール
識別子重複検査方式を提供することにある。
The present invention has been made in view of the above circumstances, and an object thereof is a computer system in which a CPU communicates with various modules via a bus, and a module identifier (module ID) is set by a human error. An object of the present invention is to provide a module identifier duplication inspection method capable of detecting the duplication of the module identifiers in advance when the duplication is performed in a plurality of modules.

【0007】[0007]

【課題を解決するための手段】この発明は、CPUがモ
ジュールIDを指定することにより、複数のモジュール
のうち、その指定IDに一致するモジュールIDが設定
されたモジュールと通信を行う計算機システムにおい
て、上記各モジュールに、CPUからのモジュールID
重複検査のためのモジュールID指定により選択された
場合に、そのモジュールの実装位置により決定される固
有のID(ユニークID)を、CPUと複数のモジュー
ルとを接続するためのバスに出力する出力手段と、この
出力手段により上記バスに出力されたデータと同バス上
のデータとを比較する比較手段とを設け、この比較手段
の比較結果によりモジュールIDの重複を検出するよう
にしたことを特徴とするものである。
According to the present invention, in a computer system in which a CPU designates a module ID to communicate with a module having a module ID matching a designated ID among a plurality of modules, Module ID from the CPU for each of the above modules
Output means for outputting a unique ID (unique ID) determined by the mounting position of the module to a bus for connecting the CPU and a plurality of modules when the module is selected by designating the module ID for duplication check And a comparison means for comparing the data output to the bus by the output means with the data on the bus, and the duplication of the module ID is detected by the comparison result of the comparison means. To do.

【0008】[0008]

【作用】上記の構成において、モジュールIDが重複し
ていない場合には、モジュールID重複検査のためのC
PUからのモジュールID指定により選択されるモジュ
ールは1つだけである。この場合、選択された唯一のモ
ジュールの出力手段からバスに出力されるユニークID
と、バス上のデータとは一致する。したがって、選択さ
れたモジュールの比較手段では一致が検出され、指定の
モジュールIDが重複されていないことが示される。
In the above structure, if the module IDs do not overlap, C for module ID duplication check is performed.
Only one module is selected by the module ID designation from the PU. In this case, the unique ID output to the bus from the output means of the only selected module
And the data on the bus match. Therefore, the comparison means of the selected modules detects a match, indicating that the designated module IDs are not duplicated.

【0009】これに対し、指定のモジュールIDが重複
している場合には、選択されるモジュールは2つ以上と
なる。この場合、バス上には、選択された2つ以上のモ
ジュールの出力手段からそれぞれ自身のユニークIDが
出力され、バス上でオアされる。このバス上のデータ
と、出力手段から出力されるユニークIDとは一致しな
い。したがって、選択されたモジュールの比較手段で
は、不一致が検出され、指定のモジュールIDが重複さ
れていることが示される。
On the other hand, when the designated module IDs are duplicated, two or more modules are selected. In this case, the unique IDs of the respective modules are output from the output means of the selected two or more modules on the bus, and are ORed on the bus. The data on this bus does not match the unique ID output from the output means. Therefore, the comparison means of the selected modules detects a mismatch and indicates that the designated module IDs are duplicated.

【0010】[0010]

【実施例】図1はこの発明のモジュール識別子(ID)
重複検査方式を適用する計算機システムの一実施例を示
すブロック構成図である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a module identifier (ID) of the present invention.
It is a block configuration diagram showing one embodiment of a computer system to which the duplication check method is applied.

【0011】図1において、10はシステムの制御中枢
をなすCPUである。CPU10は、システムバス(図
示せず)と、同バスとは独立に設けられたRAS(Reli
ability,Availability,Serviceability )情報収集用の
シリアルバス20とにより、各種モジュール30-1,3
0-2…30-nと接続されている。シリアルバス20は、
モジュール30-1〜30-nにとっての1ビットの入力ラ
イン21、1ビットの出力ライン22および異常通知等
のためのコントロールライン23を持つ。
In FIG. 1, reference numeral 10 is a CPU which serves as a control center of the system. The CPU 10 includes a system bus (not shown) and an RAS (Reli) provided independently of the bus.
ability, availability, serviceability) Various modules 30-1, 3 by the serial bus 20 for collecting information
0-2 ... 30-n are connected. Serial bus 20
The module 30-1 to 30-n has a 1-bit input line 21, a 1-bit output line 22 and a control line 23 for notifying an abnormality.

【0012】モジュール30-1,30-2には、同モジュ
ール30-1,30-2のID(モジュールID)を任意に
設定可能なスイッチ(IDスイッチ)31-1,31-2が
設けられている。
The modules 30-1 and 30-2 are provided with switches (ID switches) 31-1 and 31-2 capable of arbitrarily setting the IDs (module IDs) of the modules 30-1 and 30-2. ing.

【0013】モジュール30-1,30-2にはまた、入力
データを1ビットずつシフト(してシリアルバス20の
出力ライン22に対して出力)するためのシフトレジス
タ32-1,32-2が設けられている。このシフトレジス
タ32-1,32-2には、モジュールID重複検査のため
にモジュール30-1,30-2が選択された場合に、CP
U10からシリアルバス20の入力ライン21を介して
送られる例えば8ビットの開始コードSおよび終了コー
ドEと、IDスイッチ31-1,31-2により設定されて
いる例えばモジュールIDと、対応するモジュール30
-1,30-2の実装位置によって決定される(そのモジュ
ールに)固有のID(以下、ユニークIDと称する)と
が、開始コードS、モジュールID、ユニークID、お
よび終了コードEの順で取り込まれるようになってい
る。このユニークIDは、モジュールが(コネクタ等を
介して)実装されることにより、その実装位置にて例え
ば信号のプルアップ/プルダウン等の組み合わせにより
生成されるものである。本実施例においてモジュールI
DおよびユニークIDは、8ビットで構成され、その上
位4ビットは16進表現で“0”であるものとする。
The modules 30-1 and 30-2 also have shift registers 32-1 and 32-2 for shifting the input data bit by bit (and outputting it to the output line 22 of the serial bus 20). It is provided. When the modules 30-1 and 30-2 are selected for the module ID duplication check, the CPs are assigned to the shift registers 32-1 and 32-2.
For example, 8-bit start code S and end code E sent from U10 via input line 21 of serial bus 20, module ID set by ID switches 31-1, 31-2, and corresponding module 30
-1 and 30-2, the unique IDs (to be referred to as unique IDs hereinafter) determined by the mounting positions of the modules (hereinafter referred to as unique IDs) are taken in the order of the start code S, the module ID, the unique ID, and the end code E. It is supposed to be. The unique ID is generated by a combination of pull-up / pull-down of signals at the mounting position when the module is mounted (via a connector or the like). Module I in this embodiment
It is assumed that D and the unique ID are composed of 8 bits, and the upper 4 bits thereof are “0” in hexadecimal notation.

【0014】モジュール30-1,30-2には更に、シフ
トレジスタ32-1,32-2からシリアル出力される出力
信号(即ちモジュール30-1,30-2の出力信号)33
-1,33-2を出力信号34-1,34-2としてシリアルバ
ス20の出力ライン22に送出するための出力ドライバ
(D)35-1,35-2と、IDスイッチ31-1,31-2
により設定されているモジュールIDの重複を検査する
ための比較回路36-1,36-2が設けられている。
The modules 30-1 and 30-2 are further provided with output signals 33 output serially from the shift registers 32-1 and 32-2 (that is, output signals of the modules 30-1 and 30-2).
-1, 33-2 as output signals 34-1, 34-2 to the output line 22 of the serial bus 20 and output drivers (D) 35-1, 35-2, and ID switches 31-1, 31 -2
Comparing circuits 36-1 and 36-2 for checking the duplication of the module IDs set by the above are provided.

【0015】比較回路36-1,36-2は2つの入力を有
しており、その一方の入力には、モジュール30-1,3
0-2(のシフトレジスタ32-1,32-2)からの出力信
号33-1,33-2が導かれ、他方の入力Bには、シリア
ルバス20の出力ライン22上の信号が検査信号37-
1,37-2として導かれる。比較回路36-1,36-2の
出力は、異常通知線38-1,38-2を介してシリアルバ
ス20のコントロールライン23と接続されている。な
お、図1では、モジュール30-1,30-2以外のモジュ
ールの構成は省略されているが、その基本構成はモジュ
ール30-1,30-2と同一である。
The comparator circuits 36-1 and 36-2 have two inputs, one of which has the modules 30-1 and 3-3.
0-2 (the shift registers 32-1 and 32-2 thereof) output signals 33-1 and 33-2, and the other input B receives the signal on the output line 22 of the serial bus 20 as a check signal. 37-
It is introduced as 1, 37-2. The outputs of the comparison circuits 36-1 and 36-2 are connected to the control line 23 of the serial bus 20 via the abnormality notification lines 38-1 and 38-2. Although the configuration of the modules other than the modules 30-1 and 30-2 is omitted in FIG. 1, the basic configuration is the same as the modules 30-1 and 30-2.

【0016】次に、図1の構成の動作を説明する。CP
U10は、計算機システムの立ち上げ時に、各モジュー
ル30-1〜30-nでのモジュールID設定に重複がない
かを検査する。
Next, the operation of the configuration shown in FIG. 1 will be described. CP
When starting up the computer system, the U10 checks whether or not the module ID settings in the modules 30-1 to 30-n are duplicated.

【0017】即ちCPU10は、各モジュール30-1〜
30-nで設定可能なモジュールIDを(16進表現で)
初期値“00”から最大値“0F”まで順にカウントア
ップしながら、そのモジュールIDで指定されるモジュ
ールをユニークID出力モードに設定する動作を繰り返
すことでモジュールID重複検査を行う。
That is, the CPU 10 includes modules 30-1 to 30-1.
Module ID that can be set with 30-n (in hexadecimal notation)
The module ID duplication check is performed by repeating the operation of setting the module designated by the module ID to the unique ID output mode while sequentially counting up from the initial value “00” to the maximum value “0F”.

【0018】このモジュールID重複検査の具体例を、
CPU10がモジュールID“0C”(16進表現)の
モジュールをユニークID出力モードに設定した場合で
あって、モジュール30-1〜30-nのうちのモジュール
30-1および30-2のモジュールIDが(IDスイッチ
31-1,31-2によって)上記“0C”に重複設定され
ている場合について説明する。なお、以降の説明では、
モジュールIDおよびユニークIDの値は、特に断らな
い限り16進数で表わされているものとする。
A specific example of this module ID duplication check is described below.
When the CPU 10 sets the module with the module ID “0C” (hexadecimal expression) in the unique ID output mode, the module IDs of the modules 30-1 and 30-2 of the modules 30-1 to 30-n are A case will be described in which (by the ID switches 31-1 and 31-2) the duplication setting is made to "0C". In the following explanation,
Unless otherwise specified, the values of the module ID and unique ID are represented by hexadecimal numbers.

【0019】今、モジュールIDが“0C”のモジュー
ルをユニークID出力モードに設定するために、CPU
10から図示せぬシステムバス上に、ユニークID出力
モード設定用のファンクション情報がモジュールID
“0C”と共に送出されたものとする。
Now, in order to set the module whose module ID is "0C" to the unique ID output mode, the CPU
From 10 to the system bus (not shown), the function information for setting the unique ID output mode is the module ID
It shall be transmitted together with "0C".

【0020】すると、システムバスを介してCPU10
と接続されているモジュール30-1〜30-nのうち、モ
ジュールIDが“0C”に重複設定されている2つのモ
ジュール30-1,30-2が同時に選択されて、ユニーク
ID出力モードに設定される。
Then, the CPU 10 is connected via the system bus.
Among the modules 30-1 to 30-n connected to the two modules, the two modules 30-1 and 30-2 whose module IDs are set to "0C" are simultaneously selected and set to the unique ID output mode. To be done.

【0021】CPU10は、ユニークID出力モード設
定用のファンクション情報を送出すると、指定モジュー
ルからのユニークID出力のタイミングを決定するため
の開始コードSおよび終了コードEを1ビットずつ順に
シリアルバス20の入力ライン21上に送出する。この
開始コードSおよび終了コードEとの間には、モジュー
ルIDおよびユニークIDが挿入可能な16ビット分の
スペースが確保されている。
When the CPU 10 sends the function information for setting the unique ID output mode, the start code S and the end code E for determining the timing of the unique ID output from the designated module are sequentially input to the serial bus 20 bit by bit. Send on line 21. Between the start code S and the end code E, a 16-bit space in which a module ID and a unique ID can be inserted is secured.

【0022】シリアルバス20の入力ライン21を介し
て転送された開始コードSおよび終了コードEは、(C
PU10からのモジュールID“0C”指定により選択
されて)ユニークID出力モードにあるモジュール30
-1,30-2においてのみ受け取られ、同モジュール30
-1,30-2内のシフトレジスタ32-1,32-2に順に取
り込まれる。
The start code S and end code E transferred via the input line 21 of the serial bus 20 are (C
Module 30 in the unique ID output mode (selected by the module ID “0C” designation from PU 10)
-1, 30-2 received only in the module 30
-1, 30-2 in the shift registers 32-1 and 32-2 in order.

【0023】そして、終了コードEの最終ビットがシフ
トレジスタ32-1,32-2に取り込まれると、シフトレ
ジスタ32-1,32-2内の開始コードSと終了コードE
との間に、モジュール30-1,30-2のIDスイッチ3
1-1,31-2で設定されたモジュールID(ここでは、
重複設定された“0C”)およびモジュール30-1,3
0-2の実装位置で決まる固有の値であるユニークID
(ここでは、“06”,“0A”)が挿入される。
Then, when the last bit of the end code E is taken into the shift registers 32-1 and 32-2, the start code S and the end code E in the shift registers 32-1 and 32-2.
Between the ID switches 3 of the modules 30-1 and 30-2
Module ID set in 1-1 and 31-2 (here,
"0C" that has been set redundantly) and modules 30-1, 3
Unique ID that is a unique value determined by the mounting position of 0-2
(Here, “06” and “0A”) are inserted.

【0024】すると、シフトレジスタ32-1の内容、即
ち開始コードS、モジュール30-1のモジュールID
“0C”、モジュール30-1のユニークID“06”お
よび終了コードEが、モジュール30-1の出力信号33
-1としてシリアル出力される。同時に、シフトレジスタ
32-2の内容、即ち開始コードS、モジュール30-2の
モジュールID“0C”、モジュール30-2のユニーク
ID“0A”および終了コードEが、モジュール30-1
の出力信号33-1としてシリアル出力される。この様子
を、開始コードSと終了コードEに挟まれた期間につい
て、図2のタイミングチャートに示す
Then, the contents of the shift register 32-1, that is, the start code S and the module ID of the module 30-1
“0C”, the unique ID “06” of the module 30-1, and the end code E are output signals 33 of the module 30-1.
Serially output as -1. At the same time, the contents of the shift register 32-2, that is, the start code S, the module ID “0C” of the module 30-2, the unique ID “0A” of the module 30-2, and the end code E are the module 30-1.
Are serially output as the output signal 33-1 of This situation is shown in the timing chart of FIG. 2 for the period between the start code S and the end code E.

【0025】さて、モジュール30-1,30-2(のシフ
トレジスタ32-1,32-2)からの出力信号33-1,3
3-2は、出力ドライバ35-1,35-2により出力信号3
4-1,34-2としてシリアルバス20の出力ライン22
に同時に送出される。これにより、信号34-1,34-2
は、出力ライン22上でワイヤード・オアされる。
Now, the output signals 33-1 and 3 from (the shift registers 32-1 and 32-2 of) the modules 30-1 and 30-2.
3-2 is an output signal 3 by the output drivers 35-1 and 35-2.
Output lines 22 of the serial bus 20 as 4-1 and 34-2
Are sent to the same time. This causes signals 34-1 and 34-2 to be generated.
Are wired or on output line 22.

【0026】シリアルバス20の出力ライン22上の信
号は、ユニークID出力モードにあるモジュール30-
1,33-2の比較回路36-1,36-2の一方の入力に、
検査信号37-1,37-2として入力される。比較回路3
6-1,36-2の他方の入力には、モジュール30-1,3
0-2(のシフトレジスタ32-1,32-2)からの出力信
号33-1,33-2が入力される。
The signal on the output line 22 of the serial bus 20 is the module 30-in the unique ID output mode.
One of the inputs of the comparison circuits 36-1 and 36-2 of 1, 33-2,
The inspection signals 37-1 and 37-2 are input. Comparison circuit 3
Modules 30-1, 3 are connected to the other inputs of 6-1 and 36-2.
The output signals 33-1 and 33-2 from 0-2 (the shift registers 32-1 and 32-2) are input.

【0027】モジュール30-1,30-2(の比較回路3
6-1,36-2)に入力された検査信号37-1,37-2
は、モジュール30-1,30-2自身が出力ドライバ35
-1,35-2により出力ライン22上に出力した出力信号
34-1,34-2が同ライン22上でワイヤード・オアさ
れた信号である。この信号37-1,37-2は、モジュー
ル30-1,30-2(のシフトレジスタ32-1,32-2)
からの出力信号33-1,33-2をオアした信号に一致し
ており、その開始コードSと終了コードEに挟まれた期
間における信号状態は、図2に示すようになる。
(Comparison circuit 3 of modules 30-1 and 30-2 (
6-1, 36-2) input inspection signals 37-1, 37-2
The modules 30-1 and 30-2 themselves are output drivers 35.
The output signals 34-1 and 34-2 output on the output line 22 by -1, 35-2 are signals wired or ORed on the same line 22. The signals 37-1 and 37-2 are transmitted to the modules 30-1 and 30-2 (shift registers 32-1 and 32-2 thereof).
The output signals 33-1 and 33-2 from 1 are matched with the OR signal, and the signal state in the period between the start code S and the end code E is as shown in FIG.

【0028】ここで、モジュール30-1,30-2(のシ
フトレジスタ32-1,32-2)からの出力信号33-1,
33-2中のユニークIDは“06”,“0A”(2進表
現では“00000110”,“00001010”)
であり、異なっている。この場合、検査信号37-1,3
7-2中の該当部分は、図2のタイミングチャートに示す
ように2進表現で“00001110”と、出力信号3
3-1,33-2中のユニークIDのいずれとも異なる。
Here, output signals 33-1 from (shift registers 32-1 and 32-2 of) the modules 30-1 and 30-2,
The unique ID in 33-2 is “06”, “0A” (in binary representation, “00000110”, “00001010”)
And are different. In this case, the inspection signals 37-1, 3
As shown in the timing chart of FIG. 2, the corresponding portion in 7-2 is “00001110” in binary representation and the output signal 3
It is different from any of the unique IDs in 3-1 and 33-2.

【0029】モジュール30-1,30-2内の比較回路3
6-1,36-2は、モジュール30-1,30-2(のシフト
レジスタ32-1,32-2)からの出力信号33-1,33
-2とシリアルバス20の出力ライン22からモジュール
30-1,30-2に取り込まれた検査信号37-1,37-2
とを、シフトレジスタ32-1,32-2のシフト動作の期
間、即ち開始コードSの先頭ビットが出力されてから終
了コードEの最終ビットが出力されるまで(但し、不一
致を検出した場合には、その検出終了時まで)の期間1
ビットずつ比較する。なお、開始コードSの先頭ビット
から終了コードEの最終ビットまでの全ビットをシリア
ル入力パラレル出力レジスタ等に内部保持した後、一度
に比較することも可能である。
Comparison circuit 3 in modules 30-1 and 30-2
6-1 and 36-2 are output signals 33-1 and 33 from (the shift registers 32-1 and 32-2 of) the modules 30-1 and 30-2.
-2 and the inspection signals 37-1, 37-2 taken into the modules 30-1, 30-2 from the output line 22 of the serial bus 20.
And between the shift operations of the shift registers 32-1 and 32-2, that is, from the output of the first bit of the start code S to the output of the last bit of the end code E (provided that a mismatch is detected. Is until the end of its detection) period 1
Compare bit by bit. It is also possible to internally hold all the bits from the first bit of the start code S to the last bit of the end code E in the serial input parallel output register or the like and then compare them all at once.

【0030】さて比較回路36-1,36-2は、出力信号
33-1,33-2中のユニークIDと検査信号37-1,3
7-2の該当部分との比較において、図2のP1 ,P2 の
時点で不一致を検出する。このP2 点における、モジュ
ール30-2の比較回路36-2の信号入出力状態を図3に
示す。
The comparison circuits 36-1 and 36-2 have the unique IDs in the output signals 33-1 and 33-2 and the inspection signals 37-1 and 3-2.
In the comparison with the corresponding part of 7-2, the disagreement is detected at the points P1 and P2 in FIG. FIG. 3 shows the signal input / output state of the comparison circuit 36-2 of the module 30-2 at the point P2.

【0031】モジュール30-1,30-2内の比較回路3
6-1,36-2は、図2のP1 ,P2点で不一致を検出す
ると、モジュール30-1,30-2に設定されているモジ
ュールIDが重複されているものとして、異常通知線3
8-1,38-2に異常通知信号を出力する。この異常通知
線38-1,38-2上の異常通知信号は、シリアルバス2
0のコントロールライン23を介してCPU10に伝達
される。これによりCPU10は、自身が指定したモジ
ュールID“0C”が複数のモジュールで重複設定され
ていることを認識する。
Comparison circuit 3 in modules 30-1 and 30-2
When 6-1 and 36-2 detect inconsistency at points P1 and P2 in FIG. 2, it is determined that the module IDs set in the modules 30-1 and 30-2 are duplicated, and the abnormality notification line 3
An abnormality notification signal is output to 8-1 and 38-2. The abnormality notification signals on the abnormality notification lines 38-1 and 38-2 are the serial bus 2
It is transmitted to the CPU 10 via the control line 23 of 0. As a result, the CPU 10 recognizes that the module ID “0C” designated by itself is set redundantly in a plurality of modules.

【0032】次に、CPU10により指定されたモジュ
ールID“0C”が、例えばモジュール30-1だけに設
定されている場合について簡単に説明する。この場合、
モジュール30-1だけが選択されてユニークID出力モ
ードとなり、モジュール30-1(内のシフトレジスタ3
2-1)からだけデータ出力が行われる。したがって、モ
ジュール30-1(内のシフトレジスタ32-1)からの出
力信号33-1と、シリアルバス20の出力ライン22か
らモジュール30-1内に取り込まれる検査信号37-1と
は一致し、比較回路36-1からシリアルバス20のコン
トロールライン23に対して異常通知信号は出力されな
い。
Next, the case where the module ID "0C" designated by the CPU 10 is set only in the module 30-1, for example, will be briefly described. in this case,
Only the module 30-1 is selected to enter the unique ID output mode, and the module 30-1 (the shift register 3 in the
Data is output only from 2-1). Therefore, the output signal 33-1 from the module 30-1 (the shift register 32-1 therein) and the check signal 37-1 taken into the module 30-1 from the output line 22 of the serial bus 20 match, No abnormality notification signal is output from the comparison circuit 36-1 to the control line 23 of the serial bus 20.

【0033】CPU10は、モジュールIDで指定した
モジュールからコントロールライン23を介して異常通
知が返されなかった場合、そのモジュールIDが重複設
定されていないものと判断する。この場合、CPU10
は、ユニークID出力モードにある唯一の指定モジュー
ルからシリアルバス20の出力ライン22上に送出され
た出力信号を取り込み、その出力信号中のユニークID
により、指定のモジュールIDが重複せずに設定されて
いるモジュールの実装位置を認識する。
When no abnormality notification is returned from the module specified by the module ID via the control line 23, the CPU 10 determines that the module ID is not set redundantly. In this case, the CPU 10
Captures the output signal sent on the output line 22 of the serial bus 20 from the only specified module in the unique ID output mode, and outputs the unique ID in the output signal.
As a result, the mounting position of the module to which the designated module IDs are set does not overlap is recognized.

【0034】なお、前記実施例では、モジュールID重
複検査に、RAS情報収集用に設けられているシリアル
バス20を利用するものとして説明したが、システムバ
スを利用しても同様に行うことができる。
Although the serial bus 20 provided for collecting the RAS information is used for the module ID duplication check in the above embodiment, the system bus may be used in the same manner. ..

【0035】また、前記実施例では、モジュール30-1
〜30-nに一度設定されたモジュールIDは常時変化す
ることはないことから、モジュールID重複検査を、シ
ステムの立ち上げ時(保守、増設後)に行うものとして
説明したが、立ち上げ時以外にも例えば定期的に行うよ
うにしてもよい。この場合、バスが何等かの障害を受け
たために、指定モジュールからの出力データがバス上で
壊れてしまっても、その異常を検出することができる。
In the above embodiment, the module 30-1 is used.
Since the module ID once set to ~ 30-n does not change at all times, it was explained that the module ID duplication check is performed at system startup (after maintenance and expansion). Also, for example, it may be performed periodically. In this case, even if the output data from the designated module is broken on the bus due to some failure of the bus, the abnormality can be detected.

【0036】[0036]

【発明の効果】以上詳述したようにこの発明によれば、
バスを介してCPUと接続された各モジュールに、その
モジュールがCPUからのモジュールID重複検査のた
めのモジュールID指定により選択された場合に、その
モジュールの実装位置により決定される固有のID(ユ
ニークID)を上記のバスに出力する出力手段と、この
出力手段によりバスに出力されたデータと同バス上のデ
ータとを比較する比較手段とを設けた構成としたので、
人間系のミスにより複数のモジュールでモジュールID
が重複して設定されていても、その重複設定が比較手段
の比較結果により簡単に検出できる。
As described in detail above, according to the present invention,
When each module connected to the CPU via the bus is selected by the module ID designation for the module ID duplication check from the CPU, a unique ID (unique ID determined by the mounting position of the module) Since the output means for outputting (ID) to the bus and the comparison means for comparing the data output to the bus by the output means with the data on the bus are provided,
Module ID in multiple modules due to human error
Even if the two are set redundantly, the overlapping setting can be easily detected by the comparison result of the comparison means.

【0037】また、従来は、モジュールIDの重複に起
因する複数モジュールの同時通信によりデータ破壊等の
不具合が発生しても、その原因がモジュールID重複と
気付かずに、別の箇所の調査を行うといった無駄な時間
を費やしていたが、この発明によれば、モジュールID
の重複が確実に検査できるため、そのような無駄をなく
すことができる。
Further, conventionally, even if a problem such as data destruction occurs due to simultaneous communication of a plurality of modules due to duplication of module IDs, the cause is not noticed as duplication of module IDs, and another place is investigated. However, according to the present invention, the module ID
It is possible to eliminate such waste because it is possible to reliably inspect the duplication.

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

【図1】この発明のモジュール識別子(ID)重複検査
方式を適用する計算機システムの一実施例を示すブロッ
ク構成図。
FIG. 1 is a block configuration diagram showing an embodiment of a computer system to which a module identifier (ID) duplication check method of the present invention is applied.

【図2】同実施例におけるモジュールID重複検査時の
動作を説明するためのタイミングチャート。
FIG. 2 is a timing chart for explaining an operation at the time of a module ID duplication check in the embodiment.

【図3】図2のタイミングチャートのP2 点における、
モジュール30-2の比較回路36-2の信号入出力状態を
示す図。
3 is a timing chart of FIG. 2 at a point P2,
The figure which shows the signal input / output state of the comparison circuit 36-2 of the module 30-2.

【図4】CPUがバスを介して各種のモジュールと通信
を行う計算機システムの基本のシステム構成を示す図。
FIG. 4 is a diagram showing a basic system configuration of a computer system in which a CPU communicates with various modules via a bus.

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

10…CPU、20…シリアルバス、21…入力ライ
ン、22…出力ライン、23…コントロールライン、3
0-1〜30-n…モジュール、31-1,31-2…IDスイ
ッチ、32-1,32-2…シフトレジスタ、36-1,36
-2…比較回路。
10 ... CPU, 20 ... Serial bus, 21 ... Input line, 22 ... Output line, 23 ... Control line, 3
0-1 to 30-n ... Module, 31-1, 31-2 ... ID switch, 32-1, 32-2 ... Shift register, 36-1, 36
-2 ... Comparison circuit.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】CPUがモジュール識別子を指定すること
により、前記CPUと通信可能な複数のモジュールのう
ち、その指定識別子に一致するモジュール識別子が設定
されたモジュールと通信を行う計算機システムにおい
て、 前記CPUと前記複数のモジュールとを接続するための
バスと、 前記各モジュールにそれぞれ設けられ、モジュール識別
子重複検査のための前記CPUからのモジュール識別子
指定により選択された場合に、そのモジュールの実装位
置により決定される固有の識別子を前記バスに出力する
出力手段と、 前記各モジュールにそれぞれ設けられ、そのモジュール
内の前記出力手段により前記バスに出力されたデータと
前記バス上のデータとを比較する比較手段と、 を具備し、前記比較手段の比較結果によりモジュール識
別子の重複を検出するようにしたことを特徴とするモジ
ュール識別子重複検査方式。
1. A computer system that communicates with a module having a module identifier that matches the designated identifier among a plurality of modules that can communicate with the CPU when the CPU designates the module identifier. And a bus for connecting the plurality of modules to each other, provided in each of the modules, and determined by the mounting position of the module when selected by the module identifier designation from the CPU for the module identifier duplication check Output means for outputting a unique identifier to the bus, and comparison means provided in each of the modules for comparing the data output to the bus by the output means in the module with the data on the bus. According to the comparison result of the comparison means, A module identifier duplication check method characterized by detecting duplication of a child.
JP4127466A 1992-05-20 1992-05-20 System for inspecting module identifier repetition Pending JPH05324365A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4127466A JPH05324365A (en) 1992-05-20 1992-05-20 System for inspecting module identifier repetition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4127466A JPH05324365A (en) 1992-05-20 1992-05-20 System for inspecting module identifier repetition

Publications (1)

Publication Number Publication Date
JPH05324365A true JPH05324365A (en) 1993-12-07

Family

ID=14960632

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4127466A Pending JPH05324365A (en) 1992-05-20 1992-05-20 System for inspecting module identifier repetition

Country Status (1)

Country Link
JP (1) JPH05324365A (en)

Similar Documents

Publication Publication Date Title
EP0287302B1 (en) Cross-coupled checking circuit
JPH07146826A (en) Crossing-cable detecting system between sections
US5604754A (en) Validating the synchronization of lock step operated circuits
KR20030020951A (en) A digital system and a method for error detection thereof
EP3564691B1 (en) Test device, test method, and test program
JPH05324365A (en) System for inspecting module identifier repetition
JP3529994B2 (en) Verification circuit
JP3217993B2 (en) Parity check circuit
JPS62293441A (en) Data outputting system
JPH07240264A (en) Abnormal cable connection detecting circuit and its method
US6185714B1 (en) Address trap comparator capable of carrying out high speed fault detecting test
JP3627545B2 (en) CPU abnormality detection method
JPH03110627A (en) Data collating circuit
JPH01291548A (en) Series controller
JP2759607B2 (en) Synchronous signal detection device
JP2636669B2 (en) Connection information detection circuit and connection information detection method
JPH11338594A (en) Defective contact detecting circuit
JPS58161003A (en) Transmission system of input and output data of programmable controller
JPH06132961A (en) Communication controller
JPS6051136B2 (en) Data error detection method
JPH0324635A (en) Error detecting system for data comparator
JP2876594B1 (en) Failure detection system in interconnection
JP2001051912A (en) Serial data transfer system and abnormality detecting method
JP2001251303A (en) Lan system, and its data processing management method
JPH10124338A (en) Parallel processor