JPH0481925A - Digital signal processing circuit - Google Patents

Digital signal processing circuit

Info

Publication number
JPH0481925A
JPH0481925A JP19657790A JP19657790A JPH0481925A JP H0481925 A JPH0481925 A JP H0481925A JP 19657790 A JP19657790 A JP 19657790A JP 19657790 A JP19657790 A JP 19657790A JP H0481925 A JPH0481925 A JP H0481925A
Authority
JP
Japan
Prior art keywords
data
multiplier
address
memory
digital 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.)
Pending
Application number
JP19657790A
Other languages
Japanese (ja)
Inventor
Yasuhiko Hattori
保彦 服部
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP19657790A priority Critical patent/JPH0481925A/en
Publication of JPH0481925A publication Critical patent/JPH0481925A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To shorten the processing time of data, and also, to reduce the capacity of program data by completing multiplication by one step. CONSTITUTION:The circuit is provided with a multiplier data memory 11 and a multiplicand data memory 12 for storing multiplier data and multiplicand data, respectively, and an address of the multiplier data memory 11 is designated, based on an output of an address register 10 subjected to increment or decrement in accordance with an arithmetic operation of a multiplier 5. Accordingly, it becomes unnecessary to designate simultaneously address of two memories 11, 12 irrespective of a fact that multiplication is completed by one step. In such a way, an arithmetic speed can be improved without being accompanied with a remarkable increase of a circuit scale.

Description

【発明の詳細な説明】 (イ)産業上の利用分野 本発明は、デジタルデータの乗算を行うデジタル信号処
理回路に関する。
DETAILED DESCRIPTION OF THE INVENTION (A) Field of Industrial Application The present invention relates to a digital signal processing circuit that multiplies digital data.

(ロ)従来の技術 デジタルフィルタ等を構成するD S P (Digi
−tal Signal Processor)に於い
ては〜被処理データに特定のデジタルデータをフィルタ
係数として積算する積和演算が頻繁に行われる。この被
処理データは、書き込み及び読み出しが自由なスタティ
ックRAM等のメモリに記憶され、積和演算を行う度に
レジスタに一旦取り込まれ、レジスタから乗算器に入力
される。
(b) Conventional technology DSP (Digi
-tal Signal Processor), a sum-of-products operation is frequently performed in which specific digital data is added to the data to be processed as a filter coefficient. This data to be processed is stored in a memory such as a static RAM that can be written and read freely, is once taken into a register each time a product-sum operation is performed, and is input from the register to a multiplier.

第2図は、上述の如き乗算を行うデジタル信号処理回路
の構成を示すブロック図である。
FIG. 2 is a block diagram showing the configuration of a digital signal processing circuit that performs multiplication as described above.

データメモリ(1)には、乗数、被乗数となる各種のデ
ジタルデータが記憶され、制御回路(2)からの読出制
御信号に従って乗数データ、被乗数データが順次読み出
される。このデータメモリ(1)から読み出された乗数
データ及び被乗数データは、夫々入力レジスタ(3)(
4)に−旦取り込まれ、入力レジスタ(3)(4)から
乗算器(5)に供給される。入力レジスタ(3)(4)
に於いては、データメモリ(1)から時系列的に読み出
される乗数データ及び被乗数データが1データ毎記憶さ
れ、乗算器(5)の演算動作に従うタイミングで乗算器
(5)に入力される。そして、乗算器(5)の演算結果
は、出力レジスタ(6)に−旦記憶され、次段の回路(
図面省略)に出力される。
The data memory (1) stores various digital data serving as a multiplier and a multiplicand, and the multiplier data and the multiplicand data are sequentially read out in accordance with a read control signal from a control circuit (2). The multiplier data and multiplicand data read from this data memory (1) are respectively input to the input register (3) (
4) and is supplied to the multiplier (5) from the input registers (3) and (4). Input register (3) (4)
In this case, multiplier data and multiplicand data read out in time series from a data memory (1) are stored one data at a time, and are input to the multiplier (5) at a timing that follows the arithmetic operation of the multiplier (5). Then, the calculation result of the multiplier (5) is stored in the output register (6), and the next stage circuit (
(Drawing omitted).

一方、演算動作を制御する制御回路(2)は、演算動作
の動作プログラムが記憶されるプログラムメモリ(7)
と、読み出されたプログラムデータを取り込むコマンド
レジスタ(8)と、プログラムデータをデフードして各
部に命令を送るデコーダ(9)からなり、プログラムデ
ータに従って演算が実行されるように構成きれる。即ち
、プログラムメモリ(7)にはデータメモリ(1)のア
ドレス指定や演算の実行命令等のデータが所定の順序で
記憶されており、これらのデータを順次読み出してプロ
グラムメモリ(1)や乗算器(5)に与えることで回路
の演算動作が制御される6例えば、フィルタ演算等に於
いては、第1のステップでフィルタ係数となる乗算デー
タがデータメモリ(1)から読み出されて入力レジスタ
(3)に取り込まれ、第2のステップで被乗数データが
データメモリ(1)から読み出されて入力レジスタ(4
)に取り込まれると共に各入力レジスタ(3)(4)か
ら乗算器(5)に各データが供給きれて乗算が実行され
る。そして、第1及び第2のステップを繰り返すことに
より所定の演算が実行きれる。
On the other hand, the control circuit (2) that controls the arithmetic operation is connected to a program memory (7) in which an operation program for the arithmetic operation is stored.
It consists of a command register (8) that takes in the read program data, and a decoder (9) that decodes the program data and sends instructions to each part, and is configured so that calculations are executed according to the program data. That is, the program memory (7) stores data such as address designations for the data memory (1) and operation execution instructions in a predetermined order, and these data are sequentially read out and stored in the program memory (1) and the multiplier. (5), the calculation operation of the circuit is controlled.6 For example, in filter calculation, etc., in the first step, the multiplication data that becomes the filter coefficient is read from the data memory (1) and input register (3), and in the second step, the multiplicand data is read from the data memory (1) and input register (4).
), each data is supplied from each input register (3), (4) to a multiplier (5), and multiplication is executed. Then, by repeating the first and second steps, the predetermined calculation can be completed.

(八)発明が解決しようとする課題 しかしながら、上述の如きデータ処理に於いては、1回
の乗算を実行するのに2ステツプ必要なために、演算速
度が遅くなるという問題を有している。特に、乗算を何
度も繰り返すフィルタ演算のようなデータ処理では、デ
ータの処理時間が長くなる。さらに、1ステツプの動作
毎に制御回路(2)から命令を供給する必要があること
から、プログラムデータが長くなり、プログラムメモリ
(7)の容量を増大させ、回路規模の増大を招くことに
なる。
(8) Problems to be Solved by the Invention However, in the data processing described above, there is a problem in that the calculation speed is slow because two steps are required to execute one multiplication. . In particular, data processing such as filter operation that repeats multiplication many times takes a long time to process the data. Furthermore, since it is necessary to supply a command from the control circuit (2) for each step of operation, the program data becomes long, increasing the capacity of the program memory (7) and causing an increase in the circuit scale. .

また、データメモリ(1)を2分割して乗数データと被
乗数データとを同時に入力レジスタ(3)(4)に供給
するように構成すれば、1ステツプでの演算は可能にな
るが、1つの命令で2つのアドレスを同時に指定するこ
とが困難なため、演算命令自体を長くする必要が生じる
。従って、プログラムメモリ(7)の容量の増大やコマ
ンドレジスタ(8)及びデコーダ(9)のビット数の増
大を伴い、回路規模が大幅に増大することになる。
Furthermore, if the data memory (1) is divided into two parts and the multiplier data and multiplicand data are simultaneously supplied to the input registers (3) and (4), it becomes possible to perform calculations in one step. Since it is difficult to specify two addresses simultaneously with an instruction, it is necessary to make the operation instruction itself long. Therefore, the circuit size will increase significantly as the capacity of the program memory (7) increases and the number of bits of the command register (8) and decoder (9) increases.

そこで本発明は、回路規模の大幅な増大を伴うことなく
演算速度の向上を図ることを目的とする。
Therefore, an object of the present invention is to improve the calculation speed without significantly increasing the circuit scale.

(ニ)課題を解決するための手段 本発明は、上述の課題を解決するためになされたもので
、その特徴とするところは、被乗数となる第1のデジタ
ルデータを記憶する第1のメモリと、上記第1のデジタ
ルデータに対して乗数となる第2のデジタルデータを記
憶する第2のメモリと、これら各メモリから夫々上記第
1及び第2のデジタルデータを受けて一定期間蓄積する
第1及び第2の入力レジスタと、この第1及び第2の入
力レジスタから上記第1及び第2のデジタルデータを受
け、第1のデジタルデータに第2のデジタルデータを乗
じて第3のデジタルデータを得る乗算器と、この乗算器
の演算動作に従って増減するアドレスデータを得るアド
レスレジスタと、を備え、上記第1のメモリのアドレス
が所定のプログラムデータに基づいて指定されると共に
、上記第2のメモリのアドレスが上記アドレスレジスタ
のアドレスデータに基づいて指定されることを特徴とす
るデジタル信号処理回路。
(d) Means for Solving the Problems The present invention has been made to solve the above-mentioned problems, and is characterized by a first memory that stores first digital data serving as a multiplicand; , a second memory that stores second digital data that is a multiplier for the first digital data, and a first memory that receives the first and second digital data from each of these memories and accumulates the data for a certain period of time. and a second input register, and receives the first and second digital data from the first and second input registers, and multiplies the first digital data by the second digital data to obtain third digital data. an address register that obtains address data that increases or decreases according to the arithmetic operation of the multiplier, the address of the first memory is specified based on predetermined program data, and the second memory A digital signal processing circuit characterized in that an address of is specified based on address data of the address register.

(*)作用 本発明によれば、乗算器の演算動作に従ってアドレスレ
ジスタをインクリメント或いはデクリメントしてアドレ
スデータを得て第2のメモリのアドレスを指定するよう
に構成したことで、1つの演算命令を長くすることなく
第1及び第2のメモリのアドレスを同時に指定すること
ができ、1ステツプで演算を完了できる。従って、プロ
グラムデータの増大や、回路構成の増大を伴うことなく
演算速度の向上が図れる。
(*) Effect According to the present invention, the address register is incremented or decremented according to the arithmetic operation of the multiplier to obtain address data and specify the address of the second memory, so that one arithmetic instruction can be executed. The addresses of the first and second memories can be specified simultaneously without increasing the length of time, and the operation can be completed in one step. Therefore, calculation speed can be improved without increasing program data or circuit configuration.

(へ)実施例 本発明の一実施例を図面に従って説明する。(f) Example An embodiment of the present invention will be described with reference to the drawings.

第1図は、本発明のデジタル信号処理回路の構成を示す
ブロック図である。この図に於いて、制御回路(2)及
び乗算器(5)は、第2図と同一であり、同一部分には
同一符号が付しである。
FIG. 1 is a block diagram showing the configuration of a digital signal processing circuit according to the present invention. In this figure, the control circuit (2) and multiplier (5) are the same as in FIG. 2, and the same parts are given the same reference numerals.

本発明の特徴とするところは、乗数データと被乗数デー
タとを夫々記憶する乗数データメモリ〈11〉と被乗数
データメモリ(12)とを設け、乗数データメモリバ1
1)のアドレスを乗算器(5)の演算動作に従ってイン
クリメント或いはデクリメントされるアドレスレジスタ
(10)の出力に基づいて指定することにある。即ち、
アドレスレジスタ(10)は、乗算器(5)で演算が実
行きれる度に11」が繰り上げ、或いは繰り下げられる
カウンタ構成を成しており、演算が完了すると乗数デー
タメモリ(11)のアドレスが次のアドレスにシフトさ
れる。そして、乗数データメモリ(11)には、フィル
タ係数となる乗数データが所定の順序で記憶されており
、アドレスの指定を1つづつシフトすることで乗数デー
タが所望の順序で入力レジスタ(3〉に供給きれること
になる。
A feature of the present invention is that a multiplier data memory <11> and a multiplicand data memory (12) are provided for storing multiplier data and multiplicand data, respectively.
1) The address is designated based on the output of the address register (10) which is incremented or decremented according to the operation of the multiplier (5). That is,
The address register (10) has a counter structure that is incremented or decremented by 11 every time the multiplier (5) completes the operation, and when the operation is completed, the address of the multiplier data memory (11) is set to the next address. shifted to the address. The multiplier data memory (11) stores multiplier data that becomes filter coefficients in a predetermined order, and by shifting the address designation one by one, the multiplier data is stored in the input register (3) in the desired order. This means that the supply will be exhausted.

一般に、フィルタ演算等の積和演算に於いては、規則的
な演算が繰り返し実行されるため、乗数データメモリ(
11)のアドレスを乗算器(5)の演算動作に従ってシ
フトして乗数データを読み出すようにすることで所望の
演算を実行することができる。
Generally, in product-sum operations such as filter operations, regular operations are repeatedly executed, so the multiplier data memory (
A desired operation can be performed by shifting the address of 11) according to the operation of the multiplier (5) and reading the multiplier data.

ここで、被乗数データメモリ(12)のアドレスの指定
は、第2図と同様にして制御回路(2)により指定され
るもので、そのアドレス指定データがプログラムメモリ
(7〉に記憶される。
Here, the address of the multiplicand data memory (12) is designated by the control circuit (2) in the same manner as in FIG. 2, and the address designation data is stored in the program memory (7>).

従って、制御回路(2)が被乗数データメモリ(12)
のアドレスを指定すると共に乗算器(5)に演算の実行
命令を供給すると、乗算器(5)に於いて乗算が実行さ
れると共にアドレスレジスタ(10)がインクリメント
(或いはデクリメント)されて乗数データメモリ(11
)のアドレスが次のアドレスに移きれる。°このため、
乗数データメモリ(11)のアドレスは、乗算器(5)
での乗算が完了する毎に次のアドレスに移され、制御回
路(2)でアドレスの指定を行わなくても順次指定きれ
ることになる。
Therefore, the control circuit (2) is connected to the multiplicand data memory (12).
When an instruction to execute an operation is supplied to the multiplier (5) at the same time as specifying the address of (11
) address can be moved to the next address. °For this reason,
The address of the multiplier data memory (11) is the address of the multiplier (5)
Each time the multiplication is completed, the address is moved to the next address, and the address can be designated in sequence without having to use the control circuit (2) to designate the address.

以上の構成によれば、1ステツプで乗算が完了するにも
拘わらず、2つのメモリのアドレスを同時に指定する必
要がないため、演算命令を長くすることなく短い時間で
の演算を完了できる。
According to the above configuration, even though the multiplication is completed in one step, it is not necessary to specify the addresses of two memories at the same time, so the operation can be completed in a short time without increasing the length of the operation instruction.

(ト)発明の効果 本発明に依れば、1ステツプで乗算を完了することがで
きるため、データの処理時間を短縮できると共に、演算
を実行するステップ数の減少により演算命令の数、即ち
プログラムデータの容量を縮小することができる。
(G) Effects of the Invention According to the present invention, since multiplication can be completed in one step, data processing time can be shortened, and the number of calculation instructions can be reduced by reducing the number of steps to execute calculations. Data capacity can be reduced.

また、1つの演算命令を長くする必要がないことから、
各部の動作を制御する制御系回路の回路構成の増大防止
が図れる。
Also, since there is no need to make one operation instruction long,
It is possible to prevent an increase in the circuit configuration of a control system circuit that controls the operation of each part.

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

第1図は本発明デジタル信号処理回路のブロック図、第
2図は従来のデジタル信号処理回路のブロック図である
。 (1)・・・データメモリ、 (2)・・・制御回路、
 (3)(4)・・・入力レジスタ、(5)・・・乗算
器、 (6)・・・出力レジスタ、〈7)・・・プログ
ラムメモリ、(8)・・・コマンドレジスタ、(9)・
・・デコーダ、(10)・・・アドレスレジスタ、(1
1)・・・乗数データメモリ、(12)・・・被乗数デ
ータメモリ。
FIG. 1 is a block diagram of a digital signal processing circuit of the present invention, and FIG. 2 is a block diagram of a conventional digital signal processing circuit. (1)...Data memory, (2)...Control circuit,
(3) (4)... Input register, (5)... Multiplier, (6)... Output register, <7)... Program memory, (8)... Command register, (9 )・
...Decoder, (10) ...Address register, (1
1)... Multiplicand data memory, (12)... Multiplicand data memory.

Claims (2)

【特許請求の範囲】[Claims] (1)被乗数となる第1のデジタルデータを記憶する第
1のメモリと、 上記第1のデジタルデータに対して乗数となる第2のデ
ジタルデータを記憶する第2のメモリと、これら各メモ
リから夫々上記第1及び第2のデジタルデータを受けて
一定期間蓄積する第1及び第2の入力レジスタと、 この第1及び第2の入力レジスタから上記第1及び第2
のデジタルデータを受け、第1のデジタルデータに第2
のデジタルデータを乗じて第3のデジタルデータを得る
乗算器と、 この乗算器の演算動作に従って増減するアドレスデータ
を得るアドレスレジスタと、 を備え、 上記第1のメモリのアドレスが所定のプログラムデータ
に基づいて指定されると共に、上記第2のメモリのアド
レスが上記アドレスレジスタのアドレスデータに基づい
て指定されることを特徴とするデジタル信号処理回路。
(1) A first memory that stores first digital data that is a multiplicand; a second memory that stores second digital data that is a multiplier for the first digital data; and a second memory that stores second digital data that is a multiplier for the first digital data. first and second input registers that receive and accumulate the first and second digital data for a certain period of time; and
digital data is received, and the second digital data is added to the first digital data.
a multiplier that obtains third digital data by multiplying the digital data of the multiplier, and an address register that obtains address data that increases or decreases according to the operation of the multiplier, and the address of the first memory is set to predetermined program data. and the address of the second memory is specified based on address data of the address register.
(2)上記第1のメモリのアドレス指定及び上記乗算器
の演算動作が、一定周期の基本クロックに従うタイミン
グに設定されることを特徴とする請求項第1項記載のデ
ジタル信号処理回路。
(2) The digital signal processing circuit according to claim 1, wherein the addressing of the first memory and the arithmetic operation of the multiplier are set at timings according to a basic clock having a constant period.
JP19657790A 1990-07-24 1990-07-24 Digital signal processing circuit Pending JPH0481925A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19657790A JPH0481925A (en) 1990-07-24 1990-07-24 Digital signal processing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19657790A JPH0481925A (en) 1990-07-24 1990-07-24 Digital signal processing circuit

Publications (1)

Publication Number Publication Date
JPH0481925A true JPH0481925A (en) 1992-03-16

Family

ID=16360059

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19657790A Pending JPH0481925A (en) 1990-07-24 1990-07-24 Digital signal processing circuit

Country Status (1)

Country Link
JP (1) JPH0481925A (en)

Similar Documents

Publication Publication Date Title
KR100188374B1 (en) Processing unit
EP0169030A2 (en) Data processing circuit for calculating either a total sum or a total product of a series of data at a high speed
JPH0481925A (en) Digital signal processing circuit
JPH0560629B2 (en)
US4723258A (en) Counter circuit
JPH0528431B2 (en)
JPS63136710A (en) Digital signal processing circuit
JP2885197B2 (en) Arithmetic processing device and arithmetic processing method
JP3088956B2 (en) Arithmetic unit
JP3531208B2 (en) Digital signal processor
JPH06162067A (en) Device and method for controlling vector instruction
JPH0222417B2 (en)
JPH04365170A (en) Digital signal processing semiconductor integrated circuit
JP2001034603A (en) Product-sum operation processing unit
JPH0269826A (en) System for controlling instruction with condition
JP2000250869A (en) Multiprocessor control method and device
JPH04111517A (en) Digital signal processing circuit
JPH01284926A (en) Instruction reading system for arithmetic unit
JP2000286679A (en) Digital signal processor
JPH10207708A (en) Programmable controller
JPS61249140A (en) Microprogram controller
JPH0877003A (en) DSP program parallel controller
JPH06195218A (en) Digital computer
JPH05206391A (en) Integrated circuit for internally parallel processing information
JPS62251930A (en) Information processor