JPH0438005A - Digital signal processing circuit - Google Patents

Digital signal processing circuit

Info

Publication number
JPH0438005A
JPH0438005A JP14570890A JP14570890A JPH0438005A JP H0438005 A JPH0438005 A JP H0438005A JP 14570890 A JP14570890 A JP 14570890A JP 14570890 A JP14570890 A JP 14570890A JP H0438005 A JPH0438005 A JP H0438005A
Authority
JP
Japan
Prior art keywords
adder
output
data
input
multiplier
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP14570890A
Other languages
Japanese (ja)
Inventor
Toshiyuki Okamoto
俊之 岡本
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP14570890A priority Critical patent/JPH0438005A/en
Publication of JPH0438005A publication Critical patent/JPH0438005A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce an arithmetic time of a FIR filter having a symmetrical coefficient by providing 1st and 2nd internal data buses, connecting input and output of 1st and 2nd RAMs respectively and interconnecting the 1st and 2nd internal data buses via a temporary register. CONSTITUTION:As soon as an input data of a FIR filter is written in a 1st RAM 2, the data is inputted to a 1st adder 5. On the other hand, a data delayed by 2N is read from a 2nd RAM 3 and inputted to the adder 5. The result of sum is inputted to a multiplier 6 and further inputted to a 2nd adder 7, in which the data is stored and operated After the product-sum operation by (N-1) times is implemented, as soon as the data after N-sample delay is inputted to the adder 5 and a temporary register 4, data after (N+1) sample delay is inputted to the adder 5 and the 2nd RAM 3. Then output data from the FIR filter is obtained as an output of an accumulator 8 by the product sum operation for N times.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はディジタル信号処理回路に関し、特に乗算係数
が対称なFIRフィルタの高速演算に適したアーキテク
チャに関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a digital signal processing circuit, and particularly to an architecture suitable for high-speed calculation of an FIR filter with symmetrical multiplication coefficients.

〔従来の技術〕[Conventional technology]

従来のディジタル信号処理回路の一例を、第2図に示す
。図に示すように、係数を格納するROM1と、演算デ
ータを格納するRAM2と、このRAM2の入出力と接
続される内部データバス9と、内部データバス9とRO
MIとの出力が各々入力端に接続された乗算器6と、こ
の乗算器6の出力とアキエムレータ8の出力とを入力と
する加算器7と、この加算器7の出力を入力するアキー
ムレータ8と金偏え、アキュムレータ8の出力と内部デ
ータバス9とを接続して構成される。
An example of a conventional digital signal processing circuit is shown in FIG. As shown in the figure, a ROM 1 that stores coefficients, a RAM 2 that stores calculation data, an internal data bus 9 that is connected to the input/output of this RAM 2, and an internal data bus 9 and RO
A multiplier 6 whose input terminals are connected to the outputs of the MI, an adder 7 whose inputs are the output of the multiplier 6 and the output of the Achiemulator 8, and an Achiemulator 8 which receives the output of the adder 7. It is constructed by connecting the output of the accumulator 8 and the internal data bus 9.

次に、この従来例のディジタル信号回路を用いた係数対
称のFIRフィルタの動作を説明する。
Next, the operation of the coefficient-symmetrical FIR filter using this conventional digital signal circuit will be explained.

今、2NタツプのFIRフィルタの伝達関数H−監 (Z  )を次式とする。Now, the transfer function H-monitor of the FIR filter with 2N taps is Let (Z) be the following formula.

H(Z  ) = h(、+ hIZ  十h2z  
+ ・・・+h)1−Hz−””+ hN−I Z−N
+ 00.+ h2Z−2N”+ h I Z−”” 
’+ h6 Z−詣 この時、ROMIKは各係数り。、h□、hl、・・・
t hN−1rhN−1p ”・p hl p hl 
+ hOが順に格納されている。FIRフィルタの入力
データは内部データバス9を介して乗算器6に入力され
ると共に、ROM1から係数h0が読み出されて乗算器
6に入力され乗算される。その結果は、加算器7に入力
されて蓄積演算される。なお、この最初の動作でアキエ
ムレータ8はリセットされている。
H(Z) = h(, + hIZ +h2z
+...+h)1-Hz-""+hN-I Z-N
+00. + h2Z-2N"+ h IZ-""
'+ h6 Z- At this time, ROMIK is each coefficient. ,h□,hl,...
thN-1rhN-1p”・phl phl
+ hO are stored in order. Input data of the FIR filter is input to the multiplier 6 via the internal data bus 9, and a coefficient h0 is read from the ROM 1 and input to the multiplier 6 for multiplication. The result is input to the adder 7 and accumulated. Note that the Achiemulator 8 has been reset by this first operation.

この時、同時に入力データはRAM2に書込まれる0次
に、1サンプル時間遅嬌後の入力データを8λM2から
読出して内部データバス9を介して乗算器6に入力され
ると共に、ROMIから係数h1が読出されて乗算器6
に入力され乗算され、更にその結果は加算器7に入力さ
れて蓄積演算される。
At this time, at the same time, the input data is written to the RAM 2 in the 0th order, the input data after one sample time delay is read out from 8λM2 and inputted to the multiplier 6 via the internal data bus 9, and the coefficient h1 is inputted from the ROMI. is read out and multiplier 6
The result is input to the adder 7 and is subjected to an accumulation operation.

このようにして2N回の積和演算によって、FIRフィ
ルタの出力データがアキエムレータフの出力として内部
データバス9を介して得られる。
In this manner, the output data of the FIR filter is obtained via the internal data bus 9 as the output of the Achiem filter by performing 2N times of product-sum operations.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

この従来のディジタル信号処理回路において、例えば2
Nの対称係数を有するFIRフィルタの演算を行なう場
合、2N回の積和演算が必要となシ、演算時間が長くな
るという問題点があった。
In this conventional digital signal processing circuit, for example, two
When calculating an FIR filter having N symmetrical coefficients, there is a problem in that 2N product-sum calculations are required, which increases the calculation time.

本発明の目的は、このよう表問題を解決し、演算時間を
短縮したディジタル信号処理回路を提供することにある
SUMMARY OF THE INVENTION An object of the present invention is to provide a digital signal processing circuit that solves the table problem and reduces calculation time.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のディジタル信号処理回路の構成は、FIRフィ
ルタの伝達関数の各係数を格納するROMと、演算デー
タを格納するRAMと、2入力を加算して結果を得る第
1の加算器と、この第1の加算器の出力と前記ROMの
値とを乗算して結果を得る乗算器と、この乗算器の出力
と蓄積加算出力とを加算して結果を得る第2の加算器と
、この第2の加算器の出力を入力に接続し前記蓄積加算
出力を得るアキュムレータとを備え、前記RAMが第1
および第2のRAMからなり、これら第1および第2の
RAMの入出力が第1および第2の内部データバスにそ
れぞれiaされ、前記第1の加算器の入力が各々前記第
1および第2の内部データバスにそれぞれ接続され、前
記第1および第2の内部データバスがテンポ2リレジス
タを介して接続されていることを特徴とする。
The configuration of the digital signal processing circuit of the present invention includes a ROM that stores each coefficient of a transfer function of an FIR filter, a RAM that stores calculation data, a first adder that adds two inputs and obtains a result, and a first adder that adds two inputs to obtain a result. a multiplier that obtains a result by multiplying the output of the first adder by the value in the ROM; a second adder that obtains the result by adding the output of this multiplier and the accumulation addition output; an accumulator that connects the output of the second adder to its input to obtain the accumulated addition output, and the RAM is connected to the first
and a second RAM, the input and output of these first and second RAMs are connected to first and second internal data buses, respectively, and the input of the first adder is connected to the first and second internal data buses, respectively. , and the first and second internal data buses are connected via a tempo 2 register.

本発明において、第1の加算器と乗算器およびこの乗算
器と第2の加算器の各接続間にレジスタを設けたものと
することができる。
In the present invention, a register may be provided between each connection between the first adder and the multiplier and between the multiplier and the second adder.

〔実施例〕〔Example〕

次に本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一笑施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.

このディジタル信号処理回路において、ROM1には、
例えばフィルタの係数が格納されておシ、RAM2.3
にはフィルタの遅延データが格納されている。ここで、
2Nタツプの対称係数を有するFIRフィルタの伝達関
数H(Z)か次式で与えられるとする。
In this digital signal processing circuit, ROM1 has:
For example, the coefficients of the filter are stored in RAM 2.3.
contains filter delay data. here,
Assume that the transfer function H(Z) of an FIR filter with symmetric coefficients of 2N taps is given by the following equation.

H(Z  )−h0+h1z  +h2Z  +−,+
hN、Z−””+h   Z  +・・−+h Z  
  +hlZ+ h oZ−2N この時の@算過程を説明する。まず、ROMzにはho
、h工、hl、・・・hN−1のN個の係数が順に格納
されておシ、順に読出されて、乗算器6に入力される1
次に1第1のRAM2には、1,2,3.・・・N遅延
されたデータが、また第2の)LAM3にはN+1゜N
+2 、 N+3 、・−・2N遅延されたデータが格
納されている。
H(Z)-h0+h1z +h2Z +-,+
hN, Z-””+h Z +・・-+h Z
+hlZ+ h oZ-2N The @ calculation process at this time will be explained. First of all, ROMz has ho
, h, hl, .
Next, 1, 2, 3 . ...N delayed data is also transferred to the second) LAM3 by N+1°N
+2, N+3, . . . 2N delayed data is stored.

FIRフィルタの入力データは、第1の内部データバス
9を介して第lClRAM2[書込まれると同時に第1
の加算器5に入力される。一方、第2の貼ぷ3から2へ
遅延されたデータが読出され、第2の内部データバス1
0t−介して第1の加算器5に入力される。その加算結
果は、乗算器6に入力されると共に、ROMIから係数
り。が読出されて乗算器6に入力される。更に、その乗
算結果は、第2の加算器7に入力され、蓄贋演算される
。この最初の動作でアキュムレータ8はリセットされて
いる。
The input data of the FIR filter is written to the first RAM 2 via the first internal data bus 9.
is input to the adder 5. On the other hand, the delayed data is read from the second pasteboard 3 to the second internal data bus 1.
It is input to the first adder 5 via 0t-. The addition result is input to the multiplier 6 and is also multiplied by a coefficient from the ROMI. is read out and input to the multiplier 6. Further, the multiplication result is input to the second adder 7, and is subjected to a savings operation. The accumulator 8 has been reset by this first operation.

次に、1サンプル遅延後の入力データを第1のRAM2
から読出して第1の内部データバス9を介して第1の加
算器5に入力すると同時に、2N−1サンプル遅延後の
データを第2のRAM3から読出して第2の内部データ
バス10を介して第1の加算器5に入力する。その加算
結果は、乗算器6に入力されると共に、ROMIから係
数h□が読出されて乗算器6に入力される。更に、乗算
結果は第2の加算器7に入力され蓄積演算される。かく
してN−1回の積和演算が行なわれた後、Nサンプル遅
延後のデータを第1の几AM2から読出して第1の内部
データバス9を介して第1の加算器5及びテンポラリレ
ジスタ8に入力すると同時に、N十1サンプル遅砥後の
データをテンポラリレジスタ8から第2の内部データバ
ス10に出力して第1の加算器5及び第2のRAM3に
入力する。その加算結果は、乗算器6に入力されると共
に、ROM1から係数hN−1が読出されて乗算器6に
入力される。更に1乗算結果は第2の加算器7に入力さ
れて蓄積演算される。以上により、N回の積和演乗によ
ってFIRフィルタの出力データはアキュムレータ8の
出力として第1あるいは第2の内部データバス9,10
を介して得られる。
Next, the input data after one sample delay is stored in the first RAM2.
At the same time, data after 2N-1 sample delay is read from the second RAM 3 and inputted to the first adder 5 via the first internal data bus 9. input to the first adder 5; The addition result is input to the multiplier 6, and the coefficient h□ is read from the ROMI and input to the multiplier 6. Furthermore, the multiplication result is input to the second adder 7 and accumulated. After N-1 product-sum operations have been performed in this way, the data after the N-sample delay is read out from the first AM 2 and sent to the first adder 5 and temporary register 8 via the first internal data bus 9. At the same time, the data after N11 samples are outputted from the temporary register 8 to the second internal data bus 10 and inputted to the first adder 5 and the second RAM 3. The addition result is input to the multiplier 6, and the coefficient hN-1 is read from the ROM 1 and input to the multiplier 6. Furthermore, the 1 multiplication result is input to the second adder 7 and is subjected to an accumulation operation. As described above, the output data of the FIR filter is transferred to the first or second internal data bus 9, 10 as the output of the accumulator 8 by N times of product-sum operations.
obtained through.

以上は、FIRフィルタの入力データが第1の内部デー
タバス9に入力される場合を示したが、第2の内部デー
タバス10に入力される場合も同様にして実行できる事
は容易にわかる。
Although the above example shows the case where the input data of the FIR filter is input to the first internal data bus 9, it is easy to see that the same process can be performed when the input data is input to the second internal data bus 10.

また、以上示した第1の加算器9乗算器および第2の加
算器の入出力間の接続にレジスタを設け、各演算ユニッ
トに要求される演算スピードを軽減する事も可能である
It is also possible to provide a register between the input and output of the first adder 9 multiplier and the second adder shown above to reduce the calculation speed required for each calculation unit.

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

以上説明したように本発明は、第1及び第2の内部デー
タバスを設け、第1.第2のRAMの入出力を各々接続
し、更に第1.第2の内部データバス間をテンポラリレ
ジスタを介して接続した事によシ、対称係数を有するF
IB−フィルタの演算時間を従来の1/2に短縮できる
という効果を有する。
As explained above, the present invention provides first and second internal data buses, and provides first and second internal data buses. The input and output of the second RAM are connected respectively, and the input and output of the second RAM are connected respectively. By connecting the second internal data bus through a temporary register, F
This has the effect that the calculation time of the IB-filter can be reduced to 1/2 of that of the conventional method.

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

第1図は本発明の一実施例のブロック図、第2図は従来
例のディジタル信号処理回路のブロック図である。 1・・・九〇M12.3・・・RAM、4・・・テンポ
ラリレジスタ、5.7・・・加算器、6・・・乗算器、
8・・・アキュムレータ、9.10・・・内部データバ
ス。 代理人 弁理士  内 原   晋 第1図 第2図
FIG. 1 is a block diagram of an embodiment of the present invention, and FIG. 2 is a block diagram of a conventional digital signal processing circuit. 1...90M12.3...RAM, 4...temporary register, 5.7...adder, 6...multiplier,
8...Accumulator, 9.10...Internal data bus. Agent: Susumu Uchihara, patent attorney Figure 1 Figure 2

Claims (1)

【特許請求の範囲】 1、FIRフィルタの伝達関数の各係数を格納するRO
Mと、演算データを格納するRAMと、2入力を加算し
て結果を得る第1の加算器と、この第1の加算器の出力
と前記ROMの値とを乗算して結果を得る乗算器と、こ
の乗算器の出力と蓄積加算出力とを加算して結果を得る
第2の加算器と、この第2の加算器の出力を入力に接続
し前記蓄積加算出力を得るアキュムレータとを備え、前
記RAMが第1および第2のRAMからなり、これら第
1および第2のRAMの入出力が第1および第2の内部
データバスにそれぞれ接続され、前記第1の加算器の入
力が各々前記第1および第2の内部データバスにそれぞ
れ接続され、前記第1および第2の内部データバスがテ
ンホラリレジスタを介して接続されていることを特徴と
するディジタル信号処理回路。 2、第1の加算器と乗算器およびこの乗算器と第2の加
算器の各接続間にレジスタを設けた請求項1記載のディ
ジタル信号処理回路。
[Claims] 1. RO that stores each coefficient of the transfer function of the FIR filter
M, a RAM that stores calculation data, a first adder that adds two inputs to obtain a result, and a multiplier that multiplies the output of the first adder and the value in the ROM to obtain a result. a second adder that obtains a result by adding the output of this multiplier and an accumulation addition output, and an accumulator that connects the output of this second adder to an input and obtains the accumulation addition output, The RAM includes first and second RAMs, inputs and outputs of the first and second RAMs are connected to first and second internal data buses, respectively, and inputs of the first adder are connected to the first and second internal data buses, respectively. 1. A digital signal processing circuit connected to first and second internal data buses, the first and second internal data buses being connected via a temporary register. 2. The digital signal processing circuit according to claim 1, further comprising registers provided between each connection between the first adder and the multiplier and between the multiplier and the second adder.
JP14570890A 1990-06-04 1990-06-04 Digital signal processing circuit Pending JPH0438005A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14570890A JPH0438005A (en) 1990-06-04 1990-06-04 Digital signal processing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14570890A JPH0438005A (en) 1990-06-04 1990-06-04 Digital signal processing circuit

Publications (1)

Publication Number Publication Date
JPH0438005A true JPH0438005A (en) 1992-02-07

Family

ID=15391288

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14570890A Pending JPH0438005A (en) 1990-06-04 1990-06-04 Digital signal processing circuit

Country Status (1)

Country Link
JP (1) JPH0438005A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04311106A (en) * 1991-04-10 1992-11-02 Matsushita Electric Ind Co Ltd Digital filter for decimation
US5513223A (en) * 1993-11-16 1996-04-30 Nec Corporation FIR digital filter and method for signal processing thereof
JPH11266140A (en) * 1997-12-23 1999-09-28 Koninkl Philips Electronics Nv Programmable circuit for providing digital filter
JP2006319941A (en) * 2005-04-15 2006-11-24 Sanyo Electric Co Ltd Fir filter computing unit

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS647809A (en) * 1987-06-30 1989-01-11 Fujitsu Ltd Digital filter

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS647809A (en) * 1987-06-30 1989-01-11 Fujitsu Ltd Digital filter

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04311106A (en) * 1991-04-10 1992-11-02 Matsushita Electric Ind Co Ltd Digital filter for decimation
US5513223A (en) * 1993-11-16 1996-04-30 Nec Corporation FIR digital filter and method for signal processing thereof
JPH11266140A (en) * 1997-12-23 1999-09-28 Koninkl Philips Electronics Nv Programmable circuit for providing digital filter
JP2006319941A (en) * 2005-04-15 2006-11-24 Sanyo Electric Co Ltd Fir filter computing unit

Similar Documents

Publication Publication Date Title
JPH0834408B2 (en) IIR Digital Filter
US4843581A (en) Digital signal processor architecture
US4802111A (en) Cascadable digital filter processor employing moving coefficients
JP3287305B2 (en) Product-sum operation unit
JPH0438005A (en) Digital signal processing circuit
US5798954A (en) Digital filter device having a bit shifter unit
Erdogan et al. High throughput FIR filter design for low power SoC applications
JP2953918B2 (en) Arithmetic unit
KR950002072B1 (en) Digital filter
JP2828992B2 (en) Digital protection relay
Ye et al. A bit-segmented adder chain based symmetric transpose two-block FIR design for high-speed signal processing
JPH01284009A (en) Digital filter processing unit, digital protection relay device and digital differential relay device
JP3136150B2 (en) Integrating circuit and method
JPS5990419A (en) Second order digital full band passing circuit
JP2904792B2 (en) One-dimensional digital filter
Iruleswari et al. Design and Implementation of distributed arithmetic technique based FIR filter using lookup table
JPH0447454A (en) Method and device for discrete fourier transformation or cosine transformation of digital data
JPS63164640A (en) Cosine transformation device
JPS59198020A (en) Digital signal processor
JPH09186554A (en) Digital filter
JPH06196969A (en) Finite impulse response filter
JPS6238981A (en) Space filter
JPS633506A (en) Digital transversal filter
JPS63149764A (en) Data processor
JPH0449708A (en) Fir filter circuit