JPH0630056B2 - Signal processor - Google Patents

Signal processor

Info

Publication number
JPH0630056B2
JPH0630056B2 JP62273763A JP27376387A JPH0630056B2 JP H0630056 B2 JPH0630056 B2 JP H0630056B2 JP 62273763 A JP62273763 A JP 62273763A JP 27376387 A JP27376387 A JP 27376387A JP H0630056 B2 JPH0630056 B2 JP H0630056B2
Authority
JP
Japan
Prior art keywords
instruction
processor
signal processing
memory
instruction 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
JP62273763A
Other languages
Japanese (ja)
Other versions
JPH01114940A (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP62273763A priority Critical patent/JPH0630056B2/en
Priority to EP93104195A priority patent/EP0551931B1/en
Priority to EP93104238A priority patent/EP0551934A2/en
Priority to DE3856220T priority patent/DE3856220T2/en
Priority to DE3856175T priority patent/DE3856175T2/en
Priority to DE3856219T priority patent/DE3856219T2/en
Priority to EP93104196A priority patent/EP0551932B1/en
Priority to EP93104194A priority patent/EP0554917B1/en
Priority to EP19930104197 priority patent/EP0551933A3/en
Priority to EP88108755A priority patent/EP0293851B1/en
Priority to DE3851858T priority patent/DE3851858T2/en
Priority to US07/201,208 priority patent/US5045993A/en
Priority to CA000568527A priority patent/CA1288169C/en
Publication of JPH01114940A publication Critical patent/JPH01114940A/en
Priority to US07/750,478 priority patent/US5247627A/en
Priority to US07/750,408 priority patent/US5222241A/en
Priority to US07/750,512 priority patent/US5206940A/en
Priority to US07/755,503 priority patent/US5237667A/en
Publication of JPH0630056B2 publication Critical patent/JPH0630056B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は,主に信号処理を対象とする演算を行う信号
処理装置に関するものである。
Description: TECHNICAL FIELD The present invention relates to a signal processing device that performs an operation mainly for signal processing.

〔従来の技術〕[Conventional technology]

第5図は例えば昭和61年度電子通信学会通信部門全国
大会シンポジウム予稿(No.S10−1)に示された、主
に音声信号処理を対象としたデイジタル信号処理プロセ
ツサ(DSSP1)を用い,ホストプロセツサによつて制御
した信号処理装置を示す簡略化されたブロツク図であ
る。(1)は信号処理装置の制御を行うホストプロセツ
サ,(2)は主に信号処理を行う信号処理プロセツサ,(3)
は命令メモリの選択信号,(4)は信号処理プロセツサ(2)
の初期化を行うリセツト信号,(5)はプログラムカウン
タ(以下PCと略す),(6)は命令アドレス,(7)は予め
命令語を記憶させた読出し専用命令メモリ(8)も命令語
を記憶させた外部命令メモリ,(9)は2つの命令語のう
ち,どちらか一方を選択信号(3)によつて選択するため
の切換回路,(10)は命令語を保持する命令語レジスタ
(以下IRと略す),(11)は命令語の解読を行なうデコ
ーダ,(12)は各種演算処理を行う演算処理部,(13)は制
御信号,(14)は信号処理を行う演算データを記憶させた
データメモリ,(15)は演算データである。また,第6図
はその動作を説明するためのフローチヤートである。
Fig. 5 shows a host processor using a digital signal processing processor (DSSP1) mainly for audio signal processing, which was shown in, for example, the 1986 Proceedings of the Symposium of the IEICE Communications Division National Conference (No.S10-1). FIG. 3 is a simplified block diagram showing a signal processing device controlled by a sensor. (1) is a host processor that controls the signal processing device, (2) is a signal processing processor that mainly performs signal processing, and (3)
Is an instruction memory selection signal, (4) is a signal processing processor (2)
Reset signal for initializing, a program counter (abbreviated as PC below) (5), an instruction address (6), and a read-only instruction memory (8) in which an instruction word is stored in advance. The stored external instruction memory, (9) is a switching circuit for selecting one of the two instruction words by the selection signal (3), and (10) is an instruction word register (holding an instruction word ( Hereinafter, abbreviated as IR), (11) is a decoder that decodes an instruction word, (12) is an arithmetic processing unit that performs various arithmetic processes, (13) is a control signal, and (14) stores arithmetic data that performs signal processing. The data memory, (15), is the calculated data. Further, FIG. 6 is a flow chart for explaining the operation.

次に第5図及び第6図に基づき,この信号処理の動作に
ついて説明する。まず,電源が投入されるとホストプロ
セツサ(1)が動作を開始し,信号処理プロセツサ(2)に対
して内部か外部のどちらの命令メモリを用いるかの選択
信号(3)の出力する。選択信号(3)の論理値が“0”で内
部,論理値が“1”で外部の命令メモリは選択される。
その後,ホストプロセツサ(1)は信号処理プロセツサ(2)
に対してリセツト信号(4)を出力する。信号処理プロセ
ツサ(2)ではリセツト信号(4)を受け取ると内部レジスタ
等の初期設定を行ないPC(5)の値をゼロとする。次に
PC(5)から出力された0番地を示す命令アドレス(6)が
信号処理プロセツサ(2)内部の読出し専用命令メモリ(7)
及び外部の外部命令メモリ(8)に入力され,そのアドレ
スの命令語がそれぞれ読出され切換回路(9)に入力され
る。切換回路(9)ではホストプロセツサ(1)から与えられ
た選択信号(3)によりどちらか一方の命令語を選択し,I
R(10)にセツトされる。IR(10)にセツトされた命令語
はデコーダ(11)で解読(デコード)され,各部への制御
信号が生成される。信号処理プロセツサ(2)内部の演算
処理部(12)はデコーダ(11)からの制御信号(13)によつて
制御され,データメモリ(14)内の演算データ(15)に対し
て各種演算が行われる。
Next, the operation of this signal processing will be described with reference to FIGS. 5 and 6. First, when the power is turned on, the host processor (1) starts its operation, and outputs to the signal processing processor (2) a selection signal (3) for selecting which internal or external instruction memory is used. When the logical value of the selection signal (3) is "0", the internal instruction memory is selected, and when the logical value is "1", the external instruction memory is selected.
After that, the host processor (1) is the signal processing processor (2).
To reset signal (4). When the signal processing processor (2) receives the reset signal (4), it initializes the internal registers and the like and sets the value of the PC (5) to zero. Next, the instruction address (6) indicating the address 0 output from the PC (5) is the read-only instruction memory (7) inside the signal processing processor (2).
And an external external instruction memory (8), and the instruction word at that address is read and input to the switching circuit (9). In the switching circuit (9), either one of the command words is selected by the selection signal (3) given from the host processor (1), and I
Set to R (10). The instruction word set in the IR (10) is decoded (decoded) by the decoder (11) to generate control signals for each section. The arithmetic processing unit (12) inside the signal processing processor (2) is controlled by the control signal (13) from the decoder (11), and various arithmetic operations are performed on the arithmetic data (15) in the data memory (14). Done.

従来の装置において複雑な信号処理を行う場合,プログ
ラムが大きくなる傾向にあり,信号処理プロセツサ(2)
内部の読出し専用命令メモリ(7)のプログラム容量では
不足で外部命令メモリ(8)を使用する必要がある。外部
命令メモリ(8)を使用する場合,命令アドレス(6)の出力
や命令語の入力を外部端子を用いて信号処理プロセツサ
(2)内部の信号と外部の信号をやりとりするために入出
力素子が必要で,内部の読出し専用命令メモリ(7)から
の読出しに対して余分な素子を介するために命令語を読
出すのに必要な時間が長くなる。このため,外部命令メ
モリ(8)を用いる場合には周期の長いクロツクを信号処
理プロセツサ(2)に与えなければならず,命令メモリの
切換えを行つた後はリセツト信号(4)を入力し,初期設
定を行わないと誤動作する。
When performing complicated signal processing in the conventional device, the program tends to be large, and the signal processing processor (2)
It is necessary to use the external instruction memory (8) because the program capacity of the internal read-only instruction memory (7) is insufficient. When using the external instruction memory (8), output the instruction address (6) and input the instruction word using the external terminal
(2) An input / output element is required for exchanging internal signals and external signals, and an instruction word is read in order to pass through an extra element for reading from the internal read-only instruction memory (7). It takes longer to get to. Therefore, when using the external instruction memory (8), a clock with a long cycle must be given to the signal processing processor (2), and after the instruction memory is switched, the reset signal (4) is input, If you do not make initial settings, it will malfunction.

また,信号処理プロセツサ(2)内部の読出し専用命令メ
モリ(7)はプロセツサを製造する際に予めプログラムを
書込んでおく,いわゆるマスクROMで構成されてお
り,特定の処理を行うための専用プログラムを書込む様
になつている。
The read-only instruction memory (7) inside the signal processing processor (2) is composed of a so-called mask ROM in which a program is written in advance when the processor is manufactured, and is a dedicated program for performing a specific process. It seems to write.

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

従来の信号処理装置は以上のように構成されているの
で,信号処理プロセツサに複雑な処理や他の処理を行わ
せるには外部に命令メモリを備え,外部から命令語を読
込んで実行することが必要で,外部から命令語を読込む
ための時間ロスが発生し,処理効率が半減する上,信号
処理プロセツサ内部の命令メモリは書込み専用メモリの
ため,プロセツサ製造後のプログラムの変更が行えずプ
ログラムに誤りや修正があつた際にはプロセツサを再度
製造し,信号処理プロセツサ自体を交換する必要があり
開発効率が低く,不経済である等の問題点があつた。
Since the conventional signal processing device is configured as described above, in order to allow the signal processing processor to perform complicated processing and other processing, an external instruction memory is provided, and it is possible to read and execute an instruction word from the outside. The processing time is reduced by half because it takes time to read an instruction word from the outside, and the instruction memory inside the signal processing processor is a write-only memory. Therefore, the program cannot be changed after the processor is manufactured, and the program error occurs. In case of any modification or modification, it is necessary to remanufacture the processor and replace the signal processing processor itself, resulting in low development efficiency and uneconomical problems.

この発明は上記のような問題点を解消するためになされ
たもので,ホストプロセツサからの指示により容易にプ
ログラムの変更を行うことができ,大幅なハードウエア
の追加や処理効率の低下を招くことなく信号処理プロセ
ツサに複雑な処理や一時的に他の処理が実行できる等,
その処理を柔軟に変化させられることのできる信号処理
装置を得ることを目的とする。
The present invention has been made to solve the above problems, and a program can be easily changed by an instruction from a host processor, which causes a large addition of hardware and a decrease in processing efficiency. Without complicated processing or temporary execution of other processing in the signal processing processor, etc.
An object of the present invention is to obtain a signal processing device whose processing can be changed flexibly.

〔問題点を解決するための手段〕[Means for solving problems]

この発明に係る信号処理装置は,信号処理プロセツサ内
部の命令メモリを書込み可能命令メモリとし,ホストプ
ロセツサからの指示により信号処理プロセツサの一時停
止,再開を制御するとともに書込み可能命令メモリを書
込み,読出しを制御するようにしたものである。
A signal processing device according to the present invention uses an instruction memory inside a signal processing processor as a writable instruction memory, controls temporary stop and restart of the signal processing processor according to an instruction from a host processor, and writes and reads the writable instruction memory. Is controlled.

〔作用〕[Action]

この発明における信号処理装置は,ホストプロセツサに
おり信号処理プロセツサの動作が一時停止され,信号処
理プロセツサ内部の命令メモリが書換えられたのち,動
作が再開され,他の処理を行うことを可能とする。
In the signal processing device according to the present invention, the operation of the signal processing processor is temporarily stopped in the host processor, the instruction memory inside the signal processing processor is rewritten, and then the operation is restarted to enable other processing. To do.

〔実施例〕〔Example〕

以下,この発明の一実施例を図について説明する。第1
図は信号処理プロセツサ内部の命令メモリに書込んだ内
容が正しいかどうかを判定するいわゆるベリフアイをプ
ロセツサ内部において行つた例で,(21)はホストプロセ
ツサ,(22)は信号処理プロセツサ,(23)は信号処理プロ
セツサ(22)の命令実行動作の一時停止を要求するホール
ド要求信号,(24)は一時停止していることを外部に知ら
せるためのホールド許可信号,(25)はプログラムカウン
タ,(26)は命令メモリ制御部,(27)は書換えを行うこと
のできる書込み可能命令メモリ,(28)は命令アドレス,
(29)は切換回路,(30)は選択信号,(31)は外部命令メモ
リ,(32),(33)は命令語,(34)は比較回路,(35)は判定
結果,(36)は書込み終了信号である。なお,図では演算
処理部は従来例と同様のため省略してある。また,第2
図はその動作を説明するためのフローチヤートである。
An embodiment of the present invention will be described below with reference to the drawings. First
The figure shows an example in which a so-called verification is performed inside the processor to determine whether the contents written in the instruction memory inside the signal processing processor are correct. (21) is the host processor, (22) is the signal processing processor, and (23) ) Is a hold request signal for requesting a temporary stop of the instruction execution operation of the signal processing processor (22), (24) is a hold enable signal for notifying the outside that the suspension is in progress, (25) is a program counter, ( 26) is an instruction memory control unit, (27) is a rewritable instruction memory that can be rewritten, (28) is an instruction address,
(29) is a switching circuit, (30) is a selection signal, (31) is an external instruction memory, (32) and (33) are command words, (34) is a comparison circuit, (35) is a judgment result, (36). Is a write end signal. In the figure, the arithmetic processing unit is omitted because it is similar to the conventional example. Also, the second
The figure is a flow chart for explaining the operation.

更に又は、比較回路(34)は判定手段である。Further alternatively, the comparison circuit (34) is a determination means.

以下,第1図及び第2図に基づき,その動作について述
べる。ホストプロセツサ(21)において,信号処理プロセ
ツサ(22)の処理内容を変更する必要が生じた場合,信号
処理プロセツサ(22)に対して,命令語実行の一時停止を
求めるホールド要求信号(23)をセツトする。信号処理プ
ロセツサ(22)ではホールド要求を受けると現在実行中の
命令が終了すると直ちにホールド許可信号(24)を出力
し,PC(25)の更新を停止し,命令語の実行を一時中断
させる。
The operation will be described below with reference to FIGS. 1 and 2. When it becomes necessary to change the processing contents of the signal processing processor (22) in the host processor (21), a hold request signal (23) for requesting the signal processing processor (22) to temporarily suspend the execution of the instruction word. To set. When the signal processing processor (22) receives a hold request, it immediately outputs a hold permission signal (24) when the currently executing instruction is completed, stops updating the PC (25), and suspends execution of the instruction word.

次に命令メモリ制御部(26)からは書込可能命令メモリ(2
7)のどのアドレスを書換えるかの指定を行う命令アドレ
ス(28)及び切換回路(29)で命令アドレス(28)が選択され
様に選択信号(30)が出力される。命令アドレス(28)は同
時に外部命令メモリ(31)にも出力され,そこから命令語
(32)が出力され,書込み可能命令メモリ(27)に書込まれ
る。書込み可能命令メモリ(27)に書込んだ命令語(32)が
再び書込み可能命令メモリ(27)から読出され,読出され
た命令語(33)と書込んだ命令語(32)が比較回路(34)に入
力され2つの命令語が一致するかどうかの判定が行なわ
れる。2つの命令語が一致しない場合,書込み可能命令
メモリ(27)に書込んだ際にエラーが発生したこととな
り,判定結果(35)により命令メモリ制御部(26)内部の書
込みエラーフラグをセツトする。このフラグはすべての
書込みが終了するまでリセツトされない。
Next, a writable instruction memory (2
The selection signal (30) is output so that the instruction address (28) for designating which address of 7) is rewritten and the instruction address (28) is selected by the switching circuit (29). The instruction address (28) is also output to the external instruction memory (31) at the same time, from which the instruction word
(32) is output and written to the writable instruction memory (27). The instruction word (32) written in the writable instruction memory (27) is read again from the writable instruction memory (27), and the read instruction word (33) and the written instruction word (32) are compared ( It is input to 34) and it is determined whether the two command words match. If the two command words do not match, it means that an error occurred when writing to the writable command memory (27), and the write error flag inside the command memory control unit (26) is set according to the judgment result (35). . This flag is not reset until all writes are complete.

以上で1命令語の書込むが終了し,すべての命令語の書
換えが終了するまで上記の動作を繰返す。すべての書込
みが終了した後,命令メモリ制御部(26)の書込みエラー
フラグの状態を調べ,セツトされていればフラグをリセ
ツトし,再度,命令語の書込みを開始する。書込みエラ
ーフラグがセツトされておらず書換えが正常に終了した
場合,書込み終了信号(36)をホストプロセツサ(21)に出
力する。ホストプロセツサ(21)ではホールド要求信号(2
3)を解除し,一時停止を解除する。信号処理プロセツサ
(22)ではホールド要求信号(23)が解除されると命令メモ
リ制御部(26)では切換回路(29)でPC(25)の命令アドレ
スが選択されるように選択信号(30)を出力し,PC(25)
は命令アドレスの更新を行い,一時停止する際,最後に
実行した命令語の命令アドレスの次の命令アドレスから
命令が実行される。このように信号処理プロセツサ内部
の命令メモリを書換え可能なものとすることにより,容
易に信号処理の処理内容を変更することが可能となる。
また,内部にベリフアイ回路を内蔵させ,書換えミスに
よるプロセツサの誤動作を防止することができる。
The above operation is repeated until the writing of one instruction word is completed and the rewriting of all the instruction words is completed. After the completion of all writing, the state of the write error flag of the instruction memory control unit (26) is checked, and if it is set, the flag is reset and the writing of the instruction word is started again. When the write error flag is not set and the rewriting is completed normally, the write end signal (36) is output to the host processor (21). In the host processor (21), hold request signal (2
Cancel 3) to cancel the pause. Signal processing processor
When the hold request signal (23) is released at (22), the instruction memory control section (26) outputs a selection signal (30) so that the switching circuit (29) selects the instruction address of the PC (25). , PC (25)
Updates the instruction address, and when paused, the instruction is executed from the instruction address next to the instruction address of the last executed instruction word. By thus making the instruction memory inside the signal processing processor rewritable, it becomes possible to easily change the processing contents of the signal processing.
In addition, it is possible to prevent the processor from malfunctioning due to a rewrite error by incorporating a verify circuit inside.

また,第3図に信号処理プロセツサ外部に書込み可能命
令メモリの内容が正しいかどうかを判定する判定回路を
設けた一実施例を示し,第4図にその動作を説明するフ
ローチヤートを示す。
Further, FIG. 3 shows an embodiment in which a judgment circuit for judging whether the contents of the writable instruction memory are correct is provided outside the signal processing processor, and FIG. 4 shows a flow chart for explaining the operation.

尚,信号処理プロセツサ(22)の処理内容を変更する点に
ついて詳細に説明する。
The point of changing the processing contents of the signal processing processor (22) will be described in detail.

ディジタル信号処理、特に音声や画像の情報圧縮におい
ては種々の符号化アルゴリズムが存在し、それらすべて
の処理手順をDSP内部の限られた容量の命令メモリに
予めロードしておくことは不可能である。本発明による
命令書替え可能型DSPを用いて、これら音声や画像の
通信装置を構成した場合、初期ロードではなく回線確立
後に相手装置のもつ符号化アルゴリズムを問合わせ、一
致するアルゴリズムをDSPにロードすることにより同
一装置において種々の符号化アルゴリズムをもつ通信相
手との通信が可能となる。また,通信途中においてアル
ゴリズムの変更が可能となり装置の柔軟な運用ができ
る。
There are various encoding algorithms in digital signal processing, especially in audio and image information compression, and it is impossible to preload all the processing procedures into the instruction memory of limited capacity inside the DSP. . When these voice and image communication devices are configured using the instruction rewritable DSP according to the present invention, the encoding algorithm of the partner device is queried after the line is established, not the initial load, and the matching algorithm is loaded into the DSP. This enables the same device to communicate with a communication partner having various encoding algorithms. In addition, the algorithm can be changed during communication, allowing flexible operation of the device.

また、これらローダをDSP内部に設けることにより周
辺回路の削減が図れ、基板集積度が向上し装置の小型
化、経済化が行え有効である。
Further, by providing these loaders inside the DSP, the peripheral circuits can be reduced, the degree of substrate integration is improved, the size of the device can be reduced, and the cost can be reduced.

以下,第3図及び第4図に基づき,その動作について述
べる。第1図の場合と同様,ホストプロセツサ(41)にお
いて信号処理プロセツサ(42)の処理内容を変更する必要
が生じた場合,ホールド要求信号(23)をセツトし,PC
(25)の更新を停止させ,命令語の実行を一時中断させ
る。ホールド許可信号(24)を受取るとホストプロセツサ
(41)からは命令アドレス(28)が外部命令メモリ(31)と信
号処理プロセツサ(42)へ出力される。外部命令メモリ(3
1)から読出された命令語(32)は切換回路(43)に入力さ
れ,ホストプロセツサ(41)からの選択信号(44)より信号
処理プロセツサ(42)に入力される。次にホストプロセツ
サ(41)からの書込み制御信号(43)により命令メモリ制御
部(46)から切換回路(47)へ選択信号(48)が出力され,書
込み可能命令メモリ(27)への命令語(32)が書込まれる。
次にホストプロセツサ(41)から読出し制御信号(49)が出
力され書込んだ命令語が書込み可能命令メモリ(27)から
命令語(33)が読出され,命令メモリ制御部(46)から切換
回路(47)へ選択信号(48)が出力され,命令語(33)が切換
回路(43)へ入力される。ホストプロセツサ(41)からの選
択信号(44)により命令語(33)が比較回路(50)に入力され
る。比較回路(50)では外部命令メモリ(31)から読出され
た命令語(32)と書込み可能命令メモリ(27)から読出され
た命令語(33)の比較を行ない,その判定結果(51)をホス
トプロセツサ(41)に出力する。ホストプロセツサ(41)で
は判定結果(51)により,2命令語が一致していれば次に
命令語の書込みを実行する。2命令語が一致しなければ
再度命令語を書込みを実行する。すべての書込みが終了
するとホストプロセツサ(41)はホールド要求信号(23)を
解除し,信号処理プロセツサ(42)の動作を再開させるこ
とにより第1図で示した実施例と同様の効果を奏するこ
とができる。
The operation will be described below with reference to FIGS. 3 and 4. As in the case of FIG. 1, when it is necessary to change the processing contents of the signal processing processor (42) in the host processor (41), the hold request signal (23) is set and the PC
The update of (25) is stopped, and the execution of the command is suspended. When the hold enable signal (24) is received, the host processor
The instruction address (28) is output from (41) to the external instruction memory (31) and the signal processing processor (42). External instruction memory (3
The command word (32) read from 1) is input to the switching circuit (43) and is input to the signal processing processor (42) by the selection signal (44) from the host processor (41). Next, the instruction control signal (43) from the host processor (41) outputs the selection signal (48) from the instruction memory control unit (46) to the switching circuit (47), and the instruction to the writable instruction memory (27) is issued. The word (32) is written.
Next, the read control signal (49) is output from the host processor (41) and the written instruction word is writable.The instruction word (33) is read from the instruction memory (27) and switched from the instruction memory control unit (46). The selection signal (48) is output to the circuit (47), and the command word (33) is input to the switching circuit (43). The command word (33) is input to the comparison circuit (50) by the selection signal (44) from the host processor (41). The comparison circuit (50) compares the instruction word (32) read from the external instruction memory (31) with the instruction word (33) read from the writable instruction memory (27), and determines the judgment result (51). Output to the host processor (41). In the host processor (41), if the two instruction words match with each other according to the determination result (51), the instruction word is written next. If the two command words do not match, the command word is written again. When all the writing is completed, the host processor (41) releases the hold request signal (23) and restarts the operation of the signal processing processor (42), thereby achieving the same effect as that of the embodiment shown in FIG. be able to.

なお,本実施例においてm×n(mは1以上の整数,n
は2以上の整数)ビツト幅の命令語を外部命令メモリか
ら読出し,信号処理プロセツサに入力する場合,m×n
個の外部端子が必要となるがmビツト幅のビツト幅に分
割し,n回に分けて内部の書込み可能命令メモリに書込
むことを行えばm個の外部端子で済む。例えば32ビツ
ト幅の命令語を入力する場合,一度に入力するには32
個の外部端子が必要となるが8ビツト幅に分割し,4回
に分けて入力すれば8個の外部端子のみで入力すること
が可能となり,書換えに4倍の時間を必要とするが外部
端子の本数が制限されている場合,非常に有効な手段と
なる。
In this embodiment, m × n (m is an integer of 1 or more, n
Is an integer of 2 or more) When an instruction word with a bit width is read from the external instruction memory and input to the signal processing processor, m × n
Although the number of external terminals is required, if the number of bits is divided into m bit widths and the data is written into the internal writable instruction memory n times, m external terminals will suffice. For example, when inputting an instruction word with a width of 32 bits, it is necessary to input 32 words at a time.
Although it requires 8 external terminals, if it is divided into 8 bit widths and input 4 times, it is possible to input with only 8 external terminals, which requires 4 times time for rewriting. This is a very effective means when the number of terminals is limited.

〔発明の効果〕〔The invention's effect〕

以上のように、この発明によれば信号処理プロセッサ内
部の命令メモリを書込み可能命令メモリとし、ホストプ
ロセッサからの指示によりその動作を一時停止させ、信
号処理プロセッサ内部の命令メモリを書き換える。更
に、判定手段が前記書込み可能命令メモリの命令語の書
込みを判定し、この判定結果にもとづいてホストプロセ
ッサがプロセッサの動作を制御するように構成したの
で、プロセッサ製造後、任意にプログラムの変更が行え
開発効率が高く経済的である上、信号処理中においても
一時命令実行を停止させてプログラムを書換え、命令実
行を再開させることによって、より複雑な信号処理や、
単一の信号処理プロセッサにおいて種々の信号処理機能
をもたせることが可能となりより柔軟な信号処理を行え
る。又、書換えミスによるプロセッサの誤動作を防止す
ることができる効果がある。
As described above, according to the present invention, the instruction memory inside the signal processor is made a writable instruction memory, its operation is temporarily stopped by an instruction from the host processor, and the instruction memory inside the signal processor is rewritten. Further, since the judging means judges writing of the command word in the writable command memory and the host processor controls the operation of the processor based on the judgment result, the program can be arbitrarily changed after the processor is manufactured. It can be done and development efficiency is high, it is economical, and even during signal processing, by temporarily stopping instruction execution, rewriting the program and restarting instruction execution, more complex signal processing,
Since a single signal processor can have various signal processing functions, more flexible signal processing can be performed. Further, there is an effect that it is possible to prevent a malfunction of the processor due to a rewriting mistake.

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

第1図はこの発明の一実施例による信号処理装置を示す
ブロツク図,第2図は第1図の一実施例の動作を説明す
るフローチヤート,第3図はこの発明の他の実施例を示
す信号処理装置を示すブロツク図,第4図は第3図の動
作を説明するフローチヤート,第5図は従来の信号処理
装置を示すブロツク図,第6図は第5図の従来例の動作
を説明するフローチヤートである。 (21)はホストプロセツサ,(22)は信号処理プロセツサ,
(23)はホールド要求信号,(24)はホールド許可信号,(2
5)はプログラムカウンタ,(26)は命令メモリ制御部,(2
7)は書込み可能命令メモリ,(28)は命令アドレス,(29)
は切換回路,(30)は選択回路,(31)は外部命令メモリ,
(32),(33)は命令語,(34)は比較回路,(35)は判定結
果,(36)は書込み終了信号である。 なお,図中,同一符号は同一又は相当部分を示す。
FIG. 1 is a block diagram showing a signal processing device according to an embodiment of the present invention, FIG. 2 is a flow chart for explaining the operation of the embodiment of FIG. 1, and FIG. 3 is another embodiment of the present invention. FIG. 4 is a block diagram showing the signal processing device shown in FIG. 4, FIG. 4 is a flow chart for explaining the operation of FIG. 3, FIG. 5 is a block diagram showing the conventional signal processing device, and FIG. 6 is the operation of the conventional example of FIG. It is a flow chart explaining. (21) is the host processor, (22) is the signal processing processor,
(23) is a hold request signal, (24) is a hold enable signal, and (2
5) is the program counter, (26) is the instruction memory controller, (2
7) is writable instruction memory, (28) is instruction address, (29)
Is a switching circuit, (30) is a selection circuit, (31) is an external instruction memory,
(32) and (33) are command words, (34) is a comparison circuit, (35) is a judgment result, and (36) is a write end signal. In the drawings, the same reference numerals indicate the same or corresponding parts.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭58−78248(JP,A) 「TMS32020 ディジタル・シグナ ル・プロセッサ ユーザーズ マニュア ル」日本テキサスインスツルメンツ株式会 社(1986−11)P.2−1〜2−18,6− 1〜6−6 ─────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A-58-78248 (JP, A) "TMS32020 Digital Signal Processor User's Manual" Texas Instruments Japan Ltd. (1986-11) P. 2-1 to 2-18, 6-1 to 6-6

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】種々の内部動作を指示する命令語を記憶さ
せる書込み可能命令メモリを内部に備えた主に信号処理
を行うプロセッサと、前記プロセッサ動作の一時停止、
再開を指示する手段と、前記書込み可能命令メモリに書
込む命令語を記憶させた命令メモリと、それらに接続さ
れたそれら制御を行うホストプロセッサを備えた信号処
理装置において、前記ホストプロセッサからの指示によ
り前記プロセッサの動作を一時停止させ、前記命令メモ
リから命令語を読出し、前記書込み可能命令メモリに書
込む手段と、前記書込み可能命令メモリに所定の命令語
が書込まれたかを判定する判定手段と、この判定手段の
判定結果にもとづいて前記プロセッサの動作を制御する
ホストプロセッサとを備えたことを特徴とする信号処理
装置。
1. A processor mainly provided with a writable instruction memory for storing instruction words for instructing various internal operations, which mainly performs signal processing, and a pause of the processor operation.
An instruction from the host processor in a signal processing device comprising means for instructing restart, an instruction memory storing an instruction word to be written in the writable instruction memory, and a host processor connected to them for controlling them. Means for temporarily stopping the operation of the processor, reading an instruction word from the instruction memory, writing the instruction word in the writable instruction memory, and determining means for determining whether a predetermined instruction word has been written in the writable instruction memory And a host processor that controls the operation of the processor based on the determination result of the determination means.
【請求項2】命令メモリから命令語を読出し、書込み可
能命令メモリに書込む際に、ホストプロセッサから出力
される命令アドレスに従って前記命令メモリから命令語
が読出され、前記ホストプロセッサから出力される命令
アドレスと書込み制御信号によって前記書込み可能命令
メモリに書込んだ後、前記ホストプロセッサからの読出
し制御信号によって前記書込み可能命令メモリから読出
され、読出した命令語と書込んだ命令語が一致するかの
判定を前記ホストプロセッサにおいて行い、一致しなけ
れば再度前記書込み可能メモリに命令語を書込むように
前記ホストプロセッサが制御することを特徴とした特許
請求の範囲の第1項記載の信号処理装置。
2. When an instruction word is read from the instruction memory and written in the writable instruction memory, the instruction word is read from the instruction memory according to the instruction address output from the host processor and output from the host processor. After writing to the writable instruction memory by an address and a write control signal, whether the read instruction word and the written instruction word are read from the writable instruction memory by the read control signal from the host processor and match. The signal processing apparatus according to claim 1, wherein the host processor controls the host processor so that the determination is made in the host processor, and if they do not match, the command word is written again in the writable memory.
【請求項3】命令メモリから命令語の読出し、書込み可
能命令メモリへ命令語を書込む際に、m×n(mは1以
上の整数、nは2以上の整数)ビット幅の命令語をmビ
ット幅に分割し、n回にわけて読出し、書込みを行うこ
とを特徴とした特許請求の範囲の第1項記載の信号処理
装置。
3. An instruction word of m × n (m is an integer of 1 or more, n is an integer of 2 or more) bit width when reading the instruction word from the instruction memory and writing the instruction word to the writable instruction memory. The signal processing device according to claim 1, wherein the signal processing device is divided into m bits and read and written in n times.
JP62273763A 1987-06-05 1987-10-29 Signal processor Expired - Lifetime JPH0630056B2 (en)

Priority Applications (17)

Application Number Priority Date Filing Date Title
JP62273763A JPH0630056B2 (en) 1987-10-29 1987-10-29 Signal processor
EP88108755A EP0293851B1 (en) 1987-06-05 1988-06-01 Digital signal processor
DE3851858T DE3851858T2 (en) 1987-06-05 1988-06-01 Digital signal processor.
DE3856220T DE3856220T2 (en) 1987-06-05 1988-06-01 Digital signal processor that processes conditional multipoint jump commands in pipeline mode
DE3856175T DE3856175T2 (en) 1987-06-05 1988-06-01 Digital signal processing system in which a processor accesses two command memories under the control of a host
DE3856219T DE3856219T2 (en) 1987-06-05 1988-06-01 Digital signal processor with address generator for accessing data from a two-way area of a data memory
EP93104196A EP0551932B1 (en) 1987-06-05 1988-06-01 Digital signal processor processing multi-point conditional branch operations in a pipeline mode
EP93104194A EP0554917B1 (en) 1987-06-05 1988-06-01 Digital signal processing system having two instruction memories accessed by a processor under control of host
EP19930104197 EP0551933A3 (en) 1987-06-05 1988-06-01 Digital signal processor
EP93104195A EP0551931B1 (en) 1987-06-05 1988-06-01 Digital signal processor comprising address generator accessing data stored in bidirectional space of data memory
EP93104238A EP0551934A2 (en) 1987-06-05 1988-06-01 Digital signal processor
US07/201,208 US5045993A (en) 1987-06-05 1988-06-03 Digital signal processor
CA000568527A CA1288169C (en) 1987-06-05 1988-06-03 Digital signal processor
US07/750,478 US5247627A (en) 1987-06-05 1991-08-27 Digital signal processor with conditional branch decision unit and storage of conditional branch decision results
US07/750,408 US5222241A (en) 1987-06-05 1991-08-27 Digital signal processor having duplex working registers for switching to standby state during interrupt processing
US07/750,512 US5206940A (en) 1987-06-05 1991-08-27 Address control and generating system for digital signal-processor
US07/755,503 US5237667A (en) 1987-06-05 1991-08-27 Digital signal processor system having host processor for writing instructions into internal processor memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62273763A JPH0630056B2 (en) 1987-10-29 1987-10-29 Signal processor

Publications (2)

Publication Number Publication Date
JPH01114940A JPH01114940A (en) 1989-05-08
JPH0630056B2 true JPH0630056B2 (en) 1994-04-20

Family

ID=17532236

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62273763A Expired - Lifetime JPH0630056B2 (en) 1987-06-05 1987-10-29 Signal processor

Country Status (1)

Country Link
JP (1) JPH0630056B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04365170A (en) * 1991-06-12 1992-12-17 Mitsubishi Electric Corp Digital signal processing semiconductor integrated circuit
JPH05313915A (en) * 1992-05-12 1993-11-26 Nec Ic Microcomput Syst Ltd Microcomputer

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4439839A (en) * 1981-08-24 1984-03-27 International Telephone And Telegraph Corporation Dynamically programmable processing element

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
「TMS32020ディジタル・シグナル・プロセッサユーザーズマニュアル」日本テキサスインスツルメンツ株式会社(1986−11)P.2−1〜2−18,6−1〜6−6

Also Published As

Publication number Publication date
JPH01114940A (en) 1989-05-08

Similar Documents

Publication Publication Date Title
EP0554917B1 (en) Digital signal processing system having two instruction memories accessed by a processor under control of host
JP3563768B2 (en) ROM program change device
JP2734468B2 (en) Processor
JP2875842B2 (en) Programmable controller
JPH1078889A (en) Microcomputer
US6925522B2 (en) Device and method capable of changing codes of micro-controller
US6981109B2 (en) Digital signal processor system having programmable random access memory that executes processing during downloading of a program
JPH0630056B2 (en) Signal processor
JPH0869376A (en) Reload control circuit for bios
JP3951371B2 (en) Watchdog timer and microcomputer
JP3152595B2 (en) Microcomputer interrupt handling device
JPH04276838A (en) Cpu with built-in memory
JP3097602B2 (en) Data processing device
JP2003242046A (en) Information processor, and operational method and program for information processor
JPH0520474A (en) One chip microcomputer
JPH11229953A (en) Engine controller
JPH01205339A (en) Microcomputer system
JP2928216B1 (en) Semiconductor integrated circuit
JPH11353170A (en) Flash memory controller and memory access method of flash memory controller
JPH09114678A (en) Interrupt processor for microcomputer
JPH1050086A (en) Microcomputer having eeprom and its rewriting method
JP2001195260A (en) Boot program rewriting system
JP2002163243A (en) Micro-computer
JPH06110506A (en) Comment storage method for programmable controller
JPH08202582A (en) Data transferring device for microprocessor