[go: up one dir, main page]

JPH05158820A - Bus controlling system - Google Patents

Bus controlling system

Info

Publication number
JPH05158820A
JPH05158820A JP3319534A JP31953491A JPH05158820A JP H05158820 A JPH05158820 A JP H05158820A JP 3319534 A JP3319534 A JP 3319534A JP 31953491 A JP31953491 A JP 31953491A JP H05158820 A JPH05158820 A JP H05158820A
Authority
JP
Japan
Prior art keywords
output
bus
bidirectional
way
circuit
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.)
Withdrawn
Application number
JP3319534A
Other languages
Japanese (ja)
Inventor
Hidenori Yamagiwa
秀紀 山際
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.)
NEC Engineering Ltd
Original Assignee
NEC Engineering Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP3319534A priority Critical patent/JPH05158820A/en
Publication of JPH05158820A publication Critical patent/JPH05158820A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)
  • Information Transfer Systems (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To surely detect the fault of a two-way control circuit, and to prevent the two-way buses of two or more processors from turning to an output side at a time by detecting that the switching signal of the two-way bus becomes faulty in a sub-processor, and turning the two-way bus of that processor to an input side by that output. CONSTITUTION:The output of an IO control register (CRG) 20 is inputted to a timing register (TMR) 23, and next, the output of the TMR 23 is inputted to the TMR 24, and when both these outputs are '1', it is detected as the fault by a NAMD circuit 25. By inputting a signal detected by the NAMD circuit 25 to an AND circuit 26, the enable of a two-way buffer (BUF) 21 is suppressed, and the BUF 21 is turned to the state of an IN side. Next, when the two-way switching signal becomes faulty, the fault is detected by the TMRs 23 and 24 when the two-way switching signals of channel controllers (CHU) 2 to 5 become '1' extending over two or more clocks, and the two-way switching signals are turned to '0' 3-clocks after that. Thus, heat generation in an IC can be suppressed.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はバス制御方式に関し、特
に双方向バス制御信号が故障したときのバスの双方向制
御を行うバス制御方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bus control system, and more particularly to a bus control system for bidirectionally controlling a bus when a bidirectional bus control signal fails.

【0002】[0002]

【従来の技術】一般に双方向バスは複数の処理装置間の
データ転送に使われ、処理装置間のデータの送/受信を
1つのインターフェースで行うために有効な手段であ
る。
2. Description of the Related Art Generally, a bidirectional bus is used for data transfer between a plurality of processing devices, and is an effective means for transmitting / receiving data between the processing devices with one interface.

【0003】図4は従来の双方向バス制御方式の一例を
示すブロックである。図4において本例の情報処理シス
テムは1つの入出力処理装置(以下IOP)10と4つ
のチャネル処理装置(以下CHU)22,〜25からな
り各CHU22,〜25のデータは双方向バスを介して
転送されていた。処理装置の双方向制御はIOP10が
行い、IOP10は3ビットの+1カウンタ回路(以下
CNT)102と、CNT102の出力を入力とするデ
コード回路(以下DEC)103からなる。IOP10
の双方向制御はCNT102の最下位ビットを双方向バ
ッファ(以下BUF)101のイネーブルに入力する。
各CHU22,〜25はDEC103の出力を送出レジ
スタ(以下RG)104,〜107を介してIO制御レ
ジスタ(以下CRG)202に入力し、その出力でBU
F201を制御している。
FIG. 4 is a block diagram showing an example of a conventional bidirectional bus control system. In FIG. 4, the information processing system of this example comprises one input / output processing unit (hereinafter, IOP) 10 and four channel processing units (hereinafter, CHU) 22 to 25, and data of each CHU 22 to 25 is transmitted via a bidirectional bus. Had been transferred. The bidirectional control of the processing device is performed by the IOP 10, which comprises a 3-bit +1 counter circuit (CNT) 102 and a decode circuit (DEC) 103 which receives the output of the CNT 102 as an input. IOP10
In the bidirectional control, the least significant bit of the CNT 102 is input to the enable of the bidirectional buffer (hereinafter, BUF) 101.
Each of the CHUs 22 to 25 inputs the output of the DEC 103 into the IO control register (hereinafter CRG) 202 via the transmission register (hereinafter RG) 104 to 107 and BU outputs the output.
It controls F201.

【0004】図5は図4における動作を説明するための
タイムチャートである。IOP10の入出力イネーブル
101aが“1”のときBUF101を入力(以下I
N)側にし、“0”のとき出力(以下OUT)側にす
る。CHU22,〜25はCRG202が“1”のとき
BUF201をOUT側にし、“0”のときIN側にす
る。ICP10は1クロック毎に送受信を繰り返し各C
HU22,〜25は8クロックに1回データを送信す
る。双方向制御回路及び双方向制御信号が故障したとき
は処理装置間のデータの競合によるパリティエラーが発
生することによって故障を検出していた。しかし、その
エラーが双方向制御回路及び双方向制御信号の故障とは
特定できないため、検出した時点では何もせずに故障デ
ータを収集し、その後エラーを検出した処理装置をリセ
ットしていた。
FIG. 5 is a time chart for explaining the operation in FIG. When the input / output enable 101a of the IOP 10 is "1", the BUF 101 is input (hereinafter referred to as I
N) side, and when it is "0", it is set to the output (hereinafter OUT) side. The CHUs 22 to 25 set the BUF 201 to the OUT side when the CRG 202 is "1" and set the IN side when the CRG 202 is "0". The ICP 10 repeats transmission / reception every clock and each C
The HUs 22 to 25 transmit data once every eight clocks. When the bidirectional control circuit and the bidirectional control signal fail, a parity error occurs due to data competition between the processing devices, thereby detecting the failure. However, since the error cannot be identified as a failure of the bidirectional control circuit and the bidirectional control signal, the failure data was collected without doing anything at the time of detection, and then the processing device that detected the error was reset.

【0005】[0005]

【発明が解決しようとする課題】この従来のバス制御方
式においては必ずしもパリティエラーが発生するとは限
らず、発生したとしても双方向制御のエラーとすぐには
特定できないため、パリティエラーを検出して故障情報
を収集するまでの間、図5に示すように双方向切換信号
(GR202出力)が“1”になりっ放しになったと
き、1つの処理装置のバスが入力側になっていて他の単
数または複数の処理装置が出力側になったままの状態に
なってしまう。このため、入力側になっている処理装置
のデータバスに対して負荷が掛かりその処理装置が発熱
してしまう。その結果、その処理装置を熱によって破壊
してしまうことがあるという問題点がある。
In this conventional bus control method, a parity error does not always occur, and even if it occurs, it cannot be immediately identified as a bidirectional control error. Until the failure information is collected, when the bidirectional switching signal (GR202 output) is left at "1" as shown in FIG. 5, the bus of one processing unit becomes the input side and the other One or more of the processing devices in the above are left on the output side. Therefore, a load is applied to the data bus of the processing device on the input side, and the processing device generates heat. As a result, there is a problem that the processing device may be destroyed by heat.

【0006】[0006]

【課題を解決するための手段】本発明のバス制御方式
は、1つのメイン処理装置と少なくとも1つのサブ処理
装置との間を双方向バスでデータの転送を行い前記メイ
ン処理装置から前記各サブ処理装置に対して送信/受信
の指示を一定間隔で交互に行う情報処理システムのバス
制御方式において、双方向制御回路の故障により前記処
理装置内の双方向バスが出力側を向いたままになってい
ることを検出する検出手段と、前記故障を検出したとき
その処理装置の前記双方向バスを入力側に向けるバス切
換手段とを備えている。
According to the bus control method of the present invention, data is transferred between one main processing unit and at least one sub processing unit by a bidirectional bus, and the main processing unit and each of the sub processing units are connected. In a bus control method of an information processing system in which transmission / reception instructions are alternately given to a processing device at regular intervals, a bidirectional control circuit failure causes the bidirectional bus in the processing device to remain facing the output side. And a bus switching means for directing the bidirectional bus of the processing device to the input side when the failure is detected.

【0007】[0007]

【実施例】次に、本発明について図面を参照して説明す
る。図1は本発明のバス制御方式の一実施例を示すブロ
ック図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of the bus control system of the present invention.

【0008】図1において、本実施例は1つの入出力処
理装置(以下IOP)1と4つのチャネル処理装置(以
下CHU)2,〜5とからなる。
In FIG. 1, this embodiment comprises one input / output processing unit (hereinafter IOP) 1 and four channel processing units (hereinafter CHU) 2 to 5.

【0009】IOP1はBUF11と、3ビットのレジ
スタで構成されたCNT12と、CNT12の出力をデ
コードするDEC13と、各CHU2,〜5に双方向切
換指示信号a,〜dを送出する双方向切換指示レジスタ
(以下SWR)14,〜17と、IOP1とCHU2,
〜5間の双方向データバスeとからなる。また各CHU
(例えばCHU2)はSWR14からの双方向切換指示
信号aを受け付けるCRG20と、CRG20の出力を
入力とするタイミングレジスタ(以下TMR)23と、
TMR23の出力を入力とするTMR24と、TMR2
3とTMR24の出力が共に“1”のとき“0”を出力
するNAND回路25と、NAND回路25による検出
信号201aとCRG22の出力が共に“1”のとき
“1”を出力するAND回路26とからなる。
The IOP 1 is a BUF 11, a CNT 12 formed of a 3-bit register, a DEC 13 for decoding the output of the CNT 12, and a bidirectional switching instruction signal for sending bidirectional switching instruction signals a, ~ d to each CHU 2, ~ 5. Registers (hereinafter SWR) 14, 17 and IOP1 and CHU2
5 to 5, a bidirectional data bus e. Also each CHU
The CRG 20 (for example, CHU 2) receives the bidirectional switching instruction signal a from the SWR 14, and a timing register (hereinafter TMR) 23 that receives the output of the CRG 20 as an input.
TMR24 that receives the output of TMR23 and TMR2
3 and the TMR 24 both output "1" when the NAND circuit 25 outputs "0" and the NAND circuit 25 outputs both the detection signal 201a and CRG22 "1" outputs "1". Consists of.

【0010】次に、本実施例の動作について説明する。
図2は本実施例の正常動作時におけるタイムチャート,
図3は本実施例における双方向切換指示信号の故障時の
タイムチャートである。
Next, the operation of this embodiment will be described.
FIG. 2 is a time chart during normal operation of this embodiment,
FIG. 3 is a time chart when the bidirectional switching instruction signal fails in this embodiment.

【0011】正常動作時には図2に示すようにCNT1
2は常に+1ずつカウントアップし、その出力信号でバ
スの制御を行う。CNT12の最下位ビットの出力信号
101aがBUF11を切り換えるイネーブルとDEC
13のイネーブルに入力されている。BUF11のイネ
ーブルは“0”のときOUT側、“1”のときIN側を
向いている。DEC13のイネーブルは“0”のときす
べての出力を“0”にし、“1”のときCNT12の上
位2ビットを入力としてデコードする。DEC13の出
力はSWR14,〜17に取り込まれる。その出力の双
方向切換指示信号a,〜dはCHU2,〜5内のCRG
22に取り込まれ、その出力はAND回路26を通して
BUF21のイネーブルに入力される。BUF21はC
RG22が“1”のときOUT側、“0”のときIN側
に向いている。CRG22の出力は同時にTMR23に
入力され、次にTMR23の出力がTMR24に入力さ
れ、ともに“1”のときNAND回路25で故障として
検出する。NAND回路25で検出した信号をAND回
路26に入力してBUF21のイネーブルを抑止し、B
UF21をIN側の状態にする。次に図3に示すように
双方向切換信号が故障したときはCHU2,〜5の双方
向切換指示信号が2クロック以上“1”になったときT
MR23,24によって故障を検出して3クロック後に
双方向切換信号を“0”にする。
During normal operation, as shown in FIG.
2 always counts up by +1 and the output signal controls the bus. The output signal 101a of the least significant bit of the CNT12 enables the DEC and the enable for switching the BUF11.
13 enable is input. The enable of the BUF11 faces the OUT side when it is "0", and faces the IN side when it is "1". When the DEC 13 is enabled, all outputs are set to "0" when it is "0", and when it is "1", the upper 2 bits of the CNT 12 are input and decoded. The output of the DEC 13 is taken into the SWRs 14 to 17. The output bidirectional switching instruction signals a, ~ d are CRGs in CHU2, ~ 5.
It is taken in by 22 and its output is inputted to the enable of the BUF 21 through the AND circuit 26. BUF21 is C
When the RG 22 is "1", it faces the OUT side, and when it is "0", it faces the IN side. The output of the CRG 22 is input to the TMR 23 at the same time, the output of the TMR 23 is input to the TMR 24 next, and when both are "1", the NAND circuit 25 detects the failure. The signal detected by the NAND circuit 25 is input to the AND circuit 26 to inhibit the enable of the BUF21,
Set the UF21 to the IN side. Next, as shown in FIG. 3, when the bidirectional switching signal fails, when the bidirectional switching instruction signal of CHU2 to 5 becomes "1" for 2 clocks or more, T
The failure is detected by the MRs 23 and 24, and the bidirectional switching signal is set to "0" three clocks later.

【0012】[0012]

【発明の効果】以上説明したように本発明のバス制御方
式によれば、サブ処理装置内で双方向バスの切換信号が
故障したことを検出し、その出力でその処理装置の双方
向バスを入力側にすることで、確実に双方向制御回路の
故障を検出でき、2つ以上の処理装置の双方向バスが同
時に出力側になることを防ぐことができるので、ICの
発熱を抑え、処理装置の破壊を抑えるという効果を有す
る。
As described above, according to the bus control method of the present invention, it is detected that the switching signal of the bidirectional bus has failed in the sub processing unit, and the output thereof is used to output the bidirectional bus of the processing unit. By setting the input side, the failure of the bidirectional control circuit can be reliably detected, and the bidirectional buses of two or more processing devices can be prevented from becoming the output side at the same time. It has the effect of suppressing the destruction of the device.

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

【図1】本発明のバス制御方式の一実施例を示すブロッ
ク図である。
FIG. 1 is a block diagram showing an embodiment of a bus control system of the present invention.

【図2】本実施例の正常動作時におけるタイムチャート
である。
FIG. 2 is a time chart during normal operation of this embodiment.

【図3】本実施例における双方向切換指示信号の故障時
のタイムチャートである。
FIG. 3 is a time chart when a bidirectional switching instruction signal fails in this embodiment.

【図4】従来の双方向バス制御方式の一例を示すブロッ
ク図である。
FIG. 4 is a block diagram showing an example of a conventional bidirectional bus control system.

【図5】図4における動作を説明するためのタイムチャ
ートである。
5 is a time chart for explaining the operation in FIG.

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

1,10 入出力制御装置(IOP) 2,〜5,22,〜25 チャネル制御装置(CH
U) 11,21,101,201 双方向バッファ(BU
F) 12,102 +1カウンタ回路(CNT) 13,103 デコード回路(DEC) 14,〜17 双方向切換指示レジスタ 20,202 IO制御レジスタ(CRG) 23,24 タイミングレジスタ(TMR) 25 NAND回路 26 AND回路
1, 10 Input / output control device (IOP) 2, ~ 5, 22, ~ 25 Channel control device (CH
U) 11, 21, 101, 201 Bidirectional buffer (BU
F) 12,102 +1 counter circuit (CNT) 13,103 decoding circuit (DEC) 14, to 17 bidirectional switching instruction register 20, 202 IO control register (CRG) 23, 24 timing register (TMR) 25 NAND circuit 26 AND circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 1つのメイン処理装置と少なくとも1つ
のサブ処理装置との間を双方向バスでデータの転送を行
い前記メイン処理装置から前記各サブ処理装置に対して
送信/受信の指示を一定間隔で交互に行う情報処理シス
テムのバス制御方式において、双方向制御回路の故障に
より前記処理装置内の双方向バスが出力側を向いたまま
になっていることを検出する検出手段と、前記故障を検
出したときその処理装置の前記双方向バスを入力側に向
けるバス切換手段とを備えることを特徴とするバス制御
方式。
1. A bidirectional bus is used to transfer data between one main processing device and at least one sub processing device, and a transmission / reception instruction is fixed from the main processing device to each sub processing device. In a bus control method for an information processing system that alternates at intervals, a detection means for detecting that the bidirectional bus in the processing device remains facing the output side due to a failure of the bidirectional control circuit; And a bus switching means for directing the bidirectional bus of the processing device to the input side when the bus control method is detected.
JP3319534A 1991-12-04 1991-12-04 Bus controlling system Withdrawn JPH05158820A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3319534A JPH05158820A (en) 1991-12-04 1991-12-04 Bus controlling system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3319534A JPH05158820A (en) 1991-12-04 1991-12-04 Bus controlling system

Publications (1)

Publication Number Publication Date
JPH05158820A true JPH05158820A (en) 1993-06-25

Family

ID=18111320

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3319534A Withdrawn JPH05158820A (en) 1991-12-04 1991-12-04 Bus controlling system

Country Status (1)

Country Link
JP (1) JPH05158820A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0765180A (en) * 1993-08-11 1995-03-10 Internatl Business Mach Corp <Ibm> Data transfer controller

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0765180A (en) * 1993-08-11 1995-03-10 Internatl Business Mach Corp <Ibm> Data transfer controller

Similar Documents

Publication Publication Date Title
US5915082A (en) Error detection and fault isolation for lockstep processor systems
JPH0746322B2 (en) Faulty device identification system
CA2464779A1 (en) Data processing apparatus and data processing method
JP2968251B2 (en) How to detect a bus driver when an error occurs on a clock synchronous bus
JPH05158820A (en) Bus controlling system
JPS6235144B2 (en)
JP2606160B2 (en) Failure detection method for parity check circuit
JP2864611B2 (en) Semiconductor memory
JP2892821B2 (en) Data transfer device
JPH0831049B2 (en) Locked processor method
JP2600021B2 (en) Time slot indication check processing method
JP2725680B2 (en) Bus error detection circuit
JP2578186B2 (en) Diagnosis method of failure detection circuit
RU2144694C1 (en) Device for self-testing multiplexer
JP2549444B2 (en) Data transfer device
JPH113295A (en) Data transmitter-receiver
JPH11242638A (en) Data processing system
JPH02264337A (en) Data transfer control system
JPH0439103B2 (en)
JPS63174149A (en) Information processing system
JPS63124156A (en) Memory error detection method
JPH05292068A (en) Signal switching system
JPH06161911A (en) Data transfer system
JPH05289896A (en) Fault tolerant computer
JPH04302333A (en) Data processor

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990311