JPH0728783A - Method and circuit for stopping dsp - Google Patents

Method and circuit for stopping dsp

Info

Publication number
JPH0728783A
JPH0728783A JP5155209A JP15520993A JPH0728783A JP H0728783 A JPH0728783 A JP H0728783A JP 5155209 A JP5155209 A JP 5155209A JP 15520993 A JP15520993 A JP 15520993A JP H0728783 A JPH0728783 A JP H0728783A
Authority
JP
Japan
Prior art keywords
output
program
dsp
data
serial
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.)
Withdrawn
Application number
JP5155209A
Other languages
Japanese (ja)
Inventor
Hiroaki Miyamoto
博明 宮本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP5155209A priority Critical patent/JPH0728783A/en
Publication of JPH0728783A publication Critical patent/JPH0728783A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Complex Calculations (AREA)

Abstract

PURPOSE:To resolve the trouble that input/output of serial data which stops program development of a digital signal processor DSP is broken halfway at the time of this program development. CONSTITUTION:The circuit, which stops execution of a program in a DSP 1 to which parallel data is inputted after conversion to serial, data and from which serial data to be converted to parallel data is outputted, is provided with a shift register 11 which shifts the parallel clock or synchronization of parallel data by the serial clock for that of serial data, a differential circuit 12 which differentiates the shift register output, and a counting circuit 13 which counts the output of the differential circuit, and execution of the program is stopped based on the counted value of the counting circuit 13.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はDSP(Digital Signal Pro
cessor) に関し、更に詳述すればDSP のプログラム開発
に際して有用なプログラムの実行停止方法及びその実施
に使用する停止回路に関する。
The present invention relates to a DSP (Digital Signal Pro
cessor), and more specifically, it relates to a method of stopping the execution of a program useful in the development of a DSP program and a stop circuit used for the execution.

【0002】[0002]

【従来の技術】図1は「昭和62年電子情報通信学会半導
体・材料部門全国大会」の論文名「浮動小数点ディジタ
ル信号処理LSI FDSP-4のデバッグシステム」に開示され
たDSPの周辺回路のブロック図である。図において1はD
SP であり、図示しないデータバスを経て伝送されてき
たパラレルデータはシリアル入力用メモリ4に一旦記憶
され、ここでシリアルデータに変換されてDSP 1へ入力
される。DSP 1において生成されたデータはシリアルデ
ータの形で出力されてシリアル出力用メモリ5に一旦記
憶され、ここでパラレルデータに変換されてデータバス
へ送られる。このような入出力を行うためにシリアル発
振器7及び同期信号発生器8が設けられている。シリア
ル発振器7はシリアルデータの同期のためのシリアルク
ロックを発し、両メモリ4,5に与えられると共に、同
期信号発生器8へ与えられる。同期信号発生器8はパラ
レルデータのビット数に応じた分周器(8ビットの場合
は8分周器)からなり、分周出力をパラレルデータのた
めのパラレルクロックとして両メモリ4,5に与える。
2. Description of the Related Art FIG. 1 is a block diagram of a peripheral circuit of a DSP disclosed in a title "Floating Point Digital Signal Processing LSI FDSP-4 Debug System" of "National Convention of Semiconductor and Materials Division, Institute of Electronics, Information and Communication Engineers, 1987". It is a figure. In the figure, 1 is D
The parallel data, which is SP and is transmitted via a data bus (not shown), is temporarily stored in the serial input memory 4, where it is converted into serial data and input to the DSP 1. The data generated in the DSP 1 is output in the form of serial data and temporarily stored in the serial output memory 5, where it is converted into parallel data and sent to the data bus. A serial oscillator 7 and a synchronization signal generator 8 are provided to perform such input / output. The serial oscillator 7 generates a serial clock for synchronizing serial data, and is supplied to both memories 4 and 5 and is also supplied to the synchronization signal generator 8. The synchronizing signal generator 8 is composed of a frequency divider (8 frequency divider in the case of 8 bits) according to the number of bits of parallel data, and gives the frequency division output to both memories 4 and 5 as a parallel clock for parallel data. .

【0003】2はプログラムメモリであり、DSP 1で実
行させるべきプログラムを格納するためのものであり、
DSP 1からはプログラムアドレスが与えられ、対応番地
から読出されたプログラムデータがDSP 1へ入力され
る。9はこのプログラムの実行停止を制御するために設
けられた実行停止制御器であり、ORゲート91及びDフリ
ップフロップ92を備えている。ORゲート91は停止アドレ
ス用メモリ3の出力及びDフリップフロップ92のQ出力
を2入力とし、ORゲート91の出力はDフリップフロップ
92のD入力となっている。
Reference numeral 2 is a program memory for storing a program to be executed by the DSP 1.
A program address is given from DSP 1, and the program data read from the corresponding address is input to DSP 1. Reference numeral 9 is an execution stop controller provided to control the execution stop of the program, and includes an OR gate 91 and a D flip-flop 92. The OR gate 91 receives the output of the stop address memory 3 and the Q output of the D flip-flop 92 as two inputs, and the output of the OR gate 91 is the D flip-flop.
It has 92 D inputs.

【0004】Dフリップフロップ92のCK端子にはDSP 1
へプログラム読込のために与えられるクロックがプログ
ラム用発振器6から与えられる。Dフリップフロップ92
のQ出力はDSP 1へ実行/停止信号として与えられる。
即ちQ出力の“0”/“1”に対応してDSP 1はプログ
ラムを実行し、停止する。Dフリップフロップ92のCLR
端子にはDSP 1にプログラムを実行させるための実行指
令信号が与えられる。停止アドレス用メモリ3にはDSP
1を停止させたいプログラムのアドレスに "1" を書込
み、他のアドレスは“0”としておく。
The CK terminal of the D flip-flop 92 has a DSP 1
The clock provided for reading the program is supplied from the programming oscillator 6. D flip-flop 92
Q output of is supplied to DSP 1 as an execute / stop signal.
That is, the DSP 1 executes the program and stops in response to "0" / "1" of the Q output. CLR of D flip-flop 92
An execution command signal for causing DSP 1 to execute a program is given to the terminal. DSP for stop address memory 3
Write "1" to the address of the program where you want to stop 1, and set "0" to other addresses.

【0005】プログラムを実行させるには実行指令信号
を入力し、実行停止制御器9のDフリップフロップ92を
リセットする。そうするとQ出力は "0" となり、DSP
1はプログラムアドレスを順次出力し、それによってプ
ログラムメモリ2から読出したプログラムを実行する。
プログラムアドレスは停止アドレス用メモリ3にも入力
されるが、 "1" を記憶しているアドレスになると停止
アドレス用メモリ3から読出されるデータは "1" とな
り、これがORゲート91を介してDフリップフロップ92に
与えられ、そのQ出力は "1" となり、DSP 1のプログ
ラム実行が停止される。必要に応じて実行指令信号を入
力すると、Dフリップフロップ92はリセットされ、プロ
グラム実行が再開される。
To execute the program, an execution command signal is input and the D flip-flop 92 of the execution stop controller 9 is reset. Then the Q output becomes "0" and the DSP
1 sequentially outputs the program address, thereby executing the program read from the program memory 2.
The program address is also input to the stop address memory 3, but when it becomes an address storing "1", the data read from the stop address memory 3 becomes "1", which is D through the OR gate 91. The Q output applied to the flip-flop 92 becomes "1", and the program execution of the DSP 1 is stopped. When the execution command signal is input as necessary, the D flip-flop 92 is reset and the program execution is restarted.

【0006】[0006]

【発明が解決しようとする課題】以上の動作の間にあっ
てシリアル用発振器7,同期信号発生器8が出力するシ
リアルクロック,パラレルクロックとプログラム用発振
器6が出力するプログラムクロックとは同期していない
からDフリップフロップ92のQ出力が "1" となってDS
P 1が停止した時点ではシリアルデータの入出力が行わ
れている途中であることがある。このような場合には正
しいデータの入出力が行われなかったことになるから爾
後のプログラムの実行再開に不具合を生じることにな
る。
During the above operation, the serial oscillator 7 and the serial clock output from the synchronizing signal generator 8 are not synchronized with the parallel clock and the program clock output from the program oscillator 6. Q output of D flip-flop 92 becomes "1" and DS
When P1 is stopped, serial data input / output may be in progress. In such a case, correct data input / output has not been performed, which causes a problem in resuming execution of the subsequent program.

【0007】本発明はこのような問題点に鑑みてなされ
たものであり、シリアルデータの入出力に関連づけてDS
P を停止させることにより、シリアルデータ入出力が不
備なままDSP が停止することがないDSP の停止方法及び
停止回路を提供することを目的とする。
The present invention has been made in view of the above problems, and is related to the input / output of serial data.
It is an object of the present invention to provide a DSP stop method and a stop circuit in which the DSP does not stop even if serial data input / output is incomplete by stopping P.

【0008】[0008]

【課題を解決するための手段】本発明に係るDSP の停止
方法は、パラレルデータから変換され、又はパラレルデ
ータに変換すべきシリアルデータが入出力されるDSP に
おけるプログラムの実行を停止させる方法において、シ
リアルデータの入出力回数を計数し、これが所定回数に
達した場合にプログラムの実行を停止させることを特徴
とする。
A method of stopping a DSP according to the present invention is a method of stopping execution of a program in a DSP in which serial data to be converted from parallel data or serial data to be converted into parallel data is input / output. The number of input / output times of serial data is counted, and when the number of times has reached a predetermined number, the execution of the program is stopped.

【0009】また本発明に係るDSP の停止回路は、パラ
レルデータをシリアルデータに変換して入力し、またパ
ラレルデータに変換すべきシリアルデータを出力するDS
P におけるプログラムの実行を停止させる回路におい
て、パラレルデータの同期用のパラレルクロックをシリ
アルデータの同期用のシリアルクロックでシフトするシ
フトレジスタと、該シフトレジスタ出力を微分する微分
回路と、該微分回路の出力を計数する計数回路とを備
え、該計数回路の計数値に基づいてプログラムの実行を
停止させるべくなしてあることを特徴とする。
The stop circuit of the DSP according to the present invention is a DS for converting parallel data into serial data and inputting it, and outputting serial data to be converted into parallel data.
In a circuit for stopping the execution of the program in P, a shift register that shifts a parallel clock for synchronizing parallel data with a serial clock for synchronizing serial data, a differentiating circuit that differentiates the shift register output, and a differentiating circuit of the differentiating circuit. A counting circuit for counting the outputs, and the program execution is stopped based on the count value of the counting circuit.

【0010】[0010]

【作用】所要のシリアルデータの入出力回路数を予め設
定しておくことによりプログラムの実行が所要段階で停
止される。停止回路の動作についてみると、パラレルク
ロックがシリアルクロックによってシフトレジスタをシ
フトされる。従ってその出力には一単位(例えば1ワー
ド)のシリアルデータが入出力されたことを表す信号と
なっている。微分回路は該出力の立下り(又は立上り)
を切出し、これを計数回路で計数させる。この計数値が
設定値に達するとDSP を停止させるための信号が発せら
れる。
By setting the required number of serial data input / output circuits in advance, the execution of the program is stopped at the required stage. Regarding the operation of the stop circuit, the parallel clock is shifted in the shift register by the serial clock. Therefore, the output is a signal indicating that one unit (for example, one word) of serial data has been input / output. The differentiating circuit falls (or rises) the output.
Is cut out and counted by a counting circuit. When this count reaches the set value, a signal is issued to stop the DSP.

【0011】[0011]

【実施例】以下本発明をその実施例を示す図面に基づい
て詳述する。図2は本発明の実施例を示すブロック図で
あり、本発明による方法と図1によって説明した従来の
方法とを選択的に行えるものである。図において1はDS
P であり、図示しないデータバスを経て伝送されてきた
パラレルデータはシリアル入力用メモリ4に一旦記憶さ
れ、ここでシリアルデータに変換されてDSP 1へ入力さ
れる。DSP 1において生成されたデータはシリアルデー
タの形で出力されてシリアル出力用メモリ5に一旦記憶
され、ここでパラレルデータに変換されてデータバスへ
送られる。このような入出力を行うためにシリアル発振
器7及び同期信号発生器8が設けられている。シリアル
発振器7はシリアルデータの同期のためのシリアルクロ
ックを発し、両メモリ4,5に与えられると共に、同期
信号発生器8へ与えられる。同期信号発生器8はパラレ
ルデータのビット数に応じた分周器(8ビットの場合は
8分周器)からなり、分周出力をパラレルデータのため
のパラレルクロックとして両メモリ4,5に与える。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below in detail with reference to the drawings showing the embodiments. FIG. 2 is a block diagram showing an embodiment of the present invention, which can selectively perform the method according to the present invention and the conventional method described with reference to FIG. In the figure, 1 is DS
The parallel data P, which has been transmitted via a data bus (not shown), is temporarily stored in the serial input memory 4, where it is converted into serial data and input to the DSP 1. The data generated in the DSP 1 is output in the form of serial data and temporarily stored in the serial output memory 5, where it is converted into parallel data and sent to the data bus. A serial oscillator 7 and a synchronization signal generator 8 are provided to perform such input / output. The serial oscillator 7 generates a serial clock for synchronizing serial data, and is supplied to both memories 4 and 5 and is also supplied to the synchronization signal generator 8. The synchronizing signal generator 8 is composed of a frequency divider (8 frequency divider in the case of 8 bits) according to the number of bits of parallel data, and gives the frequency division output to both memories 4 and 5 as a parallel clock for parallel data. .

【0012】2はプログラムメモリであり、DSP 1で実
行させるべきプログラムを格納するためのものであり、
DSP 1からはプログラムアドレスが与えられ、対応番地
から読出されたプログラムデータがDSP 1へ入力され
る。9はこのプログラムの実行停止を制御するために設
けられた実行停止制御器であり、ORゲート91及びDフリ
ップフロップ92を備えている。ORゲート91はセレクタ10
の出力及びDフリップフロップ92のQ出力を2入力と
し、ORゲート91の出力はDフリップフロップ92のD入力
となっている。
2 is a program memory for storing a program to be executed by the DSP 1.
A program address is given from DSP 1, and the program data read from the corresponding address is input to DSP 1. Reference numeral 9 is an execution stop controller provided to control the execution stop of the program, and includes an OR gate 91 and a D flip-flop 92. OR gate 91 is selector 10
2 and the Q output of the D flip-flop 92 are two inputs, and the output of the OR gate 91 is the D input of the D flip-flop 92.

【0013】Dフリップフロップ92のCK端子にはDSP 1
へプログラム読込のために与えられるプログラムクロッ
クがプログラム用発振器6から与えられる。Dフリップ
フロップ92のQ出力はDSP 1へ実行/停止信号として与
えられる。即ちQ出力の“0”/“1”に対応してDSP
1はプログラムを実行し、停止する。Dフリップフロッ
プ92のCLR 端子にはDSP 1にプログラムを実行させるた
めの実行指令信号が与えられる。停止アドレス用メモリ
3にはDSP 1を停止させたいプログラムのアドレスに
"1" を書込み、他のアドレスは“0”としておく。こ
の停止アドレス用メモリ3の出力はセレクタ10の一入力
となっている。
The DSP 1 is connected to the CK terminal of the D flip-flop 92.
A program clock provided for reading the program is provided from the programming oscillator 6. The Q output of the D flip-flop 92 is given to the DSP 1 as an execute / stop signal. That is, the DSP corresponds to "0" / "1" of the Q output.
1 executes the program and stops. An execution command signal for causing the DSP 1 to execute a program is given to the CLR terminal of the D flip-flop 92. The stop address memory 3 contains the address of the program where you want to stop the DSP 1.
Write "1" and set other addresses to "0". The output of the stop address memory 3 is one input of the selector 10.

【0014】同期信号発生回路8が出力するパラレルク
ロックはシフトレジスタ11へ入力される。このシフトレ
ジスタ11は、パラレルデータのビット数に応じた段数の
ものであり、シフトクロックとしてシリアル用発振器7
が出力するシリアルクロックが与えられている。シフト
レジスタ11の出力は微分回路12へ入力されている。この
微分回路12はシフトレジスタ11出力の立下り(信号の形
態によっては立上りであってもよい。)を切出すための
構成を有しており、Dフリップフロップ12a,12b を縦続
接続してなる。シフトレジスタ11出力は前段のDフリッ
プフロップ12aのD入力となり、そのQ出力は後段のD
フリップフロップ12b のD入力となっている。両Dフリ
ップフロップ12a,12b のCK端子にはプログラム用発振器
6が出力するプログラムクロックが与えられる。Dフリ
ップフロップ12a のQ出力及びDフリップフロップ12b
のQバー出力はこれらと共に微分回路12を構成するAND
ゲート12c の2入力となっており、AND ゲート12c 出力
を微分回路12出力として計数回路13へ与えている。計数
回路13はプリセット機能を有するカウンタ13a 及びAND
ゲート13b を有している。プリセット値は端子INに与え
られる。
The parallel clock output from the synchronizing signal generating circuit 8 is input to the shift register 11. The shift register 11 has a number of stages corresponding to the number of bits of parallel data, and uses a serial oscillator 7 as a shift clock.
The serial clock output by is supplied. The output of the shift register 11 is input to the differentiating circuit 12. The differentiating circuit 12 has a structure for cutting out the trailing edge of the output of the shift register 11 (it may be the trailing edge depending on the form of the signal), and is formed by cascading D flip-flops 12a and 12b. . The output of the shift register 11 becomes the D input of the D flip-flop 12a in the preceding stage, and its Q output is the D in the latter stage.
It is the D input of the flip-flop 12b. The program clock output from the programming oscillator 6 is applied to the CK terminals of both D flip-flops 12a and 12b. Q output of D flip-flop 12a and D flip-flop 12b
The Q-bar output of the AND circuit constitutes a differentiation circuit 12 together with these.
It has two inputs to the gate 12c, and the output of the AND gate 12c is given to the counting circuit 13 as the output of the differentiating circuit 12. The counting circuit 13 includes a counter 13a having a preset function and an AND
It has a gate 13b. The preset value is given to terminal IN.

【0015】微分回路12出力はカウンタ13a のイネーブ
ル端子ENに与えられ、またプログラム用発振器6が出力
するプログラムクロックはカウンタ13a の計数対象とし
てCLK 端子に与えられる。カウンタ13a の計数出力はそ
の全ビットがAND ゲート13bの入力となっており、AND
ゲート13b 出力がセレクタ10のもう一つの入力となって
いる。セレクタ10には従来同様に停止アドレス用メモリ
3の出力内容によってDSP 1を停止させるか又は計数回
路13出力によってDSP 1を停止させるかの別を選択させ
る選択信号が与えられ、それに従って停止アドレス用メ
モリ3又は計数回路13からの入力を選択出力する。
The output of the differentiating circuit 12 is given to the enable terminal EN of the counter 13a, and the program clock output from the program oscillator 6 is given to the CLK terminal as the counting target of the counter 13a. All bits of the count output of the counter 13a are input to the AND gate 13b.
The output of the gate 13b is the other input of the selector 10. As in the conventional case, the selector 10 is provided with a selection signal for selecting whether the DSP 1 is stopped or the DSP 1 is stopped by the output of the counting circuit 13 according to the output content of the stop address memory 3, and accordingly the stop address is used. The input from the memory 3 or the counting circuit 13 is selectively output.

【0016】以上の動作を図3のタイムチャートに従っ
て説明する。なお図3中の○内の番号は図2中の○内の
番号に相当する。また○1〜○4と○5〜○11とは時間
が異なり、後者は前者に比して1000倍程度に拡大表示さ
れている。さて図示の例は8ビットであるので○1のシ
リアルクロックは8分周されたパラレルクロック○2と
なる。このパラレルクロックの1周期、つまりシリアル
クロック8パルスで8ビットのシリアルデータ○3がDS
P 1へ入力され、又は出力される。パラレルクロックは
シフトレジスタ11によってシリアルクロック8パルス分
遅れてここから出力される(○4)。
The above operation will be described with reference to the time chart of FIG. The numbers in the circles in FIG. 3 correspond to the numbers in the circles in FIG. Further, the times of ◯ 1 to ◯ 4 and ◯ 5 to ◯ 11 are different, and the latter is displayed enlarged about 1000 times as compared with the former. Since the illustrated example has 8 bits, the serial clock ◯ 1 becomes a parallel clock ◯ 2 divided by eight. One cycle of this parallel clock, that is, 8 pulses of serial clock, 8 bits of serial data ○ 3
Input or output to P 1. The parallel clock is output from here after being delayed by 8 pulses of the serial clock by the shift register 11 (∘4).

【0017】図3の○5〜○11はこのようなシフトレジ
スタ11出力○4が入力された後の動作について示してい
る。プログラムクロック○5が微分回路12に入力される
とDフリップフロップ12a はシフトレジスタ11出力○4
を取込み、そのQ出力○6は"1" となる。そして1プ
ログラムクロック分遅れてこのQ出力がDフリップフロ
ップ12b へ読込まれ、そのQバー出力○7は "0" に転
ずる。そうするとANDゲート12c 出力○8はプログラム
クロック1パルス分の幅の微分出力となる。つまりプロ
グラムクロック1パルス幅分の "1" がシフトレジスタ
11出力の後縁で切出されるのである。これが計数回路13
へ入力されるとカウンタ13a がイネーブルされCLK 端子
へ入力されているプログラムクロックでカウントアップ
される。
◯ 5 to ◯ 11 in FIG. 3 show the operation after such shift register 11 output ◯ 4 is input. When the program clock ○ 5 is input to the differentiating circuit 12, the D flip-flop 12a outputs the shift register 11 ○ 4
The Q output ○ 6 becomes "1". Then, with a delay of one program clock, this Q output is read into the D flip-flop 12b, and its Q bar output ○ 7 turns to "0". Then, the output 8 of the AND gate 12c becomes a differential output having a width of one pulse of the program clock. In other words, "1" for one pulse width of the program clock is the shift register
It is cut out at the trailing edge of the 11th output. This is the counting circuit 13
The counter 13a is enabled and the program clock input to the CLK pin is counted up.

【0018】つまり、パラレルデータ1単位の入出力が
行われるとカウンタ13a がカウントアップされる。カウ
ンタ13a が8ビット構成であり、パラレルデータ4単位
(4ワード)の入出力でDSP 1を停止させたい場合はカ
ウンタに予め 255−4=251をプリセットしておく。そ
うするとカウンタ13a の内容は○9のように変化し、25
5 となったところで全出力ビットが "1" となり、AND
ゲート13b 出力○10が"1" となり、セレクタ10、ORゲ
ート91を介してDフリップフロップ92へ入力され、その
Q出力○11(= "1" )によってDSP 1が停止すること
になる。なお停止アドレス用メモリ3の出力による場合
に従来同様の動作を行う。
In other words, the counter 13a is incremented when input / output of one unit of parallel data is performed. If the counter 13a has an 8-bit structure and it is desired to stop the DSP 1 by inputting / outputting parallel data of 4 units (4 words), 255-4 = 251 is preset in the counter. Then, the contents of the counter 13a change like ○ 9, and
When it becomes 5, all output bits become "1" and AND
The output 13 of the gate 13b becomes "1" and is input to the D flip-flop 92 via the selector 10 and the OR gate 91, and the DSP 1 is stopped by the Q output 11 (= "1"). When the output of the stop address memory 3 is used, the same operation as the conventional one is performed.

【0019】[0019]

【発明の効果】以上の如く本発明による場合はプログラ
ムアドレスの変更に依らず、シリアルデータの入出力に
関連させてDSP のプログラムの実行を停止させることが
できるのでデータ入出力の中途においてDSP が停止さ
れ、入出力が不完全になり、プログラムの実行再開時に
不都合を招来することがない。従ってデータ入出力を改
めて行う等の無駄な作業が不要となり、DSP のプログラ
ム開発に際しての作業効率が高まる。また不備なデータ
を用いることがないので信頼性が高まる。
As described above, according to the present invention, the DSP program execution can be stopped in association with the input / output of serial data regardless of the change of the program address. It is stopped, input / output becomes incomplete, and there is no inconvenience when resuming program execution. Therefore, unnecessary work such as performing data input / output again is not required, and the work efficiency in DSP program development is improved. In addition, reliability is improved because incomplete data is not used.

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

【図1】従来のDSP の周辺回路のブロック図である。FIG. 1 is a block diagram of a peripheral circuit of a conventional DSP.

【図2】本発明のDSP の周辺回路のブロック図である。FIG. 2 is a block diagram of a peripheral circuit of a DSP of the present invention.

【図3】そのタイムチャートである。FIG. 3 is a time chart thereof.

【符号の説明】[Explanation of symbols]

1 DSP 7 シリアル用発振器 8 同期信号発生器 9 実行停止制御器 11 シフトレジスタ 12 微分回路 13 計数回路 1 DSP 7 Serial oscillator 8 Synchronous signal generator 9 Execution stop controller 11 Shift register 12 Differentiator circuit 13 Counting circuit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 パラレルデータから変換され、又はパラ
レルデータに変換すべきシリアルデータが入出力される
DSP (1)におけるプログラムの実行を停止させる方法
において、シリアルデータの入出力回数を計数し、これ
が所定回数に達した場合にプログラムの実行を停止させ
ることを特徴とするDSP の停止方法。
1. Serial data to be converted from parallel data or to be converted into parallel data is input / output.
A method of stopping the execution of a program in DSP (1), characterized in that the number of input / output times of serial data is counted, and when the number of times reaches a predetermined number, the execution of the program is stopped.
【請求項2】 パラレルデータをシリアルデータに変換
して入力し、またパラレルデータに変換すべきシリアル
データを出力するDSP (1)におけるプログラムの実行
を停止させる回路において、パラレルデータの同期用の
パラレルクロックをシリアルデータの同期用のシリアル
クロックでシフトするシフトレジスタ(11)と、該シフト
レジスタ出力を微分する微分回路(12)と、該微分回路の
出力を計数する計数回路(13)とを備え、該計数回路(13)
の計数値に基づいてプログラムの実行を停止させるべく
なしてあることを特徴とする停止回路。
2. A circuit for stopping the execution of a program in a DSP (1) which converts parallel data into serial data and inputs the serial data, and outputs serial data which should be converted into parallel data. A shift register (11) that shifts a clock with a serial clock for synchronizing serial data, a differentiation circuit (12) that differentiates the output of the shift register, and a counting circuit (13) that counts the output of the differentiation circuit , The counting circuit (13)
And a stop circuit for stopping the execution of the program based on the count value of.
JP5155209A 1993-06-25 1993-06-25 Method and circuit for stopping dsp Withdrawn JPH0728783A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5155209A JPH0728783A (en) 1993-06-25 1993-06-25 Method and circuit for stopping dsp

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5155209A JPH0728783A (en) 1993-06-25 1993-06-25 Method and circuit for stopping dsp

Publications (1)

Publication Number Publication Date
JPH0728783A true JPH0728783A (en) 1995-01-31

Family

ID=15600896

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5155209A Withdrawn JPH0728783A (en) 1993-06-25 1993-06-25 Method and circuit for stopping dsp

Country Status (1)

Country Link
JP (1) JPH0728783A (en)

Similar Documents

Publication Publication Date Title
JPS6038740B2 (en) data processing equipment
JPH0728783A (en) Method and circuit for stopping dsp
JPS63213194A (en) Memory circuit
EP0464756A2 (en) Memory control device
JP2595992B2 (en) Electronic musical instrument
US6175257B1 (en) Integrated circuit comprising a master circuit working at a first frequency to control slave circuits working at a second frequency
JPH0654505B2 (en) Parallel processor
SU1254462A1 (en) Device for calculating values of boolean functions
JP2860710B2 (en) Memory control device
SU1583884A1 (en) Apparatus for functional check of digital circuits
JP2670905B2 (en) counter
JP2903548B2 (en) Logic circuit diagnostic system
SU1674255A2 (en) Storage
JPS6331827B2 (en)
JPH0637627A (en) Counter reading system
JPH02306500A (en) Test circuit for semiconductor memory
KR910006684Y1 (en) Cpu signal controlling circuit
JPH02280263A (en) Microprocessor
JP2002073411A (en) Method and device to judge memory capacity of eeprom
US6327222B1 (en) Electronic watch
JP3254781B2 (en) Semiconductor device
JPH0419894A (en) Elastic store circuit
JPH11272644A (en) Microcontroller
JPH03242724A (en) Digital arithmetic processing unit
JPH04227551A (en) Access control circuit

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20000905