JP2000010817A - Program development support system, program-type arithmetic processor, and program development support device - Google Patents

Program development support system, program-type arithmetic processor, and program development support device

Info

Publication number
JP2000010817A
JP2000010817A JP10180274A JP18027498A JP2000010817A JP 2000010817 A JP2000010817 A JP 2000010817A JP 10180274 A JP10180274 A JP 10180274A JP 18027498 A JP18027498 A JP 18027498A JP 2000010817 A JP2000010817 A JP 2000010817A
Authority
JP
Japan
Prior art keywords
instruction code
circuit
program
control program
arithmetic processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10180274A
Other languages
Japanese (ja)
Inventor
Yasuhiro Minamide
靖宏 南出
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP10180274A priority Critical patent/JP2000010817A/en
Publication of JP2000010817A publication Critical patent/JP2000010817A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a program development support device system which allows a microcomputer to execute a specific instruction code with a desired timing. SOLUTION: Once an address match detecting circuit 22 detects an address that an instruction decoder 13 indicates matching a jamming address, a jamming request signal S72 outputted to a selector 61 of the microcomputer 52 through a communication cable 33 is switched from a logical value '1' to '0' and a selector 61 selects a specific instruction code stored in a specific instruction code memory 62, so that it is outputted to an instruction decoder 13 through an instruction prefetch circuit 11 and a selector 12. The instruction decoder 13 executes the specific instruction code to stop a logical operation circuit 14 from operating.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明が属する技術分野】本発明は、プログラム開発支
援システム、マイクロコンピュータおよびプログラム開
発支援装置に関する。
The present invention relates to a program development support system, a microcomputer, and a program development support device.

【0002】[0002]

【従来の技術】ビデオカメラやCD(Compact Disk)プレ
ーヤなどの電子機器には、当該電子機器における処理を
制御するマイクロコンピュータが組み込まれている。こ
のようなマイクロコンピュータは、ROM(Read Only M
emory)を内蔵しており、当該ROMから読み出した制御
プログラムに基づいて動作する。ところで、このような
マイクロコンピュータに内蔵するROMに記憶される制
御プログラムの開発過程では、例えば、ICE(インサ
ーキットエミュレータ)と呼ばれるプログラム開発支援
装置が用いられる。
2. Description of the Related Art Electronic devices, such as video cameras and CD (Compact Disk) players, incorporate microcomputers for controlling processing in the electronic devices. Such a microcomputer has a ROM (Read Only M
emory) and operates based on a control program read from the ROM. In the process of developing a control program stored in a ROM built in such a microcomputer, for example, a program development support device called an ICE (in-circuit emulator) is used.

【0003】図4は、従来のマイクロコンピュータ2お
よびプログラム開発支援装置(ICE)4を説明するた
めの図である。図4に示すように、マイクロコンピュー
タ2は、ROM10、命令プリフェッチ回路11、セレ
クタ12、命令デコーダ13、論理演算回路14、プロ
グラムカウンタ15およびデータバス16を1チップ内
に組み込んだ構成をしている。また、プログラム開発支
援装置4は、ジャミングアドレスメモリ21、アドレス
一致検出回路22、特定命令コードメモリ23、セレク
タ24、メモリ25、モニタ26、入力部27および制
御回路28を有する。
FIG. 4 is a diagram for explaining a conventional microcomputer 2 and a program development support device (ICE) 4. As shown in FIG. 4, the microcomputer 2 has a configuration in which a ROM 10, an instruction prefetch circuit 11, a selector 12, an instruction decoder 13, a logical operation circuit 14, a program counter 15, and a data bus 16 are incorporated in one chip. . The program development support device 4 includes a jamming address memory 21, an address coincidence detection circuit 22, a specific instruction code memory 23, a selector 24, a memory 25, a monitor 26, an input unit 27, and a control circuit 28.

【0004】マイクロコンピュータ2とプログラム開発
支援装置4とは、通信ケーブル30,31,32を介し
て着脱自在に接続可能である。マイクロコンピュータ2
には、通信ケーブル30と接続される外部端子30
1 と、通信ケーブル31と接続される外部端子31
1 と、通信ケーブル32と接続される外部端子321
が設けられている。また、プログラム開発支援装置4に
は、通信ケーブル30と接続される外部端子302 と、
通信ケーブル31と接続される外部端子312 と、通信
ケーブル32と接続される外部端子322 とが設けられ
ている。
[0004] The microcomputer 2 and the program development support device 4 can be detachably connected via communication cables 30, 31 and 32. Microcomputer 2
Has an external terminal 30 connected to the communication cable 30.
1 and an external terminal 31 connected to the communication cable 31
1 and an external terminal 32 1 connected to the communication cable 32. The program development supporting apparatus 4, an external terminal 30 2 connected to the communication cable 30,
An external terminal 31 2 connected to the communication cable 31, and the external terminal 32 2 is provided which is connected to the communication cable 32.

【0005】以下、図4に示すマイクロコンピュータ2
に内蔵されたROM10に記憶する制御プログラムの開
発段階で、当該制御プログラムのデバックを行う際のマ
イクロコンピュータ2およびプログラム開発支援装置4
の動作を説明する。ここでは、セレクタ12が、セレク
タ信号S40に基づいて、命令プリフェッチ回路11か
らの命令コードを選択して命令デコーダ13に出力する
場合の動作を説明する。
A microcomputer 2 shown in FIG.
The microcomputer 2 and the program development support device 4 when debugging the control program in the development stage of the control program stored in the ROM 10 built in
Will be described. Here, the operation in the case where the selector 12 selects the instruction code from the instruction prefetch circuit 11 based on the selector signal S40 and outputs the instruction code to the instruction decoder 13 will be described.

【0006】先ず、マイクロコンピュータ2のROM1
0に記憶すべき制御プログラムを開発する段階で、例え
ば、開発した制御プログラムのデバック処理を行うとき
に、マイクロコンピュータ2とプログラム開発支援装置
4とが通信ケーブル30,31,32を介して相互に接
続される。
First, the ROM 1 of the microcomputer 2
For example, at the stage of developing a control program to be stored in the microcontroller 0, the microcomputer 2 and the program development support device 4 mutually communicate via the communication cables 30, 31, 32 when debugging the developed control program. Connected.

【0007】そして、開発中の制御プログラムが、プロ
グラム開発支援装置4の入力部27を介してメモリ25
に記憶される。また、特定命令コードメモリ23から読
み出された特定命令コードを選択するようにセレクタ2
4を切り換えるときのプログラムカウンタ15が示すア
ドレスであるジャミングアドレスが、入力部27を介し
てジャミングアドレスメモリ21に記憶される。
[0007] The control program under development is stored in the memory 25 via the input unit 27 of the program development support device 4.
Is stored. In addition, the selector 2 is configured to select the specific instruction code read from the specific instruction code memory 23.
The jamming address, which is the address indicated by the program counter 15 when switching 4, is stored in the jamming address memory 21 via the input unit 27.

【0008】そして、マイクロコンピュータ2のプログ
ラムカウンタ15で指し示されるメモリ25上のアドレ
スから読み出された制御プログラムの命令コードが、セ
レクタ24、通信ケーブル30およびデータバス16を
介して、マイクロコンピュータ2の命令プリフェッチ回
路11に出力される。当該命令コードは、命令プリフェ
ッチ回路11のプリフェッチレジスタに記憶された後
に、セレクタ12を介して命令デコーダ13に出力され
る。そして、当該命令コードが命令デコーダ13でデコ
ードされ、当該デコード結果に応じた制御信号S13a
が論理演算回路14に出力される。論理演算回路14で
は、制御信号S13aに基づいて、必要なデータを用い
て演算が行われる。このとき、論理演算回路14におけ
る演算の途中結果および最終結果が、論理演算回路14
内のレジスタに一時的に記憶される。
Then, the instruction code of the control program read from the address on the memory 25 indicated by the program counter 15 of the microcomputer 2 is transmitted to the microcomputer 2 via the selector 24, the communication cable 30 and the data bus 16. To the instruction prefetch circuit 11. The instruction code is stored in the prefetch register of the instruction prefetch circuit 11, and then output to the instruction decoder 13 via the selector 12. Then, the instruction code is decoded by the instruction decoder 13, and a control signal S13a corresponding to the decoding result is obtained.
Is output to the logical operation circuit 14. The logical operation circuit 14 performs an operation using necessary data based on the control signal S13a. At this time, the intermediate and final results of the operation in the logical operation circuit
Is temporarily stored in a register.

【0009】また、命令デコーダ13においてデコード
が行われると、プログラムカウンタ15が指し示すアド
レスが所定の数だけインクリメントされ、当該インクリ
メントされたアドレスが、通信ケーブル31を介して、
プログラム開発支援装置4のメモリ25に出力される。
そして、プログラムカウンタ15の当該インクリメント
されたアドレスの命令コードがメモリ25から読み出さ
れ、上述した処理が繰り返される。
When decoding is performed in the instruction decoder 13, the address indicated by the program counter 15 is incremented by a predetermined number, and the incremented address is transmitted via the communication cable 31.
It is output to the memory 25 of the program development support device 4.
Then, the instruction code of the incremented address of the program counter 15 is read from the memory 25, and the above-described processing is repeated.

【0010】その後、プログラムカウンタ15が指し示
すアドレスと、ジャミングアドレスメモリ21に記憶さ
れたジャミングアドレスとが一致したことがアドレス一
致検出回路22で検出されると、アドレス一致検出回路
22からセレクタ24に出力されるセレクタ信号S22
が、例えば論理値「1」から「0」に切り換わる。これ
により、特定命令コードメモリ23に記憶されている特
定命令コードが、セレクタ24、通信ケーブル30およ
びデータバス16を介して、命令プリフェッチ回路11
に出力される。
Thereafter, when the address match detection circuit 22 detects that the address indicated by the program counter 15 matches the jamming address stored in the jamming address memory 21, the address match detection circuit 22 outputs the same to the selector 24. Selector signal S22
Switches from the logical value “1” to “0”, for example. Thereby, the specific instruction code stored in the specific instruction code memory 23 is transferred to the instruction prefetch circuit 11 via the selector 24, the communication cable 30, and the data bus 16.
Is output to

【0011】そして、当該特定命令コードが、命令プリ
フェッチ回路11のプリフェッチレジスタに記憶された
後に、セレクタ12を介して命令デコーダ13に出力さ
れ、デコードされる。当該デコードにより、論理演算回
路14の動作を中断することを指示する制御信号S13
aが論理演算回路14に出力され、論理演算回路14の
動作が中断する。次に、プログラム開発支援装置4の制
御回路28からの制御に応じて、マイクロコンピュータ
2の論理演算回路14内の所定のレジスタに記憶されて
いるデータが、通信ケーブル32を介してプログラム開
発支援装置4のモニタ26に出力されて表示される。プ
ログラムの開発者は、モニタ26に表示されたデータを
見ながら、メモリ25に記憶されている制御プログラム
に応じて論理演算回路14が所望の動作を行っているか
否か、すなわち当該制御プログラムにバグが存在しない
か否かを判断できる。
After the specific instruction code is stored in the prefetch register of the instruction prefetch circuit 11, the specific instruction code is output to the instruction decoder 13 via the selector 12 and decoded. By the decoding, the control signal S13 instructing to suspend the operation of the logical operation circuit 14
is output to the logical operation circuit 14, and the operation of the logical operation circuit 14 is interrupted. Next, under the control of the control circuit 28 of the program development support device 4, the data stored in a predetermined register in the logical operation circuit 14 of the microcomputer 2 is transferred via the communication cable 32 to the program development support device. 4 is output to the monitor 26 and displayed. The program developer checks whether or not the logical operation circuit 14 is performing a desired operation in accordance with the control program stored in the memory 25 while watching the data displayed on the monitor 26. Can be determined.

【0012】[0012]

【発明が解決しようとする課題】上述した図4に示すマ
イクロコンピュータ2およびプログラム開発支援装置4
では、プログラム開発支援装置4に特定命令コードメモ
リ23を備えている。そのため、アドレス一致検出回路
22において、プログラムカウンタ15が示すアドレス
とジャミングアドレスメモリ21に記憶されているジャ
ミングアドレスとの一致を検出してから、特定命令コー
ドを命令プリフェッチ回路11およびセレクタ12に供
給するまでに、通信ケーブル30およびデータバス16
を介した特定命令コードの伝送が必要がある。ここで、
データバス16には、通常、種々の回路が接続されてお
り、使用状態によっては、データ伝送の負荷が大きくな
り、データバス16を介した特定命令コードの伝送が遅
延することがある。この場合には、アドレス一致検出回
路22においてアドレスの一致が検出されてから、論理
演算回路14において特定命令コードに応じた処理が実
行されるまでのタイムラグが大きくなり、開発者が期待
したタイミングで特定命令コードを実行できず、制御プ
ログラムの動作を正確に把握できない場合があるという
問題がある。
The microcomputer 2 and the program development support device 4 shown in FIG.
Then, the program development support device 4 includes a specific instruction code memory 23. Therefore, the address match detection circuit 22 detects a match between the address indicated by the program counter 15 and the jamming address stored in the jamming address memory 21, and then supplies the specific instruction code to the instruction prefetch circuit 11 and the selector 12. By the time, the communication cable 30 and the data bus 16
It is necessary to transmit a specific instruction code via the PC. here,
Normally, various circuits are connected to the data bus 16, and depending on a use state, a load of data transmission increases, and transmission of a specific instruction code via the data bus 16 may be delayed. In this case, the time lag from when the address match is detected by the address match detection circuit 22 to when the processing corresponding to the specific instruction code is executed in the logical operation circuit 14 becomes large, and at the timing expected by the developer. There is a problem that the specific instruction code cannot be executed and the operation of the control program cannot be accurately grasped.

【0013】本発明は上述した従来技術の問題点に鑑み
てなされ、所望のタイミングでマイクロコンピュータな
どのプログラム式演算処理装置に特定命令コードを実行
させることができ、開発中の制御プログラムの動作を正
確に把握することを可能にするプログラム開発支援装置
システム、プログラム式演算処理装置およびプログラム
開発支援装置を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-described problems of the prior art, and enables a program-based arithmetic processing device such as a microcomputer to execute a specific instruction code at a desired timing. It is an object of the present invention to provide a program development support device system, a program-based arithmetic processing device, and a program development support device that enable accurate grasp.

【0014】[0014]

【課題を解決するための手段】上述した従来技術の問題
点を解決し、上述した目的を達成するために、本発明の
プログラム開発支援システムは、プログラム式演算処理
装置とプログラム開発支援装置とを通信ケーブルを介し
て接続して、前記プログラム式演算処理装置を制御する
制御プログラムを開発するときに用いられるプログラム
開発支援システムであって、前記プログラム開発支援装
置は、開発段階の動作確認対象となる制御プログラムを
記憶する第1の制御プログラム記憶回路と、前記プログ
ラム式演算処理装置が実行している前記制御プログラム
のアドレスが、予め決められたアドレスと一致したか否
かを判断し、一致したと判断したときに、前記制御プロ
グラムの動作確認に使用される第1の命令コードを前記
プログラム式演算処理装置が実行することを指示する実
行指示信号を第2の通信線を介して前記プログラム式演
算処理装置に出力するアドレス一致検出回路と、前記プ
ログラム式演算処理装置が実行している前記制御プログ
ラムのアドレスに基づいて、前記第1の制御プログラム
記憶回路から前記制御プログラムの第2の命令コードを
読み出して第1の通信線を介して前記プログラム式演算
処理装置に出力する制御回路とを有する。また、前記プ
ログラム式演算処理装置は、命令コードを伝送する信号
伝送線と、前記制御プログラムを開発している段階で、
前記第2の通信回線を介して入力した実行指示信号が、
前記第1の命令コードを実行することを指示していると
きに、前記第1の命令コードを選択し、前記第1の命令
コードを実行することを指示していないときに、前記信
号伝送線を伝送している前記第1の通信回線を介して入
力した前記制御プログラムの第2の命令コードを選択す
る選択回路と、前記選択された命令コードに応じた処理
を実行する実行回路と、前記制御プログラムが開発され
た後に、当該開発された制御プログラムを記憶する第2
の制御プログラム記憶回路とを有する。
In order to solve the above-mentioned problems of the prior art and achieve the above object, a program development support system according to the present invention comprises a program-type arithmetic processing device and a program development support device. A program development support system connected via a communication cable for use in developing a control program for controlling the programmable arithmetic processing device, wherein the program development support device is an operation check target in a development stage A first control program storage circuit for storing a control program, and determining whether an address of the control program being executed by the programmed arithmetic processing device matches a predetermined address. When it is determined, the first instruction code used for confirming the operation of the control program is replaced with the program-type operation. An address match detection circuit that outputs an execution instruction signal instructing execution by the processing device to the programmed arithmetic processing device via a second communication line; and the control program executed by the programmed arithmetic processing device. And a control circuit for reading out a second instruction code of the control program from the first control program storage circuit based on the first address and outputting the second instruction code to the programmable arithmetic processing device via a first communication line. Further, the program-type arithmetic processing device, at the stage of developing a signal transmission line for transmitting an instruction code and the control program,
The execution instruction signal input via the second communication line is
Selecting the first instruction code when instructing to execute the first instruction code, and selecting the signal transmission line when not instructing to execute the first instruction code; A selection circuit that selects a second instruction code of the control program input through the first communication line that transmits the instruction code, an execution circuit that executes a process corresponding to the selected instruction code, After the control program has been developed, a second memory for storing the developed control program
And a control program storage circuit.

【0015】本発明のプログラム開発支援システムで
は、プログラム開発支援装置の制御回路によって、プロ
グラム式演算処理装置が実行している制御プログラムの
アドレスに基づいて、第1の制御プログラム記憶回路か
ら開発段階の制御プログラムの第2の命令コードが読み
出され、当該読み出された命令コードが第1の通信線を
介して前記プログラム式演算処理装置に出力される。そ
して、プログラム式演算処理装置において、選択回路
で、前記第1の通信線を介して入力されて信号伝送線を
伝送している第2の命令コードが選択され、実行回路で
実行される。
In the program development support system of the present invention, the control circuit of the program development support device stores the development program in the development stage from the first control program storage circuit based on the address of the control program being executed by the programmable arithmetic processing device. A second instruction code of the control program is read, and the read instruction code is output to the programmed arithmetic processing device via a first communication line. Then, in the programmed arithmetic processing device, the second instruction code input through the first communication line and transmitting the signal transmission line is selected by the selection circuit, and is executed by the execution circuit.

【0016】そして、プログラム開発支援装置のアドレ
ス一致検出回路において、前記プログラム式演算処理装
置が実行している前記制御プログラムのアドレスが、予
め決められたアドレスと一致したと判断されたときに、
前記アドレス一致検出回路から前記プログラム式演算処
理装置に、第1の命令コードを実行することを指示する
実行指示信号が出力される。そして、プログラム式演算
処理装置で、選択回路において、第1の命令コードが選
択され、当該選択された第1の命令コードが実行回路で
実行される。そして、例えば、前記実行回路の動作が開
発者によって監視され、制御プログラムに応じてプログ
ラム式演算処理装置が所望の動作を行っているか否かが
判断され、当該判断結果に基づいて、制御プログラムが
必要に応じて修正される。最終的に制御プログラムが完
成すると、当該完成した制御プログラムが、プログラム
式演算処理装置の第2の制御プログラム記憶回路に記憶
される。
In the address match detection circuit of the program development support device, when it is determined that the address of the control program being executed by the programmed arithmetic processing device matches a predetermined address,
An execution instruction signal for instructing execution of a first instruction code is output from the address coincidence detection circuit to the programmed arithmetic processing unit. Then, in the programmed arithmetic processing device, the first instruction code is selected in the selection circuit, and the selected first instruction code is executed in the execution circuit. Then, for example, the operation of the execution circuit is monitored by a developer, and it is determined whether or not the programmed arithmetic processing device is performing a desired operation according to the control program. Based on the determination result, the control program Modified as necessary. When the control program is finally completed, the completed control program is stored in the second control program storage circuit of the programmable arithmetic processing device.

【0017】また、本発明のプログラム式演算処理装置
は、制御プログラムに基づいて処理を行うプログラム式
演算処理装置であって、命令コードを伝送する信号伝送
線と、前記制御プログラムを開発している段階で、外部
から入力した実行指示信号が、前記制御プログラムの動
作確認に使用される第1の命令コードを実行することを
指示しているときに、前記第1の命令コードを選択し、
前記第1の命令コードを実行することを指示していない
ときに、前記信号伝送線を伝送している外部から入力さ
れた動作確認対象となる制御プログラムの第2の命令コ
ードを選択する選択回路と、前記選択された命令コード
に応じた処理を実行する実行回路と、前記制御プログラ
ムが開発された後に、当該開発された制御プログラムを
記憶する制御プログラム記憶回路とを有する。
Further, a program-type arithmetic processing device according to the present invention is a program-type arithmetic processing device for performing processing based on a control program, and has developed a signal transmission line for transmitting an instruction code and the control program. In the step, when the execution instruction signal input from the outside indicates that the first instruction code used for confirming the operation of the control program is to be executed, the first instruction code is selected;
A selection circuit for selecting a second instruction code of an externally input control program, which is transmitted from the outside and transmits the signal transmission line, when not instructing to execute the first instruction code; And an execution circuit for executing a process according to the selected instruction code, and a control program storage circuit for storing the developed control program after the control program has been developed.

【0018】本発明のプログラム式演算処理装置では、
例えば制御プログラムを開発している段階で、プログラ
ム開発支援装置から出力された実行指示信号を入力し、
選択回路において、当該入力した実行指示信号が、前記
第1の命令コードを実行することを指示しているとき
に、前記第1の命令コードが選択され、前記第1の命令
コードを実行することを指示していないときに、前記信
号伝送線を伝送している前記プログラム開発支援装置か
ら入力された第2の命令コードが選択される。そして、
実行回路において、当該選択された命令コードに応じた
処理が実行される。そして、例えば、前記実行回路の動
作が開発者によって監視され、制御プログラムに応じて
プログラム式演算処理装置が所望の動作を行っているか
否かが判断され、当該判断結果に基づいて、制御プログ
ラムが必要に応じて修正される。そして、最終的に制御
プログラムが完成すると、当該完成した制御プログラム
が、プログラム式演算処理装置の制御プログラム記憶回
路に記憶される。
In the program type arithmetic processing device of the present invention,
For example, at the stage of developing the control program, input the execution instruction signal output from the program development support device,
In the selection circuit, when the input execution instruction signal indicates that the first instruction code is to be executed, the first instruction code is selected and the first instruction code is executed. Is not specified, the second instruction code input from the program development support apparatus transmitting the signal transmission line is selected. And
In the execution circuit, processing according to the selected instruction code is executed. Then, for example, the operation of the execution circuit is monitored by a developer, and it is determined whether or not the programmed arithmetic processing device is performing a desired operation according to the control program. Based on the determination result, the control program Modified as necessary. When the control program is finally completed, the completed control program is stored in the control program storage circuit of the programmable arithmetic processing device.

【0019】また、本発明のプログラム式演算処理装置
は、好ましくは、前記第2の命令コードを入力する外部
端子とは別に、前記実行指示信号を入力する外部端子を
有する。すなわち、実行指示信号は、プログラム式演算
処理装置内の信号伝送線を介して伝送されず、選択回路
に直接出力される。
Preferably, the programmed arithmetic processing device of the present invention has an external terminal for inputting the execution instruction signal, separately from the external terminal for inputting the second instruction code. That is, the execution instruction signal is not transmitted via the signal transmission line in the program-type arithmetic processing device, but is output directly to the selection circuit.

【0020】また、本発明のプログラム開発支援装置
は、プログラム式演算処理装置で実行される制御プログ
ラムの動作確認を行うために用いられるプログラム開発
支援装置であって、開発段階の動作確認対象となる制御
プログラムを記憶する制御プログラム記憶回路と、前記
プログラム式演算処理装置が実行している前記制御プロ
グラムのアドレスが、予め決められたアドレスと一致し
たか否かを判断し、一致したと判断したときに、前記制
御プログラムの動作確認に使用される第1の命令コード
を前記プログラム式演算処理装置が実行することを指示
する実行指示信号を前記プログラム式演算処理装置に出
力するアドレス一致検出回路と、前記プログラム式演算
処理装置が実行している前記制御プログラムのアドレス
に基づいて、前記制御プログラム記憶回路から前記制御
プログラムの第2の命令コードを読み出して前記プログ
ラム式演算処理装置に出力する制御回路とを有する。
Further, the program development support device of the present invention is a program development support device used for confirming the operation of a control program executed by a program type arithmetic processing unit, and is an operation confirmation target in a development stage. A control program storage circuit for storing a control program, and determining whether an address of the control program being executed by the programmed arithmetic processing device matches a predetermined address, and determining that the address matches. An address match detection circuit that outputs to the programmed arithmetic processing device an execution instruction signal for instructing the programmed arithmetic processing device to execute a first instruction code used for checking the operation of the control program; The control is executed based on the address of the control program executed by the programmed arithmetic processing unit. And a control circuit for outputting the programmed processing unit from the program memory circuit reads out the second instruction code of the control program.

【0021】本発明のプログラム開発支援装置は、動作
時に、プログラム式演算処理装置に接続される。そし
て、制御回路によって、前記プログラム式演算処理装置
が実行している前記制御プログラムのアドレスに基づい
て、前記制御プログラム記憶回路から開発段階の制御プ
ログラムの第2の命令コードが読み出され、当該読み出
された第2の命令コードが前記プログラム式演算処理装
置に出力される。また、前記プログラム式演算処理装置
が実行している前記制御プログラムのアドレスがアドレ
ス一致検出回路に入力され、アドレス一致検出回路にお
いて、予め決められたアドレスと比較され、一致したか
否かが判断される。その結果、一致したと判断されたと
きに、前記アドレス一致検出回路から前記プログラム式
演算処理装置に、動作確認のために使用される第1の命
令コードを実行することを指示する前記実行指示信号が
出力される。
The program development support device of the present invention is connected to a program-type arithmetic processing device during operation. Then, the control circuit reads the second instruction code of the control program in the development stage from the control program storage circuit based on the address of the control program being executed by the programmable arithmetic processing device, and reads the second instruction code. The issued second instruction code is output to the programmed arithmetic processing device. Further, an address of the control program executed by the programmed arithmetic processing device is input to an address match detection circuit, and the address match detection circuit compares the address with a predetermined address to determine whether or not the address matches. You. As a result, when it is determined that they match, the execution instruction signal for instructing the programmed arithmetic processing unit to execute a first instruction code used for operation confirmation from the address match detection circuit. Is output.

【0022】[0022]

【発明の実施の形態】以下、本発明の実施形態に係わる
プログラム開発支援システムについて説明する。第1実施形態 図1は、本実施形態のプログラム開発支援システム51
の構成図である。図1に示すように、プログラム開発支
援システム51は、マイクロコンピュータ52のROM
10に記憶する制御プログラムを開発する段階で、通信
ケーブル30〜33を介してマイクロコンピュータ52
とプログラム開発支援装置54とを着脱自在に接続した
構成をしている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A program development support system according to an embodiment of the present invention will be described below. First Embodiment FIG. 1 shows a program development support system 51 according to the first embodiment .
FIG. As shown in FIG. 1, the program development support system 51 includes a ROM of a microcomputer 52.
At the stage of developing the control program stored in the microcomputer 10, the microcomputer 52 is connected via the communication cables 30 to 33.
And the program development support device 54 are detachably connected.

【0023】すなわち、マイクロコンピュータ52に
は、通信ケーブル30と接続される外部端子301 と、
通信ケーブル31と接続される外部端子311 と、通信
ケーブル32と接続される外部端子321 と、通信ケー
ブル33と接続される外部端子331 とが設けられてい
る。また、プログラム開発支援装置54には、通信ケー
ブル30と接続される外部端子302 と、通信ケーブル
31と接続される外部端子312 と、通信ケーブル32
と接続される外部端子322 と、通信ケーブル33と接
続される332 とが設けられている。図1に示す通信ケ
ーブル30および33が、本発明のプログラム開発支援
システムの第1の通信線および第2の通信線にそれぞれ
対応している。また、マイクロコンピュータ52が、本
発明のプログラム式演算処理装置に対応している。
[0023] That is, the microcomputer 52 includes an external terminal 30 1 connected to the communication cable 30,
An external terminal 31 1 connected to the communication cable 31, an external terminal 32 1 connected to the communication cable 32, and the external terminal 33 1 connected to the communication cable 33 is provided. The program development supporting apparatus 54, an external terminal 30 2 connected to the communication cable 30, an external terminal 31 2 connected to the communication cable 31, the communication cable 32
An external terminal 32 2 connected, and 33 2 connected to the communication cable 33 is provided with. The communication cables 30 and 33 shown in FIG. 1 correspond to the first communication line and the second communication line of the program development support system of the present invention, respectively. Further, the microcomputer 52 corresponds to the programmed arithmetic processing device of the present invention.

【0024】〔マイクロコンピュータ52〕図1に示す
ように、マイクロコンピュータ52は、ROM10、命
令プリフェッチ回路11、セレクタ12、命令デコーダ
13、論理演算回路14、プログラムカウンタ15、デ
ータバス16、セレクタ60,61および特定命令コー
ドメモリ62を単体の集積回路(チップ)内に組み込ん
だ構成をしている。ここで、ROM10、命令プリフェ
ッチ回路11、セレクタ12、命令デコーダ13、論理
演算回路14、プログラムカウンタ15およびデータバ
ス16は、図4を用いて前述したマイクロコンピュータ
2の同一符号を付した構成要素と同じである。なお、マ
イクロコンピュータ52は、例えば、ビデオカメラやC
Dプレーヤなどに内蔵され、デバック機能などの高機能
を備えていない簡易なコンピュータである。
[Microcomputer 52] As shown in FIG. 1, the microcomputer 52 comprises a ROM 10, an instruction prefetch circuit 11, a selector 12, an instruction decoder 13, a logical operation circuit 14, a program counter 15, a data bus 16, a selector 60, 61 and a specific instruction code memory 62 are incorporated in a single integrated circuit (chip). Here, the ROM 10, the instruction prefetch circuit 11, the selector 12, the instruction decoder 13, the logical operation circuit 14, the program counter 15, and the data bus 16 are the same as those of the microcomputer 2 described with reference to FIG. Is the same. The microcomputer 52 is, for example, a video camera or a C
This is a simple computer that is built in a D player or the like and does not have advanced functions such as a debug function.

【0025】セレクタ60および61が本発明の選択回
路に対応し、また、セレクタ60および61が、それぞ
れ第2の選択回路および第1の選択回路に対応してい
る。また、命令デコーダ13および論理演算回路14が
本発明の実行回路に対応し、データバス16が本発明の
信号伝送線に対応している。また、特定命令コードメモ
リ62が、本発明の命令コード記憶回路に対応してい
る。また、ROM10が、本発明のマイクロコンピュー
タの第2の制御プログラム記憶回路に対応している。
The selectors 60 and 61 correspond to the selection circuit of the present invention, and the selectors 60 and 61 correspond to the second selection circuit and the first selection circuit, respectively. The instruction decoder 13 and the logical operation circuit 14 correspond to the execution circuit of the present invention, and the data bus 16 corresponds to the signal transmission line of the present invention. Further, the specific instruction code memory 62 corresponds to the instruction code storage circuit of the present invention. Further, the ROM 10 corresponds to a second control program storage circuit of the microcomputer of the present invention.

【0026】ROM10は、出荷時に、プログラム開発
支援装置54を用いて開発されたマイクロコンピュータ
52の制御プログラムが記憶される。
The ROM 10 stores a control program for the microcomputer 52 developed using the program development support device 54 at the time of shipment.

【0027】特定命令コードメモリ62は、例えば、論
理演算回路14の動作を中断することを指示する、特定
命令コード(本発明の第1の命令コード)を記憶してい
る。なお、特定命令コードとしては、論理演算回路14
の動作を中断することを示すものの他にも、制御プログ
ラムのデバックに必要な動作をマイクロコンピュータ5
2に行わせるのに有効な種々の命令コードを用いること
が可能である。
The specific instruction code memory 62 stores, for example, a specific instruction code (first instruction code of the present invention) for instructing to suspend the operation of the logical operation circuit 14. The specific instruction code is a logical operation circuit 14
The operation necessary for debugging the control program, other than the one indicating that the operation of
It is possible to use various instruction codes that are effective to cause the second instruction code to be executed.

【0028】セレクタ61は、第1の入力端子に入力さ
れたデータバス16からの命令コード(本発明の第2の
命令コード)と、第2の入力端子に入力された特定命令
コードメモリ62から読み出された特定命令コードとの
うち一方を、ジャミング要求信号S72に応じて選択
し、当該選択した命令コードを命令プリフェッチ回路1
1に出力する。具体的には、ジャミング要求信号S72
が論理値「1」のときに、すなわちアドレス一致検出回
路22がアドレスの一致を検出していないときに、第1
の入力端子に入力された命令コードを命令プリフェッチ
回路11に出力し、ジャミング要求信号S72が論理値
「0」のときに、すなわちアドレス一致検出回路22が
アドレスの一致を検出したときに、第2の入力端子に入
力された特定命令コードを命令プリフェッチ回路11に
出力する。
The selector 61 receives the instruction code from the data bus 16 (the second instruction code of the present invention) inputted to the first input terminal and the specific instruction code memory 62 inputted to the second input terminal. One of the read specific instruction codes is selected according to the jamming request signal S72, and the selected instruction code is stored in the instruction prefetch circuit 1.
Output to 1. Specifically, the jamming request signal S72
Is a logical value “1”, that is, when the address match detection circuit 22 has not detected an address match,
Is output to the instruction prefetch circuit 11, and when the jamming request signal S72 has the logical value "0", that is, when the address match detection circuit 22 detects the match of the address, the second Output to the instruction prefetch circuit 11.

【0029】セレクタ60は、第1の入力端子に入力さ
れたデータバス16からの命令コードと、第2の入力端
子に入力された特定命令コードメモリ62から読み出さ
れた特定命令コードとのうち一方を、ジャミング要求信
号S72に応じて選択し、当該選択した命令コードをセ
レクタ12の第2の入力端子に出力する。具体的には、
ジャミング要求信号S72が論理値「1」のときに、第
1の入力端子に入力された命令コードをセレクタ12の
第2の入力端子に出力し、ジャミング要求信号S72が
論理値「0」のときに、第2の入力端子に入力された特
定命令コードをセレクタ12の第2の入力端子に出力す
る。
The selector 60 determines whether the instruction code from the data bus 16 input to the first input terminal or the specific instruction code read from the specific instruction code memory 62 input to the second input terminal. One of them is selected according to the jamming request signal S72, and the selected instruction code is output to the second input terminal of the selector 12. In particular,
When the jamming request signal S72 has the logical value "1", the instruction code input to the first input terminal is output to the second input terminal of the selector 12, and when the jamming request signal S72 has the logical value "0". Then, the specific instruction code input to the second input terminal is output to the second input terminal of the selector 12.

【0030】命令プリフェッチ回路11は、例えば、複
数のプリフェッチレジスタを備え、セレクタ61から入
力した命令コードを、当該プリフェッチレジスタに記憶
した後に、FIFO(First In First Out)方式で、セレ
クタ12の第1の入力端子に出力する。
The instruction prefetch circuit 11 includes, for example, a plurality of prefetch registers. The instruction prefetch circuit 11 stores the instruction code input from the selector 61 in the prefetch register, and then stores the instruction code in the first in first out (FIFO) system. Output to the input terminal.

【0031】セレクタ12は、セレクタ信号S40が論
理値「1」のときに、第1の入力端子に入力された命令
コードを命令デコーダ13に出力し、セレクタ信号S4
0が論理値「0」のときに、第2の入力端子に入力され
た命令コードを命令デコーダ13に出力する。セレクタ
信号S40は、例えは、命令プリフェッチ回路11にお
いて生成され、命令プリフェッチ回路11のプリフェッ
チレジスタに命令コードが記憶されていない場合など
に、論理値「0」となり、データバス16を流れる命令
コードあるいは特定命令コードメモリ62に記憶されて
いる特定命令コードを、命令プリフェッチ回路11を介
さずに命令デコーダ13に直接出力させるために用いら
れる。
When the selector signal S40 has the logical value "1", the selector 12 outputs the instruction code input to the first input terminal to the instruction decoder 13, and outputs the selector signal S4
When 0 is a logical value “0”, the instruction code input to the second input terminal is output to the instruction decoder 13. The selector signal S40 is, for example, generated in the instruction prefetch circuit 11, and becomes a logical value “0” when the instruction code is not stored in the prefetch register of the instruction prefetch circuit 11, for example. It is used to directly output the specific instruction code stored in the specific instruction code memory 62 to the instruction decoder 13 without passing through the instruction prefetch circuit 11.

【0032】命令デコーダ13は、セレクタ12から入
力した命令コードをデコードし、当該デコード結果に応
じて、論理演算回路14を制御する制御信号S13aを
生成し、当該制御信号S13aを論理演算回路14に出
力して、論理演算回路14を制御する。また、命令デコ
ーダ13は、命令コードをデコードする度に、プログラ
ムカウンタ15にインクリメント信号S13bを出力す
る。
The instruction decoder 13 decodes the instruction code input from the selector 12, generates a control signal S13a for controlling the logical operation circuit 14 according to the decoding result, and sends the control signal S13a to the logical operation circuit 14. Output to control the logical operation circuit 14. The instruction decoder 13 outputs an increment signal S13b to the program counter 15 every time the instruction code is decoded.

【0033】論理演算回路14は、制御信号S13aに
基づいて、必要なデータを用いて演算が行われる。この
とき、論理演算回路14における演算の途中結果および
最終結果が、論理演算回路14内のレジスタに一時的に
記憶される。
The logical operation circuit 14 performs an operation using necessary data based on the control signal S13a. At this time, the intermediate result and the final result of the operation in the logical operation circuit 14 are temporarily stored in a register in the logical operation circuit 14.

【0034】プログラムカウンタ15は、プログラム開
発支援装置54と接続されているときにメモリ25内の
アドレスを指し示し、プログラム開発支援装置54が接
続されていないときに、ROM10内のアドレスを指し
示す。また、プログラムカウンタ15は、インクリメン
ト信号S13bに基づいて、指し示すアドレスの値を所
定の数だけ増加させる。
The program counter 15 indicates an address in the memory 25 when connected to the program development support device 54, and indicates an address in the ROM 10 when the program development support device 54 is not connected. Further, the program counter 15 increases the value of the indicated address by a predetermined number based on the increment signal S13b.

【0035】〔プログラム開発支援装置54〕図1に示
すように、プログラム開発支援装置54は、ジャミング
アドレスメモリ21、アドレス一致検出回路22、メモ
リ25、モニタ26、入力部27および制御回路70を
有する。メモリ25は、本発明の第2の制御プログラム
記憶回路に対応している。
[Program Development Support Apparatus 54] As shown in FIG. 1, the program development support apparatus 54 has a jamming address memory 21, an address coincidence detection circuit 22, a memory 25, a monitor 26, an input unit 27, and a control circuit 70. . The memory 25 corresponds to the second control program storage circuit of the present invention.

【0036】メモリ25は、開発中の制御プログラム
を、入力部27を介して入力して記憶する。当該制御プ
ログラムは、開発後に、マイクロコンピュータ52のR
OM10に記憶されるものである。なお、メモリ25に
記憶される開発中の制御プログラムは、開発者が、入力
部27のキーボードを操作してプログラム開発支援装置
54上で作成しても、あるいは、他のコンピュータを用
いて作成してもよい。
The memory 25 inputs and stores the control program under development via the input unit 27. After the development, the control program of R
This is stored in the OM 10. The control program under development stored in the memory 25 may be created by the developer on the program development support device 54 by operating the keyboard of the input unit 27, or may be created by using another computer. You may.

【0037】ジャミングアドレスメモリ21は、アドレ
ス一致検出回路22がジャミング要求信号72を出力す
るときのプログラムカウンタ15が示すアドレスである
ジャミングアドレスを、入力部27を介して入力して記
憶する。ジャミング要求信号S72が、本発明の実行指
示信号に対応している。
The jamming address memory 21 stores, via the input unit 27, a jamming address, which is an address indicated by the program counter 15 when the address coincidence detection circuit 22 outputs the jamming request signal 72, via the input unit 27. The jamming request signal S72 corresponds to the execution instruction signal of the present invention.

【0038】アドレス一致検出回路22は、通信ケーブ
ル31を介して入力したプログラムカウンタ15が示す
アドレスと、ジャミングアドレスメモリ21に記憶され
ているジャミングアドレスとを比較し、一致しなかった
ときに論理値「1」を示し、一致したときに論理値
「0」を示すジャミング要求信号S72を生成し、当該
ジャミング要求信号S72を通信ケーブル33を介し
て、マイクロコンピュータ52のセレクタ60および6
1に出力する。
The address coincidence detecting circuit 22 compares the address indicated by the program counter 15 input via the communication cable 31 with the jamming address stored in the jamming address memory 21. A jamming request signal S72 indicating "1" and indicating a logical value "0" when they match is generated, and the jamming request signal S72 is transmitted to the selectors 60 and 6 of the microcomputer 52 via the communication cable 33.
Output to 1.

【0039】制御回路70は、プログラム開発支援装置
54における処理を統括的に管理する制御信号を生成
し、当該制御信号を必要に応じて、プログラム開発支援
装置54内の各構成要素に出力する。
The control circuit 70 generates a control signal for comprehensively managing the processing in the program development support device 54 and outputs the control signal to each component in the program development support device 54 as needed.

【0040】モニタ26は、制御回路70からの制御信
号に応じて、通信ケーブル32を介して、論理演算回路
14のレジスタに記憶されたデータを入力し、当該入力
したデータを表示する。
The monitor 26 inputs data stored in the register of the logical operation circuit 14 via the communication cable 32 in response to a control signal from the control circuit 70, and displays the input data.

【0041】以下、図1に示すマイクロコンピュータ5
2およびプログラム開発支援装置54を用いてROM1
0に記憶すべき制御プログラムを開発する際に行われ
る、デバック時の動作について説明する。なお、以下の
説明では、セレクタ信号S40が論理値「1」の場合、
すなわち、セレクタ12において、命令プリフェッチ回
路11からの命令コードが命令デコーダ13に出力され
る場合の動作を例示する。
The microcomputer 5 shown in FIG.
ROM1 using the program 2 and the program development support device 54
The operation at the time of debugging performed when developing a control program to be stored in 0 will be described. In the following description, when the selector signal S40 has the logical value “1”,
That is, the operation when the instruction code from the instruction prefetch circuit 11 is output to the instruction decoder 13 in the selector 12 is illustrated.

【0042】先ず、マイクロコンピュータ52のROM
10に記憶すべき制御プログラムを開発する段階で、例
えば、開発中の制御プログラムのデバック処理を行うと
きに、マイクロコンピュータ52とプログラム開発支援
装置54とが通信ケーブル30〜33を介して相互に接
続される。
First, the ROM of the microcomputer 52
At the stage of developing a control program to be stored in the memory 10, for example, when debugging a control program being developed, the microcomputer 52 and the program development support device 54 are interconnected via the communication cables 30 to 33. Is done.

【0043】そして、開発中の制御プログラムが、プロ
グラム開発支援装置54の入力部27を介してメモリ2
5に記憶される。また、ジャミングアドレスが、入力部
27を介してジャミングアドレスメモリ21に記憶され
る。初期状態では、アドレス一致検出回路22から出力
されるジャミング要求信号S72は、論理値「1」、す
なわちアドレスの不一致を示している。
The control program under development is stored in the memory 2 via the input unit 27 of the program development support device 54.
5 is stored. Further, the jamming address is stored in the jamming address memory 21 via the input unit 27. In the initial state, the jamming request signal S72 output from the address match detection circuit 22 indicates a logical value “1”, that is, a mismatch of addresses.

【0044】そして、マイクロコンピュータ52のプロ
グラムカウンタ15で指し示されるメモリ25上のアド
レスから読み出された制御プログラムの命令コードが、
セレクタ24、通信ケーブル30およびデータバス16
を介して、マイクロコンピュータ52のセレクタ61の
第1の入力端子に出力される。セレクタ61では、論理
値「1」のジャミング要求信号S72に基づいて、デー
タバス16から入力した命令コードが、命令プリフェッ
チ回路11に出力される。
The instruction code of the control program read from the address on the memory 25 indicated by the program counter 15 of the microcomputer 52 is:
Selector 24, communication cable 30 and data bus 16
Is output to the first input terminal of the selector 61 of the microcomputer 52 via the. In the selector 61, the instruction code input from the data bus 16 is output to the instruction prefetch circuit 11 based on the jamming request signal S72 having the logical value “1”.

【0045】当該命令コードは、命令プリフェッチ回路
11のプリフェッチレジスタに記憶された後に、セレク
タ12を介して命令デコーダ13に出力され、命令デコ
ーダ13でデコードされ、当該デコード結果に応じた制
御信号S13aが論理演算回路14に出力される。論理
演算回路14では、制御信号S13aに基づいて、必要
なデータを用いて演算が行われる。このとき、論理演算
回路14における演算の途中結果および最終結果が、論
理演算回路14内のレジスタに一時的に記憶される。
The instruction code is stored in the prefetch register of the instruction prefetch circuit 11 and then output to the instruction decoder 13 via the selector 12 and decoded by the instruction decoder 13 to generate a control signal S13a corresponding to the result of the decoding. Output to the logical operation circuit 14. The logical operation circuit 14 performs an operation using necessary data based on the control signal S13a. At this time, the intermediate result and the final result of the operation in the logical operation circuit 14 are temporarily stored in a register in the logical operation circuit 14.

【0046】また、命令デコーダ13においてデコード
が行われると、プログラムカウンタ15が指し示すアド
レスが所定の数だけインクリメントされ、当該インクリ
メントされたアドレスが、通信ケーブル31を介して、
プログラム開発支援装置54のメモリ25に出力され
る。そして、プログラムカウンタ15の当該インクリメ
ントされたアドレスの命令コードがメモリ25から読み
出され、上述した処理が繰り返される。
When the instruction decoder 13 performs decoding, the address indicated by the program counter 15 is incremented by a predetermined number, and the incremented address is transmitted via the communication cable 31.
It is output to the memory 25 of the program development support device 54. Then, the instruction code of the incremented address of the program counter 15 is read from the memory 25, and the above-described processing is repeated.

【0047】その後、プログラムカウンタ15が指し示
すアドレスと、ジャミングアドレスメモリ21に記憶さ
れたジャミングアドレスとが一致したことがアドレス一
致検出回路22において検出されると、アドレス一致検
出回路22からセレクタ61に出力される1ビットのジ
ャミング要求信号S72が、例えば論理値「1」から
「0」に切り換わる。これにより、マイクロコンピュー
タ52において、特定命令コードメモリ62に記憶され
ている特定命令コードが、セレクタ61を介して、命令
プリフェッチ回路11に出力される。
Thereafter, when the address match detection circuit 22 detects that the address indicated by the program counter 15 and the jamming address stored in the jamming address memory 21 match, the address match detection circuit 22 outputs the same to the selector 61. The 1-bit jamming request signal S72 is switched from, for example, a logical value “1” to “0”. Thus, in the microcomputer 52, the specific instruction code stored in the specific instruction code memory 62 is output to the instruction prefetch circuit 11 via the selector 61.

【0048】そして、当該特定命令コードが、命令プリ
フェッチ回路11のプリフェッチレジスタに記憶された
後に、セレクタ12を介して命令デコーダ13に出力さ
れ、デコードされる。当該デコードにより、論理演算回
路14の動作を中断することを指示する制御信号S13
aが論理演算回路14に出力され、論理演算回路14の
動作が中断する。次に、プログラム開発支援装置54の
制御回路70からの制御に応じて、マイクロコンピュー
タ52の論理演算回路14内の所定のレジスタに記憶さ
れているデータが、通信ケーブル32を介してプログラ
ム開発支援装置54のモニタ26に出力されて表示され
る。プログラムの開発者は、モニタ26に表示されたデ
ータを見ながら、メモリ25に記憶した制御プログラム
によって、マイクロコンピュータ52が所望の動作を行
っているか否かを判断し、その判断結果に基づいて、メ
モリ25に記憶されている開発中の制御プログラムにバ
グが存在するか否かを判断できる。
After the specific instruction code is stored in the prefetch register of the instruction prefetch circuit 11, the specific instruction code is output to the instruction decoder 13 via the selector 12 and decoded. By the decoding, the control signal S13 instructing to suspend the operation of the logical operation circuit 14
is output to the logical operation circuit 14, and the operation of the logical operation circuit 14 is interrupted. Next, under the control of the control circuit 70 of the program development support device 54, the data stored in a predetermined register in the logical operation circuit 14 of the microcomputer 52 is transferred via the communication cable 32 to the program development support device. The data is output to the monitor 26 and displayed. The program developer determines whether or not the microcomputer 52 is performing a desired operation based on the control program stored in the memory 25 while looking at the data displayed on the monitor 26, and based on the determination result, It can be determined whether or not a bug exists in the control program under development stored in the memory 25.

【0049】以下、出荷後のマイクロコンピュータ52
の動作について説明する。上述した制御プログラムの開
発が完了すると、マイクロコンピュータ52のROM1
0に当該開発した制御プログラムを記憶した後に、マイ
クロコンピュータ52が出荷される。このとき、セレク
タ60および61のジャミング要求信号S72が入力さ
れる端子のレベルは論理値「1」に固定され、セレクタ
60および61がデータバス16からの命令コードを常
に出力するように設定される。
Hereinafter, the microcomputer 52 after shipment will be described.
Will be described. When the development of the control program described above is completed, the ROM 1
After storing the developed control program at 0, the microcomputer 52 is shipped. At this time, the level of the terminal to which the jamming request signal S72 of the selectors 60 and 61 is input is fixed to the logical value "1", and the selectors 60 and 61 are set so as to always output the instruction code from the data bus 16. .

【0050】そして、マイクロコンピュータ52では、
プログラムカウンタ15によって指し示されるROM1
0内のアドレスから命令コードが順次に読み出され、デ
ータバス16を介してセレクタ61に出力される。次
に、セレクタ信号S40が論理値「1」の場合には、当
該命令コードが、命令プリフェッチ回路11およびセレ
クタ12を介して、命令デコーダ13に出力され、デコ
ードされる。そして、命令デコーダ13からの制御信号
S13aに基づいて、論理演算回路14が動作する。
Then, in the microcomputer 52,
ROM 1 pointed to by program counter 15
Instruction codes are sequentially read from the address in 0 and output to the selector 61 via the data bus 16. Next, when the selector signal S40 has the logical value “1”, the instruction code is output to the instruction decoder 13 via the instruction prefetch circuit 11 and the selector 12, and is decoded. Then, the logical operation circuit 14 operates based on the control signal S13a from the instruction decoder 13.

【0051】上述したマイクロコンピュータ52およひ
プログラム開発支援装置54の動作では、セレクタ信号
S40が論理値「1」の場合を例示したが、セレクタ信
号S40が論理値「0」の場合には、ジャミング要求信
号S72に基づいて、セレクタ60で、データバス16
からの命令コードと特定命令コードメモリ62からの特
定命令コードとのうち一方が選択され、当該選択された
命令コードが、セレクタ12を介して命令デコーダ13
にされる点を除いて、前述した動作を同じである。
In the operation of the microcomputer 52 and the program development support device 54 described above, the case where the selector signal S40 has the logical value "1" has been exemplified. However, when the selector signal S40 has the logical value "0", Based on the jamming request signal S72, the selector 60 sets the data bus 16
And the specific instruction code from the specific instruction code memory 62 is selected, and the selected instruction code is transmitted to the instruction decoder 13 via the selector 12.
The operation is the same as described above, except that

【0052】以上説明したように、プログラム開発支援
システム51によれば、マイクロコンピュータ52のR
OM10に記憶する制御プログラムの開発段階のデバッ
ク動作時に、通信ケーブル33を介してプログラム開発
支援装置54からマイクロコンピュータ52にジャミン
グ要求信号S72を伝送し、マイクロコンピュータ52
内でジャミング要求信号S72に基づいて特定命令コー
ドメモリ62に記憶された特定命令コードを読み出して
セレクタ60および61に出力する。
As described above, according to the program development support system 51, the R of the microcomputer 52
At the time of the debugging operation at the development stage of the control program stored in the OM 10, the jamming request signal S72 is transmitted from the program development support device 54 to the microcomputer 52 through the communication cable 33, and the microcomputer 52
The specific instruction code stored in the specific instruction code memory 62 is read out based on the jamming request signal S72 and output to the selectors 60 and 61.

【0053】このように、ジャミング要求信号S72
を、データバス16を介さずに、専用の通信ケーブル3
3を介して、マイクロコンピュータ52のセレクタ60
および61に直接出力することから、プログラム開発支
援装置54のアドレス一致検出回路22がアドレスの一
致を検出してから、ジャミング要求信号S72がセレク
タ60および61に入力されるまでの時間を図4に従来
のシステムに比べてナノ秒のオーダで短縮できる。ま
た、特定命令コードメモリ62はマイクロコンピュータ
52のチップ内に組み込まれていることから、特定命令
コードメモリ62からセレクタ60および61への特定
命令コードの読み出しも高速に行える。その結果、図1
に示すプログラム開発支援システム51によれば、アド
レス一致検出回路22においてアドレスの一致を検出し
てから、マイクロコンピュータ52が特定命令コードを
実行するまでの時間を、図4に示す従来の場合と比べ
て、数ナノ秒のオーダで短縮できる。その結果、データ
バス16の負荷に影響されずに、開発者が希望したタイ
ミングでマイクロコンピュータ52の論理演算回路14
の動作を停止し、開発中の制御プログラムの動作を確認
できる。
As described above, the jamming request signal S72
To the dedicated communication cable 3 without passing through the data bus 16.
3, the selector 60 of the microcomputer 52
4 are directly output to the selectors 60 and 61, and the time from when the address match detection circuit 22 of the program development support device 54 detects the address match to when the jamming request signal S72 is input to the selectors 60 and 61 is shown in FIG. It can be shortened on the order of nanoseconds compared to conventional systems. Further, since the specific instruction code memory 62 is incorporated in the chip of the microcomputer 52, the specific instruction code can be read from the specific instruction code memory 62 to the selectors 60 and 61 at high speed. As a result, FIG.
According to the program development support system 51 shown in FIG. 4, the time from when the address match is detected by the address match detection circuit 22 until the microcomputer 52 executes the specific instruction code is compared with the conventional case shown in FIG. Therefore, it can be shortened on the order of several nanoseconds. As a result, the logic operation circuit 14 of the microcomputer 52 is not affected by the load on the data bus 16 and at the timing desired by the developer.
Can be stopped and the operation of the control program under development can be checked.

【0054】また、プログラム開発支援装置54によれ
ば、図4に示すプログラム開発支援装置4と比べて、特
定命令コードメモリ23およびセレクタ24を設けてい
ない分、小規模化および低価格化が図れる。
Further, according to the program development support device 54, compared to the program development support device 4 shown in FIG. 4, the specific instruction code memory 23 and the selector 24 are not provided, so that the size and the price can be reduced. .

【0055】第2実施形態 図2は、本実施形態のプログラム開発支援システム81
の構成図である。図2に示すように、プログラム開発支
援システム81は、マイクロコンピュータ82のROM
10に記憶する制御プログラムを開発する段階で、通信
ケーブル30〜33を介してマイクロコンピュータ82
とプログラム開発支援装置54とを着脱自在に接続した
構成をしている。図2において、プログラム開発支援装
置54は、図1を参照して前述した第1実施形態のプロ
グラム開発支援装置54と同じである。
Second Embodiment FIG. 2 shows a program development support system 81 of this embodiment .
FIG. As shown in FIG. 2, the program development support system 81 includes a ROM
At the stage of developing a control program stored in the microcomputer 10, the microcomputer 82 is connected via the communication cables 30 to 33.
And the program development support device 54 are detachably connected. 2, the program development support device 54 is the same as the program development support device 54 of the first embodiment described above with reference to FIG.

【0056】以下、マイクロコンピュータ82について
詳細に説明する。図2に示すように、ROM10、セレ
クタ12、命令デコーダ13、論理演算回路14、プロ
グラムカウンタ15、データバス16および命令プリフ
ェッチ回路80を単体の集積回路(チップ)内に組み込
んだ構成をしている。命令プリフェッチ回路80は、本
発明の選択回路に対応している。図2に示すROM1
0、セレクタ12、命令デコーダ13、論理演算回路1
4、プログラムカウンタ15およびデータバス16は、
図1に示す同一符号を付した第1実施形態で説明した構
成要素と同じである。すなわち、マイクロコンピュータ
82は、図1に示すマイクロコンピュータ52から、セ
レクタ60および61と特定命令コードメモリ62とを
除去し、命令プリフェッチ回路11を命令プリフェッチ
回路80で置き換えた構成をしている。
Hereinafter, the microcomputer 82 will be described in detail. As shown in FIG. 2, the ROM 10, the selector 12, the instruction decoder 13, the logical operation circuit 14, the program counter 15, the data bus 16, and the instruction prefetch circuit 80 are incorporated in a single integrated circuit (chip). . The instruction prefetch circuit 80 corresponds to the selection circuit of the present invention. ROM 1 shown in FIG.
0, selector 12, instruction decoder 13, logical operation circuit 1
4. The program counter 15 and the data bus 16
The same reference numerals as in FIG. 1 denote the same components as those described in the first embodiment. That is, the microcomputer 82 has a configuration in which the selectors 60 and 61 and the specific instruction code memory 62 are removed from the microcomputer 52 shown in FIG. 1, and the instruction prefetch circuit 11 is replaced with an instruction prefetch circuit 80.

【0057】以下、命令プリフェッチ回路80について
詳細に説明する。図3は、命令プリフェッチ回路80の
構成図である。図3に示すように、命令プリフェッチ回
路80は、プリフェッチレジスタ851 ,852 ,85
3 ,854 、制御回路86および特定命令コード設定回
路87を有する。プリフェッチレジスタ851 〜854
は、制御回路86からの制御に基づいて、FIFO(Fir
st In First Out)メモリとして機能する。すなわち、図
2に示すデータバス16から入力された命令コードをプ
リフェッチレジスタ851 〜854 に順次に書き込み、
当該書き込んだ命令コードを書き込み順で読み出してセ
レクタ12の第1の入力端子に出力する。また、プリフ
ェッチレジスタ851 〜854 は、それぞれ特定命令コ
ード設定回路87から、特定命令コードセット信号S8
1 〜S874 を入力すると、記憶内容を特定命令コー
ドに置き換える。
Hereinafter, the instruction prefetch circuit 80 will be described in detail. FIG. 3 is a configuration diagram of the instruction prefetch circuit 80. As shown in FIG. 3, the instruction prefetch circuit 80 includes prefetch registers 85 1 , 85 2 , 85
3 , 85 4 , a control circuit 86 and a specific instruction code setting circuit 87. Prefetch registers 85 1 to 85 4
Is based on the control from the control circuit 86,
st In First Out) Functions as memory. That is, sequentially writes the instruction code input from the data bus 16 shown in FIG. 2 in the pre-fetch register 85 1-85 4,
The written instruction codes are read out in the order of writing and output to the first input terminal of the selector 12. Further, the prefetch registers 85 1 to 85 4 respectively output the specific instruction code set signal S8 from the specific instruction code setting circuit 87.
If you enter 7 1 ~S87 4, replacing the stored contents to a specific opcode.

【0058】制御回路86は、プリフェッチレジスタ8
1 〜852 に対しての命令コードの書き込みおよび読
み出し動作の制御を含む、命令プリフェッチ回路80内
の制御を統括して行う。
The control circuit 86 controls the prefetch register 8
5 1-85 including control of the write and read operations of the instruction code with respect to 2, carried out overall control of the instruction prefetch circuit 80.

【0059】特定命令コード設定回路87は、通信ケー
ブル33を介して、プログラム開発支援装置54からジ
ャミング要求信号S72を入力し、当該ジャミング要求
信号S72が論理値「1」から「0」に切り換わったと
きに、制御回路86から指示されたプリフェッチレジス
タ851 〜854 に、特定命令コードセット信号S87
1 〜S874 を出力する。制御回路86は、例えば、プ
リフェッチレジスタ851 〜854 のうち予め決められ
たに一のプリフェッチレジスタに、特定命令コードセッ
ト信号を出力することを指示する。
The specific instruction code setting circuit 87 inputs the jamming request signal S72 from the program development support device 54 via the communication cable 33, and the jamming request signal S72 switches from the logical value “1” to “0”. when the, the prefetch register 85 1-85 4 instructed by the control circuit 86, a specific instruction code set signal S87
And outputs a 1 ~S87 4. The control circuit 86 is, for example, one of the prefetch registers predetermined one of the prefetch registers 85 1 to 85 4, which specifies the output of the specific instruction code set signal.

【0060】以下、図2に示すマイクロコンピュータ8
2およびプログラム開発支援装置54の開発段階のデバ
ック時の動作について説明する。なお、以下の説明で
は、セレクタ信号S40が論理値「1」の場合、すなわ
ち、セレクタ12において、命令プリフェッチ回路11
からの命令コードが命令デコーダ13に出力される場合
の動作を例示する。
The microcomputer 8 shown in FIG.
2 and the operation of the program development support device 54 at the time of debugging in the development stage will be described. In the following description, when the selector signal S40 has the logical value “1”, that is, in the selector 12, the instruction prefetch circuit 11
The operation when the instruction code from is output to the instruction decoder 13 is illustrated.

【0061】先ず、マイクロコンピュータ82のROM
10に記憶すべき制御プログラムを開発する段階で、例
えば、開発中の制御プログラムのデバック処理を行うと
きに、マイクロコンピュータ82とプログラム開発支援
装置54とが通信ケーブル30〜33を介して相互に接
続される。
First, the ROM of the microcomputer 82
At the stage of developing a control program to be stored in the memory 10, for example, when performing a debugging process of the control program under development, the microcomputer 82 and the program development support device 54 are interconnected via the communication cables 30 to 33. Is done.

【0062】そして、開発中の制御プログラムが、プロ
グラム開発支援装置54の入力部27を介してメモリ2
5に記憶される。また、当該制御プログラムの動作を確
認するためにマイクロコンピュータ52における当該制
御プログラムの処理を中断させようとするプログラムカ
ウンタ15のアドレスであるジャミングアドレスが、入
力部27を介してジャミングアドレスメモリ21に記憶
される。初期状態では、アドレス一致検出回路22から
出力されるジャミング要求信号S72は、論理値
「1」、すなわちアドレスの不一致を示している。
The control program under development is stored in the memory 2 via the input unit 27 of the program development support device 54.
5 is stored. Further, a jamming address, which is an address of the program counter 15 for interrupting the processing of the control program in the microcomputer 52 in order to confirm the operation of the control program, is stored in the jamming address memory 21 via the input unit 27. Is done. In the initial state, the jamming request signal S72 output from the address match detection circuit 22 indicates a logical value “1”, that is, a mismatch of addresses.

【0063】そして、マイクロコンピュータ82のプロ
グラムカウンタ15で指し示されるメモリ25上のアド
レスから読み出された制御プログラムの命令コードが、
セレクタ24、通信ケーブル30およびデータバス16
を介して、マイクロコンピュータ82の命令プリフェッ
チ回路80およびセレクタ12の第2の入力端子に出力
される。
The instruction code of the control program read from the address on the memory 25 indicated by the program counter 15 of the microcomputer 82 is
Selector 24, communication cable 30 and data bus 16
Are output to the instruction prefetch circuit 80 of the microcomputer 82 and the second input terminal of the selector 12 via the

【0064】当該命令コードは、図3に示す命令プリフ
ェッチ回路80のプリフェッチレジスタ851 〜854
に記憶された後に、FIFO方式で読み出された後に、
セレクタ12を介して命令デコーダ13に出力され、命
令デコーダ13でデコードされ、当該デコード結果に応
じた制御信号S13aが論理演算回路14に出力され
る。論理演算回路14では、制御信号S13aに基づい
て、必要なデータを用いて演算が行われる。このとき、
論理演算回路14における演算の途中結果および最終結
果が、論理演算回路14内のレジスタに一時的に記憶さ
れる。
The instruction code is stored in the prefetch registers 85 1 to 85 4 of the instruction prefetch circuit 80 shown in FIG.
After being read out by the FIFO method,
The signal is output to the instruction decoder 13 via the selector 12, decoded by the instruction decoder 13, and a control signal S 13 a corresponding to the decoding result is output to the logical operation circuit 14. The logical operation circuit 14 performs an operation using necessary data based on the control signal S13a. At this time,
The intermediate result and the final result of the operation in the logical operation circuit 14 are temporarily stored in a register in the logical operation circuit 14.

【0065】また、命令デコーダ13においてデコード
が行われると、プログラムカウンタ15が指し示すアド
レスが所定の数だけインクリメントされ、当該インクリ
メントされたアドレスが、通信ケーブル31を介して、
プログラム開発支援装置54のメモリ25に出力され
る。そして、プログラムカウンタ15の当該インクリメ
ントされたアドレスの命令コードがメモリ25から読み
出され、上述した処理が繰り返される。
When decoding is performed in the instruction decoder 13, the address indicated by the program counter 15 is incremented by a predetermined number, and the incremented address is transmitted via the communication cable 31.
It is output to the memory 25 of the program development support device 54. Then, the instruction code of the incremented address of the program counter 15 is read from the memory 25, and the above-described processing is repeated.

【0066】その後、プログラムカウンタ15が指し示
すアドレスと、ジャミングアドレスメモリ21に記憶さ
れたジャミングアドレスとが一致したことがアドレス一
致検出回路22において検出されると、通信ケーブル3
3を介してアドレス一致検出回路22から命令プリフェ
ッチ回路80に出力されるジャミング要求信号S72
が、例えば論理値「1」から「0」に切り換わる。これ
により、図3に示すマイクロコンピュータ82の命令プ
リフェッチ回路80において、特定命令コード設定回路
87から特定命令コードセット信号S871 が、例えば
プリフェッチレジスタ851 に出力され、プリフェッチ
レジスタ851 の記憶内容が特定命令コードに置き換え
られる。
Thereafter, when the address match detection circuit 22 detects that the address indicated by the program counter 15 matches the jamming address stored in the jamming address memory 21, the communication cable 3
3, a jamming request signal S72 output from the address coincidence detection circuit 22 to the instruction prefetch circuit 80.
Switches from the logical value “1” to “0”, for example. Thus, in the instruction prefetch circuit 80 of the microcomputer 82 shown in FIG. 3, the specific instruction code set signal S87 1 from a specific instruction code setting circuit 87, for example, is output to the prefetch register 85 1, the stored contents of prefetch register 85 1 It is replaced with a specific instruction code.

【0067】そして、プリフェッチレジスタ851 に記
憶された特定命令コードが、制御回路86によるFIF
Oの制御に応じて、セレクタ12の第1の入力端子を介
して命令デコーダ13に出力され、デコードされる。当
該デコードにより、論理演算回路14の動作を中断する
ことを指示する制御信号S13aが論理演算回路14に
出力され、論理演算回路14の動作が中断する。次に、
プログラム開発支援装置54の制御回路70からの制御
に応じて、マイクロコンピュータ82の論理演算回路1
4内の所定のレジスタに記憶されているデータが、通信
ケーブル32を介してプログラム開発支援装置54のモ
ニタ26に出力されて表示される。プログラムの開発者
は、モニタ26に表示されたデータを見ながら、メモリ
25に記憶した制御プログラムによって、マイクロコン
ピュータ52が所望の動作を行っているか否かを判断
し、その判断結果に基づいて、メモリ25に記憶されて
いる開発中の制御プログラムにバグが存在するか否かを
判断できる。
Then, the specific instruction code stored in the prefetch register 85 1
In accordance with the control of O, the signal is output to the instruction decoder 13 via the first input terminal of the selector 12 and decoded. As a result of the decoding, a control signal S13a instructing to suspend the operation of the logical operation circuit 14 is output to the logical operation circuit 14, and the operation of the logical operation circuit 14 is suspended. next,
In response to control from the control circuit 70 of the program development support device 54, the logical operation circuit 1 of the microcomputer 82
4 is output to the monitor 26 of the program development support device 54 via the communication cable 32 and displayed. The program developer determines whether or not the microcomputer 52 is performing a desired operation based on the control program stored in the memory 25 while looking at the data displayed on the monitor 26, and based on the determination result, It can be determined whether or not a bug exists in the control program under development stored in the memory 25.

【0068】以下、出荷後のマイクロコンピュータ82
の動作について説明する。上述した制御プログラムの開
発が完了すると、マイクロコンピュータ52のROM1
0に当該開発した制御プログラムを記憶した後に、マイ
クロコンピュータ52が出荷される。このとき、セレク
タ60および61のジャミング要求信号S72が入力さ
れる端子のレベルは論理値「1」に固定され、特定命令
コード設定回路87からプリフェッチレジスタ851
854 には特定命令コードセット信号S871 〜S87
4 は出力されない。そのため、プリフェッチレジスタ8
1〜854 は、制御回路86からの制御に応じて、F
IFOメモリとしてのみ機能する。
Hereinafter, the microcomputer 82 after shipment will be described.
Will be described. When the development of the control program described above is completed, the ROM 1
After storing the developed control program at 0, the microcomputer 52 is shipped. At this time, the level of the terminal to which the jamming request signal S72 of the selectors 60 and 61 is input is fixed to the logical value “1”, and the specific instruction code setting circuit 87 outputs the prefetch registers 85 1 to 851.
85 4 specific instruction code set signal in S87 1 ~S87
4 is not output. Therefore, the prefetch register 8
5 1-85 4 under control of the control circuit 86, F
It functions only as an IFO memory.

【0069】そして、マイクロコンピュータ82では、
プログラムカウンタ15によって指し示されるROM1
0内のアドレスから命令コードが順次に読み出され、デ
ータバス16を介してセレクタ61に出力される。次
に、セレクタ信号S40が論理値「1」の場合には、当
該命令コードが、命令プリフェッチ回路80およびセレ
クタ12を介して、命令デコーダ13に出力され、デコ
ードされる。そして、命令デコーダ13からの制御信号
S13aに基づいて、論理演算回路14が動作する。
Then, in the microcomputer 82,
ROM 1 pointed to by program counter 15
Instruction codes are sequentially read from the address in 0 and output to the selector 61 via the data bus 16. Next, when the selector signal S40 has the logical value “1”, the instruction code is output to the instruction decoder 13 via the instruction prefetch circuit 80 and the selector 12, and is decoded. Then, the logical operation circuit 14 operates based on the control signal S13a from the instruction decoder 13.

【0070】以上説明したように、プログラム開発支援
システム81によれば、前述した第1の実施形態の場合
と同様に、アドレス一致検出回路22においてアドレス
の一致を検出してから、マイクロコンピュータ82が特
定命令コードを実行するまでの時間を、図4に示す従来
の場合と比べて、数ナノ秒のオーダで短縮できる。その
結果、データバス16の負荷に影響されずに、開発者が
希望したタイミングでマイクロコンピュータ52の論理
演算回路14の動作を停止し、開発中の制御プログラム
の動作を確認できる。
As described above, according to the program development support system 81, as in the case of the above-described first embodiment, after the address match is detected by the address match detection circuit 22, the microcomputer 82 The time required to execute a specific instruction code can be reduced on the order of several nanoseconds as compared with the conventional case shown in FIG. As a result, the operation of the logical operation circuit 14 of the microcomputer 52 can be stopped at the timing desired by the developer without being affected by the load on the data bus 16, and the operation of the control program under development can be confirmed.

【0071】また、プログラム開発支援装置54によれ
ば、図4に示すプログラム開発支援装置4と比べて、特
定命令コードメモリ23およびセレクタ24を設けてい
ない分、小規模化および低価格化が図れる。
Further, according to the program development support device 54, compared to the program development support device 4 shown in FIG. 4, the specific instruction code memory 23 and the selector 24 are not provided, so that the size and the price can be reduced. .

【0072】さらに、図2に示すマイクロコンピュータ
82によれば、図1に示すマイクロコンピュータ52と
比較して分かるように、命令プリフェッチ回路80は命
令プリフェッチ回路11に比べて複雑な構成になるが、
図1に示すセレクタ60,61および特定命令コードメ
モリ62を設ける必要がないため、全体として見れば小
規模化および低価格化が図れる。
Further, according to the microcomputer 82 shown in FIG. 2, the instruction prefetch circuit 80 has a more complicated configuration than the instruction prefetch circuit 11 as can be seen from the microcomputer 52 shown in FIG.
Since it is not necessary to provide the selectors 60 and 61 and the specific instruction code memory 62 shown in FIG. 1, the size and cost can be reduced as a whole.

【0073】本発明は上述した実施形態には限定されな
い。例えば、上述した実施形態では、図1に示すよう
に、データバス16からの命令コードを命令プリフェッ
チ回路11,80を介して命令デコーダ13に出力する
場合と、データバス16からの命令コードを命令プリフ
ェッチ回路11,80に直接出力する場合とを選択でき
るように、セレクタ12を設けたが、いずれか一方のみ
を行う構成にしてもよい。例えば、データバス16から
の命令コードを、常に、命令プリフェッチ回路11を介
して命令デコーダ13に出力する場合には、図1に示す
マイクロコンピュータ52は、セレクタ12および60
を除去し、命令プリフェッチ回路11からの出力を命令
デコーダ13に直接入力する構成にする。また、データ
バス16からの命令コードを、常に命令デコーダ13に
直接出力する場合には、図1に示すマイクロコンピュー
タ52は、セレクタ12,61および命令プリフェッチ
回路11を除去し、データバス16からの命令コードを
命令デコーダ13に直接出力する構成にする。
The present invention is not limited to the above embodiment. For example, in the above-described embodiment, as shown in FIG. 1, the instruction code from the data bus 16 is output to the instruction decoder 13 via the instruction prefetch circuits 11 and 80, and the instruction code from the data bus 16 is Although the selector 12 is provided so as to be able to select whether to directly output to the prefetch circuits 11 and 80, a configuration may be adopted in which only one of them is performed. For example, when the instruction code from the data bus 16 is always output to the instruction decoder 13 via the instruction prefetch circuit 11, the microcomputer 52 shown in FIG.
And the output from the instruction prefetch circuit 11 is directly input to the instruction decoder 13. When always outputting the instruction code from the data bus 16 directly to the instruction decoder 13, the microcomputer 52 shown in FIG. 1 removes the selectors 12 and 61 and the instruction prefetch circuit 11 and outputs the instruction code from the data bus 16. The instruction code is directly output to the instruction decoder 13.

【0074】同様に、図2に示すマイクロコンピュータ
82の場合にも、セレクタ12を除去し、命令プリフェ
ッチ回路80からの命令コードあるいはデータバス16
からの命令コードを命令デコーダ13に入力する構成に
してもよい。
Similarly, in the case of the microcomputer 82 shown in FIG. 2, the selector 12 is removed and the instruction code or data bus 16 from the instruction prefetch circuit 80 is removed.
May be input to the instruction decoder 13.

【0075】また、上述した実施形態では、命令コード
を特定命令コードに置き換える処理を、命令コードの全
ビットを対象として行ったが、命令コードの一部を構成
する単数または複数のビットに対してのみ特定命令コー
ドへの置き換えを行ってもよい。また、命令コードを構
成するビットを複数のグループに分け、各々のグループ
毎に、各々に対応するジャミング要求信号に基づいて、
特定命令コードへの置き換えを行うようにしてもよい。
Further, in the above-described embodiment, the process of replacing the instruction code with the specific instruction code is performed for all the bits of the instruction code, but the process for replacing one or more bits constituting a part of the instruction code is performed. Only the specific instruction code may be replaced. Further, the bits constituting the instruction code are divided into a plurality of groups, and for each group, based on a jamming request signal corresponding to each group,
Replacement with a specific instruction code may be performed.

【0076】また、上述した実施形態では、通信ケーブ
ル30,31,32および33を個別に設けた場合を例
示したが、これらの全てあるいは一部を一つの通信ケー
ブルにまとめてもよい。
Further, in the above-described embodiment, the case where the communication cables 30, 31, 32 and 33 are individually provided has been exemplified. However, all or some of them may be combined into one communication cable.

【0077】[0077]

【発明の効果】以上説明したように、本発明のプログラ
ム開発支援システムによれば、プログラム式演算処理装
置に、動作確認対象の制御プログラムの動作確認に使用
される第1の命令コードを所望のタイミングで実行させ
ることができる。また、本発明のプログラム式演算処理
装置によれば、外部から入力した実行指示信号に応じ
て、第1の命令コードを短時間に実行回路に供給でき、
第1の命令コードを所望のタイミングで実行できる。ま
た、本発明のプログラム開発支援装置によれば、プログ
ラム式演算処理装置に対して、第1の命令コードを出力
するのではなく、プログラム式演算処理装置で第1の命
令コードを実行することを指示する実行指示信号を出力
するため、アドレス一致検出回路でアドレスの一致を検
出してから、プログラム式演算処理装置で第1の命令コ
ードを実行するまでの時間を短縮でき、プログラム式演
算処理装置に第1の命令コードを所望のタイミングで実
行させることが可能になる。さらに、本発明のプログラ
ム開発支援システム、プログラム式演算処理装置および
プログラム開発支援装置によれば、プログラム式演算処
理装置に第1の命令コードを所望のタイミングで実行さ
せることができるため、例えば開発者が希望したタイミ
ングでプログラム式演算処理装置の動作を停止させ、動
作確認対象の制御プログラムの動作を正確に把握でき
る。
As described above, according to the program development support system of the present invention, the first instruction code used for confirming the operation of the control program to be confirmed is stored in the programmed arithmetic processing unit. It can be executed at the timing. Further, according to the programmed arithmetic processing device of the present invention, the first instruction code can be supplied to the execution circuit in a short time in response to the execution instruction signal input from the outside,
The first instruction code can be executed at a desired timing. Further, according to the program development support device of the present invention, it is possible to execute the first instruction code in the program-based arithmetic processing device instead of outputting the first instruction code to the program-based arithmetic processing device. Since the execution instruction signal for instructing is output, the time from the detection of an address match by the address match detection circuit to the execution of the first instruction code by the programmable arithmetic processing device can be shortened. Can execute the first instruction code at a desired timing. Furthermore, according to the program development support system, the program-based arithmetic processing device, and the program-development support device of the present invention, the first instruction code can be executed at a desired timing by the program-based arithmetic processing device. Can stop the operation of the programmed arithmetic processing device at a desired timing, and can accurately grasp the operation of the control program to be checked.

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

【図1】図1は、本発明の第1実施形態のマイクロコン
ピュータおよびプログラム開発支援装置の構成図であ
る。
FIG. 1 is a configuration diagram of a microcomputer and a program development support device according to a first embodiment of the present invention.

【図2】図2は、本発明の第2実施形態のマイクロコン
ピュータおよびプログラム開発支援装置の構成図であ
る。
FIG. 2 is a configuration diagram of a microcomputer and a program development support device according to a second embodiment of the present invention.

【図3】図3は、図2に示す命令プリフェッチ回路の構
成図である。
FIG. 3 is a configuration diagram of an instruction prefetch circuit shown in FIG. 2;

【図4】図4は、従来のマイクロコンピュータおよびプ
ログラム開発支援装置の構成図である。
FIG. 4 is a configuration diagram of a conventional microcomputer and a program development support device.

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

10…ROM、11,80…命令プリフェッチ回路、1
2,60,61…セレクタ、13…命令デコーダ、14
…論理演算回路、15…プログラムカウンタ、21…ジ
ャミングアドレスメモリ、22…アドレス一致検出回
路、25…メモリ、26…モニタ、27…入力部、5
1,81…プログラム開発支援システム、52,82…
マイクロコンピュータ、54…プログラム開発支援装
置、62…特定命令コードメモリ、70…制御回路、8
1 〜854 …プリフェッチレジスタ、86…制御回
路、87…特定命令コード設定回路
10 ROM, 11, 80 instruction prefetch circuit, 1
2, 60, 61 ... selector, 13 ... instruction decoder, 14
... Logic operation circuit, 15 ... Program counter, 21 ... Jamming address memory, 22 ... Address coincidence detection circuit, 25 ... Memory, 26 ... Monitor, 27 ... Input unit, 5
1,81 ... Program development support system, 52,82 ...
Microcomputer, 54: program development support device, 62: specific instruction code memory, 70: control circuit, 8
5 1 to 85 4 ... prefetch register, 86 ... control circuit, 87 ... specific instruction code setting circuit

Claims (20)

【特許請求の範囲】[Claims] 【請求項1】プログラム式演算処理装置とプログラム開
発支援装置とを通信ケーブルを介して接続して、前記プ
ログラム式演算処理装置を制御する制御プログラムを開
発するときに用いられるプログラム開発支援システムに
おいて、 前記プログラム開発支援装置は、 開発段階の動作確認対象となる制御プログラムを記憶す
る第1の制御プログラム記憶回路と、 前記プログラム式演算処理装置が実行している前記制御
プログラムのアドレスが、予め決められたアドレスと一
致したか否かを判断し、一致したと判断したときに、前
記制御プログラムの動作確認に使用される第1の命令コ
ードを前記プログラム式演算処理装置が実行することを
指示する実行指示信号を第2の通信線を介して前記プロ
グラム式演算処理装置に出力するアドレス一致検出回路
と、 前記プログラム式演算処理装置が実行している前記制御
プログラムのアドレスに基づいて、前記第1の制御プロ
グラム記憶回路から前記制御プログラムの第2の命令コ
ードを読み出して第1の通信線を介して前記プログラム
式演算処理装置に出力する制御回路とを有し、 前記プログラム式演算処理装置は、 命令コードを伝送する信号伝送線と、 前記制御プログラムを開発している段階で、前記第2の
通信回線を介して入力した実行指示信号が、前記第1の
命令コードを実行することを指示しているときに、前記
第1の命令コードを選択し、前記第1の命令コードを実
行することを指示していないときに、前記信号伝送線を
伝送している前記第1の通信回線を介して入力した前記
制御プログラムの第2の命令コードを選択する選択回路
と、 前記選択された命令コードに応じた処理を実行する実行
回路と、 前記制御プログラムが開発された後に、当該開発された
制御プログラムを記憶する第2の制御プログラム記憶回
路とを有するプログラム開発支援システム。
1. A program development support system used to develop a control program for controlling a programmable arithmetic processing device by connecting the programmable arithmetic processing device and a program development support device via a communication cable, The program development support device includes a first control program storage circuit that stores a control program to be checked for operation in a development stage, and an address of the control program that is being executed by the programmable arithmetic processing device. To determine whether the program-type arithmetic processing unit executes the first instruction code used for confirming the operation of the control program when it is determined that the addresses match with each other. Address match for outputting an instruction signal to the programmed arithmetic processing unit via a second communication line An output circuit, and reads a second instruction code of the control program from the first control program storage circuit based on an address of the control program being executed by the programmed arithmetic processing unit, and reads a first communication line. And a control circuit for outputting to the programmed arithmetic processing device through the control unit. The programmed arithmetic processing device includes: a signal transmission line for transmitting an instruction code; and When the execution instruction signal input via the second communication line indicates that the first instruction code is to be executed, the first instruction code is selected and the first instruction code is executed. When not instructing to select the second instruction code of the control program input through the first communication line transmitting the signal transmission line when the instruction is not given. Program development comprising: a circuit; an execution circuit that executes a process corresponding to the selected instruction code; and a second control program storage circuit that stores the developed control program after the control program is developed. Support system.
【請求項2】前記プログラム式演算処理装置は、前記信
号伝送線、前記選択回路、前記実行回路および前記第2
の制御プログラム記憶回路を集積回路内に組み込んでい
る請求項1に記載のプログラム開発支援システム。
2. The program-type arithmetic processing device according to claim 1, wherein the signal transmission line, the selection circuit, the execution circuit, and the second
2. The program development support system according to claim 1, wherein said control program storage circuit is incorporated in an integrated circuit.
【請求項3】前記プログラム式演算処理装置は、前記第
1の命令コードを記憶する命令コード記憶回路をさらに
有する請求項1に記載のプログラム開発支援システム。
3. The program development support system according to claim 1, wherein said program type arithmetic processing unit further comprises an instruction code storage circuit for storing said first instruction code.
【請求項4】前記プログラム式演算処理装置の前記選択
回路は、それぞれ前記制御プログラムを開発している段
階で、前記実行指示信号に応じて、前記信号伝送線を伝
送する前記第1の通信回線を介して入力された第2の命
令コードと、前記第1の命令コードとのうち一方の命令
コードを選択する第1の選択回路および第2の選択回路
を有し、 前記プログラム式演算処理装置は、 前記第1の選択回路で選択された命令コードを記憶した
後に出力するフェッチ回路と、 前記第2の選択回路で選択された命令コードと、前記フ
ェッチ回路から出力された命令コードとのうち一方の命
令コードを選択し、当該選択した命令コードを前記実行
回路に出力する第3の選択回路とをさらに有する請求項
1に記載のプログラム開発支援システム。
4. The first communication line for transmitting the signal transmission line in response to the execution instruction signal when each of the selection circuits of the programmable arithmetic processing device is developing the control program. And a first selection circuit and a second selection circuit for selecting one of the first instruction code and a second instruction code input via the CPU, and the programmed arithmetic processing device. A fetch circuit that stores the instruction code selected by the first selection circuit and outputs the stored instruction code; an instruction code selected by the second selection circuit; and an instruction code output from the fetch circuit. 2. The program development support system according to claim 1, further comprising: a third selection circuit that selects one of the instruction codes and outputs the selected instruction code to the execution circuit.
【請求項5】前記プログラム式演算処理装置の前記選択
回路は、 前記信号伝送線から入力した前記第2の命令コードを記
憶するレジスタと、 前記実行指示信号に応じて前記レジスタの記憶内容を前
記第1の命令コードに置き換える命令コード設定回路と
を有する請求項1に記載のプログラム開発支援システ
ム。
5. The program-type arithmetic processing device according to claim 1, wherein the selection circuit includes: a register for storing the second instruction code input from the signal transmission line; and a storage content of the register in response to the execution instruction signal. 2. The program development support system according to claim 1, further comprising an instruction code setting circuit for replacing the instruction code with the first instruction code.
【請求項6】前記プログラム式演算処理装置の前記選択
回路は、 前記信号伝送線から入力した前記第2の命令コードを記
憶する複数のレジスタと、 前記複数のレジスタの記憶内容を書き込み順に読み出す
ように制御する制御回路とをさらに有し、 前記命令コード設定回路は、前記実行指示信号に応じ
て、前記複数のレジスタのうち少なくとも一のレジスタ
の記憶内容を前記第1の命令コードに置き換える請求項
5に記載のプログラム開発支援システム。
6. The program-based arithmetic processing device, wherein the selection circuit reads a plurality of registers for storing the second instruction code input from the signal transmission line, and reads stored contents of the plurality of registers in a writing order. The instruction code setting circuit replaces the storage content of at least one of the plurality of registers with the first instruction code according to the execution instruction signal. 6. The program development support system according to 5.
【請求項7】前記プログラム式演算処理装置の実行回路
は、 前記選択された命令コードをデコードして制御信号を生
成するデコード回路と、 前記制御信号に基づいて動作する論理演算回路とを有す
る請求項1に記載のプログラム開発支援システム。
7. An execution circuit of the programmed arithmetic processing device, comprising: a decode circuit that decodes the selected instruction code to generate a control signal; and a logical operation circuit that operates based on the control signal. Item 2. The program development support system according to Item 1.
【請求項8】前記第1の命令コードは、前記論理演算回
路の動作を中断することを指示する命令コードである請
求項7に記載のプログラム開発支援システム。
8. The program development support system according to claim 7, wherein said first instruction code is an instruction code for instructing to suspend the operation of said logical operation circuit.
【請求項9】前記プログラム式演算処理装置の前記信号
伝送線は、前記制御プログラムが開発された後に、前記
第2の制御プログラム記憶回路から読み出した制御プロ
グラムの命令コードを伝送し、 前記プログラム式演算処理装置の前記選択回路は、前記
制御プログラムが開発された後に、前記信号伝送線を伝
送する前記第2の制御プログラム記憶回路から読み出し
た制御プログラムの命令コードを常に選択する請求項1
に記載のプログラム開発支援システム。
9. The program-based arithmetic processing device, wherein the signal transmission line transmits an instruction code of a control program read from the second control program storage circuit after the control program has been developed; 2. The control circuit according to claim 1, wherein the selection circuit of the arithmetic processing unit always selects an instruction code of the control program read from the second control program storage circuit transmitting the signal transmission line after the control program is developed.
The program development support system described in 1.
【請求項10】制御プログラムに基づいて処理を行うプ
ログラム式演算処理装置において、 命令コードを伝送する信号伝送線と、 前記制御プログラムを開発している段階で、外部から入
力した実行指示信号が、前記制御プログラムの動作確認
に使用される第1の命令コードを実行することを指示し
ているときに、前記第1の命令コードを選択し、前記第
1の命令コードを実行することを指示していないとき
に、前記信号伝送線を伝送している外部から入力された
動作確認対象となる制御プログラムの第2の命令コード
を選択する選択回路と、 前記選択された命令コードに応じた処理を実行する実行
回路と、 前記制御プログラムが開発された後に、当該開発された
制御プログラムを記憶する制御プログラム記憶回路とを
有するプログラム式演算処理装置。
10. A program-based arithmetic processing unit for performing processing based on a control program, comprising: a signal transmission line for transmitting an instruction code; and an execution instruction signal input from outside during the development of the control program. While instructing to execute a first instruction code used for confirming the operation of the control program, selecting the first instruction code and instructing to execute the first instruction code A selection circuit for selecting a second instruction code of a control program, which is an operation confirmation target input from the outside transmitting the signal transmission line when the signal transmission line is not being transmitted, and a process corresponding to the selected instruction code. A program-type program having an execution circuit to execute, and a control program storage circuit that stores the developed control program after the control program has been developed. Arithmetic processing unit.
【請求項11】前記第2の命令コードを入力する外部端
子とは別に、前記実行指示信号を入力する外部端子を有
する請求項10に記載のプログラム式演算処理装置。
11. The programmed arithmetic processing device according to claim 10, further comprising an external terminal for inputting said execution instruction signal, separately from an external terminal for inputting said second instruction code.
【請求項12】前記第1の命令コードを記憶する命令コ
ード記憶回路をさらに有する請求項10に記載のプログ
ラム式演算処理装置。
12. The programmed arithmetic processing device according to claim 10, further comprising an instruction code storage circuit for storing said first instruction code.
【請求項13】前記選択回路は、それぞれ前記制御プロ
グラムを開発している段階で、前記実行指示信号に応じ
て、前記信号伝送線を伝送中の外部から入力された第2
の命令コードと、前記第1の命令コードとのうち一方の
命令コードを選択する第1の選択回路および第2の選択
回路を有し、 前記第1の選択回路で選択された命令コードを記憶した
後に出力するフェッチ回路と、 前記第2の選択回路で選択された命令コードと、前記フ
ェッチ回路から出力された命令コードとのうち一方の命
令コードを選択し、当該選択した命令コードを前記実行
回路に出力する第3の選択回路とをさらに有する請求項
10に記載のプログラム式演算処理装置。
13. The control circuit according to claim 1, wherein said selecting circuit is adapted to, in a stage where said control program is being developed, respond to said execution instruction signal by receiving a second external signal transmitted through said signal transmission line.
And a first selection circuit and a second selection circuit for selecting one of the first instruction code and the first instruction code, and stores the instruction code selected by the first selection circuit. A fetch circuit to be output after the execution, an instruction code selected by the second selection circuit, and an instruction code output from the fetch circuit are selected, and the selected instruction code is executed. 11. The programmed arithmetic processing device according to claim 10, further comprising a third selection circuit for outputting to the circuit.
【請求項14】前記選択回路は、 前記信号伝送線から入力した前記第2の命令コードを記
憶するレジスタと、 前記実行指示信号に応じて前記レジスタの記憶内容を前
記第1の命令コードに置き換える命令コード設定回路と
を有する請求項10に記載のプログラム式演算処理装
置。
14. The selection circuit, wherein the register for storing the second instruction code input from the signal transmission line, and replacing the storage content of the register with the first instruction code in response to the execution instruction signal 11. The programmed arithmetic processing device according to claim 10, further comprising an instruction code setting circuit.
【請求項15】前記信号伝送線から入力した前記第2の
命令コードを記憶する複数のレジスタと、 前記複数のレジスタの記憶内容を書き込み順に読み出す
ように制御する制御回路とをさらに有し、 前記命令コード設定回路は、前記実行指示信号に応じ
て、前記複数のレジスタのうち少なくとも一のレジスタ
の記憶内容を前記第1の命令コードに置き換える請求項
14に記載のプログラム式演算処理装置。
15. The semiconductor device further comprising: a plurality of registers for storing the second instruction code input from the signal transmission line; and a control circuit for controlling storage contents of the plurality of registers to be read out in a writing order. 15. The programmed operation processing device according to claim 14, wherein the instruction code setting circuit replaces a storage content of at least one of the plurality of registers with the first instruction code in response to the execution instruction signal.
【請求項16】前記実行回路は、 前記選択された命令コードをデコードして制御信号を生
成するデコード回路と、 前記制御信号に基づいて動作する論理演算回路とを有す
る請求項10に記載のプログラム式演算処理装置。
16. The program according to claim 10, wherein said execution circuit includes: a decoding circuit that decodes said selected instruction code to generate a control signal; and a logical operation circuit that operates based on said control signal. Expression arithmetic processing unit.
【請求項17】前記第1の命令コードは、前記論理演算
回路の動作を中断することを指示する命令コードである
請求項16に記載のプログラム式演算処理装置。
17. The programmed arithmetic processing device according to claim 16, wherein said first instruction code is an instruction code for instructing to suspend the operation of said logical operation circuit.
【請求項18】前記信号伝送線、前記選択回路、前記実
行回路および前記制御プログラム記憶回路を集積回路内
に組み込んでいる請求項10に記載のプログラム式演算
処理装置。
18. The programmed arithmetic processing device according to claim 10, wherein said signal transmission line, said selection circuit, said execution circuit and said control program storage circuit are incorporated in an integrated circuit.
【請求項19】プログラム式演算処理装置で実行される
制御プログラムの動作確認を行うために用いられるプロ
グラム開発支援装置において、 開発段階の動作確認対象となる制御プログラムを記憶す
る制御プログラム記憶回路と、 前記プログラム式演算処理装置が実行している前記制御
プログラムのアドレスが、予め決められたアドレスと一
致したか否かを判断し、一致したと判断したときに、前
記制御プログラムの動作確認に使用される第1の命令コ
ードを前記プログラム式演算処理装置が実行することを
指示する実行指示信号を前記プログラム式演算処理装置
に出力するアドレス一致検出回路と、 前記プログラム式演算処理装置が実行している前記制御
プログラムのアドレスに基づいて、前記制御プログラム
記憶回路から前記制御プログラムの第2の命令コードを
読み出して前記プログラム式演算処理装置に出力する制
御回路とを有するプログラム開発支援装置。
19. A program development support device used to check the operation of a control program executed by a program-type arithmetic processing device, comprising: a control program storage circuit for storing a control program to be checked for operation in a development stage; It is determined whether or not the address of the control program being executed by the programmed arithmetic processing device matches a predetermined address, and when it is determined that the address matches, it is used to confirm the operation of the control program. An address match detection circuit that outputs to the programmed arithmetic processing device an execution instruction signal for instructing the programmed arithmetic processing device to execute the first instruction code, which is executed by the programmed arithmetic processing device The control program is stored in the control program storage circuit based on the address of the control program. Aid device and a control circuit for reading the second instruction code of the ram and outputs to the programmable processor.
【請求項20】前記制御プログラム記憶回路から読み出
した命令コードを出力する外部端子とは別に、前記実行
指示信号を出力する外部端子を有する請求項19に記載
のプログラム開発支援装置。
20. The program development support device according to claim 19, further comprising an external terminal for outputting the execution instruction signal, in addition to an external terminal for outputting an instruction code read from the control program storage circuit.
JP10180274A 1998-06-26 1998-06-26 Program development support system, program-type arithmetic processor, and program development support device Pending JP2000010817A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10180274A JP2000010817A (en) 1998-06-26 1998-06-26 Program development support system, program-type arithmetic processor, and program development support device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10180274A JP2000010817A (en) 1998-06-26 1998-06-26 Program development support system, program-type arithmetic processor, and program development support device

Publications (1)

Publication Number Publication Date
JP2000010817A true JP2000010817A (en) 2000-01-14

Family

ID=16080368

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10180274A Pending JP2000010817A (en) 1998-06-26 1998-06-26 Program development support system, program-type arithmetic processor, and program development support device

Country Status (1)

Country Link
JP (1) JP2000010817A (en)

Similar Documents

Publication Publication Date Title
US6668339B1 (en) Microprocessor having a debug interruption function
US5327531A (en) Data processing system including corrupt flash ROM recovery
US4633417A (en) Emulator for non-fixed instruction set VLSI devices
JP2006127553A (en) Central processing unit for easily testing and debugging programs
US4019033A (en) Control store checking system and method
KR20030059339A (en) Single-step processing
US5600807A (en) Programmable controller capable of updating a user program during operation by switching between user program memories
US7203819B2 (en) Program processing device
KR940011040B1 (en) Microcomputer
KR100505700B1 (en) Retargetable emulation apparatus providing for target system verifying using micro-control unit, micro-computer development system having it, and method thereof
EP1177499B1 (en) Processor and method of executing instructions from several instruction sources
JP2000010817A (en) Program development support system, program-type arithmetic processor, and program development support device
JPH08171504A (en) Emulation device
JP2904172B2 (en) Logic circuit simulator
KR20010052868A (en) Method and system for updating user memory in emulator systems
JPH1011315A (en) In-circuit emulator device and in-circuit emulation method
JPH10326203A (en) Debugging devices capable of taking over operation from each other between hardware environments while running programs therein
JP2616542B2 (en) Pseudo failure generation system
KR100557918B1 (en) Error Correction Device Using Joint Test Access Group
JP3171615B2 (en) Data transfer retry control method
JP2596355B2 (en) Microcomputer
JP2002287956A (en) Microcomputer
JPS6220960Y2 (en)
JP2000222243A (en) Device and method for debugging
JPH04188336A (en) Microcomputer