JPH0199312A - Arithmetic unit - Google Patents

Arithmetic unit

Info

Publication number
JPH0199312A
JPH0199312A JP25629887A JP25629887A JPH0199312A JP H0199312 A JPH0199312 A JP H0199312A JP 25629887 A JP25629887 A JP 25629887A JP 25629887 A JP25629887 A JP 25629887A JP H0199312 A JPH0199312 A JP H0199312A
Authority
JP
Japan
Prior art keywords
register
multiplier
output
input
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.)
Granted
Application number
JP25629887A
Other languages
Japanese (ja)
Other versions
JPH0748636B2 (en
Inventor
Haruhiro Shiino
椎野 玄博
Kenji Horiguchi
堀口 健治
Kazuhiro Watanabe
和浩 渡邊
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP62256298A priority Critical patent/JPH0748636B2/en
Publication of JPH0199312A publication Critical patent/JPH0199312A/en
Publication of JPH0748636B2 publication Critical patent/JPH0748636B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the quantity of hardware by connecting an output of a multiplier input register and an input of two inputs of an adder to which an output of an accumulator is connected. CONSTITUTION:A multiplier 3 receiving a multiplicand such as a filter coefficient to a 1st input terminal A and receiving a multiplier such as a filter input/ output to a 2nd input terminal B, a 1st register 6 and a 2nd register 7 storing a multiplier given to the multiplier, a 1st selector means 81 giving a multiplier to the 2nd input terminal of the multiplier while selecting one output of both the registers, an adder 4 receiving the output of the multiplier at the 1st input terminal, a 3rd register storing the output of the adder and a 2nd selection means 82 selecting any of the output of the 1st register, the output of the 2nd register, the output of the 3rd register and a zero and giving it to the 2nd input terminal of the adder, are provided. Thus, the 1st and 2nd registers 6, 7 are selected complementarily by the 1st and 2nd selection means 81, 82 to execute the multiplication and addition in parallel thereby decreasing the number of steps.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はディジタルフィルタ等のディジタル信号処理に
用いられる演算装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to an arithmetic device used for digital signal processing such as a digital filter.

(従来の技術) 一般に、ディジタルフィルタは、2次IIRディジタル
フィルタをフィルタの次数に応じて縦続接続することに
よって構成される。第2図は直接形構成による2次II
Rフィルタの構成例を示したもので、加算器1.2*3
+4、乗算器s、6.7゜8、遅延器9・10よシ構成
される。このフィルタの伝達関数は、 で表される。ここに、al + !L2 + tll 
+ 1)2はフィルタ係数である。このディジタルフィ
ルタの演算式は第(2)式で示される。
(Prior Art) Generally, a digital filter is constructed by cascade-connecting second-order IIR digital filters according to the order of the filters. Figure 2 shows the second order II due to the direct form configuration.
This shows an example of the configuration of an R filter, with an adder of 1.2*3
+4, multiplier S, 6.7°8, and delay units 9 and 10. The transfer function of this filter is expressed as. Here, al+! L2 + tll
+1)2 is the filter coefficient. The arithmetic expression for this digital filter is shown by equation (2).

vnはフィルタ入力で加算器1に入力され、ynはフィ
ルタ出力で加算器3より出力される。また、unは加算
器1の出力、u n−1+ u n−2はそれぞれ遅延
器9,10の出力である。
vn is input to adder 1 as a filter input, and yn is output from adder 3 as filter output. Further, un is the output of the adder 1, and u n-1+un-2 are the outputs of the delay devices 9 and 10, respectively.

遅延器9,10は、入力を1サンプル時間間隔遅らせる
だけであるので、un−1は1サンプル時間前のunに
、u n −2は2サンプル時間前のunの値に等しい
。第2図に示したフィルタは、フィルタのカットオフ周
波数が低くなるにつれて、係数感度が犬きくなシ、また
、フィルタのダイナミックレンジが劣化するという欠点
を持っている。
Since the delay devices 9 and 10 only delay the input by one sample time interval, un-1 is equal to the value of un one sample time ago, and un-2 is equal to the value of un two sample times ago. The filter shown in FIG. 2 has the disadvantage that as the cutoff frequency of the filter becomes lower, the coefficient sensitivity decreases and the dynamic range of the filter deteriorates.

2次IIRフィルタの他の構成例として、2次の低素子
感度IIRフィルタの構成例を第3図に示す。
As another example of the configuration of a second-order IIR filter, an example of the configuration of a second-order low element sensitivity IIR filter is shown in FIG.

このフィルタは、フィルタのカットオフ周波数が低い場
合でも、係数感度が小さく、フィルタのダイナミックレ
ンジも劣化しないというすぐれた特徴を持つ。第3図の
フィルタは、加算器1,2゜3.4.11.12、乗算
器5.6.7,8゜13.14、遅延器9.10よシ構
成される。このフィルタの伝達関数ハ、 で表される。α1.α2.β1.β2 r Sl 、S
2  はそれぞれ乗算器7,8.5.6.13.14の
乗数である。このディジタルフィルタの演算式は、un
=xn+β1vn−1+β2wn−1(4,1)yn=
un+α1vfi−1+α2”n−1(4,2)wn=
 w、、 1 +52vn−、(4,3)vn=vn−
1+51un(4,4) で表わされる。Xはフィルタ入力で加算器1に入力され
、yはフィルタ出力で加算器3より出力される。v  
、v はそれぞれ加算器11.12の現n 時刻の出力、vn−11wn−1は、それぞれ遅延器9
゜10の出力で、加算器11.12の1サンプル時間前
の出力である。
This filter has the excellent characteristics that even when the cutoff frequency of the filter is low, the coefficient sensitivity is small and the dynamic range of the filter does not deteriorate. The filter in FIG. 3 is composed of adders 1, 2.3.4.11.12, multipliers 5.6.7, 8.13.14, and delay device 9.10. The transfer function of this filter is expressed as: α1. α2. β1. β2 r Sl , S
2 are the multipliers of multipliers 7, 8.5.6.13.14, respectively. The calculation formula for this digital filter is un
=xn+β1vn-1+β2wn-1(4,1)yn=
un+α1vfi-1+α2”n-1(4,2)wn=
w,, 1 +52vn-, (4,3)vn=vn-
It is expressed as 1+51un(4,4). X is input to adder 1 as a filter input, and y is output from adder 3 as filter output. v
, v are the outputs of the adders 11 and 12 at the current time n, and vn-11wn-1 are the outputs of the delay device 9, respectively.
10, which is the output of adder 11.12 one sample time ago.

第4図に、上記(2,1) 、 (2,2)式又は、(
4,1)〜(4,4)式の演算を行う従来の演算装置の
一例を示し念もので、読出し専用メモリ(以下ROM)
J、データメモリ(以下1’eAM ) 2、乗算器3
、加算器4、アキュームレータ5、第1の乗算器入力レ
ジスタ(M)6、第2の乗算器入力レジスタ(L)7、
選択回路(SEL) 8、データバス9、補助レジスタ
(Wφ)10よシ構成されている( IIRフィルタに
適した積和形ALU ’i持つDSPの構成、昭和61
年度電子通信学会通信部門全国大会、P、 1〜281
、参照)。
Figure 4 shows the above equations (2,1), (2,2) or (
This is an example of a conventional arithmetic device that performs calculations of equations 4,1) to (4,4), and is a read-only memory (hereinafter referred to as ROM).
J, data memory (hereinafter referred to as 1'eAM) 2, multiplier 3
, adder 4, accumulator 5, first multiplier input register (M) 6, second multiplier input register (L) 7,
It consists of 8 selection circuits (SEL), 9 data buses, and 10 auxiliary registers (Wφ) (Configuration of DSP with sum-of-products type ALU 'i suitable for IIR filter, 1988)
Annual National Conference of the Institute of Electronics and Communication Engineers, Communications Division, P, 1-281.
,reference).

第5図に第4図の演算装置で(2,1) 、 (2,2
)式の演算を行う場合の動作ステン76ヲ示す。ただし
、Dl、D2は、それぞれ、データu n −1r u
 n −2のRAMの格納アドレスをあられす。また、
第6図に第4図の演算装置で(4,1)〜(4,4)式
の演算を行う場合の動作ステップを示す。ただし、Do
In Fig. 5, (2, 1) and (2, 2
) operation step 76 is shown. However, Dl and D2 are data u n -1r u
Please give me the storage address of n-2 RAM. Also,
FIG. 6 shows the operational steps when calculating equations (4,1) to (4,4) using the arithmetic device shown in FIG. However, Do
.

D 、D2は、データu n + V n r wnの
RAMの格納アドレスをあられす。第6図の第4ステツ
プ、第5ステツプは、第3図の乗算器14、加算器12
、遅延器10の演算を行っているステップで、(4,3
)式で示された演算に相当している。(4,3)式の演
算は、伝達関数が(5,1)式で表される積分器の演算
を表わす。
D and D2 indicate the storage address of the data un+Vnrwn in the RAM. The fourth step and fifth step in FIG. 6 are the multiplier 14 and adder 12 in FIG.
, (4, 3
) corresponds to the operation shown in the formula. The calculation of equation (4, 3) represents the calculation of an integrator whose transfer function is expressed by equation (5, 1).

同様に、(4,4)式は、伝達関数が(5,2)式で示
される積分器の演算を表わしておシ、 第3図の乗算器13、加算器11、遅延器9によって構
成される。第6−図の第6ステノプ、第7ステツプの演
算が(4,4)式の積分器の演算を行っスいるステップ
である。
Similarly, equation (4,4) represents the operation of an integrator whose transfer function is shown by equation (5,2). be done. The calculations in the sixth and seventh steps in FIG. 6 are steps for calculating the integrator of equation (4, 4).

ところで、実際のフィルタでは第2図または、第3図に
示した2次のIIRフィルタをフィ゛ルタの次数に応じ
て縦続接続することによって構成される。この場合、k
段目の2次のIIRフィルタのu n −2のMレジス
タへの格納は(k−1)段目の最後のステップと同時に
行うことができる。したがって、2次のIIRフィルタ
処理を続けて行う場合、2次のIIRフィルタ1段当シ
の実質的な動作ステップ数は、第5図の例では4ステツ
グ、第6図の例では9ステツプとなる。すなわち、第4
図に示した演算装置で、第3図に示した低素子感度フィ
ルタの演算全行うと第2図に示した直接形構成の2次I
IRフィルタに比べて動作ステップが5ステツプ増加す
る。
Incidentally, an actual filter is constructed by cascading the second-order IIR filters shown in FIG. 2 or 3 according to the order of the filters. In this case, k
Storing u n -2 of the second-order IIR filter in the second stage into the M register can be performed simultaneously with the last step of the (k-1)th stage. Therefore, when performing the second-order IIR filter processing continuously, the actual number of operation steps per stage of the second-order IIR filter is 4 steps in the example of FIG. 5, and 9 steps in the example of FIG. Become. That is, the fourth
When all calculations of the low element sensitivity filter shown in Fig. 3 are performed using the arithmetic unit shown in the figure, the second-order I of the direct form configuration shown in Fig. 2 is
The operation steps are increased by 5 steps compared to the IR filter.

(発明が解決しようとする問題点) 以上述べたように従来の演算装置では他素子感度IIR
フィルタの演算を行うと、演算装置の動作ステップ数が
増大してしまうという欠点があシ、このため、低素子感
度フィルタの演算を実現するためには、演算装置の動作
速度を上げなければならず、実現が困難であるという問
題点があった。
(Problems to be Solved by the Invention) As stated above, in the conventional arithmetic device, other element sensitivity IIR
Performing filter calculations has the disadvantage that the number of operation steps of the calculation device increases, so in order to realize the calculation of low element sensitivity filters, the operation speed of the calculation device must be increased. However, there was a problem in that it was difficult to realize.

この発明は、以上述べた他素子感度IIRフィルタの演
算を行うと演算装置の動作ステップが増加してしまうと
いう欠点を除去し、演算装置の動作速度を上げずに低素
子感度フィルタの演算を行うことができるすぐれた装置
を提供することを目的とする。
The present invention eliminates the drawback that the operation steps of the arithmetic device increase when performing the arithmetic operation of the multi-element sensitivity IIR filter described above, and performs the arithmetic operation of the low element sensitivity filter without increasing the operation speed of the arithmetic device. The aim is to provide an excellent device that can

(問題点を解決するための手段) 本発明は、第1の入力端(A)にフィルタ係数などの被
乗数が与えられ且つ第2の入力端(B)へフィルタ入出
力などの乗数が与えられる乗算器3と、乗算器へ与える
乗数を格納する、第ルジスク6及び第2レジスタ7と、
両レジスタの一方の出力を選択して乗算器の第2の入力
端に乗数を与える第1選択手段81と、第1の入力端に
乗算器の出力が与えられる加算器4と、加算器の出力を
格納する第3レジスタと、第1し・ゾスタの出力と第2
レジスタの出力と第3レジスタの出力及び零値のいずれ
かを選択して加算器の第2の入力端へ与える第2選択手
段とを備えたものである。
(Means for Solving Problems) In the present invention, a multiplicand such as a filter coefficient is given to a first input terminal (A), and a multiplier such as a filter input/output is given to a second input terminal (B). a multiplier 3; a second luzisk 6 and a second register 7 for storing a multiplier to be applied to the multiplier;
a first selection means 81 which selects one output of both registers and applies a multiplier to a second input terminal of the multiplier; an adder 4 whose first input terminal is supplied with the output of the multiplier; A third register stores the output, and a third register stores the output of the first and second register.
It is provided with a second selection means for selecting one of the output of the register, the output of the third register, and a zero value and applying the selected one to the second input terminal of the adder.

(作用) 第1及び第2レジスタを第1及び第2選択手段によって
相補的に選択することによって乗算と加算とを並行して
実行でき、例えば、第6°図の第5ステツプと第5ステ
ツプ及び第6ステノプと第7ステツプがそれぞれ1ステ
ツグで実行でき、ステップ数が減少する。
(Operation) By complementary selecting the first and second registers by the first and second selection means, multiplication and addition can be executed in parallel, for example, the fifth step and the fifth step in FIG. The sixth and seventh steps can each be executed in one step, reducing the number of steps.

(実施例) 第1図は本発明の実施例を示すブロック図で、読出し専
用メモリ(ROM ) 1、データメモリ(RAM )
 2、乗算器3、加算器4、アキュームレータ(ACC
) 5、第1の乗算器入力レジスタ(M、以下Mレジス
タという)6、第2の乗算器入力レジスタ(L、以下L
レジスタという)7、第1の選択回路(SELL ) 
81、第2の選択回路(5EL2 )82、データバス
9、補助レジスタ(Wφ)10より構成されている。M
レジスタ、Lレジスタ6゜7の出力は、第1の選択回路
81を介して乗算器3の入力Bに与えられると同時に、
第2の選択回路82を介して加算器4の入力りに与えら
れる。
(Embodiment) FIG. 1 is a block diagram showing an embodiment of the present invention, which includes a read-only memory (ROM) 1, a data memory (RAM)
2, multiplier 3, adder 4, accumulator (ACC
) 5. First multiplier input register (M, hereinafter referred to as M register) 6. Second multiplier input register (L, hereinafter referred to as L)
7. First selection circuit (SELL)
81, a second selection circuit (5EL2) 82, a data bus 9, and an auxiliary register (Wφ) 10. M
The output of the L register 6°7 is applied to the input B of the multiplier 3 via the first selection circuit 81, and at the same time,
It is applied to the input of the adder 4 via the second selection circuit 82.

第7図は、第1図の演算装置によって第3図に示した低
素子感度フィルタの演算を行う場合の動作ステップを示
したものである。以下、各ステップの動作を詳細に説明
する。
FIG. 7 shows the operational steps when the calculation device of FIG. 1 performs the calculation of the low element sensitivity filter shown in FIG. 3. The operation of each step will be explained in detail below.

メモIJ ROM 1には、乗算係数α1.α2.β、
Memo IJ ROM 1 contains multiplication coefficient α1. α2. β,
.

β21 S1+ 82 が予め書き込まれている。また
、メモリRAM 2のDl、D2番地には、前回のフィ
ルタ演算の結果のデータvn、Wnがそれぞれ書き込ま
れている。またアキュームレータ5には前回のフィルタ
演算結果の入力データXnが格納されている。
β21 S1+ 82 is written in advance. Furthermore, data vn and Wn as the results of the previous filter calculation are written in addresses Dl and D2 of the memory RAM 2, respectively. The accumulator 5 also stores input data Xn of the previous filter operation result.

くステップ1〉 まず第1のステップでは、RAM 2
のD2番地の内容Wn−1が読み出され、データバス9
を介して、Mレジスタ6と、補助レジスタ10に格納さ
れる。
Step 1> First, in the first step, RAM 2
The content Wn-1 of address D2 is read out and the data bus 9
The data is stored in the M register 6 and the auxiliary register 10 via the M register 6 and the auxiliary register 10.

くステップ2〉 このステップでは、ROM 1から乗
算係数β2が読出され、乗算器3の入力Aに与えられる
と同時に、第1の選択回路81を介してMレジスタの内
容Wn−1が乗算器3の入力Bに与えられる。したがっ
て乗算結果AXBは AXB=β2 ”IFn−+ となる。この乗算結果は加算器4の入力Cに与えられ、
一方、第2の選択回路82を介してアキュームレータ5
の内容Xが入力りに与えられる。加算器4からは加算結
果 C+D=(β2・Wn−1〕+xn が出力され、アキュームレータ5に格納される。
Step 2> In this step, the multiplication coefficient β2 is read from the ROM 1 and applied to the input A of the multiplier 3, and at the same time, the content Wn-1 of the M register is applied to the multiplier 3 via the first selection circuit 81. is given to input B of Therefore, the multiplication result AXB becomes AXB=β2''IFn-+. This multiplication result is given to the input C of the adder 4,
On the other hand, the accumulator 5
The content X of is given as input. The adder 4 outputs the addition result C+D=(β2·Wn-1]+xn, which is stored in the accumulator 5.

一方、これらの乗算、加算が行われると同時に、RAM
 2からは、D1番地の内容vn−4が読み出され、デ
ータバス9を介してLレジスタ7に格納される。
On the other hand, at the same time that these multiplications and additions are performed, the RAM
2, the contents vn-4 of address D1 are read out and stored in L register 7 via data bus 9.

〈ステップ3〉 このステップでは、ROM 1から乗
算係数β、が読出され、乗算器30入力Aに与えられ、
入力Bには、第1の選択回路8ノによってLレジスタの
内容V n−1が選択されて与えられる。
<Step 3> In this step, the multiplication coefficient β is read from the ROM 1 and given to the input A of the multiplier 30,
The content Vn-1 of the L register is selected and applied to the input B by the first selection circuit 8.

乗算結果は、 AXB=β1・vn−1 となシ、加算器30入力Cに与えられる。一方、入力り
には、第2の選択回路82を介して、アキュームレータ
5から〈ステップ2〉での演算結果〔β2・wn−1+
xn〕が与えられる。したがって加算器5の出力は、 C十り=(β1・V、、:l+(β2・wn−1+xn
〕となシ、(4,1)式のunが得られる。この結果は
アキュームレータ5に格納される。
The multiplication result is given to the input C of the adder 30 as follows: AXB=β1·vn-1. On the other hand, as an input, the calculation result [β2・wn-1+
xn] is given. Therefore, the output of the adder 5 is
] Then, un of the equation (4, 1) is obtained. This result is stored in accumulator 5.

〈ステップ4〉 このステップでは、ROM 1から乗
算係数82が読出され、乗算器3の入力Aに与えられ、
入力Bには第1の選択回路81によってLレジスタの内
容vn−1が選択されて与えられる。
<Step 4> In this step, the multiplication coefficient 82 is read from the ROM 1 and given to the input A of the multiplier 3,
The content vn-1 of the L register is selected and applied to the input B by the first selection circuit 81.

乗算結果は、 A X B = 82−V、1 となシ、加算器3の入力Cに与えられる。−万人力りに
は、第2の選択回路82によって、Mレジスタの内容w
n−1が選択されて与えられる。加算器5の出力結果は
、 C+ D = (S2”vn−、]+wn。
The multiplication result is A x B = 82-V, 1 and is given to the input C of the adder 3. - If possible, the second selection circuit 82 selects the contents of the M register w.
n-1 is selected and given. The output result of the adder 5 is: C+D=(S2''vn-,]+wn.

となシ、(4,3)式のW が得られる。この結果は、
アキュームレータ5に格納されるが、その前に、アキュ
ームレータ5に格納されているくステップ3〉の演算結
果unO値がデータバス9を介してMレジスタに格納さ
れる。
Then, W of equation (4,3) is obtained. This result is
The unO value stored in the accumulator 5 is stored in the accumulator 5, but before that, the unO value stored in the accumulator 5, which is the result of the operation in step 3>, is stored in the M register via the data bus 9.

〈ステップ5〉 このステップでは、ROM 1よシ、
乗算係数81が読出され、乗算器3の入力Aに与えられ
る。−万人力Bには、第1の選択回路81によってMレ
ジスタの内容Uが選択されて与えられる。乗算結果は、 AxB=81・un となり、加算器3の入力Cに与えられる。一方式力りに
は、第2の選択回路82によってLレジスタの内容vn
−1が選択されて与えられる。加算器5の出力結果は、 C+D=[:Sl・un〕十vn−1 となり、(4,4)式のVnが得られる。この結果は、
アキュームレータ5に格納されるが、その前に、アキュ
ームレータ5に格納されているくステップ4〉での演算
結果WnO値がRAM 2のD2番地に書き込まれる。
<Step 5> In this step, ROM 1,
Multiplication coefficient 81 is read out and applied to input A of multiplier 3. - The content U of the M register is selected and given to the universal power B by the first selection circuit 81. The multiplication result is AxB=81·un, which is applied to the input C of the adder 3. For one-way tensioning, the second selection circuit 82 selects the contents of the L register vn.
-1 is selected and given. The output result of the adder 5 is C+D=[:Sl.un]+vn-1, and Vn of equation (4, 4) is obtained. This result is
The WnO value is stored in the accumulator 5, but before that, the WnO value stored in the accumulator 5, which is the calculation result in step 4>, is written to address D2 in the RAM 2.

〈ステラ7’6)  このステップでは、ROM 1よ
シ固定値′”1#が読出され、乗算器3の入力Aに与え
られ、−万人力Bには、第1の選択回路8ノによってM
レジスタの内容unが選択されて与えられる。乗算結果
は、 AXB=(1・U〕 となシ加算器4の入力Cに与えられる。一方、入力りに
は、第2の選択回路82を介して固定値“0#が与えら
れ、加算結果は、 C+D=(1・u〕+O となる。この結果はアキュームレータ5に格納されるが
、その前に、アキュームレータ5に格納されているくス
テップ5〉での演算結果Vの値が、データバス9を介し
てRAM 2のD1番地に書き込まれる。
(Stella 7'6) In this step, the fixed value '''1# from ROM 1 is read out and given to the input A of the multiplier 3.
The contents of the register un are selected and given. The multiplication result is given to the input C of the adder 4 as follows: AXB=(1.U).On the other hand, a fixed value "0#" is given to the input via the second selection circuit 82, and the addition The result is C+D=(1・u)+O. This result is stored in the accumulator 5, but before that, the value of the calculation result V in step 5> stored in the accumulator 5 is It is written to address D1 of RAM 2 via bus 9.

〈ステップ7〉 このステップでは、ROM 1よシ乗
算係数α1が読出され、乗算器30入力Aに与えられる
。一方式力Bには、第1の選択回路81によってLレジ
スタの内容V n−1が選択されて与えられる。乗算結
果は、 AXB=[:α1・V n−1] となり、加算器4の入力Cに与えられる。一方、入力り
には、第2の選択回路82によって、アキュームレータ
5に格納されている〈ステップ6〉での演算結果[un
 )の値が選択されて与えられる。
<Step 7> In this step, the multiplication coefficient α1 from ROM 1 is read out and applied to the input A of the multiplier 30. The first selection circuit 81 selects and applies the content V n-1 of the L register to the one-sided power B. The multiplication result is AXB=[:α1·V n-1] and is given to the input C of the adder 4. On the other hand, as an input, the second selection circuit 82 selects the calculation result [un
) is selected and given.

加算結果は、 C十り=(α、・vn−4〕+〔un〕となシ、この結
果はアキュームレータ5に格納される。一方、これらの
加算、乗算が行われると同時に、補助レジスタ10に格
納されfCw、−1の値が読み出され、データバス9f
t介して、Mレジスタに書き込まれる。
The addition result is C + = (α, ·vn-4] + [un], and this result is stored in the accumulator 5. On the other hand, at the same time as these additions and multiplications are performed, the auxiliary register 10 The value of fCw, -1 is read out, and the data bus 9f
t is written to the M register.

〈ステップ8〉 このステップでは、ROM Zから乗
算係数α2が読出され乗算器3の入力に与えられる。一
方、入力Bには、第1の選択回路81によってMレジス
タの内容wn−1が選択されて与えられ、乗算結果は、 AXB=[α2”’1−1) となり、加算器4の入力Cに与えられる。入力りには、
第2の選択回路82によってアキー−ムレータ5に格納
されているくステンf7〉での演算結果〔α1・vn−
1+ un’)が選択されて与えられる。加算結果は、 C+D=[:α2・”n−+)+Cα1・vn−1+u
n〕となり、(4,2)式のフィルタ出力y が得られ
る。
<Step 8> In this step, the multiplication coefficient α2 is read from the ROM Z and given to the input of the multiplier 3. On the other hand, the content wn-1 of the M register is selected and given to the input B by the first selection circuit 81, and the multiplication result is AXB=[α2'''1-1), and the input C of the adder 4 is is given to .For input,
The calculation result [α1・vn−
1+un') is selected and given. The addition result is C+D=[:α2・”n-+)+Cα1・vn-1+u
n], and the filter output y of equation (4, 2) is obtained.

この結果は、アキュームレータ5に格納される。This result is stored in the accumulator 5.

第3図に示した2次の低素子感度フィルタを多数縦続接
続して用いる場合、k段目のWn−1の値のMレジスタ
への格納は、(k−1)段目の最後のステップと同時に
行うことができる。したがって、この場合の実質的な動
作ステップ数は第7図の破線で示した7ステノプとなる
When a large number of second-order low element sensitivity filters shown in FIG. Can be done at the same time. Therefore, the actual number of operation steps in this case is 7 steps, as indicated by the broken line in FIG.

(発明の効果) 以上、詳細に説明したように本発明によれば、演算装置
の乗算器入力レジスタの出力と、加算器の2つの入力の
うち、アキュームレータの出力が接続されている方の入
力とを接続するようにしたので、低素子感度フィルタの
積分器の演算を1ステツプで処理することができ、従来
の演算装置で低素子感度フィルタの演算を行う場合に比
べて、演算装置の動作ステップ数を削減することができ
る。これにより、従来の演算装置の動作速度と同じ、動
作速度で、低素子感度フィルタを実現することができる
。低素子感度フィルタを用いることによシ、係数語長、
演算語長を少くすることができるので演算装置のノ・−
ドウエア量の削減が期待できる。
(Effects of the Invention) As described above in detail, according to the present invention, the output of the multiplier input register of the arithmetic unit and the input of the two inputs of the adder to which the output of the accumulator is connected As a result, the operation of the integrator of the low element sensitivity filter can be processed in one step, and the operation of the arithmetic unit is faster than when calculating the low element sensitivity filter with a conventional arithmetic unit. The number of steps can be reduced. Thereby, a low element sensitivity filter can be realized at the same operating speed as a conventional arithmetic device. By using a low element sensitivity filter, the coefficient word length,
Since the calculation word length can be reduced, the number of calculation units can be reduced.
It is expected that the amount of hardware will be reduced.

また、本発明は、加算器の加算機能を強化しているので
、ディジタルフィルタ以外の高速演算を必要とするディ
ジタル信号処理の演算装置にも適用可能である。
Furthermore, since the addition function of the adder is strengthened, the present invention can also be applied to arithmetic devices for digital signal processing that require high-speed calculations other than digital filters.

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

第1図は本発明の実施例を示すブロック図、第2図と第
3図とは直接形の一般的フィルタの構成を示す図、第4
図は従来技術の説明図、第5図と第6図とは第4図の演
算装置の動作説明図、第7図は本発明の実施例の動作説
明図である。 1.2・・・メモリ、3・・・乗算器、4・・・加算器
、5・・・アキュムレータ、6,7・・・レジスタ、8
1゜82・・・選択回路。 特許出願人 沖電気工業株式会社 本発明の実施骨1のプロ1.り図 第1図 フイルク1FlQtz傍11 夜来枚重の説明(2) 第4図 j#、4 cOrlk11初乍貌明図 第5図 朱4図1長lの斬1下娩明ス 第6図 不発11月の動1h¥−設R月図 第7図 1、事件の表示 昭和62年 特 許  願第256298号2、発明の
名称 演算装置 3、補正をする者 事件との関係     特  許  出 願 人6、補
正の内容 (1) 明細書第3頁にろる(2ン式を下記のように補
正する。 un: Xn+b1un−1+ b2un−2(2,1
)y = u + alu、−1+a2un−2(2,
2)n      n (2)同誓第6頁にある( 5.1 )式を下記のよう
に補正する。 (3ン  同書第8頁第10行目に「レジスタと」とあ
るのを「レジスタ5と」と補正する。 (4)同書第頁第10行目に「第2選択手段と」とある
のを「第2選択手段82」と補正する。 (5)図面「第4図」を別紙の通り補正する。
FIG. 1 is a block diagram showing an embodiment of the present invention, FIGS. 2 and 3 are diagrams showing the configuration of a direct type general filter, and FIG.
FIG. 5 is an explanatory diagram of the prior art, FIGS. 5 and 6 are explanatory diagrams of the operation of the arithmetic unit of FIG. 4, and FIG. 7 is an explanatory diagram of the operation of the embodiment of the present invention. 1.2... Memory, 3... Multiplier, 4... Adder, 5... Accumulator, 6, 7... Register, 8
1゜82...Selection circuit. Patent Applicant: Oki Electric Industry Co., Ltd.Professional 1 of Implementation Point 1 of the Present Invention. Fig. 1Filk 1FlQtz side 11 Explanation of Yakuharaju (2) Fig. 4j #, 4 cOrlk11 first appearance Fig. 5 Vermilion 4 Fig. 1 Long l's slash 1 Lower parting Fig. 6 Unexploded November Movement 1h ¥ - Setup R Month Chart 7 Figure 1, Case Display 1988 Patent Application No. 256298 2, Invention Title Calculation Device 3, Person Making Amendment Relationship with the Case Patent Applicant 6. Contents of amendment (1) On page 3 of the specification (the 2nd formula is amended as follows. un: Xn+b1un-1+b2un-2(2,1
)y = u + alu, -1+a2un-2(2,
2) n n (2) Formula (5.1) on page 6 of the same oath is amended as follows. (3) In the same book, page 8, line 10, "with the register" is corrected to "with the register 5." (4) In the same book, page 8, line 10, it says "with the second selection means." (5) Correct the drawing “Fig. 4” as shown in the attached sheet.

Claims (1)

【特許請求の範囲】[Claims] 第1の入力端(A)にフィルタ係数などの被乗数が与え
られ且つ第2の入力端(B)へフィルタ入出力などの乗
数が与えられる乗算器(3)と、当該乗算器へ与える乗
数を格納する、第1レジスタ(6)及び第2レジスタ(
7)と、当該両レジスタの一方の出力を選択して前記乗
算器の第2の入力端に前記乗数を与える第1選択手段(
81)と、第1の入力端に前記乗算器の出力が与えられ
る加算器(4)と、当該加算器の出力を格納する第3レ
ジスタ(5)と、前記第1レジスタの出力、前記第2レ
ジスタの出力、前記第3レジスタの出力及び零値のいず
れかを選択して、前記加算器の第2の入力端へ与える第
2選択手段(82)と、を備えた演算装置
A multiplier (3) to which a multiplicand such as a filter coefficient is given to a first input terminal (A) and a multiplier such as a filter input/output to a second input terminal (B), and a multiplier to be given to the multiplier. The first register (6) and the second register (
7), and first selection means (
81), an adder (4) to which the output of the multiplier is applied to a first input terminal, a third register (5) that stores the output of the adder, an output of the first register, and an adder (4) that stores the output of the multiplier. a second selection means (82) that selects one of the output of the second register, the output of the third register, and a zero value and supplies it to the second input terminal of the adder;
JP62256298A 1987-10-13 1987-10-13 Arithmetic unit Expired - Lifetime JPH0748636B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62256298A JPH0748636B2 (en) 1987-10-13 1987-10-13 Arithmetic unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62256298A JPH0748636B2 (en) 1987-10-13 1987-10-13 Arithmetic unit

Publications (2)

Publication Number Publication Date
JPH0199312A true JPH0199312A (en) 1989-04-18
JPH0748636B2 JPH0748636B2 (en) 1995-05-24

Family

ID=17290715

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62256298A Expired - Lifetime JPH0748636B2 (en) 1987-10-13 1987-10-13 Arithmetic unit

Country Status (1)

Country Link
JP (1) JPH0748636B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08241301A (en) * 1995-03-07 1996-09-17 Nec Corp Orthogonal transform processor
KR100781056B1 (en) * 2006-10-31 2007-11-30 한국생명공학연구원 1RTR1 acts as a dominant negative regulator of systemic necrosis on Tobacco ring spot virus-infected Arabidopsis

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58169674A (en) * 1982-03-31 1983-10-06 Toshiba Corp Digital data processor
JPS58214948A (en) * 1982-06-09 1983-12-14 Toshiba Corp Pipeline arithmetic device
JPS6157110A (en) * 1984-08-28 1986-03-24 Matsushita Electric Ind Co Ltd Digital filter

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58169674A (en) * 1982-03-31 1983-10-06 Toshiba Corp Digital data processor
JPS58214948A (en) * 1982-06-09 1983-12-14 Toshiba Corp Pipeline arithmetic device
JPS6157110A (en) * 1984-08-28 1986-03-24 Matsushita Electric Ind Co Ltd Digital filter

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08241301A (en) * 1995-03-07 1996-09-17 Nec Corp Orthogonal transform processor
KR100781056B1 (en) * 2006-10-31 2007-11-30 한국생명공학연구원 1RTR1 acts as a dominant negative regulator of systemic necrosis on Tobacco ring spot virus-infected Arabidopsis

Also Published As

Publication number Publication date
JPH0748636B2 (en) 1995-05-24

Similar Documents

Publication Publication Date Title
EP0466997A1 (en) Improved digital signal processor architecture
KR20030011071A (en) Digital signal processor with coupled multiply-accumulate units
US4802111A (en) Cascadable digital filter processor employing moving coefficients
US7046723B2 (en) Digital filter and method for performing a multiplication based on a look-up table
JPS6297062A (en) Digital signal processor
JPH0199312A (en) Arithmetic unit
CN114448390A (en) Biquad digital filter device and implementation method
US6944217B1 (en) Interleaved finite impulse response filter
JPH05174046A (en) Arithmetic circuit
JPS6259828B2 (en)
JPS59194242A (en) Digital multiplying and cumulative adding device
JPH069029B2 (en) Digital signal processing processor
JPH03211910A (en) Digital filter
JP3759173B2 (en) Parallel processor and digital signal processor using the same
JPH08287037A (en) Digital signal processing processor
JPH0720047B2 (en) Digital Filter
JP3801368B2 (en) Digital transversal filter
JPS5990419A (en) Second order digital full band passing circuit
JPS63113756A (en) Signal processor
KR100324729B1 (en) Finite impulse response filter
JPH06216715A (en) Digital filter
JPS60163520A (en) Digital filter
JPS63133268A (en) Pipeline type fft butterfly calculator
JPH09269939A (en) Computing element digital signal processor using the same
JPH0414173A (en) Fixed point product sum computing element

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080524

Year of fee payment: 13