[go: up one dir, main page]

JPS60193053A - Command checking system - Google Patents

Command checking system

Info

Publication number
JPS60193053A
JPS60193053A JP59048729A JP4872984A JPS60193053A JP S60193053 A JPS60193053 A JP S60193053A JP 59048729 A JP59048729 A JP 59048729A JP 4872984 A JP4872984 A JP 4872984A JP S60193053 A JPS60193053 A JP S60193053A
Authority
JP
Japan
Prior art keywords
circuit
command
processor
data
output
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
JP59048729A
Other languages
Japanese (ja)
Inventor
Katsuaki Yoshimori
吉森 克昭
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 Corp
Original Assignee
NEC Corp
Nippon Electric Co 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 Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP59048729A priority Critical patent/JPS60193053A/en
Publication of JPS60193053A publication Critical patent/JPS60193053A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/1629Error detection by comparing the output of redundant processing systems
    • G06F11/1633Error detection by comparing the output of redundant processing systems using mutual exchange of the output between the redundant processing components

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multi Processors (AREA)

Abstract

PURPOSE:To improve the detection factor of a command error between processors by providing a decoder for commands on a command bus and a comparator which compares the output of the decoder with the data on a direction indicating line to each processor. CONSTITUTION:A processor A is provided with a decoder DEC1, a circuit NOR, a driver DRV1, a control part CON1, a circuit EOR1, an inverter INV1 and a circuit AND1. While a processor B has the same constitution as the processor A excluding the circuits OR. The circuit EOR1 performs an exclusive OR operation between the output of the circuit NOR and the data on a direction indicating line DB. A circuit EOR2 performs an exclusive OR operation between the output of a circuit OR and the data on the line DB. Then signals are outputted from both circuits AND1 and AND2.

Description

【発明の詳細な説明】 〔技術分野〕 本発明はコマンドチェック方式、特に、同相のり四ツク
で動作するプロセッサの間で通信するコマンドのチェッ
ク方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field] The present invention relates to a command checking method, and more particularly to a method for checking commands communicated between processors operating in the same phase.

〔従来技術〕[Prior art]

従来のこの種のコマンドチェックは、プロセッサの間を
接紗するバス上のデータにパリティビットを付加し、受
@側のプロセッサでパリティチェックを行なうことにの
み粒っている。
Conventional command checking of this type consists only in adding a parity bit to data on a bus that connects processors, and performing a parity check in the receiving processor.

このような従来方式では、コマンドそのものを間違えた
まま送出するとその間違いは抄出できずまた受信側のプ
ロセッサでコマンドを#読するデコーダの誤動作までは
チェックできないという欠点がある。
Such a conventional system has the disadvantage that if a command itself is sent with a mistake, the mistake cannot be extracted, and it is also impossible to check for malfunctions of the decoder that reads the command in the processor on the receiving side.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、僅少なハードウェアの追加によりて、
上1.欠点を無くシ、プロセッサ間で通信されるコマン
ドの誤り検出率を向上させることができるコマンドチェ
ック方式を提供することにある。
The purpose of the present invention is to achieve the following by adding a small amount of hardware.
Top 1. It is an object of the present invention to provide a command check method capable of eliminating drawbacks and improving the error detection rate of commands communicated between processors.

〔発明の構成〕 ・ 本発明の方式は、同相のクロックで動作するプロセッサ
の間で通信する各コマンドについて前記通信の方向を予
め定めておき、 前記プ四七ツサ間を、少なくとも前記コマンドを搬送す
るためのコマンドバスと、該コマンドバス上のコマンド
の前記通信方向を指示するための方向指示線とで接続し
、 前記プロセッサごとに、前記コマンドバス上のコマンド
を解読するデコーダと、該デコーダの出力のうちで前F
定めに合致する出力と前記方向指示線上のデータとを比
較する比較回路 とを設けたととを特命とする。
[Structure of the Invention] - The system of the present invention determines in advance the direction of communication for each command communicated between processors operating with the same phase clock, and transmits at least the command between the processors. a decoder for decoding the commands on the command bus, and a decoder for decoding the commands on the command bus; Front F of output
It is specially mandated that a comparator circuit be provided to compare the output that meets the specifications with the data on the direction indicating line.

〔実施例〕〔Example〕

次に本発明の実施例について図面を参照して詳細に欽明
する。
Next, embodiments of the present invention will be explained in detail with reference to the drawings.

第1図は本発明の一実施例を示すブロック図である。第
1図を参照すると、本実施9!1は、同相のクロックで
動作する2つのプロセッサAおよびBと、プロセッサA
とBとを接続するコマンドバスCBおよび方向指示11
1DBとから構成されている。
FIG. 1 is a block diagram showing one embodiment of the present invention. Referring to FIG. 1, in this embodiment 9!1, two processors A and B, which operate with the same phase clock, and processor A
Command bus CB and direction instruction 11 connecting
It consists of 1DB.

コマンドバスCBは4ビツトの信号線からなり、各ビッ
トのもつ意見は第2図に示すとおりである。
The command bus CB consists of 4-bit signal lines, and the opinion of each bit is as shown in FIG.

すなわち、最上位(MSD)のビットであるビット0は
、下位のビット1からビット3 (LSL))までが狭
義のデータを示す(ビット0が論理″1″のとき)かを
定める。そしてビット0からビット3までがOH−2H
を示すときはコマンドはプロセッサAからプロセッサB
に、また、5H〜7Hを示すときはコマンドはプロセッ
サBからプロセッサAに向うものと定めておく、なお−
ビット0からビット3までが3H〜4Hを示すときのコ
マンドは未使用である、。
That is, bit 0, which is the most significant bit (MSD), determines whether the lower bits 1 to 3 (LSL) indicate data in a narrow sense (when bit 0 is logic "1"). And bit 0 to bit 3 are OH-2H
, the command is sent from processor A to processor B.
In addition, when 5H to 7H are indicated, it is assumed that the command is directed from processor B to processor A.
A command when bit 0 to bit 3 indicate 3H to 4H is unused.

方向指示!1)!DBは1ビツトの信号線であり、上記
各コマンドの通信方向に対応し九二飴情報を有する。す
なわち、コマンドバスCB上のデータ(広義の)かOH
’%J21(のとき5H〜7Hのときに対応して、方向
指示gDB上のビットは論理11#と@IO#になる。
Directions! 1)! DB is a 1-bit signal line, which corresponds to the communication direction of each of the above commands and has 92 candy information. In other words, the data (in a broad sense) on the command bus CB or OH
'%J21 (corresponding to 5H to 7H, the bits on the direction indication gDB become logic 11# and @IO#.

プロセッサAは、デコーダDECIと、否定し理和回路
NORと、ドライバDB、Vlと、制御部C0N1と、
排他的論理和回路EO几1と、インバータINVIと、
論理積回路ANDlとから構成される。また、プロセッ
サBは、論理和回路ORを除きプロセッサAと同構成で
あり、デコーダDEC2と、1理和回路ORと、ドライ
バDRV2と、制御部CON2と、排他的論理和回路E
OR2と、インバータINV2と、論理積回路AND2
とから々る。
Processor A includes a decoder DECI, a negation and sum circuit NOR, drivers DB and Vl, and a control unit C0N1.
Exclusive OR circuit EO1, inverter INVI,
It is composed of an AND circuit ANDl. Processor B has the same configuration as processor A except for the OR circuit OR, and includes a decoder DEC2, a logical sum circuit OR, a driver DRV2, a control unit CON2, and an exclusive OR circuit E.
OR2, inverter INV2, and AND circuit AND2
Tokarararu.

制御4I郁C0N1とCON2は、それぞれプロセッサ
Bの中核)9分であり、プロセッサ全体の制御を行なう
。ドライバDRVIとDRV2は、それぞれ制御部C0
NIとCON2から、データを受けとり、コマンドバス
CBと方向指示線DBへ送出する。
Control 4I (C0N1 and CON2) are the core of processor B, respectively, and control the entire processor. Drivers DRVI and DRV2 each have a control unit C0.
It receives data from NI and CON2 and sends it to the command bus CB and direction indication line DB.

デコーダDkJC1とDEC2それぞれは、コマンドバ
スCB上のデータを解読する。デコーダDEelとDE
C2それぞれの6つの出力は、右端から、コマンドバス
CB上のデータがOH*IH12H45Ht6Hおよび
7Hのときに論理”1”となる。したかって、プロセッ
サAにおける否定論理和回路NOR祉、デコーダDEC
1がプロセッサBからプロセッサ人へのコマンドを解読
出力しないときに1理−1′を出力すし、またプロセッ
サBにおける論理和回路0几は、デコーダDEC2がプ
ロセッサAからプロセッサBへのコマンドを解読出力し
ないときにp・理″0”を出力することになる。
Each of decoders DkJC1 and DEC2 decodes data on command bus CB. Decoders DEel and DE
Starting from the right end, each of the six outputs of C2 becomes logic "1" when the data on the command bus CB is OH*IH12H45Ht6H and 7H. Therefore, the NOR circuit NOR circuit in processor A and the decoder DEC
When 1 does not decode and output the command from processor B to the processor, it outputs 1 - 1', and the OR circuit 0 in processor B decodes and outputs the command from processor A to processor B. When it does not, p・ri "0" will be output.

排他的@理和回路EORIは、否定論理和回路NORの
出力と方向指示線OH−ヒのデータとの排他的論理和演
算を行ない、排他的論理和回路EOR2は、論理和回路
OHの出力と方向IH示線1)B上のデータとの排他的
論理和演算を行なう。
The exclusive OR circuit EORI performs an exclusive OR operation between the output of the NOR circuit NOR and the data of the direction indication line OH-HI, and the exclusive OR circuit EOR2 performs an exclusive OR operation with the output of the OR circuit OH. Direction IH indication line 1) Exclusive OR operation with data on B is performed.

この結果によって、方向指示#IDB上のデータかプロ
セラ+BからプロセッサAへのコマノド送出を指示して
いる(論理″0#)にもか\わらず、デコーダDECI
はそのようなコマンド(5H〜7)1)を解読出力して
いない(#i1理″’1’ )とき、またはデコーダD
EC1がプロセッサBからプロセッサAへ向うコマンド
群(5H〜7H)のいずれかを解読出力している(論理
″0”)にもか\わらず、方向指示i1!DB上のデー
タ1.1そのような方向を指示していない(論理″1″
)のときに、排他的論理和回路goh1は論理″1″′
を出力することが理解できよう。
As a result of this, even though the data on the direction instruction #IDB instructs the command to be sent from processor +B to processor A (logical ``0#''), the decoder DECI
is not decoding and outputting such commands (5H to 7) 1) (#i1 ``1''), or when the decoder D
Even though EC1 is decoding and outputting any of the commands (5H to 7H) directed from processor B to processor A (logic "0"), the direction instruction i1! Data on DB 1.1 Does not indicate such direction (Logic "1"
), exclusive OR circuit goh1 has logic "1"'
You can understand that it outputs .

同様に、方向指示線OB上のデータがプロセラ?Aから
Bへのコマンド送出を指示している(論理″′1”)に
もか\わらず、デコーダDEC2はそのようなコマンド
(OH−2H)を解読出力していない(論理10”)と
き、またはデコーダDEC2がプロセッサAからプセセ
ッサBへ向うコマンド群(θ□〜2H)のいずれかを解
読出力している(!l!理”1#)にもか\わらず、方
向指示@DB上のデータはそのような方向を指示してい
ない(論B”O”)のときに、排他的論理和回路BOR
2は論理″1#を出力する仁とが容易に理解できる。
Similarly, is the data on the direction indicator OB Procera? When the decoder DEC2 does not decode and output such a command (OH-2H) (logical 10") even though A is instructing to send a command to B (logical ``1''). , or even though the decoder DEC2 is decoding and outputting any of the commands (θ□ to 2H) directed from processor A to processor B (!l!ri"1#), the direction instruction @DB is When the data does not indicate such a direction (theory B"O"), the exclusive OR circuit BOR
It can be easily understood that 2 is a logic that outputs ``1#''.

インバータINV1とINV2それぞれは、コマンドバ
スCB上のビット0を反転しており、したがって、コマ
ンドバスCB上のデータがコマンドを表現しているとき
に、論理″′1#を論理積回路ANI)lとAND2に
出力することになる。
Each of the inverters INV1 and INV2 inverts bit 0 on the command bus CB, so that when the data on the command bus CB represents a command, the logic "'1#" is inverted by the AND circuit ANI)l will be output to AND2.

論理積回路AND1は排他的#B理相和回路OR1の出
力とインバータINVIの出方との1理各演算を行ない
、また論理積回路AND2は排他的論理和回路FOR2
の出力とインバータINV2の出力との論理積演算を行
なう。
The AND circuit AND1 performs arithmetic operations on the output of the exclusive #B logical sum circuit OR1 and the output of the inverter INVI, and the logical product circuit AND2 performs arithmetic operations on the output of the exclusive #B logical sum circuit OR1 and the output of the inverter INVI.
An AND operation is performed between the output of the inverter INV2 and the output of the inverter INV2.

結局、コマンドバスCB上のデータがコマンドを表現し
ているときに、前述のような、デコーダDECIまたは
DBC2の出方と、方向指示I%IDE上のデータとの
不具合が生じると、論理株回路AND1またはAND2
H1それぞれエラー信号ERIとER2を外部に出方す
る。
After all, when the data on the command bus CB represents a command, if a problem occurs between the output of the decoder DECI or DBC2 and the data on the direction indicator I%IDE as described above, the logic stock circuit AND1 or AND2
H1 outputs error signals ERI and ER2 to the outside.

第3図は本実施例の動作をさらに具体的に示すためのタ
イムチャートである。第3図を参照すると、1回目のコ
マンドサイクル(ビット0が論理”0#になるクロック
サイクル)においては、方向指示線DB上のデータ(D
B:IK合致したデコーダDEC2の出力(DEC2)
になっているため、排他的論理和回路hofL2の出力
(EOB、2)は酸相″0#であり、したがってエラー
信号E凡2は出力されていない。
FIG. 3 is a time chart showing the operation of this embodiment more specifically. Referring to FIG. 3, in the first command cycle (clock cycle in which bit 0 becomes logic "0#"), the data (D
B: Output of decoder DEC2 that matches IK (DEC2)
Therefore, the output (EOB, 2) of the exclusive OR circuit hofL2 is in the acid phase "0#", and therefore the error signal E2 is not output.

ところが、2回目のコマンドサイクルにおいては、ビッ
ト1からビット3″1での内容は方向指示線DB上のデ
ータ(DB )によりて指示されるコマンド群に栖する
コマンドを指示しているにもか\わらず、DEC2が誤
動作して、論理00#を出力しているため、排他的論理
和回路EOR2の出力(EOB2 )がh理″1#に々
りており論理積回路AND2はエラー信号ER2を出力
している。
However, in the second command cycle, the contents of bit 1 to bit 3''1 indicate the command to be assigned to the command group specified by the data (DB) on the direction indication line DB. However, the DEC2 malfunctions and outputs the logic 00#, so the output (EOB2) of the exclusive OR circuit EOR2 is full of logic 1#, and the AND circuit AND2 outputs the error signal ER2. is outputting.

第1回目のコマンドサイクルと第2回目の;iンドサイ
クルを除くクロックサイクルにおいては、ビットOが論
理”1”であるため、ビット1からビット3″&では狭
義のデータを表現している。仁のときには前述したよう
に、インバータINVIおよびINV2は鍮扉10”を
それぞれ論理和回路AND1とAND2に出力しており
、排他的論理和回路EOB1とEOB2の出力は無視さ
れる。
In clock cycles other than the first command cycle and the second ind cycle, bit O is logic "1", so bits 1 to 3''& represent data in a narrow sense. As described above, inverters INVI and INV2 output the brass door 10'' to the OR circuits AND1 and AND2, respectively, and the outputs of the exclusive OR circuits EOB1 and EOB2 are ignored.

以上に説明した実施例においては、コマンドパスCBは
コマンドと狭義データとを時分割的に搬送しているが、
別途に狭義のデータ専用の搬送路を設けて、コマンドバ
スCBは;マント専用としてもよい。
In the embodiment described above, the command path CB conveys commands and data in a narrow sense in a time-sharing manner.
A separate transport path exclusively for data in a narrow sense may be provided, and the command bus CB may be used exclusively for the cloak.

また、以上に説明した実祝例においては、これまでパリ
ティチェックについては触れなかったが、本発明のコマ
ンドチェック方式では、同一方向のコマンド粗に属する
コマンド間のする替え工2−は検出不可能であるため、
本発明のコマンドチェック方式とパリティチェック方式
とを併用することはコマンドエラーの検出率を向上させ
るうえで有効であることを付8[ニジておく。
In addition, in the actual example explained above, parity check has not been mentioned so far, but with the command check method of the present invention, it is impossible to detect alternations between commands belonging to the command group in the same direction. Therefore,
It is noted in Appendix 8 that the combined use of the command check method and parity check method of the present invention is effective in improving the detection rate of command errors.

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

本発明によれは、以上のような構成の採用によって、パ
リティチェックでは検出でき表かった。
According to the present invention, by employing the above-described configuration, the problem could be detected by the parity check.

コマンドそのものの送出誤りやデコータ゛の誤動作をも
チェックできるようになるため、プロセッサ間で通信さ
れるコマンドの誤り抄出率を向上させることが可能にな
る。
Since it becomes possible to check for sending errors in the command itself and malfunctions in the decoder, it becomes possible to improve the rate of error extraction of commands communicated between processors.

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

第1図は本発明の一実施例、第2図および第3図は該実
施例を駅間するための図をそれぞれ示す。 CB・・・・・・コマンドバス、DB・・・・・・方向
指示線、A 、 B−1−17” a * y t、D
BCI、DEC2,、、、、,7’コーダ、NOR・・
・・・・否定論理和回路、OR・・・・・・論理和回路
、EORI、EOR2・・・・・・排他的論理和回路、
INVl、INV2 、・・・・・インバータ、AND
I、AND2・・・・・・論理積回路、DB、Vl、D
RV2・・・・・・ドライバ、C0NI、CON2・・
・・・・制御部。 第3 図
FIG. 1 shows an embodiment of the present invention, and FIGS. 2 and 3 show diagrams for transferring the embodiment between stations. CB...Command bus, DB...Direction line, A, B-1-17" a*yt, D
BCI, DEC2, 7' coder, NOR...
...Negative OR circuit, OR...OR circuit, EORI, EOR2...Exclusive OR circuit,
INVl, INV2,... Inverter, AND
I, AND2......AND circuit, DB, Vl, D
RV2... Driver, C0NI, CON2...
...control section. Figure 3

Claims (1)

【特許請求の範囲】 同相のクロックで動作するプロセッサの間で通信スる各
コマンドについて前記通信の方向を予め定めておき、 前記プロセッサ間を、少なくとも前記コマンドを搬送す
るためのコマンドバスと、レコマンドノくス上のコマン
ドの前記通信方向を指示するための方向指示線とで接続
し、 前記プロセッサごとに、前記コマンドバス上のコマンド
を解読するデコーダと、該デコーダの出力のうちで前和
定めに合1ir−する出力と前n「方向指示線上のデー
タとを比較する比較回路 とを設けたことを特徴とするコマンドチェック方式。
[Scope of Claims] The direction of the communication is determined in advance for each command communicated between processors operating with the same phase clock, and a command bus for transmitting at least the command and a command bus are provided between the processors. a decoder for decoding the commands on the command bus, and a decoder for decoding the commands on the command bus for each processor; A command check system characterized in that a comparison circuit is provided for comparing an output that is combined with data on a direction indicating line.
JP59048729A 1984-03-14 1984-03-14 Command checking system Pending JPS60193053A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59048729A JPS60193053A (en) 1984-03-14 1984-03-14 Command checking system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59048729A JPS60193053A (en) 1984-03-14 1984-03-14 Command checking system

Publications (1)

Publication Number Publication Date
JPS60193053A true JPS60193053A (en) 1985-10-01

Family

ID=12811376

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59048729A Pending JPS60193053A (en) 1984-03-14 1984-03-14 Command checking system

Country Status (1)

Country Link
JP (1) JPS60193053A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH058670A (en) * 1990-10-15 1993-01-19 Mercedes Benz Ag Automotive seat device held to a floor structure by screws

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH058670A (en) * 1990-10-15 1993-01-19 Mercedes Benz Ag Automotive seat device held to a floor structure by screws

Similar Documents

Publication Publication Date Title
JPH0273736A (en) Information processing system
US4049957A (en) Dual computer system
AU580730B2 (en) Self-checking computer circuitry
US4733348A (en) Virtual-memory multiprocessor system for parallel purge operation
JPS60193053A (en) Command checking system
US8539309B2 (en) System and method for responding to error detection
JP3252229B2 (en) Digital data transmission system
KR100531321B1 (en) Audio decoding system and audio format detecting method
TWI839671B (en) Debug system, microprocessing device and debug method
CN113885306B (en) Signal output circuit supporting interchangeability under security architecture
JPH07225739A (en) Bus interface device of pushup memory
JP2000181736A (en) Fail safe collation device
US6184807B1 (en) Glitch-free bi-phased encoder
US20030126552A1 (en) Dynamic parity inversion for I/O interconnects
KR0155911B1 (en) System bus controller
JPH0135375B2 (en)
JPS60562A (en) System change-over controlling device
JPS626779Y2 (en)
JPH0716276B2 (en) Emergency stop method
JPS5717062A (en) Parity checking system
JPS61275902A (en) Process control system
JPH01131932A (en) Data transfer device
JPS58132835A (en) Decoder device
JPS5873255A (en) Line controlling processor
JPH04304097A (en) Data transmission method and device