JP2701774B2 - Emulation device - Google Patents

Emulation device

Info

Publication number
JP2701774B2
JP2701774B2 JP7057847A JP5784795A JP2701774B2 JP 2701774 B2 JP2701774 B2 JP 2701774B2 JP 7057847 A JP7057847 A JP 7057847A JP 5784795 A JP5784795 A JP 5784795A JP 2701774 B2 JP2701774 B2 JP 2701774B2
Authority
JP
Japan
Prior art keywords
break
emulation device
state
emulation
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP7057847A
Other languages
Japanese (ja)
Other versions
JPH08255095A (en
Inventor
敏明 鳥畑
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP7057847A priority Critical patent/JP2701774B2/en
Publication of JPH08255095A publication Critical patent/JPH08255095A/en
Application granted granted Critical
Publication of JP2701774B2 publication Critical patent/JP2701774B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明はエミュレーション装置に
関し、特にターゲットシステムなどのプログラムおよび
ハードウェアを開発するエミュレーション装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an emulation device, and more particularly, to an emulation device for developing a program such as a target system and hardware.

【0002】[0002]

【従来の技術】従来、エミュレーション装置、例えばイ
ンサーキット・エミェレータ等は、ターゲットシステム
などのプログラムおよびハードウェアを開発したり、デ
バッグする際に用いられ、その構成は一般的にエミュレ
ーション装置全体を制御する制御マイコンと、ターゲッ
トシステムとのインターフェースをとるエミュレーショ
ンデバイスと、エミュレーション状態を制御するコント
ロール回路と、ROMおよびRAM等とから構成されて
いる。特に、デバッグ中にプログラムの動作を止め、す
なわちブレイクして制御マイコンが期待した状態である
か否かを確認する作業が重要になる。
2. Description of the Related Art Conventionally, an emulation device, for example, an in-circuit emulator, is used when developing and debugging a program and hardware of a target system and the like, and its configuration generally controls the entire emulation device. It comprises a control microcomputer, an emulation device for interfacing with a target system, a control circuit for controlling the emulation state, a ROM and a RAM, and the like. In particular, it is important to stop the operation of the program during debugging, that is, to break the program and check whether the control microcomputer is in an expected state.

【0003】かかるエミュレーション装置はパソコン等
の入出力装置に接続され、エミュレーション動作中に前
述したブレイクの条件を満足したとき、コントロール回
路から制御マイコンやエミュレーションデバイスに対し
てブレイク信号を出力する。このため、エミュレーショ
ンデバイスはエミュレーション動作を停止し、端子状態
および内部レジスタの値を維持する。また、制御マイコ
ンはこのブレイク信号により停止した状態のエミュレー
ションデバイスから端子状態やレジスタ値を受け取り、
入出力装置のCRT上に表示している。しかる後、入出
力装置から再実行指示があった場合には、エミュレーシ
ョン装置は、停止していた状態から再実行するように制
御している。
Such an emulation device is connected to an input / output device such as a personal computer, and outputs a break signal from a control circuit to a control microcomputer or an emulation device when the above-described break condition is satisfied during an emulation operation. Therefore, the emulation device stops the emulation operation and maintains the terminal state and the value of the internal register. Also, the control microcomputer receives the terminal state and register value from the emulation device stopped by this break signal,
It is displayed on the CRT of the input / output device. Thereafter, when a re-execution instruction is issued from the input / output device, the emulation device controls the re-execution from the stopped state.

【0004】上述した端子の具体的入出力モードや出力
レベルの設定方法については、例えば特開平1−100
656号公報あるいは特開昭63−126038号公報
等で知られている。
The above-mentioned specific input / output mode and output level setting method of the terminal are described in, for example,
This is known from Japanese Patent Application Laid-Open No. 656 or Japanese Patent Application Laid-Open No. 63-126038.

【0005】[0005]

【発明が解決しようとする課題】上述した従来のエミュ
レーション装置において、ブレイク時のエミュレーショ
ンデバイスはその状態をCRTに転送するとともに、該
デバイス内に維持しているため、ブレイクの状態によっ
ては、エミュレーションデバイス自体のポートの劣化や
破壊につながり、ひいてはこのエミュレーションデバイ
スに接続されるターゲットシステムをも破壊してしまう
という欠点がある。
In the above-mentioned conventional emulation apparatus, the emulation device at the time of a break transfers its state to the CRT and maintains the state in the device. There is a drawback in that the port may be deteriorated or destroyed, and the target system connected to the emulation device may be destroyed.

【0006】例えば、入出力装置の発光ダイオードや蛍
光表示管を点灯するためには、ポート出力としてH/L
のレベルを出力する必要がある。しかしながら、これら
の点灯時にブレイクした場合には、電流が流れたままの
状態になるため、ポート破壊などにつながる可能性があ
る。
For example, in order to turn on a light emitting diode or a fluorescent display tube of an input / output device, H / L is used as a port output.
Must be output. However, if a break occurs during these lightings, the current remains in a flowing state, which may lead to port destruction or the like.

【0007】また一般に、エミュレーション装置は、不
完全なプログラムをその装置の持つ機能を駆使して完全
なプログラムにするために必要な装置である。しかも、
このプログラムのデバッグ中にプログラムの動作をブレ
イクし、制御マイコンが期待した状態であるか否かを確
認する必要がある。しかし、エミュレーションデバイス
内の端子や内部レジスタの値を考慮した止めかた(ブレ
イクの仕方)には不可能な場合があり、前述のような電
流を流し続ける端子状態が発生する可能性がある。
In general, an emulation device is a device necessary for making an incomplete program into a complete program by making full use of the functions of the device. Moreover,
During debugging of this program, it is necessary to break the operation of the program and check whether or not the control microcomputer is in an expected state. However, there is a case that it is impossible to stop (break) in consideration of the values of the terminals and the internal register in the emulation device, and the terminal state in which the current continues to flow as described above may occur.

【0008】さらに、上述した2つの文献によれば、プ
ログラムによってポート状態を任意に指定できるため、
定常的に電流が流れることを防止している。しかるに、
エミュレーション装置の場合、エミュレーションデバイ
スが停止した状態と同じ状態で再実行する必要がある。
しかし、上記2つの公知例では、停止状態とは異った状
態で再実行するため、期待した動作とは異ってしまい、
エミュレーション装置の役割を果たせないことになる。
Further, according to the above two documents, since the port state can be arbitrarily specified by a program,
It prevents the current from flowing constantly. However,
In the case of an emulation device, it is necessary to re-execute in the same state as when the emulation device has stopped.
However, in the above-mentioned two known examples, since the re-execution is performed in a state different from the stop state, the expected operation is different,
The role of the emulation device cannot be fulfilled.

【0009】本発明の目的は、かかるエミュレーション
デバイスやターゲットシステムの破壊および劣化を防止
するとともに、ブレイク時と同一の状態から再実行でき
るエミュレーション装置を提供することにある。
An object of the present invention is to provide an emulation apparatus which can prevent the emulation device and the target system from being destroyed and deteriorated and can execute the emulation device again from the same state as at the time of the break.

【0010】[0010]

【課題を解決するための手段】本発明のエミュレーショ
ン装置は、入出力装置に接続される外部インターフェー
ス回路と、ターゲットシステムに接続されるエミュレー
ションデバイスと、前記エミュレーションデバイスを監
視し前記入出力装置からのブレイクコマンドに基いて前
記エミュレーションデバイスへのブレイク信号を送出す
るコントロール回路と、前記外部インターフェース回路
を介して入力したデバッグ用のプログラムを記憶し予め
前記エミュレーションデバイスのブレイク時の端子状態
および内部レジスタの値を登録するとともに、前記エミ
ュレーションデバイスの状態を待避させるRAMと、前
記外部インターフェース回路を介して入力される前記ブ
レイクコマンドを監視し前記コントロール回路に対する
ブレイク条件の設定を行う一方、全体を監視する制御マ
イコンとを有して構成される。
An emulation device according to the present invention comprises: an external interface circuit connected to an input / output device; an emulation device connected to a target system; and an emulation device for monitoring the emulation device. A control circuit for sending a break signal to the emulation device based on a break command; a debugging program input via the external interface circuit; a terminal state at the time of the break of the emulation device; and a value of an internal register. And a RAM that saves the state of the emulation device, monitors the break command input via the external interface circuit, and sets break conditions for the control circuit. While performing, and a control microcomputer which monitors the whole.

【0011】[0011]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。図1は本発明のエミュレーション装置の使
用環境を説明するためのシステム図である。図1に示す
ように、エミュレーション装置2は、これを操作するパ
ーソナルコンピュータなどの入出力装置1とデバッグの
ためのターゲットシステム3とにケーブルを介して接続
される。このエミュレーション装置2を制御するための
コントロールソフトはコントロールソフトFD4に記録
されており、入出力装置1に搭載されて実行される。す
なわち、入出力装置1によりコントロールソフトを起動
後、各種コマンドを順次実行することにより、未完成の
プログラムおよびターゲットシステム3を完成させてい
く。
Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a system diagram for explaining the use environment of the emulation device of the present invention. As shown in FIG. 1, the emulation device 2 is connected to an input / output device 1 such as a personal computer for operating the emulation device 2 and a target system 3 for debugging via a cable. Control software for controlling the emulation device 2 is recorded in the control software FD4, and is mounted on the input / output device 1 and executed. In other words, after the control software is started by the input / output device 1, various commands are sequentially executed to complete the unfinished program and the target system 3.

【0012】図2は本発明の一実施例を説明するための
エミュレーション装置のブロック図である。図2に示す
ように、このエミュレーション装置2は、外部接続用の
回路として、入出力装置1とケーブルを介して接続され
る外部インターフェース回路10と、ターゲットシステ
ム3とケーブルを介して接続されるエミュレーションデ
バイス8とを有する。また、内部にはプログラムを記憶
したROM6および実行中のプログラムやブレイク時の
状態データおよび待避データなどを記憶するRAM7
と、エミュレーションデバイス8が実行中の内容を監視
しプログラムのブレイク時にブレイク信号14を出力す
るコントロール回路5と、エミュレーション装置2の全
体を制御する制御マイコン9と、これらの各回路を接続
し、アドレスや各種データおよび制御信号の転送を行な
うアドレスバス11,データバス12,制御信号バス1
3とを備えている。
FIG. 2 is a block diagram of an emulation device for explaining an embodiment of the present invention. As shown in FIG. 2, the emulation device 2 includes, as circuits for external connection, an external interface circuit 10 connected to the input / output device 1 via a cable, and an emulation device connected to the target system 3 via a cable. And a device 8. A ROM 6 for storing a program and a RAM 7 for storing a program being executed, status data at the time of a break, and save data, etc.
A control circuit 5 for monitoring the contents being executed by the emulation device 8 and outputting a break signal 14 at the time of a program break; a control microcomputer 9 for controlling the entire emulation device 2; Bus 11, data bus 12, and control signal bus 1 for transferring data and various data and control signals.
3 is provided.

【0013】このエミュレーション装置2において、制
御マイコン9はROM6の内蔵プログラムと外部インタ
ーフェース回路10を介して入力されるコントロールソ
フトFD4からのコントロールソフトとにより、入出力
装置1から転送されたコマンドを解釈し、エミュレーシ
ョンデバイス8やコントロール回路5をはじめ、エミュ
レーション装置2全体の制御を行っている。また、この
制御マイコン9は入出力装置1からの各種情報を外部イ
ンターフェース回路10を介してRAM7へ転送し、処
理する。例えば、予めブレイク時のエミュレーションデ
バイス8におけるポートの入出力レジスタや出力バッフ
ァ等の端子状態および内部レジスタの値をRAM7に登
録することができ、ブレイク時にはこれら端子状態や内
部レジスタの値を待避させた後に登録している端子状態
や内部レジスタ値にセットでき、しかも再実行時には待
避していたブレイク時の端子状態や内部レジスタ値に戻
すような処理を行う。なお、エミュレーションデバイス
8は、入出力装置1からRAM7にロードされたプログ
ラムに基いて、ターゲットシステム3を駆動し、プログ
ラムやハードウェアのデバッグを行う。
In the emulation device 2, the control microcomputer 9 interprets a command transferred from the input / output device 1 by using a built-in program in the ROM 6 and control software from the control software FD4 input through the external interface circuit 10. , The emulation device 8 and the control circuit 5 as well as the entire emulation device 2 are controlled. The control microcomputer 9 transfers various information from the input / output device 1 to the RAM 7 via the external interface circuit 10 and processes the information. For example, the terminal states of the input / output registers and output buffers of the ports in the emulation device 8 at the time of the break and the values of the internal registers can be registered in the RAM 7 in advance. At the time of the break, these terminal states and the values of the internal registers are saved. The terminal state and the internal register value which are registered later can be set, and processing for returning to the saved terminal state and the internal register value at the time of re-execution is performed. The emulation device 8 drives the target system 3 based on the program loaded from the input / output device 1 to the RAM 7, and debugs the program and hardware.

【0014】一方、コントロール回路5はエミュレーシ
ョンデバイス8が実行中の内容を監視しており、入出力
装置1からブレイクコマンドがあった場合、制御マイコ
ン9がコントロール回路5にブレイク条件を設定する。
このコントロール回路5においては、条件が満足した時
点でブレイク信号14を制御マイコン9とエミュレーシ
ョンデバイス8に発行する。このブレイク信号14を受
けたエミュレーションデバイス8は、通常直ちに動作を
停止し、その状態を維持したまま待機(ブレイク)状態
になるが、ブレイク時の状態が初期設定されているとき
は、エミュレーションデバイス8の状態をRAM7に待
避させる。このブレイク状態設定からエミュレーション
デバイス8を再実行の状態にさせるときは、RAM7か
らブレイク状態を読み出してくる。
On the other hand, the control circuit 5 monitors the contents being executed by the emulation device 8, and when a break command is received from the input / output device 1, the control microcomputer 9 sets a break condition in the control circuit 5.
The control circuit 5 issues a break signal 14 to the control microcomputer 9 and the emulation device 8 when the condition is satisfied. The emulation device 8 that has received the break signal 14 normally stops operating immediately and enters a standby (break) state while maintaining the state. However, when the state at the time of the break is initialized, the emulation device 8 is stopped. Is saved in the RAM 7. When the emulation device 8 is set to the re-execution state from the break state setting, the break state is read from the RAM 7.

【0015】以下、コントロールソフトによる初期設定
と、エミュレーション装置2のブレイク時の動作とを、
それぞれ図3および図4を参照して詳細に説明する。
Hereinafter, the initial setting by the control software and the operation of the emulation device 2 at the time of a break will be described.
Each will be described in detail with reference to FIGS.

【0016】図3は図1におけるコントロールソフトの
ブレイク時の状態設定フロー図である。図3に示すよう
に、コントロールソフトにおけるブレイク時の状態設定
は、ステップS1でエミュレーション装置2のエミュレ
ーションデバイス8やターゲットシステム3に関する動
作環境の初期設定値を入力する。ついで、ステップS2
でブレイク時の状態を設定するか否かの判定を行なう。
ここで、ブレイク時の状態設定の必要がなければ、ステ
ップS6のように終了処理する。この場合は、従来の動
作と同様になる。
FIG. 3 is a flow chart of the state setting at the time of the break of the control software in FIG. As shown in FIG. 3, in the state setting at the time of a break in the control software, an initial setting value of an operating environment relating to the emulation device 8 of the emulation device 2 and the target system 3 is input in step S1. Then, step S2
It is determined whether or not to set the state at the time of the break.
Here, if there is no need to set the state at the time of the break, the end processing is performed as in step S6. In this case, the operation becomes the same as the conventional operation.

【0017】一方、ステップS2での判定の結果、ブレ
イク時の状態設定の必要があれば、すなわちブレイク時
の端子劣化やその他の回路の破壊を防ぐ必要があれば、
ステップS3に示すように、端子の入出力設定、例えば
端子を入力端子とするか、出力端子とするかの設定を行
う。このとき、端子が出力端子の場合には、出力レベル
をHレベルとするか、Lレベルとするかという出力端子
の出力レベル設定を行う。勿論、かかる情報はRAM7
へ待避させる情報を特定するためである。また、ステッ
プS3では、これらの他にタイマ等によるパルス出力を
継続して必要とする場合、そのタイマ動作の停止を禁止
するなどの内部レジスタ値を設定する。その他、待避情
報は随時選択される。
On the other hand, as a result of the determination in step S2, if it is necessary to set a state at the time of a break, that is, if it is necessary to prevent terminal deterioration or other destruction of a circuit at the time of a break,
As shown in step S3, the input / output setting of the terminal, for example, setting whether the terminal is used as an input terminal or an output terminal is performed. At this time, if the terminal is an output terminal, the output level of the output terminal is set so that the output level is set to H level or L level. Of course, such information is stored in the RAM 7
This is for specifying the information to be saved. In step S3, when pulse output from a timer or the like is required continuously in addition to the above, an internal register value such as prohibiting stop of the timer operation is set. In addition, the evacuation information is selected at any time.

【0018】さらに、ステップS4では、ステップS3
で設定した内容を入出力装置1からエミュレーション装
置2へ転送し、RAM7への格納を指示する。要する
に、ステップS3で設定された内容は、入出力装置1か
らエミュレーション装置2へ転送され、制御マイコン9
がRAM7上に格納する。これらのステップを経ること
により、ステップS5に示すように、エミュレーション
装置2の動作環境の初期設定値の入力が完了する。
Further, in step S4, step S3
Is transferred from the input / output device 1 to the emulation device 2 and the storage in the RAM 7 is instructed. In short, the content set in step S3 is transferred from the input / output device 1 to the emulation device 2, and the control microcomputer 9
Is stored on the RAM 7. Through these steps, the input of the initial setting values of the operating environment of the emulation device 2 is completed as shown in step S5.

【0019】図4は図2に示すエミュレーション装置の
ブレイク時の動作フロー図である。図4に示すように、
ステップS11でエミュレーション装置2におけるデバ
ッグ作業が開始される。ついで、ステップS12に示す
ように、エミュレーション装置2のデバッグ作業の中で
ブレイク条件が成立すると、コントロール回路5はブレ
ーク信号14を発行する。これによって、エミュレーシ
ョンデバイス8は動作を停止し、内部状態を維持する。
FIG. 4 is a flowchart showing the operation of the emulation device shown in FIG. 2 at the time of a break. As shown in FIG.
In step S11, the debugging work in the emulation device 2 is started. Next, as shown in step S12, when a break condition is satisfied during debugging work of the emulation device 2, the control circuit 5 issues a break signal 14. Thus, the emulation device 8 stops operating and maintains the internal state.

【0020】また、制御マイコン9は、ステップS13
において、エミュレーションデバイス8の内部状態、す
なわち端子および内部レジスタ等の状態をRAM7へ待
避させると同時に、入出力装置1へその内部状態を転送
してCRT等へ表示させる。ここで、ブレイク処理が完
了し、エミュレーションデバイス8およびターゲットシ
ステム3はブレイク状態になる。
Further, the control microcomputer 9 executes step S13.
At the same time, the internal state of the emulation device 8, that is, the state of terminals and internal registers, is saved in the RAM 7, and at the same time, the internal state is transferred to the input / output device 1 and displayed on a CRT or the like. Here, the break processing is completed, and the emulation device 8 and the target system 3 enter the break state.

【0021】次に、デバッグの再実行を行うにあたって
は、まずステップS14でエミュレーションデバイス8
の内部状態を変更する。すなわち、制御マイコン9は先
に図3のステップS4でRAM7に格納した初期設定内
容に沿ってエミュレーションデバイス8の端子および内
部レジスタ値を設定する。ついで、ステップS15でエ
ミュレーションデバイス8のデバッグ再実行を行う。こ
のときは、制御マイコン9がステップS13でRAM7
へ待避していたブレイク時の内部状態に沿ってエミュレ
ーションデバイス8を再設定することにより、実行され
る。かくの如くして、ステップS16のデバッグ作業が
終了する。このように、ブレイク時にエミュレーション
デバイス8の端子および内部レジスタ値を待避させるこ
とにより、端子および内部レジスタの劣化や破壊を防止
することができ、ターゲットシステム3への影響もなく
なるとともに、再実行時にもブレイク時と同一の状態か
ら実行することができる。
Next, in re-execution of debugging, first, in step S14, the emulation device 8 is executed.
Change the internal state of. That is, the control microcomputer 9 sets the terminal of the emulation device 8 and the internal register value according to the initial settings stored in the RAM 7 in step S4 of FIG. Next, in step S15, the debug of the emulation device 8 is re-executed. At this time, the control microcomputer 9 determines in step S13 that the RAM 7
This is executed by resetting the emulation device 8 according to the internal state at the time of the break that was saved. Thus, the debugging work of step S16 ends. In this way, by saving the terminal and internal register value of the emulation device 8 at the time of a break, deterioration and destruction of the terminal and the internal register can be prevented, the influence on the target system 3 is eliminated, and even when re-executing. It can be executed from the same state as at the time of the break.

【0022】要するに、初期設定でブレイク時の状態が
設定されているとき、コントロール回路5はエミュレー
ションデバイス8の実行内容を監視するとともに、制御
マイコン9が入出力装置1からのブレイクコマンドを監
視している。このとき、制御マイコン9はコントロール
回路5に対してブレイク条件を設定している。従って、
コントロール回路5はエミュレーションデバイス8の監
視の結果、ブレイク条件を満足すると、ブレイク信号1
4をエミュレーションデバイス8へ送出する。これによ
り、エミュレーションデバイス8はその状態をRAM7
へ待避させるとともに入出力装置1のCRTへ転送した
後、動作を停止させ、ブレイク状態になる。また、コン
トロール回路5からブレイク信号14が制御マイコン9
へも送出されるので、制御マイコン9は再実行コマンド
が来るまでブレイクコマンドの監視を停止する。しかる
後、制御マイコン9において、この再実行コマンドを受
信すると、RAM7に待避させた状態に合わせて、再度
エミュレーションデバイス8の状態を再設定する。
In short, when the state at the time of the break is set in the initial setting, the control circuit 5 monitors the execution contents of the emulation device 8 and the control microcomputer 9 monitors the break command from the input / output device 1. I have. At this time, the control microcomputer 9 sets a break condition for the control circuit 5. Therefore,
When the control circuit 5 monitors the emulation device 8 and satisfies the break condition, the break signal 1
4 to the emulation device 8. Thereby, the emulation device 8 stores the state in the RAM 7
After being evacuated and transferred to the CRT of the input / output device 1, the operation is stopped and a break state is set. Further, the break signal 14 is transmitted from the control circuit 5 to the control microcomputer 9.
Control microcomputer 9 stops monitoring the break command until a re-execution command arrives. Thereafter, when the control microcomputer 9 receives the re-execution command, it resets the state of the emulation device 8 again according to the state saved in the RAM 7.

【0023】[0023]

【発明の効果】以上説明したように、本発明のエミュレ
ーション装置は、入出力装置からのブレイク指示により
エミュレーションデバイスへのブレイク信号を送出する
コントロール回路と、初期設定情報を記憶し且つブレイ
ク時にエミュレーションデバイスの状態を待避させるR
AMと、全体の制御を行う制御マイコンとを設けること
により、ブレイク時のエミュレーションデバイスのデバ
ッグ動作環境、すなわち端子や内部レジスタ値を予め登
録し、ブレイク時にはその登録内容に沿ってRAMに設
定し、再実行時にはブレイクの状態に戻すことができる
ので、エミュレーションデバイスやターゲットシステム
の破壊や劣化を防止することができ、しかも端子状態を
変更するにも関わらずブレイク時と同じ状態からの再実
行を実現できるという効果がある。
As described above, the emulation device according to the present invention comprises a control circuit for sending a break signal to an emulation device in response to a break instruction from an input / output device, an initial setting information, and an emulation device at the time of a break. R to save the state of
By providing an AM and a control microcomputer for performing overall control, a debugging operation environment of the emulation device at the time of a break, that is, a terminal and an internal register value are registered in advance, and at the time of a break, the RAM is set in the RAM according to the registered contents. When re-executed, it can be returned to the break state, preventing destruction or deterioration of the emulation device or target system, and re-executing the same state as at the time of the break despite changing the pin state There is an effect that can be.

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

【図1】本発明のエミュレーション装置の使用環境を説
明するシステム図である。
FIG. 1 is a system diagram illustrating an environment in which an emulation device according to the present invention is used.

【図2】本発明の一実施例を説明するためのエミュレー
ション装置のブロック構成図である。
FIG. 2 is a block diagram of an emulation device for explaining an embodiment of the present invention.

【図3】図1におけるコントロールソフトのブレイク時
の状態設定フロー図である。
FIG. 3 is a state setting flow chart at the time of a break of control software in FIG. 1;

【図4】図2に示すエミュレーション装置のブレイク時
の動作フロー図である。
FIG. 4 is an operation flow chart at the time of a break of the emulation device shown in FIG. 2;

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

1 入出力装置 2 エミュレーション装置 3 ターゲットシステム 4 コントロールソフトFD 5 コントロール回路 6 ROM 7 RAM 8 エミュレーションデバイス 9 制御マイコン 10 外部インターフェース回路 11〜13 バス Reference Signs List 1 input / output device 2 emulation device 3 target system 4 control software FD 5 control circuit 6 ROM 7 RAM 8 emulation device 9 control microcomputer 10 external interface circuit 11 to 13 bus

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 入出力装置に接続される外部インターフ
ェース回路と、ターゲットシステムに接続されるエミュ
レーションデバイスと、前記エミュレーションデバイス
を監視し前記入出力装置からのブレイクコマンドに基い
て前記エミュレーションデバイスへのブレイク信号を送
出するコントロール回路と、前記外部インターフェース
回路を介して入力したデバッグ用のプログラムを記憶し
予め前記エミュレーションデバイスのブレイク時の端子
状態および内部レジスタの値を登録するとともに、前記
エミュレーションデバイスの状態を待避させるRAM
と、前記外部インターフェース回路を介して入力される
前記ブレイクコマンドを監視し前記コントロール回路に
対するブレイク条件の設定を行う一方、全体を監視する
制御マイコンとを有することを特徴とするエミュレーシ
ョン装置。
1. An external interface circuit connected to an input / output device, an emulation device connected to a target system, and a break to the emulation device based on a break command from the input / output device monitoring the emulation device. A control circuit for transmitting a signal, a debugging program input through the external interface circuit, and a terminal state at the time of a break of the emulation device and a value of an internal register are registered in advance. RAM to save
And a control microcomputer that monitors the break command input via the external interface circuit, sets break conditions for the control circuit, and monitors the entirety.
JP7057847A 1995-03-17 1995-03-17 Emulation device Expired - Fee Related JP2701774B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7057847A JP2701774B2 (en) 1995-03-17 1995-03-17 Emulation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7057847A JP2701774B2 (en) 1995-03-17 1995-03-17 Emulation device

Publications (2)

Publication Number Publication Date
JPH08255095A JPH08255095A (en) 1996-10-01
JP2701774B2 true JP2701774B2 (en) 1998-01-21

Family

ID=13067378

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7057847A Expired - Fee Related JP2701774B2 (en) 1995-03-17 1995-03-17 Emulation device

Country Status (1)

Country Link
JP (1) JP2701774B2 (en)

Also Published As

Publication number Publication date
JPH08255095A (en) 1996-10-01

Similar Documents

Publication Publication Date Title
JP2513417B2 (en) Information processing device
JP2701774B2 (en) Emulation device
CN100403275C (en) Micro processor and method using in firmware program debug
JP3380827B2 (en) Emulator device
JP3449812B2 (en) Control electronics
JPH1011370A (en) Multiple system
JP3231505B2 (en) MPU emulator device
JP3111355B2 (en) Computer system
JPH0588878A (en) Lisp instruction executing system
JP2954006B2 (en) Emulation device and emulation method
JP2000330798A (en) Interrupt controller and method for verifying interrupt control
JPS62241041A (en) Information processor
JPH047655A (en) Program evaluation method and communication system evaluation device
JP2944729B2 (en) Remote channel device
JPH06175879A (en) Dummy fault setting system
JPH02210515A (en) System resetting system
JPH05160879A (en) Diagnostic method for data transfer equipment
JPS581251A (en) Remotely controlled device
JPS63106840A (en) Data processor unit
JPH02244232A (en) Information processor
JPS60254945A (en) Logging control method of data processor
JPH07182203A (en) Microcomputer development supporting device
JP2000181699A (en) Program process control method and digital signal processor
JPS62151943A (en) Test system for microcomputer
JPS5839338B2 (en) Maintenance panel control method

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19970902

LAPS Cancellation because of no payment of annual fees