JPS6057089B2 - Parity control method - Google Patents

Parity control method

Info

Publication number
JPS6057089B2
JPS6057089B2 JP55163797A JP16379780A JPS6057089B2 JP S6057089 B2 JPS6057089 B2 JP S6057089B2 JP 55163797 A JP55163797 A JP 55163797A JP 16379780 A JP16379780 A JP 16379780A JP S6057089 B2 JPS6057089 B2 JP S6057089B2
Authority
JP
Japan
Prior art keywords
parity
register
arithmetic
data
instruction
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
Application number
JP55163797A
Other languages
Japanese (ja)
Other versions
JPS5786957A (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.)
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 JP55163797A priority Critical patent/JPS6057089B2/en
Publication of JPS5786957A publication Critical patent/JPS5786957A/en
Publication of JPS6057089B2 publication Critical patent/JPS6057089B2/en
Expired 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/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Detection And Correction Of Errors (AREA)
  • Error Detection And Correction (AREA)

Description

【発明の詳細な説明】 本発明は、マイクロプログラム制御方式の処理装置にお
いて、パリテイの生成を簡単に行い得るようにしたパリ
テイ制御方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a parity control method that allows parity to be easily generated in a microprogram control processing device.

第1図はマイクロプログラム制御方式の処理装置の一般
的な構成を示すものであつて、1は制御記憶、2は制御
記憶アト1、メス・レジスタ、3は+1回路、4は命令
レジスタ、5はXレジスタ、6はYレジスタ、7は演算
論理ユニット、8−0ないし8−nは外部レジスタをそ
れぞれ示している。
FIG. 1 shows the general configuration of a microprogram control type processing device, where 1 is a control memory, 2 is a control memory at 1, a female register, 3 is a +1 circuit, 4 is an instruction register, and 5 is a control memory. 6 indicates an X register, 6 indicates a Y register, 7 indicates an arithmetic logic unit, and 8-0 to 8-n indicate external registers.

第1図に示したようなマイクロプログラム制御方式の処
理装置においては、各種の制御のためマイクロ命令によ
つて読出し又は書込み可能な複数の外部レジスタ8−0
ないし8−nが設けられている。
In the microprogram control type processing device shown in FIG. 1, a plurality of external registers 8-0 that can be read or written by microinstructions for various controls
8-n are provided.

この種の外部レジスタの中には、パリテイ・ビットを持
つていないものやマイクロ命令とは無関係に変化するた
めパリテイを保証できないもの等が存在する。従来技術
においては、パリテイ・ビットをもたない外部レジスタ
およびパリテイを保証できない外部レジスタのそれぞれ
に対してパリテイ発生器を設けているが、このような従
来技術は外部レジスタ側の回路構成が複雑になるという
欠点を有している。本発明は、上記の欠点を除去するも
のであつて、マイクロプログラム制御方式の処理装置に
おいて、パリテイの生成を簡単に行い得るようにしたパ
リテイ制御方式を提供することを目的としている。
Among these types of external registers, there are those that do not have a parity bit, and those that change irrespective of microinstructions and cannot guarantee parity. In conventional technology, a parity generator is provided for each external register that does not have a parity bit and for external registers that cannot guarantee parity, but such conventional technology requires a complicated circuit configuration on the external register side. It has the disadvantage of being SUMMARY OF THE INVENTION The present invention aims to eliminate the above-mentioned drawbacks and to provide a parity control method that allows parity generation to be easily performed in a microprogram control processing device.

そしてそのため、本発明のパリテイ制御方’式は複数の
マイクロ命令が格納される制御記憶と、上記制御記憶か
ら読出されたマイクロ命令がセットされる命令レジスタ
と、複数の演算レジスタと演算論理ユニットと、複数の
外部レジスタとを備えるマイクロプログラム制御方式の
処理装置1において、1個の演算レジスタXの出力側に
設けられた当該演算レジスタXのデータによつてパリテ
イを生成するパリテイ発生器と、上記命令レジスタの所
定のビット位置のデークの値に応じて、上記パリテイ発
生器の生成したパリテイ又は上記演算レジスタXのパリ
テイのいずれか一方を選択するパリテイ選択回路とを設
け、該パリテイ選択回路で選択されたパリテイをデータ
と共に上記演算論理ユニット又は外部レジスタへ送り得
るように構成されたことを特徴とするものである。以下
、本発明を図面を参照しつつ説明する。第2図は本発明
の1実施例のブロック図であつて、9はNOT回路、1
0はパリテイ発生器、11と12はAND回路、13は
0R回路、DAは書込み外部レジスタ・アドレス、SA
は読出し外部レジスタ・アドレス、PCはパリテイ制御
フラグをそれぞれ示している。
Therefore, the parity control method of the present invention includes a control memory in which a plurality of microinstructions are stored, an instruction register in which microinstructions read from the control memory are set, a plurality of arithmetic registers, and an arithmetic logic unit. , and a plurality of external registers, a parity generator that generates parity based on the data of the arithmetic register X, which is provided on the output side of one arithmetic register X; a parity selection circuit that selects either the parity generated by the parity generator or the parity of the calculation register X according to the value of the data at a predetermined bit position of the instruction register; The device is characterized in that it is configured such that the parity generated by the processing can be sent to the arithmetic logic unit or external register together with the data. Hereinafter, the present invention will be explained with reference to the drawings. FIG. 2 is a block diagram of one embodiment of the present invention, in which 9 is a NOT circuit, 1
0 is parity generator, 11 and 12 are AND circuit, 13 is 0R circuit, DA is write external register address, SA
indicates a read external register address, and PC indicates a parity control flag, respectively.

パリテイ発生器10は、Xレジスタ5のデータに従つて
パリテイ・ビットを生成する。
Parity generator 10 generates parity bits according to the data in X register 5.

パリテイ制御プラグPCが論理11jであると、パリテ
イ発生器10によつて生成されたパリテイ・ビットがデ
ータと共に.AND回路11および0R回路13を経由
して外部レジスタ又は演算論理ユニットに送られる。パ
リテイ制御フラグPCが論理ROョの場uは、Xレジス
タ5のパリテイ・ビットがデータと共に外部レジスタ又
は演算制御ユニットに送られる。第2図の命令レジスタ
4の内容はMOVE命令を示している。
When the parity control plug PC is logic 11j, the parity bits generated by the parity generator 10 are included with the data. The signal is sent to an external register or arithmetic logic unit via an AND circuit 11 and an OR circuit 13. If the parity control flag PC is logical RO, the parity bit of the X register 5 is sent to an external register or arithmetic control unit along with the data. The contents of the instruction register 4 in FIG. 2 indicate a MOVE instruction.

MOVE命令を実行する場合、マイクロ命令の読み出し
外部レジスタ・アドレスSAで指定された外部レジスタ
からデータが読出され、この読出データがxレジスタ5
にセットされる。MOVE命令のパリテイ制御プラグP
Cが論理Rljてあると、パリテイ発生器10で生成さ
れたパリテイ・ビットが選択され、このパリテイ・ビッ
トとXレジスタ5のデータが書き込み外部レジスタ・ア
ドレスDAで指定された外部レジスタへ送られる。MO
VE命令のパリテイ制御フラグPCが論理ROJである
と、Xレジスタ5の.データおよびパリテイ・ビットが
MOVE命令のDA部で指定された外部レジスタに送ら
れる。第3図は演算命令の形式を示すものである。演算
命令の場合には、マイクロ命令のビット0ないし4がR
OlOOlョとなり、ビット5ないしビット7は演算論
理ユニット7の機能を示している。例えば、ビット5な
いし7がROOOJのときは、X+Y rOOlJのときは、X+Y+1 0010Jのときは、Y−X rOlLのときは、Y−X−1 r100Jのときは、Y+1 r10しのときは、Y4Y rllOョのときは、XORY rllしのときは、XANDY を示している。
When a MOVE instruction is executed, data is read from the external register specified by the read external register address SA of the microinstruction, and this read data is stored in x register 5.
is set to MOVE command parity control plug P
When C is at logic Rlj, the parity bit generated by parity generator 10 is selected, and this parity bit and the data in X register 5 are sent to the external register specified by write external register address DA. M.O.
If the parity control flag PC of the VE instruction is logical ROJ, the . Data and parity bits are sent to the external register specified in the DA portion of the MOVE instruction. FIG. 3 shows the format of an operation instruction. In the case of an arithmetic instruction, bits 0 to 4 of the microinstruction are R.
Bits 5 to 7 indicate the function of the arithmetic logic unit 7. For example, when bits 5 to 7 are ROOOJ, X+Y; when rOOlJ, X+Y+1; when 0010J, Y-X; when rOOLL, Y-X-1; when r100J, Y+1; when r10, Y4Y. When it is rllO, it shows XORY. When it is rll, it shows XANDY.

演算命令のビット8ないし15は、MOVE命令と同じ
である。なお演算命令を実行するときは、前以てYレジ
スタ6に外部レジスタノから読出されたデータ又は命令
レジスタ4からのデータが格納されている。また、演算
論理ユニット7にはデータのみでなくパリテイ・ビット
も入力される。演算命令が実行されると、演算命令のS
A部で指定される外部レジスタからデータが出され、こ
の読出データがXレジスタ5にセットされる。
Bits 8 to 15 of the operation instruction are the same as the MOVE instruction. Note that when an arithmetic instruction is executed, data read from the external register or data from the instruction register 4 is stored in the Y register 6 in advance. Furthermore, not only data but also parity bits are input to the arithmetic logic unit 7. When an arithmetic instruction is executed, the S of the arithmetic instruction is
Data is output from the external register designated by the A section, and this read data is set in the X register 5.

演算命令のパリテイ制御フラグPCが論理RlJである
場合には、パリテイ発生器10によつて生成されたパリ
テイ・ビットとXレジスタ5のデータが演算論理ユニッ
ト7の一方の入力部に入力され、Yレジスタのデータお
よびパリテイが演算論理ユニット7の他方の入力部に入
力される。演算命令のパリテイ制御フラグPCが論理R
O.Jの場合にはXレジスタ5のデータとパリテイが演
算論理ユニットの一方の入力部に入力され、Yレジスタ
6のデータおよびパリテイは演算論理ユニット7の他方
の入力部に入力される。演算論理ユニット7からの出力
は再びXレジスタ5にセットされる。以上の説明から明
らかなように、本発明によれば、従来方式におけるよう
に外部レジスタ側に多数のパリテイ発生器を設ける必要
がなく、1個の演算レジスタの出力側にパリテイ発生器
を設けるだけで良いので、外部レジスタ側の回路構成を
非常に簡単化することが出来る。
When the parity control flag PC of the arithmetic instruction is logic RlJ, the parity bit generated by the parity generator 10 and the data in the X register 5 are input to one input of the arithmetic logic unit 7, and the Y The data and parity of the registers are input to the other input of the arithmetic logic unit 7. The parity control flag PC of the operation instruction is logic R.
O. In the case of J, the data and parity of the X register 5 are input to one input of the arithmetic and logic unit, and the data and parity of the Y register 6 are input to the other input of the arithmetic and logic unit 7. The output from the arithmetic logic unit 7 is set in the X register 5 again. As is clear from the above description, according to the present invention, there is no need to provide a large number of parity generators on the external register side as in the conventional system, but only a parity generator is provided on the output side of one arithmetic register. Therefore, the circuit configuration on the external register side can be greatly simplified.

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

第1図はマイクロプログラム制御方式の処理装置の一般
的な構成を示す図、第2図は本発明の1実施例のブ七ツ
ク図、第3図は演算命令のデータ形式を示す図である。
FIG. 1 is a diagram showing the general configuration of a microprogram control type processing device, FIG. 2 is a block diagram of one embodiment of the present invention, and FIG. 3 is a diagram showing the data format of arithmetic instructions. .

Claims (1)

【特許請求の範囲】[Claims] 1 複数のマイクロ命令が格納される制御記憶と、上記
制御記憶から読出されたマイクロ命令がセットされる命
令レジスタと、複数の演算レジスタと演算論理ユニット
と、複数の外部レジスタとを備えるマイクロプログラム
制御方式の処理装置において、1個の演算レジスタXの
出力側に設けられた当該演算レジスタXのデータによつ
てパリテイを生成するパリテイ発生器と、上記命令レジ
スタの所定のビット位置のデータの値に応じて、上記パ
リテイ発生器の生成したパリテイ又は上記演算レジスタ
Xのパリテイのいずれか一方を選択するパリテイ選択回
路とを設け、該パリテイ選択回路で選択されたパリテイ
をデータと共に上記演算論理ユニット又は外部レジスタ
へ送り得るように構成されたことを特徴とするパリテイ
制御方式。
1. A microprogram control comprising a control memory in which a plurality of microinstructions are stored, an instruction register in which microinstructions read from the control memory are set, a plurality of arithmetic registers, an arithmetic logic unit, and a plurality of external registers. In the processing device according to the method, a parity generator is provided on the output side of one arithmetic register X and generates parity based on the data of the arithmetic register X, and a parity generator is provided on the output side of one arithmetic register Accordingly, a parity selection circuit is provided for selecting either the parity generated by the parity generator or the parity of the arithmetic register A parity control method characterized by being configured so that it can be sent to a register.
JP55163797A 1980-11-19 1980-11-19 Parity control method Expired JPS6057089B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP55163797A JPS6057089B2 (en) 1980-11-19 1980-11-19 Parity control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP55163797A JPS6057089B2 (en) 1980-11-19 1980-11-19 Parity control method

Publications (2)

Publication Number Publication Date
JPS5786957A JPS5786957A (en) 1982-05-31
JPS6057089B2 true JPS6057089B2 (en) 1985-12-13

Family

ID=15780879

Family Applications (1)

Application Number Title Priority Date Filing Date
JP55163797A Expired JPS6057089B2 (en) 1980-11-19 1980-11-19 Parity control method

Country Status (1)

Country Link
JP (1) JPS6057089B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH041675Y2 (en) * 1985-08-06 1992-01-21

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH041675Y2 (en) * 1985-08-06 1992-01-21

Also Published As

Publication number Publication date
JPS5786957A (en) 1982-05-31

Similar Documents

Publication Publication Date Title
KR100227277B1 (en) Computer methods for writing a sclar value to a vector
JPS5960652A (en) Data processing device
US3510847A (en) Address manipulation circuitry for a digital computer
JPH0248931B2 (en)
US4467415A (en) High-speed microprogram control apparatus with decreased control storage requirements
JPS6128138B2 (en)
GB1456849A (en) Microinstruction controlled computer
JPS6049332B2 (en) Microprogram control method
JPS62237522A (en) Information processor
JPS5911921B2 (en) numerical control device
JPS6057089B2 (en) Parity control method
GB1105812A (en) Data processors
JPS57130150A (en) Register control system
JPS595496A (en) Memory protect system
JPS6148735B2 (en)
US3222648A (en) Data input device
US3454933A (en) Data processing system
JP2661150B2 (en) Data transfer device
JPS59121561A (en) Common resource access protecting system in multiprocessor system
JPS56140460A (en) Picture processing device
JPS59226956A (en) Data control system
JPS6020779B2 (en) Composite computer system
JPS63120336A (en) Switching system for memory access mode
JPS6250855B2 (en)
JPS5925251B2 (en) Creation method for arithmetic control signals in microprogram-controlled electronic computers