JPH0638275B2 - Digital signal processor - Google Patents

Digital signal processor

Info

Publication number
JPH0638275B2
JPH0638275B2 JP2112788A JP11278890A JPH0638275B2 JP H0638275 B2 JPH0638275 B2 JP H0638275B2 JP 2112788 A JP2112788 A JP 2112788A JP 11278890 A JP11278890 A JP 11278890A JP H0638275 B2 JPH0638275 B2 JP H0638275B2
Authority
JP
Japan
Prior art keywords
input
data
supplied
signal
memory
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 - Lifetime
Application number
JP2112788A
Other languages
Japanese (ja)
Other versions
JPH0410086A (en
Inventor
真木夫 山来
和男 渡辺
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.)
Pioneer Corp
Original Assignee
Pioneer 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 Pioneer Corp filed Critical Pioneer Corp
Priority to JP2112788A priority Critical patent/JPH0638275B2/en
Priority to GB9025076A priority patent/GB2243006B/en
Priority to DE19904039889 priority patent/DE4039889C2/en
Publication of JPH0410086A publication Critical patent/JPH0410086A/en
Priority to US07/880,302 priority patent/US5255323A/en
Publication of JPH0638275B2 publication Critical patent/JPH0638275B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Microcomputers (AREA)

Description

【発明の詳細な説明】 技術分野 本発明はディジタル信号プロセッサ(以下、DSPと称
する)に関する。
TECHNICAL FIELD The present invention relates to a digital signal processor (hereinafter referred to as a DSP).

背景技術 家庭や車内においてコンサートホールや劇場における音
響空間、例えば、残響音や臨場感を作り出すために音場
制御をなすことができるオーディオ信号処理装置が公知
であり、例えば特開昭64−72651号公報に示され
ている。このようなオーディオ信号処理装置は、チュー
ナ等のオーディオ信号源から出力されたオーディオ信号
をディジタル演算処理することにより音場制御を施すD
SPが設けられている。DSPは四則演算等の演算処理
を行なう演算手段、該演算手段に供給するオーディオ信
号データを記憶するデータメモリや該データメモリに記
憶された信号データを遅延させるための遅延用メモリを
備えている。DSP内では予め定められたプログラムに
従って各メモリ間及びメモリから演算手段へ信号データ
を転送して信号データの演算処理を高速で繰り返し行な
うことができるように構成されている。またプログラム
はDSP内のRAM等の書き換え可能なプログラムメモ
リに書き込まれており、操作により音場モードが切り換
えられる毎にDSP外のマイクロコンピュータによりプ
ログラムが変更される。すなわちプログラムを変更する
ことによりあらゆる音響空間を作り出せるのである。
BACKGROUND ART An audio signal processing device capable of performing sound field control for producing a reverberant sound or a realistic sensation in a concert hall or theater at home or in a car is known, for example, Japanese Patent Laid-Open No. 64-72651. It is shown in the official gazette. Such an audio signal processing device performs sound field control by digitally processing an audio signal output from an audio signal source such as a tuner.
SP is provided. The DSP includes arithmetic means for performing arithmetic operations such as four arithmetic operations, a data memory for storing audio signal data supplied to the arithmetic means, and a delay memory for delaying the signal data stored in the data memory. In the DSP, the signal data is transferred between the memories and from the memories to the arithmetic means in accordance with a predetermined program, and the arithmetic processing of the signal data can be repeatedly performed at high speed. The program is written in a rewritable program memory such as a RAM in the DSP, and the program is changed by a microcomputer outside the DSP every time the sound field mode is switched by an operation. That is, it is possible to create any acoustic space by changing the program.

また、DSPにはディジタル信号入力用の入力ポートを
複数備えているものがある。例えば、第2図に示すよう
にチューナ等のアナログオーディオ信号源1からのアナ
ログオーディオ信号をA/D変換器2によってディジタ
ル化した信号がDSP3の第1入力ポートINに供給
され、CD(コンパクトディスク)プレーヤ等のディジ
タルオーディオ信号源4からのディジタルオーディオ信
号がDIR(ディジタルオーディオインターフェースレ
シーバ)5を介してDSP3の第2入力ポートIN
供給されるようになっている。第1及び第2入力ポート
IN,INには入力レジスタ6,7が各々設けら
れ、供給されたディジタルオーディオ信号が入力レジス
タ6又は7に順次保持される。入力レジスタ6,7は共
通のデータバス8に接続されている。このデータバス8
には演算処理部9のデータメモリ(図示せず)が接続さ
れ、通常、DSP3に供給されたディジタル信号データ
は演算処理のためにデータメモリに書き込まれるように
なっている。
Some DSPs have a plurality of input ports for digital signal input. For example, as shown in FIG. 2, a signal obtained by digitizing an analog audio signal from an analog audio signal source 1 such as a tuner by an A / D converter 2 is supplied to a first input port IN 1 of a DSP 3 and a CD (compact) A digital audio signal from a digital audio signal source 4 such as a disc player is supplied to a second input port IN 2 of the DSP 3 via a DIR (digital audio interface receiver) 5. Input registers 6 and 7 are provided in the first and second input ports IN 1 and IN 2 , respectively, and the supplied digital audio signal is sequentially held in the input register 6 or 7. The input registers 6 and 7 are connected to a common data bus 8. This data bus 8
Is connected to a data memory (not shown) of the arithmetic processing unit 9, and normally the digital signal data supplied to the DSP 3 is written in the data memory for arithmetic processing.

ところで、入力レジスタ6又は7に保持された信号デー
タは上記のプログラムメモリに書き込まれたプログラム
に従ってデータメモリ等の素子に転送される。よって、
入力レジスタ6に保持された入力信号データをデータメ
モリに転送して演算処理する場合と、入力レジスタ7に
保持された入力信号データをデータメモリに転送してそ
の後の同一の演算処理する場合とでは異なるプログラム
を用いなければならず、処理すべきディジタル信号を入
力する入力ポートを切換える毎にマイクロコンピュータ
からプログラムを転送して書き換えをしなければならな
い。しかしながら、入力ポート毎にマイクロコンピュー
タ内のROM等のメモリに多数のプログラムを記憶させ
ておくために記憶容量の大なるメモリを必要とするとい
う問題点があった。
By the way, the signal data held in the input register 6 or 7 is transferred to an element such as a data memory according to the program written in the program memory. Therefore,
In the case where the input signal data held in the input register 6 is transferred to the data memory for arithmetic processing, and in the case where the input signal data held in the input register 7 is transferred to the data memory for the same arithmetic processing thereafter. Different programs must be used, and the programs must be transferred from the microcomputer and rewritten each time the input port for inputting the digital signal to be processed is switched. However, there is a problem that a memory having a large storage capacity is required in order to store a large number of programs in a memory such as a ROM in a microcomputer for each input port.

また、従来のDSPとして第3図に示すように第1及び
第2入力ポートIN,INには切換スイッチ10が
接続され、第1及び第2入力ポートIN,INへの
各入力ディジタル信号のうち一方が切換スイッチ10に
よって選択的に入力レジスタ6に供給されるものがあ
る。切換スイッチ10の選択切換はマイクロコンピュー
タからの指令に応じて行なわれる。
Further, the changeover switch 10 is connected to the first and second input port IN 1, IN 2 as shown in FIG. 3 as a conventional DSP, each input to the first and second input port IN 1, IN 2 Some digital signals are selectively supplied to the input register 6 by the change-over switch 10. The selective switching of the changeover switch 10 is performed in response to a command from the microcomputer.

しかしながら、このDSPにおいては、第1及び第2入
力ポートIN,INの2系統の入力ポートを同時に
使用することができない。よって、1つの入力ポートで
は通常、2チャンネルのディジタル信号しか扱えないの
で、DSPをカスケード接続したり、2系統(4チャン
ネル分)のディジタル信号を同時に入力して処理するこ
とができないという問題点があった。
However, in this DSP, it is not possible to simultaneously use two input ports of the first and second input ports IN 1 and IN 2 . Therefore, since one input port can normally handle only two channels of digital signals, there is a problem in that DSPs cannot be cascaded and two channels (for four channels) of digital signals cannot be simultaneously input and processed. there were.

発明の概要 [発明の目的] 本発明の目的は、入力ポートの数だけプログラムをマイ
クロコンピュータ内のメモリに記憶させなくても処理す
べきディジタル信号を入力する入力ポートを切換えるこ
とができかつ複数系統のディジタル信号を処理すること
ができるDSPを提供することである。
SUMMARY OF THE INVENTION [Object of the Invention] An object of the present invention is to enable switching of input ports for inputting digital signals to be processed without storing programs in a memory in a microcomputer by the number of input ports, and a plurality of systems. Is to provide a DSP capable of processing the digital signals of

[発明の構成] 本発明のDSPは、処理すべきディジタル信号が供給さ
れる複数の入力ポートと、該入力ポート毎に設けられ入
力ポートに供給されたディジタル信号を保持し出力が共
通のデータバスに接続された入力レジスタとを備えたD
SPであり、複数の入力ポートのいずれか1の出力を制
御信号に応じて選択的に1の入力レジスタに接続する切
換手段を有することを特徴としている。
[Structure of the Invention] The DSP of the present invention is provided with a plurality of input ports to which digital signals to be processed are supplied, and a data bus provided for each of the input ports and holding the digital signals supplied to the input ports and having a common output. With an input register connected to
The SP is characterized by including switching means for selectively connecting the output of any one of the plurality of input ports to the one input register according to a control signal.

実施例 以下、本発明の実施例を図面を参照しつつ詳細に説明す
る。
Embodiment Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.

第1図に示した本発明の一実施例たるDSPにおいて
は、第1入力ポートINにはA/D変換器2からディ
ジタルオーディオ信号が供給され、第2入力ポートIN
にはDIR5からディジタルオーディオ信号が供給さ
れることは従来と同様である。第1入力ポートIN
は切換手段としての切換スイッチ10が接続され、第1
入力ポートINへの入力ディジタル信号が切換スイッ
チ10を介して入力レジスタ6に供給される。また第2
入力ポートINは入力レジスタ7に直接接続されると
共に切換スイッチ10にも接続されている。切換スイッ
チ10は後述の制御レジスタ21に保持された制御信号
に応じて第1及び第2入力ポートIN,INのいず
れか一方からの信号を選択的に入力レジスタ6に中継供
給する。
In the DSP as one embodiment of the present invention shown in FIG. 1 , a digital audio signal is supplied from the A / D converter 2 to the first input port IN 1 and the second input port IN 1 is supplied.
The digital audio signal is supplied to the 2 from the DIR 5 as in the conventional case. A changeover switch 10 as a changeover unit is connected to the first input port IN 1 ,
The input digital signal to the input port IN 1 is supplied to the input register 6 via the changeover switch 10. The second
The input port IN 2 is directly connected to the input register 7 and also connected to the changeover switch 10. The change-over switch 10 selectively relays the signal from either one of the first and second input ports IN 1 and IN 2 to the input register 6 in response to a control signal held in a control register 21 described later.

入力レジスタ6,7の出力はデータバス8に接続されて
いる。データバス8はデータ群を一時記憶するデータメ
モリ11及び乗算器12の一方の入力にバッファメモリ
19を介して接続されている。乗算器12の他方の入力
にはバッファメモリ13を介して係数メモリ14が接続
され、係数メモリ14には係数データ群が記憶される。
後述のシーケンスコントローラ20からのタイミング信
号に応じて係数メモリ14に記憶された係数データ群の
うちから1つの係数データが順次読み出され、それがバ
ッファメモリ13に供給されて保持される。バッファメ
モリ13に保持された係数データは乗算器12に供給さ
れる。ALU(加算器)15は乗算器12の計算出力を
累算するために設けられており、一方の入力に乗算器1
5の計算出力が供給され、他方はデータバス8に接続さ
れている。ALU15の計算出力にはアキュームレータ
16が接続され、アキュームレータ16の出力はデータ
バス8に接続されている。またデータバス8に出力レジ
スタ17,18が接続されている。出力レジスタ17,
18は演算処理された信号データを保持しその保持デー
タを第1及び第2出力ポートOUT,OUTから出
力する。
The outputs of the input registers 6 and 7 are connected to the data bus 8. The data bus 8 is connected to one inputs of a data memory 11 for temporarily storing a data group and a multiplier 12 via a buffer memory 19. A coefficient memory 14 is connected to the other input of the multiplier 12 via a buffer memory 13, and a coefficient data group is stored in the coefficient memory 14.
One coefficient data is sequentially read from the coefficient data group stored in the coefficient memory 14 according to a timing signal from the sequence controller 20 described later, and the coefficient data is supplied to the buffer memory 13 and held therein. The coefficient data held in the buffer memory 13 is supplied to the multiplier 12. The ALU (adder) 15 is provided to accumulate the calculation output of the multiplier 12, and one input has the multiplier 1
5 of the calculated outputs are provided, the other being connected to the data bus 8. An accumulator 16 is connected to the calculation output of the ALU 15, and an output of the accumulator 16 is connected to the data bus 8. Further, output registers 17 and 18 are connected to the data bus 8. Output register 17,
Reference numeral 18 holds the signal data that has undergone arithmetic processing, and outputs the held data from the first and second output ports OUT 1 and OUT 2 .

データメモリ11、乗算器12、係数メモリ14、AL
U15、アキュームレータ16等の素子間のデータ転送
や演算等の動作タイミングはシーケンスコントローラ2
0によって制御される。シーケンスコントローラ20は
プログラムメモリ30に書き込まれた処理プログラムに
従って動作すると共にマイクロコンピュータ23からの
指令に応じて動作する。マイクロコンピュータ23から
の指令としての制御信号はインターフェース22を介し
て上記した制御レジスタ21に供給されて保持される。
マイクロコンピュータ23はキーボード24のキー操作
に応じて処理プログラムの書き換えや係数メモリ14の
係数データの書き換えを制御する。制御レジスタ21は
保持すべき内容が予め各々定められた複数の保持ビット
を有し、入力ディジタルオーディオ信号、DSP3及び
マイクロコンピュータ23との間の同期やスイッチ10
の切換制御等の情報の交換のために設けられている。
Data memory 11, multiplier 12, coefficient memory 14, AL
The operation timing of data transfer and calculation between elements such as U15 and accumulator 16 is the sequence controller 2
Controlled by 0. The sequence controller 20 operates according to the processing program written in the program memory 30, and operates according to a command from the microcomputer 23. A control signal as a command from the microcomputer 23 is supplied to the above-mentioned control register 21 via the interface 22 and held therein.
The microcomputer 23 controls the rewriting of the processing program and the rewriting of the coefficient data in the coefficient memory 14 according to the key operation of the keyboard 24. The control register 21 has a plurality of holding bits whose contents to be held are predetermined respectively, and is used for synchronization between the input digital audio signal, the DSP 3 and the microcomputer 23 and the switch 10.
It is provided for exchanging information such as switching control.

なお、DSP3には更に遅延データを作成するために外
部接続するメモリのデータ書き込み及び読み出しを制御
するメモリ制御回路やその遅延時間データ群を記憶する
遅延時間メモリ等の素子が設けられているが、本発明と
は直接関係ないので図示していない。
The DSP 3 is further provided with elements such as a memory control circuit for controlling data writing and reading of an externally connected memory for creating delay data and a delay time memory for storing the delay time data group. It is not shown because it is not directly related to the present invention.

また、DIR5はバイフェーズ変調を施したディジタル
信号を復調するために設けられている。
Further, the DIR 5 is provided to demodulate a digital signal that has been subjected to bi-phase modulation.

かかる構成において、切換スイッチ10は通常、第1入
力ポートINを選択した状態になっている。この第1
入力ポートIN選択状態には、第1入力ポートIN
に供給されたA/D変換器2からのディジタルオーディ
オ信号が信号データとして切換スイッチ10を介して入
力レジスタ6に供給される。入力レジスタ6への信号デ
ータに同期して図示しないプログラムカウンタが初期値
から動作してプログラムメモリ30からプログラムの動
作ステップが順に読み出されてシーケンスコントローラ
30に供給される。プログラムメモリ30に書き込まれ
ているプログラムが入力レジスタ6への入力信号データ
をデータメモリ11に転送する命令ステップを有し所定
の演算処理を行なうための第1プログラムであるとする
と、その転送命令ステップに応じてシーケンスコントロ
ーラ30が動作指令信号を発生し、入力レジスタ6に保
持された信号データがデータメモリ11にデータバス8
を介して転送されて所定番地に書き込まれる。
In such a configuration, the changeover switch 10 is normally in the state where the first input port IN 1 is selected. This first
When the input port IN 1 is selected, the first input port IN 1
The digital audio signal supplied from the A / D converter 2 is supplied as signal data to the input register 6 via the changeover switch 10. A program counter (not shown) operates from an initial value in synchronization with the signal data to the input register 6, and operation steps of the program are sequentially read from the program memory 30 and supplied to the sequence controller 30. If the program written in the program memory 30 has a command step for transferring the input signal data to the input register 6 to the data memory 11 and is the first program for performing a predetermined arithmetic processing, the transfer command step The sequence controller 30 generates an operation command signal in response to the signal, and the signal data held in the input register 6 is transferred to the data memory 11 in the data bus 8
And is written to a predetermined address.

所定の演算処理としては、例えば、第1入力ポートIN
の入力信号データをデータメモリ11に順次転送して
書き込み、データメモリ11に記憶された信号データは
順次読み出されてバッファメモリ19に供給されて保持
される。一方、係数メモリ14から係数データが順次読
み出されてバッファメモリ13に供給されて保持され
る。バッファメモリ13から係数データが、またバッフ
ァメモリ19から信号データが乗算器12に各々供給さ
れ、乗算器12においてそれらが次々乗算される。この
乗算されて得られた値がALU15において前回までの
値(アキュームレータ16に保持された値)と累算され
てその演算結果がアキュームレータ16において保持さ
れる。
As the predetermined arithmetic processing, for example, the first input port IN
One input signal data is sequentially transferred to the data memory 11 and written therein, and the signal data stored in the data memory 11 is sequentially read out and supplied to the buffer memory 19 and held therein. On the other hand, the coefficient data is sequentially read from the coefficient memory 14, supplied to the buffer memory 13, and held therein. The coefficient data is supplied from the buffer memory 13 and the signal data is supplied from the buffer memory 19 to the multiplier 12, and the multiplier 12 multiplies them one after another. The value obtained by this multiplication is accumulated in the ALU 15 with the value up to the previous time (the value held in the accumulator 16), and the operation result is held in the accumulator 16.

切換スイッチ10の第1入力ポートIN選択状態にお
いて、第2入力ポートINに供給されたディジタルフ
ィルタ5からのディジタルオーディオ信号に対して第1
プログラムと同一の演算処理を行なう場合には従来と同
様にプログラムメモリ30を第1プログラムから入力レ
ジスタ7への入力信号データをデータメモリ11に転送
する命令ステップを有し所定の演算処理を行なうための
第2プログラムに書き換える必要がある。
When the first input port IN 1 of the changeover switch 10 is selected, the first input port IN 1 with respect to the digital audio signal from the digital filter 5 supplied to the second input port IN 2 is selected.
In the case where the same arithmetic processing as the program is performed, as in the conventional case, the program memory 30 has an instruction step for transferring the input signal data from the first program to the input register 7 to the data memory 11 to perform the predetermined arithmetic processing. It is necessary to rewrite to the second program of.

ところが、切換スイッチ10の第1入力ポートIN
択状態において、例えば、キーボード24の所定のキー
操作されて入力ポート切換指令信号が発生すると、マイ
クロコンピュータ23から新たな制御信号がインターフ
ェース22を介して制御レジスタ21の所定ビット位置
(切換スイッチ10に接続されている)に供給される。
よって、制御レジスタ21の所定ビット位置の保持内容
が例えば、論理“0”から“1”に反転する。これによ
り切換スイッチ10は第2入力ポートINの選択状態
に切り換わる。第2入力ポートIN選択状態には、第
2入力ポートINに供給されたDIR5からのディジ
タルオーディオ信号が信号データとして切換スイッチ1
0を介して入力レジスタ6に供給される。従って、この
場合には第2入力ポートINに供給された信号データ
は入力レジスタ6に供給されて保持されるので、所定の
演算処理を行なうならば、第1入力ポートIN選択状
態と同様にプログラムメモリ30には第1プログラムが
記憶されていれば良いのである。すなわち、第2入力ポ
ートINからの入力レジスタ6への信号データに同期
してプログラムカウンタが初期値から動作してプログラ
ムメモリ30から第1プログラムの動作ステップが順に
読み出されてシーケンスコントローラ20に供給され
る。第1プログラムの転送命令ステップに応じてシーケ
ンスコントローラ20が動作指令信号を発生し、入力レ
ジスタ6に保持された信号データがデータメモリ11に
データバス8を介して転送されて所定番地に書き込まれ
るのである。
However, in the selected state of the first input port IN 1 of the changeover switch 10, for example, when an input port changeover command signal is generated by operating a predetermined key of the keyboard 24, a new control signal is sent from the microcomputer 23 via the interface 22. It is supplied to a predetermined bit position (connected to the changeover switch 10) of the control register 21.
Therefore, the content held in the predetermined bit position of the control register 21 is inverted, for example, from logic "0" to "1". Thereby, the changeover switch 10 is switched to the selected state of the second input port IN 2 . In the second input port IN 2 selected state, the changeover switch 1 receives the digital audio signal from the DIR 5 supplied to the second input port IN 2 as signal data.
It is supplied to the input register 6 via 0. Therefore, in this case, the signal data supplied to the second input port IN 2 is supplied to the input register 6 and held therein. Therefore, if predetermined arithmetic processing is performed, it is the same as in the first input port IN 1 selected state. It is sufficient that the program memory 30 stores the first program. That is, the program counter operates from the initial value in synchronization with the signal data from the second input port IN 2 to the input register 6, and the operation steps of the first program are sequentially read from the program memory 30 to the sequence controller 20. Supplied. The sequence controller 20 generates an operation command signal in accordance with the transfer command step of the first program, and the signal data held in the input register 6 is transferred to the data memory 11 via the data bus 8 and written at a predetermined address. is there.

次に、第1入力ポートIN1及び第2入力ポートIN2
に各々供給された2つのディジタル信号に対して同時に
演算処理を施す場合について説明する。
Next, the first input port IN1 and the second input port IN2
A case will be described in which the two digital signals respectively supplied to the above are simultaneously subjected to arithmetic processing.

この場合には、例えば、第1入力ポートIN1の入力デ
ータをデータメモリ11に転送する命令ステップと、第
2入力ポートIN2の入力データをデータメモリ11に
転送する別の指令ステップを有し、所定の演算処理を行
うための第3プログラムが、第1プログラムの場合と同
様に、マイクロコンピュータ23からインターフェース
22を介してプログラムメモリ30に書き込まれる。
In this case, for example, it has a command step of transferring the input data of the first input port IN1 to the data memory 11 and another command step of transferring the input data of the second input port IN2 to the data memory 11, The third program for performing the arithmetic processing of is written in the program memory 30 from the microcomputer 23 through the interface 22 as in the case of the first program.

また、マイクロコンピュータ23から制御信号がインタ
ーフェース22を介して制御レジスタ21の所定ビット
位置に供給される。これにより切換スイッチ10は第1
入力ポートIN1の選択状態となる。第1入力ポートI
N1選択状態には、第1入力ポートIN1に供給された
A/D変換器2からのディジタルオーディオ信号が信号
データとして切換スイッチ10を介して入力レジスタ6
に、また第2入力ポートIN2に供給されたDIR5か
らのディジタルオーディオ信号が信号データとして入力
レジスタ7に供給される。従って、この場合には、第1
入力ポートIN1からの入力レジスタ6への信号データ
に同期してプログラムカウンタが初期値から動作してプ
ログラムメモリ30から第3プログラムの動作ステップ
が順に読み出されてシーケンスコントローラ20に供給
される。第3プログラムの転送命令ステップに応じてシ
ーケンスコントローラ20が動作命令指示信号を発生
し、入力レジスタ6に保持された信号データがデータメ
モリ11にデータバス8を介して転送されて所定番地に
書き込まれ、同様に入力レジスタ7に保持された信号デ
ータがデータメモリ11にデータバス8を介して転送さ
れて、異なる所定番地に書き込まれるのである。
Further, a control signal is supplied from the microcomputer 23 to a predetermined bit position of the control register 21 via the interface 22. As a result, the changeover switch 10 has the first
The input port IN1 is selected. First input port I
In the N1 selected state, the digital audio signal from the A / D converter 2 supplied to the first input port IN1 is input as signal data to the input register 6 via the changeover switch 10.
, And the digital audio signal from the DIR 5 supplied to the second input port IN2 is supplied to the input register 7 as signal data. Therefore, in this case, the first
The program counter operates from the initial value in synchronization with the signal data from the input port IN1 to the input register 6, and the operation steps of the third program are sequentially read from the program memory 30 and supplied to the sequence controller 20. The sequence controller 20 generates an operation command instruction signal in accordance with the transfer command step of the third program, and the signal data held in the input register 6 is transferred to the data memory 11 via the data bus 8 and written in a predetermined address. Similarly, the signal data held in the input register 7 is transferred to the data memory 11 via the data bus 8 and written in a different predetermined address.

なお、ディジタルオーディオ信号は、オーディオ情報を
示す複数ビット、クロックビット及び左右チャンネルビ
ットから形成される並列データ信号である。左右チャン
ネルビットはオーディオ情報が左右チャンネルのいずれ
かであるかを示し、例えば、左チャンネルで論理
“1”、右チャンネルで論理“0”となる。この左右チ
ャンネルビットが制御レジスタ21に供給されており、
上記のプログラムカウンタが左右チャンネルビットの例
えば、論理“0”から“1”への反転に同期して初期値
から動作しシーケンスコントローラ30が動作指令信号
を発生するのである。
The digital audio signal is a parallel data signal formed from a plurality of bits indicating audio information, clock bits, and left and right channel bits. The left and right channel bits indicate which of the left and right channels the audio information is, for example, the left channel has a logical "1" and the right channel has a logical "0". The left and right channel bits are supplied to the control register 21,
The program counter operates from the initial value in synchronization with the inversion of the left and right channel bits, for example, from logic "0" to "1", and the sequence controller 30 generates an operation command signal.

また、上記した実施例においては、切換スイッチ10が
第1及び第2入力ポートIN,INに各々入力され
る信号のうちのいずれか1の信号を選択的に入力レジス
タ6に中継供給するが、3つ以上の入力ポートに各々入
力される信号のうちのいずれか1の信号を1の入力レジ
スタに中継供給するようにしても良い。
Further, in the above-described embodiment, the changeover switch 10 selectively relays and supplies to the input register 6 any one of the signals input to the first and second input ports IN 1 and IN 2. However, any one of the signals input to the three or more input ports may be relayed to one input register.

発明の効果 以上の如く、本発明のDSPにおいては、複数の入力ポ
ートのいずれか1の出力を制御信号に応じて選択的に1
の入力レジスタに接続する切換手段が設けられている。
よって、第1入力ポートへ供給されたディジタル信号に
対して施した演算処理と同一の処理を第2入力ポートへ
供給されるディジタル信号に対しても内部に書き込まれ
たプログラムを変更することなく行なうことができる。
これにより、マイクロコンピュータ内のメモリに記憶さ
せるプログラム数を減らすことができるので記憶容量の
大なるメモリを必要としなくなり、低コスト化を図るこ
とができる。また、DSP内のプログラム書換え回数が
減るので、マイクロコンピュータ側の処理負担が軽くな
るという利点もある。
As described above, in the DSP of the present invention, the output of any one of the plurality of input ports is selectively set to 1 according to the control signal.
Switching means is provided for connecting to the input register.
Therefore, the same processing as the arithmetic processing performed on the digital signal supplied to the first input port is performed on the digital signal supplied to the second input port without changing the program written therein. be able to.
As a result, the number of programs to be stored in the memory in the microcomputer can be reduced, so that a memory with a large storage capacity is not required and cost can be reduced. Further, since the number of times the program is rewritten in the DSP is reduced, there is an advantage that the processing load on the microcomputer side is reduced.

また、第1及び第2入力ポートへ各々供給された2つの
ディジタル信号に対して同時に演算処理を施すこともD
SPをカスケード接続して用いたり、4チャンネルA/
D変換器からの2系統の出力信号を同時入力させて処理
することができる。
It is also possible to simultaneously perform arithmetic processing on two digital signals respectively supplied to the first and second input ports.
Use SP in cascade connection, 4 channels A /
Two output signals from the D converter can be simultaneously input and processed.

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

第1図は本発明の実施例を示すブロック図、第2図及び
第3図は従来のDSPを示すブロック図である。 主要部分の符号の説明 3…DSP 6,7…入力レジスタ 10…切換スイッチ 21…制御レジスタ 23…マイクロコンピュータ
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIGS. 2 and 3 are block diagrams showing a conventional DSP. Description of symbols of main parts 3 ... DSP 6, 7 ... Input register 10 ... Changeover switch 21 ... Control register 23 ... Microcomputer

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】処理すべきディジタル信号が供給される複
数の入力ポートと、該入力ポート毎に設けられ入力ポー
トに供給されたディジタル信号を保持し出力が共通のデ
ータバスに接続された入力レジスタとを備えたディジタ
ル信号プロセッサであって、前記複数の入力ポートのい
ずれか1の出力を制御信号に応じて選択的に1の入力レ
ジスタに接続する切換手段を有することを特徴とするデ
ィジタル信号プロセッサ。
1. A plurality of input ports to which digital signals to be processed are supplied, and an input register which is provided for each input port and holds the digital signals supplied to the input ports and whose outputs are connected to a common data bus. And a switching means for selectively connecting the output of any one of the plurality of input ports to one input register according to a control signal. .
【請求項2】外部から供給されるポート切換指令信号を
前記制御信号として保持する制御レジスタを有すること
を特徴とする請求項1記載のディジタル信号プロセッ
サ。
2. A digital signal processor according to claim 1, further comprising a control register which holds a port switching command signal supplied from the outside as the control signal.
JP2112788A 1990-04-02 1990-04-27 Digital signal processor Expired - Lifetime JPH0638275B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2112788A JPH0638275B2 (en) 1990-04-27 1990-04-27 Digital signal processor
GB9025076A GB2243006B (en) 1990-04-02 1990-11-19 Digital signal processing device and audio apparatus using the same
DE19904039889 DE4039889C2 (en) 1990-04-02 1990-12-13 Digital signal processing device for arithmetically processing a digital input audio signal and its use
US07/880,302 US5255323A (en) 1990-04-02 1992-05-05 Digital signal processing device and audio apparatus using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2112788A JPH0638275B2 (en) 1990-04-27 1990-04-27 Digital signal processor

Publications (2)

Publication Number Publication Date
JPH0410086A JPH0410086A (en) 1992-01-14
JPH0638275B2 true JPH0638275B2 (en) 1994-05-18

Family

ID=14595529

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2112788A Expired - Lifetime JPH0638275B2 (en) 1990-04-02 1990-04-27 Digital signal processor

Country Status (1)

Country Link
JP (1) JPH0638275B2 (en)

Also Published As

Publication number Publication date
JPH0410086A (en) 1992-01-14

Similar Documents

Publication Publication Date Title
US5091951A (en) Audio signal data processing system
JPH08235130A (en) Parallel processor
JPH04149598A (en) Sound field correction device
JP2976429B2 (en) Address control circuit
JP2680483B2 (en) Digital signal processor
JPH0638275B2 (en) Digital signal processor
JPH05165630A (en) Digital signal processor
JP3323526B2 (en) Digital signal processor
JP3120483B2 (en) Effect adding device
JPH10143350A (en) First-in first-out memory control system
JP3125672B2 (en) Digital filter
JP3083526B2 (en) Audio signal data processing device
US5305439A (en) Method and apparatus for time-shared processing of different data word sequences
JPH05165873A (en) Digital signal processor
JPH0328899A (en) Audio signal data processor
JPH0784870A (en) Storage circuit
JPH0631996B2 (en) Audio signal data processor
JPH0321997A (en) Audio signal data processor
US5822775A (en) Efficient data processing method for coefficient data in a digital dignal, processor
JPH0310138B2 (en)
JPS6243214B2 (en)
JP2553630B2 (en) Data processing device
JPH0321998A (en) Audio signal data processor
JP2000077978A (en) Digital filter
JPH0410055A (en) Digital signal processor