JPH01114940A - Signal processor - Google Patents

Signal processor

Info

Publication number
JPH01114940A
JPH01114940A JP62273763A JP27376387A JPH01114940A JP H01114940 A JPH01114940 A JP H01114940A JP 62273763 A JP62273763 A JP 62273763A JP 27376387 A JP27376387 A JP 27376387A JP H01114940 A JPH01114940 A JP H01114940A
Authority
JP
Japan
Prior art keywords
instruction
processor
memory
instruction memory
writable
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.)
Granted
Application number
JP62273763A
Other languages
Japanese (ja)
Other versions
JPH0630056B2 (en
Inventor
Atsumichi Murakami
篤道 村上
Yoshiaki Kato
嘉明 加藤
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 EP93104194A priority patent/EP0554917B1/en
Priority to DE3856220T priority patent/DE3856220T2/en
Priority to DE3851858T priority patent/DE3851858T2/en
Priority to EP93104195A priority patent/EP0551931B1/en
Priority to EP88108755A priority patent/EP0293851B1/en
Priority to EP93104238A priority patent/EP0551934A2/en
Priority to EP93104196A priority patent/EP0551932B1/en
Priority to DE3856175T priority patent/DE3856175T2/en
Priority to DE3856219T priority patent/DE3856219T2/en
Priority to EP19930104197 priority patent/EP0551933A3/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/755,503 priority patent/US5237667A/en
Priority to US07/750,408 priority patent/US5222241A/en
Priority to US07/750,478 priority patent/US5247627A/en
Priority to US07/750,512 priority patent/US5206940A/en
Publication of JPH0630056B2 publication Critical patent/JPH0630056B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To easily change a program on the basis of an instruction from a host processor and to improve the flexibility of signal processing by forming a writable instruction memory, an instruction memory control part, etc., in a signal processor. CONSTITUTION:When necessity for changing the processing contents of the signal processor 22 is generated in the host processor 21, a hold request signal 23 for requesting the temporary stop of instruction word execution is set up in the processor 22. Immediately after ending the instruction being executed, the processor 22 outputs a hold allowable signal 24, stops the updating of a program counter 25 and temporarily stops the execution of the instruction word. Then, an instruction address 28 for specifying which address in the writable instruction memory 27 is to be rewritten and a selection signal 30 are outputted from an instruction memory control part 26. The address 28 is also outputted to an external instruction memory 31 and an instruction word 32 is outputted and written in the memory 27. Consequently, a program can be easily changed by an instruction from the processor 21 and more flexible signal processing can be attained.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、主に信号処理を対象とした演算を行う信号
処理装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a signal processing device that performs calculations mainly aimed at signal processing.

〔従来の技術〕[Conventional technology]

第5図は例えば昭和61年度電子通信学会通信部門全国
大会シンポジウム予稿(NIIS 1 G−1”)に示
された。主に音声信号処理を対象としたディジタル信号
処理プロセッサ(DSSP+)を用い、ホストプロセッ
サによって制御した信号処理装置を示す簡略化されたブ
ロック図である。(1)は信号処理装置の制御を行うホ
ストプロセッサ、(21は主に信号処理を行う信号処理
プロセッサ、131は命令メモリの選択信号、f41は
信号処理プロセッサ(21の初期化を行うリセット信号
、(5)はプログラムカウンタ(以下PCと略す) 、
 16)は命令アドレス、(7)は予め命令語を記憶さ
せた読出し専用命令メモリ(8)も命令語を記憶させた
外部命令メモIJ、191は2つの命令語のうち、どち
らか一方を選択信号(3)によって選択するための切換
回路、α1は命令語を保持する命令語レジスタ(以下r
Rと略す)、αDは命令語の解読を行なうデコーダ、 
Uaは各種演算処理を行う演算処理部、α3は制御信号
、 aaは信号処理を行う演算データを記憶させたデー
タメモリ、α9は演算データである。また、第6図はそ
の動作を説明するためのフローチャートである。
Figure 5 was shown, for example, in the 1986 IEICE Telecommunications Division National Conference Symposium Proceedings (NIIS 1 G-1). 1 is a simplified block diagram showing a signal processing device controlled by a processor. (1) is a host processor that controls the signal processing device; (21 is a signal processing processor that mainly performs signal processing; 131 is an instruction memory); A selection signal, f41 is a reset signal that initializes the signal processing processor (21), (5) is a program counter (hereinafter abbreviated as PC),
16) is an instruction address, (7) is a read-only instruction memory (8) in which an instruction word is stored in advance, and external instruction memo IJ is also in which an instruction word is stored. 191 is an instruction address for selecting one of the two instruction words. A switching circuit for selecting by signal (3), α1 is an instruction word register (hereinafter r
(abbreviated as R), αD is a decoder that decodes the instruction word,
Ua is an arithmetic processing unit that performs various arithmetic processes, α3 is a control signal, aa is a data memory storing arithmetic data for signal processing, and α9 is arithmetic data. Further, FIG. 6 is a flowchart for explaining the operation.

次に第5図及び第6図に基づき、この信号処理の動作に
ついて説明する。まず、電源が投入されるとホストプロ
セッサ11)が動作を開始し、信号処理プロセッサ12
+に対して内部か外部のどちらの命令メモリを用いるか
の選択信号+31を出力する。選択信号(31の論理値
が10“で内部、論理値が11“で外部の命令メモリが
選択される。その後、ホストプロセッサ111は信号処
理プロセッサ(2)に対してリセット信号14)を出力
する。信号処理プロセッサ(2)ではリセット信号(4
)を受は取ると内部レジスタ等の初期設定を行ないP 
C+51の値をゼロとした。
Next, the operation of this signal processing will be explained based on FIGS. 5 and 6. First, when the power is turned on, the host processor 11) starts operating, and the signal processing processor 12) starts operating.
A selection signal +31 is output for selecting whether to use an internal or external instruction memory. The selection signal (the internal instruction memory is selected when the logic value of 31 is 10", and the external instruction memory is selected when the logic value is 11").Then, the host processor 111 outputs the reset signal 14 to the signal processing processor (2). . The signal processing processor (2) generates a reset signal (4
), it initializes the internal registers, etc.
The value of C+51 was set to zero.

次にP C(5tから出力されたa番地を示す命令アド
レス(6)が信号処理プロセッサ(2)内部の読出し専
用命令メモリ(7)及び外部の外部命令メモリ(8)に
入力され、そのアドレスの命令語がそれぞれ読出され切
換回路(9)に入力される。切換回路(9)ではホスト
プロセッサ111から与えられた選択信号(31により
どちらか一方の命令語を選択し、 IRQ〔にセットさ
れる。IRQ[lにセットされた命令語はデコーダαυ
で解読(デコード)され、各部への制御信号が生成され
る。信号処理プロセッサ(2)内部の演算処理部α2は
デコーダaυからの制御信号!13によって制御され、
データメモリα4内の演算データα9に対して各種演算
が行われる。
Next, the instruction address (6) indicating address a output from PC (5t) is input to the read-only instruction memory (7) inside the signal processing processor (2) and the external external instruction memory (8), and the address The command words are read out and inputted to the switching circuit (9).The switching circuit (9) selects one of the command words by the selection signal (31) given from the host processor 111, and sets it to IRQ. The instruction word set to IRQ[l is sent to the decoder αυ
The data is decoded to generate control signals for each part. The arithmetic processing unit α2 inside the signal processing processor (2) receives the control signal from the decoder aυ! controlled by 13,
Various calculations are performed on the calculation data α9 in the data memory α4.

従来の装置において複雑な信号処理を行う場合。When performing complex signal processing with conventional equipment.

プログラムが大きくなる傾向にあり、信号処理プロセッ
サ(2)内部の読出し専用命令メモリ(7)のプログラ
ム容量では不足で外部命令メモリ(8)を使用する必要
がある。外部命令メモリ(8)を使用する場合。
As programs tend to become larger, the program capacity of the read-only instruction memory (7) inside the signal processing processor (2) is insufficient and an external instruction memory (8) must be used. When using external instruction memory (8).

命令アドレス(6)の出力や命令語の入力を外部端子を
用いて信号処理プロセッサ(2)内部の信号と外部の信
号をやりとりするために入出力素子が必要で。
Input/output elements are required to output the instruction address (6) and input the instruction word using external terminals to exchange internal signals and external signals of the signal processing processor (2).

内部の読出し専用命令メモリ(7)からの読出しに対し
て余分な素子を介するために命令語を読出すのに必要な
時間が長くなる。このため、外部命令メモリ(8)を用
いる場合には周期の長いクロックを信号処理プロセッサ
+2)に与えなければならず、命令メモリの切換えを行
った後はリセット信号(4)を入力し、初期設定を行わ
ないと誤動作する。
The time required to read an instruction word increases due to the extra elements required for reading from the internal read-only instruction memory (7). Therefore, when using the external instruction memory (8), a long-cycle clock must be given to the signal processing processor +2), and after switching the instruction memory, a reset signal (4) must be input and the initial If the settings are not made, it will malfunction.

また、信号処理プロセッサ(2)内部の読出し専用命令
メモリ(7)はプロセッサを製造する際に予めプログラ
ムを書込んでおく、いわゆるマスクROMで構成されて
おり、特定の処理を行うための専用プログラムを書込む
様になっている。
In addition, 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. It is designed to write .

〔発明が解決しようとした問題点〕[Problem that the invention sought to solve]

従来の信号処理装置は以上のように構成されているので
、信号処理プロセッサに複雑な処理や他の処理を行わせ
るには外部に命令メモリを備え。
Conventional signal processing devices are configured as described above, and in order to have the signal processing processor perform complex processing or other processing, an external instruction memory is provided.

外部から命令語を読込んで実行することが必要で。It is necessary to read and execute commands from outside.

外部から命令語を読込むための時間ロスが発生し。A time loss occurs when reading the instruction words from outside.

処理効率が半減する上、信号処理プロセッサ内部の命令
メモリは書込み専用メモリのため、プロセッサ製造後の
プログラムの変更が行えずプログラムに誤りや修正があ
った際にはプロセッサを再度製造し、信号処理プロセッ
サ自体を交換する必要があり開発効率が低く、不経済で
ある等の問題点があった。
In addition to halving the processing efficiency, the instruction memory inside the signal processing processor is a write-only memory, so it is not possible to change the program after the processor is manufactured, and if there is an error or correction in the program, the processor must be manufactured again and the signal processing There were problems such as the need to replace the processor itself, which led to low development efficiency and uneconomical performance.

この発明は上記のような問題点を解消するためになされ
たもので、ホストプロセッサからの指示により容易にプ
ログラムの変更を行うことができ。
This invention was made to solve the above-mentioned problems, and allows programs to be easily changed based on instructions from a host processor.

大幅なハードウェアの追加や処理効率の低下を招くこと
なく信号処理プロセッサに複雑な処理や一時的に他の処
理が実行できる等、その処理を柔軟に変化させられるこ
とのできる信号処理装置を得ることを目的とした。
To obtain a signal processing device that can flexibly change processing, such as allowing a signal processing processor to execute complex processing or other processing temporarily, without adding significant hardware or reducing processing efficiency. The purpose was to

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

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

〔作 用〕[For production]

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

〔実施例〕〔Example〕

以下、この発明の一実施例を図について説明する。第1
図は信号処理プロセッサ内部の命令メモリに書込んだ内
容が正しいかどうかを判定するいわゆるベリファイをプ
ロセッサ内部において行った例で、 r2Dはホストプ
ロセッサ、■は信号処理プロセッサ、c!3は信号処理
プロセッサのの命令実行動作の一時停止を要求するホー
ルド要求信号、r24は一時停止していることを外部に
知らせるためのホールド許可信号、c!9はプログラム
カウンタ、■は命令メモリ制御部、■は書換えを行うこ
とのできる書込み可能命令メモリ、@は命令アドレス。
An embodiment of the present invention will be described below with reference to the drawings. 1st
The figure shows an example in which so-called verification is performed inside the processor to determine whether the contents written to the instruction memory inside the signal processing processor are correct. r2D is the host processor, ■ is the signal processing processor, and c! 3 is a hold request signal that requests a temporary stop of the instruction execution operation of the signal processing processor, r24 is a hold permission signal that notifies the outside that the instruction execution operation is temporarily stopped, and c! 9 is a program counter, ■ is an instruction memory control unit, ■ is a writable instruction memory that can be rewritten, and @ is an instruction address.

■は切換回路、C31は選択信号、0υは外部命令メモ
!J、G3.C(3は命令語、(至)は比較回路、 C
6は判定結果、(至)は書込み終了信号である。なお1
図では演算処理部は従来例と同様のため省略しである。
■ is the switching circuit, C31 is the selection signal, and 0υ is the external command memo! J, G3. C (3 is the instruction word, (to) is the comparison circuit, C
6 is the determination result, and (to) is the write end signal. Note 1
In the figure, the arithmetic processing section is omitted because it is the same as in the conventional example.

また、第2図はその動作を説明するためのフローチャー
トである。
Moreover, FIG. 2 is a flowchart for explaining the operation.

以下、第1図及び第2図に基づき、その動作について述
べる。ホストプロセッサなりにおいて、信号処理プロセ
ッサ四の処理内容を変更する必要が生じた場合、信号処
理プロセッサ口に対して、命令語実行の一時停止を求め
るホールド要求信号のをセットする。信号処理プロセッ
サのではホールド要求を受けると現在実行中の命令が終
了すると直ちにホールド許可信号Q4を出力し、PCc
aの更新を停止し、命令語の実行を一時中断させる。
The operation will be described below based on FIGS. 1 and 2. In the host processor, when it becomes necessary to change the processing content of the signal processing processor 4, a hold request signal is set to the signal processing processor port to request a temporary stop of execution of the instruction word. When the signal processing processor receives a hold request, it immediately outputs a hold permission signal Q4 as soon as the currently executed instruction is completed, and the PCc
The update of a is stopped, and the execution of the instruction word is temporarily suspended.

次に命令メモリ制御部(至)からは書込可能命令メモリ
ーのどのアドレスを書換えるかの指定を行う命令アドレ
ス(至)及び切換回路ので命令アドレスGが選択される
様に選択信号■が出力される。命令アドレス(至)は同
時に外部命令メモリ00にも出力され、そこから命令語
(至)が出力され、書込み可能命令メモリ■に書込まれ
る。書込み可能命令メモリのに書込んだ命令語(至)が
再び書込み可能命令メモリのから読出され、読出された
命令語(至)と書込んだ命令語(至)が比較回路(至)
に入力され2つの命令語が一致するかどうかの判定が行
なわれる。2つの命令語が一致しない場合、書込み可能
命令メモリ面に書込んだ際にエラーが発生したこととな
り。
Next, the instruction memory control unit (to) outputs an instruction address (to) that specifies which address in the writable instruction memory is to be rewritten, and a selection signal ■ to select the instruction address G from the switching circuit. be done. The instruction address (to) is simultaneously output to the external instruction memory 00, from which the instruction word (to) is output and written to the writable instruction memory (2). The instruction word (to) written in the writable instruction memory is read out again from the writable instruction memory, and the read instruction word (to) and the written instruction word (to) are compared to the comparison circuit (to).
A determination is made as to whether the two command words match. If the two instruction words do not match, an error has occurred when writing to the writable instruction memory surface.

判定結果(至)により命令メモリ制御部(至)内部の書
込みエラーフラグをセットする。このフラグはすべての
書込みが終了するまでリセットされない。
Based on the determination result (to), a write error flag inside the instruction memory control unit (to) is set. This flag is not reset until all writes are completed.

以上で1命令語の書込みが終了し、すべての命令語の書
換えが終了するまで上記の動作を繰返す。
The above operation is repeated until writing of one instruction word is completed and rewriting of all instruction words is completed.

すべての吉込みが終了した後、命令メモリ制御部■の書
込みエラーフラグの状態を調べ、セットされていればフ
ラグをリセットし、再度、命令語の書込みを開始する。
After all the writing has been completed, the state of the write error flag in the instruction memory control unit (2) is checked, and if it is set, the flag is reset and writing of the instruction word is started again.

書込みエラーフラグがセットされておらず書換えが正常
に終了した場合、書込み終了信号(至)をホストプロセ
ッサC!υに出力する。
If the write error flag is not set and the rewriting is completed normally, the write end signal (to) is sent to the host processor C! Output to υ.

ホストプロセッサ3υではホールド要求信号のを解除し
、−時停止を解除する。信号処理プロセッサ四ではホー
ルド要求信号Qが解除されると命令メモリ制御部のでは
切換回路■でPC■の命令アドレスが選択されるように
選択信号(至)を出力し。
The host processor 3υ cancels the hold request signal and cancels the - time stop. When the hold request signal Q is released in the signal processor 4, the instruction memory control section outputs a selection signal (to) so that the switching circuit 2 selects the instruction address of the PC 2.

PC(至)は命令アドレスの更新を行い、−時停止する
際、最後に実行した命令語の命令アドレスの次の命令ア
ドレスから命令が実行される。このように信号処理プロ
セッサ内部の命令メモリを書換え可能なものとしたこと
により、容易に信号処理の処理内容を変更することが可
能となる。また、内部にヘリファイ回路を内蔵させ、書
換えミスによるプロセッサの誤動作を防止することがで
きる。
The PC (to) updates the instruction address, and when stopping at -, the instruction is executed from the instruction address next to the instruction address of the last executed instruction word. By making the instruction memory inside the signal processing processor rewritable in this way, it becomes possible to easily change the contents of signal processing. Additionally, a helifi circuit is built inside to prevent malfunctions of the processor due to rewriting errors.

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

以下、第3図及び第4図に基づき、その動作について述
べる。第1図の場合と同様、ホストプロセッサ圓におい
て信号処理プロセッサ+43の処理内容を変更する必要
が生じた場合、ホールド要求信号のをセットし、PC(
ハ)の更新を停止させ、命令語の実行を一時中断させる
。ホールド許可信号Q4を受取るとホストプロセッサl
からは命令アドレス(至)が外部命令メモリr3υと信
号処理プロセッサ93へ出力される。外部命令メモ11
)から読出された命令語(至)は切換回路93に入力さ
れ、ホストプロセッサIからの選択信号1441より信
号処理プロセッサりに入力される。次にホストプロセッ
サIか°らの書込み制御信号四により命令メモリ制御部
(ハ)から切換回路補へ選択信号咽が出力され、書込み
可能命令メモリ(3)へ命令諸国が書込まれる。次にホ
ストプロセッサ14tlから読出し制御信号(49が出
力され書込んだ命令語が書込み可能命令メモリのから命
令語−が読出され、命令メモリ制御部−から切換回路C
ηへ選択信号(ロ)が出力され、命令語Cが切換回路I
へ入力される。ホストプロセッサ圓からの選択信号14
4により命令語口が比較回路のに入力される。比較回路
ωでは外部命令メモ17 C1υから読出された命令語
(至)と書込み可能命令メモリQ’nから読出された命
令語口の比較を行ない、その判定結果(51)をホスト
プロセッサIに出力する。ホストプロセッサf40では
判定結果(51)により、2命令語が一致していれば次
の命令語の書込みを実行する。2命令語が一致しなけれ
ば再度命令語の書込みを実行する。すべての書込みが終
了するとホストプロセッサIはホールド要求信号Qを解
除し。
The operation will be described below based on FIGS. 3 and 4. As in the case of Fig. 1, when it becomes necessary to change the processing contents of the signal processing processor +43 in the host processor circle, the hold request signal is set and the PC (
c) The update is stopped and the execution of the instruction word is temporarily suspended. Upon receiving the hold permission signal Q4, the host processor
From there, the instruction address (to) is output to the external instruction memory r3υ and the signal processing processor 93. External command memo 11
The instruction word (to) read from ) is input to the switching circuit 93, and then input to the signal processing processor by the selection signal 1441 from the host processor I. Next, in response to the write control signal 4 from the host processor I, a selection signal is output from the instruction memory control section (c) to the switching circuit complement, and the instruction number is written into the writable instruction memory (3). Next, a read control signal (49) is output from the host processor 14tl, and the written instruction word is read out from the writable instruction memory, and from the instruction memory control unit to the switching circuit C.
A selection signal (b) is output to η, and the command C is output to switching circuit I.
is input to. Selection signal 14 from host processor circle
4, the command word is input to the comparator circuit. The comparison circuit ω compares the instruction word read from the external instruction memory 17 C1υ with the instruction word read from the writable instruction memory Q'n, and outputs the determination result (51) to the host processor I. do. Based on the determination result (51), the host processor f40 executes writing of the next instruction word if the two instruction words match. If the two instruction words do not match, writing of the instruction word is executed again. When all writing is completed, host processor I releases hold request signal Q.

信号処理プロセッサ43の動作を再開させることにより
第1図で示した実施例と同様の効果を奏することができ
る。
By restarting the operation of the signal processor 43, the same effects as in the embodiment shown in FIG. 1 can be achieved.

なお2本実施例においてmXn(mは1以上の整数、n
は2以上の整数)ビット幅の命令語を外部命令メモリか
ら読出し、信号処理プロセッサに入力する場合、mXn
個の外部端子が必要となるがmビット幅のビット幅に分
割し、n回に分けて内部の書込み可能命令メモリに書込
むことを行えばm個の外部端子で済む。例えば32ビッ
ト幅の命令語を入力する場合、−度に入力するには32
個の外部端子が必要どなるが8ビット幅に分割し。
In addition, in this example, mXn (m is an integer of 1 or more, n
is an integer of 2 or more) When reading a bit-width instruction word from an external instruction memory and inputting it to a signal processing processor,
However, by dividing the data into bit widths of m bits and writing into the internal writable instruction memory n times, m external terminals can be used. For example, when inputting a 32-bit wide instruction word, to input it in -degrees, 32 bits are input.
If external terminals are required, divide them into 8-bit widths.

4回に分けて入力すれば8個の外部端子のみで入力する
ことが可能となり、書換えに4倍の時間を必要としたが
外部端子の本数が制限されている場合、非常に有効な手
段となる。
If the input is divided into 4 times, it becomes possible to input with only 8 external terminals, and it takes 4 times the time to rewrite, but it is a very effective method when the number of external terminals is limited. Become.

〔発明の効果〕〔Effect of the invention〕

以上のように、この発明によれば信号処理プロセッサ内
部の命令メモリを吉込み可能命令メモリとし、ホストプ
ロセッサからの指示によりその動作を一時停止させ、信
号処理プロセッサ内部の命令メモリを付換える様に構成
したので、プロセッサ製造後、任意にプログラムの変更
が行え開発効率が高く経済的である上、信号処理中にお
いても一時命令実行を停止させてプログラムを書換え。
As described above, according to the present invention, the instruction memory inside the signal processing processor is made into a removable instruction memory, and its operation is temporarily stopped by instructions from the host processor, and the instruction memory inside the signal processing processor is replaced. With this configuration, the program can be changed at will after the processor is manufactured, making development efficient and economical.In addition, the program can be rewritten by temporarily stopping instruction execution even during signal processing.

命令実行を再開させることによって、より複雑な信号処
理や、単一の信号処理プロセッサにおいて種々の信号処
理機能をもたせることが可能となりより柔軟な信号処理
を行える効果がある。
By restarting instruction execution, it is possible to perform more complex signal processing and to provide a single signal processing processor with various signal processing functions, which has the effect of allowing more flexible signal processing.

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

第1図はこの発明の一実施例による信号処理装置を示す
ブロック図、第2図は第1図の一実施例の動作を説明す
るフローチャート、第3図はこの発明の他の実施例を示
す信号処理装置を示すブロック図、第4図は第3図の動
作を説明するフローチャート、第5図は従来の信号処理
装置を示すブロック図、第6図は第5図の従来例の動作
を説明するフローチャートである。 Qυはホストプロセッサ、123は信号処理プロセッサ
、0はホールド要求信号、c!4はホールド許可信号、
田はプログラムカウンタ、Oeは命令メモリ制御部、罰
は書込み可能命令メモリ、@は命令アドレス、(至)は
切換回路、■は選択回路、 GOは外部命令メモリ、国
、■は命令語、C(41は比較回路、(至)は判定結果
、(lfiは書込み終了信号である。 なお1図中、同一符号は同−又は相当部分を示す。
FIG. 1 is a block diagram showing a signal processing device according to an embodiment of the invention, FIG. 2 is a flowchart explaining the operation of the embodiment of FIG. 1, and FIG. 3 shows another embodiment of the invention. A block diagram showing a signal processing device, FIG. 4 is a flowchart explaining the operation of FIG. 3, FIG. 5 is a block diagram showing a conventional signal processing device, and FIG. 6 explains the operation of the conventional example shown in FIG. This is a flowchart. Qυ is a host processor, 123 is a signal processing processor, 0 is a hold request signal, c! 4 is a hold permission signal;
田 is the program counter, Oe is the instruction memory control unit, punishment is the writable instruction memory, @ is the instruction address, (to) is the switching circuit, ■ is the selection circuit, GO is the external instruction memory, country, ■ is the instruction word, C (41 is a comparison circuit, (to) is a determination result, and (lfi is a write end signal.) In FIG. 1, the same reference numerals indicate the same or equivalent parts.

Claims (4)

【特許請求の範囲】[Claims] (1)種々の内部動作を指示する命令語を記憶させる書
込み可能命令メモリを内部に備えた主に信号処理を行う
プロセッサと、前記プロセッサ動作の一時停止、再開を
指示する手段と、前記書込み可能命令メモリに書込む命
令語を記憶させた命令メモリと、それらに接続されそれ
ら制御を行うホストプロセッサを備えた信号処理装置に
おいて、前記ホストプロセッサからの指示により前記プ
ロセッサの動作を一時停止させ、前記命令メモリから命
令語を読出し、前記書込み可能命令メモリに書込む手段
を備え、所定の書込みが終了したのち前記ホストプロセ
ッサの指示によつて前記プロセッサの動作を再開させる
ことにより、前記プロセッサの処理を切換えるように構
成した信号処理装置。
(1) A processor that mainly performs signal processing and is equipped with a writable instruction memory for storing command words instructing various internal operations, a means for instructing the suspension and resumption of the processor operation, and a writable In a signal processing device comprising an instruction memory storing instruction words to be written in the instruction memory and a host processor connected to the instruction memory and controlling them, the operation of the processor is temporarily stopped by an instruction from the host processor; The processor comprises means for reading an instruction word from an instruction memory and writing it into the writable instruction memory, and restarts the operation of the processor according to an instruction from the host processor after a predetermined writing is completed, thereby controlling the processing of the processor. A signal processing device configured to switch.
(2)命令メモリから命令語を読出し、書込み可能命令
メモリに書込む際に、プロセッサから自動生成される命
令アドレスが前記命令メモリに出力され、読出された命
令語が前記書込み可能命令メモリに書込まれた後、再び
前記命令メモリから読出した命令語と前記書込み可能命
令メモリに書込んだ命令語を読出して比較し、一致して
いるかどうかを判定する比較判定回路と判定結果を出力
する出力手段を前記プロセッサが備え、前記書込み可能
命令メモリから読出した命令語が、書込んだ命令語と一
致しない場合には再度、前記書込み可能命令メモリに命
令語を書込むように前記ホストプロセッサが制御するこ
とを特徴とした特許請求の範囲の第1項記載の信号処理
装置。
(2) When reading an instruction word from the instruction memory and writing it to the writable instruction memory, an instruction address automatically generated from the processor is output to the instruction memory, and the read instruction word is written to the writable instruction memory. a comparison/determination circuit that reads and compares the instruction word read from the instruction memory and the instruction word written to the writable instruction memory and determines whether they match; and an output that outputs the determination result. The processor includes means for controlling the host processor to write the instruction word into the writable instruction memory again if the instruction word read from the writable instruction memory does not match the written instruction word. A signal processing device according to claim 1, characterized in that:
(3)命令メモリから命令語を読出し、書込み可能命令
メモリに書込む際に、ホストプロセッサから出力される
命令アドレスに従つて前記命令メモリから命令語が読出
され、前記ホストプロセッサから出力される命令アドレ
スと書込み制御信号によつて前記書込み可能命令メモリ
に書込んだ後、前記ホストプロセッサからの読出し制御
信号によつて前記書込み可能命令メモリから読出され、
読出した命令語と書込んだ命令語が一致するかの判定を
前記ホストプロセッサにおいて行い、一致しなければ再
度前記書込み可能メモリに命令語を書込むように前記ホ
ストプロセッサが制御することを特徴とした特許請求の
範囲の第1項記載の信号処理装置。
(3) When an instruction word is read from the instruction memory and written to the writable instruction memory, the instruction word is read from the instruction memory according to the instruction address output from the host processor, and the instruction is output from the host processor. after writing to the writable instruction memory by an address and write control signal, reading from the writable instruction memory by a read control signal from the host processor;
The host processor determines whether the read instruction word and the written instruction word match, and if they do not match, the host processor controls to write the instruction word into the writable memory again. A signal processing device according to claim 1.
(4)命令メモリから命令語の読出し、書込み可能命令
メモリへ命令語を書込む際に、m×n(mは1以上の整
数、nは2以上の整数)ビット幅の命令語をmビット幅
に分割し、n回にわけて読出し、書込みを行うことを特
徴とした特許請求の範囲の第1項記載の信号処理装置。
(4) When reading an instruction word from the instruction memory or writing an instruction word to the writable instruction memory, an instruction word with a width of m×n (m is an integer greater than or equal to 1, and n is an integer greater than or equal to 2) bits is converted to m bits. 2. The signal processing device according to claim 1, wherein the signal processing device divides the signal into widths and performs reading and writing 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
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
EP19930104197 EP0551933A3 (en) 1987-06-05 1988-06-01 Digital signal processor
DE3851858T DE3851858T2 (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
EP88108755A EP0293851B1 (en) 1987-06-05 1988-06-01 Digital signal processor
EP93104238A EP0551934A2 (en) 1987-06-05 1988-06-01 Digital signal processor
EP93104196A EP0551932B1 (en) 1987-06-05 1988-06-01 Digital signal processor processing multi-point conditional branch operations in a 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
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
DE3856220T DE3856220T2 (en) 1987-06-05 1988-06-01 Digital signal processor that processes conditional multipoint jump commands in pipeline mode
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/755,503 US5237667A (en) 1987-06-05 1991-08-27 Digital signal processor system having host processor for writing instructions into internal processor memory
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,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,512 US5206940A (en) 1987-06-05 1991-08-27 Address control and generating system for digital signal-processor

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 true JPH01114940A (en) 1989-05-08
JPH0630056B2 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)

Cited By (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

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5878248A (en) * 1981-08-24 1983-05-11 アイテイ−テイ−・インダストリ−ズ・インコ−ポレ−テツド Dynamically programmable processing element

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5878248A (en) * 1981-08-24 1983-05-11 アイテイ−テイ−・インダストリ−ズ・インコ−ポレ−テツド Dynamically programmable processing element

Cited By (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

Also Published As

Publication number Publication date
JPH0630056B2 (en) 1994-04-20

Similar Documents

Publication Publication Date Title
EP0554917B1 (en) Digital signal processing system having two instruction memories accessed by a processor under control of host
US4057850A (en) Processing link control device for a data processing system processing data by executing a main routine and a sub-routine
JP3563768B2 (en) ROM program change device
US4095268A (en) System for stopping and restarting the operation of a data processor
JP2875842B2 (en) Programmable controller
JPH01114940A (en) Signal processor
JP3055999B2 (en) Microprogram control device group
JPS6410854B2 (en)
JPH01205339A (en) Microcomputer system
JP3597548B2 (en) Digital signal processor
JPH0353321A (en) Information processor
JPS6230649B2 (en)
JPS6277647A (en) Controller for microinstruction used for computer system
JPH05334099A (en) Write circuit for state setting register
JPH01236327A (en) Interruption mask control method
JPH056280A (en) Interruption control system
JPS63829B2 (en)
JPS61131126A (en) Information processing unit
JPS6226540A (en) Data processing circuit
JPS5952348A (en) Microprogram controller
JPS62296231A (en) Subroutine processing system in microprogram processor
JPH08297583A (en) Processor and method for interruption processing
JPH01100799A (en) Read-only memory control circuit
JPS62147545A (en) Processing system for transfer instruction of information processor
JPH03257572A (en) Multiprocessor system