JPS6389928A - Arithmetic unit - Google Patents

Arithmetic unit

Info

Publication number
JPS6389928A
JPS6389928A JP61235595A JP23559586A JPS6389928A JP S6389928 A JPS6389928 A JP S6389928A JP 61235595 A JP61235595 A JP 61235595A JP 23559586 A JP23559586 A JP 23559586A JP S6389928 A JPS6389928 A JP S6389928A
Authority
JP
Japan
Prior art keywords
data
bit
output
bits
register
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
JP61235595A
Other languages
Japanese (ja)
Inventor
Toshiyuki Uda
右田 俊幸
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 JP61235595A priority Critical patent/JPS6389928A/en
Publication of JPS6389928A publication Critical patent/JPS6389928A/en
Pending legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)

Abstract

PURPOSE:To reduce signal delay time and heighten performance by providing plural computing elements, an output data register, converted data register and plural converters as exclusive logical sum circuit. CONSTITUTION:The bit width of input data 151, 152 and output data register 102 are made to 8 bits, and the interface 154 of data bus to external equipment is set to require parity of 8 bit data and 1 bit. Output bit of a computing element 101B is converted to bit by a converter 103 as an exclusive logical sum circuit and stored in a converted data register 104. Exclusive logical sum of the output of 4 bits of the register 104 is taken by a converter 105 as an exclusive logical sum circuit and converted to 1 bit. Thereby, data 8 bits and parity 1 bit are sent out to the interface 154 with outside. Thus, as it is enough to pass through one step of the circuit 103, reduction of signal delay time becomes possible and performance can be heightened.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は情報処理装置における演算装置に関し、特に二
重化構成の演算装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to an arithmetic unit in an information processing device, and particularly to an arithmetic unit with a duplex configuration.

(従来の技術) 従来から、演算装置の出力結果のデータの正常性をチェ
ックするためにデータの一寞単位、たとえば1バイトつ
まり8ビツト毎にパリティピット會付加する方法が一般
に行なわれている。
(Prior Art) Conventionally, in order to check the normality of data output from an arithmetic device, a method has generally been used in which a parity pit is added to each unit of data, for example, every 1 byte or 8 bits.

このパリティビットの生成方法には、演算装置の入力デ
ータに付加されているパリティビットと入力データその
ものとをもとに、データの演算とは別の論理で最終出力
に対するパリティピッ)f作成するパリティ予測方式や
演算回路部を完全に二重化してもち、一方の演算回路は
そのまま出力データ用に、他方の演算回路は出力データ
用の演算回路とまったく同じ演算全行なblその結果か
らパリティピラトラ生成する二重化方式などが良く知ら
れている。
This parity bit generation method involves parity prediction that creates a parity bit for the final output based on the parity bit added to the input data of the arithmetic unit and the input data itself, using logic separate from the data calculation. The method and arithmetic circuit section are completely duplicated, one arithmetic circuit is used for output data as is, and the other arithmetic circuit performs all the same arithmetic operations as the arithmetic circuit for output data. Parity Piratra is generated from the result. A duplex system is well known.

第2図に後者の二重化方式の例?示す。第2図において
演算器201Aと201Bとはともに、与えられた入力
データ251,252に対して演算モード253で指定
された算術/論理演算を行なうまったく同−論理の回路
である。
Figure 2 shows an example of the latter duplex method. show. In FIG. 2, arithmetic units 201A and 201B are circuits of exactly the same logic that perform arithmetic/logical operations designated by a calculation mode 253 on input data 251, 252 given thereto.

演算器201Aの出力はそのまま出力データレジスタ2
02に格納される。いま仮に演算器の出力ビツト幅が8
ビツトとすると、出力データレジスタ20248ビツト
のレジスタである。
The output of the arithmetic unit 201A is sent directly to the output data register 2.
It is stored in 02. Now suppose that the output bit width of the arithmetic unit is 8.
In terms of bits, the output data register is a 20248-bit register.

パリティ生成回路203は、演算器201Bの出力8ビ
ツトの排他的論理和?とってその結果の出力が出力バリ
ティレジスタ204に格納される。出力データレジスタ
202の8ビツトと出力バリティレジスタ204の1ビ
ツトがひとまとまりのデータ254として外部のデータ
バスへ送出されることになる。
The parity generation circuit 203 generates an exclusive OR of the 8-bit output from the arithmetic unit 201B. The resulting output is stored in the output parity register 204. Eight bits of the output data register 202 and one bit of the output parity register 204 are sent to the external data bus as a set of data 254.

パリティ生成回路203は8ビツトのデータに対する偶
数パリティ?生成するものであり、第3図で示すように
2ビツト毎の排他的論理和をとる基本回路ブロック30
1’i7個組合せて作られている。
Does the parity generation circuit 203 generate even parity for 8-bit data? As shown in FIG. 3, the basic circuit block 30 calculates the exclusive OR of every 2 bits.
It is made by combining seven 1'i.

第2図の例で明らかなように、入力データからパリティ
ピッi生成するために要する信号遅延時間は、データ出
力が得られるのに要する信号遅延時間に、8ビツトの排
他的論理和7行なうための信号遅延時間を加えたものと
なる。
As is clear from the example in Figure 2, the signal delay time required to generate parity bit i from input data is equal to the signal delay time required to obtain data output plus 7 8-bit exclusive ORs. This is the sum of the signal delay time.

(発明が解決しようとする問題点) 上述したように第2図で示すような従来の二重化方式の
演算装置では、情報処理装置内において演算装置部の信
号遅延時間がマシンサイクル時間決定の主要因になって
いるような場合、パリティ生成のための信号遅延増加が
性能向上の妨げになるという欠点がある。
(Problems to be Solved by the Invention) As mentioned above, in the conventional duplex type arithmetic device as shown in FIG. In such cases, the disadvantage is that the increase in signal delay for parity generation hinders performance improvement.

本発明の目的は従来の2重化演算装置に比較して、信号
遅延時間が少ない演算装置全提供することにある。
An object of the present invention is to provide an arithmetic device with a shorter signal delay time compared to conventional duplex arithmetic devices.

(問題点を解決するための手段) 上記の目的を達成するため本発明による演算装置は複数
ビットからなる入力データに対して与えられた演算モー
ドにしたがって論理的に同一の演算を行ない、複数ビッ
トからなる出力データを得る第1および第2の演算器と
、前記第1の演算器の出力データの全ビラトラ格納する
、出力データと等しいビット幅?有する出力データレジ
スタと、前記第2の演算器の出力データの全ビラトラ入
力とし、予じめ定められた第1の条件にしたがって当該
入力と等しいか、またはそれよりも少ないビット幅の第
1の変換データケ出力する第1の変換器と、前記第1の
変換器の出力全格納する変換データレジスタと、前記変
換データレジスタの全ビットに入力として、予じめ定め
られた第2の条件にしたがって当該入力よりも少ないビ
ット幅の第2の変換データ會出力する第2の変換器と、
前記出力データレジスタの出力とをまとめて外部へ送出
する手段とからなる構成とする。
(Means for Solving the Problems) In order to achieve the above object, an arithmetic device according to the present invention performs logically the same operation on input data consisting of a plurality of bits according to a given operation mode, and first and second arithmetic units that obtain output data consisting of a bit width equal to the output data, which stores all of the output data of the first arithmetic unit; and an output data register having a bit width equal to or smaller than that of the input, according to a predetermined first condition. A first converter that outputs conversion data, a conversion data register that stores all outputs of the first converter, and input to all bits of the conversion data register according to a predetermined second condition. a second converter that outputs a second converted data having a bit width smaller than that of the input;
and means for collectively sending the output of the output data register to the outside.

(実 施 例) 次に本発明について図面?参照して説明する。(Example) Next, drawings about the present invention? Refer to and explain.

第1図は本発明による演算装置の一実施例を示すブロッ
ク図である。
FIG. 1 is a block diagram showing an embodiment of an arithmetic device according to the present invention.

第1図において演算器101Aとl0IBとはともに、
与えらnた入力データ151,152に対し℃演算モー
ド153で指定された算術/論理演算を行なうように作
られたまったく同−論理の演算回路である。
In FIG. 1, arithmetic units 101A and 10IB are both
These are arithmetic circuits having exactly the same logic and are designed to perform arithmetic/logical operations specified in the °C operation mode 153 on given input data 151 and 152.

演算器101Aの出力はそのまま出力データレジスタ1
02に格納される。
The output of the arithmetic unit 101A is sent directly to the output data register 1.
It is stored in 02.

本実施例においては説明全簡単化するために入力データ
151.152および出力データレジスタ102のビッ
ト幅はいずれも8ビツト(1バイト)でちゃ、外部装置
とのデータバスのインタフェースは8ビツトデータと1
ビツトのパリティが必要である場合に想定する。データ
幅が複数バイトの場合もバイト単位で見れは本実施例の
説明が適用できるのは明らかである。
In this embodiment, in order to simplify the explanation, the bit width of the input data 151, 152 and the output data register 102 are all 8 bits (1 byte), and the data bus interface with the external device is 8 bit data. 1
Assume that bit parity is required. It is clear that the explanation of this embodiment can be applied even when the data width is a plurality of bytes when viewed in byte units.

さて、次に演算器101Bの出力8ビツトがどのように
使われるかを説明する。
Now, how the 8 bits output from the arithmetic unit 101B are used will be explained.

演算器101Bの出力8ビツトは変換器103により4
ビツトに変換されて変換データレジスタ104に格納さ
れるがその具体的な内容は、8ビツトのうちの2ビツト
ずつ全個別に排他的論理和をとったものである。変換デ
ータレジスタ104の4ビツトの出力は変換器105に
よって排他的論理和をとられて1ビツトに変換される。
The 8 bits output from the arithmetic unit 101B are converted into 4 bits by the converter 103.
The data is converted into bits and stored in the conversion data register 104, and its specific contents are the exclusive OR of all 2 bits out of 8 bits. The 4-bit output of the conversion data register 104 is exclusive-ORed by the converter 105 and converted into 1-bit.

この1ビツトが結果的には出力データレジスタ102の
8ビツトのデータに対応する偶数パリティビットにほか
ならない。
This 1 bit is nothing but an even parity bit corresponding to 8 bits of data in the output data register 102.

このようにして得られたデータ8ビツトとパリティ1ビ
ツトが外部とのインタフェース154へ送出されること
になる。
The 8 bits of data and 1 bit of parity thus obtained are sent to the interface 154 with the outside.

ここで従来装置の例として示した第2図のパリティ生成
回路203と、本実施例の第1図の変換器103と全比
較してみれば、従来装置の場合8ビット分の排他的論理
和をとるため第3図のように2ビツトの排他論理和回路
301?3段経由する必要があるのに対して、本実施例
装置の場合それ全1段経由するだけで良いので、入力デ
ータからみた信号遅延時間が明らかに短縮されている。
If we compare the parity generation circuit 203 shown in FIG. 2 as an example of the conventional device with the converter 103 of FIG. In order to get The signal delay time is clearly reduced.

変換データレジスタ104の出力を変換器105で排他
的論理和をとる分、外部インタフェース154へ出てい
くパリティビットの信号遅延時間が増加しているが、こ
れは外部インタフェースの信号遅延時間に余裕があれば
現実的に可能なものであるし、その余裕が小さいのであ
れば変換器103と105とでの排他論理和のビット数
の割り振#)全適正に配分することにより必要な性能向
上金図ることが可能である。
The signal delay time of the parity bit output to the external interface 154 increases as the converter 105 performs exclusive OR on the output of the conversion data register 104, but this is because there is no margin in the signal delay time of the external interface. If there is, it is realistically possible, and if the margin is small, allocating the number of bits of the exclusive OR between converters 103 and 105 properly allocates the necessary performance improvement money. It is possible to achieve this goal.

変換データレジスタのビット幅?広げ扛はレジスタの金
物量の若干の増加はあっても変換器103での信号遅延
時間がより小さくできるので、性能向上への効果を考え
て実際の装置の設計においては色々なビット幅の組付せ
が考えられる。
Bit width of conversion data register? Widening can reduce the signal delay time in the converter 103 even if the amount of metal in the register increases slightly, so in order to improve performance, various bit width combinations are used in the actual device design. An attachment can be considered.

(発明の効果) 以上、説明したように本発明は二重化した演算器でのパ
リティビット生成用の論理回路のように単なるデータ演
算だけの論理回路に比べて信号遅延時間が大きくなって
しまう場合の遅延増加分を少なくすることによシ、従来
に比べて高性能の演算装置を実現できる効果がある。
(Effects of the Invention) As explained above, the present invention can be applied to cases where the signal delay time is longer than that of a logic circuit that only performs data operations, such as a logic circuit for generating parity bits in a duplex arithmetic unit. By reducing the increase in delay, it is possible to realize a higher performance arithmetic device than in the past.

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

第1図は本発明による演算装置の一実施例を示すブロッ
ク図、第2図は従来の演算装置の一例を示すブロック図
、第3図は第2図におけるパリティ生成回路203の具
体的な回路を示す図である。 101A、l01B、201A、201B・・・演算器
102.202,204・・・レジスタ103.105
,203・・・排他的論理和回路特許出願人  日本電
気株式会社 代理人 弁理士 井 ノ ロ   壽 1FM 22図 第3図
FIG. 1 is a block diagram showing an embodiment of an arithmetic device according to the present invention, FIG. 2 is a block diagram showing an example of a conventional arithmetic device, and FIG. 3 is a specific circuit of the parity generation circuit 203 in FIG. FIG. 101A, l01B, 201A, 201B...Arithmetic units 102.202, 204...Registers 103.105
, 203... Exclusive OR circuit patent applicant NEC Corporation representative Patent attorney Hisashi Inoro 1FM Figure 22 Figure 3

Claims (1)

【特許請求の範囲】[Claims] 複数ビットからなる入力データに対して、与えられた演
算モードにしたがつて論理的に同一の演算を行ない、複
数ビットからなる出力データを得る第1および第2の演
算器と、前記第1の演算器の出力データの全ビットを格
納する、出力データと等しいビット幅を有する出力デー
タレジスタと、前記第2の演算器の出力データの全ビッ
トを入力とし、予じめ定められた第1の条件にしたがつ
て当該入力と等しいか、またはそれよりも少ないビット
幅の第1の変換データを出力する第1の変換器と、前記
第1の変換器の出力を格納する変換データレジスタと、
前記変換データレジスタの全ビットを入力として、予じ
め定められた第2の条件にしたがつて当該入力よりも少
ないビット幅の第2の変換データを出力する第2の変換
器と、前記出力データレジスタの出力とをまとめて外部
へ送出する手段とから構成したことを特徴とする演算装
置。
first and second arithmetic units that perform logically identical operations on input data consisting of a plurality of bits according to a given operation mode to obtain output data consisting of a plurality of bits; an output data register which stores all bits of the output data of the arithmetic unit and has a bit width equal to the output data, and a predetermined first a first converter that outputs first converted data having a bit width equal to or less than that of the input according to a condition; and a converted data register that stores the output of the first converter;
a second converter that receives all bits of the conversion data register as input and outputs second conversion data having a bit width smaller than that of the input according to a predetermined second condition; and the output 1. An arithmetic device comprising means for collectively transmitting the outputs of the data register and the outputs to the outside.
JP61235595A 1986-10-03 1986-10-03 Arithmetic unit Pending JPS6389928A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61235595A JPS6389928A (en) 1986-10-03 1986-10-03 Arithmetic unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61235595A JPS6389928A (en) 1986-10-03 1986-10-03 Arithmetic unit

Publications (1)

Publication Number Publication Date
JPS6389928A true JPS6389928A (en) 1988-04-20

Family

ID=16988328

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61235595A Pending JPS6389928A (en) 1986-10-03 1986-10-03 Arithmetic unit

Country Status (1)

Country Link
JP (1) JPS6389928A (en)

Similar Documents

Publication Publication Date Title
JPH0991197A (en) Data transfer controller
JPH04358245A (en) Data communication equipment
US4172288A (en) Binary or BCD adder with precorrected result
US5398327A (en) Central processing unit including two-valued/n-valued conversion unit
US4623872A (en) Circuit for CSD-coding of a binary number represented in two's complement
EP0180005A2 (en) Dual incrementor
JPS6389928A (en) Arithmetic unit
US5821850A (en) Method and apparatus for comparing magnitude of data from a plurality of data sources
US6314156B1 (en) Space-efficient multi-cycle barrel shifter circuit
JPS6116357A (en) Data transfer device
JPS61852A (en) Data transmission system
RU1833865C (en) N-digit parallel adder
SU744566A1 (en) Combination adder
SU1061131A1 (en) Binary code/compressed code translator
SU999039A1 (en) Reflected binary to positional binary code converter
SU1501169A1 (en) Mask code shaper
SU1488798A1 (en) Unit of priority request servicing
JPS6314543A (en) Serial/parallel converting circuit
JPS6214858B2 (en)
JPH0298300A (en) Multichannel controller
JPS61193523A (en) Semiconductor logical integrated device
JPH0728228B2 (en) Convolutional encoder
JPH06139211A (en) Parallel data processor
JPH0659968A (en) Bit/byte conversion circuit
JPS6158326A (en) Mbnb code converting circuit