Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS6053328B2 - Multiplication rounding circuit - Google Patents
[go: Go Back, main page]

JPS6053328B2 - Multiplication rounding circuit - Google Patents

Multiplication rounding circuit

Info

Publication number
JPS6053328B2
JPS6053328B2 JP54028779A JP2877979A JPS6053328B2 JP S6053328 B2 JPS6053328 B2 JP S6053328B2 JP 54028779 A JP54028779 A JP 54028779A JP 2877979 A JP2877979 A JP 2877979A JP S6053328 B2 JPS6053328 B2 JP S6053328B2
Authority
JP
Japan
Prior art keywords
multiplication
bit
circuit
parallel
adder
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP54028779A
Other languages
Japanese (ja)
Other versions
JPS55121544A (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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP54028779A priority Critical patent/JPS6053328B2/en
Publication of JPS55121544A publication Critical patent/JPS55121544A/en
Publication of JPS6053328B2 publication Critical patent/JPS6053328B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Complex Calculations (AREA)

Description

【発明の詳細な説明】 本発明は、例えばディジタルMFC(各局波信号)受信
器において信号検出に採用しているDFT(離散的フー
リエ変換)の乗算結果を丸めることにより、低入力レベ
ルに対する受信器の感動、不感動レベルのあいまい幅を
改善するようにした乗算丸め回路に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention has the advantage of rounding the multiplication results of the DFT (discrete Fourier transform) employed for signal detection in, for example, a digital MFC (multiple station frequency signal) receiver, thereby improving the efficiency of the receiver for low input levels. This invention relates to a multiplication and rounding circuit that improves the ambiguity range between moving and unimpressing levels.

従来よりこの種の回路においては信号検出に採用してい
るDFTの乗算結果を切り捨てるような回路設計が行な
われているが、このような回路設計によれば低入力レベ
ルに対する受信器の感動、不感動レベルのあいまい幅が
大きいという欠点がある。第1図と第2図は、4ビット
データを例にとつた従来の乗算結果を切り捨てる乗算回
路およびその周辺回路の一例と、その要部における信号
の入出力タイミングを示したものである。
Traditionally, circuits of this type have been designed to discard the multiplication results of the DFT used for signal detection, but this type of circuit design reduces the sensitivity of the receiver to low input levels. The drawback is that the level of emotion is highly ambiguous. FIGS. 1 and 2 show an example of a conventional multiplication circuit that truncates the result of multiplication using 4-bit data, its peripheral circuits, and the input/output timing of signals in its main parts.

回路構成の具体的動作を説明する前に乗算データX、Y
とこれらの乗算結果Z(=XY)を示せば以下のようで
ある。
Before explaining the specific operation of the circuit configuration, the multiplication data X, Y
and the multiplication result Z (=XY) is as follows.

x■−1+ Σ2−nxn(xn■0または1)n■1
・・・(1)Y=−23y0+ Σ23−nyn(y
n■ 0または1)n■1 ・・・(2)Z=XY=−
2’Xyo+2Xy汁2Xy。
x■-1+ Σ2-nxn(xn■0 or 1)n■1
...(1) Y=-23y0+ Σ23-nyn(y
n ■ 0 or 1) n ■ 1 ... (2) Z=XY=-
2'Xyo+2Xy juice 2Xy.

+Xy32’Xyo+2″Xy、+2Xy2+Xy。(
yo■ 0)・・・(3)1+2’Xy。
+Xy32'Xyo+2''Xy, +2Xy2+Xy.(
yo■ 0)...(3)1+2'Xy.

+2Xy、+2Xy。+Xy、(yo■1)但し、Xは
Xの否定論理を表わす。さて、具体的動作を説明すれば
、並列データXは入力端子10を介してD型フリップフ
ロップ1に信号BOの立上りのタイミングでラッチされ
る門一方、直列データYはy3〜y0の順に入力端子1
1、インバータ5を介して2−1セレクタ2のストロー
ブ端子Gに加えられる。
+2Xy, +2Xy. +Xy, (yo■1) However, X represents the negative logic of X. Now, to explain the specific operation, parallel data 1
1. It is applied to the strobe terminal G of the 2-1 selector 2 via the inverter 5.

これによりD型フリップフロップ1からのセット出力、
リセット出力をゲートし、それぞれ23Xyn.7f″
Xynの演算が行なわれ、また信号B3が2−1セレク
タ2のセレクト端子Sに入力されるから、n=oでは7
′XyOが、n=1〜3では23Xyr1の演算出力が
2−1セレクタ2より出力される。次にこの出力Fxy
rl(または23′X/n)は4ビット全加算器3でD
型フリップフロップ4からの1ビット前の加算結果に2
−1を乗じた値、即ち、』+123+n?KXykと加
算される。この際アンドゲート6のゲート出力Y。を4
ビット全加算器3のキャリー入力端子Cに入力し、式(
3)にて示されるY。=1の場合の1の加算を行なう。
加算が全て終了されると、信号[によつて乗算結果は並
直列変換器7に並列に取り込まれた後直列データに変換
される。その際クロックパルスCPによつてD型フリッ
プフロップ4にラッチされた乗算結果はリセット信号R
によりクリアされ、次回の乗算にそなえることとなる。
一方、並直列変換器7からの直列データとしての乗算結
果は加算器8で入力端子112からの1回前までの累算
結果と加算され、この加算による累算結果は出力端子1
3に出力されるが、近傍に設けられたD型フリップフロ
ップ9は加算によるキャリー出力を次のビットのキャリ
ー入力まで保5持するためのものである。従来の乗算と
累算に関する回路の基本動作は以上のようなものてある
が、本例では乗算結果は4ビットに制限されているとこ
ろから、D型フリップフロップ4のセット出力を4ビッ
ト全加算器3に入力させる際に1ビットの切捨てが行な
われる。
As a result, the set output from D-type flip-flop 1,
Gating the reset outputs to 23Xyn. 7f''
Since the calculation of Xyn is performed and the signal B3 is input to the select terminal S of the 2-1 selector 2, when n=o,
When 'XyO is n=1 to 3, the calculation output of 23Xyr1 is output from the 2-1 selector 2. Next, this output Fxy
rl (or 23'X/n) is D in 4-bit full adder 3.
2 to the previous bit addition result from type flip-flop 4.
The value multiplied by -1, ``+123+n? It is added to KXyk. At this time, the gate output Y of AND gate 6. 4
It is input to the carry input terminal C of the bit full adder 3, and the formula (
Y shown in 3). Addition of 1 when =1 is performed.
When all the additions are completed, the multiplication results are taken in parallel to the parallel-to-serial converter 7 by the signal [, and then converted into serial data. At this time, the multiplication result latched in the D-type flip-flop 4 by the clock pulse CP is the reset signal R.
It is cleared and prepared for the next multiplication.
On the other hand, the multiplication result as serial data from the parallel-to-serial converter 7 is added to the previous accumulation result from the input terminal 112 in the adder 8, and the accumulation result from this addition is added to the output terminal 1.
A D-type flip-flop 9 provided nearby is used to hold the carry output from the addition until the carry input of the next bit. The basic operation of conventional multiplication and accumulation circuits is as described above, but in this example, since the multiplication result is limited to 4 bits, the set output of the D-type flip-flop 4 is combined with 4-bit total addition. One bit is truncated when inputting the data to the device 3.

しかし、2の補数表現の場合、このビットの切捨てはデ
ータの正、負に拘らす負側に働くことから、切捨てによ
る誤差の平均値は−0.5となり、乗算結果に直流偏差
を与えることとなる。こ3こで例えば乗算結果をN回累
算する場合を想定すると、この直流偏差の平均値は−0
.5Nとなるから、乗算結果自体の値が小さい場合には
無視することができなくなる。このため、直流偏差をな
くし、誤差の影響をできるだけ少なくするには乗算4結
果を丸めることが不可欠となるが、乗算器に丸めの機能
を付加しようとすれは、丸めによる1の加算を行なわな
ければならないにも拘らず既に加算器3のキャリー入力
は使用されていることから、新たに別の加算器を追加し
なければならず回路構成が複雑になるという欠点がある
。本発明の目的は、乗算結果を丸める機能を少ない量の
ハードウェア手段を以て構成し、有限ビットの乗算、累
算に伴う誤差の影響を経済的に軽減することにある。
However, in the case of two's complement representation, truncation of this bit affects the negative side regardless of whether the data is positive or negative, so the average value of the error due to truncation is -0.5, which causes a DC deviation to be added to the multiplication result. becomes. For example, assuming that the multiplication results are accumulated N times, the average value of this DC deviation is -0.
.. 5N, so if the value of the multiplication result itself is small, it cannot be ignored. Therefore, in order to eliminate DC deviation and minimize the influence of errors, it is essential to round the multiplication 4 results, but if you want to add a rounding function to the multiplier, you must add 1 by rounding. Since the carry input of adder 3 is already used even though it should be, there is a drawback that another adder has to be added, which complicates the circuit configuration. An object of the present invention is to configure the function of rounding multiplication results using a small amount of hardware means, and to economically reduce the influence of errors associated with multiplication and accumulation of finite bits.

この目的のため、本発明は、乗算結果の丸め機能を、累
算器に属する加算器に付加することにより加算器の数を
増加させることなく丸めによる1゜゜1゛の加算を行な
い得るようにした構成を特徴とする。
For this purpose, the present invention adds a rounding function for multiplication results to the adders belonging to the accumulator, thereby making it possible to perform additions of 1゜゜1゛ by rounding without increasing the number of adders. It is characterized by its configuration.

以下、本発明を第3図により説明する。The present invention will be explained below with reference to FIG.

第3図は、直並列乗算器とこれに続く累算器の1部を示
したものである。
FIG. 3 shows part of a series-parallel multiplier followed by an accumulator.

この図において大まかなブロックで示した直並列乗算器
14は第1図に示すものと同様構成であり、異なるとこ
ろは新たにD型フリップフロップ15およびナンドゲー
ト16,17よりなる乗算丸め回路が付加されたことで
ある。第2図に示す如くクロックパルスCPがそれぞれ
2,6,10,14,1幡目の時点では直並列乗算器1
4出力の最下位ビットデータ18は乗算結果の小数点以
下第1位の値に相当するが、これらの最下位ビットデー
タ18を順次信号B3の立上りでD型フリップフロップ
15にラッチした後、信号BOの出力時間中ナンドゲー
ト16より取り出してからD型フリップフロップ9のリ
セット出力とともにネガティブオアとしてのナンドゲー
ト17を介し、累算用加算器8に入力させるものてある
The series-parallel multiplier 14, shown as a rough block in this figure, has the same configuration as the one shown in FIG. That's what happened. As shown in FIG.
The least significant bit data 18 of the four outputs corresponds to the value of the first decimal place of the multiplication result, and after these least significant bit data 18 are sequentially latched into the D-type flip-flop 15 at the rising edge of the signal B3, the signal BO During the output time, the signal is taken out from the NAND gate 16 and then inputted to the accumulating adder 8 via the NAND gate 17 as a negative OR together with the reset output of the D-type flip-flop 9.

即ち、最下位ビットデータが“1゛である場合には“゜
1”を、また“0゛である場合には“゜0゛を乗算結果
の最下位ビットに加算するものであり、これにより丸め
演算が実行されるものてある。最後に本発明を一例とし
てDFTの演算回路に適用した場合について説明する。
That is, if the least significant bit data is “1”, “゜1” is added, and if it is “0”, “゜0゛” is added to the least significant bit of the multiplication result. A rounding operation is executed.Finally, a case will be described in which the present invention is applied to a DFT arithmetic circuit as an example.

DFTの絶対値IDFTlの演算は次式により近似する
ことがてきる。但し、Y1=COsn6)TlY2=S
innωTNX;被変換時間関数、ω=角周波数、T;
サンプル間隔時間である。
The calculation of the absolute value IDFTl of DFT can be approximated by the following equation. However, Y1=COsn6)TlY2=S
innωTNX; transformed time function, ω = angular frequency, T;
is the sample interval time.

こ:ーで1回の乗算における切捨て誤差をδA1丸め誤
差をδBとすれば、累算結果の誤差の平均値XA,IB
および分散は次式のようになる。
Here, if the truncation error in one multiplication is δA1 and the rounding error is δB, then the average value of the error of the cumulative result XA, IB
and the variance is as follows.

式(4)にて示される有限ビットの演算結果を!DFT
lとすれば、IDFTlとの関係は以下のようになる。
心i &JI■1 但し、Δは無限ビットの場合の演算結果と有限ビットの
場合のそれとの差である。
The result of the finite bit operation shown in equation (4)! DFT
1, the relationship with IDFTl is as follows.
心i &JI■1 However, Δ is the difference between the operation result in the case of infinite bits and that in the case of finite bits.

切捨て誤差の場合演算結果は41Δ1〉へ+2INのば
らつきをもつのに対し、丸め誤差の場合は41ΔIΣ2
./jのばらつきに留まることから、Nの値が大きい程
に丸めを行なうことの効果は大であり、乗算および累算
を行なう装置としての性能は向上されることになる。以
上説明したように本発明によれば、乗算結果の丸め機能
は累算器に属する加算器に付加され、しかもその際の乗
算丸め回路は簡単な論理回路構成を以て実現され得るか
ら、丸めによる゜“1゛の加算を経済的に行ない得、こ
れにより有限ビットの乗算、累算に伴う誤差の影響を経
済的に軽減することが可能となる。
In the case of a truncation error, the calculation result has a variation of +2IN to 41Δ1〉, whereas in the case of a rounding error, it has a variation of 41ΔIΣ2
.. Since the variation remains at /j, the larger the value of N, the greater the effect of rounding, and the performance of the device that performs multiplication and accumulation is improved. As explained above, according to the present invention, the function of rounding the multiplication result is added to the adder belonging to the accumulator, and the multiplication and rounding circuit at that time can be realized with a simple logic circuit configuration. ``Addition of 1'' can be performed economically, thereby making it possible to economically reduce the influence of errors associated with multiplication and accumulation of finite bits.

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

第1図は、従来技術に係る乗算結果を切り捨てる乗算回
路とその周辺回路の一例を示す図、第2図は、第1図の
要部における信号の入出力タイミングを示す図、第3図
は、本発明による乗算丸め回路が付加された乗算回路と
その周辺回路の一例を示す図である。 7・・・並直列変換器、8・・・累算用加算器、9,1
5・・・D型フリップフロップ、14・・・直並列乗算
1器。
FIG. 1 is a diagram showing an example of a multiplication circuit and its peripheral circuits that truncate multiplication results according to the prior art, FIG. 2 is a diagram showing signal input/output timing in the main part of FIG. 1, and FIG. , is a diagram showing an example of a multiplication circuit to which a multiplication and rounding circuit according to the present invention is added and its peripheral circuits. 7... Parallel-serial converter, 8... Accumulation adder, 9, 1
5...D-type flip-flop, 14...1 series/parallel multiplier.

Claims (1)

【特許請求の範囲】[Claims] 1 ビット毎のシフト加算により2の補数表現による2
進データの乗算を実行する直並列乗算器と、該乗算器か
らの並列乗算結果を直列に変換する並直列変換器と、該
変換器からの直列乗算結果を前回までの累算結果との間
でビット単位に加算を行なう累算用加算器と、該加算器
からのビット単位加算によつて生じるキャリー出力を次
のビット加算に対するキャリー入力として保持する保持
回路とからなる回路において、直並列乗算器における並
列乗算結果のうち被丸めビット情報を累算用加算器にお
ける最下位ビット間加算時にキャリー入力として与える
べく保持する保持回路を新たに設け、該回路からの最下
位ビット情報はキャリー出力保持用の保持回路からのキ
ャリー出力とともに論理和回路を介し累算用加算器にキ
ャリー入力として与えられる構成を特徴とする乗算丸め
回路。
1 2 in two's complement representation by bit-by-bit shift addition
A serial/parallel multiplier that performs multiplication of decimal data, a parallel/serial converter that converts the parallel multiplication results from the multiplier into series, and a link between the serial multiplication results from the converter and the previous accumulation results. In a circuit consisting of an accumulation adder that performs bit-by-bit addition, and a holding circuit that holds the carry output generated by the bit-by-bit addition from the adder as a carry input for the next bit addition, series-parallel multiplication is performed. A new holding circuit is installed to hold the rounded bit information of the parallel multiplication results in the accumulator to be given as a carry input when adding between the least significant bits in the accumulation adder, and the least significant bit information from this circuit is held as a carry output. A multiplication/rounding circuit characterized in that a carry output from a holding circuit for a multiplier is provided as a carry input to an accumulation adder via an OR circuit.
JP54028779A 1979-03-14 1979-03-14 Multiplication rounding circuit Expired JPS6053328B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP54028779A JPS6053328B2 (en) 1979-03-14 1979-03-14 Multiplication rounding circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP54028779A JPS6053328B2 (en) 1979-03-14 1979-03-14 Multiplication rounding circuit

Publications (2)

Publication Number Publication Date
JPS55121544A JPS55121544A (en) 1980-09-18
JPS6053328B2 true JPS6053328B2 (en) 1985-11-25

Family

ID=12257881

Family Applications (1)

Application Number Title Priority Date Filing Date
JP54028779A Expired JPS6053328B2 (en) 1979-03-14 1979-03-14 Multiplication rounding circuit

Country Status (1)

Country Link
JP (1) JPS6053328B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5771045A (en) * 1980-10-22 1982-05-01 Casio Comput Co Ltd Digital mulitplier
JPS63206057A (en) * 1987-02-23 1988-08-25 Matsushita Electric Ind Co Ltd telephone equipment

Also Published As

Publication number Publication date
JPS55121544A (en) 1980-09-18

Similar Documents

Publication Publication Date Title
US4754421A (en) Multiple precision multiplication device
US4774686A (en) Serial digital signal processing circuitry
US3761699A (en) Multiplication by successive addition with two{40 s complement notation
US3828169A (en) Apparatus for digital frequency multiplication
JPS6053328B2 (en) Multiplication rounding circuit
US4408336A (en) High speed binary counter
US3036770A (en) Error detecting system for a digital computer
US5548270A (en) Bit sequential type parallel comparator
US3712536A (en) Mean-rate indicating apparatus
JPH0645952A (en) Electronic circuit for generation of error detection code in digital signal
US4159529A (en) Fibonacci code adder
JPH06149542A (en) Chaining and adding method for adder
US3375358A (en) Binary arithmetic network
EP0258051A2 (en) Digital signal processor with divide function
GB802656A (en) Electronic digital computer
US3728687A (en) Vector compare computing system
US3633002A (en) Integrator for use in digital differential analyzer systems
US3488481A (en) Parallel binary adder-subtractor without carry storage
JP2563503B2 (en) Signal generator
JPH06314186A (en) Adder chain and addition method
JP3312391B2 (en) Circuit for detecting m consecutive matches of n parallel data
SU1109755A1 (en) Device for forming and storing residues of numbers to the modulus 3
SU1156069A1 (en) Device for scaling digital differential analyser
JPH06201779A (en) Test circuit
SU1390608A1 (en) Divider