JPS60225254A - Computer of two-phase sequence system - Google Patents

Computer of two-phase sequence system

Info

Publication number
JPS60225254A
JPS60225254A JP59080240A JP8024084A JPS60225254A JP S60225254 A JPS60225254 A JP S60225254A JP 59080240 A JP59080240 A JP 59080240A JP 8024084 A JP8024084 A JP 8024084A JP S60225254 A JPS60225254 A JP S60225254A
Authority
JP
Japan
Prior art keywords
pseudo
program counter
instruction
effective
value
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
JP59080240A
Other languages
Japanese (ja)
Inventor
Kunio Imoto
井元 邦夫
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 JP59080240A priority Critical patent/JPS60225254A/en
Publication of JPS60225254A publication Critical patent/JPS60225254A/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/1666Error detection or correction of the data by redundancy in hardware where the redundant component is memory or memory area
    • G06F11/167Error detection by comparing the memory output

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Executing Machine-Instructions (AREA)

Abstract

PURPOSE:To secure the reliability in a degree equivalent to that of a full duplex system by realizing instruction comparing and deciding functions with addition of a simple circuit. CONSTITUTION:In a pseudo fetch cycle, contents of a program memory designated through an address bus 21 by the value of a pseudo program counter 12 are fetched in a pseudo instruction register 14 by a bus switch 19. In an effective fetch cycle, contents of the program memory designated through the address bus 21 by the value of an effective program counter 13 are fetched in an effective instruction register 16. Contents of pseudo instruction registers 14 and 15 are compared with each other, and a normal execution cycle is performed if they coincide with each other. If they do not coincide with each other, the value of the pseudo program counter 12 is transferred to the effective program counter 13, and the value of a pseudo program counter 11 is transferred to the counter 12, and thereafter, an operation similar to that of a jump instruction is performed.

Description

【発明の詳細な説明】 〔発明の属する技術分野〕 本発明は2相シ一ケンス方式計算機に関し。[Detailed description of the invention] [Technical field to which the invention pertains] The present invention relates to a two-phase sequence computer.

特にこの種計算機基本方式における信頼性向上のための
技術に関する。
In particular, it relates to techniques for improving reliability in this type of basic computer system.

〔従来技術〕[Prior art]

計算機システムにおいて信頼性を保障する為の一方式と
して二重化が行われている。二重化が経済上得策でない
場合は1例えばアクセスされるメモリ範囲を定め、それ
以外のメモリがアクセスされる事を禁止する等の方法が
用いられている。これらはいずれも計算機制御部は従来
のままである。
Duplication is used as a method to ensure reliability in computer systems. If duplication is not economically advisable, a method is used, for example, to define a memory range to be accessed and prohibit access to other memories. In all of these, the computer control section remains the same as before.

第4図は従来の計算機制御部で本発明と関係のある部分
を示す。41はプログラムカウンタ42の出力と実効サ
イクル時に出力されるアドレスバス45とを切替える為
の切替器、46はその出力−1’6る。43は命令レジ
スタで、インストラクションフェッチ時にデータバス4
7の値が読みとら庇る。40は制御部である。
FIG. 4 shows parts of a conventional computer control unit that are related to the present invention. 41 is a switch for switching between the output of the program counter 42 and the address bus 45 output during the effective cycle, and 46 is its output -1'6. 43 is an instruction register, which is connected to data bus 4 when fetching instructions.
The value of 7 is read. 40 is a control section.

1かし、このような計算機で完全二重化を採用するのは
経済上得策とは言えず、かと言って部分的なプロテクシ
ョンで、は完全には保障できない。
However, it is not economically advisable to use full redundancy in such computers; on the other hand, it only provides partial protection and cannot be completely guaranteed.

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

本発明の目的は、なるべく簡単な方式で容易に完全二重
化に相当する程度の信頼性を保障し得る2相シ一クンス
方式計算機を提供する事である。
An object of the present invention is to provide a two-phase sequential computer which can easily guarantee reliability equivalent to complete duplexing using a method as simple as possible.

〔発明の構成〕[Structure of the invention]

本発明は、2ステツプ前のプログラムアドレスを保持す
る第1の擬似プログラムカウンタと。
The present invention includes a first pseudo program counter that holds a program address two steps before.

1ステツプ前のプログラムアドレスを保持する第2の擬
似プログラムカウンタと、実際に実行されるプログラム
アドレスを保持する実効プログラムカウンタと、第2の
擬似プログラムカウンタでアドレスされた番地から読ま
れた命令を一時保持する第1の擬似命令レジスタと、比
較用の命令を保持する第2の擬似命令レジスタと。
A second pseudo program counter that holds the program address of one step before, an effective program counter that holds the program address that is actually executed, and a temporary instruction that is read from the address addressed by the second pseudo program counter. A first pseudo-instruction register that holds a comparison instruction, and a second pseudo-instruction register that holds a comparison instruction.

実際に実行される命令を一時保持する実効命令レジスタ
と、前記第1及び第2の擬似命令レジスタの内容を比較
する比較器と、これらを制御する制御部と、前記第2の
擬似プログラムカウンタと実効プログラムカウンタの出
力を切替える切替器とを従来の計算機基本制御部に付加
しで提供される。
an effective instruction register that temporarily holds instructions to be actually executed, a comparator that compares the contents of the first and second pseudo-instruction registers, a control unit that controls these, and the second pseudo-program counter. A switch for switching the output of an effective program counter is added to a conventional computer basic control section.

〔実施例〕〔Example〕

以下に、第1図〜第3図を参照して本発明の詳細な説明
する。
The present invention will be described in detail below with reference to FIGS. 1 to 3.

第1図は本発明の一実施例をブロック図で示す。便宜上
、インストラクションサイクルは第2図に示すものとす
る。第6図はインストラクション実行フローを示す。
FIG. 1 shows, in block diagram form, one embodiment of the invention. For convenience, the instruction cycle is shown in FIG. FIG. 6 shows the instruction execution flow.

第1図において、 11は2ステツプ前のプログラムア
ドレスを保持する第1の擬似プログラム )カウンタ、
12は1ステツプ前のプログラムアドレスを保持する第
2の擬似プログラムカウンタ。
In FIG. 1, 11 is a first pseudo program counter that holds the program address of two steps before;
12 is a second pseudo program counter that holds the program address of one step before.

13は実際に実行されるプログラムアドレスを保持する
実効プログラムカウンタである。バス切替器19は第2
の擬似プログラムカウンタ12と実効プログラムカウン
タ13の出力を切替える。14はデータバス22を通し
て送られてくる命令を一時保持する第1の擬似命令レジ
スタ、15は比較用の命令を一時保持する第2の擬似命
令レジスタ、16は実際に実行される命令を一時保持す
る実効命令レジスタ、17は比較器である。18は各部
の制御部である。
Reference numeral 13 denotes an effective program counter that holds the address of the program actually executed. The bus switch 19 is the second
The outputs of the pseudo program counter 12 and the effective program counter 13 are switched. 14 is a first pseudo-instruction register that temporarily holds instructions sent through the data bus 22, 15 is a second pseudo-instruction register that temporarily holds instructions for comparison, and 16 temporarily holds instructions that are actually executed. The effective instruction register 17 is a comparator. 18 is a control section for each section.

擬似フェッチ(pseudo fetch )サイクル
にてはバス切替器19によシ擬似プログラムカウンタ1
2の値によってアドレスバス21で指定されるプログラ
ムメモリの内容をデータバス22を通して読みとり、擬
似命令レジスタ14にフェッチする。
In a pseudo fetch cycle, the pseudo program counter 1 is transferred to the bus switch 19.
The contents of the program memory specified by the address bus 21 by the value of 2 are read through the data bus 22 and fetched into the pseudo-instruction register 14.

乙はそのためのクロックパルスで制御部18より供給さ
れる。実効フェッチ(actual fetch )サ
イクルにては実効プログラムカウンタ13の値によって
アドレスバス21で指定されるプログラムメモリの内容
をデータバスnを通して実効命令レジスタ16にフェッ
チする。チェックサイクルにては比較器17によシ擬似
命令レジスタ14と15とを比較し、一致(擬似命令レ
ジスタ14には前ステップの正しく実行された命令値が
はいっている。一方、擬似命令レジスタ15にもその値
がはいっている。但し、レジスタ15の値は前ステップ
のインストラクションサイクル時に読まれたものであシ
、レジスタ14の値は現在のインストラクションサイク
ル時に読まれたものである。)したならば、正常実行サ
イクルが行われるとともに下記動作が行われる。すなわ
ち、実効命令レジスタ16の値をレジスタ15へ転送(
これは次のサイクルの比較用である。)すると共に、擬
似プログラムカウンタ12の値を擬似プラグラムカウン
タ11へ転送し、更に実効プラグラムカウンタ13の値
を擬似プログラムカウンタ12へ転送する。
The clock pulse B is supplied from the control unit 18 as a clock pulse for that purpose. In the actual fetch cycle, the contents of the program memory specified by the address bus 21 according to the value of the effective program counter 13 are fetched into the effective instruction register 16 via the data bus n. In the check cycle, the comparator 17 compares the pseudo-instruction registers 14 and 15, and if there is a match (the pseudo-instruction register 14 contains the correctly executed instruction value of the previous step), the pseudo-instruction register 15 (However, the value in register 15 was read during the instruction cycle of the previous step, and the value in register 14 was read during the current instruction cycle.) For example, a normal execution cycle is performed and the following operations are performed. That is, the value of the effective instruction register 16 is transferred to the register 15 (
This is for comparison in the next cycle. ), the value of the pseudo program counter 12 is transferred to the pseudo program counter 11, and the value of the effective program counter 13 is further transferred to the pseudo program counter 12.

一方、不一致ならば(不一致という事は、前ステップで
フェッチされた命令値が正しいものでない事を示す。)
擬似プログラムカウンタ12の値を実効プログラムカウ
ンタ13へ転送し、擬似プログラムカウンタ11の値を
擬似プログラムカウンタ12へ転送後、ジャンプ命令(
ジャンプ先アドレスは実効プログラムカウンタ13によ
って与えられる。)と同様の操作が行われる。
On the other hand, if they do not match (a mismatch indicates that the instruction value fetched in the previous step is not correct).
After transferring the value of the pseudo program counter 12 to the effective program counter 13 and transferring the value of the pseudo program counter 11 to the pseudo program counter 12, a jump instruction (
The jump destination address is given by the effective program counter 13. ) is performed.

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

以上の説明で明らかなように9本発明では簡単な回路の
追加で命令の比較・判定機能を有することにより、きわ
めて信頼性の高い計算機が容易に実現できる。
As is clear from the above description, in the present invention, an extremely reliable computer can be easily realized by adding a simple circuit to provide an instruction comparison/judgment function.

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

第1図は本発明の一実施例の要部ブロック図。 第2図はインストラクションサイクルを示す図。 第3図はインストラクションサイクルにおける実行フロ
ーを示し、第4図は従来の計算機制御部の一部のブロッ
ク図。図において、11.12・・・擬似プログラムカ
ウンタ、13・・・実効プログラムカウンタ。 14 、15・・・擬似命令レジスタ、16・・・実効
命令レジスタ。 17・・・比較器、18・・・制御部、19・・・バス
切替器。 代理人(7127)弁理士後芽洋介 第1図
FIG. 1 is a block diagram of main parts of an embodiment of the present invention. FIG. 2 is a diagram showing an instruction cycle. FIG. 3 shows an execution flow in an instruction cycle, and FIG. 4 is a block diagram of a part of a conventional computer control unit. In the figure, 11.12... pseudo program counter, 13... effective program counter. 14, 15... pseudo-instruction register, 16... effective instruction register. 17... Comparator, 18... Control unit, 19... Bus switching device. Agent (7127) Patent Attorney Yosuke Gome Figure 1

Claims (1)

【特許請求の範囲】[Claims] 1.2ステツプ前のプログラムアドレスを保持する第1
の擬似プログラムカウンタと、1ステツプ前のプログラ
ムアドレスを保持する第2の擬似プログラムカウンタと
、実際に実行されるプログラムアドレスを保持する実効
プログラムカウンタと、前記第2の擬似プログラムカウ
ンタでアドレスされた番地から読まれた命令を一時保持
する第1の擬似命令レジスタと、比較用の命令を保持す
る第2の擬似命令レジスタと、実際に実行される命令を
一時保持する実効命令レジスタと、前記第1及び第2の
擬似命令レジスタに保持された命令を比較する比較器7
と、前記各要素の制御部8と、前記第2の擬似プログラ
ムカウンタと実効プログラムカウンタの出力を切替える
切替器9とを付加して成る2相シ一ケンス方式計算機。
1. The first one that holds the program address from two steps ago.
a second pseudo program counter that holds the program address of the previous step; an effective program counter that holds the address of the program actually executed; and an address addressed by the second pseudo program counter. a first pseudo-instruction register that temporarily holds an instruction read from the first pseudo-instruction register, a second pseudo-instruction register that holds an instruction for comparison, an effective instruction register that temporarily holds an instruction that is actually executed; and a comparator 7 that compares the instructions held in the second pseudo-instruction register.
A two-phase sequence computer comprising: a control section 8 for each of the elements; and a switch 9 for switching between the outputs of the second pseudo program counter and the effective program counter.
JP59080240A 1984-04-23 1984-04-23 Computer of two-phase sequence system Pending JPS60225254A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59080240A JPS60225254A (en) 1984-04-23 1984-04-23 Computer of two-phase sequence system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59080240A JPS60225254A (en) 1984-04-23 1984-04-23 Computer of two-phase sequence system

Publications (1)

Publication Number Publication Date
JPS60225254A true JPS60225254A (en) 1985-11-09

Family

ID=13712801

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59080240A Pending JPS60225254A (en) 1984-04-23 1984-04-23 Computer of two-phase sequence system

Country Status (1)

Country Link
JP (1) JPS60225254A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6983402B2 (en) 2000-12-11 2006-01-03 Matsushita Electric Industrial Co., Ltd. Computer device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6983402B2 (en) 2000-12-11 2006-01-03 Matsushita Electric Industrial Co., Ltd. Computer device

Similar Documents

Publication Publication Date Title
JPS63301339A (en) Computer device
JPH02252008A (en) Integrated circuit timer with multiple channel and dedicated service processor
JPH1021074A (en) Interruption control system, processor, and computer system
JPH1083305A (en) Data processing system with self-matching stack pointer and its method
JP2513417B2 (en) Information processing device
JPS60225254A (en) Computer of two-phase sequence system
US8200943B2 (en) Microprocessor
JPS6049337B2 (en) Pipeline control method
JPH05100883A (en) Semiconductor device for processing data
JP2850377B2 (en) Microcomputer
JPS6242301B2 (en)
JP2883488B2 (en) Instruction processing unit
JP2719227B2 (en) Processing equipment
JP2539064B2 (en) Microprocessor
JPS6234238A (en) Microprocessor
JPH04302329A (en) Microprocessing system
JPS62248043A (en) Memory switching circuit for fetching microcomputer instruction
JPS6012656B2 (en) Retry control method
JPH0136137B2 (en)
JPS6027070A (en) Vector processor
JPS61208130A (en) Control system for branch instruction
JPH0331940A (en) Microprogram controller
JPH05189014A (en) Programmable controller
JPH01240941A (en) Information processor
JPH04358227A (en) Microprocessor