JP2002014804A - Ternary digital circuit - Google Patents

Ternary digital circuit

Info

Publication number
JP2002014804A
JP2002014804A JP2000196016A JP2000196016A JP2002014804A JP 2002014804 A JP2002014804 A JP 2002014804A JP 2000196016 A JP2000196016 A JP 2000196016A JP 2000196016 A JP2000196016 A JP 2000196016A JP 2002014804 A JP2002014804 A JP 2002014804A
Authority
JP
Japan
Prior art keywords
bit
carry
digital data
bit string
data
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.)
Granted
Application number
JP2000196016A
Other languages
Japanese (ja)
Other versions
JP3418595B2 (en
Inventor
Hideki Fukuda
秀樹 福田
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.)
New Japan Radio Co Ltd
Original Assignee
New Japan Radio 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 New Japan Radio Co Ltd filed Critical New Japan Radio Co Ltd
Priority to JP2000196016A priority Critical patent/JP3418595B2/en
Publication of JP2002014804A publication Critical patent/JP2002014804A/en
Application granted granted Critical
Publication of JP3418595B2 publication Critical patent/JP3418595B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an arithmetic circuit capable of reducing the propagation of a carry signal with a relatively simple constitution. SOLUTION: Two data A and B corresponding to ternary digital data expressed as the combination of binary digital data are added by this following expression (A+, A-)+(B+, B-), and A++B+ is calculated by a first full adder 1, and A-+B- is calculated by a second full adder, and the result is inputted to a compensating circuit 3, and only when arithmetic outputs Sum+, Sum- of the first and second full adders 1 and 2 are both made equivalent to a logical value High, the final outputs Sum+, Sum- are both turned into a logical value Low, and in the other case, the final outputs Sum+, Sum- are made matched with the arithmetic outputs Sum+, Sum- of the first and second full adders 1 and 2 by the compensating circuit 3. Thus, it is possible to obtain the arithmetic result of the ternary digital data based on a prescribed rule.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、ディジタルデータ
の加減算処理に係り、特に、その処理の高速化を図った
符号化方法及び演算回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to digital data addition and subtraction processing, and more particularly, to an encoding method and an arithmetic circuit for speeding up the processing.

【0002】[0002]

【従来の技術】ディジタルデータの加算・減算を行う加
減算器は、各種のディジタル信号処理回路で多用される
が、このようなディジタル加減算器としては、例えば、
図11に示されたように、いわゆる全加算器(図11に
おいては「FA」と表記)を、必要とされるビット数に
応じて多段に接続してなるリップルキャリ形並列加算回
路が公知・周知となっている。
2. Description of the Related Art An adder / subtracter for performing addition / subtraction of digital data is often used in various digital signal processing circuits.
As shown in FIG. 11, a so-called full adder (referred to as "FA" in FIG. 11) is connected in multiple stages according to the required number of bits. It is well known.

【0003】[0003]

【発明が解決しようとする課題】このリップルキャリ形
並列加算回路は、構成が簡素であるが、扱うビット数が
増えるにしたがい、いわゆる桁上げ(キャリ)信号(図
11においては「C´」又は「C」と表記された箇所の
信号)の伝搬時間が増え、そのため、演算処理が終了す
るまで時間がかかり、回路の高速化の要請に応えられな
いという欠点がある。このようなリップルキャリ形並列
加算回路の欠点を解消する回路として、例えば図12に
示されたようなキャリルックアヘッド(CLA)形加算
回路が提案されており、公知・周知となっている。すな
わち、かかるキャリルックアヘッド形加算回路は、キャ
リルックアヘッド(Carry look ahead)回路と称される桁
上げ信号を処理するための回路を設けて、リップルキャ
リ形並列加算回路におけるような処理ビット数の増加に
伴う桁上げ信号の伝搬時間の増大という不都合を回避で
きるようにしたものである。しかしながら、リップルキ
ャリ形並列加算回路に比して、回路構成が複雑となり、
ゲート数が多いために、特に、集積化が図られるような
ディジタル信号処理装置においては不向きであるという
欠点がある。この他、リップルキャリ形並列加算回路よ
りも高速化を図った加算回路としては、キャリーセーブ
形加算回路や、フォーレスリー形加算回路等が公知・周
知となっているが、いずれも構成が複雑でゲート数が多
く、キャリルックアヘッド形加算回路と同様な欠点を有
するものである。
This ripple carry type parallel adder circuit has a simple structure, but as the number of bits to be handled increases, a so-called carry signal ("C '" or "C'" in FIG. 11). Propagation time of a signal at a portion denoted by "C" increases, and therefore, it takes time until the arithmetic processing is completed, and there is a disadvantage in that it is not possible to meet a demand for a high-speed circuit. As a circuit for solving such a drawback of the ripple carry type parallel addition circuit, for example, a carry look-ahead (CLA) type addition circuit as shown in FIG. 12 has been proposed, which is publicly known. That is, such a carry look-ahead type adder circuit is provided with a circuit for processing a carry signal called a carry look ahead (Carry look ahead) circuit to reduce the number of processing bits as in the ripple carry type parallel adder circuit. The inconvenience of increasing the carry time of the carry signal due to the increase can be avoided. However, the circuit configuration becomes more complicated than the ripple carry type parallel addition circuit,
Since the number of gates is large, there is a disadvantage that it is unsuitable especially for a digital signal processing device which can be integrated. In addition, carry-save-type adders, forresley-type adders, and the like are known and well-known as adders that achieve higher speeds than the ripple carry-type parallel adder, but all have complicated configurations. It has a large number of gates and has the same drawbacks as the carry look-ahead adder circuit.

【0004】本発明は、上記実状に鑑みてなされたもの
で、従来の二値論理素子を流用して、比較的簡易な構成
で、いわゆる桁上げ信号の伝搬が少なくて済む三値ディ
ジタル信号の演算が可能な三値ディジタル回路を提供す
るものである。本発明の他の目的は、二値ディジタル信
号を演算の際に桁上げの伝搬が少なくて済むような符号
に符号化するための符号化方法及びその符号化されたデ
ータを元の二値ディジタル信号へ簡易に復号するための
復号化方法並びにこれら符号化及び復号化に適する回路
を提供することにある。
SUMMARY OF THE INVENTION The present invention has been made in view of the above situation, and uses a conventional binary logic element, has a relatively simple configuration, and can transmit a so-called carry signal. An object of the present invention is to provide a ternary digital circuit capable of performing calculations. Another object of the present invention is to provide an encoding method for encoding a binary digital signal into a code that requires less carry propagation in an operation, and an encoding method for converting the encoded data to an original binary digital signal. An object of the present invention is to provide a decoding method for easily decoding a signal and a circuit suitable for the encoding and decoding.

【0005】[0005]

【課題を解決するための手段】上記本発明の課題を達成
するため、本発明に係る三値ディジタル回路は、三値デ
ィジタルデータの−1を(0,1)と、三値ディジタル
データの0を(0,0)と、三値ディジタルデータの+
1を(1,0)と二値ディジタルデータの組み合わせと
して表すことを基本として、三値ディジタルデータを、
(第1の符号化ビット列,第2の符号化ビット列)と表
現することを前提とし、2つの三値ディジタルデータに
対応する上記表記方法に基づく前記二値ディジタルデー
タA及びBの各々の第1及び第2の符号化ビット列が共
にmビットであり、前記二値ディジタルデータAが(A
m-1Am-2・・・A0,Am-1Am-2・・・A
0)、前記二値ディジタルデータBが(Bm-1Bm-2
・・・B0,Bm-1 Bm-2・・・B0)である場
合において、これら2つの二値ディジタルデータの加算
(Am-1Am-2・・・A0,Am-1Am-2・・・
A0)+(Bm-1Bm-2・・・B0,Bm-1Bm-2
・・・B0)を、それぞれの第1の符号化ビット列
の対応するビット同士の加算演算と、それぞれの第2の
複数のビット列の対応するビット同士の加算演算とを、
それぞれ行い、それらの演算結果として得られる二値デ
ィジタルデータの組み合わせを前記2つの二値ディジタ
ルデータAとBとの加算結果とする演算を実行するため
の三値ディジタル回路であって、前記二値ディジタルデ
ータAの第1及び第2の符号化ビット列の所定のビット
位置αにおけるビットの組み合わせ(Aα,Aα
と、前記二値ディジタルデータBにおける前記所定のビ
ット位置αにおける1ビットの組み合わせ(Bα ,B
α)の加算処理を行う単位ビット処理部が、前記ビッ
ト数mに応じて設けられてなり、前記単位ビット処理部
は、二つの入力端子と、一つの桁上げ入力端子と、一つ
の演算出力端子と、一つの桁上げ出力端子とを有してな
る第1の全加算器と、二つの入力端子と、一つの桁上げ
入力端子と、一つの演算出力端子と、一つの桁上げ出力
端子とを有してなる第2の全加算器と、二つの入力端子
と二つの出力端子を有し、一方の入力端子は、前記第1
の全加算器の演算出力端子に、他方の入力端子は、前記
第2の全加算器の演算出力端子に、それぞれ接続され、
前記第1及び第2の全加算器の演算出力端子に共に論理
値Highが出力された場合にのみ前記二つの出力端子
から論理値Lowが出力される一方、前記第1及び第2
の全加算器の演算出力端子が共に論理値High以外の
状態となった場合には、一方の出力端子は、第1の全加
算器の演算出力端子の出力状態と同一の出力状態とさ
れ、他方の出力端子は、第2の全加算器の演算出力端子
の出力状態と同一の出力状態とされるよう構成されてな
る補正回路とを有してなり、前記二値ディジタルデータ
の最下位ビットを処理する単位ビット処理部の第1及び
第2の全加算器の桁上げ入力端子は、論理値Lowの状
態に保持される一方、前記各々の単位ビット処理部の第
1の全加算器の桁上げ出力端子は、上位ビットに対応す
る単位ビット処理部の第1の全加算器の桁上げ入力端子
に、前記各々の単位ビット処理部の第2の全加算器の桁
上げ出力端子は、上位ビットに対応する単位ビット処理
部の第1の全加算器の桁上げ入力端子に、それぞれ接続
されてなり、前記各々の単位ビット処理部の一方の出力
端子にそれぞれ得られる出力データを最上位ビット側か
ら順次並べて第1のビット列とし、前記各々の単位ビッ
ト処理部の他方の出力端子にそれぞれ得られる出力デー
タを最上位ビット側から順次並べて第2のビット列とし
た場合、(第1のビット列,第2のビット列)と表され
たものが、前記2つの二値ディジタルデータAとBとの
加算結果とされるよう構成されてなるものである。
The object of the present invention is achieved.
Therefore, the ternary digital circuit according to the present invention
-1 of digital data is (0,1) and ternary digital
Data 0 is (0,0), and ternary digital data +
1 is the combination of (1,0) and binary digital data
Basically, ternary digital data is expressed as
(First encoded bit string, second encoded bit string) and table
On the premise that it is represented by two ternary digital data
The binary digital data based on the corresponding notation
The first and second encoded bit strings of each of the
, And the binary digital data A is (A
m-1+Am-2+... A0+, Am-1Am-2... A
0), The binary digital data B is (Bm-1+Bm-2
+... B0+, Bm-1 Bm-2... B0Place)
The sum of these two binary digital data
(Am-1+Am-2+... A0+, Am-1Am-2...
A0) + (Bm-1+Bm-2+... B0+, Bm-1Bm-2
... B0) To each of the first encoded bit strings
Of the corresponding bits, and the second
The addition operation of corresponding bits of a plurality of bit strings is
Respectively, and the binary data
Combining digital data with the two binary
To perform an operation that is the result of adding data A and B
The ternary digital circuit of
Predetermined bits of the first and second encoded bit strings of data A
Bit combination at position α (Aα+, Aα)
And the predetermined bit in the binary digital data B.
1 bit combination at the bit position α (Bα +, B
αThe unit bit processing unit that performs the addition process of
The unit bit processing unit.
Has two input terminals, one carry input terminal and one
Operation output terminal and one carry output terminal.
A first full adder, two input terminals and one carry
Input terminal, one operation output terminal, one carry output
A second full adder having a terminal and two input terminals
And two output terminals, one of which is connected to the first
To the operation output terminal of the full adder, and the other input terminal
Respectively connected to the operation output terminal of the second full adder,
Logic is applied to both the operation output terminals of the first and second full adders.
The two output terminals only when the value High is output.
Outputs a logical value Low, while the first and second logical values
Of the full adder have a logical value other than High
State, one output terminal is connected to the first full adder.
The output state is the same as the output state of the operation output terminal of the arithmetic unit.
The other output terminal is an operation output terminal of the second full adder.
Output state is the same as the output state of
The binary digital data.
Of a unit bit processing unit that processes the least significant bit of
The carry input terminal of the second full adder has a logical low state.
While the unit bit processing unit
The carry output terminal of the full adder of 1 corresponds to the upper bit.
Carry input terminal of the first full adder of the unit bit processing unit
The digit of the second full adder of each unit bit processing unit
The rising output terminal processes unit bits corresponding to the upper bits.
Connected to the carry input terminal of the first full adder of the section
One output of each of the unit bit processing units
The output data obtained at each pin is
Are sequentially arranged to form a first bit string, and each of the unit bits is
Output data obtained at the other output terminal of the
Are sequentially arranged from the most significant bit side to form a second bit string.
Is represented as (first bit string, second bit string)
Is the combination of the two binary digital data A and B.
It is configured to be a result of addition.

【0006】かかる構成においては、三値ディジタル信
号を二値ディジタル信号の組み合わせにより表現して演
算に用いることができるよう構成されており、そのた
め、従来の二値論理素子を流用して、比較的簡易な構成
で、いわゆる桁上げ信号の伝搬が少なくて済む演算回路
が提供できるものとなっている。
In such a configuration, the ternary digital signal is configured to be expressed by a combination of the binary digital signals and can be used for the operation. An arithmetic circuit having a simple configuration and requiring less propagation of a so-called carry signal can be provided.

【0007】また、本発明の目的を達成するため、本発
明に係る符号化方法は、正数の二値ディジタルデータ
を、(第1の符号化ビット列,第2の符号化ビット列)
で表現されるデータに符号化するための符号化方法であ
って、前記二値ディジタルデータを、その最上位ビット
側へ1ビットシフトすると共に、最下位ビットに零を加
えて新たな第1のビット列を得、これを(第1のビット
列,0)とする一方、前記二値ディジタルデータのビッ
ト列を第2のビット列として、これを(0,第2のビッ
ト列)とし、(第1のビット列,0)+(0,第2のビ
ット列)の加算演算を、所定の演算規則に基づいて行
い、その演算結果を、(第1の符号化ビット列,第2の
符号化ビット列)とし、前記所定の演算規則は、前記
(第1のビット列,0)+(0,第2のビット列)の各
々のビットにおいて、(0,0)+(0,0)の場合、
その演算結果を(0,0)と共に、桁上げを(0,0)
とし、(0,0)+(1,0)の場合、その演算結果を
(1,0)とすると共に、桁上げを(0,0)とし、
(0,0)+(0,1)の場合、その演算結果を(0,
1)とすると共に、桁上げを(0,0)とし、(1,
0)+(1,0)の場合、その演算結果を(0,0)と
すると共に、桁上げを(1,0)として、当該桁上げに
より生じたデータを上位ビットの加算演算に加え、
(0,1)+(0,1)の場合、その演算結果を(0,
0)とすると共に、桁上げを(0,1)として、当該桁
上げにより生じたデータを上位ビットの加算演算に加
え、(1,0)+(0,1)の場合、その演算結果を
(0,0)とすると共に、桁上げを(0,0)とするも
のである。
Further, in order to achieve the object of the present invention, the encoding method according to the present invention converts a positive binary digital data into a (first encoded bit sequence, a second encoded bit sequence)
Wherein the binary digital data is shifted by one bit to the most significant bit side and zero is added to the least significant bit to form a new first digital data. A bit string is obtained and set as (first bit string, 0), while the bit string of the binary digital data is set as a second bit string, and set as (0, second bit string). 0) + (0, second bit string) is performed based on a predetermined calculation rule, and the result of the addition is defined as (first coded bit string, second coded bit string). The operation rule is that, for each bit of the (first bit string, 0) + (0, second bit string), (0,0) + (0,0)
The result of the operation is (0,0) and the carry is (0,0).
In the case of (0,0) + (1,0), the operation result is (1,0), and the carry is (0,0).
In the case of (0,0) + (0,1), the calculation result is (0,0)
1), and carry (0, 0), (1,
In the case of (0) + (1,0), the operation result is (0,0), the carry is (1,0), and the data resulting from the carry is added to the addition operation of the upper bits,
In the case of (0,1) + (0,1), the calculation result is (0,1).
0), the carry is (0, 1), the data generated by the carry is added to the addition operation of the upper bits, and in the case of (1, 0) + (0, 1), the operation result is (0, 0) and carry (0, 0).

【0008】かかる符号化方法においては、従来の二値
ディジタルデータが、二組の二値ディジタルデータの組
み合わせの表現に変換されることで、第1の発明に係る
三値ディジタル回路によって演算可能となり、従来の二
値ディジタルデータを用いて演算する場合に比して桁上
げ信号の伝搬が少なくて済み、より効率的なデータ処理
を可能とするものである。
In this encoding method, the conventional binary digital data is converted into a representation of a combination of two sets of binary digital data, so that it can be operated by the ternary digital circuit according to the first invention. The transmission of a carry signal can be reduced as compared with the case where a calculation is performed using conventional binary digital data, thereby enabling more efficient data processing.

【0009】さらに、本発明の目的を達成するため、本
発明に係る復号化方法は、請求項3記載の符号化方法に
より得られた符号化データ(第1の符号化ビット列,第
2の符号化ビット列)を、元の二値ディジタルデータへ
復号化するための復号化方法であって、前記第1の符号
化ビット列の各々ビットを反転し、その結果を第1のビ
ット列とし、これを(第1のビット列,0)と表し、前
記(第1のビット列,0)+(0,第2の符号化ビット
列)の加算演算を、所定の演算規則に基づいて行い、そ
の演算結果として(第2のビット列,0)を得、前記第
1の符号化ビット列について、その最上位ビット側へ1
ビットシフトすると共に、最下位ビットに1を加えて新
たな第3のビット列を得、これを(第3のビット列,
0)と表し、前記(第2のビット列,0)+前記(第3
のビット列,0)の加算演算を、前記演算規則に基づい
て行い、その演算結果として得られる(復号ビット列,
0)の当該復号ビット列を復号化された二値ディジタル
データとする一方、前記所定の演算規則は、演算対象の
各々のビットにおいて、(0,0)+(0,0)の場
合、その演算結果を(0,0)と共に、桁上げを(0,
0)とし、(0,0)+(1,0)の場合、その演算結
果を(1,0)とすると共に、桁上げを(0,0)と
し、(0,0)+(0,1)の場合、その演算結果を
(0,1)とすると共に、桁上げを(0,0)とし、
(1,0)+(1,0)の場合、その演算結果を(0,
0)とすると共に、桁上げを(1,0)として、当該桁
上げにより生じたデータを上位ビットの加算演算に加
え、(0,1)+(0,1)の場合、その演算結果を
(0,0)とすると共に、桁上げを(0,1)として、
当該桁上げにより生じたデータを上位ビットの加算演算
に加え、(1,0)+(0,1)の場合、その演算結果
を(0,0)とすると共に、桁上げを(0,0)とする
ものである。
Further, in order to achieve the object of the present invention, a decoding method according to the present invention provides encoded data (a first encoded bit sequence, a second encoded bit sequence) obtained by the encoding method according to claim 3. Is a decoding method for decoding the coded bit string into the original binary digital data, in which each bit of the first coded bit string is inverted, and the result is set as a first bit string, The first bit string, 0), the addition of (the first bit string, 0) + (0, the second coded bit string) is performed based on a predetermined calculation rule, and the result of the calculation is (first 2), and the first coded bit string is shifted to the most significant bit side by 1
In addition to shifting the bits, 1 is added to the least significant bit to obtain a new third bit sequence, which is then referred to as (third bit sequence,
0), and the (second bit string, 0) + the (third bit string).
The addition operation of the bit sequence (0) is performed based on the above operation rules, and the result of the operation is obtained (decoded bit sequence,
0) is the decoded binary digital data, while the predetermined operation rule is that if each bit of the operation target is (0,0) + (0,0), the operation The result is (0,0) and the carry is (0,0).
0) and (0,0) + (1,0), the operation result is (1,0), the carry is (0,0), and (0,0) + (0,0) In the case of 1), the calculation result is (0, 1), and the carry is (0, 0).
In the case of (1,0) + (1,0), the operation result is (0,
0), the carry is (1, 0), and the data resulting from the carry is added to the addition operation of the upper bits. In the case of (0, 1) + (0, 1), the operation result is (0,0) and carry (0,1),
The data generated by the carry is added to the addition operation of the upper bits. In the case of (1, 0) + (0, 1), the result of the operation is (0, 0) and the carry is (0, 0). ).

【0010】かかる復号化方法においては、先に本発明
に係る符号化方法により符号化されたデータを、所望に
より、比較的簡易な手順により、元の二値ディジタルデ
ータに復号することが可能であり、所望に応じて先の本
発明に係る符号化方法による符号化データと元の二値デ
ィジタルデータとの使い分けを容易に可能とするものと
なる。
In this decoding method, the data previously encoded by the encoding method according to the present invention can be decoded into the original binary digital data by a relatively simple procedure as desired. Yes, it is possible to easily use the encoded data by the encoding method according to the present invention and the original binary digital data as desired.

【0011】[0011]

【発明の実施の形態】以下、本発明の実施の形態につい
て、図1乃至図10を参照しつつ説明する。なお、以下
に説明する部材、配置等は本発明を限定するものではな
く、本発明の趣旨の範囲内で種々改変することができる
ものである。最初に、本発明の実施の形態における基本
的な三値ディジタル回路の回路構成について図1を参照
しつつ説明する。この三値ディジタル回路は、第1及び
第2の全加算器(図1においてはいずれも「FA」と表
記)1,2と、補正回路3とに大別されて構成されたも
のとなっており、1ビットの二値ディジタルデータの組
み合わせ(Aα,Aα)と(Bα,Bα)の加
算処理を行う機能を有するものである。そして、この図
1に示された三値ディジタル回路は、後述するように多
ビット用の三値ディジタル回路における単位ビット処理
部となるものである。第1及び第2の全加算器1,2
は、いずれも公知・周知のいわゆる全加算器と同一の構
成を有してなるものである。この図1に示された第1及
び第2の全加算器1,2は、1ビット演算用で、一方の
入力端子Xと他方の入力端子Yを有すると共に、桁上げ
入力端子Cを有している。また、第1及び第2の全加算
器1,2は、これら入力端子X,Yと桁上げ入力端子C
にそれぞれ入力された数の和についての演算結果が出力
される演算出力端子Sと、桁上げ出力端子C´を有して
構成されたものとなっている。そして、第1の全加算器
1の演算出力端子Sは、次述する補正回路3の一方の入
力端子に、第2の全加算器2の演算出力端子Sは、同じ
く補正回路3の他方の入力端子に、それぞれ接続された
ものとなっている。なお、この発明の実施の形態におい
ては、桁上げ入力端子C及び桁上げ出力端子C´は、い
ずれも解放状態(他の箇所に接続されていない状態)と
なっている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below with reference to FIGS. The members, arrangements, and the like described below do not limit the present invention, and can be variously modified within the scope of the present invention. First, a circuit configuration of a basic ternary digital circuit according to an embodiment of the present invention will be described with reference to FIG. The ternary digital circuit is roughly divided into a first and a second full adder (both are denoted by "FA" in FIG. 1) 1 and 2 and a correction circuit 3. And has a function of performing an addition process on a combination (Aα + , Aα ) of one-bit binary digital data and (Bα + , Bα ). The ternary digital circuit shown in FIG. 1 serves as a unit bit processing unit in a multi-bit ternary digital circuit as described later. First and second full adders 1 and 2
Have the same configuration as that of a known / known full adder. The first and second full adders 1 and 2 shown in FIG. 1 are for 1-bit operation, have one input terminal X and the other input terminal Y, and have a carry input terminal C. ing. The first and second full adders 1 and 2 are connected to the input terminals X and Y and the carry input terminal C, respectively.
And a calculation output terminal S for outputting the calculation result of the sum of the numbers respectively input to the input terminal and a carry output terminal C ′. The operation output terminal S of the first full adder 1 is connected to one input terminal of a correction circuit 3 described below, and the operation output terminal S of the second full adder 2 is connected to the other input terminal of the correction circuit 3. Each is connected to an input terminal. In the embodiment of the present invention, the carry input terminal C and the carry output terminal C 'are both in an open state (a state where they are not connected to other parts).

【0012】補正回路3は、二つの入力端子を有してな
るNAND4と、二つの入力端子を有してなる2つのA
ND5,6とを有して構成されたものとなっている。N
AND4の一方の入力端子は、第1の全加算器1の演算
出力端子Sと共に第1のAND5の一方の入力端子が接
続されている。また、NAND4の他方の入力端子は、
第2の全加算器2の演算出力端子Sと第2のAND6の
一方の入力端子が接続されている。さらに、NAND4
の出力端子は、第1及び第2のAND5,6の他方の入
力端子にそれぞれ接続されている。そして、第1のAN
D5の出力端子は、この三値ディジタル回路の一方の出
力端子となっており、また、第2のAND6の出力端子
は、この三値ディジタル回路の他方の出力端子となって
いる。かかる構成における補正回路3は、NAND4の
2入力が共に「1」の場合にのみ(換言すれば、第1及
び第2の全加算器1,2の出力が共に論理値Highの
状態の場合のみ)、第1及び第2のAND5,6の双方
の出力が「0」となる以外は、第1及び第2のAND
5,6の出力は、それぞれの入力と同じ信号となるよう
になっている。
The correction circuit 3 includes a NAND 4 having two input terminals and two A's having two input terminals.
ND5 and ND6. N
One input terminal of the AND 4 is connected to one operation terminal of the first AND 5 together with the operation output terminal S of the first full adder 1. The other input terminal of NAND4 is
The operation output terminal S of the second full adder 2 and one input terminal of the second AND 6 are connected. In addition, NAND4
Are connected to the other input terminals of the first and second ANDs 5 and 6, respectively. And the first AN
The output terminal of D5 is one output terminal of this ternary digital circuit, and the output terminal of the second AND6 is the other output terminal of this ternary digital circuit. The correction circuit 3 in such a configuration is used only when the two inputs of the NAND 4 are both “1” (in other words, only when the outputs of the first and second full adders 1 and 2 are both at the logical value High). ), Except that both the outputs of the first and second ANDs 5 and 6 become “0”.
The outputs 5 and 6 are the same signals as the respective inputs.

【0013】次に、上記構成における三値ディジタル回
路の動作について説明する。最初に、図1に示された三
値ディジタル回路に用いられる三値ディジタル信号につ
いて説明すれば、この三値ディジタル信号は、1ビット
で、「+1」、「0」、「−1」と三つの値を表現する
ものとして予め定められたものとなっている。そして、
三値ディジタル回路には、この三値ディジタルデータ
が、二値データに表現し直されたものが入力されること
を前提としている。すなわち、二値ディジタルデータ
は、(D,D)と表されるものとされており、三値
ディジタルデータ「+1」に対しては、(1,0)が、
三値ディジタルデータ「0」に対しては、(0,0)
が、三値ディジタルデータ「−1」に対しては、(0,
1)が、それぞれ予め割り当てられたものとなってい
る。
Next, the operation of the ternary digital circuit having the above configuration will be described. First, the ternary digital signal used in the ternary digital circuit shown in FIG. 1 will be described. This ternary digital signal is one bit, "+1", "0", and "-1". Are defined in advance to represent the two values. And
It is assumed that the ternary digital data is converted to binary data and input to the ternary digital circuit. That is, the binary digital data is represented as (D + , D ). For the ternary digital data “+1”, (1, 0) becomes
For ternary digital data "0", (0,0)
However, for ternary digital data “−1”, (0,
1) are allotted in advance.

【0014】かかる前提の下、図2を参照しつつ1ビッ
トの三値ディジタルデータA及びBの加算演算について
の三値ディジタル回路の動作について説明する。まず、
1ビットの三値ディジタルデータA及びBの加算は、そ
れぞれ3つの値同士の組み合わせとなることから、6つ
のケースが存在する。具体的には、図2に示されたよう
に、Case1から順に、0+0、0+(+1)、0+(−
1)、(+1)+(+1)、(−1)+(−1)、(+
1)+(−1)の場合がある。そして、これらの三値デ
ィジタルデータの加算A+Bは、先に説明した二値ディ
ジタルデータの表現に従えば、(A,A)+
(B,B)のように表されることとなる。すなわ
ち、具体的には、「0+0」は、(0,0)+(0,
0)と、「0+(+1)」は、(0,0)+(1,0)
と、「0+(−1)」は、(0,0)+(0,1)と、
「(+1)+(−1)」は、(1,0)+(1,0)
と、「(−1)+(−1)」は、(0,1)+(0,
1)と、「(+1)+(−1)」は、(1,0)+
(0,1)と、それぞれ表されることとなる(図2参
照)。
Under such a premise, the operation of the ternary digital circuit for the addition operation of the 1-bit ternary digital data A and B will be described with reference to FIG. First,
Since addition of 1-bit ternary digital data A and B is a combination of three values, there are six cases. Specifically, as shown in FIG. 2, 0 + 0, 0 + (+ 1), 0 + (−
1), (+1) + (+ 1), (-1) + (-1), (+
1) There is a case of + (-1). According to the above-described expression of the binary digital data, the addition A + B of these ternary digital data is (A + , A ) +
(B + , B ). That is, specifically, “0 + 0” is (0,0) + (0,
0) and “0 + (+ 1)” are (0,0) + (1,0)
And "0 + (-1)" are (0,0) + (0,1),
“(+1) + (− 1)” is (1,0) + (1,0)
And "(-1) + (-1)" are (0,1) + (0,
1) and “(+1) + (− 1)” are (1,0) +
(0, 1), respectively (see FIG. 2).

【0015】図1に示された三値ディジタル回路におい
て、第1の全加算器1の一方の入力端子Xには、一方の
二値ディジタルデータのAが、他方の入力端子Yに
は、他方の二値ディジタルデータのBが、それぞれ入
力されることとなる(図1参照)。また、第2の全加算
器2の一方の入力端子Xには、一方の二値ディジタルデ
ータのAが、他方の入力端子Yには、他方の二値ディ
ジタルデータのBが、それぞれ入力されることとなる
(図1参照)。なお、ここで、第1の全加算器1から出
力される演算結果を便宜的に「Sum」と、第2の全加
算器2から出力される演算結果を便宜的に「Sum
と、それぞれ表すこととし、また、第1の全加算器1の
桁上げ出力端子C´から出力される桁上げデータを「C
arry´」と、第2の全加算器2の桁上げ出力端子C´
から出力される桁上げデータを「Carry´」と、それ
ぞれ表すこととする。
In the ternary digital circuit shown in FIG. 1, one input terminal X of the first full adder 1 receives one binary digital data A + , and the other input terminal Y receives one input terminal Y. B + of the other binary digital data is input (see FIG. 1). Further, in the second one of the input terminals X of the full adder 2, of one of the binary digital data A - is, to the other input terminal Y, the other of the binary digital data B - are each input (See FIG. 1). Here, the calculation result for convenience the "Sum +" output from the first full adder 1, the operation result conveniently the output from the second full adder 2 "Sum -"
The carry data output from the carry output terminal C ′ of the first full adder 1 is represented by “C
arry ' + "and the carry output terminal C' of the second full adder 2.
The carry data output from the "Carry'-" and will be represented respectively.

【0016】そして、Cace1〜Cace5についての演算
結果(Sum,Sum)は、通常の1ビットデータの加
算における結果と基本的に同様である。例えば、Cace
4を例に採り説明すれば、この場合、第1の全加算器1
においては、Aとして「1」が、Bとして「1」
が、それぞれ入力される一方、第2の全加算器2におい
ては、Aとして「0」が、Bとして「0」が、それ
ぞれ入力されることとなる。その結果、第1の全加算器
1においては、「1+1」の演算であるから、演算出力
Sumとしては、零が出力されると共に、桁上げデータ
Carry´としては「1」が出力されることとなる(図
2のCace4の部分参照)。そして、補正回路3は、先
に述べたようにその2つの入力がいずれも「1」の場合
以外は、入力信号と出力信号とが同一となるよう動作す
るものであるから、この場合、一方の出力Sum´+は、
Sumと同様に「0」となる。
The operation results (Sum + , Sum ) for Cace 1 to Cace 5 are basically the same as the results of ordinary 1-bit data addition. For example, Cace
4 will be described as an example. In this case, the first full adder 1
, "1" is used as A + and "1" is used as B +
But whereas inputted respectively, in the second full adder 2, A - "0" as the, B - "0" as the, so that the inputted respectively. As a result, in the first full adder 1, since the operation is "1 + 1", zero is output as the operation output Sum + , and "1" is output as the carry data Carry ' +. (Refer to Case 4 in FIG. 2). Then, as described above, the correction circuit 3 operates so that the input signal and the output signal are the same except when both of the two inputs are “1”. The output Sum '+
It becomes "0" similarly to Sum + .

【0017】また、第2の全加算器2においては、「0
+0」の演算であるから、演算出力Sum及び桁上げデ
ータCarry´共に零が出力されることとなる(図2の
Cace4の部分参照)。そして、補正回路3の他方の出
力Sum´−も零となる。Cace1〜3及びCace5につい
ても基本的に同様であり、個々のケースについての詳細
な説明は省略することとする。一方、Cace6の場合
は、三値ディジタルデータの演算が(+1)+(−1)
であるから、この三値ディジタル回路によって最終的に
得られるべき値は、零である。ところが、第1及び第2
の全加算器1,2から得られる演算結果は、(Sum
Sum)=(1,1)となる(図2のCace6の部分参
照)。一方、補正回路3は、先に述べたように、その2
入力が共に「1」の場合、二つの出力Sum´,Sum´
を零とするようになっているため、結局、Cace6に
おいては、この三値ディジタル回路の出力Sum´+,S
um´−として0,0を得ることができることとなる。こ
のように、図1に示された三値ディジタル回路は、従来
構成を有してなる2個の全加算器と3個の二入力ゲート
素子を用いて三値ディジタル信号演算が可能なものとな
っている。
In the second full adder 2, "0"
Since a calculation of +0 ", the operation output Sum - so that the and carry data Carry' + both zero is output (see the portion of Cace4 in Figure 2). Then, the other output Sum'- of the correction circuit 3 also becomes zero. Cases 1 to 3 and Case 5 are basically the same, and a detailed description of each case will be omitted. On the other hand, in the case of Case 6, the operation of the ternary digital data is (+1) + (− 1)
Therefore, the value to be finally obtained by this ternary digital circuit is zero. However, the first and second
The operation results obtained from the full adders 1 and 2 are (Sum + ,
Sum ) = (1, 1) (see Case 6 in FIG. 2). On the other hand, as described above, the correction circuit 3
If the inputs are both "1", the two outputs Sum ' + , Sum'
Since − is set to zero, the output Sum ′ + , S of this ternary digital circuit is finally obtained in Case 6 .
0,0 can be obtained as um'- . As described above, the ternary digital circuit shown in FIG. 1 is capable of performing a ternary digital signal operation using two full adders and three two-input gate elements having the conventional configuration. Has become.

【0018】次に、図3を参照しつつ多ビットの加減算
回路の構成例について説明する。まず、多ビットの加減
算回路を構成するにおいて、基本的には、図1に示され
た単位処理ビット部をビット数に対応して多段に接続す
るのみでよい。例えば、図3には、4ビットの場合の三
値ディジタル回路の構成例が示されている。すなわち、
同図においては、二値ディジタルデータの組み合わせ
(Am-1Am-2・・・A0,Am-1Am-2・・・
A0)で表現される一方のディジタルデータAは、m
=4である。そして、図3の例では、A=(A3A2
A1A0 ,A3A2A1A0)である。なお、こ
こで、A3及びA3が最上位ビットであり、A0
びA0が最下位ビットである。また、二値ディジタル
データの組み合わせ(Bm-1Bm-2・・・B0,Bm
-1Bm-2・・・B0)で表現される他方のディジタ
ルデータBも当然にm=4である。そして、図3の例で
は、B=(B3B2B1B0,B3B2B1B0
)であり、B3及びB3が最上位ビットであり、B
0及びB0が最下位ビットである。なお、説明の便宜
上、A1,B1を第2ビット、A2,B2を第3ビットとそ
れぞれ定義することとする。また、図3においては、図
1に示された各々の構成要素を示す符号の後に、処理ビ
ットに対応して最下位ビット側から順にa〜dと添字を
付して各々の素子を区別するものとする。
Next, multi-bit addition / subtraction with reference to FIG.
An example of a circuit configuration will be described. First, multi-bit adjustment
In constructing the arithmetic circuit, basically, as shown in FIG.
Connected unit processing bit sections in multiple stages corresponding to the number of bits.
You only need to For example, FIG.
An example of the configuration of a value digital circuit is shown. That is,
In the figure, the combination of binary digital data
(Am-1+Am-2+... A0+, Am-1Am-2...
A0) Is represented by m
= 4. In the example of FIG. 3, A = (A3+A2+
A1+A0 +, A3A2A1A0). In addition, this
Here, A3+And A3Is the most significant bit and A0+Passing
And A0Is the least significant bit. Also, binary digital
Combination of data (Bm-1+Bm-2+... B0+, Bm
-1Bm-2... B0) The other digit represented by
The data B also has m = 4. And in the example of FIG.
Is B = (B3+B2+B1+B0+, B3B2B1B0
) And B3+And B3Is the most significant bit and B
0+And B0Is the least significant bit. For convenience of explanation
Above, A1 and B1 are the second bit, and A2 and B2 are the third bit.
Each is defined. Also, in FIG.
After the code indicating each component shown in FIG.
A to d in order from the least significant bit corresponding to the
Each element will be distinguished from each other.

【0019】多ビットの加減算回路を構成する場合に
は、最下位ビットを処理する第1及び第2の全加算器1
a,2aのそれぞれの桁上げ入力端子Cは、いずれもア
ースに接続して、論理値Lowの入力状態となるように
する。一方、第1及び第2の全加算器1a〜1d,2a
〜2dの各々の桁上げ出力端子C´は、上位ビットの第
1又は第2の全加算器1b〜1d,2b〜2dの桁上げ
入力端子Cに接続された構成となる。なお、図3におい
て、Sum´0,Sum´0は、それぞれ最下位ビットの
演算結果であり、Sum´1,Sum´1は、それぞれ第
2ビットの演算結果であり、Sum´2,Sum´2は、
それぞれ第3ビットの演算結果であり、Sum´3,Su
m´3は、それぞれ最上位ビットの演算結果である。そ
して、この演算結果は、最上位ビットから順次並べられ
て(Sum´3Sum´2Sum´1Sum´0,Sum´3
Sum´2Sum´1Sum´0)と表記されて扱われ
る。上記構成における動作は、基本的には、第1のビッ
ト以降においては、下位ビットからの桁上げが加算され
ることを除けば、先に図1に示された構成について説明
したと同様であるので、ここでの詳細な説明は省略する
こととする。
When configuring a multi-bit addition / subtraction circuit, the first and second full adders 1 for processing the least significant bit
Each of the carry input terminals C of a and 2a is connected to the ground so that the input state of the logical value Low is established. On the other hand, the first and second full adders 1a to 1d, 2a
To 2d are connected to the carry input terminals C of the first or second full adders 1b to 1d and 2b to 2d of the upper bits. In FIG. 3, Sum′0 + and Sum′0 are the operation results of the least significant bit, respectively, Sum′1 + and Sum′1 are the operation results of the second bit, respectively, and Sum ′ 2 + , Sum′2
Each is the operation result of the third bit, and Sum′3 + , Su
m'3 - is the operation result of the most significant bit. Then, the operation results are sequentially arranged from the most significant bit (Sum'3 + Sum'2 + Sum'1 + Sum'0 + , Sum'3
- Sum'2 - Sum'1 - Sum'0 -) to be treated is labeled. The operation of the above configuration is basically the same as that of the configuration shown in FIG. 1 except that the carry from the lower bit is added after the first bit. Therefore, a detailed description is omitted here.

【0020】次に、上述した三値ディジタル回路は、単
に加減算器としてだけではなく、乗算回路にも用いるこ
とができる。すなわち、一般にディジタルデータの乗算
は、1桁の掛算とシフト及び加算の繰り返しとして行え
るため、乗算回路においては、一般的に全加算器が構成
要素の一つとして用いられている。一方、上述したよう
な三値ディジタルデータ同士の乗算も、基本的には上述
のように1桁の掛算とシフト及び加算の繰り返しで処理
できるものである。したがって、三値ディジタルデータ
の乗算回路の構成としては、従来の二値ディジタルデー
タの乗算回路において用いられている全加算回路の部分
を、ビット数に応じて先に図3に示されたように多ビッ
ト用に構成された三値ディジタル回路とすることで、そ
の部分を除けば、基本的に従来の乗算回路と同様に構成
することができる。
Next, the above ternary digital circuit can be used not only as an adder / subtracter but also as a multiplier. In other words, multiplication of digital data can be generally performed as one-digit multiplication, and repetition of shift and addition. Therefore, in a multiplication circuit, a full adder is generally used as one of the components. On the other hand, multiplication between ternary digital data as described above can be basically processed by repeating one-digit multiplication, shift and addition as described above. Therefore, as a configuration of the ternary digital data multiplication circuit, the portion of the full addition circuit used in the conventional binary digital data multiplication circuit is changed according to the number of bits as shown in FIG. By using a ternary digital circuit configured for multiple bits, the configuration can be basically the same as that of a conventional multiplication circuit except for that part.

【0021】次に、上述した三値ディジタルデータの表
現とは別個の新たな三値ディジタルデータの符号化及び
復号化並びに符号化回路及び復号化回路について図4乃
至図7を参照しつつ説明する。まず、この新たな三値デ
ィジタルデータは、二値ディジタル信号として、例え
ば、mビットのbm・・・b0(bmが最上位ビットであ
り、b0が最下位ビットである)がある場合、これに後
述するような処理を施して(第1の符号化データ,第2
の符号化データ)=(Tm・・・T0,Tm・・・
T0)と表現されるものである。すなわち、二値ディ
ジタルデータを上述した三値ディジタルデータへ符号化
するには、二値ディジタルデータが仮にbm・・・b0で
あるすると、まず、この二値ディジタルデータを最上位
ビット側へ1ビットだけシフトし、最下位ビットに零を
加えて、ビット列b(m-1)・・・b0・0を得、このビッ
ト列をN´・・・T0´とする。また、二値ディジ
タルデータbm・・・b0を、そのままTm´・・・T0
´とする。そして、図3に例示された多ビット用の回
路のようにビット数に応じて構成された三値ディジタル
回路を用いて、(Tm´・・・T0´ ,0)と(0,
Tm´・・・T0´)との加算を行うことにより、こ
の新たな表現形式による三値ディジタルデータ(Tm
・・・T0,Tm・・・T0)が得られることとな
る。
Next, a table of the above ternary digital data will be described.
Encoding of new ternary digital data separate from the current
Decoding and encoding circuit and decoding circuit
This will be described with reference to FIG. First, this new ternary data
Digital data is represented as a binary digital signal.
For example, m bits bm... B0 (bm is the most significant bit
B0 is the least significant bit).
(1st encoded data, 2nd encoded data,
Coded data) = (Tm+... T0+, Tm...
T0). That is, binary
Digital data is encoded into the ternary digital data described above.
For example, if the binary digital data is bm ... b0
First, this binary digital data is
Shift one bit to the bit side and set zero to the least significant bit
In addition, a bit string b (m-1).
N '+... T0 '+And Also, binary digit
The total data bm... B0 is converted to Tm '... T0
´And Then, the multi-bit circuit illustrated in FIG.
Ternary digital constructed according to the number of bits like a channel
Using the circuit, (Tm '+... T0 ' +, 0) and (0,
Tm '... T0 ') Is added to
Digital data (Tm+
... T0+, Tm... T0)
You.

【0022】上述した符号化について、図4を参照しつ
つ具体例に説明することとする。まず、符号化の対象と
なる二値データBが、仮に、その最上位ビットから順に
B=01110011010であるとする。最初に、こ
の二値データを最上位ビット側へ1ビットだけシフト
し、最下位ビットに零を加えて、「111001101
00」を得、これをT´とする(図4参照)。なお、
ここで、T´は、ビット列Tm´・・・T0´を包
括的に表したものとする。一方、B=01110011
010をそのままT´とする(図4参照)。なお、こ
こで、T´は、ビット列Tm´・・・T0´を包括
的に表したものとする。
The above-described encoding will be described in a specific example with reference to FIG. First, it is assumed that binary data B to be encoded is B = 01110011010 in order from the most significant bit. First, this binary data is shifted by one bit toward the most significant bit, zero is added to the least significant bit, and “111001101” is obtained.
00 ", which is designated as T ' + (see FIG. 4). In addition,
Here, T'+ is assumed to have a comprehensive representation of the bit string Tm' + ··· T0' +. On the other hand, B = 011001111
010 as T'- to (see FIG. 4). Note that, T'- the bit string Tm' - ··· T0' - and what was comprehensively represents.

【0023】次に、(T´,0)と(0,T´)と
の加算演算を、先に図1及び図3を用いて説明した三値
ディジタル回路における加算処理と同様の手順で行い、
その演算結果として符号化データ(T,T)を得
る。なお、ここで、Tは、Tm・・・T0を、T
は、Tm・・・T0を、それぞれ包括的に表したもの
で、この具体例の場合、m=11である。また、三値デ
ィジタル回路においては、(T´,0)、(0,T´
)と表されたデータの入力は、括弧()内のカンマの
左側のデータが、図3の例で言えば、符号Aで表された
データに、括弧()内のカンマの右側のデータが、図3
の例で言えば、符号Bで表されたデータに、それぞれ対
応しており、括弧()の左側のデータは、全加算器の一
方の入力端子Xに、括弧()の右側のデータは、全加算
器の他方の入力端子Yに、それぞれ印加されるようにす
ればよい。図5には、ビット毎の加算演算前のデータと
演算後に得られた符号化データとが示されている。同図
において、丸数字の1の行が最下位ビットにおける加算
演算前のデータと演算後に得られた符号化データを、丸
数字の11が最上位ビットにおける加算演算前のデータ
と演算後に得られた符号化データを、それぞれ示すもの
となっている。
Next, (T'+, 0) and (0, T'-) and of the addition operation, previously similar to the addition process in the three-value digital circuit described with reference to FIGS. 1 and 3 procedures Done at
The encoded data (T + , T ) is obtained as the operation result. It should be noted that, here, T + is, Tm + the ··· T0 +, T -
Is, Tm - · · · T0 - a, which was respectively generically represents, in this embodiment, a m = 11. In a ternary digital circuit, (T ′ + , 0), (0, T ′)
-) and the input of the data represented in the data of the left comma in parentheses () is, in the example of FIG. 3, the data represented by the symbol A, a comma in the right data in parentheses () But Figure 3
In the example, the data on the left side of the parentheses () corresponds to the input terminal X of the full adder, and the data on the right side of the parentheses () What is necessary is just to make it apply to the other input terminal Y of a full adder, respectively. FIG. 5 shows the data before the addition operation for each bit and the encoded data obtained after the operation. In the figure, a row of circled numbers is obtained by adding data in the least significant bit before the addition operation and coded data obtained after the calculation, and a circle of 11 is obtained by adding the data in the most significant bit before the addition operation and after the calculation. The encoded data shown in FIG.

【0024】図6には、この符号化に適する符号化回路
の基本構成例が示されており、以下、同図を参照しつつ
この回路構成例について説明することとする。この符号
化回路は、シフト回路(図6においては「SHIFTE
R」と表記)11と、三値ディジタル回路(図6におい
ては「FAC」と表記)12とを具備して構成されたも
のとなっている。シフト回路11は、基本的に公知・周
知の構成を有するものでよく、入力されたデータBを、
その最上位ビットへ1ビットシフトすると共に、最下位
ビットに零を加える機能を有してなるものである。そし
て、このシフト回路11によるシフト結果は、三値ディ
ジタル回路12に入力されるようになっている。
FIG. 6 shows an example of a basic configuration of an encoding circuit suitable for this encoding. Hereinafter, this example of the circuit configuration will be described with reference to FIG. This encoding circuit includes a shift circuit ("SHIFTE" in FIG. 6).
R) 11 and a ternary digital circuit (denoted as “FAC” in FIG. 6) 12. The shift circuit 11 may basically have a publicly-known / well-known configuration.
It has a function of shifting one bit to the most significant bit and adding zero to the least significant bit. The result of the shift by the shift circuit 11 is input to a ternary digital circuit 12.

【0025】三値ディジタル回路12は、先の図1に示
された回路を基本として、入力データBのビット数に応
じて図3に示されたように多ビット用に構成されてなる
ものである。この三値ディジタル回路12には、シフト
回路11の出力データがT´ として、また、入力デー
タBがT´として入力され、(T´,0)+(0,
T´)が演算されて、符号化データ(T,T)が
得られるようになっている。
The ternary digital circuit 12 is shown in FIG.
Based on the number of bits of input data B
First, it is configured for multiple bits as shown in FIG.
Things. The ternary digital circuit 12 has a shift
The output data of the circuit 11 is T ' +As input data
Tab B is T 'And (T ′+, 0) + (0,
T ') Is calculated, and the encoded data (T+, T)But
You can get it.

【0026】次に、上述のようにして符号化されたデー
タ(T,T)を、元の二値データBへ戻すための復
号化方法について説明する。まず、Tのビット列につ
いて、「0」を「1」と、「1」を「0」にそれぞれ置
換し、新たに得られたビット列をT1とする。次い
で、(T1,0)+(0,T)の加算演算を、先に
図1及び図3を用いて説明した三値ディジタル回路にお
ける加算処理と同様の手順で行い、その演算結果として
(T2,0)を得る。次に、Tを、その最上位ビッ
ト側に1ビットだけシフトすると共に、最下位ビットに
1を加えて、この得られたビット列をT3とする。そ
して、先の(T2,0)と(T3,0)との加算演算
を、先に図1及び図3を用いて説明した三値ディジタル
回路における加算処理と同様の手順で行い、その演算結
果として復号化二値データBを得ることができる。
Next, a decoding method for returning the data (T + , T ) encoded as described above to the original binary data B will be described. First, regarding the bit string of T + , "0" is replaced with "1" and "1" is replaced with "0", and the newly obtained bit string is set as T1 + . Next, an addition operation of (T1 + , 0) + (0, T ) is performed in the same procedure as the addition processing in the ternary digital circuit described above with reference to FIGS. (T2 + , 0) is obtained. Next, T + is shifted by one bit to the most significant bit side and 1 is added to the least significant bit, and the obtained bit string is designated as T3 + . Then, the addition operation of (T2 + , 0) and (T3 + , 0) is performed in the same procedure as the addition processing in the ternary digital circuit described above with reference to FIGS. Decoded binary data B can be obtained as an operation result.

【0027】上述した復号化について、図7を参照しつ
つ具体例に説明することとする。まず、復号化の対象と
なる符号化データを、先に図4及び図5を参照しつつ説
明した符号化の具体例で得られた符号化データ(T
)=(10000100100,00010001
010)とする。最初に、T=1000010010
0について、各々のビットデータを反転し、T1=0
1111011011を得る(図7(A)参照)。次
に、(T1,0)+(0,T)=(0111101
1011,0)+(0,00010001010)の演
算を、先に図1及び図3を用いて説明した三値ディジタ
ル回路における加算処理と同様の手順で行い、その演算
結果として(T2,0)=(0110101000
1,00000000000)を得る(図7(A)参
照)。
The above-described decoding will be described in a specific example with reference to FIG. First, encoded data to be decoded is encoded data (T + , T +) obtained in the specific example of the encoding described above with reference to FIGS. 4 and 5.
T ) = (10000100100,00010001)
010). First, T + = 1000010010
For 0, each bit data is inverted, and T1 + = 0
1111011011 is obtained (see FIG. 7A). Next, (T1 +, 0) + (0, T -) = (0111101
The operation of (1011, 0) + (000010001010) is performed in the same procedure as the addition processing in the ternary digital circuit described above with reference to FIGS. 1 and 3, and the result of the operation is (T2 + , 0) = (0110101000
(1000000000000) (see FIG. 7A).

【0028】次に、T=10000100100を、
その最上位ビット側に1ビットだけシフトすると共に、
最下位ビットに1を加えて、新たなビット列T3=0
0001001001を得る(図7(B)参照)。そし
て最後に、(T2,0)+(T3,0)=(0110
1010001,0)+(00001001001,
0)の演算を、先に図3に例示された多ビット用の回路
のようにこのビット数に応じて構成された三値ディジタ
ル回路(図示せず)を用いて行い、その演算結果(B,
0)から復号化された二値データとしてB=01110
011010を得ることができる(図7(B)参照)。
この二値データは、先に図4及び図5を用いて説明した
符号化対象とされた二値データに一致しており、復号化
が確実になされたことを確認することができる。
Next, T + = 10000100100 is calculated as follows.
While shifting by one bit to the most significant bit side,
By adding 1 to the least significant bit, a new bit string T3 + = 0
0001001001 is obtained (see FIG. 7B). Finally, (T2 + , 0) + (T3 + , 0) = (0110
1010001,0) + (00001001001,
0) is performed using a ternary digital circuit (not shown) configured according to the number of bits as in the multi-bit circuit illustrated in FIG. ,
B) as binary data decoded from 0)
011010 can be obtained (see FIG. 7B).
This binary data matches the binary data to be encoded described above with reference to FIGS. 4 and 5, and it can be confirmed that the decoding has been reliably performed.

【0029】次に、図7を参照しつつ説明した復号化に
適する復号化回路の基本構成例について図8を参照しつ
つ説明する。この復号化回路は、反転回路(図8におい
ては「NOT」と表記)13と、第1及び第2の三値デ
ィジタル回路(図8においてはいずれも「FAC」と表
記)14,15と、シフト回路(図8においては「SH
IFTER」と表記)16とを具備してなるものであ
る。反転回路13は、復号化の対象となる符号化データ
(T,T)の一方、すなわち、Tが入力され、そ
の反転データを出力するようになっているもので、反転
により得られたビット列T1は、第1の三値ディジタ
ル回路14へ、符号化データの他方、すなわち、T
共に入力されるようになっている。第1及び第2の三値
ディジタル回路1,2は、いずれもその基本的構成は、
先に図1に示された回路を用いて復号化の対象となるビ
ット数に応じて先の図3に示された構成例のようにして
多ビット用に構成されたものである。
Next, an example of the basic configuration of a decoding circuit suitable for the decoding described with reference to FIG. 7 will be described with reference to FIG. The decoding circuit includes an inverting circuit (indicated as “NOT” in FIG. 8) 13, first and second ternary digital circuits (in FIG. 8, both represented as “FAC”) 14 and 15, The shift circuit (“SH” in FIG. 8)
IFTER ") 16). The inverting circuit 13 receives one of the encoded data (T + , T ) to be decoded, that is, T + , and outputs the inverted data, and is obtained by inversion. bit sequence T1 + is the first three-value digital circuit 14, the other coded data, i.e., T - are input together. The basic structure of each of the first and second ternary digital circuits 1 and 2 is as follows.
It is configured for multiple bits as in the configuration example shown in FIG. 3 according to the number of bits to be decoded using the circuit shown in FIG.

【0030】第1の三値ディジタル回路14において
は、(T1,0)+(0,T)の演算がなされ、そ
の演算結果として(T2,0)が得られるようになっ
ており、T2は、第2の三値ディジタル回路15に入
力されるようになっている。シフト回路16は、T
入力されるようになっており、入力されたビット列は、
その最上位ビット側に1ビットだけシフトされると共
に、最下位ビットに1が加えられて、新たなビット列T
3が出力されるようになっている。このシフト回路1
6の出力は、第2の三値ディジタル回路15に入力され
るようになっている。第2の三値ディジタル回路15に
おいては、(T2,0)+(T3,0)の演算がなさ
れ、その演算結果として(B,0)が得られるようにな
っている。すなわち、復号された二値ディジタルデータ
Bが出力されるものとなっている。
[0030] In the first three values digital circuit 14, (T1 +, 0) + (0, T -) operation is made of, as a calculation result (T2 +, 0) are adapted to obtain , T2 + are input to a second ternary digital circuit 15. The shift circuit 16 receives T + , and the input bit string is
The bit is shifted by one bit to the most significant bit, and 1 is added to the least significant bit, so that a new bit string T
3 + is to be output. This shift circuit 1
The output of 6 is input to the second ternary digital circuit 15. In the second ternary digital circuit 15, the operation of (T2 + , 0) + (T3 + , 0) is performed, and (B, 0) is obtained as the operation result. That is, the decoded binary digital data B is output.

【0031】上述した二値ディジタルデータの符号化及
び復号化では、二値ディジタルデータが正であることを
前提として説明したが、次に、二値ディジタルデータが
負数である場合の符号化及び復号化について具体例を用
いて説明する。まず、図4及び図5を参照しつつ説明し
た、符号化データ(T,T)は、いわば正のデータ
部分(以下「正部」と言う)を表すTと、負のデータ
部分(以下「負部」と言う)を表すTとで表現される
ものと捉えることができる。そして、符号化される二値
ディジタルデータが負数の場合には、図4及び図5を参
照しつつ説明した符号化の手順における正部と負部とを
入れ替えて処理することで負数の二値ディジタルデータ
の符号化データを得ることができるものとなっている。
以下、具体的に説明すれば、まず、例えば、負の二値デ
ィジタルデータBが、B=−01110011010で
あるとする。この場合、符号部分を除いたデータ部分
「01110011010」を符号化処理の対象とし、
最初に、この二値ディジタルデータを最上位ビット側へ
1ビットだけシフトし、最下位ビットに零を加えて、
「11100110100」を得、これを先に図4及び
図5を参照しつつ説明した正数の場合とは逆にT´
する(図9参照)。一方、符号部分を除いたデータ部分
「01110011010」を正数の場合とは逆にT´
とする(図9参照)。
In the above-described encoding and decoding of binary digital data, the description has been made on the assumption that the binary digital data is positive. Next, encoding and decoding when the binary digital data is a negative number will be described. The conversion will be described using a specific example. First, the coded data (T + , T ) described with reference to FIGS. 4 and 5 are, as it were, T + representing a positive data portion (hereinafter referred to as “positive portion”) and a negative data portion. T represents a (hereinafter referred to as "negative portion") - the capital can be regarded as being expressed by. When the binary digital data to be encoded is a negative number, the positive part and the negative part in the encoding procedure described with reference to FIGS. It is possible to obtain encoded data of digital data.
More specifically, first, it is assumed that, for example, the negative binary digital data B is B = -011101101010. In this case, the data portion “011110011010” excluding the code portion is subjected to the encoding process,
First, the binary digital data is shifted by one bit toward the most significant bit, zero is added to the least significant bit, and
Obtain "11100110100", T'contrary to the case of positive discussed this ahead with reference to FIGS. 4 and 5 - to (see FIG. 9). On the other hand, the data part “011110011010” excluding the sign part is T ′ in reverse to the case of a positive number.
+ (See FIG. 9).

【0032】次に、(T´,0)と(0,T´)と
の加算演算を、先に図1及び図3を用いて説明した三値
ディジタル回路における加算処理と同様の手順で行い、
その演算結果として符号化データ(T,T)=(0
0010001010,10000100100)を得
る(図9参照)。このように負の二値ディジタルデータ
は、正の二値ディジタルデータを符号化した場合の符号
化データ(T,T)における正部Tのビット列
と、負部T のビット列とを入れ替えたものとして表さ
れる。
Next, (T '+, 0) and (0, T ')When
Is the ternary value described earlier with reference to FIGS. 1 and 3.
Perform the same procedure as the addition process in the digital circuit,
The encoded data (T+, T) = (0
0010001010,10000100100)
(See FIG. 9). Thus, negative binary digital data
Is the code when positive binary digital data is encoded
Data (T+, T)+Bit string of
And the negative part T Expressed as a replacement of the bit string of
It is.

【0033】次に、この符号化データ(0001000
1010,10000100100)の復号化について
図10を参照しつつ説明する。復号化の手順は、符号化
データが負数を表すものであっても先に図7を参照しつ
つ説明した手順と同様である。すなわち、最初に、T
=00010001010について、各々のビットデー
タを反転し、T1=11101110101を得る
(図10(A)参照)。次に、(T1,0)+(0,
)=(01111011011,0)+(0,00
010001010)の演算を、先に図1及び図3を用
いて説明した三値ディジタル回路における加算処理と同
様の手順で行い、その演算結果として(T2,0)=
(01101010001,00000000000)
を得る(図10(A)参照)。
Next, the encoded data (0001000
1010, 10000100100) will be described with reference to FIG. The decoding procedure is the same as the procedure described above with reference to FIG. 7 even if the encoded data represents a negative number. That is, first, T +
With respect to = 00010001010, each bit data is inverted to obtain T1 + = 11101110101 (see FIG. 10A). Next, (T1 + , 0) + (0,
T ) = (01111011011,0) + (0.00,
01000010) is performed in the same procedure as the addition processing in the ternary digital circuit described above with reference to FIGS. 1 and 3, and (T2 + , 0) =
(01101010001,000000000000)
(See FIG. 10A).

【0034】次に、T=10000100100を、
その最上位ビット側に1ビットだけシフトすると共に、
最下位ビットに1を加えて、新たなビット列T3=0
0001001001を得る(図10(B)参照)。そ
して最後に、(T2,0)+(T3,0)=(011
01010001,0)+(00001001001,
0)の演算を、先に図1及び図3を用いて説明した三値
ディジタル回路における加算処理と同様の手順で行うこ
とで、演算結果(B´,0)を得ることができる(図1
0(B)参照)。ここで、B´=1000110011
0は、元の負の二値ディジタルデータB=−01110
011010の符号を除いたデータ部分「011100
11010」の補数である。すなわち、符号化データが
負数を表すものである場合、この復号化においては、復
号化データは、元の二値ディジタルデータの補数が得ら
れることとなる。
Next, T + = 10000100100 is calculated as follows:
While shifting by one bit to the most significant bit side,
By adding 1 to the least significant bit, a new bit string T3 + = 0
0001001001 is obtained (see FIG. 10B). Finally, (T2 + , 0) + (T3 + , 0) = (011
0100001,0) + (00001001001,
1) is performed in the same procedure as the addition processing in the ternary digital circuit described above with reference to FIGS. 1 and 3, thereby obtaining the calculation result (B ′, 0) (FIG. 1).
0 (B)). Here, B ′ = 10000110011
0 is the original negative binary digital data B = −01110
The data portion “011100” excluding the sign of “011010”
11010 ". That is, when the encoded data represents a negative number, in this decoding, the decoded data is obtained as a complement of the original binary digital data.

【0035】[0035]

【発明の効果】以上、述べたように、三値ディジタル回
路の発明によれば、三値ディジタル信号を二値ディジタ
ル信号の組み合わせにより表現して演算に用いることが
できるよう構成されているので、従来の二値論理素子を
流用して、比較的簡易な構成で、いわゆる桁上げ信号の
伝搬が少なくて済む演算回路が提供できる。特に、多ビ
ットの処理においては、従来と異なり、多段に渡る桁上
げ信号の伝搬がなく、高速処理が可能となる。また、加
算演算と他の演算処理とを組み合わせて構成されるよう
な様々なディジタルデータ処理回路に、本発明に係る三
値ディジタル回路を用いるようにすることで、構成ゲー
トの動作率を低減できるので、特に、消費電力が構成ゲ
ートの動作率に比例するCMOS回路では、低消費電力
のCMOS回路を実現することができる。さらに、本発
明に係る符号化方法においては、従来の二値ディジタル
データが、二組の二値ディジタルデータの組み合わせの
表現に変換されることで、第1の発明に係る三値ディジ
タル回路によって演算可能となるので、従来の二値ディ
ジタルデータを用いて演算する場合に比して桁上げ信号
の伝搬が少なくて済み、より効率的なデータ処理が可能
となる。またさらに、本発明に係る復号化方法において
は、本発明に係る符号化方法により符号化されたデータ
を、所望により、比較的簡易な手順により、元の二値デ
ィジタルデータに復号することが可能であり、所望に応
じて本発明に係る符号化方法による符号化データと元の
二値ディジタルデータとの使い分けを容易にする。ま
た、本発明に係る三値ディジタル回路、本発明に係る符
号化方法を実行する符号化回路及び本発明に係る復号化
方法を実行する復号化回路は、組み合わせが容易であ
り、より複雑なディジタルフィルタ等のディジタル信号
処理回路を構成することができ、それにより、従来に比
して符号化や復号化の繰り返しが少なくて済み、2進数
とのインターフェイスに必要となるいわゆるオーバーヘ
ッドを低減することができ、比較的簡易な構成で高機能
なディジタル信号処理プロセッサLSIなどの実現が容
易となるという効果を奏するものである。
As described above, according to the invention of the ternary digital circuit, the ternary digital signal is constituted so that it can be represented by a combination of the binary digital signals and used for the operation. By using a conventional binary logic element, it is possible to provide an arithmetic circuit having a relatively simple configuration and requiring less propagation of a so-called carry signal. In particular, in multi-bit processing, unlike the conventional case, the carry signal does not propagate in multiple stages, and high-speed processing can be performed. In addition, by using the ternary digital circuit according to the present invention for various digital data processing circuits configured by combining an addition operation and other operation processing, the operation rate of constituent gates can be reduced. Therefore, especially in a CMOS circuit whose power consumption is proportional to the operation rate of the constituent gates, a low power consumption CMOS circuit can be realized. Further, in the encoding method according to the present invention, the conventional binary digital data is converted into a representation of a combination of two sets of binary digital data, so that the arithmetic operation is performed by the ternary digital circuit according to the first invention. As a result, the propagation of the carry signal can be reduced as compared with the case where the operation is performed using conventional binary digital data, and more efficient data processing can be performed. Still further, in the decoding method according to the present invention, the data encoded by the encoding method according to the present invention can be decoded into the original binary digital data by a relatively simple procedure as desired. Thus, it is possible to easily use the encoded data and the original binary digital data by the encoding method according to the present invention as desired. In addition, the ternary digital circuit according to the present invention, the encoding circuit that executes the encoding method according to the present invention, and the decoding circuit that executes the decoding method according to the present invention can be easily combined with each other to provide a more complex digital circuit. A digital signal processing circuit such as a filter can be configured, thereby reducing the number of repetitions of encoding and decoding as compared with the related art, and reducing the so-called overhead required for interfacing with a binary number. This makes it possible to easily realize a high-performance digital signal processor LSI with a relatively simple configuration.

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

【図1】第1の発明の実施の形態における三値ディジタ
ル回路の基本回路構成例を示す構成図である。
FIG. 1 is a configuration diagram showing an example of a basic circuit configuration of a ternary digital circuit according to an embodiment of the first invention.

【図2】図1に示された三値ディジタル回路における演
算処理を説明するための説明図である。
FIG. 2 is an explanatory diagram for explaining arithmetic processing in the ternary digital circuit shown in FIG. 1;

【図3】4ビットのデータの演算処理に適する三値ディ
ジタル回路の回路構成例を示す回路図である。
FIG. 3 is a circuit diagram showing a circuit configuration example of a ternary digital circuit suitable for arithmetic processing of 4-bit data.

【図4】第2の発明の実施の形態における符号化処理に
おける最初の処理内容を説明する説明図である。
FIG. 4 is an explanatory diagram illustrating initial processing content in an encoding process according to the embodiment of the second invention.

【図5】第2の発明の実施の形態における符号化処理に
おける最後の演算処理の内容を説明する説明図である。
FIG. 5 is an explanatory diagram for explaining the content of the last arithmetic processing in the encoding processing according to the embodiment of the second invention;

【図6】第3の発明の実施の形態における符号化回路の
構成例を示す構成図である。
FIG. 6 is a configuration diagram illustrating a configuration example of an encoding circuit according to an embodiment of the third invention.

【図7】第4の発明の実施の形態における復号化処理を
説明する説明図であって、図7(A)は、処理の初期段
階の内容を説明する説明図、図7(B)は、処理の最後
の段階を内容を説明する説明図である。
FIGS. 7A and 7B are explanatory diagrams for explaining a decoding process according to the fourth embodiment of the present invention. FIG. 7A is an explanatory diagram for explaining the contents of an initial stage of the process, and FIG. FIG. 9 is an explanatory diagram for explaining the contents of the last stage of the processing.

【図8】第5の発明の実施の形態における復号化回路の
構成例を示す構成図である。
FIG. 8 is a configuration diagram showing a configuration example of a decoding circuit according to an embodiment of the fifth invention.

【図9】負の二値ディジタルデータの符号化処理の内容
を説明する説明図である。
FIG. 9 is an explanatory diagram for explaining the contents of encoding processing of negative binary digital data.

【図10】負の符号化データに対して行われる復号化処
理の内容を説明する説明図であって、図10(A)は、
処理の初期段階の内容を説明する説明図、図10(B)
は、処理の終了段階の内容を説明する説明図である。あ
る。
FIG. 10 is an explanatory diagram for explaining the content of a decoding process performed on negative encoded data, and FIG.
FIG. 10B is an explanatory diagram illustrating the contents of the initial stage of the processing.
FIG. 9 is an explanatory diagram for explaining the content of a process termination stage. is there.

【図11】従来の加算回路の一回路構成例を示す構成図
である。
FIG. 11 is a configuration diagram illustrating an example of a circuit configuration of a conventional addition circuit.

【図12】従来の加算回路の他の回路構成例を示す構成
図である。
FIG. 12 is a configuration diagram showing another example of a circuit configuration of a conventional addition circuit.

【符号の説明】[Explanation of symbols]

1…第1の全加算器 2…第2の全加算器 3…補正回路 4…NAND 5…第1のAND 6…第2のAND DESCRIPTION OF SYMBOLS 1 ... 1st full adder 2 ... 2nd full adder 3 ... Correction circuit 4 ... NAND 5 ... 1st AND 6 ... 2nd AND

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 三値ディジタルデータの−1を(0,
1)と、三値ディジタルデータの0を(0,0)と、三
値ディジタルデータの+1を(1,0)と二値ディジタ
ルデータの組み合わせとして表すことを基本として、三
値ディジタルデータを、(第1の符号化ビット列,第2
の符号化ビット列)と表現することを前提とし、2つの
三値ディジタルデータに対応する上記表記方法に基づく
前記二値ディジタルデータA及びBの各々の第1及び第
2の符号化ビット列が共にmビットであり、前記二値デ
ィジタルデータAが(Am-1Am-2・・・A0,Am
-1 Am-2・・・A0)、前記二値ディジタルデータ
Bが(Bm-1Bm-2・・・B0,Bm-1Bm-2
・・B0)である場合において、これら2つの二値デ
ィジタルデータの加算(Am-1Am-2・・・A0
Am-1Am-2・・・A0)+(Bm-1Bm-2・・
・B0,Bm-1Bm-2・・・B0)を、それぞれの
第1の符号化ビット列の対応するビット同士の加算演算
と、それぞれの第2の複数のビット列の対応するビット
同士の加算演算とを、それぞれ行い、それらの演算結果
として得られる二値ディジタルデータの組み合わせを前
記2つの二値ディジタルデータAとBとの加算結果とす
る演算を実行するための三値ディジタル回路であって、 前記二値ディジタルデータAの第1及び第2の符号化ビ
ット列の所定のビット位置αにおけるビットの組み合わ
せ(Aα,Aα)と、前記二値ディジタルデータB
における前記所定のビット位置αにおける1ビットの組
み合わせ(Bα ,Bα)の加算処理を行う単位ビッ
ト処理部が、前記ビット数mに応じて設けられてなり、 前記単位ビット処理部は、 二つの入力端子と、一つの桁上げ入力端子と、一つの演
算出力端子と、一つの桁上げ出力端子とを有してなる第
1の全加算器と、 二つの入力端子と、一つの桁上げ入力端子と、一つの演
算出力端子と、一つの桁上げ出力端子とを有してなる第
2の全加算器と、 二つの入力端子と二つの出力端子を有し、一方の入力端
子は、前記第1の全加算器の演算出力端子に、他方の入
力端子は、前記第2の全加算器の演算出力端子に、それ
ぞれ接続され、前記第1及び第2の全加算器の演算出力
端子に共に論理値Highが出力された場合にのみ前記
二つの出力端子から論理値Lowが出力される一方、前
記第1及び第2の全加算器の演算出力端子が共に論理値
High以外の状態となった場合には、一方の出力端子
は、第1の全加算器の演算出力端子の出力状態と同一の
出力状態とされ、他方の出力端子は、第2の全加算器の
演算出力端子の出力状態と同一の出力状態とされるよう
構成されてなる補正回路とを有してなり、 前記二値ディジタルデータの最下位ビットを処理する単
位ビット処理部の第1及び第2の全加算器の桁上げ入力
端子は、論理値Lowの状態に保持される一方、 前記各々の単位ビット処理部の第1の全加算器の桁上げ
出力端子は、上位ビットに対応する単位ビット処理部の
第1の全加算器の桁上げ入力端子に、前記各々の単位ビ
ット処理部の第2の全加算器の桁上げ出力端子は、上位
ビットに対応する単位ビット処理部の第1の全加算器の
桁上げ入力端子に、それぞれ接続されてなり、 前記各々の単位ビット処理部の一方の出力端子にそれぞ
れ得られる出力データを最上位ビット側から順次並べて
第1のビット列とし、 前記各々の単位ビット処理部の他方の出力端子にそれぞ
れ得られる出力データを最上位ビット側から順次並べて
第2のビット列とした場合、(第1のビット列,第2の
ビット列)と表されたものが、前記2つの二値ディジタ
ルデータAとBとの加算結果となることを特徴とする三
値ディジタル回路。
1. The ternary digital data -1 is changed to (0,
1) and 0 of the ternary digital data is (0,0),
+1 of the value digital data is replaced with (1, 0) and the binary value
Based on the combination of data
The value digital data is represented by (first encoded bit string, second encoded bit string,
Coded bit sequence).
Based on the above notation method corresponding to ternary digital data
First and second data of each of the binary digital data A and B
2 are both m bits, and the binary data
Digital data A is (Am-1+Am-2+... A0+, Am
-1 Am-2... A0), The binary digital data
B is (Bm-1+Bm-2+... B0+, Bm-1Bm-2
..B0), These two binary data
Addition of digital data (Am-1+Am-2+... A0+,
Am-1Am-2... A0) + (Bm-1+Bm-2+・ ・
・ B0+, Bm-1Bm-2... B0) For each
Addition operation of corresponding bits of the first encoded bit sequence
And corresponding bits of each second plurality of bit strings
And perform the addition operation of each other, and the operation results
Before the combination of binary digital data obtained as
The result of addition of the two binary digital data A and B is
A ternary digital circuit for performing an arithmetic operation, comprising: first and second encoding circuits for the binary digital data A;
Combination of bits at a predetermined bit position α in the bit sequence
S (Aα+, Aα) And the binary digital data B
1 bit set at the predetermined bit position α
Combination (Bα +, Bα) The unit bit to be added
A bit processing unit is provided according to the number of bits m. The unit bit processing unit has two input terminals, one carry input terminal, and one operation terminal.
A fourth terminal having a calculation force terminal and one carry output terminal;
One full adder, two input terminals, one carry input terminal and one
A fourth terminal having a calculation force terminal and one carry output terminal;
Two full adders, two input terminals and two output terminals, one input terminal
The other input is connected to the operation output terminal of the first full adder by the other input.
The output terminal is connected to the operation output terminal of the second full adder.
Operation outputs of the first and second full adders, respectively connected
Only when both terminals output a logical value High
While the logical value Low is output from the two output terminals,
The operation output terminals of the first and second full adders are both logical values
In the case of a state other than High, one output terminal
Is the same as the output state of the operation output terminal of the first full adder.
Output state, and the other output terminal is connected to the second full adder.
The output state is the same as the output state of the operation output terminal.
And a correction circuit configured to process the least significant bit of the binary digital data.
Carry input of the first and second full adders of the order bit processing unit
The terminal is held at the state of the logical value Low, while the carry of the first full adder of each of the unit bit processing units is carried.
The output terminal of the unit bit processing unit corresponding to the upper bit
The carry input terminal of the first full adder is connected to each of the unit
The carry output terminal of the second full adder of the
Of the first full adder of the unit bit processing unit corresponding to the bit
Connected to the carry input terminals, respectively to one output terminal of each of the unit bit processing units.
The output data obtained is arranged in order from the most significant bit side.
A first bit string, each of which is connected to the other output terminal of each of the unit bit processing units;
The output data obtained is arranged in order from the most significant bit side.
In the case of the second bit string, (first bit string, second bit string
Bit sequence) are the two binary digital data.
Characterized in that the result of addition of the data A and B is
Value digital circuit.
【請求項2】 補正回路は、二入力のNANDと、二入
力の第1のANDと、二入力の第2のANDとを有し、 前記NANDの一方の入力端子と前記第1のANDの一
方の入力端子は、第1の全加算器の演算出力端子に接続
され、 前記NANDの他方の入力端子と前記第2のANDの一
方の入力端子は、第2の全加算器の演算出力端子に接続
され、 前記NANDの出力端子は、前記第1及び第2のAND
のそれぞれの他方の入力端子に接続され、 前記第1のANDの出力端子と前記第2のANDの出力
端子が単位ビット処理部の出力端子となることを特徴と
する請求項1記載の三値ディジタル回路。
2. The correction circuit has a two-input NAND, a two-input first AND, and a two-input second AND, and has one input terminal of the NAND and the first AND of the first AND. One input terminal is connected to an operation output terminal of a first full adder, and the other input terminal of the NAND and one input terminal of the second AND are output terminals of an operation output terminal of a second full adder. And the output terminal of the NAND is connected to the first and second AND
3. The ternary signal according to claim 1, wherein the output terminal of the first AND and the output terminal of the second AND are output terminals of a unit bit processing unit. Digital circuit.
【請求項3】 正数の二値ディジタルデータを、(第1
の符号化ビット列,第2の符号化ビット列)で表現され
るデータに符号化するための符号化方法であって、 前記二値ディジタルデータを、その最上位ビット側へ1
ビットシフトすると共に、最下位ビットに零を加えて新
たな第1のビット列を得、これを(第1のビット列,
0)とする一方、 前記二値ディジタルデータのビット列を第2のビット列
として、これを(0,第2のビット列)とし、 (第1のビット列,0)+(0,第2のビット列)の加
算演算を、所定の演算規則に基づいて行い、 その演算結果を、(第1の符号化ビット列,第2の符号
化ビット列)とし、前記所定の演算規則は、前記(第1
のビット列,0)+(0,第2のビット列)の各々のビ
ットにおいて、(0,0)+(0,0)の場合、その演
算結果を(0,0)と共に、桁上げを(0,0)とし、 (0,0)+(1,0)の場合、その演算結果を(1,
0)とすると共に、桁上げを(0,0)とし、 (0,0)+(0,1)の場合、その演算結果を(0,
1)とすると共に、桁上げを(0,0)とし、 (1,0)+(1,0)の場合、その演算結果を(0,
0)とすると共に、桁上げを(1,0)として、当該桁
上げにより生じたデータを上位ビットの加算演算に加
え、 (0,1)+(0,1)の場合、その演算結果を(0,
0)とすると共に、桁上げを(0,1)として、当該桁
上げにより生じたデータを上位ビットの加算演算に加
え、 (1,0)+(0,1)の場合、その演算結果を(0,
0)とすると共に、桁上げを(0,0)とするものであ
ることを特徴とする符号化方法。
3. The method according to claim 1, wherein the binary digital data of the positive number is represented by (first
And a second coded bit sequence), wherein the binary digital data is converted to the most significant bit by one bit.
While shifting the bits, zero is added to the least significant bit to obtain a new first bit string.
0), while the bit string of the binary digital data is a second bit string, which is (0, second bit string), and (1st bit string, 0) + (0, second bit string). The addition operation is performed based on a predetermined operation rule, and the operation result is defined as (first encoded bit sequence, second encoded bit sequence).
In each bit of (0, 0) + (0, second bit string), if (0,0) + (0,0), the operation result is (0,0) and the carry is (0,0). , 0), and in the case of (0,0) + (1,0), the operation result is (1,0)
0) and carry (0, 0). In the case of (0, 0) + (0, 1), the operation result is (0, 0).
1) and the carry is (0,0). In the case of (1,0) + (1,0), the operation result is (0,0).
0), the carry is (1,0), and the data generated by the carry is added to the addition operation of the upper bits. In the case of (0,1) + (0,1), the operation result is (0,
0), the carry is (0, 1), the data generated by the carry is added to the addition operation of the upper bits, and in the case of (1, 0) + (0, 1), the calculation result is (0,
0) and carry (0, 0).
【請求項4】 負数の二値ディジタルデータを、(第1
の符号化ビット列,第2の符号化ビット列)で表現され
るデータに符号化するための符号化方法であって、 前記二値ディジタルデータのビット列を第1のビット列
として、これを(第1のビット列,0)とする一方、 前記二値ディジタルデータを、その最上位ビット側へ1
ビットシフトすると共に、最下位ビットに零を加えて新
たな第2のビット列を得、これを(0,第2のビット
列)とし、 (第1のビット列,0)+(0,第2のビット列)の加
算演算を、所定の演算規則に基づいて行い、 その演算結果を、(第1の符号化ビット列,第2の符号
化ビット列)とし、 前記所定の演算規則は、前記(第1のビット列,0)+
(0,第2のビット列)の各々のビットにおいて、
(0,0)+(0,0)の場合、その演算結果を(0,
0)と共に、桁上げを(0,0)とし、 (0,0)+(1,0)の場合、その演算結果を(1,
0)とすると共に、桁上げを(0,0)とし、 (0,0)+(0,1)の場合、その演算結果を(0,
1)とすると共に、桁上げを(0,0)とし、 (1,0)+(1,0)の場合、その演算結果を(0,
0)とすると共に、桁上げを(1,0)として、当該桁
上げにより生じたデータを上位ビットの加算演算に加
え、 (0,1)+(0,1)の場合、その演算結果を(0,
0)とすると共に、桁上げを(0,1)として、当該桁
上げにより生じたデータを上位ビットの加算演算に加
え、 (1,0)+(0,1)の場合、その演算結果を(0,
0)とすると共に、桁上げを(0,0)とするものであ
ることを特徴とする符号化方法。
4. The method according to claim 1, wherein the binary digital data of the negative number is
And a second coded bit sequence), wherein the bit sequence of the binary digital data is defined as a first bit sequence, which is referred to as (first While the binary digital data is shifted to the most significant bit side by 1
A bit shift is performed, and a zero is added to the least significant bit to obtain a new second bit string. This is set to (0, second bit string), and (first bit string, 0) + (0, second bit string) ) Is performed based on a predetermined operation rule, and the operation result is (first encoded bit sequence, second encoded bit sequence). The predetermined operation rule is the (first bit sequence) , 0) +
In each bit of (0, second bit string),
In the case of (0,0) + (0,0), the operation result is (0,0).
0) together with the carry (0,0). In the case of (0,0) + (1,0), the calculation result is (1,0).
0) and carry (0, 0). In the case of (0, 0) + (0, 1), the operation result is (0, 0).
1) and the carry is (0,0). In the case of (1,0) + (1,0), the operation result is (0,0).
0), the carry is (1,0), and the data generated by the carry is added to the addition operation of the upper bits. In the case of (0,1) + (0,1), the operation result is (0,
0), the carry is (0, 1), the data generated by the carry is added to the addition operation of the upper bits, and in the case of (1, 0) + (0, 1), the calculation result is (0,
0) and carry (0, 0).
【請求項5】 請求項3記載の符号化方法により得られ
た符号化データ(第1の符号化ビット列,第2の符号化
ビット列)を、元の二値ディジタルデータへ復号化する
ための復号化方法であって、 前記第1の符号化ビット列の各々ビットを反転し、その
結果を第1のビット列とし、これを(第1のビット列,
0)と表し、 前記(第1のビット列,0)+(0,第2の符号化ビッ
ト列)の加算演算を、所定の演算規則に基づいて行い、
その演算結果として(第2のビット列,0)を得、 前記第1の符号化ビット列について、その最上位ビット
側へ1ビットシフトすると共に、最下位ビットに1を加
えて新たな第3のビット列を得、これを(第3のビット
列,0)と表し、 前記(第2のビット列,0)+前記(第3のビット列,
0)の加算演算を、前記演算規則に基づいて行い、その
演算結果として得られる(復号ビット列,0)の当該復
号ビット列を復号化された二値ディジタルデータとする
一方、 前記所定の演算規則は、演算対象の各々のビットにおい
て、(0,0)+(0,0)の場合、その演算結果を
(0,0)と共に、桁上げを(0,0)とし、 (0,0)+(1,0)の場合、その演算結果を(1,
0)とすると共に、桁上げを(0,0)とし、 (0,0)+(0,1)の場合、その演算結果を(0,
1)とすると共に、桁上げを(0,0)とし、 (1,0)+(1,0)の場合、その演算結果を(0,
0)とすると共に、桁上げを(1,0)として、当該桁
上げにより生じたデータを上位ビットの加算演算に加
え、 (0,1)+(0,1)の場合、その演算結果を(0,
0)とすると共に、桁上げを(0,1)として、当該桁
上げにより生じたデータを上位ビットの加算演算に加
え、 (1,0)+(0,1)の場合、その演算結果を(0,
0)とすると共に、桁上げを(0,0)とするものであ
ることを特徴とする復号化方法。
5. Decoding for decoding encoded data (a first encoded bit string and a second encoded bit string) obtained by the encoding method according to claim 3 into original binary digital data. A first encoding bit sequence, wherein each bit of the first encoded bit sequence is inverted, and the result is defined as a first bit sequence, which is referred to as (first bit sequence,
0), and the addition operation of the (first bit sequence, 0) + (0, second coded bit sequence) is performed based on a predetermined calculation rule.
(2nd bit string, 0) is obtained as the operation result, and the first coded bit string is shifted by one bit to the most significant bit side, and 1 is added to the least significant bit to add a new third bit string. And this is represented as (third bit string, 0), and the (second bit string, 0) + the (third bit string, 0)
0) is performed based on the operation rule, and the decoded bit string of (decoded bit string, 0) obtained as the operation result is decoded binary digital data, while the predetermined operation rule is In the case of (0,0) + (0,0) in each bit of the operation target, the operation result is set to (0,0) together with (0,0), and (0,0) + In the case of (1, 0), the calculation result is (1, 0)
0) and carry (0, 0). In the case of (0, 0) + (0, 1), the operation result is (0, 0).
1) and the carry is (0,0). In the case of (1,0) + (1,0), the operation result is (0,0).
0), the carry is (1,0), and the data generated by the carry is added to the addition operation of the upper bits. In the case of (0,1) + (0,1), the operation result is (0,
0), the carry is (0, 1), the data generated by the carry is added to the addition operation of the upper bits, and in the case of (1, 0) + (0, 1), the calculation result is (0,
0) and carry (0, 0).
【請求項6】 二値ディジタルデータを、(第1の符号
化ビット列,第2の符号化ビット列)で表現されるデー
タに符号化するための符号化回路であって、 前記二値ディジタルデータを、その最上位ビット側へ1
ビットシフトすると共に、最下位ビットに零を付加して
第1のビット列を出力するシフト回路と、 請求項1記載の三値ディジタル回路とを具備してなり、 前記三値ディジタル回路には、前記第1のビット列と共
に前記二値ディジタルデータが第2のビット列として印
加され、(第1のビット列,0)+(0,第2のビット
列)の演算が実行され、符号化データ(第1の符号化ビ
ット列,第2の符号化ビット列)が得られることを特徴
とする符号化回路。
6. An encoding circuit for encoding binary digital data into data represented by (first encoded bit sequence, second encoded bit sequence), wherein said binary digital data is , 1 to the most significant bit side
A shift circuit for shifting the bit and adding a zero to the least significant bit to output a first bit string; and the ternary digital circuit according to claim 1, wherein the ternary digital circuit includes The binary digital data is applied as a second bit string together with the first bit string, an operation of (first bit string, 0) + (0, second bit string) is executed, and encoded data (first code string) is obtained. (Encoded bit sequence, second encoded bit sequence).
【請求項7】 請求項3記載の符号化方法により得られ
た符号化データ(第1の符号化ビット列,第2の符号化
ビット列)を、元の二値ディジタルデータへ復号化する
ための復号化回路であって、 前記第1の符号化ビット列の各々のビットの論理を反転
して第1のビット列として出力する反転回路と、 前記第1のビット列と前記第2の符号化ビット列とが入
力され、(第1のビット列,0)+(0,第2の符号化
ビット列)の演算を行い(第2のビット列,0)の演算
結果を得る請求項1記載の第1の三値ディジタル回路
と、 前記第1の符号化ビット列をその最上位ビット側へ1ビ
ットシフトすると共に、最下位ビットに1を加えて新た
な第3のビット列として出力するシフト回路と、 前記第2のビット列と前記第3のビット列が印加され、
(第2のビット列,0)+(第3のビット列,0)が演
算され、(復号ビット列,0)が出力される請求項1記
載の第2の三値ディジタル回路と、 を具備してなることを特徴とする復号化回路。
7. Decoding for decoding coded data (first coded bit string, second coded bit string) obtained by the coding method according to claim 3 into original binary digital data. An inverting circuit that inverts the logic of each bit of the first encoded bit string and outputs the result as a first bit string; and wherein the first bit string and the second encoded bit string are input. 2. The first ternary digital circuit according to claim 1, wherein an operation result of (first bit sequence, 0) + (0, second encoded bit sequence) is obtained to obtain an operation result of (second bit sequence, 0). A shift circuit that shifts the first coded bit string by one bit to the most significant bit side, adds 1 to the least significant bit, and outputs it as a new third bit string; A third bit sequence is applied
2. The second ternary digital circuit according to claim 1, wherein (second bit string, 0) + (third bit string, 0) is operated, and (decoded bit string, 0) is output. A decoding circuit, characterized in that:
【請求項8】 多ビットの三値ディジタルデータの乗算
処理を行う乗算回路であって、全加算器を用いてなるも
のにおいて、 前記全加算器に代えて請求項1記載の三値ディジタル回
路を用いてなることを特徴とする乗算回路。
8. A multiplication circuit for performing multiplication of multi-bit ternary digital data using a full adder, wherein the ternary digital circuit according to claim 1 is used instead of the full adder. A multiplication circuit characterized by being used.
JP2000196016A 2000-06-29 2000-06-29 Ternary digital circuit Expired - Fee Related JP3418595B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000196016A JP3418595B2 (en) 2000-06-29 2000-06-29 Ternary digital circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000196016A JP3418595B2 (en) 2000-06-29 2000-06-29 Ternary digital circuit

Publications (2)

Publication Number Publication Date
JP2002014804A true JP2002014804A (en) 2002-01-18
JP3418595B2 JP3418595B2 (en) 2003-06-23

Family

ID=18694585

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000196016A Expired - Fee Related JP3418595B2 (en) 2000-06-29 2000-06-29 Ternary digital circuit

Country Status (1)

Country Link
JP (1) JP3418595B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2476922C1 (en) * 2012-02-13 2013-02-27 Лев Петрович Петренко FUNCTIONAL DESIGN OF ADDER f3(ΣCD)max OF "k" CONDITIONALLY MOST SIGNIFICANT BITS OF PARALLEL-SERIAL MULTIPLIER fΣ(ΣCD), IMPLEMENTING PROCEDURE FOR "DECRYPTION" OF ARGUMENTS OF TERMS [1,2Sg h1] AND [1,2Sg h2] "COMPLEMENTARY CODE RU" BY ARITHMETIC AXIOM OF TERNARY NUMBER SYSTEM f(+1,0,-1) AND LOGIC DIFFERENTIATION d1/dn → f1(+←↓-)d/dn (VERSIONS OF RUSSIAN LOGIC)
RU2480816C1 (en) * 2012-04-24 2013-04-27 Лев Петрович Петренко FUNCTIONAL SECOND INPUT STRUCTURE OF CONDITIONAL "j" BIT OF ADDER fCD(Σ)RU WITH MAXIMALLY MINIMISED PROCESS CYCLE ∆tΣ FOR ARGUMENTS OF TERMS ±[1,2nj]f(2n) И ±[1,2mj]f(2n) OF "COMPLEMENTARY CODE RU" FORMAT WITH GENERATION OF INTERMEDIATE SUM ±[1,2Sj]1 d1/dn OF SECOND TERM IN SAME FORMAT (VERSIONS OF RUSSIAN LOGIC)
RU2480817C1 (en) * 2011-12-20 2013-04-27 Лев Петрович Петренко FUNCTIONAL STRUCTURE OF ADDER f2(ΣCD) OF CONDITIONAL "k" BIT OF PARALLEL-SERIAL MULTIPLIER fΣ(ΣCD), IMPLEMENTING PROCEDURE FOR "DECRYPTION" OF INPUT STRUCTURES OF ARGUMENTS OF TERMS [1,2Sj h1]f(2n) AND [1,2Sj h2]f(2n) OF "COMPLEMENTARY CODE RU" POSITIONAL FORMAT BY APPLYING ARITHMETIC AXIOM OF TERNARY NUMBER SYSTEM f(+1,0,-1) AND LOGIC DIFFERENTIATION d1/dn → f1(+←↓-)d/dn OF ARGUMENTS IN COMBINED STRUCTURE THEREOF (VERSIONS OF RUSSIAN LOGIC)
RU2517245C9 (en) * 2011-12-20 2014-10-27 Лев Петрович Петренко f3 ADDER FUNCTIONAL STRUCTURE (ΣCD) OF ARBITRARY "g" DIGIT IMPLEMENTING DECODING PROCEDURE FOR ARGUMENTS OF SUMMANDS [1,2Sg h1]f(2n) AND [1,2Sg h2]f(2n) OF POSITION FORMAT "EXTRA CODE RU" BY ARITHMETIC AXIOMS OF TERNARY NOTATION f(+1,0,-1) AND DOUBLE LOGICAL DIFFERENTIATION d1,2/dn → f1,2(+←↓-)d/dn OF ACTIVE ARGUMENTS OF "LEVEL 2" AND REMOVAL OF ACTIVE LOGICAL ZEROES "+1""-1"→"0" IN "LEVEL 1" (VERSIONS OF RUSSIAN LOGIC)
US10133552B2 (en) 2014-08-22 2018-11-20 Renesas Electronics Corporation Data storage method, ternary inner product operation circuit, semiconductor device including the same, and ternary inner product arithmetic processing program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2480817C1 (en) * 2011-12-20 2013-04-27 Лев Петрович Петренко FUNCTIONAL STRUCTURE OF ADDER f2(ΣCD) OF CONDITIONAL "k" BIT OF PARALLEL-SERIAL MULTIPLIER fΣ(ΣCD), IMPLEMENTING PROCEDURE FOR "DECRYPTION" OF INPUT STRUCTURES OF ARGUMENTS OF TERMS [1,2Sj h1]f(2n) AND [1,2Sj h2]f(2n) OF "COMPLEMENTARY CODE RU" POSITIONAL FORMAT BY APPLYING ARITHMETIC AXIOM OF TERNARY NUMBER SYSTEM f(+1,0,-1) AND LOGIC DIFFERENTIATION d1/dn → f1(+←↓-)d/dn OF ARGUMENTS IN COMBINED STRUCTURE THEREOF (VERSIONS OF RUSSIAN LOGIC)
RU2517245C9 (en) * 2011-12-20 2014-10-27 Лев Петрович Петренко f3 ADDER FUNCTIONAL STRUCTURE (ΣCD) OF ARBITRARY "g" DIGIT IMPLEMENTING DECODING PROCEDURE FOR ARGUMENTS OF SUMMANDS [1,2Sg h1]f(2n) AND [1,2Sg h2]f(2n) OF POSITION FORMAT "EXTRA CODE RU" BY ARITHMETIC AXIOMS OF TERNARY NOTATION f(+1,0,-1) AND DOUBLE LOGICAL DIFFERENTIATION d1,2/dn → f1,2(+←↓-)d/dn OF ACTIVE ARGUMENTS OF "LEVEL 2" AND REMOVAL OF ACTIVE LOGICAL ZEROES "+1""-1"→"0" IN "LEVEL 1" (VERSIONS OF RUSSIAN LOGIC)
RU2476922C1 (en) * 2012-02-13 2013-02-27 Лев Петрович Петренко FUNCTIONAL DESIGN OF ADDER f3(ΣCD)max OF "k" CONDITIONALLY MOST SIGNIFICANT BITS OF PARALLEL-SERIAL MULTIPLIER fΣ(ΣCD), IMPLEMENTING PROCEDURE FOR "DECRYPTION" OF ARGUMENTS OF TERMS [1,2Sg h1] AND [1,2Sg h2] "COMPLEMENTARY CODE RU" BY ARITHMETIC AXIOM OF TERNARY NUMBER SYSTEM f(+1,0,-1) AND LOGIC DIFFERENTIATION d1/dn → f1(+←↓-)d/dn (VERSIONS OF RUSSIAN LOGIC)
RU2480816C1 (en) * 2012-04-24 2013-04-27 Лев Петрович Петренко FUNCTIONAL SECOND INPUT STRUCTURE OF CONDITIONAL "j" BIT OF ADDER fCD(Σ)RU WITH MAXIMALLY MINIMISED PROCESS CYCLE ∆tΣ FOR ARGUMENTS OF TERMS ±[1,2nj]f(2n) И ±[1,2mj]f(2n) OF "COMPLEMENTARY CODE RU" FORMAT WITH GENERATION OF INTERMEDIATE SUM ±[1,2Sj]1 d1/dn OF SECOND TERM IN SAME FORMAT (VERSIONS OF RUSSIAN LOGIC)
US10133552B2 (en) 2014-08-22 2018-11-20 Renesas Electronics Corporation Data storage method, ternary inner product operation circuit, semiconductor device including the same, and ternary inner product arithmetic processing program

Also Published As

Publication number Publication date
JP3418595B2 (en) 2003-06-23

Similar Documents

Publication Publication Date Title
KR100500855B1 (en) Calculation method, storage medium and computing device
US4623982A (en) Conditional carry techniques for digital processors
JPH05341963A (en) Multi bit input adding circuit and method therefor
JP2002014804A (en) Ternary digital circuit
Nautiyal et al. Implementation of an ALU using modified carry select adder for low power and area-efficient applications
WO2005086675A2 (en) Arithmetic circuit with balanced logic levels for low-power operation
CN113268219B (en) Adder circuit with binary complement conversion
US4873660A (en) Arithmetic processor using redundant signed digit arithmetic
JPH03228120A (en) Incremental apparatus
US5699285A (en) Normalization circuit device of floating point computation device
JP3741280B2 (en) Carry look-ahead circuit and addition circuit using the same
JP3540807B2 (en) Adders, multipliers, and integrated circuits
KR100297558B1 (en) 32-bit high-speed parallel multiplier
JPH02170228A (en) Redundant binary addition circuit
Jui et al. Efficient algorithm and hardware implementation of 3N for arithmetic and for radix-8 encodings
JPH08335163A (en) Or gate in controllable width
KR0136488B1 (en) Parallel multiplier
SAFIYA et al. A Modified Partial Product Generator for Redundant Binary Multipliers
JPS6349835A (en) Arithmetic processor
KR100339245B1 (en) Adder
CN116126284A (en) Design of booth4 multiplier based on bit serial structure
JPH10254680A (en) Square circuit
JPH02300930A (en) Multiplication circuit
JPH07152537A (en) Decimal adder and adder/subtractor
JPH06252771A (en) Code conversion circuit

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090411

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110411

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees