JPH0998068A - Digital filter - Google Patents

Digital filter

Info

Publication number
JPH0998068A
JPH0998068A JP7274994A JP27499495A JPH0998068A JP H0998068 A JPH0998068 A JP H0998068A JP 7274994 A JP7274994 A JP 7274994A JP 27499495 A JP27499495 A JP 27499495A JP H0998068 A JPH0998068 A JP H0998068A
Authority
JP
Japan
Prior art keywords
output
clock
bit
register
stage
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
JP7274994A
Other languages
Japanese (ja)
Inventor
Toshiaki Otani
俊朗 大谷
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP7274994A priority Critical patent/JPH0998068A/en
Publication of JPH0998068A publication Critical patent/JPH0998068A/en
Pending legal-status Critical Current

Links

Landscapes

  • Complex Calculations (AREA)

Abstract

(57)【要約】 【課題】記憶容量が小さいメモリーを用いて従来のメモ
リー型のディジタルフィルタと同等の性能を有するディ
ジタルフィルタを提供すること。 【解決手段】入力したnビットのパラレル入力信号をク
ロックckによりシフトするn段シフトレジスタ1と、
シフトレジスタ各段のnビット出力をクロックckのn
倍の第2のクロックnckによりビット毎に選択出力す
るセレクタ2と、シフトレジスタ各段の出力に対応する
タップ係数データを乗算した乗算結果を記憶し、セレク
タからのnビットアドレスにより乗算結果を読みだす演
算結果記憶メモリー3と、演算結果記憶メモリーから読
みだされた乗算結果を第2のクロックnckにより順に
蓄積するレジスタ部4と、レジスタ部に蓄積された乗算
結果を全加算し出力する全加算器5及び出力レジスタ6
とからなる。
(57) Abstract: To provide a digital filter having a performance equivalent to that of a conventional memory type digital filter using a memory having a small storage capacity. SOLUTION: An n-stage shift register 1 for shifting an input n-bit parallel input signal by a clock ck,
The n-bit output of each stage of the shift register is set to n of the clock ck.
The selector 2 that outputs the selected bit by bit by the doubled second clock nck and the multiplication result obtained by multiplying the tap coefficient data corresponding to the output of each stage of the shift register are stored, and the multiplication result is read by the n-bit address from the selector. A calculation result storage memory 3, a register unit 4 for sequentially accumulating the multiplication results read from the calculation result storage memory by the second clock nck, and a full addition for fully adding and outputting the multiplication results accumulated in the register unit. Device 5 and output register 6
Consists of

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ディジタル信号処
理に使用するn(2以上の自然数、以下同じ)ビットの
入力信号がパラレルに処理されるディジタルフィルタに
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital filter for processing an n (2 or more natural number, the same applies hereinafter) bit input signal used in digital signal processing in parallel.

【0002】[0002]

【従来の技術】近年、ディジタル信号処理において、デ
ィジタルフィルタを用いてアナログフィルタと同等の効
果を実現しようとすることが多く、そのような用途に使
用する代表的なFIR型ディジタルフィルタの特性は、
タップ数が多いほど良好となる。また、入力信号及び出
力信号はパラレルデータとして使用することができる方
が信号処理上、及び周辺回路の構成等の面から都合がよ
い。
2. Description of the Related Art In recent years, in digital signal processing, it has often been attempted to realize the same effect as an analog filter by using a digital filter, and the characteristic of a typical FIR type digital filter used for such an application is as follows.
The better the number of taps, the better. In addition, it is more convenient to use the input signal and the output signal as parallel data in terms of signal processing and the configuration of peripheral circuits.

【0003】従来、この種のディジタルフィルタとして
は図2乃至図4に示すようなものがあった。図2はビッ
トパラレルに入力信号を入力し処理し出力する従来のF
IR型ディジタルフィルタの構成を示す構成図、図3は
入力信号とタップ係数データとの動作関係を示すタイミ
ング図、図4はビットパラレルに入力信号を入力しメモ
リーから演算結果を読みだして出力する従来のメモリー
型のディジタルフィルタの構成を示す構成図である。
Conventionally, as this type of digital filter, there has been one as shown in FIGS. FIG. 2 shows a conventional F that inputs, processes, and outputs an input signal in bit parallel.
FIG. 3 is a configuration diagram showing the configuration of the IR digital filter, FIG. 3 is a timing diagram showing the operation relationship between the input signal and tap coefficient data, and FIG. 4 is an input signal input in bit parallel and the operation result is read out from the memory and output. It is a block diagram which shows the structure of the conventional memory type digital filter.

【0004】まず、図2を参照して、上記従来のFIR
型ディジタルフィルタの構成について説明する。図2に
おいて、7はディジタルのパラレル入力信号を構成する
n個のビットを各クロックckによりパラレルに初段に
入力しその後1段宛シフトして各段の出力(タップを形
成する)からパラレル入力信号のシフトデータ(D0、
D1、・・・・・・、Dn−1、Dn)を出力するn段
(複数)からなるシフトレジスタ(T)、ckはシフト
レジスタ7に対するパラレル信号の入力とシフトレジス
タ7のシフトとを同期するクロックである。
First, referring to FIG. 2, the conventional FIR described above is used.
The configuration of the digital filter will be described. In FIG. 2, reference numeral 7 is a parallel input signal from the output of each stage (forming a tap) by inputting n bits constituting a digital parallel input signal in parallel to each first stage by each clock ck and then shifting to one stage. Shift data (D0,
D1, ..., Dn−1, Dn) are output from the shift register (T) consisting of n stages (plural), and ck synchronizes the parallel signal input to the shift register 7 and the shift of the shift register 7. It is a clock to do.

【0005】また、8はこのFIR型ディジタルフィル
タを使用する特定の用途のため予め設定されたタップ係
数データ(C0、C1、・・・・・・、Cn−1、C
n)を格納するタップ係数レジスタ、9はシフトレジス
タ7の各段からのシフトデータ(D0、D1、・・・・
・・、Dn−1、Dn)をそれぞれ入力してタップ係数
レジスタ8からのタップ係数データ(C0、C1、・・
・・・・、Cn−1、Cn)と乗算する乗算器、10は
乗算器9から出力された乗算結果(X0、X1、・・・
・・・、Xn−1、Xn)を総和する全加算器、11は
加算結果を一時記憶し、クロックckタイムでそれをフ
ィルタ出力(Y0)として出力する出力レジスタであ
る。
Reference numeral 8 is tap coefficient data (C0, C1, ..., Cn-1, Cn which is preset for a specific application using this FIR type digital filter.
n) are stored in the tap coefficient register, and 9 is shift data (D0, D1, ...
.., Dn-1, Dn) are input respectively and tap coefficient data (C0, C1, ...) From the tap coefficient register 8 is input.
..., Cn-1, Cn) and the multiplication result (X0, X1, ...) output from the multiplier 9.
..., Xn-1, Xn) are added together, and 11 is an output register for temporarily storing the addition result and outputting it as a filter output (Y0) at clock ck time.

【0006】次に、図2及び図3を参照して、上記従来
のFIR型ディジタルフィルタの動作について詳細に説
明する。図3はクロックckに示すように、横軸を時間
軸にしたタイミング図であり、入力またはシフトデータ
は各クロックckごとにD0、D1、・・・・・・、D
n−1、Dnのようにシフトし、その都度、その全デー
タに対しタップ係数データ(C0、C1、・・・・・
・、Cn−1、Cn)が乗算され、乗算結果(X0、X
1、・・・・・・、Xn−1、Xn)が総和されてフィ
ルタ出力Y0として出力されることを示す。
Next, the operation of the conventional FIR type digital filter will be described in detail with reference to FIGS. FIG. 3 is a timing diagram in which the horizontal axis is the time axis as shown in the clock ck, and the input or shift data is D0, D1, ..., D for each clock ck.
n-1 and Dn, and tap coefficient data (C0, C1, ...
, Cn−1, Cn) are multiplied, and the multiplication result (X0, X
, ..., Xn−1, Xn) are summed and output as the filter output Y0.

【0007】すなわち、パラレル入力信号はクロックc
kに同期してシフトレジスタ7に入力され、クロックc
kごとに次段にシフトされ、各段の出力からそのタップ
における入力またはシフトデータ(D0、D1、・・・
・・・、Dn−1、Dn)が取り出される。この入力ま
たはシフトデータ(D0〜Dn)はそれぞれ各タップに
対応するタップ係数レジスタ8からのタップ係数データ
(C0〜Cn)とそれぞれの乗算器9において乗算さ
れ、各タップの乗算結果(X0〜Xn)の全てが全加算
器10において全加算され、その全加算結果は出力レジ
スタ11に一時格納され、クロックckによりフィルタ
出力Y0として出力される。
That is, the parallel input signal is the clock c
It is input to the shift register 7 in synchronization with k, and the clock c
Each k is shifted to the next stage, and the input or shift data (D0, D1, ...) At that tap is output from each stage.
..., Dn-1, Dn) are taken out. This input or shift data (D0 to Dn) is multiplied in each multiplier 9 by the tap coefficient data (C0 to Cn) from the tap coefficient register 8 corresponding to each tap, and the multiplication result (X0 to Xn) of each tap. ) Are fully added in the full adder 10, and the result of the full addition is temporarily stored in the output register 11 and output as the filter output Y0 by the clock ck.

【0008】次に、図4を参照して、更に従来例のメモ
リー型のディジタルフィルタの構成について説明する。
図4において、12はディジタルのパラレル入力信号を
構成するn個のビットをクロックckによりパラレルに
初段に入力し、その後1段宛シフトして各段の出力(タ
ップを形成する)からパラレル入力信号のシフトデータ
(D0〜Dn)を出力するn段(複数)からなるシフト
レジスタ、ckはシフトレジスタ12に対してパラレル
信号を入力し、シフトレジスタ12のシフトを同期する
クロックである。
Next, referring to FIG. 4, the structure of a conventional memory type digital filter will be described.
In FIG. 4, reference numeral 12 is a parallel input signal from n outputs of each stage (forms a tap) by inputting n bits constituting a digital parallel input signal in parallel to the first stage by a clock ck and then shifting to one stage. Shift register (n = plural) that outputs the shift data (D0 to Dn), and ck is a clock that inputs a parallel signal to the shift register 12 and synchronizes the shift of the shift register 12.

【0009】また、13はシフトレジスタ12各段の出
力において、ビット組み合わせ可能な全てのシフトデー
タに対し、それぞれタップ係数データを乗算して全加算
した演算結果が記憶され、各シフトレジスタ段からのシ
フトデータによりアドレスされて、記憶されている演算
結果を読みだすようにした演算結果記憶メモリー、14
は演算結果記憶メモリー13から読みだされた演算結果
を一時記憶し、クロックckタイムによりそれをフィル
タ出力(Y0)として出力する出力レジスタである。こ
のような、メモリー型のディジタルフィルタは演算にお
いて、“まるめ”等の処理を行わずに演算してその結果
を記憶するので、演算による劣化を防止することができ
る。
Further, at the output of each stage of the shift register 12, the operation result obtained by multiplying all shift data capable of bit combination by tap coefficient data and fully adding is stored. An operation result storage memory which is addressed by the shift data and reads out the operation result stored therein, 14
Is an output register for temporarily storing the calculation result read from the calculation result storage memory 13 and outputting it as a filter output (Y0) at the clock ck time. In such a memory type digital filter, since the arithmetic operation is performed without performing processing such as "rounding" and the result is stored, the deterioration due to the arithmetic operation can be prevented.

【0010】次に、図4を参照して、上記従来のメモリ
ー型のディジタルフィルタの動作について説明する。ま
ず、パラレル入力信号がクロックckに同期してシフト
レジスタ12に入力され、クロックckごとに次段にシ
フトされ、各シフトレジスタ段の出力からそのタップに
おけるシフトデータ(D0〜Dn)が取り出される。各
シフトレジスタ段の出力からのシフトデータは演算結果
記憶メモリー13に対しそのアドレスとして入力され
る。演算結果記憶メモリー13には指定されたアドレス
ビット位置が“1”で構成される入力データとそれに対
応したタップ係数データとの乗算結果の総和が記憶され
ており、そのアドレスによりその演算結果が出力され
る。演算結果の出力は出力レジスタ14に一時格納さ
れ、クロックckに同期しフィルタ出力として出力され
る。
Next, the operation of the conventional memory type digital filter will be described with reference to FIG. First, the parallel input signal is input to the shift register 12 in synchronization with the clock ck, shifted to the next stage for each clock ck, and the shift data (D0 to Dn) at the tap is extracted from the output of each shift register stage. The shift data from the output of each shift register stage is input to the operation result storage memory 13 as its address. The operation result storage memory 13 stores the sum of the multiplication results of the input data whose designated address bit position is "1" and the corresponding tap coefficient data, and the operation result is output by the address. To be done. The output of the calculation result is temporarily stored in the output register 14 and is output as a filter output in synchronization with the clock ck.

【0011】[0011]

【発明が解決しようとする課題】しかしながら、上記従
来のFIR型ディジタルフィルタにおいては、タップ係
数のデータの個数分の乗算器を必要とするため、回路規
模が大きくなるという問題があった。また、メモリー型
のディジタルフィルタにあっては、パラレル入力データ
でメモリーのアドレス指定を行うため、メモリーのアド
レスが増えて、記憶容量が大きいメモリーが必要である
という問題があった。
However, in the above-mentioned conventional FIR type digital filter, there is a problem that the circuit scale becomes large because the number of multipliers corresponding to the number of tap coefficient data is required. Further, in the memory type digital filter, since the memory address is specified by the parallel input data, there is a problem that the memory address increases and a memory having a large storage capacity is required.

【0012】本発明は、上記の問題に鑑みてなされたも
ので、記憶容量が小さいメモリーを用いて、従来のメモ
リー型のディジタルフィルタと同等の性能を有するディ
ジタルフィルタを提供することを目的とする。
The present invention has been made in view of the above problems, and an object of the present invention is to provide a digital filter having a performance equivalent to that of a conventional memory type digital filter by using a memory having a small storage capacity. .

【0013】[0013]

【課題を解決するための手段】本発明によるディジタル
フィルタは、上記の目的を達成するため、入力したnビ
ットのパラレル入力信号をクロックckに同期して同時
にシフトするn段のシフトレジスタと、シフトレジスタ
各段のnビットからなる出力をクロックckのn倍周波
数の第2のクロックnckによりそれぞれビット毎に選
択し出力するセレクタと、シフトレジスタ各段の出力に
対しそれに対応するタップ係数データを乗算した乗算結
果を記憶しn個のセレクタから出力されたn個のビット
により構成されたアドレスにより乗算結果を読みだすよ
うにした演算結果記憶メモリーと、演算結果記憶メモリ
ーから読みだされた乗算結果を第2のクロックnckに
よりシフトしつつ蓄積するレジスタ部と、レジスタ部に
蓄積された演算結果記憶メモリーからの乗算結果を全加
算する全加算器と、該全加算器の出力をクロックckに
より出力する出力レジスタとからなり、演算結果記憶メ
モリーに対するアドレスのビットを選択的に減少したこ
とを特徴とするものである。
In order to achieve the above object, a digital filter according to the present invention includes an n-stage shift register for simultaneously shifting an input n-bit parallel input signal in synchronization with a clock ck, and a shift register. A selector that selects and outputs the output consisting of n bits of each stage of the register for each bit by the second clock nck having an n-times frequency of the clock ck, and the output of each stage of the shift register is multiplied by the corresponding tap coefficient data. The multiplication result read out from the calculation result storage memory and the calculation result storage memory for storing the multiplication result and reading out the multiplication result by the address composed of n bits output from the n selectors The register unit that accumulates while shifting by the second clock nck and the operation result accumulated in the register unit. A full adder for fully adding the multiplication results from the storage memory and an output register for outputting the output of the full adder in response to a clock ck. It is what

【0014】また、本発明によるディジタルフィルタ
は、上記の目的を達成するため、セレクタによりシフト
レジスタ各段の出力ビットを最下位ビットから最上位ビ
ットまで順に選択し出力してアドレスとし、レジスタ部
により最下位ビットでアドレスされた演算結果記憶メモ
リーからの乗算結果を最下位桁に入力し最上位ビットで
アドレスされた演算結果記憶メモリーからの乗算結果ま
で順次入力しシフトしつつ蓄積するようにしたことを特
徴とするものである。
Further, in order to achieve the above-mentioned object, the digital filter according to the present invention selects the output bits of each stage of the shift register from the least significant bit to the most significant bit in order by the selector and outputs it as the address, and the register section The multiplication result from the operation result storage memory addressed by the least significant bit is input to the least significant digit, and the multiplication result from the operation result storage memory addressed by the most significant bit is sequentially input and stored while shifting. It is characterized by.

【0015】本発明によるディジタルフィルタは、シフ
トクロックckのn倍の第2のクロックnckによりシ
フトレジスタ各段の出力ビットをそれぞれ選択して出力
するセレクタを設け、各セレクタの出力ビットで構成さ
れたアドレスにより演算結果記憶メモリーから読みださ
れた演算結果データをレジスタ部に入力し、レジスタ部
でシフトしながらシフトレジスタの全出力ビットに対応
する数の演算結果データをレジスタ部に蓄積し、その蓄
積データを全加算して得られたフィルタ出力を出力する
ようにしたことにより、従来のメモリー型のディジタル
フィルタにおけるパラレル入力信号の処理と等価の演算
結果が得られるにも拘らず、必要とするメモリーの記憶
容量を従来のメモリーの1/nに減縮することができ、
それによって、LSI化にも適するディジタルフィルタ
を提供することができる。
The digital filter according to the present invention is provided with a selector for selecting and outputting the output bit of each stage of the shift register by the second clock nck which is n times the shift clock ck, and is constituted by the output bit of each selector. The operation result data read from the operation result storage memory by address is input to the register section, and while the register section shifts, the operation result data of the number corresponding to all the output bits of the shift register is accumulated in the register section, and the accumulation By outputting the filter output obtained by fully adding the data, the required memory can be obtained although the calculation result equivalent to the processing of the parallel input signal in the conventional memory type digital filter can be obtained. The storage capacity of can be reduced to 1 / n of the conventional memory,
Accordingly, it is possible to provide a digital filter suitable for LSI implementation.

【0016】[0016]

【発明の実施の形態】以下、添付図面、図1に基づき本
発明の一実施例を詳細に説明する。図1は本発明の一実
施の形態におけるメモリー型のディジタルフィルタの構
成を示す構成図である。図1において、1はディジタル
のパラレル入力信号を構成するn個のビットをクロック
ckによりパラレルに初段シフトレジスタ1に入力し、
その後1段宛シフトして各段の出力(タップを形成す
る)からパラレル入力信号のシフトデータ(D0〜D
n)を出力するn段(複数)からなるシフトレジスタで
ある。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail below with reference to the accompanying drawings and FIG. FIG. 1 is a configuration diagram showing a configuration of a memory type digital filter according to an embodiment of the present invention. In FIG. 1, reference numeral 1 is a parallel input of n bits forming a digital parallel input signal to a first stage shift register 1 by a clock ck.
After that, the shift data for one stage is shifted to the shift data (D0 to D) of the parallel input signal from the output of each stage (forming a tap).
It is a shift register consisting of n stages (plural) outputting n).

【0017】また、ckはシフトレジスタ1に対するパ
ラレル入力信号の入力とシフトレジスタ1のシフトと出
力レジスタ6からのフィルタ出力の出力とを同期するク
ロック、nckはクロックckのn倍の周波数を有し、
セレクタ2によるシフトデータ(D0〜Dn)の各ビッ
トの選択と演算結果記憶メモリー3からの演算結果デー
タの入力及びシフトとを同期する第2のクロック、2は
各シフトレジスタ段において、各シフトデータnビット
をLSB(最下位)ビットからMSB(最上位)ビット
まで1ビット宛選択して出力するセレクタである。
Further, ck is a clock for synchronizing the input of the parallel input signal to the shift register 1, the shift of the shift register 1 and the output of the filter output from the output register 6, and nck has a frequency n times that of the clock ck. ,
The second clock 2 for synchronizing the selection of each bit of the shift data (D0 to Dn) by the selector 2 and the input and shift of the operation result data from the operation result storage memory 3, 2 is each shift data in each shift register stage It is a selector that selects and outputs n bits from LSB (least significant) bit to MSB (most significant) bit.

【0018】また、3はシフトレジスタ1各段の出力
(各タップ)から出力されるビット組み合わせ可能な全
てのシフトデータに対し、それぞれタップ係数データを
乗算した演算結果が記憶され、全シフトレジスタ段から
選択された各ビット出力によりアドレスされる演算結果
記憶メモリーである。そのアドレス指定及び読出し方法
は、第2のクロックnckにより、まず、全シフトデー
タ(D0〜Dn)のLSBビットの集合によりアドレス
が形成され、そのアドレスにより記憶されているシフト
レジスタ初段(LSB)のシフトデータに対応するタッ
プ係数データとの乗算結果が読みだされ、その後、順次
シフトデータの各ビットによりMSBに向けてアドレス
を形成し、各シフトレジスタ段に対応するタップ係数デ
ータとの乗算結果が読みだされ、n個の第2のクロック
nck(1クロックck期間)により全シフトレジスタ
段の出力に対するタップ係数データの乗算結果が出力さ
れる。
Reference numeral 3 stores the operation result obtained by multiplying all shift data capable of bit combination output from the output (each tap) of each stage of the shift register 1 by tap coefficient data. It is an operation result storage memory addressed by each bit output selected from. The addressing and reading method is as follows. First, an address is formed by a set of LSB bits of all shift data (D0 to Dn) by the second clock nck, and the first stage (LSB) of the shift register stored by the address is formed. The multiplication result with the tap coefficient data corresponding to the shift data is read, and thereafter, the address is formed toward the MSB by each bit of the shift data in sequence, and the multiplication result with the tap coefficient data corresponding to each shift register stage is obtained. The multiplication result of the tap coefficient data with respect to the outputs of all the shift register stages is output by the read out n clocks nck (1 clock ck period).

【0019】また、4は演算結果記憶メモリー3から読
みだされた各シフトレジスタ段の出力に対しその段に対
応するタップ係数データを乗算した乗算結果を第2のク
ロックnckにより順次読出し、シフトレジスタ全段に
対するタップ係数データの乗算結果を形成するレジスタ
部、5はシフトレジスタ1の全段に対する乗算結果がレ
ジスタ部4に形成された時にその各段の乗算結果を総和
する全加算器、6は全加算器5から出力された加算結果
を一時記憶し、クロックckタイムでそれをフィルタ出
力として出力する出力レジスタである。
Reference numeral 4 indicates the output of each shift register stage read from the operation result storage memory 3 multiplied by the tap coefficient data corresponding to the stage, and the multiplication result is sequentially read by the second clock nck. A register unit 5 for forming a multiplication result of tap coefficient data for all stages, a full adder 5 for summing the multiplication results of each stage when the multiplication results for all stages of the shift register 1 are formed in the register unit 6, and 6 It is an output register that temporarily stores the addition result output from the full adder 5 and outputs it as a filter output at the clock ck time.

【0020】次に、図1を参照して、本実施の形態にお
けるディジタルフィルタの動作について詳細に説明す
る。まず、nビットパラレルのパラレル入力信号がクロ
ックckに同期してシフトレジスタ1の初段に入力さ
れ、同時に、各クロックckごとにシフトレジスタ1の
各段の出力(シフトデータ)が順に次段にシフトされ
る。シフトレジスタ1の各段のnビット出力はそれぞれ
各段のセレクタ2にパラレルに入力される。各セレクタ
2において、nビット出力はLSBビットから順にクロ
ックckのn倍の第2のクロックnckにより選択され
て演算結果記憶メモリー3に出力される。
Next, the operation of the digital filter in this embodiment will be described in detail with reference to FIG. First, an n-bit parallel parallel input signal is input to the first stage of the shift register 1 in synchronization with the clock ck, and at the same time, the output (shift data) of each stage of the shift register 1 is sequentially shifted to the next stage for each clock ck. To be done. The n-bit output of each stage of the shift register 1 is input in parallel to the selector 2 of each stage. In each selector 2, the n-bit output is sequentially selected from the LSB bit by the second clock nck which is n times the clock ck and is output to the operation result storage memory 3.

【0021】演算結果記憶メモリー3はシフトレジスタ
1の各段の出力のLSBビットからなるnビットアドレ
スによりアドレスされて、シフトレジスタ1の初段に対
応する乗算結果を出力する。このアドレス指定及び読出
しは第2のクロックnckによりシフトデータのMSB
ビットまで順に行われる。演算結果記憶メモリー3の出
力はレジスタ部4のLSBビットレジスタから順に入力
され、0、1、2、・・・・、n−1とMSBビットレ
ジスタまでシフトされる。
The operation result storage memory 3 is addressed by an n-bit address consisting of LSB bits of the output of each stage of the shift register 1 and outputs the multiplication result corresponding to the first stage of the shift register 1. This addressing and reading is performed with the MSB of the shift data by the second clock nck.
Bits are processed in order. The output of the operation result storage memory 3 is sequentially input from the LSB bit register of the register unit 4, and is shifted to 0, 1, 2, ..., N-1 and the MSB bit register.

【0022】レジスタ部4に蓄積されたn個のデータは
全て全加算器5に入力され全加算されて出力レジスタ6
に出力される。出力レジスタ6は全加算器5からの加算
結果をクロックckに同期しフィルタ出力として出力す
る。
All n pieces of data stored in the register unit 4 are input to the full adder 5 and are fully added to the output register 6
Is output to The output register 6 outputs the addition result from the full adder 5 as a filter output in synchronization with the clock ck.

【0023】[0023]

【発明の効果】本発明によるディジタルフィルタは、以
上説明したように構成し、特に、シフトクロックckの
n倍の第2のクロックnckによりシフトレジスタ各段
の出力ビットを選択して出力するセレクタを設け、各セ
レクタの出力ビットで構成されたアドレスにより演算結
果記憶メモリーから読みだされた演算結果データをレジ
スタ部に入力し、シフトしながらシフトレジスタの全出
力ビットに対応する演算結果データをレジスタ部に蓄積
し、その蓄積データを全加算して得られたフィルタ出力
を出力するようにしたことによって、従来のメモリー型
のディジタルフィルタにおけるパラレル入力信号の処理
と等価の演算結果が得られる上、必要とするメモリーの
記憶容量を従来の演算結果記憶メモリーの1/nに減縮
することができる。それにより、更に、LSI化にも適
するディジタルフィルタを提供することができる。
The digital filter according to the present invention is configured as described above, and in particular, it has a selector for selecting and outputting the output bit of each stage of the shift register by the second clock nck which is n times the shift clock ck. The operation result data read from the operation result storage memory is input to the register section by the address composed of the output bits of each selector, and the operation result data corresponding to all the output bits of the shift register is shifted while shifting. The output of the filter is obtained by summing the accumulated data and adding the accumulated data, so that it is possible to obtain an operation result equivalent to the processing of the parallel input signal in the conventional memory type digital filter. The storage capacity of the memory can be reduced to 1 / n of the conventional calculation result storage memory. Accordingly, it is possible to provide a digital filter that is also suitable for LSI.

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

【図1】本発明の一実施の形態におけるメモリー型のデ
ィジタルフィルタの構成を示す構成図
FIG. 1 is a configuration diagram showing a configuration of a memory type digital filter according to an embodiment of the present invention.

【図2】ビットパラレルに入力信号を入力し処理し出力
する従来のFIR型ディジタルフィルタの構成を示す構
成図
FIG. 2 is a configuration diagram showing a configuration of a conventional FIR digital filter that inputs an input signal in bit parallel, processes it, and outputs it.

【図3】入力信号とタップ係数データとの動作関係を示
すタイミング図
FIG. 3 is a timing diagram showing an operation relationship between an input signal and tap coefficient data.

【図4】ビットパラレルに入力信号を入力しメモリーか
ら演算結果を読みだして出力する従来のメモリー型のデ
ィジタルフィルタの構成を示す構成図
FIG. 4 is a configuration diagram showing a configuration of a conventional memory-type digital filter that inputs an input signal in bit parallel, reads an operation result from a memory, and outputs the operation result.

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

1、7、12 シフトレジスタ 2 セレクタ 3、13 演算結果記憶メモリー 4 レジスタ部 5、10 全加算器 6、11、14 出力レジスタ ck、nck クロック D0〜Dn 入力データ C0〜Cn タップ係数データ X0〜Xn 乗算結果データ Y0 フィルタ出力 1, 7, 12 Shift register 2 Selector 3, 13 Operation result storage memory 4 Register section 5, 10 Full adder 6, 11, 14 Output register ck, nck Clock D0-Dn Input data C0-Cn Tap coefficient data X0-Xn Multiplication result data Y0 filter output

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】入力したnビットのパラレル入力信号をク
ロックckに同期して同時にシフトするn段のシフトレ
ジスタと、前記シフトレジスタ各段のnビットからなる
出力を前記クロックckのn倍周波数の第2のクロック
nckによりそれぞれビット毎に選択し出力するセレク
タと、シフトレジスタ各段の出力に対しそれに対応する
タップ係数データを乗算した乗算結果を記憶しn個の前
記セレクタから出力されたn個のビットにより構成され
たアドレスにより前記乗算結果を読みだすようにした演
算結果記憶メモリーと、前記演算結果記憶メモリーから
読みだされた乗算結果を前記第2のクロックnckによ
りシフトしつつ蓄積するレジスタ部と、前記レジスタ部
に蓄積された前記演算結果記憶メモリーからの乗算結果
を全加算する全加算器と、該全加算器の出力を前記クロ
ックckにより出力する出力レジスタとからなり、前記
演算結果記憶メモリーに対するアドレスのビットを選択
的に減少したことを特徴とするディジタルフィルタ。
1. An n-stage shift register for simultaneously shifting an input n-bit parallel input signal in synchronization with a clock ck, and an output consisting of n bits in each stage of the shift register having an n-times frequency of the clock ck. A selector which selects and outputs each bit by the second clock nck and a multiplication result obtained by multiplying the output of each stage of the shift register by the tap coefficient data corresponding to the selector, and n selectors output from the n selectors are stored. Operation result memory for reading out the multiplication result by the address constituted by the bit, and a register section for accumulating the multiplication result read out from the operation result memory while shifting by the second clock nck. And a total addition for fully adding the multiplication results from the operation result storage memory accumulated in the register unit. Vessels and makes the output of 該全 adder and an output register for outputting by the clock ck, a digital filter, characterized in that reduced the bits of address for the calculation result storage memory selectively.
【請求項2】前記セレクタは前記シフトレジスタ各段の
出力ビットを最下位ビットから最上位ビットまで順に選
択し出力してアドレスとし、前記レジスタ部は前記最下
位ビットでアドレスされた前記演算結果記憶メモリーか
らの乗算結果を最下位桁に入力し前記最上位ビットでア
ドレスされた前記演算結果記憶メモリーからの乗算結果
まで順次入力しシフトしつつ蓄積するようにしたことを
特徴とする請求項1記載のディジタルフィルタ。
2. The selector sequentially selects and outputs the output bits of each stage of the shift register from the least significant bit to the most significant bit, and outputs the address as an address, and the register unit stores the operation result memory addressed by the least significant bit. 2. The multiplication result from the memory is input to the least significant digit, the multiplication result from the operation result storage memory addressed by the most significant bit is sequentially input, and accumulated while shifting. Digital filter.
JP7274994A 1995-09-29 1995-09-29 Digital filter Pending JPH0998068A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7274994A JPH0998068A (en) 1995-09-29 1995-09-29 Digital filter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7274994A JPH0998068A (en) 1995-09-29 1995-09-29 Digital filter

Publications (1)

Publication Number Publication Date
JPH0998068A true JPH0998068A (en) 1997-04-08

Family

ID=17549426

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7274994A Pending JPH0998068A (en) 1995-09-29 1995-09-29 Digital filter

Country Status (1)

Country Link
JP (1) JPH0998068A (en)

Similar Documents

Publication Publication Date Title
US5500811A (en) Finite impulse response filter
US4715257A (en) Waveform generating device for electronic musical instruments
JPS60140463A (en) Integrated data processing device
JPS60219675A (en) Time axis converting circuit
US4958311A (en) Composite finite impulse response digital filter
WO1999006922A1 (en) Digital matched filter
US4322810A (en) Digital filters with reduced multiplier circuitry
JPH0998069A (en) FIR digital filter
US5400271A (en) Apparatus for and method of calculating sum of products
US5781462A (en) Multiplier circuitry with improved storage and transfer of booth control coefficients
JPH0998068A (en) Digital filter
JPH0767063B2 (en) Digital signal processing circuit
KR100235537B1 (en) Variable tap of digital filter and multiplier circuit thereof
JP3097599B2 (en) Digital filter
JP3243831B2 (en) FIR type filter
JP2001177378A (en) FIR digital filter
JPS6361706B2 (en)
JP3503141B2 (en) Digital processing unit
JP2864598B2 (en) Digital arithmetic circuit
KR19990056053A (en) Finite field impulse response filter and its filtering method
JP3851024B2 (en) Multiplier
JPH0741213Y2 (en) FIR filter
JP3261729B2 (en) Linear interpolation method and its circuit
JPH0795671B2 (en) Digital Filter
JP3555551B2 (en) Multi-pilot tone detection method and matched filter