JPS6074051A - Data comparison processing system - Google Patents

Data comparison processing system

Info

Publication number
JPS6074051A
JPS6074051A JP58182245A JP18224583A JPS6074051A JP S6074051 A JPS6074051 A JP S6074051A JP 58182245 A JP58182245 A JP 58182245A JP 18224583 A JP18224583 A JP 18224583A JP S6074051 A JPS6074051 A JP S6074051A
Authority
JP
Japan
Prior art keywords
address
data
processing
microprocessor
cpu1
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
JP58182245A
Other languages
Japanese (ja)
Other versions
JPH0457023B2 (en
Inventor
Yoshio Morita
森田 義雄
Hiroshi Miyake
博 三宅
Yutaka Kawato
川戸 豊
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP58182245A priority Critical patent/JPS6074051A/en
Publication of JPS6074051A publication Critical patent/JPS6074051A/en
Publication of JPH0457023B2 publication Critical patent/JPH0457023B2/ja
Granted 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/1608Error detection by comparing the output signals of redundant hardware

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)
  • Interface Circuits In Exchanges (AREA)

Abstract

PURPOSE:To shorten a processing time by pausing temporarily the processing of a CPU and performing collating operation for state change detection in hardware mode, and informing software of the result. CONSTITUTION:When plural memory contents in the 1st group starting at the address P of an RAM3 are compared with plural contents in the 2nd group starting at an address Q, the CPU1 presets said values P and Q in the 1st and the 2nd address generators 8 and 9 through a data bus 6. Then, a control circuit 7 sends a processing stop instruction to the CPU1 and also starts the address generators 8 and 9 and a data comparing circuit 10. Consequently, the comparing operation for the data is started through the hardware and if some dissidence is present, the control circuit 7 resets the stop state of the CPU1 and puts the following processing in charge of the CPU1.

Description

【発明の詳細な説明】 (5)発明の技術分野 本発明は、データ比較処理方式、特に例えば刻々の状態
変化に対応して記憶内容が変化する第1群のメモリ内容
と、少なくとも1サイクル前の状態が保持されている第
2群のメモリ内容とを照合し、状態変化を検出する如き
処理が行なわわるデータ処理システムにおいて、マイク
ロ拳プロセッサの処理を一時停止状態Kiいて、上記照
合動作をいわばハードウェア処理(てよって行ない、そ
の結果をソフトウェアに通知するよう構成し、マイクロ
プロセッサによるソフトウェアの動作’x 補Jiせし
めるようにしたデータ比較処理方式に関するものである
Detailed Description of the Invention (5) Technical Field of the Invention The present invention relates to a data comparison processing method, in particular, a first group of memory contents whose storage contents change in response to momentary state changes, In a data processing system that performs processing such as checking the contents of a second group of memories in which the state of the current state is maintained and detecting a change in state, the processing of the microfist processor is temporarily stopped (Ki), and the above verification operation is performed, so to speak. The present invention relates to a data comparison processing method that is configured to perform hardware processing and notify software of the results, thereby allowing a microprocessor to operate the software.

但)技術の背景と問題点 従来から例えば交換機内部の状態変化検出や、交摸桁・
間を結ぶデジタル回紳のライン信号におけろノイズそ収
l・行なうt6Cどのため匠、少jr くとも1サイク
ル前の状態と現時点の状態とを比較して状態変化を検出
することが行なわねている。このような状態変化極出欠
マイクロ・プロセッサの処理にゆだねろことが考慮され
た。しかし、比較照合する対象が犬になるにつセで、上
記マイクロ・プロセッサによる純ソフトウェア処理では
処理時間が犬となることが判明した。
However, technical background and problems have traditionally been used, for example, to detect state changes inside switching equipment,
Noise is collected in the line signal of the digital circuit connecting between ing. It was considered that such state change should be left to the processing of the microprocessor. However, since the object to be compared and verified is a dog, it has been found that the processing time required by pure software processing using the above-mentioned microprocessor is long.

(q 発明の目的と構成 本発明はこの点を解決することを目的としており、本発
明のデータ比較処理方式は、マイクロ・プロセッサと夫
々固有のアドレスをもつメモリおよび入出力制御ボート
とがアドレスΦバスとデータ・バスと+’(よって連繋
さねてなるデータ処理システムにおいて、上記アドレス
・バスに接続される互に独立の少な(とも2つのアドレ
スφジェネレータ、上記データ・バスに接続されて上記
2つのアドレス・ジェネレータからの出力によって読出
さねた夫々の読出しデータ相互間の不一致を検出するデ
ータ比較回路、上記マイクロ・プロセッサからの指示に
よって発動されて上記アドレス・ジェネレータによるア
クセスが行なわねる間上記マイクロ・プロセッサの処理
製停止せしめかつ少なくとも上記データ比較回路からの
不一致検出に対応して上記マイクロ・プロセッサの処理
の停止状態を解除するマイクn・プロセッサ停止制御回
路をもうけたことを特徴としている。以下図面を参照し
つつ説明する。
(q Object and Structure of the Invention The present invention aims to solve this problem, and the data comparison processing method of the present invention is such that a microprocessor, memory and input/output control board each having a unique address are connected to an address Φ In a data processing system consisting of a bus, a data bus, and a A data comparison circuit detects a mismatch between read data that could not be read by the outputs from the two address generators, and is activated by an instruction from the microprocessor to compare the data while the address generators are not accessing the data. The present invention is characterized in that it includes a microphone processor stop control circuit that stops the processing of the microprocessor and releases the stopped state of the processing of the microprocessor in response to at least the detection of a discrepancy from the data comparison circuit. This will be explained below with reference to the drawings.

(D) 発明の実施例 図は本発明の一実施例構成を示す。図中の杓号工はマイ
クロ・プロセッサ、2はROM、3はRAM、4は入出
力制御ポート、5はアドレス・バス、6はデータ・バス
、7はマイクロ・プロセッサ停止制御回路、8は第1の
アドレス・ジェネレータであってプリセット可能なカウ
ンタを有するもの、9は第2のアドレス拳ジエネレーク
であって同じくプリセット可能なカウンタを有するもの
、10はデータ比較回路を表わしている。
(D) Embodiment of the Invention The figure shows the configuration of an embodiment of the invention. In the figure, the number is a microprocessor, 2 is a ROM, 3 is a RAM, 4 is an input/output control port, 5 is an address bus, 6 is a data bus, 7 is a microprocessor stop control circuit, and 8 is a 1 is an address generator having a presettable counter, 9 is a second address generator also having a presettable counter, and 10 is a data comparison circuit.

RA M a上の例えばアドレスPから初まる複数個の
PP1群のメモリ内容と、アドレスQから初まる複グと
1個の邪2群のメモリ内容とを即金する処理を5(行j
るに当っては、マイクロ・プロセッサ1はf−トバス6
欠介して卵−1のアドレス・ジェネレータ8 K @ 
P ?プリセットしかつ第2σ)アドレス・ジェネレー
タ9に値Qをプリセットする。そしてマイクロ・プロセ
ッサ1はマイクロ−プロセッサ停止制御回路7に対して
命令匠よって照合開始を指示8る。こわfよって、当該
制御回路7しま、マイクロ・プロセッサIK対して処理
停止を指示j ルト共K 、各アドレス彎ジェネレータ
8,9およびデータ比較回路10に対して起動をかけろ
5 (line j
In doing so, the microprocessor 1
Address generator 8 K @
P? and second σ) preset the value Q in the address generator 9. Then, the microprocessor 1 issues an instruction 8 to the microprocessor stop control circuit 7 to start collation. Therefore, the control circuit 7 instructs the microprocessor IK to stop processing, and starts each address generator 8, 9 and data comparison circuit 10.

このようにしてマイクロ・プロセッサ1が処理を停止し
ている状態つまりアドレス・ノ(ス、及びデータ・バス
がマイクロ・プロセッサから解放さねている状態の下で
、第1のアドレスΦジェネレータ8がアドレスP−Y発
してRAMB上の該当信号からのデータを読出す。該デ
ータはデータ比較回路10においてラッチされる。次(
・で第2のアL′1〕7・パン工久レータ9がアドレス
Q q 発L ”’CRAMa上の該当信号からのデー
タを読出す。該データはデータ比較回路10に導びかわ
、先のランチされているデータと比較照合される。もし
も不一致があわば、その結果にもとづいて即時にマイク
ロ・プロセッサ停止制御回路7は、マイクロ・プロセッ
サの停止状態′?:fIJ¥除して以後の処理をマイク
ロ・プロセッサ1の処理にゆだねる。不一致が生じなけ
れば、第1のアドレス−ジェネレータ8はアドレス(P
+1)YQし、@2のアドレス・ジェネレータ9はアド
レス(Q+ 1 ) ’a=発し、データ比較回路10
 Kよる比較が行われる。このような比較照合が所望の
所定回数が行なわれ、不一致が生じていなければ、マイ
クロ番プロセッサ停止制御回路7は、マイクロ−プロセ
ッサ1の処理停止状態ケ解除すべ(通知する。
In this manner, in a state in which the microprocessor 1 has stopped processing, that is, in a state in which the address bus and the data bus have not yet been released from the microprocessor, the first address Φ generator 8 Address PY is issued and data is read from the corresponding signal on RAMB. The data is latched in the data comparison circuit 10.Next (
・At the second address L'1]7, the bread generator 9 reads the data from the corresponding signal on the address Qq output L ``'CRAMa.The data is led to the data comparison circuit 10 and then If there is a discrepancy, the microprocessor stop control circuit 7 immediately determines the microprocessor's stop state by dividing the microprocessor's stop state '? The processing is entrusted to the processing of the microprocessor 1. If no mismatch occurs, the first address generator 8 generates the address (P
+1) YQ, the address generator 9 of @2 issues the address (Q+1)'a=, and the data comparison circuit 10
A comparison is made by K. If such comparison and verification are performed a desired predetermined number of times and no mismatch has occurred, the microprocessor stop control circuit 7 should notify the microprocessor 1 of canceling the processing stop state.

なお、上記データ比較回路10は、例えば8ビツト分の
(データが8ビツトとする)ラッチと、8ビツト分のE
OR回路と、8ビツト分の比較照合結果ラッチとを持つ
ことで足りろ。当該8ピット分の比較照合結果ラッチの
内容は、データ・ノくス6に出力可能に構成され、上記
不一致が生じていた賜合匠おいて処理を再開されたマイ
クロ・プロセッサ1が読取り得るようにされる。
Note that the data comparison circuit 10 includes, for example, a latch for 8 bits (assuming that the data is 8 bits) and an E for 8 bits.
It is sufficient to have an OR circuit and a comparison result latch for 8 bits. The contents of the comparison result latch for the 8 pits are configured so that they can be output to the data node 6, so that they can be read by the microprocessor 1 that has resumed processing at the time when the discrepancy occurred. be made into

(E) 発明の効果 以上設明した如く、本発明によりは、マイクロ・プロセ
ッサは、マイクロ壷ブロセッサ停止制御回蕗に対して起
動をかける命令を新うたに用意しておくだけで、所望の
比較照合の結果の報告を受けることが可能となる。
(E) Effects of the Invention As established above, according to the present invention, the microprocessor can perform the desired comparison simply by preparing a new command to activate the microprocessor stop control circuit. It becomes possible to receive a report on the verification results.

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

図は本発明の一実施例構成を示す。 図中、1はマイクロ・プロセッサ、2はROM。 3はRAM、4は入出力制御1111Iポート、5はア
ドレス・バス、6はデータQバス、7はマイクロ9プロ
セツサ停止制御回路、8,9.は夫々アドレス・ジェネ
レータ、10はデータ比較回路な表わす。 特許出願人 冨士通株式会社 代理人弁理士 森 1) 寛 (外1名)
The figure shows the configuration of an embodiment of the present invention. In the figure, 1 is a microprocessor and 2 is a ROM. 3 is a RAM, 4 is an input/output control 1111I port, 5 is an address bus, 6 is a data Q bus, 7 is a micro 9 processor stop control circuit, 8, 9 . 1 represents an address generator, and 10 represents a data comparison circuit. Patent applicant: Fujitsu Co., Ltd. Representative Patent Attorney Hiroshi Mori (1 other person)

Claims (1)

【特許請求の範囲】[Claims] マイクロ・プロセッサと夫々固有のアドレスをもつメモ
リおよび入出力制御ポートとがアドレス・バスとデータ
・バスとによって連繋されてなろデータ処理システムに
おいて、上記アドレス・ノぐス匠接紗、される互に独立
の少なくとも2つのアドレス・ジェネレータ、上記デー
タ・バスに接続されて上記2つのアドレスのジェネレー
タからの出力婬よって読出された夫々の読出しデータ相
互間の不一致を検出するデータ比較回路、上ghマイク
ロ・プロセッサからの指示によって発動されて上記アド
レス・ジェネレータに、l:るアクセスが行なわJする
間上記マイクロ・プロセッサの処理を停止せしめかつ少
なくとも上記データ比較回路からの不一致検出に対応し
て上記マイクロ・プロセッサの処理の停止状態を解除す
るマイクロ・プロセッサ停止制御回路をもうけたことを
特徴とするデータ比較処理方式。
In a data processing system in which a microprocessor, memory and input/output control ports each having a unique address are linked by an address bus and a data bus, the above-mentioned address nodes are connected to each other. at least two independent address generators, a data comparison circuit connected to the data bus and detecting a mismatch between respective read data read by the outputs from the two address generators; is activated by an instruction from the processor to cause the address generator to stop the processing of the microprocessor while the access is being performed, and at least in response to the mismatch detection from the data comparison circuit. A data comparison processing method characterized by having a microprocessor stop control circuit for releasing the stopped state of processing.
JP58182245A 1983-09-30 1983-09-30 Data comparison processing system Granted JPS6074051A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58182245A JPS6074051A (en) 1983-09-30 1983-09-30 Data comparison processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58182245A JPS6074051A (en) 1983-09-30 1983-09-30 Data comparison processing system

Publications (2)

Publication Number Publication Date
JPS6074051A true JPS6074051A (en) 1985-04-26
JPH0457023B2 JPH0457023B2 (en) 1992-09-10

Family

ID=16114881

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58182245A Granted JPS6074051A (en) 1983-09-30 1983-09-30 Data comparison processing system

Country Status (1)

Country Link
JP (1) JPS6074051A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5644290A (en) * 1979-09-19 1981-04-23 Nec Corp Subscriber's circuit scanning system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5644290A (en) * 1979-09-19 1981-04-23 Nec Corp Subscriber's circuit scanning system

Also Published As

Publication number Publication date
JPH0457023B2 (en) 1992-09-10

Similar Documents

Publication Publication Date Title
JPH01245719A (en) Parity check controller
JPS6074051A (en) Data comparison processing system
JP2970082B2 (en) Virtual intercluster communication processor
JP2574384B2 (en) Data stream generator
JPS607529A (en) Buffer memory device
JP2864861B2 (en) Response signal control circuit
JP2943926B2 (en) Error recovery control device
JPS59178536A (en) System for judging zero value of plural data
JPH03129531A (en) Control device
JPS58101361A (en) Data processor
JPS629442A (en) Error detecting circuit
JP3308575B2 (en) Extension memory bank address automatic setting method
JP2847741B2 (en) Microcomputer
JPS6051965A (en) Bus controlling system
JPS63282535A (en) Signal processor
JPS601659B2 (en) Memory protection method
JPS5868299A (en) Detecting circuit for address fault
JPS60124749A (en) Computer automatic reset device
JPS622337A (en) Memory extending system
JPS63199555A (en) Same shelf number supervisory equipment
JPH01123329A (en) Interrupting circuit
JPH0736554B2 (en) Device number confirmation device and affiliated device
JPS604350A (en) Connection route confirming system utilizing data collation
JPS62229452A (en) Peripheral module access system
JPH0731631B2 (en) Address selection method by slot position designation