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
JPH0113764B2 - - Google Patents
[go: Go Back, main page]

JPH0113764B2 - - Google Patents

Info

Publication number
JPH0113764B2
JPH0113764B2 JP57112385A JP11238582A JPH0113764B2 JP H0113764 B2 JPH0113764 B2 JP H0113764B2 JP 57112385 A JP57112385 A JP 57112385A JP 11238582 A JP11238582 A JP 11238582A JP H0113764 B2 JPH0113764 B2 JP H0113764B2
Authority
JP
Japan
Prior art keywords
address
ram
filter
pointer
data
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
JP57112385A
Other languages
Japanese (ja)
Other versions
JPS594218A (en
Inventor
Toshi Ikezawa
Toshihiko Matsumura
Kunihiko Kawahara
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP11238582A priority Critical patent/JPS594218A/en
Publication of JPS594218A publication Critical patent/JPS594218A/en
Publication of JPH0113764B2 publication Critical patent/JPH0113764B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03HIMPEDANCE NETWORKS, e.g. RESONANT CIRCUITS; RESONATORS
    • H03H17/00Networks using digital techniques
    • H03H17/02Frequency selective networks

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Mathematical Physics (AREA)
  • Complex Calculations (AREA)

Description

【発明の詳細な説明】[Detailed description of the invention]

発明の技術分野 本発明は、デイジタルフイルタにおいて入力デ
ータおよび演算結果をメモリに蓄積してフイルタ
の演算を実行する際に、フイルタの演算を効率よ
く行なうことができる、デイジタルフイルタに関
するものである。 従来技術と問題点 デイジタルフイルタにおいては、入力データお
よび演算結果をサンプリング時間ずつ順次遅延さ
せた信号に、それぞれ一定の係数を乗算して得ら
れた結果を加算することによつて所要の出力を得
る。第1図はデイジタルフイルタの一例として2
次巡回形デイジタルフイルタの構成を示したもの
である。同図において、Z-1はサンプリング時間
の遅延要素、xoは現サンプル入力、xo1は1サ
ンプル前の入力、xo2は2サンプル前の入力、
yoは現サンプルに対するフイルタ出力、yo1
1サンプル前のフイルタ出力、yo2は2サンプ
ル前のフイルタ出力、a,b,c,e,fは係数
であつて、このような構成によつて、次式に示す
伝達関数を実現できるものである。 yo=a+bZ-1+cZ-2/1+eZ-1+fZ-2xo 第1図に示すごときデイジタルフイルタにおい
て、従来、遅延要素Z-1は例えばシフトレジスタ
等によつて構成され、そのためハードウエア量の
増大を避けることができなかつた。そのため遅延
要素としてレジスタ等を使用せず、読み出し書き
込みメモリ(以下RAMと略す)を用いてフイル
タ演算を行なうことが考えられている。 第2図は従来のRAMを使用してフイルタ演算
を行なう演算回路の構成を示している。同図にお
いて、1は係数を記憶する読み出し専用メモリ
(以下ROMと略す)、2はROM1におけるアド
レスを指定する係数用アドレス指定回路、3は入
力データおよび演算結果のデータを記憶する
RAM、4はRAM3におけるアドレスを指定す
るアドレス指定回路、5は演算器であつて、演算
器5において、RAM3に記憶されているデータ
とROM1に記憶されている係数との乗算を行な
つて演算結果をRMA3に記憶するとともに、演
算結果のデータを用いて加算、乗算等の演算を行
なうことによつて、フイルタ演算が行なわれる。 第2図の演算回路によつて、例えば第1図に示
されたデイジタルフイルタの演算を行なう場合の
計算手順は、次表によつて示されるごときのもの
である。
TECHNICAL FIELD OF THE INVENTION The present invention relates to a digital filter that can efficiently perform filter operations when input data and operation results are stored in a memory and the filter operations are executed. Prior Art and Problems In a digital filter, the required output is obtained by multiplying input data and operation results by sequentially delayed signals by a certain sampling time, and adding the obtained results. . Figure 1 shows two examples of digital filters.
This figure shows the configuration of the following cyclic digital filter. In the figure, Z -1 is the sampling time delay element, x o is the current sample input, x o - 1 is the input one sample before, x o - 2 is the input two samples before,
y o is the filter output for the current sample, y o - 1 is the filter output from one sample before, y o - 2 is the filter output from two samples before, and a, b, c, e, f are coefficients. With this configuration, the transfer function shown in the following equation can be realized. y o =a+bZ -1 +cZ -2 /1+eZ -1 +fZ -2 x oIn the digital filter shown in Fig. 1, the delay element Z -1 has conventionally been constructed of, for example, a shift register, and therefore the amount of hardware has been reduced. It was impossible to avoid an increase in Therefore, it has been considered to perform filter operations using a read/write memory (hereinafter abbreviated as RAM) without using a register or the like as a delay element. FIG. 2 shows the configuration of an arithmetic circuit that performs filter operations using a conventional RAM. In the figure, 1 is a read-only memory (hereinafter abbreviated as ROM) that stores coefficients, 2 is a coefficient addressing circuit that specifies addresses in ROM 1, and 3 is a memory that stores input data and calculation result data.
RAM, 4 is an address designation circuit that specifies an address in RAM 3, 5 is an arithmetic unit, and in the arithmetic unit 5, the data stored in RAM 3 is multiplied by the coefficient stored in ROM 1 to perform calculations. Filter operations are performed by storing the results in the RMA 3 and performing operations such as addition and multiplication using the data of the operation results. The calculation procedure when the arithmetic circuit of FIG. 2 performs the calculation of the digital filter shown in FIG. 1, for example, is as shown in the following table.

【表】 第1表に示すように、計算手順は〜に示さ
れる5回の乗算を含む演算と、〜に示される
入力データおよび演算結果を次のサンプリング周
期のフイルタ演算のためにRAM上の1サンプル
前の番地に書き替える4回の書き換え操作とから
なつている。このうち5回の乗算を含む演算は、
フイルタ演算のため不可欠なものであるが、4回
のRAM書き替え操作は、演算実行ステツプ数を
多くしフイルタの演算速度を低下させる原因とな
つている。 第3図は、第1表に示された計算手順における
RAMのデータ書き替えを示すメモリマツプであ
る。同図においてaはフイルタ演算開始時、bは
演算終了時、cは次の演算開始時を示し、第1表
における〜の手順に対応して4回のRAM書
き替えが行なわれることが示されている。 なおここで、フイルタの演算を行なう前に通常
は入力xoをRAM3上の(N+4)番地にもつて
きておくが、RAM3を介さずに演算器5に直接
入力xoを入れてフイルタの演算を行ない、演算終
了後、RAM3の(N+3)番地に記憶させても
よい。 発明の目的 本発明は、このような従来技術の問題点を解決
しようとするものであつて、その目的は、入力デ
ータおよび、演算結果のデータをRAMに記憶
し、記憶されたデータを用いてフイルタ演算を行
なうデイジタルフイルタ演算回路において、
RAMにおける記憶内容の書き替え操作の回数を
減少させて、フイルタ演算の速度を向上させるこ
とができる回路形式を提供することにある。 発明の実施例 第2表は本発明の原理を示すフイルタ演算の計
算手順である。
[Table] As shown in Table 1, the calculation procedure consists of the operations including the five multiplications shown in ~, and the input data and operation results shown in ~ stored in RAM for filter operation in the next sampling period. It consists of four rewriting operations to rewrite to the address one sample earlier. The operation that includes 5 multiplications is
Although it is essential for filter calculation, four RAM rewriting operations increase the number of calculation execution steps and cause a decrease in filter calculation speed. Figure 3 shows the calculation procedure shown in Table 1.
This is a memory map showing RAM data rewriting. In the figure, a indicates the start of filter operation, b indicates the end of the operation, and c indicates the start of the next operation, indicating that RAM is rewritten four times in accordance with the steps of ~ in Table 1. ing. Note that before performing the filter operation, the input x o is normally brought to address (N+4) on the RAM 3, but the input x o is directly input to the arithmetic unit 5 without going through the RAM 3 to perform the filter operation. After the calculation is completed, the data may be stored at address (N+3) in the RAM 3. Purpose of the Invention The present invention aims to solve the problems of the prior art, and its purpose is to store input data and calculation result data in a RAM, and use the stored data. In the digital filter calculation circuit that performs filter calculation,
It is an object of the present invention to provide a circuit format capable of reducing the number of rewriting operations of memory contents in RAM and improving the speed of filter calculation. Embodiments of the Invention Table 2 is a calculation procedure for a filter operation showing the principle of the invention.

【表】 また第4図は第2表に示された計算手順におけ
るRAMのデータ書き替えを示すメモリマツプで
ある。同図においてaは計算開始時、bは計算終
了時、cは次の計算開始時を示している。 すなわち、最初の演算においては、yo2(N番
地)、yo1(N+1番地)、xo2(N+2番地)、
xo1(N+3番地)およびxoの各データの組み合
わせによつて演算を行ない(第4図a)、演算終
了時、フイルタ出力すなわちyoをデータxo2
位置(N+2番地)に記憶させるとともに、入力
データxoをデータxo1の1番地上の番地(N+
4番地)に記憶させておく(第4図b)。 次のサンプルxo+1が入力して、2回目のフイル
タの演算を行なう際は、yo1(N+1番地)、yo
(N+2番地)、xo1(N+3番地)、xo(N+4番
地)およびxo+1の各データの組み合わせによつて
演算を行なう(第4図c)。すなわち、前回の演
算に用いたデータの組み合わせに対して、アドレ
スが1番地増えたデータの組み合わせによつてフ
イルタの演算が行なわれる。2回目の演算におい
ても演算終了時、フイルタ出力yo+1をデータ
xo1(N+3番地)の位置に記憶させるととも
に、入力データxo+1をデータxoの1番地上の番地
(N+5番地)に記憶させて、次の演算に備える。 第2表に示された本発明の計算手順と、第1表
に示された従来の計算手順とを比較すると、メモ
リにおける記憶操作が従来の4回に対して本発明
では2回に減少し、従つてフイルタ演算速度は明
らかに向上する。 第5図は上述の原理に基づいて構成された、本
発明のデイジタルフイルタの一実施例を示してい
る。同図において11はアドレス指定部であつ
て、プログラムあるいはカウンタ等によつて例え
ば2進数a0〜a6によつて、図示されないRAMの
アドレスを指定する。12はポインタであつて例
えば2進数p0〜p2を計数するカウンタまたは加算
器を具えたレジスタからなり、フイルタ演算が行
なわれるごとに演算の最後でインクレメントさ
れ、フルカウントしたとき0に戻るように構成さ
れている。13はANDゲートであつて、アドレ
ス指定信号を加えられたとき開いて、ポインタ1
2の計数値の信号を出力する。14-1はハーフア
ダーHA、14-2,14-3はフルアダーFAであつ
て、アドレス指定部11の下位のビツトa0〜a2
ポインタ12の出力p0〜p2とを加算する。アダー
14-1〜14-3の出力とアドレス指定部11の上
位のビツトa3〜a6とは、実行アドレスとして
RAMに対して出力される。この際最上位のアダ
ー14-3のキヤリーは無視されている。従つてア
ドレスシフト指定が行なわれたとき、アドレス指
定部11におけるアドレスa0〜a6のうち、下位の
a0〜a2にポインタ12の出力が加算されて、下位
3ビツトのみが順次1ずつ増加して再び初めに戻
るアドレス指定が行なわれる。なおRAMは通常
フイルタ演算以外の目的にも用いられるものであ
り、ANDゲート13はこのような場合とフイル
タ演算の場合とで、アドレスシフトを行なうか否
かの制御を行なうために設けられている。 第6図は第5図に示されたデイジタルフイルタ
におけるRAMのアドレス指定を説明している。
同図においてAは指定されるアドレス範囲を示
し、上位のビツトa3〜a6は固定であるが下位3ビ
ツトが000〜111の範囲で変化することが示されて
いる。 第7図は、第5図に示されたデイジタルフイル
タにおいてRAMのアドレス指定を行なつて、フ
イルタの演算を行なう場合のRAMの内容を説明
している。同図において、1〜8はそれぞれ第1
回目〜第8回目の演算におけるRAMのデータを
示し、第6図におけるAの範囲のみが示されてい
る。 第1回目の演算時、ポインタの値Pを0とす
る。このときアドレス指定として0番地〜4番地
を指定すると、実行されるアドレスはyo2(0番
地)、yo1(1番地)、xo2(2番地)、xo1(3
番地)、xo(4番地)となり、この組み合わせによ
つてフイルタ演算が行なわれる。演算終了時、デ
ータxoを4番地に記憶し、データyoを2番地に記
憶する。またこれにあわせてポインタの値Pに1
を加えておく。 第2回目の演算時、アドレス指定として第1回
目と同じ番地を指定しておくと、実行される
RAMアドレスはポインタの値がPが加えられる
ので、yo1(1番地)、yo(2番地)、xo1(3番
地)、xo(4番地)、xo+1(5番地)となりこの組み
合わせによつてフイルタ演算が行なわれる。演算
終了時データxo+1を5番地に記憶し、データyo+1
を3番地に記憶し、ポインタの値Pに1を加え
る。 以下同様にして第3回目〜第8回目の演算を行
ない、1回演算するごとにポインタの値Pに1を
加算すると、次の回の演算を実行アドレスがすべ
て前回のアドレスに1を加えた値になるので、フ
イルタ演算に使用するデータは1ビツトシフトし
た値が用いられることになり、従つてデータを
RAM上でシフトしなくてもフイルタ演算を正し
く行なうことができる。また第7図から明らかな
ように、アドレスが順次シフトしていつて、
RAMの使用範囲の限界に達するともとに戻つて
再び最も若い番地から順次循環する。これは第5
図に示された回路構成においてポインタ12が一
定数の計数を繰り返すことによつて上位のアドレ
スに影響を及ぼさないようにしているからであ
り、これによつてRAMの領域を必要以上に広く
要しないようにしている。 第5図に示されたデイジタルフイルタでは、2
次セクシヨンフイルタ1段の計算を行なうと、8
回の演算を行なうごとに実行アドレスはもとの状
態に戻る。フイルタの段数が増加した場合、アド
レスがシフトしてゆく範囲を広くする必要があ
り、そのためにはポインタのビツト数をさらに増
加し、アドレス指定部の出力とポインタの出力と
を加算する加算回路の桁数も増加する必要があ
る。 また複数個の段数の異なるフイルタについての
計算を行なう場合には、アドレスをシフトする範
囲も可変にすることが効果的である。第8図は本
発明のメモリアクセス回路の他の実施例を示し、
シフト領域を可変にした場合の構成を示してい
る。同図において第5図におけると同じ部分は同
じ番号で示されており、12Aはポインタ、13
AはANDゲート、14-4はフルアダー、15,
16はANDゲートである。 第8図において、ポインタ12Aは2進数p0
p3を計算するカウンタまたは加算器を具えたレジ
スタからなり、ANDゲート13Aはポインタ1
2Aの各ビツトに対応して設けられている。
ANDゲート15はシフト領域指定信号が“0”
のとき閉じてポインタ12Aの最上位ビツトp3
出力を阻止する。またANDゲート15の出力が
“0”のときは、ANDゲート16が閉じて、フル
アダー14-3のキヤリーがフルアダー14-4に入
力されることを阻止する。従つてシフト領域指定
信号が“0”のときは、RAMに対するアドレス
は下位3ビツトだけがポインタ12Aの下位3ビ
ツトp0〜p2に応じてシフトして、第5図の回路と
同じ動作を行なう。 一方、シフト領域指定信号が“1”のときは、
ANDゲート15が開いて、ポインタ12Aの最
上位ビツトp3がフルアダー14-4およびANDゲ
ート16に加えられ、これによつてRAMに対す
るアドレスは下位4ビツトがポインタ12Aのp0
〜p3に応じてシフトする。 第9図は第8図のデイジタルフイルタの場合の
RAMにおけるアドレスシフト領域を示し、Aは
シフト領域指定信号が“0”の場合のアドレスシ
フト領域を示し、Bはシフト領域指定信号が
“1”の場合のアドレスシフト領域であつて、シ
フト領域指定信号を“0”から“1”にすること
によつてアドレスシフト領域が2倍になることが
示されている。 第10図は本発明のメモリアクセス回路を用い
たフイルタ演算回路の構成を示している。同図に
おいて第2図におけると同じ部分は同じ番号で示
されており、4Aはメモリアクセス回路である。
このように従来のフイルタ演算回路において、メ
モリアクセス回路を従来のアドレス指定回路にお
きかえて用いることができ、これによつてフイル
タ演算速度を向上することができる。 発明の効果 以上説明したように本発明のデイジタルフイル
タによれば、入力データおよび演算結果のデータ
をRAMに記憶し、記憶されたデータを用いてフ
イルタ演算を行なうデイジタルフイルタ回路にお
いて、フイルタの演算ごとにRM上でデータを転
送する操作を減少させることができ、フイルタの
演算速度を向上させることができる。
[Table] FIG. 4 is a memory map showing data rewriting of RAM in the calculation procedure shown in Table 2. In the figure, a indicates the start of calculation, b indicates the end of calculation, and c indicates the start of the next calculation. That is, in the first operation, y o - 2 (address N), y o - 1 (address N+1), x o - 2 (address N+2),
Calculation is performed by combining each data of x o - 1 (address N+3) and x o (Figure 4 a), and when the calculation is completed, the filter output, that is, y o is transferred to the position of data x o - 2 (address N+2). At the same time, input data x o is stored at the first address of data x o - 1 (N+
4) (Figure 4b). When the next sample x o+1 is input and the second filter operation is performed, y o - 1 (address N+1), y o
The calculation is performed by combining the data of (address N+2), x o - 1 (address N+3), x o (address N+4), and x o +1 (FIG. 4c). That is, the filter operation is performed using a combination of data whose address is increased by one address with respect to the combination of data used in the previous operation. In the second calculation, the filter output y o+1 is also used as data at the end of the calculation.
The input data x o - 1 (address N+3) is stored, and the input data x o +1 is stored at the address above the data x o (address N+5) in preparation for the next operation. Comparing the calculation procedure of the present invention shown in Table 2 with the conventional calculation procedure shown in Table 1, the number of storage operations in memory is reduced to 2 in the present invention compared to 4 in the conventional method. , so the filter operation speed is obviously improved. FIG. 5 shows an embodiment of the digital filter of the present invention constructed based on the above-described principle. In the figure, reference numeral 11 denotes an address designation unit, which designates an address in a RAM (not shown) using, for example, binary numbers a 0 to a 6 by a program or a counter. Reference numeral 12 is a pointer, which is a register equipped with a counter or an adder for counting binary numbers p 0 to p 2 , and is incremented at the end of each filter operation, and returns to 0 when it is fully counted. It is composed of 13 is an AND gate that opens when an address designation signal is applied to pointer 1.
Outputs a signal with a count value of 2. 14 -1 is a half adder HA, and 14 -2 and 14 -3 are full adders FA, which add the lower bits a 0 to a 2 of the address specifying section 11 and the outputs p 0 to p 2 of the pointer 12. The outputs of adders 14-1 to 14-3 and upper bits a3 to a6 of address specification section 11 are used as execution addresses.
Output to RAM. At this time, the carry of the top adder 14-3 is ignored. Therefore, when the address shift specification is performed, among the addresses a 0 to a 6 in the address specification section 11, the lower
The output of the pointer 12 is added to a0 to a2 , and only the lower three bits are sequentially incremented by 1, and the addressing returns to the beginning again. Note that RAM is normally used for purposes other than filter operations, and the AND gate 13 is provided to control whether or not to perform address shifting in such cases and in filter operations. . FIG. 6 explains RAM addressing in the digital filter shown in FIG.
In the figure, A indicates the specified address range, and it is shown that the upper bits a3 to a6 are fixed, but the lower three bits change in the range of 000 to 111. FIG. 7 explains the contents of the RAM in the digital filter shown in FIG. 5 when addressing the RAM and performing filter operations. In the same figure, 1 to 8 are the first
The data of the RAM in the 8th to 8th calculations are shown, and only the range A in FIG. 6 is shown. During the first calculation, the value P of the pointer is set to 0. At this time, if addresses 0 to 4 are specified as addresses, the addresses to be executed are y o - 2 (address 0), y o - 1 (address 1), x o - 2 (address 2), x o - 1 (3
address), x o (address 4), and a filter operation is performed by this combination. At the end of the calculation, data x o is stored at address 4, and data y o is stored at address 2. Also, in line with this, the pointer value P is 1
Add. During the second calculation, if you specify the same address as the first calculation, it will be executed.
Since P is added to the pointer value for RAM addresses, y o - 1 (address 1), y o (address 2), x o - 1 (address 3), x o (address 4), x o + 1 ( 5), and a filter operation is performed by this combination. At the end of the calculation, data x o+1 is stored in address 5, and data y o+1
is stored at address 3, and 1 is added to the pointer value P. After that, perform the third to eighth operations in the same way, and add 1 to the pointer value P for each operation, so that all execution addresses for the next operation add 1 to the previous address. value, so the data used in the filter operation will be a value shifted by 1 bit, and therefore the data will be
Filter operations can be performed correctly without shifting on RAM. Also, as is clear from Figure 7, the addresses are shifted sequentially,
When the limit of the RAM usage range is reached, the process returns to the beginning and cycles from the smallest address again. This is the fifth
This is because in the circuit configuration shown in the figure, the pointer 12 repeats counting a certain number of times to prevent it from affecting upper addresses, and this makes the RAM area unnecessarily large. I try not to. In the digital filter shown in FIG.
When calculating one stage of the next section filter, 8
The execution address returns to its original state after each operation. When the number of filter stages increases, it is necessary to widen the range in which the address is shifted. To do this, the number of pointer bits is further increased and an adder circuit that adds the output of the address specification section and the output of the pointer is required. The number of digits also needs to increase. Furthermore, when performing calculations on a plurality of filters with different numbers of stages, it is effective to make the range in which addresses are shifted variable. FIG. 8 shows another embodiment of the memory access circuit of the present invention,
This shows a configuration in which the shift area is made variable. In the same figure, the same parts as in FIG. 5 are indicated by the same numbers, 12A is a pointer, 13
A is AND gate, 14 -4 is full adder, 15,
16 is an AND gate. In FIG. 8, pointer 12A points to binary number p 0 ~
It consists of a register with a counter or an adder for calculating p 3 , and the AND gate 13A is connected to the pointer 1
2A is provided corresponding to each bit.
In the AND gate 15, the shift area designation signal is “0”
It closes when , and prevents output of the most significant bit p3 of pointer 12A. Further, when the output of the AND gate 15 is "0", the AND gate 16 closes and prevents the carry of the full adder 14-3 from being input to the full adder 14-4 . Therefore, when the shift area designation signal is "0", only the lower 3 bits of the address for the RAM are shifted according to the lower 3 bits p0 to p2 of the pointer 12A, and the same operation as the circuit shown in FIG. 5 is performed. Let's do it. On the other hand, when the shift area designation signal is “1”,
AND gate 15 is opened and the most significant bit p3 of pointer 12A is added to full adder 14-4 and AND gate 16, so that the address to RAM is such that the least significant four bits are p0 of pointer 12A.
Shift according to ~p 3 . Figure 9 shows the digital filter in Figure 8.
Indicates the address shift area in RAM, A indicates the address shift area when the shift area designation signal is "0", and B indicates the address shift area when the shift area designation signal is "1", and indicates the shift area designation. It is shown that the address shift area is doubled by changing the signal from "0" to "1". FIG. 10 shows the configuration of a filter calculation circuit using the memory access circuit of the present invention. In this figure, the same parts as in FIG. 2 are designated by the same numbers, and 4A is a memory access circuit.
In this way, in the conventional filter operation circuit, the memory access circuit can be used in place of the conventional addressing circuit, thereby improving the filter operation speed. Effects of the Invention As explained above, according to the digital filter of the present invention, in a digital filter circuit that stores input data and operation result data in RAM and performs a filter operation using the stored data, each filter operation is The number of data transfer operations on the RM can be reduced, and the filter operation speed can be improved.

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

第1図は2次巡回形デイジタルフイルタの構成
を示す図、第2図は従来のRAMを使用してフイ
ルタ演算を行なう演算回路の構成を示すブロツク
図、第3図は従来のフイルタ計算手順における
RAMのデータ書き替えの一例を示すメモリマツ
プ、第4図は本発明によるフイルタ計算手順にお
けるRAMのデータ書き替えの一例を示すメモリ
マツプ、第5図は本発明のデイジタルフイルタの
一実施例を示すブロツク図、第6図は第5図のデ
イジタルフイルタにおけるRAMのアドレス指定
を説明する図、第7図は第5図のデイジタルフイ
ルタにおいてRAMのアドレス指定を行なつてフ
イルタ演算を行なう場合のRAMの内容を説明す
る図、第8図は本発明のデイジタルフイルタの他
の実施例の構成を示すブロツク図、第9図は第8
図のデイジタルフイルタの場合のRAMにおける
アドレスシフト領域を示す図、第10図は本発明
のデイジタルフイルタにおけるフイルタ演算回路
の構成を示す図である。 1…係数用読み出し専用メモリROM、2…係
数用アドレス指定回路、3…読み出し書き込みメ
モリRAM、4…アドレス指定回路、4A…メモ
リアクセス回路、5…演算器、11…アドレス指
定部、12,12A…ポインタ、13,13A…
ANDゲート、14-1…ハーフアダーHA、14
-2,14-3,14-4…フルアダーFA、15,1
6…ANDゲート。
Figure 1 is a diagram showing the configuration of a secondary cyclic digital filter, Figure 2 is a block diagram showing the configuration of an arithmetic circuit that performs filter calculations using conventional RAM, and Figure 3 is a diagram showing the configuration of a conventional filter calculation procedure.
FIG. 4 is a memory map showing an example of data rewriting of RAM in the filter calculation procedure according to the present invention. FIG. 5 is a block diagram showing an example of the digital filter of the present invention. , FIG. 6 is a diagram explaining the RAM address specification in the digital filter of FIG. FIG. 8 is a block diagram showing the configuration of another embodiment of the digital filter of the present invention, and FIG.
FIG. 10 is a diagram showing the address shift area in the RAM in the case of the digital filter shown in the figure, and FIG. 10 is a diagram showing the configuration of the filter operation circuit in the digital filter of the present invention. DESCRIPTION OF SYMBOLS 1... Read-only memory ROM for coefficients, 2... Address specification circuit for coefficients, 3... Read/write memory RAM, 4... Address specification circuit, 4A... Memory access circuit, 5... Arithmetic unit, 11... Address specification section, 12, 12A ...Pointer, 13, 13A...
AND gate, 14 -1 ...half adder HA, 14
-2 ,14 -3 ,14 -4 ...Full adder FA, 15,1
6...AND gate.

Claims (1)

【特許請求の範囲】 1 アドレス指定に応じて入力データおよび演算
結果のデータを書き込み読み出すRAMと、アド
レス指定に応じてフイルタの係数を読み出す
ROMと、該RAMから読み出されたデータと
ROMから読み出されたデータとの演算を行つて
前記RAMに書き込む演算器とを備えたデイジタ
ルフイルタにおいて、 サンプリングごとにインクレメントして一定数
を繰り返し計数するポインタと、 該ポインタの値をフイルタの構成によつて定ま
るアドレスに加算する加算手段とを設け、 該加算手段の出力をアドレスとして前記RAM
にアクセスしてフイルタ演算のためのデータを読
み出すことを特徴とするデイジタルフイルタ。 2 前記ポインタの計数範囲が外部信号によつて
変化し得ることを特徴とする特許請求の範囲第1
項記載のデイジタルフイルタ。
[Claims] 1. A RAM that writes and reads input data and operation result data in accordance with address specification, and reads out filter coefficients in accordance with address specification.
ROM and data read from the RAM
A digital filter is equipped with an arithmetic unit that performs an arithmetic operation on data read from a ROM and writes the result to the RAM, and the digital filter includes a pointer that is incremented every sampling and repeatedly counts a fixed number, and a pointer that repeatedly counts a certain number by incrementing it every sampling, and a pointer that repeatedly counts a fixed number by incrementing it every sampling, and a pointer that repeatedly counts a fixed number by incrementing it every sampling, and an addition means for adding to an address determined by the configuration, and the output of the addition means is used as an address to add to the RAM.
A digital filter characterized in that data for filter calculation is read by accessing. 2. Claim 1, characterized in that the counting range of the pointer can be changed by an external signal.
The digital filter described in section.
JP11238582A 1982-06-29 1982-06-29 Memory access circuit Granted JPS594218A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11238582A JPS594218A (en) 1982-06-29 1982-06-29 Memory access circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11238582A JPS594218A (en) 1982-06-29 1982-06-29 Memory access circuit

Publications (2)

Publication Number Publication Date
JPS594218A JPS594218A (en) 1984-01-11
JPH0113764B2 true JPH0113764B2 (en) 1989-03-08

Family

ID=14585347

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11238582A Granted JPS594218A (en) 1982-06-29 1982-06-29 Memory access circuit

Country Status (1)

Country Link
JP (1) JPS594218A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3409800A1 (en) * 1984-03-16 1985-09-19 Siemens AG, 1000 Berlin und 8000 München METHOD FOR PROVIDING SAMPLE VALUES OF A TIME-DEPENDENT SIGNAL IN A DATA PROCESSING SYSTEM, AND CIRCUIT ARRANGEMENT FOR IMPLEMENTING THE METHOD

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5834037B2 (en) * 1976-05-08 1983-07-23 株式会社東芝 address calculation device
JPS55107322A (en) * 1979-02-13 1980-08-18 Victor Co Of Japan Ltd Circulation type digital filter
JPS5853217A (en) * 1981-09-25 1983-03-29 Nec Corp Digital filter circuit

Also Published As

Publication number Publication date
JPS594218A (en) 1984-01-11

Similar Documents

Publication Publication Date Title
KR970008186B1 (en) Address Processor for Signal Processor
JPH0476884A (en) Stack memory
JPH0113764B2 (en)
JPS6041769B2 (en) Addressing method
US5708842A (en) Apparatus for changing coefficients utilized to perform a convolution operation having address generator which uses initial count number and up/down count inputs received from external
JPH06103825B2 (en) Storage circuit
KR890002760A (en) Digital signal processing device and signal processing method
JPH0125443B2 (en)
JP2845844B2 (en) Microprocessor
JP3042266B2 (en) Memory access method
JPH06195085A (en) Waveform data output device
JP3288074B2 (en) Address generation circuit
JP3127492B2 (en) Addressing arithmetic circuit
JPS6017131B2 (en) memory control circuit
JPH07114343B2 (en) Integrated circuit for signal processing
JPS58147223A (en) Digital filter
JP3033334B2 (en) Data storage device
JPH0234053B2 (en)
JP2674747B2 (en) Signal processor
JPH0540601A (en) Address generating circuit
JPH0828647B2 (en) Memory device and digital signal processing device using the same
JPH04342309A (en) Cyclic digital filter
JPH02205937A (en) Information processing system
JPH0377533B2 (en)
JPS6244353B2 (en)