Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2723609B2 - Microprocessor - Google Patents
[go: Go Back, main page]

JP2723609B2 - Microprocessor - Google Patents

Microprocessor

Info

Publication number
JP2723609B2
JP2723609B2 JP1110791A JP11079189A JP2723609B2 JP 2723609 B2 JP2723609 B2 JP 2723609B2 JP 1110791 A JP1110791 A JP 1110791A JP 11079189 A JP11079189 A JP 11079189A JP 2723609 B2 JP2723609 B2 JP 2723609B2
Authority
JP
Japan
Prior art keywords
microprocessor
bus
signal
ready
monitoring
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.)
Expired - Fee Related
Application number
JP1110791A
Other languages
Japanese (ja)
Other versions
JPH02291045A (en
Inventor
悦朗 山内
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.)
NIPPON DENKI AISHII MAIKON SHISUTEMU KK
Original Assignee
NIPPON DENKI AISHII MAIKON SHISUTEMU KK
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 NIPPON DENKI AISHII MAIKON SHISUTEMU KK filed Critical NIPPON DENKI AISHII MAIKON SHISUTEMU KK
Priority to JP1110791A priority Critical patent/JP2723609B2/en
Publication of JPH02291045A publication Critical patent/JPH02291045A/en
Application granted granted Critical
Publication of JP2723609B2 publication Critical patent/JP2723609B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 産業上の利用分野 本発明は複数個のマイクロプロセッサを並列動作させ
る環境に於ける各マイクロプロセッサ間の同期性の保持
に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to maintaining synchronization between microprocessors in an environment in which a plurality of microprocessors operate in parallel.

従来の技術 マイクロプロセッサを使用した高信頼化システムを構
築する一手法として、複数のマイクロプロセッサにより
冗長性を持たせた二重化、三重化システム等が考えられ
る。これら高信頼化システムをサポートするためにマイ
クロプロセッサ自身に故障検出を助ける機能を持ったも
のが表わされてきている。
2. Description of the Related Art As one method of constructing a highly reliable system using a microprocessor, a redundant or triple system having redundancy by a plurality of microprocessors can be considered. In order to support these highly reliable systems, microprocessors having a function of assisting fault detection have been disclosed.

このような故障検出機能を有するマイクロプロセッサ
としては、通常の命令を実行するモード(以下、通常実
行モードと記載する)の他に、マイクロプロセッサ自身
は外部バスを駆動せず、各入出力信号線が1対1に接続
された通常実行モードで動作しているマイクロプロセッ
サの出力信号と自分自身の出力信号(マイクロプロセッ
サ外部には出力しない)と各バスサイクル毎に比較し、
一致していなければ、外部回路に対して不一致検出を通
知する動作を行うモード(以下、監視モードと記載す
る)を備えているものがある。
As a microprocessor having such a failure detection function, in addition to a mode for executing a normal instruction (hereinafter, referred to as a normal execution mode), the microprocessor itself does not drive an external bus and each input / output signal line Compares the output signal of the microprocessor operating in the normal execution mode connected one-to-one with its own output signal (not output to the outside of the microprocessor) every bus cycle,
If they do not match, some modes have a mode of performing an operation of notifying a mismatch detection to an external circuit (hereinafter, referred to as a monitoring mode).

第5図は、上述のような機能を有するマイクロプロセ
ッサのバス制御部の構成例を示す図である。
FIG. 5 is a diagram showing a configuration example of a bus control unit of a microprocessor having the above-described functions.

基本クロックとなるCLK入力信号6の下で動作するこ
のマイクロプロセッサ21のバス制御部22は、バスサイク
ルの延長を要求するREADY入力信号端子3に接続されたR
EADYサンプル回路13と、READYサンプル回路13が出力す
るI READY9を入力されるバスタイミング発生回路16
と、バスタイミング発生回路16の出力するバス制御信号
群12を入力されるデータバス制御部17およびアドレスバ
ス制御部18を備えている。尚、データバス制御部17およ
びアドレスバス制御部18は、バス制御信号群12の制御下
でデータバス7およびアドレスバス8の制御をそれぞれ
実行する。
The bus control unit 22 of the microprocessor 21, which operates under the CLK input signal 6 serving as the basic clock, is connected to the READY input signal terminal 3 which requests the extension of the bus cycle.
An EADY sample circuit 13 and a bus timing generation circuit 16 to which IREADY9 output from the READY sample circuit 13 is input.
And a data bus control unit 17 and an address bus control unit 18 to which the bus control signal group 12 output from the bus timing generation circuit 16 is input. The data bus control unit 17 and the address bus control unit 18 control the data bus 7 and the address bus 8 under the control of the bus control signal group 12, respectively.

READY入力信号端子3にはバスサイクルの延長を要求
するための信号が入力され、これを受けたREADYサンプ
ル回路13は、READYが受け付けられたことを示すマイク
ロプロセッサの内部READY信号としてI READY信号9を
出力する。I READY信号9はバスタイミング発生回路1
6に入力され、バスタイミング発生回路16は、I READY
信号9の状態により、バスサイクルにWAITサイクルを挿
入するか否かの判定を行い、バス制御信号群12を通して
データバス制御部17およびアドレスバス制御部18に対し
て制御タイミングの発生を行う。
A signal for requesting extension of the bus cycle is input to the READY input signal terminal 3, and upon receiving the signal, the READY sample circuit 13 outputs the IREADY signal 9 as an internal READY signal of the microprocessor indicating that the READY has been accepted. Is output. I READY signal 9 is the bus timing generator 1
6 and the bus timing generation circuit 16
Based on the state of the signal 9, it is determined whether or not to insert a WAIT cycle into the bus cycle, and control timing is generated for the data bus control unit 17 and the address bus control unit 18 through the bus control signal group 12.

発明が解決しようとする課題 第6図は、第5図に示したようなバス制御部をめなえ
た1対のマイクロプロセッサAおよびBを共通のバスお
よび信号線に接続したシステムの構成例を示す図であ
る。
FIG. 6 shows a configuration example of a system in which a pair of microprocessors A and B provided with a bus control unit as shown in FIG. 5 are connected to a common bus and signal line. FIG.

このシステムにおいては、マイクロプロセッサAが通
常実行モードに、マイクロプロセッサBが監視モードに
設定されている。即ち、マイクロプロセッサAおよびB
は同じプログラムを実行し、監視モードに設定されたマ
イクロプロセッサBは、マイクロプロセッサAの出力信
号と自身の処理結果とを、各バスサイクル毎に比較して
いる。
In this system, the microprocessor A is set to the normal execution mode, and the microprocessor B is set to the monitoring mode. That is, microprocessors A and B
Executes the same program, and the microprocessor B set to the monitoring mode compares the output signal of the microprocessor A with its own processing result every bus cycle.

第7図は、上述のような処理のバスサイクルのタイミ
ングを示すタイミングチャートである。
FIG. 7 is a timing chart showing the bus cycle timing of the above-described processing.

このマイクロプロセッサAおよびBの基本バスサイク
ルは、T1およびT2の2クロックサイクルからなり、各バ
スサイクルの終りのCLKの立上りでバスサイクルの延長
要求信号であるREADY信号をサンプリングしている。
The basic bus cycle of the microprocessors A and B consists of two clock cycles of T1 and T2, and samples the READY signal as a bus cycle extension request signal at the rising edge of CLK at the end of each bus cycle.

ここで、READY信号は、高速処理を要求されるシステ
ムにおいては、マイクロプロセッサの基本クロックCLK
に対して非動期に返される場合が多い。また、同じ構成
のマイクロプロセッサを使用した場合でも、マイクロプ
ロセッサのREADY入力端子の入力特性が完全に一致して
いることは稀である。従って、READY信号が、CLKの立上
りエッジ近傍で変化した場合に、2つのマイクロプロセ
ッサAおよびBが同じようにサンプリングして同じタイ
ミングで処理を開始するとは限らない。
Here, in a system requiring high-speed processing, the READY signal is used as the basic clock CLK of the microprocessor.
Often returned to non-moving period. Further, even when a microprocessor having the same configuration is used, it is rare that the input characteristics of the READY input terminals of the microprocessor completely match. Therefore, when the READY signal changes near the rising edge of CLK, the two microprocessors A and B do not necessarily sample in the same manner and start processing at the same timing.

第7図に示した例では、バスサイクルA−1におい
て、マイクロプロセッサAはREADY信号をサンプリング
しているが、マイクロプロセッサBはREADY信号をサン
プリングできなかった状態を示している。この場合、マ
イクロプロセッサBのバスサイクルB−1の後半にはWA
ITサイクルTWが挿入される。
In the example shown in FIG. 7, in the bus cycle A-1, the microprocessor A is sampling the READY signal, but the microprocessor B is unable to sample the READY signal. In this case, in the latter half of bus cycle B-1 of microprocessor B, WA
IT cycle TW is inserted.

このようなシステムにおいては、READY信号は通常実
行モードにあるマイクロプロセッサAにより制御されて
おり、バスサイクルA−1の後にバスサイクルA−2の
READY信号が返される。
In such a system, the READY signal is controlled by the microprocessor A in the normal execution mode, and after the bus cycle A-1 the bus cycle A-2.
READY signal is returned.

一方、マイクロプロセッサBはバスサイクルB−1の
TWでREADY信号をサンプリグしようとするが、1つ目のT
Wではサンプリングできず、2つ目のTWで初めてマイク
ロプロセッサAのバスサイクルA−2のREADY信号をサ
ンプリングし得ることになる。こうしてマイクロプロセ
ッサBもWAIT状態から抜け出すことができるが、マイク
ロプロセッサAおよびBのバスサイクルの同期は、バス
サイクルA−3、B−2以後ずれが生じ、二重化システ
ムとしての正常な並列動作は最早保障されない。
On the other hand, the microprocessor B operates in the bus cycle B-1.
Attempts to sample the READY signal with TW, but the first T
The sampling cannot be performed in W, and the READY signal of the bus cycle A-2 of the microprocessor A can be sampled for the first time in the second TW. Thus, the microprocessor B can also escape from the WAIT state, but the synchronization of the bus cycles of the microprocessors A and B is shifted after the bus cycles A-3 and B-2, and the normal parallel operation as a duplex system is no longer possible. Not guaranteed.

そこで、本発明は、上記従来例の問題点を解決し、複
数使用してシステムを構成した場合にも、有効な並列動
作を確保することのできる新規な構成のマイクロプロセ
ッサを提供することをその目的としている。
In view of the above, the present invention has been made to solve the problems of the above conventional example, and to provide a microprocessor having a novel configuration capable of securing effective parallel operation even when a system is configured using a plurality of microprocessors. The purpose is.

課題を解決するための手段 即ち、本発明に従うと、複数個並列に動作させること
が可能な構成を有し、且つ、故障検出機能を有するマイ
クロプロセッサにおいて、バスサイクルの延長要求信号
であるREADY信号を受け付けたことを表示するREADY AC
K信号を出力する表示手段と、他のマイクロプロセッサ
が出力した該READY ACK信号を監視する監視手段と、該
表示手段および該監視手段の出力により、バスの延長サ
イクルを制御する制御手段とを備えることを特徴とする
マイクロプロセッサが提供される。これにより、本発明
によれば、データバスと、アドレスバスと、前記データ
バス及び前記アドレスバスに接続され前記データバス及
び前記アドレスバスを介してデータ及びアドレスの入出
力を行う実行用マイクロプロセッサと、前記データバス
及び前記アドレスバスに接続され前記データバス及び前
記アドレスバスへデータ及びアドレスの出力を行うこと
なく前記データバス上のデータ及び前記アドレスバス上
のアドレスを監視する監視用マイクロプロセッサであっ
て前記実行用マイクロプロセッサと同一構成の監視用マ
イクロプロセッサとを有する情報処理装置であって、前
記実行用マイクロプロセッサ及び監視用マイクロプロセ
ッサはバスサイクル延長要求信号を共通に受け、前記監
視用マイクロプロセッサは前記バスサイクル延長要求信
号が供給されたことに応答して前記実行用マイクロプロ
セッサに制御信号を通知する手段を有し、前記実行用マ
イクロプロセッサは前記監視用マイクロプロセッサから
前記制御信号が供給されることなく前記バスサイクル延
長要求信号が供給されたことに応答してバスサイクルに
WAITサイクルを挿入する手段を有する情報処理装置が提
供される。
In other words, according to the present invention, in a microprocessor having a configuration capable of operating a plurality of units in parallel and having a failure detection function, a READY signal which is a bus cycle extension request signal is provided. READY AC indicating that the
Display means for outputting a K signal; monitoring means for monitoring the READY ACK signal output by another microprocessor; and control means for controlling an extension cycle of the bus based on the output of the display means and the monitoring means. A microprocessor is provided. Thus, according to the present invention, a data bus, an address bus, an execution microprocessor connected to the data bus and the address bus, and performing input and output of data and address via the data bus and the address bus, A monitoring microprocessor connected to the data bus and the address bus, for monitoring data on the data bus and addresses on the address bus without outputting data and addresses to the data bus and the address bus; A monitoring microprocessor having the same configuration as the execution microprocessor, wherein the execution microprocessor and the monitoring microprocessor commonly receive a bus cycle extension request signal, and the monitoring microprocessor Is the bus cycle extension request Means for notifying the execution microprocessor of a control signal in response to the supply of the control signal, wherein the execution microprocessor performs the bus cycle without receiving the control signal from the monitoring microprocessor. In response to the extension request signal being supplied,
An information processing apparatus having means for inserting a WAIT cycle is provided.

作用 本発明に係るマイクロプロセッサは、バスサイクルの
延長要求信号であるREADY信号が該マイクロプロセッサ
内において受け付けられたことを示す信号であるREADY
ACKを発生する手段、および別のマイクロプロセッサ
より出力された前記READY ACK信号を監視する入力信号
およびその信号の状態と前記READY信号の状態によりバ
スの延長サイクルの制御を行う手段を有している。
The microprocessor according to the present invention provides a READY signal which is a signal indicating that a READY signal which is a bus cycle extension request signal has been accepted in the microprocessor.
Means for generating an ACK; and an input signal for monitoring the READY ACK signal output from another microprocessor, and means for controlling an extended cycle of the bus according to the state of the signal and the state of the READY signal. .

即ち、本発明に係るマイクロプロセッサを使用して構
成した並列システムでは、他のマイクロプロセッサのRE
ADY ACK信号を監視しながら動作が制御されるので、各
マイクロプロセッサの構成や特性の相違に起因する同期
ずれは発生しない。
That is, in a parallel system configured using the microprocessor according to the present invention, the RE of another microprocessor
Since the operation is controlled while monitoring the ADY ACK signal, there is no occurrence of a synchronization shift due to a difference in the configuration or characteristics of each microprocessor.

以下、図面を参照して本発明をより具体的に説明する
が、以下の開示は本発明の一実施例に過ぎず、本発明の
技術的範囲を何ら限定するものではない。
Hereinafter, the present invention will be described more specifically with reference to the drawings. However, the following disclosure is merely an example of the present invention, and does not limit the technical scope of the present invention.

実施例 第1図は、本発明に従って構成されたマイクロプロセ
ッサのバス制御部の構成を、第5図に対照して示すブロ
ック図である。尚、第5図に示した従来のマイクロプロ
セッサと同じ構成要素には同じ参照番号を付している。
Embodiment FIG. 1 is a block diagram showing a configuration of a bus control unit of a microprocessor configured according to the present invention in contrast to FIG. The same components as those of the conventional microprocessor shown in FIG. 5 are denoted by the same reference numerals.

即ち、第1図に示すように、CLK入力信号6の下で動
作するこのマイクロプロセッサ1のバス制御部2はバス
サイクルの延長を要求するREADY入力信号端子3に接続
されたREADYサンプル回路13と、READYサンプル回路13が
出力するI READY9を入力されるバスタイミング発生回
路16およびREADY ACK生成回路14とを備える。バスタイ
ミング発生回路16の出力するバス制御信号群12は、デー
タバス制御部17およびアドレスバス制御部18に入力され
る。一方、READY ACK生成回路14の出力は、後述するよ
うにREADY信号線に接続される。更に、このバス制御部
2は、他のマイクロプロセッサより出力されたREADY A
CK出力信号の状態を監視するためのWATCH RDY入力信号
端子5と、これに接続されてWATCH RDY入力信号端子5
の状態に応じた出力をバスタイミング発生回路に入力す
るREADY ACK監視回路15とを備えている。
That is, as shown in FIG. 1, the bus control unit 2 of the microprocessor 1 operating under the CLK input signal 6 includes a READY sample circuit 13 connected to the READY input signal terminal 3 for requesting extension of the bus cycle. , A bus timing generator 16 to which IREADY 9 output from the READY sample circuit 13 is input, and a READY ACK generator 14. The bus control signal group 12 output from the bus timing generation circuit 16 is input to the data bus control unit 17 and the address bus control unit 18. On the other hand, the output of the READY ACK generation circuit 14 is connected to a READY signal line as described later. Further, the bus control unit 2 reads the READY A output from another microprocessor.
WATCH RDY input signal terminal 5 for monitoring the state of the CK output signal, and WATCH RDY input signal terminal 5 connected thereto.
And a READY ACK monitoring circuit 15 for inputting an output corresponding to the state of the above to the bus timing generation circuit.

第2図は、第1図に示したようなマイクロプロセッサ
を1対使用して構成した二重化システムをの構成例を示
すブロック図である。
FIG. 2 is a block diagram showing a configuration example of a duplex system configured by using a pair of microprocessors as shown in FIG.

第2図に示すように、このシステムにおいて、マイク
ロプロセッサAおよびマイクロプロセッサBは、データ
バス7、アドレスバス8、クロック信号線、READY信号
線に対しては互いに並列に接続されている。一方、前述
したWATCH RDY入力信号端子5とREADY ACK信号出力端
子4とは互いに接続されている。
As shown in FIG. 2, in this system, a microprocessor A and a microprocessor B are connected in parallel to each other with respect to a data bus 7, an address bus 8, a clock signal line, and a READY signal line. On the other hand, the aforementioned WATCH RDY input signal terminal 5 and the READY ACK signal output terminal 4 are connected to each other.

第3図は、第2図に示した二重化システムの動作を説
明するタイミングチャートである。また、第4図は、第
2図に示した二重化システムの状態遷移図である。
FIG. 3 is a timing chart for explaining the operation of the duplex system shown in FIG. FIG. 4 is a state transition diagram of the duplex system shown in FIG.

以下に、これらの図面を参照しつつ、本実施例に係る
二重化システムの動作を説明する。
Hereinafter, the operation of the duplex system according to the present embodiment will be described with reference to these drawings.

マイクロプロセッサAおよびBの基本バスサイクル
は、T1およびT2の2クロックサイクルから成り、各バス
サイクルの終りのCLKの立上りでREADY信号をサンプリン
グしている。尚、READY信号は“L"でバスサイクルの延
長要求を行うものとする。
The basic bus cycle of the microprocessors A and B consists of two clock cycles T1 and T2, and the READY signal is sampled at the rising edge of CLK at the end of each bus cycle. The READY signal is "L" and requests to extend the bus cycle.

第3図のバスサイクルA−1は、マイクロプロセッサ
AはREADY信号をサンプリングすることができ、マイク
ロプロセッサBはREADY信号をサンプリングできなかっ
た状態である。
In the bus cycle A-1 in FIG. 3, the microprocessor A can sample the READY signal, and the microprocessor B cannot sample the READY signal.

マイクロプロセッサAのREADY ACK監視回路15は、信
号線20を通してマイクロプロセッサBのREADY ACK出力
信号の状態を監視しており、バスタイミングT1において
READY ACK信号が“H"(WATCH READY入力端子が“H")
であれば、マイクロプロセッサAのバスタイミング発生
回路16がT2の状態に遷移し信号11を出力する。READY A
CK生成回路14は、信号11およびI READY9の状態により
READY ACK出力信号4をアクティブ(“H")にし、次の
バスサイクルA−2の動作を始める。
The READY ACK monitoring circuit 15 of the microprocessor A monitors the state of the READY ACK output signal of the microprocessor B through the signal line 20, and at the bus timing T1,
READY ACK signal is “H” (WATCH READY input terminal is “H”)
If so, the bus timing generation circuit 16 of the microprocessor A transitions to the state of T2 and outputs the signal 11. READY A
The CK generation circuit 14 is controlled by the state of the signal 11 and IREADY9.
The READY ACK output signal 4 is activated ("H"), and the operation of the next bus cycle A-2 is started.

一方、マイクロプロセッサBのREADY ACK監視回路15
も、同様に信号線19を通してマイクロプロセッサAのRE
ADY ACK出力信号の状態を監視しており、マイクロプロ
セッサBのタイミング発生回路16はT2状態に遷移する。
しかし、マイクロプロセッサBはREADY信号がサンプリ
ングされなかったのでI READY信号9がアクティブと
ならず、I READY信号9を受けたバスタイミング発生
回路16はTWの状態に遷移しマイクロプロセッサAのREAD
Y ACK出力信号がアクティブになるのを待つ。
On the other hand, the READY ACK monitoring circuit 15 of the microprocessor B
Similarly, the RE of the microprocessor A through the signal line 19
The state of the ADY ACK output signal is monitored, and the timing generation circuit 16 of the microprocessor B transits to the T2 state.
However, since the READY signal has not been sampled by the microprocessor B, the IREADY signal 9 does not become active, and the bus timing generating circuit 16 which has received the IREADY signal 9 transitions to the TW state, and the microprocessor A
Wait for the Y ACK output signal to become active.

この時、マイクロプロセッサAのREADY ACK出力信号
がREADY ACK監視回路15によって確認されると、マイク
ロプロセッサBはB−1サイクルを終了し、READY ACK
出力信号4をアクティブにして次のバスサイクルB−2
の動作を始める。
At this time, when the READY ACK output signal of the microprocessor A is confirmed by the READY ACK monitoring circuit 15, the microprocessor B completes the B-1 cycle, and
Activate the output signal 4 to make the next bus cycle B-2
Start working.

マイクロプロセッサAのREADY ACK監視回路15は、バ
スサイクルA−2のT1においてマイクロプロセッサBの
READY ACK出力信号がアクティブでないことを確認する
と、バスタイミング発生回路16はT2aの状態に遷移した
後、無条件にTWaの状態に遷移する。即ち、無条件でWAI
Tサイクルを挿入する。続いて、信号11によりREADY AC
K生成回路14の出力であるREADY ACK出力信号4をイン
アクティブにし、I READY信号9がアクティブになる
のを待つ。
The READY ACK monitoring circuit 15 of the microprocessor A transmits the signal of the microprocessor B at T1 of the bus cycle A-2.
When confirming that the READY ACK output signal is not active, the bus timing generation circuit 16 unconditionally transitions to the state of TWa after transitioning to the state of T2a. In other words, unconditionally WAI
Insert a T cycle. Next, the READY AC
The READY ACK output signal 4 output from the K generation circuit 14 is made inactive, and waits until the I READY signal 9 becomes active.

マイクロプロセッサBのREADY ACK監視回路15は、バ
スサイクルB−2のT1においてマイクロプロセッサAの
READY ACK出力信号がアクティブであることを確認する
と、バスタイミング発生回路16はT2の状態に遷移し、信
号11によりREADY ACK生成回路14の出力であるREADY A
CK出力信号4をインアクティブにしてI READY信号9
の状態を確認に行く。
The ready acknowledgment circuit 15 of the microprocessor B outputs the signal of the microprocessor A at T1 of the bus cycle B-2.
When it is confirmed that the READY ACK output signal is active, the bus timing generation circuit 16 transitions to the state of T2, and the signal 11 outputs the READY A
CK output signal 4 is deactivated and I READY signal 9
Go check the status.

マイクロプロセッサAおよびBのバスサイクルA−2
およびB−2において、共にREADY信号がREADYサンプル
回路13でサンプリングされ、I READY信号9がアクテ
ィブになると、マイクロプロセッサAおよびBは共にRE
ADY ACK出力信号4をアクティブにして次のバスサイク
ルA−3およびB−3の動作を始める。
Bus cycle A-2 of microprocessors A and B
When the READY signal is sampled by the READY sample circuit 13 and the I READY signal 9 becomes active in both the microprocessors A and B, the microprocessors A and B both
The ADY ACK output signal 4 is activated to start the operation of the next bus cycle A-3 and B-3.

第3図におけるバスサイクルA−3およびB−3は、
マイクロプロセッサAはREADY信号をサンプリングする
ことができず、マイクロプロセッサBはREADY信号をサ
ンプリングすることができた状態を示す。この状態で
は、バスサイクルA−1およびB−1の状態と、マイク
ロプロセッサAおよびBが入れ換わっていること以外
は、動作は全く同じであるので説明は省略する。
Bus cycles A-3 and B-3 in FIG.
The microprocessor A cannot sample the READY signal, and the microprocessor B can sample the READY signal. In this state, the operation is completely the same except that the states of the bus cycles A-1 and B-1 and the microprocessors A and B are interchanged, so that the description is omitted.

以上説明したように、本発明に係るマイクロプロセッ
サは、複数が並列に動作する多重化システムを構成した
場合にも、確実な並列動作が実現される。
As described above, the microprocessor according to the present invention realizes reliable parallel operation even when a multiplex system in which a plurality of microprocessors operate in parallel is configured.

尚、本実施例では、基本のバスサイクルが2クロック
サイクルから成るものに関して説明したが、異なったク
ロックサイクルから成るマイクロプロセッサに関しても
同様に効果的であることはいうまでもない。また、更に
多くのマイクロプロセッサを使用した三重化システム等
にも拡張可能である。
Although the present embodiment has been described with reference to the case where the basic bus cycle consists of two clock cycles, it goes without saying that the present invention is similarly effective for a microprocessor consisting of different clock cycles. Further, the present invention can be extended to a triple system using more microprocessors.

発明の効果 以上説明したように、本発明に係るマイクロプロセッ
サは、これを複数使用して互いに並列動作させる多重化
システムを構成した場合に、各マイクロプロセッサが出
力するREADY ACK信号の状態を互いに監視し合うことに
より、他のマイクロプロセッサの状態に合わせて自らの
状態を決定するように構成されている。従って、性能を
低下させることなく各々のマイクロプロセッサの同期性
を保ち、信頼性の高い並列動作環境を実現できる。
Effect of the Invention As described above, the microprocessor according to the present invention mutually monitors the state of the READY ACK signal output from each microprocessor when a plurality of the microprocessors are configured to operate in parallel with each other. By doing so, it is configured to determine its own state according to the state of another microprocessor. Therefore, the synchronization of each microprocessor can be maintained without deteriorating the performance, and a highly reliable parallel operation environment can be realized.

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

第1図は、本発明に従うマイクロプロセッサの構成例
を、特にバス制御部に着目して示すブロック図であり、 第2図は、第1図に示したマイクロプロセッサを使用し
た二重化システムの構成例を示すブロック図であり、 第3図は、第2図に示した二重化システムの動作を説明
するタイミングチャートであり、 第4図は、第2図に示した二重化システムの動作を説明
する状態遷移図であり、 第5図は、従来のマイクロプロセッサの構成例を、特に
バス制御部に着目して示すブロック図であり、 第6図は、第5図に示したマイクロプロセッサを使用し
た二重化システムの構成例を示すブロック図であり、 第7図は、第6図に示した二重化システムの動作を説明
するタイミングチャートである。 〔主な参照番号〕 1、21……マイクロプロセッサ、 2 22……バス制御部、 3……READY入力端子 4……READY ACK出力端子 5……WATCH READY入力端子 6……CLK入力端子 7……データバス、8……アドレスバス 9……内部READY(I READY)信号 10……READY ACK監視回路の出力信号 11……READY ACK生成回路への出力信号 12……バス制御信号群 13……READYサンプル回路 14……READY ACK生成回路 15……READY ACK監視回路 16……バスタイミング発生回路 17……データバス制御部 18……アドレスバス制御部
FIG. 1 is a block diagram showing a configuration example of a microprocessor according to the present invention, particularly focusing on a bus control unit. FIG. 2 is a configuration example of a duplex system using the microprocessor shown in FIG. FIG. 3 is a timing chart for explaining the operation of the duplex system shown in FIG. 2, and FIG. 4 is a state transition explaining the operation of the duplex system shown in FIG. FIG. 5 is a block diagram showing a configuration example of a conventional microprocessor, particularly focusing on a bus control unit. FIG. 6 is a block diagram showing a duplex system using the microprocessor shown in FIG. FIG. 7 is a timing chart for explaining the operation of the duplex system shown in FIG. [Main reference numbers] 1, 21: microprocessor, 22: bus control unit, 3: READY input terminal 4, READY ACK output terminal 5, WATCH READY input terminal 6, CLK input terminal 7 ... Data bus, 8 ... Address bus 9 ... Internal READY (I READY) signal 10 ... Output signal of READY ACK monitor circuit 11 ... Output signal to READY ACK generation circuit 12 ... Bus control signal group 13 ... READY sample circuit 14 READY ACK generation circuit 15 READY ACK monitoring circuit 16 Bus timing generation circuit 17 Data bus controller 18 Address bus controller

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】データバスと、アドレスバスと、前記デー
タバス及び前記アドレスバスに接続され前記データバス
及び前記アドレスバスを介してデータ及びアドレスの入
出力を行う実行用マイクロプロセッサと、前記データバ
ス及び前記アドレスバスに接続され前記データバス及び
前記アドレスバスへデータ及びアドレスの出力を行うこ
となく前記データバス上のデータ及び前記アドレスバス
上のアドレスを監視する監視用マイクロプロセッサであ
って前記実行用マイクロプロセッサと同一構成の監視用
マイクロプロセッサとを有する情報処理装置であって、
前記実行用マイクロプロセッサ及び監視用マイクロプロ
セッサはバスサイクル延長要求信号を共通に受け、前記
監視用マイクロプロセッサは前記バスサイクル延長要求
信号が供給されたことに応答して前記実行用マイクロプ
ロセッサに制御信号を通知する手段を有し、前記実行用
マイクロプロセッサは前記監視用マイクロプロセッサか
ら前記制御信号が供給されることなく前記バスサイクル
延長要求信号が供給されたことに応答してバスサイクル
にWAITサイクルを挿入する手段を有することを特徴とす
る情報処理装置。
A data bus; an address bus; an execution microprocessor connected to the data bus and the address bus for inputting and outputting data and addresses via the data bus and the address bus; A monitoring microprocessor connected to the address bus for monitoring data on the data bus and addresses on the address bus without outputting data and addresses to the data bus and the address bus; An information processing apparatus having a microprocessor and a monitoring microprocessor having the same configuration,
The execution microprocessor and the monitoring microprocessor commonly receive a bus cycle extension request signal, and the monitoring microprocessor sends a control signal to the execution microprocessor in response to the supply of the bus cycle extension request signal. The execution microprocessor has a WAIT cycle in the bus cycle in response to the bus cycle extension request signal being supplied without the control signal being supplied from the monitoring microprocessor. An information processing apparatus having means for inserting.
【請求項2】データバスと、アドレスバスと、前記デー
タバス及び前記アドレスバスに接続され前記データバス
及び前記アドレスバスを介してデータ及びアドレスの入
出力を行う実行用マイクロプロセッサと、前記データバ
ス及び前記アドレスバスに接続され前記データバス及び
前記アドレスバスへデータ及びアドレスの出力を行うこ
となく前記データバス上のデータ及び前記アドレスバス
上のアドレスを監視する監視用マイクロプロセッサであ
って前記実行用マイクロプロセッサと同時に同一処理を
実行する監視用マイクロプロセッサとを有する情報処理
装置であって、前記実行用マイクロプロセッサ及び監視
用マイクロプロセッサはバスサイクル延長要求信号を共
通に受け、前記実行用マイクロプロセッサは前記バスサ
イクル延長要求信号が供給されたことに応答して前記監
視用マイクロプロセッサに第1の制御信号を通知する手
段を有し、前記監視用マイクロプロセッサは前記バスサ
イクル延長要求信号が供給されたことに応答して前記実
行用マイクロプロセッサに第2の制御信号を通知する手
段を有し、前記実行用マイクロプロセッサは前記監視用
マイクロプロセッサから前記第2の制御信号が供給され
ることなく前記バスサイクル延長要求信号が供給された
ことに応答してバスサイクルにWAITサイクルを挿入する
手段を有し、前記監視用マイクロプロセッサは前記実行
用マイクロプロセッサから前記第1の制御信号が供給さ
れることなく前記バスサイクル延長要求信号が供給され
たことに応答してバスサイクルにWAITサイクルを挿入す
る手段を有することを特徴とする情報処理装置。
2. An execution microprocessor connected to the data bus, the address bus, the data bus and the address bus, for inputting and outputting data and addresses via the data bus and the address bus, and the data bus. A monitoring microprocessor connected to the address bus for monitoring data on the data bus and addresses on the address bus without outputting data and addresses to the data bus and the address bus; An information processing apparatus having a microprocessor for performing the same processing simultaneously with the microprocessor, wherein the execution microprocessor and the monitoring microprocessor commonly receive a bus cycle extension request signal, and the execution microprocessor The bus cycle extension request signal And a means for notifying the monitoring microprocessor of a first control signal in response to the supply of the bus cycle extension request signal. Means for notifying the execution microprocessor of a second control signal, wherein the execution microprocessor receives the bus cycle extension request signal without receiving the second control signal from the monitoring microprocessor. Means for inserting a WAIT cycle into the bus cycle in response to the execution of the bus cycle extension request signal without the first control signal being supplied from the execution microprocessor. Information processing means for inserting a WAIT cycle into a bus cycle in response to the supply of Equipment.
JP1110791A 1989-04-28 1989-04-28 Microprocessor Expired - Fee Related JP2723609B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1110791A JP2723609B2 (en) 1989-04-28 1989-04-28 Microprocessor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1110791A JP2723609B2 (en) 1989-04-28 1989-04-28 Microprocessor

Publications (2)

Publication Number Publication Date
JPH02291045A JPH02291045A (en) 1990-11-30
JP2723609B2 true JP2723609B2 (en) 1998-03-09

Family

ID=14544724

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1110791A Expired - Fee Related JP2723609B2 (en) 1989-04-28 1989-04-28 Microprocessor

Country Status (1)

Country Link
JP (1) JP2723609B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5856011A (en) * 1981-09-30 1983-04-02 Hitachi Ltd Common bus usage method
JPS6010384A (en) * 1983-06-29 1985-01-19 Nec Corp Data processor
JPS6097457A (en) * 1983-10-31 1985-05-31 Fujitsu Ltd Bus control system
JPS63174158A (en) * 1987-01-14 1988-07-18 Nissin Electric Co Ltd Multiprocessor system
JPS63276660A (en) * 1987-04-14 1988-11-14 Fujitsu Ltd Bus monitoring system

Also Published As

Publication number Publication date
JPH02291045A (en) 1990-11-30

Similar Documents

Publication Publication Date Title
JP3424901B2 (en) Synchronization method and synchronization method for multiplex system controller
JPH05128080A (en) Information processing equipment
KR19980703446A (en) Clock Control System and Method
JP2723609B2 (en) Microprocessor
JP4226108B2 (en) Digital signal processor and processor self-test method
JPH10129487A (en) Computer system for vehicle control
KR100378593B1 (en) Double Switch Board and A method of switch board redundancy
TWI881478B (en) System power synchronization control method
Sivencrona et al. RedCAN/sup TM: simulations of two fault recovery algorithms for CAN
JP2000155701A (en) Debug circuit
JP3557522B2 (en) Interrupt signal generator
JPS6073748A (en) Internal timer circuit system
JPS6361337A (en) Automatic resetting method
KR0178720B1 (en) Shared memory controller
JPS63223836A (en) Diagnosis control system
JPH067379B2 (en) Direct memory access control circuit
JPS61201346A (en) Control method for microprogram
JPS6075952A (en) Bus test system
JPH01120652A (en) Setting system for monitor time of input/output device
JP3055249B2 (en) Processor debugging method
JP2000003285A (en) Method for processing interruption and circuit therefor
JP2002131383A (en) Semiconductor integrated circuit and inspection method thereof
JPH07121483A (en) Shared memory access control circuit
JPH08101256A (en) Simulation execution system of test program in ic testing device
JPH06124259A (en) Microporcessor

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees