JP3486638B2 - Constant multiplier - Google Patents

Constant multiplier

Info

Publication number
JP3486638B2
JP3486638B2 JP20437495A JP20437495A JP3486638B2 JP 3486638 B2 JP3486638 B2 JP 3486638B2 JP 20437495 A JP20437495 A JP 20437495A JP 20437495 A JP20437495 A JP 20437495A JP 3486638 B2 JP3486638 B2 JP 3486638B2
Authority
JP
Japan
Prior art keywords
output
outputs
gate
circuit
bit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP20437495A
Other languages
Japanese (ja)
Other versions
JPH0950368A (en
Inventor
充 堀
澄高 竹内
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Renesas Technology Corp
Original Assignee
Renesas Technology 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 Renesas Technology Corp filed Critical Renesas Technology Corp
Priority to JP20437495A priority Critical patent/JP3486638B2/en
Publication of JPH0950368A publication Critical patent/JPH0950368A/en
Application granted granted Critical
Publication of JP3486638B2 publication Critical patent/JP3486638B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】この発明は、乗数が予め決定
され動作中に乗数が固定されている定数乗算器に関し、
特に予め準備された有限個の乗数について切り替えが可
能な定数乗算器に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a constant multiplier whose multiplier is predetermined and which is fixed during operation,
In particular, the present invention relates to a constant multiplier capable of switching a finite number of multipliers prepared in advance.

【0002】[0002]

【従来の技術】近年、半導体集積回路の集積度が向上
し、乗算器は一つの半導体集積回路中に構成される。動
作中に乗数が固定されるような乗数器を有する半導体集
積回路の代表的なものとしてディジタルフィルタがあ
る。定数乗数器を組み込んだディジタルフィルタは、デ
ィジタル信号処理技術の発展とともに、通信分野や民生
分野ではアナログフィルタにとって代わって多く用いら
れるようになってきた。
2. Description of the Related Art In recent years, the degree of integration of semiconductor integrated circuits has improved, and a multiplier is constructed in one semiconductor integrated circuit. There is a digital filter as a typical semiconductor integrated circuit having a multiplier in which a multiplier is fixed during operation. With the development of digital signal processing technology, digital filters incorporating constant multipliers have come to be widely used in place of analog filters in the communication field and consumer field.

【0003】ディジタルフィルタに用いられる乗算器の
場合、ディジタルフィルタの係数が乗数となり、入力デ
ータが被乗数となる。また、ディジタルフィルタで実現
すべき周波数特性により、係数の値は数種類に限定でき
る。ディジタルフィルタが実際に使用される場面では、
係数はあらかじめ設定されており(ディジタルフィルタ
の動作前にローディングされる)、ディジタルフィルタ
の動作中は固定されている。従って乗算器は、動作中、
乗数Yが固定される。また、乗算器の演算精度と演算速
度がディジタルフィルタの高速化、高精度化の鍵を握っ
ている。
In the case of a multiplier used for a digital filter, the coefficient of the digital filter becomes a multiplier and the input data becomes a multiplicand. Further, the value of the coefficient can be limited to several types depending on the frequency characteristics to be realized by the digital filter. When the digital filter is actually used,
The coefficients are preset (loaded before the digital filter operates) and are fixed during the digital filter operation. Therefore, the multiplier is
The multiplier Y is fixed. In addition, the calculation accuracy and calculation speed of the multiplier hold the key to speeding up and increasing the accuracy of the digital filter.

【0004】[0004]

【発明が解決しようとする課題】従来の乗算器には、並
列乗算器が使用される。乗数の値が限定される場面の乗
算器において、回路的に無駄が生じる。図16は並列乗
算器の例であり、部分積の加算はキャリセーブ方式を使
用する。図16において、HAは半加算器、FAは全加
算器、xは乗数、yは被乗数である。図16に示す並列
乗算器では、乗数が限定され、かつ乗数xがmビット
で、乗数yがnビットで表される場合、m×n個の部分
積を生成しなければ成らず、並列乗算器の面積が大きく
なるという問題がある。また、キャリの伝搬は(m+n
+1)個の、加算器を通過しなければならず、高速化に
不利になるという問題点があった。
A parallel multiplier is used as the conventional multiplier. In the multiplier where the value of the multiplier is limited, the circuit is wasted. FIG. 16 is an example of a parallel multiplier, and the addition of partial products uses a carry save method. In FIG. 16, HA is a half adder, FA is a full adder, x is a multiplier, and y is a multiplicand. In the parallel multiplier shown in FIG. 16, when the multiplier is limited and the multiplier x is represented by m bits and the multiplier y is represented by n bits, m × n partial products must be generated. There is a problem that the area of the vessel becomes large. In addition, the carry propagation is (m + n
Since it has to pass through +1) adders, there is a problem in that it is disadvantageous for speeding up.

【0005】この発明は上記の問題点を解消するために
なされたもので、乗数が限定される場合、簡単な論理回
路とその論理回路の出力を出力選択回路で切り替えて、
乗算結果を出力させる構成とする。そして、この発明
は、簡単な論理回路で構成することにより、乗算器を構
成する素子を減少することで小面積化を図り、加算器を
使用せず、出力選択回路回路で論理回路の出力を切り替
えることで乗算結果の出力を高速化することを目的とす
る。
The present invention has been made to solve the above problems, and when the multiplier is limited, a simple logic circuit and the output of the logic circuit are switched by an output selection circuit,
The configuration is such that the multiplication result is output. Further, according to the present invention, the area of the logic circuit is reduced by reducing the elements forming the multiplier by using a simple logic circuit, and the output of the logic circuit is output by the output selection circuit without using the adder. The purpose is to speed up the output of the multiplication result by switching.

【0006】[0006]

【課題を解決するための手段】第1の発明に係る定数乗
算器は、被乗数に定数である乗数を掛けてその積を出力
する定数乗算器であって、前記被乗数に対して異なる論
理演算を施す複数の論理回路を有する部分積生成回路
と、前記乗数に応じた制御信号を出力する出力制御回路
と、前記制御信号に応じて、前記複数の論理回路の出力
を複数の出力端子に割り当てる出力選択回路とを備えて
構成される。
A constant multiplier according to a first aspect of the present invention is a constant multiplier that multiplies a multiplicand by a constant multiplier and outputs the product, and performs different logical operations on the multiplicand. A partial product generation circuit having a plurality of logic circuits to perform, an output control circuit that outputs a control signal according to the multiplier, and an output that assigns the outputs of the plurality of logic circuits to a plurality of output terminals according to the control signal. And a selection circuit.

【0007】第2の発明に係る定数乗算器は、第1の発
明の定数乗算器において、前記論理回路は、入力される
被乗数に応じて演算結果として1ビットの値を出力する
ことを特徴とする。
A constant multiplier according to a second aspect of the present invention is the constant multiplier of the first aspect, wherein the logic circuit outputs a 1-bit value as a calculation result in accordance with an input multiplicand. To do.

【0008】第3の発明に係る定数乗算器は、第1の発
明の定数乗算器において、前記被乗数を構成している複
数のビットのうちの所定のビットによって前記複数の論
理回路の出力を切り替える切り替え手段をさらに備えて
構成される。
A constant multiplier according to a third invention is the constant multiplier of the first invention, wherein the outputs of the plurality of logic circuits are switched by a predetermined bit among a plurality of bits forming the multiplicand. The switching means is further provided.

【0009】[0009]

【発明の実施の形態】DETAILED DESCRIPTION OF THE INVENTION

実施の形態1.以下この発明の実施の形態1による定数
乗算器について説明する。図1はこの発明の実施の形態
1による定数乗算器の構成を示すブロック図である。図
1において、1は被乗数が入力される入力端子、2は入
力端子1に接続され、被乗数に対して所定の論理演算を
行い、その演算結果を出力する部分積生成回路、31
nは部分積生成回路2内に設けられそれぞれ入力され
た被乗数に対して異なる演算を行い、その結果を出力信
号S0〜Sn,GNDとして出力する論理回路、4は乗算
結果を示すデータP0〜Pmを出力するための出力端子、
5は部分積生成回路2から出力される出力信号S0〜Sn
を制御信号に応じて出力端子41〜4mに割り当てる出力
選択回路、6は出力選択回路5に対して乗数に応じた制
御信号を出力する出力制御回路である。
Embodiment 1. The constant multiplier according to the first embodiment of the present invention will be described below. 1 is a block diagram showing the configuration of a constant multiplier according to Embodiment 1 of the present invention. 1, an input terminal 1 to the multiplicand is input, 2 is connected to the input terminal 1, performs a predetermined logical operation on the multiplicand, the partial product generating circuit which outputs the operation result, 3 1 -
3 n is a logic circuit that is provided in the partial product generation circuit 2 and performs different operations on the respective input multiplicands, and outputs the results as output signals S 0 to S n and GND. An output terminal for outputting P 0 to P m ,
Reference numeral 5 denotes output signals S 0 to S n output from the partial product generation circuit 2.
Are assigned to the output terminals 4 1 to 4 m according to the control signal, and 6 is an output control circuit for outputting a control signal according to the multiplier to the output selection circuit 5.

【0010】入力端子からkビットの被乗数が入力され
ると、各論理回路31〜3n+2はそれぞれ異なる論理演算
を行い、各論理回路31〜3n+2から出力信号GND,S
0〜Snを出力する。例えば、論理回路31では、被乗数
と0との論理積を取る。論理回路31から出力される信
号GNDは常に0である。被乗数の値によっては出力信
号GND,S0〜Snをそのまま出力端子41〜4mに出力
してもデータP0〜Pmは積を示さない。被乗数の値によ
って、出力端子41〜4mの何れの端子に出力信号GN
D,S0〜Snの何れの信号を出力させるかを選択する必
要がある。この選択を、出力選択回路5が出力制御回路
6の制御信号に応じて行う。
When the k-bit multiplicand is input from the input terminal, the respective logic circuits 3 1 to 3 n + 2 perform different logic operations, and the output signals GND and S from the respective logic circuits 3 1 to 3 n + 2.
And it outputs a 0 ~S n. For example, the logic circuit 3 1 calculates the logical product of the multiplicand and 0. The signal GND output from the logic circuit 3 1 is always 0. The output signal GND depending multiplicand value, S 0 to S n data P 0 to P m be directly output to the output terminal 4 1 to 4 m does not show a product. Depending on the value of the multiplicand, the output signal GN can be output to any one of the output terminals 4 1 to 4 m.
It is necessary to select which signal of D and S 0 to S n is output. This selection is performed by the output selection circuit 5 according to the control signal of the output control circuit 6.

【0011】論理回路31〜3n+2は加算器に比べて簡単
な論理回路で構成でき、素子数が少なく、定数乗算器の
占有面積を小さくすることができる。また、加算器を用
いずキャリがないことから定数乗算器の動作を高速化で
きる。さらに、論理回路31〜3n+2は被乗数に対してそ
れぞれ1ビットの演算結果を出力するので、論理回路の
構成と制御信号を少し変更するだけで対応することがで
き、汎用性が高い。
The logic circuits 3 1 to 3 n + 2 can be constituted by simpler logic circuits than the adder, the number of elements is small, and the occupation area of the constant multiplier can be reduced. Further, since the adder is not used and there is no carry, the operation of the constant multiplier can be speeded up. Furthermore, since each of the logic circuits 3 1 to 3 n + 2 outputs a 1-bit operation result with respect to the multiplicand, it can be dealt with by slightly changing the configuration of the logic circuit and the control signal, and the versatility is high. .

【0012】次に実施の形態1の具体例について図2〜
図12を用いて説明する。実施の形態1による定数乗算
器は、3ビットの被乗数を1倍、10倍、100倍にす
る乗算を実行する。図2は実施の形態1による定数乗算
器の構成を示すブロック図である。図2において、31
は3ビットの乗数が入力される入力端子、32は入力端
子31から入力された被乗数に所定の演算を実施するた
めの部分積生成回路、331〜3312は部分積生成回路
32内に設けられ被乗数にそれぞれ異なる論理演算を行
って結果を出力信号GND,S0〜S10として出力する
論理回路、341〜3410は乗算結果を示すデータP0
9を出力するための出力端子、35は部分積生成回路
32から出力される出力信号S0〜S10を制御信号に応
じて出力端子341〜3410に割り当てる出力選択回
路、36は1倍、10倍または100倍の乗算の選択の
ため3ビットの制御信号を出力する出力制御回路、37
1〜3710は出力選択回路35内に設けられそれぞれ出
力端子341〜3410に接続され3ビットの制御信号に
より制御されて入力される2個または3個の入力のうち
の一つを出力するセレクタである。
Next, a specific example of the first embodiment will be described with reference to FIGS.
This will be described with reference to FIG. The constant multiplier according to the first embodiment executes multiplication for multiplying a 3-bit multiplicand by 1, 10, or 100. FIG. 2 is a block diagram showing the configuration of the constant multiplier according to the first embodiment. In FIG. 2, 31
Is an input terminal to which a 3-bit multiplier is input, 32 is a partial product generation circuit for performing a predetermined operation on the multiplicand input from the input terminal 31, and 33 1 to 33 12 are provided in the partial product generation circuit 32. Logic circuits for performing different logical operations on the respective multiplicands and outputting the results as output signals GND, S 0 to S 10 , and 34 1 to 34 10 are data P 0 to
An output terminal for outputting P 9 , 35 is an output selection circuit for allocating the output signals S 0 to S 10 output from the partial product generation circuit 32 to the output terminals 34 1 to 34 10 according to the control signal, and 36 is 1 An output control circuit for outputting a 3-bit control signal for selection of multiplication by 10 times, 10 times or 100 times, 37
1 to 37 10 are provided in the output selection circuit 35 and are connected to the output terminals 34 1 to 34 10 , respectively, and output one of two or three inputs which are input by being controlled by a 3-bit control signal. Selector

【0013】論理回路331の出力GNDは、セレクタ
371の入力端子I1と、セレクタ372の入力端子I
2と、セレクタ374の入力端子I0と、セレクタ375
入力端子I0と、セレクタ376の入力端子I0と、セレ
クタ377の入力端子I0と、セレクタ378の入力端子
0と、セレクタ379の入力端子I0と、セレクタ37
10の入力端子I0とに与えられる。
[0013] The output GND of the logic circuit 33 1 includes an input terminal I 1 of the selector 37 1, the selector 37 and second input terminals I
2, an input terminal I 0 of the selector 37 4, the input terminal I 0 of the selector 37 5, and the input terminal I 0 of the selector 37 6, and the input terminal I 0 of the selector 37 7, the input terminal I of the selector 37 8 0 , the input terminal I 0 of the selector 37 9 , and the selector 37
10 are applied to input terminals I 0 .

【0014】論理回路332の出力S0は、セレクタ37
1の入力端子I0と、セレクタ372の入力端子I1と、セ
レクタ373の入力端子I2と、セレクタ376の入力端
子I2とに与えられる。論理回路333の出力S1は、セ
レクタ372の入力端子I0と、セレクタ373の入力端
子I1と、セレクタ374の入力端子I2とに与えられ
る。論理回路334の出力S2は、セレクタ373の入力
端子I0と、セレクタ375の入力端子I2とに与えられ
る。
The output S 0 of the logic circuit 33 2 is supplied to the selector 37.
A first input terminal I 0, and the input terminal I 1 of the selector 37 2, an input terminal I 2 of the selector 37 3, applied to the input terminal I 2 of the selector 37 6. Output S 1 of the logic circuit 33 3 has an input terminal I 0 of the selector 37 2, an input terminal I 1 of the selector 37 3, applied to the input terminal I 2 of the selector 37 4. Output S 2 of the logic circuit 33 4, the input terminal I 0 of the selector 37 3, applied to the input terminal I 2 of the selector 37 5.

【0015】論理回路335の出力S3は、セレクタ37
6の入力端子I1に与えられる。論理回路336の出力S4
は、セレクタ377の入力端子I1に与えられる。論理回
路337の出力S5は、セレクタ378の入力端子I2に与
えられる。論理回路338の出力S6は、セレクタ378
の入力端子I1に与えられる。論理回路339の出力S7
は、セレクタ379の入力端子I1に与えられる。論理回
路3310の出力S8は、セレクタ3710の入力端子I1
与えられる。論理回路3311の出力S9は、セレクタ3
4の入力端子I1に与えられる。論理回路3312の出力
10は、セレクタ375の入力端子I1に与えられる。
The output S 3 of the logic circuit 33 5 is supplied to the selector 37.
6 is applied to the input terminal I 1 . Output S 4 of logic circuit 33 6
Is applied to the input terminal I 1 of the selector 37 7 . The output S 5 of the logic circuit 33 7 is given to the input terminal I 2 of the selector 37 8 . The output S 6 of the logic circuit 33 8 is the selector 37 8
Is applied to the input terminal I 1 . Output S 7 of logic circuit 33 9
Is applied to the input terminal I 1 of the selector 37 9 . The output S 8 of the logic circuit 33 10 is given to the input terminal I 1 of the selector 37 10 . The output S 9 of the logic circuit 33 11 is the selector 3
7 4 is applied to the input terminal I 1 . The output S 10 of the logic circuit 33 12 is given to the input terminal I 1 of the selector 37 5 .

【0016】次に、論理回路331〜3312の構成につ
いて図3〜図10を用いて説明する。入力される3ビッ
トの被乗数を最下位ビットから順にa0,a1,a2とす
る。論理回路331は被乗数と0との論理積、つまり常
に0を出力信号S0として出力する。従って、論理回路
331は信号線が接地されているだけである。論理回路
332は被乗数の最下位ビットa0を出力信号S1として
出力する。従って、論理回路332は信号線は被乗数の
ビットa1を伝達するための信号線に接続されているだ
けである。論理回路333は被乗数のビットa1を出力信
号S1として出力する。論理回路334は被乗数の最上位
ビットa2を出力信号S2として出力する。出力信号S3
を出力する論理回路335を図3に示す。図3におい
て、7は最下位ビットa0とビットa1との論理積を取る
ANDゲート、8は最上位ビットa2の論理値の否定を
出力するインバータ、9はANDゲート7の出力とイン
バータ8の出力の論理和を取りその否定を出力するNO
Rゲートである。このNORゲート9が出力信号S3
出力する。
Next, the configurations of the logic circuits 33 1 to 33 12 will be described with reference to FIGS. 3 to 10. The input 3-bit multiplicand is a 0 , a 1 , and a 2 in order from the least significant bit. The logic circuit 33 1 always outputs a logical product of the multiplicand and 0, that is, 0 as the output signal S 0 . Therefore, the signal line of the logic circuit 33 1 is only grounded. The logic circuit 33 2 outputs the least significant bit a 0 of the multiplicand as the output signal S 1 . Therefore, in the logic circuit 33 2, the signal line is only connected to the signal line for transmitting the bit a 1 of the multiplicand. The logic circuit 33 3 outputs the bit a 1 of the multiplicand as the output signal S 1 . The logic circuit 33 4 outputs the most significant bit a 2 of the multiplicand as the output signal S 2 . Output signal S 3
FIG. 3 shows a logic circuit 33 5 which outputs In FIG. 3, 7 is an AND gate that takes the logical product of the least significant bit a 0 and bit a 1 , 8 is an inverter that outputs the negation of the logical value of the most significant bit a 2 , and 9 is the output of the AND gate 7 and the inverter NO which takes the logical sum of the outputs of 8 and outputs the negation
It is an R gate. The NOR gate 9 outputs the output signal S 3 .

【0017】出力信号S4を出力する論理回路336を図
4に示す。図4において、10は被乗数の各ビットa0
〜a2の論理積を取るANDゲートである。このAND
ゲート10の出力が出力信号S4である。出力信号S5
出力する論理回路336を図5に示す。図5において、
11は被乗数のビットa0,a1の排他的論理和を取るイ
クスクルーシブORゲートである。このイクスクルーシ
ブORゲート11の出力が出力信号S5である。出力信
号S6を出力する論理回路338を図6に示す。図6に
おいて、12はビットa0の論理値の否定を出力するイ
ンバータ、13はインバータ12の出力とビットa1
の論理積を取り、その否定を出力するNANDゲート、
14はビットa2とNANDゲート13との排他的論理
和を取りその否定を出力するイクスクルーシブNORゲ
ートである。イクスクルーシブNORゲート14の出力
が出力信号S6である。出力信号S7を出力する論理回路
339を図7に示す。図7において、15aはビットa0
とビットa1の論理積を出力するANDゲート、15b
はビットa1の否定を出力するインバータ、16はビッ
トa2の値の否定を出力するインバータ、17はビット
2をゲートで受けるPMOSトランジスタとインバー
タ16の出力をゲートで受けるNMOSトランジスタと
で構成されANDゲート15aの出力の伝達を制御する
トランスファゲート、18はビットa2をゲートで受け
るNMOSトランジスタとインバータ16の出力をゲー
トで受けるPMOSトランジスタとで構成されインバー
タ15bの出力の伝達を制御するトランスファゲートで
ある。
A logic circuit 33 6 which outputs the output signal S 4 is shown in FIG. In FIG. 4, 10 is each bit a 0 of the multiplicand.
An AND gate taking the logical product of the ~a 2. This AND
The output of the gate 10 is the output signal S 4 . A logic circuit 33 6 for outputting the output signal S 5 is shown in FIG. In FIG.
Reference numeral 11 is an exclusive OR gate that takes the exclusive OR of the bits a 0 and a 1 of the multiplicand. The output of the exclusive OR gate 11 is the output signal S 5 . A logic circuit 33 8 which outputs the output signal S6 is shown in FIG. In FIG. 6, 12 is an inverter that outputs the NOT of the logical value of the bit a 0 , 13 is a NAND gate that performs the logical product of the output of the inverter 12 and the bit a 1 and outputs the NOT,
Reference numeral 14 is an exclusive NOR gate that takes the exclusive OR of the bit a 2 and the NAND gate 13 and outputs the NOT. The output of the exclusive NOR gate 14 is the output signal S 6 . The logic circuit 33 9 for outputting an output signal S 7 shown in FIG. In FIG. 7, 15a is a bit a 0.
AND gates, 15b for outputting the logical product of the bit a 1 and
Configuration The inverter outputs the negation of bits a 1, 16 is an inverter for outputting a negative value of the bit a 2, 17 and NMOS transistors receiving the output of the PMOS transistor and an inverter 16 receiving bit a 2 gate in the gate A transfer gate for controlling the transfer of the output of the AND gate 15a, and a transfer gate 18 for controlling the transfer of the output of the inverter 15b, which is composed of an NMOS transistor receiving the bit a 2 at its gate and a PMOS transistor receiving the output of the inverter 16 at its gate. It is a gate.

【0018】出力信号S8を出力する論理回路3310
図8に示す。図8において、19はビットa1とビット
2の論理積を取るANDゲートである。ANDゲート
19の出力が出力信号S8である。出力信号S9を出力す
る論理回路3311を図9に示す。図9において、20は
ビットa0とビットa2の排他的論理和を取るイクスクル
ーシブORゲートである。イクスクルーシブORゲート
20の出力が出力信号S 9である。出力信号S10を出力
する論理回路3312を図10に示す。図10において、
21はビットa0とビットa1の論理積を取りその否定を
出力するNANDゲート、22はビットa1とNAND
ゲート21の出力との排他的論理和を取りその否定を出
力するイクスクルーシブNORゲートである。このイク
スクルーシブNORゲートの出力が出力信号S10であ
る。
Output signal S8Logic circuit 33 for outputtingTenTo
It shows in FIG. In FIG. 8, 19 is a bit a1And a bit
a2Is an AND gate that takes the logical product of AND gate
The output of 19 is the output signal S8Is. Output signal S9Output
Logic circuit 3311Is shown in FIG. In FIG. 9, 20 is
Bit a0And bit a2EXCLUS taking exclusive OR of
It is a passive OR gate. Exclusive OR gate
The output of 20 is the output signal S 9Is. Output signal STenOutput
Logic circuit 3312Is shown in FIG. In FIG.
21 is bit a0And bit a1The logical product of
NAND gate for output, 22 is bit a1And NAND
The exclusive OR with the output of the gate 21 is taken and the negative is output.
This is an exclusive NOR gate. This iku
The output of the exclusive NOR gate is the output signal STenAnd
It

【0019】次に、セレクタの構成について図11及び
図12を用いて説明する。x0,x1,x2の3ビットの
制御信号によって、2つの入力の一方を選択的に出力す
るセレクタの構成を図11に示す。図11(a)におい
て、40は制御信号x0の否定を出力するインバータ、
41は制御信号x0をゲートで受けるNMOSトランジ
スタとインバータ40の出力をゲートで受けるPMOS
トランジスタとで構成され入力端子I0の伝達を制御す
るトランスファゲート、42は制御信号x0をゲートで
受けるPMOSトランジスタとインバータ40の出力を
ゲートで受けるNMOSトランジスタとで構成され入力
端子I1の伝達を制御するトランスファゲートである。
制御信号x0に応じて入力端子I0またはI1の一方の値
が出力される。
Next, the structure of the selector will be described with reference to FIGS. 11 and 12. FIG. 11 shows the configuration of a selector that selectively outputs one of two inputs in response to a 3-bit control signal of x 0 , x 1 , and x 2 . In FIG. 11A, 40 is an inverter that outputs the negative of the control signal x 0 ,
Reference numeral 41 designates an NMOS transistor whose gate receives the control signal x 0 and a PMOS whose gate receives the output of the inverter 40.
A transfer gate formed of a transistor for controlling the transmission of the input terminal I 0 ; and 42, a transfer transistor of the input terminal I 1 formed of a PMOS transistor whose gate receives the control signal x 0 and an NMOS transistor whose gate receives the output of the inverter 40. It is a transfer gate that controls the.
The value of one of the input terminals I 0 or I 1 is output according to the control signal x 0 .

【0020】図11(b)において、40´は制御信号
2の否定を出力するインバータ、41´は制御信号x2
をゲートで受けるPMOSトランジスタとインバータ4
0´の出力をゲートで受けるNMOSトランジスタとで
構成され入力端子I0の伝達を制御するトランスファゲ
ート、42´は制御信号x2をゲートで受けるNMOS
トランジスタとインバータ40´の出力をゲートで受け
るPMOSトランジスタとで構成され入力端子I1の伝
達を制御するトランスファゲートである。制御信号x2
に応じて入力端子I0またはI1の一方の値が出力され
る。
[0020] In FIG. 11 (b), the inverter 40 'to output a negative control signal x 2, 41' and the control signal x 2
Transistor and inverter 4 which receives at the gate
A transfer gate composed of an NMOS transistor receiving the output of 0'at its gate and controlling the transmission of the input terminal I 0 ; 42 'is an NMOS receiving at its gate the control signal x 2.
It is a transfer gate composed of a transistor and a PMOS transistor which receives the output of the inverter 40 'at its gate and which controls the transmission of the input terminal I 1 . Control signal x 2
The value of one of the input terminals I 0 or I 1 is output in accordance with

【0021】同様に、x0,x1,x2の3ビットの制御
信号によって、3つの入力のうちの一つを選択的に出力
するセレクタの構成を図12に示す。図12において、
43は制御信号x0の否定を出力するインバータ、44
は制御信号x1の否定を出力するインバータ、45は制
御信号x2の否定を出力するインバータ、46は制御信
号x0をゲートで受けるNMOSトランジスタとインバ
ータ43の出力をゲートで受けるPMOSトランジスタ
とで構成され入力端子I0の伝達を制御するトランスフ
ァゲート、47は制御信号x1をゲートで受けるNMO
Sトランジスタとインバータ44の出力をゲートで受け
るPMOSトランジスタとで構成され入力端子I1の伝
達を制御するトランスファゲート、48は制御信号x2
をゲートで受けるNMOSトランジスタとインバータ4
5の出力をゲートで受けるPMOSトランジスタとで構
成され入力端子I2の伝達を制御するトランスファゲー
トである。制御信号x0〜x2によってトランスファゲー
ト46〜48の何れかの出力が選択的に伝達される。
Similarly, FIG. 12 shows the configuration of a selector which selectively outputs one of the three inputs in response to a 3-bit control signal of x 0 , x 1 , and x 2 . In FIG.
43 is an inverter that outputs the negative of the control signal x 0 , 44
Is an inverter that outputs the negative of the control signal x 1 , 45 is an inverter that outputs the negative of the control signal x 2 , 46 is an NMOS transistor that receives the control signal x 0 at its gate, and a PMOS transistor that receives the output of the inverter 43 at its gate. A transfer gate configured to control the transmission of the input terminal I 0 , 47 is an NMO that receives the control signal x 1 at its gate
A transfer gate composed of an S transistor and a PMOS transistor which receives the output of the inverter 44 at its gate, and controls transfer of the input terminal I 1 , and 48 is a control signal x 2
NMOS transistor and inverter 4 that receives at the gate
5 is a transfer gate which is composed of a PMOS transistor which receives the output of 5 at its gate and controls the transmission of the input terminal I 2 . Outputs of any of the transfer gates 46 to 48 are selectively transmitted by the control signals x 0 to x 2 .

【0022】出力選択回路35は3ビットの制御信号x
0〜x2により制御する。そのため出力制御回路36は3
個のラッチ回路で構成する。また出力選択回路35は制
御信号(x0,x1,x2)として(0,0,1)、
(0,1,0)、(1,0,0)の値のみ入力が許され
る。
The output selection circuit 35 controls the 3-bit control signal x.
It is controlled by 0 to x 2 . Therefore, the output control circuit 36 has three
It is composed of individual latch circuits. Further, the output selection circuit 35 outputs ( 0 , 0 , 1 ) as control signals (x 0 , x 1 , x 2 ),
Only the values (0,1,0) and (1,0,0) can be input.

【0023】次に、3ビットの被乗数を1倍、10倍、
100倍にする乗算を実行する場合について説明する。
表1は実施の形態1による定数乗算器の動作を示す真理
値表である。
Next, the 3-bit multiplicand is multiplied by 1,
The case of executing multiplication by 100 times will be described.
Table 1 is a truth table showing the operation of the constant multiplier according to the first embodiment.

【0024】[0024]

【表1】 [Table 1]

【0025】この真理値表において、被乗数が0〜7の
それぞれにおける1倍、10倍、100倍の乗算結果
P,P’,P”を比較する。
In this truth table, the multiplication results P, P ', P "of 1 times, 10 times and 100 times in each of the multiplicands 0 to 7 are compared.

【0026】[0026]

【数1】 [Equation 1]

【0027】すなわち、1倍の時には、図2に示した定
数乗算器の出力端子341〜343に部分積生成回路32
の出力信号S0,S1,S2を出力すればよい。この時、
制御信号(x0,x1,x2)として(1,0,0)が出
力される。この時、2つの入力を選択するセレクタは、
入力端子I0に入力される値を出力する。また、3つの
入力を選択するセレクタも、入力端子I0に入力される
値を出力する。このとき図2に示す定数乗算器にで、出
力P0,P1,P2としてそれぞれ出力信号S0,S1,S2
が出力され、その他の出力P3〜P9として出力信号GN
Dが出力される。
That is, when the multiplication is 1 , the partial product generating circuit 32 is provided at the output terminals 34 1 to 34 3 of the constant multiplier shown in FIG.
Output signals S 0 , S 1 and S 2 of At this time,
( 1 , 0 , 0) is output as the control signal (x 0 , x 1 , x 2 ). At this time, the selector that selects the two inputs is
The value input to the input terminal I 0 is output. Also, a selector that selects three inputs outputs the value input to the input terminal I 0 . At this time, the constant multiplier shown in FIG. 2 outputs the output signals S 0 , S 1 , S 2 as outputs P 0 , P 1 , P 2 , respectively.
Is output, and the output signal GN is output as the other outputs P 3 to P 9.
D is output.

【0028】10倍の時には、制御信号(x0,x1,x
2)として(0,1,0)が出力される。この時、2つ
の入力を選択するセレクタL1は、入力端子I1に入力
される値を出力する。2つの入力を選択するセレクタL
1´は、入力端子I0に入力される値を出力する。ま
た、3つの入力を選択するセレクタも、入力端子I1
入力される値を出力する。図2に示す定数乗算器では、
出力P0’〜P6’として出力端子341〜347にそれぞ
れ出力信号GND,S0,S1,S9,S10,S3,S4
出力され、その他の出力として出力信号GNDが出力さ
れる。
At the time of 10 times, the control signals (x 0 , x 1 , x
(0, 1, 0) is output as 2 ). At this time, the selector L1 that selects two inputs outputs the value input to the input terminal I 1 . Selector L that selects two inputs
1'outputs the value input to the input terminal I 0 . Further, the selector that selects three inputs also outputs the value input to the input terminal I 1 . In the constant multiplier shown in FIG.
Output P 0 the output signals GND to the output terminal 34 1 to 34 7 as '~P 6', S 0, S 1, S 9, S 10, S 3, S 4 are output, the output signal GND as other output Is output.

【0029】100倍の時には、制御信号(x0,x1
2)として(0,0,1)が出力される。この時、2
つの入力を選択するセレクタは、入力端子I1に入力さ
れる値を出力する。また、3つの入力を選択するセレク
タも、入力端子I2に入力される値を出力する。図2に
示す定数乗算器では、出力P0”〜P6”として出力端子
341〜347にそれぞれ出力信号GND,GND,
0,S1,S2,S1,S5,S6,S7,S8が出力され、
その他の出力P7”〜P9”として出力信号GNDが出力
される。
At the time of 100 times, the control signals (x 0 , x 1 ,
(0, 0, 1) is output as x 2 ). At this time, 2
The selector that selects one input outputs the value input to the input terminal I 1 . Also, a selector that selects three inputs outputs the value input to the input terminal I 2 . In the constant multiplier shown in FIG. 2, output signals GND, GND, and GND are output to output terminals 34 1 -34 7 as outputs P 0 ″ -P 6 ″, respectively.
S 0 , S 1 , S 2 , S 1 , S 5 , S 6 , S 7 , S 8 are output,
The output signal GND is output as the other outputs P 7 ″ to P 9 ″.

【0030】定数乗算器の部分積生成回路が、図3〜図
10に示されるように簡単な論理回路で構成でき、素子
数を減少して面積の縮小が図れる。また、加算器を使用
しないため高速乗算が可能となる。キャリの伝搬が必要
ないため、定数乗算器における演算速度を向上できる。
The partial product generation circuit of the constant multiplier can be configured by a simple logic circuit as shown in FIGS. 3 to 10, and the number of elements can be reduced to reduce the area. Moreover, since an adder is not used, high speed multiplication is possible. Since the carry propagation is not required, the operation speed in the constant multiplier can be improved.

【0031】実施の形態2.次に、この発明の実施の形
態2による定数乗算器について図13〜図15について
説明する。図13は被乗数と他の論理回路の演算結果と
により複数の演算結果を出力する論理回路の構成を示す
回路図である。図13に示す論理回路は、被乗数と出力
信号GND,S5とから出力信号S3’,S3”,S7’,
7”,S10’,S10”を出力する。図13において、
50はビットa2の否定を出力するインバータ、51は
ビットa2をゲートで受けるPMOSトランジスタとイ
ンバータ50の出力をゲートで受けるNMOSトランジ
スタとで構成され出力信号GNDの伝達を制御するトラ
ンスファゲート、52はビットa2をゲートで受けるN
MOSトランジスタとインバータ50の出力をゲートで
受けるPMOSトランジスタとで構成され出力信号GN
Dの伝達を制御するトランスファゲート、53は被乗数
の最上位ビットa2の否定を出力するインバータ、54
はインバータ53の出力とビットa0とビットa1の論理
積を取りトランスファゲート52に出力するANDゲー
ト、55はANDゲート54の出力の否定を取るインバ
ータ、56はビットa1の否定を出力するインバータ、
57はビットa2の否定を出力するインバータ、58は
ビットa2をゲートで受けるPMOSトランジスタとイ
ンバータ57の出力をゲートで受けるNMOSトランジ
スタとで構成されインバータ56の出力の伝達を制御す
るトランスファゲート、59はビットa2をゲートで受
けるNMOSトランジスタとインバータ57の出力をゲ
ートで受けるPMOSトランジスタとで構成されインバ
ータ55の出力の伝達を制御するトランスファゲート、
60はビットa2の否定を出力するインバータ、61は
ビットa2をゲートで受けるPMOSトランジスタとイ
ンバータ60の出力をゲートで受けるNMOSトランジ
スタとで構成され出力信号S5の伝達を制御するトラン
スファゲート、62はビットa2をゲートで受けるNM
OSトランジスタとインバータ60の出力をゲートで受
けるPMOSトランジスタとで構成され出力信号S5
伝達を制御するトランスファゲートである。
Embodiment 2. Next, a constant multiplier according to a second embodiment of the present invention will be described with reference to FIGS. FIG. 13 is a circuit diagram showing the configuration of a logic circuit that outputs a plurality of calculation results based on the multiplicand and the calculation results of other logic circuits. The logic circuit shown in FIG. 13 uses the multiplicand and the output signals GND and S 5 to output the output signals S 3 ′, S 3 ″, S 7 ′,
Outputs S 7 ″, S 10 ′, S 10 ″. In FIG.
Reference numeral 50 is an inverter that outputs the negation of bit a 2 , 51 is a transfer gate that is configured by a PMOS transistor that receives the bit a 2 at its gate and an NMOS transistor that receives the output of the inverter 50 at its gate, and that controls the transmission of the output signal GND, 52 Receives the bit a 2 at the gate N
The output signal GN is composed of a MOS transistor and a PMOS transistor whose gate receives the output of the inverter 50.
A transfer gate for controlling the transmission of D, 53 is an inverter for outputting the negation of the most significant bit a 2 of the multiplicand, 54
Is an AND gate that takes the logical product of the output of the inverter 53 and bit a 0 and bit a 1 and outputs it to the transfer gate 52, 55 is an inverter that takes the negation of the output of the AND gate 54, and 56 is the negation of the bit a 1 Inverter,
Reference numeral 57 is an inverter that outputs the negation of bit a 2 , 58 is a transfer gate that is configured by a PMOS transistor that receives the bit a 2 at its gate and an NMOS transistor that receives the output of the inverter 57 at its gate, and that controls the transmission of the output of the inverter 56, Reference numeral 59 is a transfer gate which is composed of an NMOS transistor which receives the bit a 2 at its gate and a PMOS transistor which receives the output of the inverter 57 at its gate, and which controls transmission of the output of the inverter 55,
60 inverter that outputs a negative bit a2, 61 is a transfer gate for controlling the transfer of the PMOS transistor and configured to output of the inverter 60 in the NMOS transistor which receives the gate output signal S 5 for receiving bit a 2 gate, 62 NM receives bit a 2 at its gate
The transfer gate is composed of an OS transistor and a PMOS transistor that receives the output of the inverter 60 at its gate, and controls the transmission of the output signal S 5 .

【0032】図14は出力信号S6’,S6”を出力す
る論理回路の構成を示す回路図である。図14におい
て、64は最下位ビットa0の否定を出力するインバー
タ、65はビットa1とインバータ64の出力の論理積
を取るANDゲート、66はANDゲート65の出力の
否定を生成するインバータ、67はビットa2の否定を
出力するインバータ、68はビットa2をゲートで受け
るPMOSトランジスタとインバータ67の出力をゲー
トで受けるNMOSトランジスタとで構成されANDゲ
ート65の出力の伝達を制御するトランスファゲート、
69はビットa2をゲートで受けるNMOSトランジス
タとインバータ67の出力をゲートで受けるPMOSト
ランジスタとで構成されインバータ66の出力の伝達を
制御するトランスファゲートである。
[0032] Figure 14 is an output signal S6 ', is a circuit diagram showing a configuration of a logic circuit for outputting S6 ". In FIG. 14, 64 inverter that outputs a negative significant bits a 0, 65 bits a 1 AND gate of the output of the inverter 64, 66 is an inverter that generates the NOT of the output of the AND gate 65, 67 is an inverter that outputs the NOT of the bit a 2 , 68 is a PMOS transistor that receives the bit a 2 at its gate And a transfer gate that controls the transmission of the output of the AND gate 65, which is composed of an NMOS transistor that receives the output of the inverter 67 at its gate,
Reference numeral 69 denotes a transfer gate which is composed of an NMOS transistor which receives the bit a 2 at its gate and a PMOS transistor which receives the output of the inverter 67 at its gate and which controls the transmission of the output of the inverter 66.

【0033】図15は実施の形態2による定数乗算器の
構成を示すブロック図である。図15において、71は
3ビットの乗数が入力される入力端子、721〜7210
は被乗数にそれぞれ異なる論理演算を行って結果を出力
信号GND,S0〜S10として出力する論理回路、741
〜7410は乗算結果を示すデータP0〜P9を出力するた
めの出力端子、75は論理回路721〜7210から出力
される出力信号S0〜S10を制御信号に応じて出力端子
741〜7410に割り当てる出力選択回路、76は1
倍、10倍または100倍の乗算の選択のため3ビット
の制御信号を出力する出力制御回路、771〜7710
出力選択回路75内に設けられそれぞれ出力端子741
〜7410に接続され3ビットの制御信号により制御され
て入力される2個または3個の入力のうちの一つを出力
するセレクタである。
FIG. 15 is a block diagram showing the structure of the constant multiplier according to the second embodiment. In FIG. 15, reference numeral 71 denotes an input terminal to which a 3-bit multiplier is input, and 72 1 to 72 10
Is a logic circuit that performs different logical operations on the multiplicands and outputs the result as output signals GND, S 0 to S 10 , 74 1
To 74 10 an output terminal for outputting the data P 0 to P 9 indicating the multiplication result, 75 an output terminal in response to the output signal S 0 to S 10 outputted from the logic circuit 72 1 to 72 10 to the control signal The output selection circuit assigned to 74 1 to 74 10 is 76.
Fold, 10-fold or output control circuit for outputting a control signal of 3 bits for selecting the 100 times multiplication, 77 1-77 10 each provided on the output selection circuit 75 in the output terminal 74 1
It is a selector which is connected to ˜74 10 and outputs one of two or three inputs which are input under the control of a 3-bit control signal.

【0034】論理回路721〜724,726,727,7
9,7210は、それぞれ図2に示した論理回路331
334,336,337,3310,3311に対応してお
り、また、出力選択回路75の構成は出力選択回路35
の構成と同じで、論理回路721〜724,726,7
7,729,7210と出力選択回路75の接続は、論理
回路331〜334,336,337,3310,3311と出
力選択回路35との接続と同様である。
The logic circuit 72 1 to 72 4, 72 6, 72 7, 7
2 9 and 72 10 are logic circuits 33 1 to 33 1 shown in FIG.
33 4 , 33 6 , 33 7 , 33 10 , 33 11 and the output selection circuit 75 has a configuration of the output selection circuit 35.
The same as the configuration, the logic circuit 72 1 to 72 4, 72 6, 7
2 7, 72 9, 72 10 and the connection of the output selection circuit 75 is similar to the connection of the logic circuit 33 to 333 4, 33 6, 33 7, 33 10, 33 11 and the output selection circuit 35.

【0035】論理回路728は、図14に示す論理回路
で構成される。論理回路728の出力信号S6’,S6
はセレクタ778の入力端子I1に接続される。また、論
理回路725は、図13に示す論理回路で構成される。
論理回路725の出力信号S10’,S10”は共にセレク
タ775の入力端子I1に与えられる。論理回路725
出力信号S7’,S7”は共にセレクタ779の入力端子
1に与えられる。論理回路725の出力信号S3’,
3”は共にセレクタ776の入力端子I1に与えられ
る。
The logic circuit 72 8 is composed of the logic circuit shown in FIG. Output signals S 6 ', S 6 ″ of the logic circuit 72 8
Is connected to the input terminal I 1 of the selector 77 8 . The logic circuit 72 5 is composed of a logic circuit shown in FIG. 13.
The output signal S 10 of the logic circuit 72 5 ', S 10 "are both applied to the input terminal I 1 of the selector 77 5. Output signal S 7 of the logic circuit 72 5', S 7" are both input terminals of the selector 77 9 Given to I 1 . The output signal S 3 'of the logic circuit 72 5 ,
Both S 3 ″ are given to the input terminal I 1 of the selector 77 6 .

【0036】出力信号S3と出力信号S3’,S3”とは
同一であり、出力信号S6と出力信号S6’,S6”とは
同一であり、出力信号S7と出力信号S7’,S7”とは
同一であり、また、出力信号S3と出力信号S10’,S
10”とは同一であり、従って、図2に示した実施の形態
1の定数乗算器と図15に示した実施の形態2の定数乗
算器とは同じ被乗数が入力されれば論理回路から同じ値
を持った出力信号が出力され、選択回路で選択されて同
じように乗算結果を出力する。表2に図15に示した定
数乗算器の動作を示す。
The output signal S 3 and the output signals S 3 ′ and S 3 ″ are the same, the output signal S 6 and the output signals S 6 ′ and S 6 ″ are the same, and the output signal S 7 and the output signal S S 7 ′ and S 7 ″ are the same, and the output signal S 3 and the output signals S 10 ′ and S
10 "is the same, and therefore the constant multiplier of the first embodiment shown in FIG. 2 and the constant multiplier of the second embodiment shown in FIG. 15 are the same from the logic circuit if the same multiplicand is input. An output signal having a value is output and selected by the selection circuit to output the multiplication result in the same manner.Table 2 shows the operation of the constant multiplier shown in FIG.

【0037】[0037]

【表2】 [Table 2]

【0038】表2において、太線で囲まれた部分が表1
と共通する部分で、各論理回路からの出力がそのまま出
力される。そして、太線で囲まれていない部分積は、最
上位ビットa2に応じてトランスファゲートで論理回路
からの出力が切り替えられる。被乗数の違いによる演算
結果は、それをグループ化すること、つまり表2に示す
ように0〜3と4〜7に分類することによって、同一ま
たは否定の関係にあるなど所定の関係を有する結果が増
える。所定の関係はなるべく簡単な論理素子で置き換え
ることができるものが望ましい。例えば、被乗数が0〜
3のときのS0とS9とは一致し、被乗数が4〜7のとき
のS0とS9は否定の関係にある。このような関係にあれ
ば、被乗数が0〜3のときにはS9に代えてS3を用い、
被乗数が4〜7のときにはS9に代えてS3をインバータ
で反転したものを用いることができる。そうすることに
よって、論理回路の一部を共通化できる。
In Table 2, the portion surrounded by the thick line is shown in Table 1.
The output from each logic circuit is output as it is in a part common to the above. Then, for the partial product not enclosed by the bold line, the output from the logic circuit is switched by the transfer gate according to the most significant bit a 2 . The operation results due to the difference of the multiplicands are grouped, that is, classified into 0 to 3 and 4 to 7 as shown in Table 2, so that the results having a predetermined relationship such as the same or negative relationship can be obtained. Increase. It is desirable that the predetermined relationship can be replaced by a logic element that is as simple as possible. For example, the multiplicand is 0
Match the S 0 and S 9 when the 3, S 0 and S 9 when the multiplicand 4-7 are in negative relationship. If there is such a relationship, S 3 is used instead of S 9 when the multiplicand is 0 to 3 ,
When the multiplicand is 4 to 7, it is possible to use S 3 inverted by an inverter instead of S 9 . By doing so, part of the logic circuit can be shared.

【0039】次に、図13に示した論理回路の構成の方
法を例に挙げて説明する。実施の形態2の定数乗算器が
実施の形態1の定数乗算器に対して優れているのは、論
理回路を構成している素子の数を削減している点であ
り、それは図13に示した回路で実現されている。表2
に示すように被乗数を2つのグループ、つまり、0〜3
と4〜7に分類する。そして、各グループ内で、論理回
路の出力信号が同じになる部分を比較すると、数2に示
すようになる。
Next, the method of constructing the logic circuit shown in FIG. 13 will be described as an example. The constant multiplier of the second embodiment is superior to the constant multiplier of the first embodiment in that the number of elements forming the logic circuit is reduced, which is shown in FIG. It is realized by the circuit. Table 2
, The multiplicand is divided into two groups, that is, 0 to 3
And 4 to 7. Then, when the portions where the output signals of the logic circuits are the same in each group are compared, it becomes as shown in Formula 2.

【0040】[0040]

【数2】 [Equation 2]

【0041】各グループにおいて、数2より他の論理回
路の出力信号を用いることにより、論理回路の構成の一
部を削減できることが分かる。例えば、出力信号S10
は出力信号S5を用いることで表現できるため、その論
理回路では出力信号S10’のみを生成すれば良くなり、
回路構成が簡略化できる。
It can be seen from the equation 2 that a part of the configuration of the logic circuit can be reduced by using the output signals of the other logic circuits in each group. For example, output signal S 10
Can be expressed by using the output signal S 5 , so that the logic circuit only needs to generate the output signal S 10 ′,
The circuit configuration can be simplified.

【0042】論理回路721〜7210で構成されている
部分積生成回路を構成している論理回路の数を減少さ
せ、回路構成を簡略化することで、定数乗算器の回路面
積を減少させる。実施の形態2の定数乗算器のその他の
効果は、実施の形態1の定数乗算器と同様である。
The circuit area of the constant multiplier is reduced by reducing the number of logic circuits constituting the partial product generating circuit constituted by the logic circuits 72 1 to 72 10 and simplifying the circuit configuration. . The other effects of the constant multiplier of the second embodiment are similar to those of the constant multiplier of the first embodiment.

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

【図1】 この発明の実施の形態1による定数乗算器の
構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a constant multiplier according to a first embodiment of the present invention.

【図2】 この発明の実施の形態1による定数乗算器の
構成の具体例を示すブロック図である。
FIG. 2 is a block diagram showing a specific example of a configuration of a constant multiplier according to the first embodiment of the present invention.

【図3】 図2に示した定数乗算器に用いられる論理回
路のうちの一つの構成を示す回路図である。
FIG. 3 is a circuit diagram showing a configuration of one of logic circuits used in the constant multiplier shown in FIG.

【図4】 図2に示した定数乗算器に用いられる論理回
路のうちの一つの構成を示す回路図である。
4 is a circuit diagram showing the configuration of one of the logic circuits used in the constant multiplier shown in FIG.

【図5】 図2に示した定数乗算器に用いられる論理回
路のうちの一つの構成を示す回路図である。
5 is a circuit diagram showing the configuration of one of the logic circuits used in the constant multiplier shown in FIG. 2. FIG.

【図6】 図2に示した定数乗算器に用いられる論理回
路のうちの一つの構成を示す回路図である。
6 is a circuit diagram showing the configuration of one of the logic circuits used in the constant multiplier shown in FIG.

【図7】 図2に示した定数乗算器に用いられる論理回
路のうちの一つの構成を示す回路図である。
7 is a circuit diagram showing the configuration of one of the logic circuits used in the constant multiplier shown in FIG.

【図8】 図2に示した定数乗算器に用いられる論理回
路のうちの一つの構成を示す回路図である。
8 is a circuit diagram showing a configuration of one of logic circuits used in the constant multiplier shown in FIG.

【図9】 図2に示した定数乗算器に用いられる論理回
路のうちの一つの構成を示す回路図である。
9 is a circuit diagram showing the configuration of one of the logic circuits used in the constant multiplier shown in FIG.

【図10】 図2に示した定数乗算器に用いられる論理
回路のうちの一つの構成を示す回路図である。
10 is a circuit diagram showing the configuration of one of the logic circuits used in the constant multiplier shown in FIG.

【図11】 図2に示した定数乗算器に用いられるセレ
クタの一構成を示す回路図である。
11 is a circuit diagram showing a configuration of a selector used in the constant multiplier shown in FIG.

【図12】 図2に示した定数乗算器に用いられるセレ
クタの他の構成を示す回路図である。
12 is a circuit diagram showing another configuration of a selector used in the constant multiplier shown in FIG.

【図13】 この発明の実施の形態2による定数乗算器
を形成する論理回路のうちの一つの構成を示す回路図で
ある。
FIG. 13 is a circuit diagram showing a configuration of one of logic circuits forming a constant multiplier according to a second embodiment of the present invention.

【図14】 実施の形態2による定数乗算器を形成する
論理回路のうちの一つの構成を示す回路図である。
FIG. 14 is a circuit diagram showing the configuration of one of the logic circuits forming the constant multiplier according to the second embodiment.

【図15】 この発明の実施の形態2による定数乗算器
の構成を示すブロック図である。
FIG. 15 is a block diagram showing a configuration of a constant multiplier according to a second embodiment of the present invention.

【図16】 従来の定数乗算器の構成を示すブロック図
である。
FIG. 16 is a block diagram showing a configuration of a conventional constant multiplier.

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

2,32 部分積生成回路、31〜3n+2,331〜33
12,721〜7210 論理回路、5,35,75 出力
選択回路、6,36,76 出力制御回路、371〜3
10,771〜7710 セレクタ。
2, 32 partial product generation circuit, 3 1 to 3 n + 2 , 33 1 to 33
12 , 72 1 to 72 10 logic circuit, 5, 35, 75 output selection circuit, 6, 36, 76 output control circuit, 37 1 to 3
7 10 , 77 1 to 77 10 Selector.

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 7/52 310 ─────────────────────────────────────────────────── ─── Continuation of front page (58) Fields surveyed (Int.Cl. 7 , DB name) G06F 7/52 310

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 被乗数に定数である乗数を掛けてその積
を出力する定数乗算器において、 前記被乗数に対して異なる論理演算を施す複数の論理回
路を有する部分積生成回路と、 前記乗数に応じた制御信号を出力する出力制御回路と、 前記制御信号に応じて、前記複数の論理回路の出力を複
数の出力端子に割り当てる出力選択回路とを備える、定
数乗算器。
1. A constant multiplier that multiplies a multiplicand by a constant that is a constant and outputs the product, wherein a partial product generation circuit having a plurality of logic circuits that perform different logical operations on the multiplicand, A constant multiplier comprising: an output control circuit that outputs the control signal, and an output selection circuit that assigns the outputs of the plurality of logic circuits to a plurality of output terminals according to the control signal.
【請求項2】 前記論理回路は、前記被乗数に応じて演
算結果として1ビットの値を出力することを特徴とす
る、請求項1記載の定数乗算器。
2. The constant multiplier according to claim 1, wherein the logic circuit outputs a 1-bit value as an operation result according to the multiplicand.
【請求項3】 前記被乗数を構成している複数のビット
のうちの所定のビットによって前記複数の論理回路の出
力を切り替える切り替え手段をさらに備える、請求項1
記載の定数乗算器。
3. The switching means for switching the outputs of the plurality of logic circuits according to a predetermined bit among a plurality of bits forming the multiplicand.
The described constant multiplier.
JP20437495A 1995-08-10 1995-08-10 Constant multiplier Expired - Fee Related JP3486638B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20437495A JP3486638B2 (en) 1995-08-10 1995-08-10 Constant multiplier

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20437495A JP3486638B2 (en) 1995-08-10 1995-08-10 Constant multiplier

Publications (2)

Publication Number Publication Date
JPH0950368A JPH0950368A (en) 1997-02-18
JP3486638B2 true JP3486638B2 (en) 2004-01-13

Family

ID=16489469

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20437495A Expired - Fee Related JP3486638B2 (en) 1995-08-10 1995-08-10 Constant multiplier

Country Status (1)

Country Link
JP (1) JP3486638B2 (en)

Also Published As

Publication number Publication date
JPH0950368A (en) 1997-02-18

Similar Documents

Publication Publication Date Title
US7372297B1 (en) Hybrid interconnect/logic circuits enabling efficient replication of a function in several sub-cycles to save logic and routing resources
JP3479438B2 (en) Multiplication circuit
US8615543B1 (en) Saturation and rounding in multiply-accumulate blocks
US6301600B1 (en) Method and apparatus for dynamic partitionable saturating adder/subtractor
EP1475699B1 (en) Multiplier
US6018758A (en) Squarer with diagonal row merged into folded partial product array
US8463836B1 (en) Performing mathematical and logical operations in multiple sub-cycles
JPH0370411B2 (en)
KR100302093B1 (en) How to multiply the binary input signal with the tap coefficient in the crossover digital finite impulse response filter and design the circuit arrangement and crossover digital filter
JPH082014B2 (en) Multi-stage digital filter
US7818361B1 (en) Method and apparatus for performing two's complement multiplication
JP2803601B2 (en) Inversion circuit of finite field element
US7765249B1 (en) Use of hybrid interconnect/logic circuits for multiplication
US5781462A (en) Multiplier circuitry with improved storage and transfer of booth control coefficients
JP3486638B2 (en) Constant multiplier
US6141674A (en) Reducing the hardware cost of a bank of multipliers by combining shared terms
US3914589A (en) Four-by-four bit multiplier module having three stages of logic cells
JPH06195201A (en) High-speed adder using varied carry scheme and method related to it
JP2010009592A (en) Combined adder circuit array and and/or plane
US5623434A (en) Structure and method of using an arithmetic and logic unit for carry propagation stage of a multiplier
US7275228B1 (en) Techniques for grouping circuit elements into logic blocks
TWI798640B (en) Constant multiplier
KR100373367B1 (en) Square logic circuit using adder
US6301597B1 (en) Method and apparatus for saturation in an N-NARY adder/subtractor
JP2681968B2 (en) Arithmetic processing unit

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081031

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20081031

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20091031

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees