JPH03175538A - Duplex processor - Google Patents

Duplex processor

Info

Publication number
JPH03175538A
JPH03175538A JP1315844A JP31584489A JPH03175538A JP H03175538 A JPH03175538 A JP H03175538A JP 1315844 A JP1315844 A JP 1315844A JP 31584489 A JP31584489 A JP 31584489A JP H03175538 A JPH03175538 A JP H03175538A
Authority
JP
Japan
Prior art keywords
address
output
slave
data
master
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
JP1315844A
Other languages
Japanese (ja)
Inventor
Takao Hayashi
孝雄 林
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
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 filed Critical NEC Corp
Priority to JP1315844A priority Critical patent/JPH03175538A/en
Publication of JPH03175538A publication Critical patent/JPH03175538A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To perform more detailed comparison, to hold a micro address for a fault and to easily analyze the fault by increasing the number of information lines for comparison by two. CONSTITUTION:CPUs 1 and 2 are provided with designating means 15a and 25a which can designate the master and the slave, output means 15 and 25 which output an address and data to an address bus and a data bus respectively at the time of memory access in the case of master designation, comparing means 16 and 26 which compare the address of the address bus and data of the data bus with contents of internal address and data registers and output the comparison results in the case of slave designation, and internal registers 17 and 27 which output the parity of the micro address and an operation result condition flag in the case of master designation and take them as the input to output the comparison results in the case of slave designation and hold the micro address at this time. The parity of the micro address and the operation result flag are compared with each other. Thus, a comparison object can be extended with a minimum number of external terminals, and the micro address at this time is held to facilitate fault analysis.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はマイクロプログラム制御の中央処理装置におけ
る二重化処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a redundant processing device in a microprogram-controlled central processing unit.

〔従来の技術〕[Conventional technology]

従来、小型中央処理装置(マイクロプロセッサチップ)
における二重化処理装置では、マスタ及びスレーブ指定
が可能で2つのチップのアドレスバス、データバスを相
互に接続し一方をマスタ指定し、他方をスレーブ指定し
て比較結果を出力しいずれかのCPUの障害を検出して
いた。
Traditionally, small central processing units (microprocessor chips)
In the duplex processing device in , it is possible to designate master and slave, and the address bus and data bus of two chips are interconnected, one is designated as master and the other is designated as slave, and the comparison result is output. was detected.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来の二重化処理装置では、障害はCPUの外
部に出力されるアドレスバス及びデータバスの比較によ
って行われるために、メモリアクセスの時点まで障害が
検出できない、また検出できてもそれ以前のどこで障害
が発生したか解析することが不可能であるという欠点が
あった。
In the conventional duplex processing device described above, failures are detected by comparing the address bus and data bus that are output to the outside of the CPU, so failures cannot be detected until the time of memory access, and even if they are detected, they cannot be detected anywhere before then. The disadvantage is that it is impossible to analyze whether a failure has occurred.

本発明の目的は、マイクロプログラムアドレス(以下マ
イクロアドレスと記す)のパリティと演算結果フラグを
比較することによって、比較対象を最小の外部端子で拡
張可能とし、更にその時点でのマイクロアドレスを保存
することにより、障害解析を容易に出来る二重化処理装
置を提供することにある。
The purpose of the present invention is to make it possible to expand the comparison target with a minimum number of external terminals by comparing the parity of a microprogram address (hereinafter referred to as microaddress) and an operation result flag, and to further save the microaddress at that point. Therefore, it is an object of the present invention to provide a redundant processing device that facilitates failure analysis.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の二重化処理装置は、マイクロプログラム制御の
CPUにおいて、前記CPUはマスタ及びスレーブの指
定を可能とする指定手段と、前記マスタ指定時はメモリ
アクセス時にアドレスとデータバスにアドレスバスとデ
ータをそれぞれ出力する出力手段と、前記スレーブ指定
時は前記アドレスバスとデータバスを入力として内部に
持つアドレスレジスタ及びデータレジスタと比較して比
較結果を出力する比較手段と、マイクロアドレスのパリ
ティと演算結果条件フラグが前記マスタ指定時は出力さ
れ、前記スレーブ指定時は入力となって比較結果を出力
し、その時点のマイクロアドレスを保存する内部レジス
タとを備えることを特徴とし、前記CPUは小型中央処
理装置のマイクロプロセッサチップであることを特徴と
する。
The redundant processing device of the present invention is a microprogram-controlled CPU, and the CPU has a designating means that can designate a master and a slave, and when designating the master, sends an address bus and data to an address bus and a data bus, respectively, at the time of memory access. an output means for outputting, when the slave is specified, a comparison means for comparing the address bus and the data bus with an internal address register and data register as input, and outputting a comparison result; microaddress parity and operation result condition flag; is output when the master is specified, and is input and outputs the comparison result when the slave is specified, and has an internal register that stores the microaddress at that time, and the CPU is a small central processing unit. It is characterized by being a microprocessor chip.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.

第1図において、本実施例は小型中央処理装置(マイク
ロプロセッサチップ)(以下CPU)1゜2からなる。
In FIG. 1, this embodiment consists of a small central processing unit (microprocessor chip) (hereinafter referred to as CPU) 1.2.

11.21は共にマイクロプログラムシーケンサ〈以下
5QC)であり、12.22は共にマイクロプログラム
カウンタ(以下CNT)である。
11.21 are both microprogram sequencers (hereinafter referred to as 5QC), and 12.22 are both microprogram counters (hereinafter referred to as CNT).

CNT12,22の出力はそれぞれパリティゼネレータ
(以下PGN)13.23によってパリティゼネレータ
され、方向制御回路(以下DRC)15.25により端
子13a、23aに出力される。
The outputs of the CNTs 12 and 22 are parity-generated by a parity generator (hereinafter referred to as PGN) 13.23, respectively, and outputted to terminals 13a and 23a by a direction control circuit (hereinafter referred to as DRC) 15.25.

また、14.24は共に演算器(以下ALU)であり、
その演算結果の条件フラグ2ビツト(オールゼロ=00
.負=01.正=10.オーバフロー=11)がDRC
l5.25により端子14a、24aに出力されている
。DRCl5.25は外部入力端子15a、25aによ
り制御される。
In addition, 14 and 24 are both arithmetic units (hereinafter referred to as ALU),
The condition flag 2 bits of the calculation result (all zeros = 00
.. Negative=01. Correct = 10. overflow = 11) is DRC
It is output to terminals 14a and 24a by l5.25. DRCl5.25 is controlled by external input terminals 15a and 25a.

外部入力端子15a、25aは入力が“1”のときマス
タ指定で信号は内部から外部に流れ、“0”の時スレー
ブ指定で信号は外部から比較器(以下CMP)16.2
6に流れる。CMP16,26はA個入力とB個入力を
比較して一致か否かを端子16a、26aに出力する。
When the external input terminals 15a and 25a are designated as master when the input is "1", the signal flows from the inside to the outside, and when the input is "0", the signal is designated as slave and the signal is transmitted from the outside to the comparator (hereinafter referred to as CMP) 16.2
It flows to 6. The CMPs 16 and 26 compare the A and B inputs and output whether they match or not to the terminals 16a and 26a.

但し出力にはゲー)161,261によりスレーブの時
のみ出力が有効となっている。
However, the output is enabled only when it is a slave due to the game controllers 161 and 261.

また、アドレスレジスタ(以下ADH)17゜27はD
RCl 5により、端子群17a、27aに出力されて
いる。同様にデータレジスタ(以下DTR)18.28
はDRC15により、端子群18a、28aに出力され
ている。
Also, the address register (hereinafter referred to as ADH) 17°27 is D
It is output to terminal groups 17a and 27a by RCl 5. Similarly, data register (hereinafter referred to as DTR) 18.28
is output by the DRC 15 to the terminal group 18a, 28a.

次に本実施例の動作について説明する。Next, the operation of this embodiment will be explained.

CPUI、2はマスタCPU、スレーブCPUとして接
続されている。メモリリードアクセス時は、マスタCP
Uがアドレスを外部に出力する。
CPUI 2 is connected as a master CPU and slave CPU. At the time of memory read access, the master CP
U outputs the address to the outside.

スレーブCPUはマスタCPUのアドレスを内部に入力
し、自身のアドレスと比較する。比較の結果両アドレス
が等しくないと判定された場合、端子26aにハイレベ
ルが出力される。
The slave CPU inputs the master CPU's address internally and compares it with its own address. If it is determined that the two addresses are not equal as a result of the comparison, a high level is output to the terminal 26a.

同様に、マイクロアドレスのパリティまたは演算結果の
状態フラグが両CPUI、2で異なる時、同じようにし
て端子26aにハイレベルが出力される。端子26aに
ハイレベルが出力されることにより、マイクロアドレス
の内容が障害アドレスレジスタ(以下FAD)19,2
9に保存される。
Similarly, when the parity of the microaddress or the state flag of the operation result is different between both CPUs 2, a high level is similarly output to the terminal 26a. By outputting a high level to the terminal 26a, the contents of the microaddress are changed to the fault address register (hereinafter referred to as FAD) 19, 2.
9 is saved.

〔発明の効果ゴ 以上説明したように本発明は、比較するための情報線を
2本(PGNからの情報線とALUからの情報線)を増
やすのみで、より詳細な比較をできる。また障害時のマ
イクロアドレスを保存することにより、容易に障害解析
できる効果がある。
[Effects of the Invention] As explained above, the present invention allows more detailed comparisons by simply increasing the number of information lines for comparison by two (the information line from the PGN and the information line from the ALU). Furthermore, by saving the microaddress at the time of a failure, it is possible to easily analyze the failure.

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

第1図は本発明の一実施例の示すブロック図でである。 1.2・・・中央処理装置(CPU)、11.21・・
・マイクロプログラムシーケンサ(SQC)、12.2
2・・・マイクロプログラムカウンタ(CNT)、13
.23・・・パリティゼネレータ(PGN)、14.2
4・・・演算器(ALU)、15.25・・・方向制御
回路(DRC)、16.26・・・比較器(CMP)、
17.27・・・アドレスレジスタ(ADR)、18.
28・・・データレジスタ(DTR>、19.29・・
・障害アドレスレジスタ(FAR)。
FIG. 1 is a block diagram showing an embodiment of the present invention. 1.2...Central processing unit (CPU), 11.21...
・Micro program sequencer (SQC), 12.2
2...Micro program counter (CNT), 13
.. 23...Parity generator (PGN), 14.2
4... Arithmetic unit (ALU), 15.25... Direction control circuit (DRC), 16.26... Comparator (CMP),
17.27...address register (ADR), 18.
28...Data register (DTR>, 19.29...
- Fault Address Register (FAR).

Claims (1)

【特許請求の範囲】 1、マイクロプログラム制御の中央処理装置(以下CP
U)において、前記CPUはマスタ及びスレーブの指定
を可能とする指定手段と、前記マスタ指定時はメモリア
クセス時にアドレスバスとデータバスにアドレスとデー
タをそれぞれ出力する出力手段と、前記スレーブ指定時
は前記アドレスバスとデータバスを入力として内部に持
つアドレスレジスタ及びデータレジスタと比較して比較
結果を出力する比較手段と、マイクロプログラムアドレ
スのパリテイと演算結果条件フラグが前記マスタ指定時
は出力され、前記スレーブ指定時は入力となつて比較結
果を出力し、その時点のマイクロプログラムアドレスを
保存する内部レジスタとを備えることを特徴とする二重
化処理装置。 2、前記CPUは小型中央処理装置のマイクロプロセッ
サチップであることを特徴とする請求項1記載の二重化
処理装置。
[Claims] 1. Microprogram controlled central processing unit (hereinafter referred to as CP)
In U), the CPU includes a designation means that enables designation of master and slave, an output means that outputs an address and data to an address bus and a data bus respectively at the time of memory access when the CPU is designated as a master, and when designated as a slave. a comparison means that takes the address bus and data bus as input and compares them with internal address registers and data registers and outputs a comparison result; a parity of the microprogram address and an operation result condition flag are output when the master is specified; A duplex processing device characterized by comprising an internal register that serves as an input when a slave is specified, outputs a comparison result, and stores a microprogram address at that time. 2. The duplex processing device according to claim 1, wherein the CPU is a microprocessor chip of a small central processing unit.
JP1315844A 1989-12-04 1989-12-04 Duplex processor Pending JPH03175538A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1315844A JPH03175538A (en) 1989-12-04 1989-12-04 Duplex processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1315844A JPH03175538A (en) 1989-12-04 1989-12-04 Duplex processor

Publications (1)

Publication Number Publication Date
JPH03175538A true JPH03175538A (en) 1991-07-30

Family

ID=18070264

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1315844A Pending JPH03175538A (en) 1989-12-04 1989-12-04 Duplex processor

Country Status (1)

Country Link
JP (1) JPH03175538A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5748873A (en) * 1992-09-17 1998-05-05 Hitachi,Ltd. Fault recovering system provided in highly reliable computer system having duplicated processors
KR100324154B1 (en) * 1997-04-22 2002-06-24 포만 제프리 엘 Compression and data processing chips for storage subsystems providing superior data integrity and methods

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5748873A (en) * 1992-09-17 1998-05-05 Hitachi,Ltd. Fault recovering system provided in highly reliable computer system having duplicated processors
KR100324154B1 (en) * 1997-04-22 2002-06-24 포만 제프리 엘 Compression and data processing chips for storage subsystems providing superior data integrity and methods

Similar Documents

Publication Publication Date Title
JPS62243058A (en) Control method of interruption for multi-processor system
JPS59154564A (en) Programmable controller
US4128881A (en) Shared memory access control system for a multiprocessor system
JPH03175538A (en) Duplex processor
US5761482A (en) Emulation apparatus
US7237099B2 (en) Multiprocessor system having a plurality of control programs stored in a continuous range of addresses of a common memory and having identification registers each corresponding to a processor and containing data used in deriving a starting address of a CPU-linked interrupt handler program to be executed by the corresponding processor
US7895379B2 (en) Logic controller having hard-coded control logic and programmable override control store entries
JP2001256044A (en) Data processor
US20080016264A1 (en) Method and system for handling user-defined interrupt request
JPS6025624Y2 (en) Equipment for information processing equipment development
JPH0821009B2 (en) CHANNEL CONTROLLER INITIALIZATION METHOD AND SYSTEM FOR THE INITIALIZATION
JP2558902B2 (en) Semiconductor integrated circuit device
JPH04280334A (en) One chip microcomputer
JPH0114616B2 (en)
JPS603049A (en) Bus interface apparatus
JPH0652013A (en) Tracing circuit
JPS63629A (en) Data processing system
JP2847729B2 (en) Information processing device
JPS59191656A (en) Memory ic simulator
JPH01121965A (en) Microprocessor
JPS63155330A (en) Microprogram controller
JPS63174134A (en) Interruption controller
JPS5816360A (en) Memory bank switching system
JPH04205576A (en) One chip microcomputer
JPH0357030A (en) Semiconductor integrated circuit