JPS60218133A - High-speed arithmetic circuit - Google Patents

High-speed arithmetic circuit

Info

Publication number
JPS60218133A
JPS60218133A JP59073961A JP7396184A JPS60218133A JP S60218133 A JPS60218133 A JP S60218133A JP 59073961 A JP59073961 A JP 59073961A JP 7396184 A JP7396184 A JP 7396184A JP S60218133 A JPS60218133 A JP S60218133A
Authority
JP
Japan
Prior art keywords
circuit
minimum value
decoding
encoding
output
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
JP59073961A
Other languages
Japanese (ja)
Inventor
Takashi Kondo
隆志 近藤
Masatsugu Kidode
正継 木戸出
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP59073961A priority Critical patent/JPS60218133A/en
Publication of JPS60218133A publication Critical patent/JPS60218133A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To execute arithmetic rapidly in parallel by executing prescribed arithmetic on the basis of values obtained by decoding input values and encoding the results. CONSTITUTION:Input values IN1-4 are respective decoded to 7-bit signals by a decoding circuit 10 and bits corresponding to the input value are current to ''1'', the minimum value is found out from respective output signals by a minimum value detecting circuit 20 arraying AND gates 21-27 in parallel and the output of the circuit 20 is encoded to a binary number by an encoding circuit 30 to output the binary number.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は、量子化された数値演算を行う高速演算回路に
関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a high-speed calculation circuit that performs quantized numerical calculations.

〔発明の技術的背景とその問題点〕[Technical background of the invention and its problems]

従来、デジタル的に各種の演算を行う場合、数値を2進
符号化して演算するようにしている。このため、演算素
子数は少なくて済むが、演算の並列化が十分に行えず、
高速化をはかることば回能であった。
BACKGROUND ART Conventionally, when various calculations are performed digitally, numerical values are encoded in binary form. For this reason, although the number of calculation elements can be reduced, it is not possible to parallelize the calculations sufficiently.
The word for speeding up was speed.

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

本発明の目的は、演算の並列化をはかり、各種の演算を
高速に行い得る高速演算回路を提供することにある。
An object of the present invention is to provide a high-speed arithmetic circuit that can parallelize operations and perform various operations at high speed.

〔発明の概要〕[Summary of the invention]

本発明の骨子は、最近の集積回路技術の進歩を有効利用
し、多数の演算素子を並列に使用することにより、高速
演算を実現することにある。
The gist of the present invention is to realize high-speed calculation by effectively utilizing recent advances in integrated circuit technology and using a large number of calculation elements in parallel.

即ち本発明は、量子化された数値の演算を行う演算回路
において、2進数や10進数等として入力された値をデ
コードする手段と、上記デコードされた値により所定の
演算を行う手段と、上記演算された演算結果をエンコー
ドする手段とを設けるようにしたものである。
That is, the present invention provides, in an arithmetic circuit that performs arithmetic operations on quantized numerical values, means for decoding a value inputted as a binary number, decimal number, etc., means for performing a predetermined operation using the decoded value, and the above-mentioned method. A means for encoding the result of the calculation is provided.

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

本発明によれば、デコードされたピッ]・毎に並列演算
を行っているので、高速演舞を実現することができる。
According to the present invention, since parallel calculations are performed for each decoded pip, high-speed performances can be realized.

特に、多数の入力値の最小値や最大値をめる等、複雑な
演算程高速化の効果が大きくなる。なお、デコードした
信号に基づいて演算を行うことから素子数は多くなるが
、素子数増加は最近の集積回路技術の進歩から殆ど問題
とならないのである。
In particular, the more complex the operation is, such as finding the minimum or maximum value of a large number of input values, the greater the effect of speeding up the operation. Note that the number of elements increases because calculations are performed based on decoded signals, but the increase in the number of elements hardly poses a problem due to recent advances in integrated circuit technology.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の詳細を図示の実施例によって説明する。 Hereinafter, details of the present invention will be explained with reference to illustrated embodiments.

第1図は本発明の一実施例に係わる高速演算回路(最小
値演算回路)の概略を示す回路構成図である。図中1更
(11,12,13,14)はデコード回路であり、こ
のデコード回路玉止は4つの入力1直INI〜IN4を
7ビツトの信号にそれぞれデコードするものである。ま
た、デコード回路1止は、例えば第2図に示す如く4つ
のORゲ−1−15a、 〜、15d及び4つのAND
ゲート16a、〜、16dからなるもので、次頁衣に示
す如く入力値と同じ数だけのビットが1゛′となるよう
にデコードを行う。
FIG. 1 is a circuit diagram schematically showing a high-speed calculation circuit (minimum value calculation circuit) according to an embodiment of the present invention. In the figure, the first row (11, 12, 13, 14) is a decoding circuit, and this decoding circuit decoder decodes the four inputs INI to IN4 into 7-bit signals, respectively. Further, the decoding circuit 1 includes, for example, four OR games 1-15a to 15d and four AND gates as shown in FIG.
It consists of gates 16a, .

3− デコード回路ユの各出力信号は最小値検出回路IQ−に
供給される。最小値検出回路ユは7つのANDゲー1〜
21.〜27を並列に配列してなるもので、この1段の
ANDゲー1−21、〜27だけで最小値がまる。前記
4つの入力値IN1〜rN4が、例えば前記衣のような
場合、最小値検出回路1更の出力は01と02のみが1
°′で、他は“O′′となる。最小値検出回路20の出
力はエンコード回路30に供給される。エンコード回路
30は、例えば第3図に示す如く4つのANDゲー1−
31 a、 〜、31 d、4つのインバータ32a、
 〜、32d及び2つのORゲート33a。
3- Each output signal of the decoding circuit I is supplied to the minimum value detection circuit IQ-. The minimum value detection circuit consists of 7 AND games 1~
21. .about.27 are arranged in parallel, and the minimum value can be calculated only by this one-stage AND game 1-21 and .about.27. If the four input values IN1 to rN4 are, for example, like the clothes, the output of the minimum value detection circuit 1 is only 01 and 02.
°' and the others are "O". The output of the minimum value detection circuit 20 is supplied to the encoder circuit 30. The encoder circuit 30 consists of, for example, four AND gates 1-1 as shown in FIG.
31a, ~, 31d, four inverters 32a,
~, 32d and two OR gates 33a.

33bからなるもので、上記入力した信号を2進数に]
−ド化して出力する。
33b, converts the input signal above into a binary number]
- output as a code.

このような構成であれば、デコード回路上広に入力した
4つの2進数信号からその最小値を演算することができ
る。そしてこの場合、最小値演算回路拉を1段のAND
ゲート21.〜.27の並列配置で構成できるので、演
算処理に要する時間を大幅に短縮することができる。
With such a configuration, it is possible to calculate the minimum value from four binary signals widely input to the decoding circuit. In this case, the minimum value calculation circuit is a one-stage AND
Gate 21. ~. Since it can be configured with 27 parallel arrangements, the time required for arithmetic processing can be significantly shortened.

5− −4〜 なお、本発明は上述した実施例に限定されるものではな
い。例えば、前記デコード回路の個数は4つに限るもの
ではなく、入力する信号の数に応じて適宜さだめればよ
い。さらに、デコード回路、最小値検出回路及びエンコ
ード回路等の具体的構成は、仕様に応じて適宜変更可能
である。また、最小値の演算に限らず、最大値の演算に
も適用できるのは、勿論のことである。また、前記実施
例のようにデコードされた2つの値のビット毎の排他的
論理和を取ることにより、差の絶対値の数だけ1″の数
が並ぶデータが得られる。そして、第4図に示す如<m
1llilずつ離れたビットの論理積を取った後で、論
理和を取ることにより、差の絶対値が(m−1−1>以
上かどうかを高速に判定することが可能である。なお、
第4図の例ではm−2で、また図中418.〜.41e
はANDゲート、42はORゲートを示している。その
他、本発明の要旨を逸脱しない範囲で、種々変形して実
施することができる。
5--4~ Note that the present invention is not limited to the embodiments described above. For example, the number of decoding circuits is not limited to four, and may be increased as appropriate depending on the number of input signals. Furthermore, the specific configurations of the decoding circuit, minimum value detection circuit, encoding circuit, etc. can be changed as appropriate according to specifications. Furthermore, it goes without saying that the present invention can be applied not only to the calculation of the minimum value but also to the calculation of the maximum value. Furthermore, by taking the bitwise exclusive OR of the two decoded values as in the above embodiment, data in which the number of 1''s is lined up as many as the absolute value of the difference can be obtained. As shown in <m
By taking the logical product of bits separated by 1 lil and then taking the logical sum, it is possible to quickly determine whether the absolute value of the difference is greater than or equal to (m-1-1>.
In the example of FIG. 4, it is m-2, and 418. ~. 41e
indicates an AND gate, and 42 indicates an OR gate. In addition, various modifications can be made without departing from the gist of the present invention.

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

6− 第1図は本発明の一実施例に係わる最小値演算回路の概
略構成を示す回路構成図、第2図は上記回路に使用した
デコード回路の具体的構成を示す回路構成図、第3図は
上記装置に使用したエンコード回路の具体的構成を示す
回路構成図、第4図は変形例を説明するためのもので差
の絶対値判定回路の具体的構成を示す回路構成図である
。 1凱、11.12,13.14・・・デコード回路、1
5a、 〜、15d、33a、33b、42・・・OR
ゲート、16a、 〜、16d、21.〜。 27.31a、 〜31d、41a、 〜41e・・・
ANDゲーh、20・・・最小値検出回路、30 ・・
・エンコード回路、32a、 〜、32c0出願人代理
人 弁理士 鈴江武彦 7− (2つのデ゛コー)追ゆ祠りぞ的鼾ン理才p)−911
6- FIG. 1 is a circuit configuration diagram showing a schematic configuration of a minimum value calculation circuit according to an embodiment of the present invention, FIG. 2 is a circuit configuration diagram showing a specific configuration of a decoding circuit used in the above circuit, and FIG. This figure is a circuit configuration diagram showing a specific configuration of the encoding circuit used in the above device, and FIG. 4 is a circuit configuration diagram showing a specific configuration of an absolute value determination circuit for explaining a modification example. 1 Kai, 11.12, 13.14...Decoding circuit, 1
5a, ~, 15d, 33a, 33b, 42...OR
Gates, 16a, -, 16d, 21. ~. 27.31a, ~31d, 41a, ~41e...
AND game h, 20...minimum value detection circuit, 30...
・Encoding circuit, 32a, ~, 32c0 Applicant's agent Patent attorney Takehiko Suzue 7- (Two decos) A snoring logician p) -911

Claims (2)

【特許請求の範囲】[Claims] (1)入力された値をデコードする手段と、上記デコー
ドされた値により所定の演算を行う手段と、上記演算さ
れた演算結果をエンコードする手段とを具備してなるこ
とを特徴とする高速演算回路。
(1) A high-speed operation characterized by comprising means for decoding an input value, means for performing a predetermined operation using the decoded value, and means for encoding the result of the operation. circuit.
(2) 前記デコード手段は、入力値と同じ数だけのピ
ットが“1”となるようデコードするものであることを
特徴とする特許請求の範囲第1項記載の高速演算回路。
(2) The high-speed arithmetic circuit according to claim 1, wherein the decoding means decodes so that the same number of pits as the input value become "1".
JP59073961A 1984-04-13 1984-04-13 High-speed arithmetic circuit Pending JPS60218133A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59073961A JPS60218133A (en) 1984-04-13 1984-04-13 High-speed arithmetic circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59073961A JPS60218133A (en) 1984-04-13 1984-04-13 High-speed arithmetic circuit

Publications (1)

Publication Number Publication Date
JPS60218133A true JPS60218133A (en) 1985-10-31

Family

ID=13533180

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59073961A Pending JPS60218133A (en) 1984-04-13 1984-04-13 High-speed arithmetic circuit

Country Status (1)

Country Link
JP (1) JPS60218133A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0202023A2 (en) * 1985-04-16 1986-11-20 Kawasaki Steel Corporation Support device for moving metal strip

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0202023A2 (en) * 1985-04-16 1986-11-20 Kawasaki Steel Corporation Support device for moving metal strip
EP0202023A3 (en) * 1985-04-16 1987-10-07 Kawasaki Steel Corporation Support device for moving metal strip

Similar Documents

Publication Publication Date Title
US4761760A (en) Digital adder-subtracter with tentative result correction circuit
EP0660226B1 (en) Limiter circuit
JPH0746310B2 (en) Semiconductor logic circuit
CA1240063A (en) Digital companding circuit
JPS60218133A (en) High-speed arithmetic circuit
JPH0212327A (en) Mask generator
US6392570B1 (en) Method and system for decoding 8-bit/10-bit data using limited width decoders
JPH01187630A (en) Size comparison circuit
JPS6083138A (en) Detector
JPH01163836A (en) Method of apparatus for evaluate conditions of data processor clearly
JPH03178224A (en) Decoder with enable signal
JP3567510B2 (en) Interrupt priority judgment circuit
JP3525582B2 (en) Bit operation circuit
JPS6374308A (en) Digital arithmetic circuit
JPH08139613A (en) Code coincidence detecting system
JPH11261424A (en) Huffman decoder
JPS63239526A (en) Priority encoder
JPH02148140A (en) Conditional branch control system for information processor
JPS59158438A (en) Shift circuit
JPH03135209A (en) Arithmetic processing unit
JPH0512822Y2 (en)
JPH0517574B2 (en)
JPS5667453A (en) Information processor with data generation part
JPH01190129A (en) Chip selecting circuit for decoder
JPS6148036A (en) Processing unit