JPH0773045A - Mpu emulator device - Google Patents
Mpu emulator deviceInfo
- Publication number
- JPH0773045A JPH0773045A JP5219387A JP21938793A JPH0773045A JP H0773045 A JPH0773045 A JP H0773045A JP 5219387 A JP5219387 A JP 5219387A JP 21938793 A JP21938793 A JP 21938793A JP H0773045 A JPH0773045 A JP H0773045A
- Authority
- JP
- Japan
- Prior art keywords
- mpu
- interrupt
- state
- unit
- signal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000012545 processing Methods 0.000 abstract description 11
- 238000001514 detection method Methods 0.000 abstract description 4
- 230000006870 function Effects 0.000 description 19
- 238000000034 method Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 5
- 238000012360 testing method Methods 0.000 description 5
- 238000003780 insertion Methods 0.000 description 3
- 230000037431 insertion Effects 0.000 description 3
- 238000012790 confirmation Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 230000007257 malfunction Effects 0.000 description 1
- 239000000725 suspension Substances 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Landscapes
- Debugging And Monitoring (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明はMPUエミュレータ装置
に関し、特にプログラムの実行を一時中断し別のプログ
ラムの実行を行なわせる外部よりの信号(以後外部割り
込み信号と称する)を有するMPU(マイクロプロセッ
サユニット)の動作を代行するエミュレータ装置の外部
割り込み処理部のプログラムの開発支援を有効に行なう
機能の構成に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an MPU emulator device, and more particularly to an MPU (microprocessor unit) having an external signal (hereinafter referred to as an external interrupt signal) for temporarily suspending the execution of a program and executing another program. The configuration of the function for effectively supporting the development of the program of the external interrupt processing unit of the emulator device acting on behalf of the above).
【0002】[0002]
【従来の技術】従来のエミュレータ装置の基本的構成を
示す図5を参照すると、このエミュレータ装置は、エミ
ュレーションの対象となるMPUの動作を代行するMP
U部101と、MPUの動作状態を予め設定しておく状
態記憶部502と、MPU部101から出力される各種
の信号と状態記憶部502とに予め設定されたMPUの
動作状態の比較を行なう状態判定部503と、この状態
判定部503からの判定信号を入力してMPU部101
の動作を中断させ、外部よりの実行再開信号105によ
って再度MPU部101の動作を再開させる実行制御部
104で構成されている。2. Description of the Related Art Referring to FIG. 5, which shows the basic configuration of a conventional emulator device, this emulator device is an MP that substitutes the operation of an MPU to be emulated.
The U unit 101, the state storage unit 502 that presets the operating state of the MPU, and various signals output from the MPU unit 101 and the operating state of the MPU preset in the state storage unit 502 are compared. The state determination section 503 and the MPU section 101 by inputting the determination signal from the state determination section 503.
And the execution control unit 104 that restarts the operation of the MPU unit 101 again by an execution restart signal 105 from the outside.
【0003】この構成におけるエミュレータ装置の基本
的動作について説明すると、エミュレータ装置が対象の
MPUの動作と同じ動作を行なう状態(以下エミュレー
ション状態と称す)においては、実行制御部104はエ
ミュレーション状態を保持し、MPU部101はその制
御のもとで対象のMPUの動作と同じ動作を行なう。The basic operation of the emulator device in this configuration will be described. In a state in which the emulator device performs the same operation as the operation of the target MPU (hereinafter referred to as emulation state), the execution control unit 104 maintains the emulation state. , MPU section 101 performs the same operation as the operation of the target MPU under the control.
【0004】また、状態記憶部502には予めMPUの
動作を中断させたい状態値が格納されている。The state storage unit 502 also stores a state value in which the operation of the MPU is desired to be interrupted.
【0005】MPU部101は動作状態が状態記憶部5
02に記憶された状態値と一致しない間は、実行制御部
104へは、状態判定部503から状態が一致した旨の
信号は送られないため、実行制御部104はMPU部1
01をエミュレーション状態に保持し、その間エミュレ
ータ装置は対象のMPUであるがごとくの動作を続け
る。The operating state of the MPU unit 101 is the state storage unit 5
While there is no match with the state value stored in 02, the execution control unit 104 does not send a signal indicating that the states match to each other.
01 is held in the emulation state, during which the emulator device continues to operate as though it is the target MPU.
【0006】もし、この状態においてMPU部101の
動作状態が状態記憶部502に予め格納されているMP
Uの状態値と一致すると、状態判定部503は一致を検
出し実行制御部104に状態が一致した旨の信号を送
る。In this state, the operating state of the MPU unit 101 is stored in the state storage unit 502 in advance.
When the state value matches the state value of U, the state determination unit 503 detects the match and sends a signal indicating that the states match to the execution control unit 104.
【0007】実行制御部104は送られてきた一致信号
を受けとることでMPU部101のエミュレーション状
態を中断させる。この中断した状態を以後ブレイク状態
と称する。The execution control unit 104 interrupts the emulation state of the MPU unit 101 by receiving the sent coincidence signal. This interrupted state is hereinafter referred to as a break state.
【0008】ブレイク状態ではMPU部101はMPU
の通常の動作は中断され、実行中のプログラムは中断時
点で止められる。このブレイク状態において、エミュレ
ータ装置は操作者からの指示でプログラムの実行を中断
した状態でMPU部101の内部情報及びMPUが管理
しているメモリの内容に対して参照及び変更ならびに、
状態記憶部502に設定するMPUの状態値の更新を実
行する。In the break state, the MPU unit 101 is the MPU.
The normal operation of is suspended, and the running program is stopped at the point of suspension. In this break state, the emulator device refers to and changes the internal information of the MPU unit 101 and the contents of the memory managed by the MPU while the execution of the program is interrupted by an instruction from the operator, and
The state value of the MPU set in the state storage unit 502 is updated.
【0009】また操作者からのMPUの動作再開始の指
示によって実行制御部104はMPU部101をエミュ
レーション状態に戻す。The execution control unit 104 returns the MPU unit 101 to the emulation state in response to an instruction from the operator to restart the MPU operation.
【0010】以上説明したように、前述した構成により
操作者はMPUのプログラムの実行を任意の状態で中断
させ、その時点のMPUに関する情報を取得し、かつ変
更したりして再度プログラムを実行させたり、MPUの
1命令毎に実行させて詳細なプログラムの実行確認をす
ることでプログラムの開発が容易になる。As described above, with the above-described configuration, the operator interrupts the execution of the program of the MPU in an arbitrary state, acquires the information about the MPU at that time, changes the information, and then executes the program again. Alternatively, the program can be easily developed by executing it for each instruction of the MPU to check the detailed execution of the program.
【0011】個々のエミュレータ装置は、前述した状態
記憶部502に設定出来るMPUの状態の種類の工夫と
設定できる状態数を増やすことや、状態判定部503が
管理する一致検出の行ない方の工夫により性能や機能の
改善を行なっていた。Each emulator device is devised by devising the types of MPU states that can be set in the above-mentioned state storage unit 502, increasing the number of states that can be set, and devising a method of performing coincidence detection managed by the state determination unit 503. It was improving performance and functions.
【0012】[0012]
【発明が解決しようとする課題】しかしながら、前述し
たエミュレータ装置は、逐次的な処理を行なうプログラ
ム実行確認に対しては強力な支援を可能にしたが、複数
のプログラムを割り込み機能によって交互に走行させ、
あたかも複数のプログラムが同時に実行しているように
実行させる形式のソフトウェアシステムのプログラム間
の相互作用に関する動作確認では、エミュレーション状
態で実際の割り込み機能を動作させ、その結果が予測し
たものの結果になったかどうかの確認で行なうしかなか
った。However, although the above-mentioned emulator device has made it possible to strongly support the execution confirmation of the program which executes the sequential processing, a plurality of programs are alternately run by the interrupt function. ,
In the operation confirmation regarding the interaction between the programs of the software system in which the programs are executed as if multiple programs were executing at the same time, whether the actual interrupt function was operated in the emulation state and the result was the expected result. I had no choice but to confirm.
【0013】このため、現実では特定の確率によって起
こる割り込み動作に対して全ての確認を行なうには、長
期間の試験運転を繰り返す必要があった。Therefore, in reality, it is necessary to repeat the test operation for a long period of time in order to confirm all the interrupt operations that occur with a specific probability.
【0014】つまり、起こる確率が非常に低い事象につ
いて検証の必要性が判明している事象に対しても、その
状態を意図的に発生させるにはエミュレータ装置と開発
対象のシステムが存在していてもエミュレータ装置の操
作のみでの検証は不可能だった。That is, even for an event for which it is known that it is necessary to verify an event having a very low probability, an emulator device and a development target system exist in order to intentionally generate the state. It was impossible to verify just by operating the emulator device.
【0015】[0015]
【課題を解決するための手段】本発明は、外部割り込み
信号を有するMPUの動作を代行するエミュレータ装置
において、MPUの動作状態を予め設定して記憶する状
態記憶部と、前記状態記憶部に設定されたMPUの動作
状態とエミュレータ装置内のMPU部の動作状態が一致
しているかどうかを判定する条件判定部と、前記条件判
定部の判定が一致の場合エミューレタ装置内のMPU部
へ割り込み信号を発生させる割り込み発生部とを備えた
ことを特徴とする。According to the present invention, in an emulator device acting on behalf of the operation of an MPU having an external interrupt signal, a state storage section for presetting and storing the operating state of the MPU, and the state storage section is set. When the judgment of the condition judging unit for judging whether the operating state of the MPU and the operating state of the MPU unit in the emulator device match, and the judgment of the condition judging unit are the same, an interrupt signal is sent to the MPU unit in the emulator device. And an interrupt generating unit for generating the interrupt.
【0016】[0016]
【実施例】本発明の第1の実施例のMPUエミュレータ
装置を示す図1を参照すると、この実施例は、従来の技
術に対して状態判定部103の出力を新たに付加した割
り込み発生部107にも、信号配布部106を通して与
えることが主特徴である。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Referring to FIG. 1 showing an MPU emulator device according to a first embodiment of the present invention, in this embodiment, an interrupt generating unit 107 in which an output of a state judging unit 103 is newly added to the prior art is used. Also, the main feature is that it is given through the signal distribution unit 106.
【0017】このため、状態記憶部102には、従来の
技術の状態記憶部502に対して、設定するMPUの状
態ごとにその状態の場合には実行中断させるか割り込み
を発生させるかの指定情報の付加が必要になる。Therefore, in the state storage unit 102, in the state storage unit 502 of the prior art, for each state of the MPU to be set, in the case of that state, execution information is interrupted or an interrupt is generated. Need to be added.
【0018】また状態判定部103は、従来技術の状態
判定部503に対して、信号配布部106からの出力を
実行制御部104に入力するのか、割り込み発生部10
7に入力するのかを指定する手段の付加が必要にある。Further, the state determination unit 103 inputs the output from the signal distribution unit 106 to the execution control unit 104, as compared with the state determination unit 503 of the prior art, or the interrupt generation unit 10.
It is necessary to add a means to specify whether to input to 7.
【0019】また図示していないが、同様の効果を実現
するためには、従来の状態記憶部502及び状態判定部
503を割り込み発生部107用と実行制御部104用
にそれぞれ独立して持たせて信号配布部105を省略す
る構成も、本発明の一実施例である。Although not shown, in order to realize the same effect, the conventional state storage unit 502 and state determination unit 503 are provided separately for the interrupt generation unit 107 and the execution control unit 104. A configuration in which the signal distributing unit 105 is omitted is also an embodiment of the present invention.
【0020】次に、図1の構成におけるエミュレータ装
置の動作についての説明を簡単にするために、状態記憶
部102にプログラムの特定の位置をアドレスの値とし
て設定している場合で説明する。Next, in order to simplify the description of the operation of the emulator device in the configuration of FIG. 1, a case where a specific position of a program is set as an address value in the state storage unit 102 will be described.
【0021】操作者は予め状態記憶部102に割り込み
を発生させたいプログラムの位置をアドレスの値として
設定する。勿論そのアドレス値にはその情報が割り込み
を発生させる旨の情報を組として設定する。The operator sets the position of the program for which an interrupt is to be generated in the state storage unit 102 in advance as the value of the address. Of course, the address value is set as a set with information indicating that the information causes an interrupt.
【0022】次に、操作者は実行制御部104に対して
エミュレート状態にする旨の指示を実行再開信号105
を介して行なう。実行制御部104はこの指示に従い、
MPU部101をエミュレート状態に遷移させ、エミュ
レータ装置はMPUと等価な動作に移る。Next, the operator issues an instruction to the execution control unit 104 to the emulation state, and the execution restart signal 105
Through. The execution control unit 104 follows this instruction and
The MPU unit 101 is transited to the emulated state, and the emulator device shifts to an operation equivalent to that of the MPU.
【0023】MPU部は状態記憶部102に設定された
プログラムの位置を実行しない間は、通常のエミュレー
タ装置と変わらない動作を行なう。While the MPU unit does not execute the program position set in the state storage unit 102, it performs the same operation as a normal emulator device.
【0024】この状態でプログラムが状態記憶部102
に設定されたアドレスの位置を実行すると、状態判定部
103はそれを検出し、信号配布部106に検出した旨
の信号と信号を割り込み発生部107の方に出力する指
示を出す。割り込み発生部107は、対象のMPUに整
合した割り込み信号108をMPU部101に対して出
力する。In this state, the program is stored in the state storage unit 102.
When the position of the address set to is executed, the state determination unit 103 detects it and issues a signal indicating the detection and an instruction to the interrupt generation unit 107 to output the signal indicating the detection. The interrupt generation unit 107 outputs an interrupt signal 108 matching the target MPU to the MPU unit 101.
【0025】その結果、操作者は意図的にプログラムの
任意の実行場所で割り込みが偶然発生した状況を実現出
来る。As a result, the operator can intentionally realize a situation in which an interrupt accidentally occurs at an arbitrary execution location of the program.
【0026】従来、プログラムの意図した場所で割り込
みを発生させる状況を実現するためには、プログラがそ
の場所を通過する状況と、割り込みを発生させる状況の
二つを実現し、長期間の試験運転を行ない、その結果を
確認する必要があったが、本実施例のエミュレーサ装置
によってプログラムがその場所を通過する状況のみの実
現で割り込み機能の確認が可能になる。Conventionally, in order to realize a situation in which an interrupt is generated at an intended place of a program, two situations, that is, a situation in which a program passes the place and a situation in which an interrupt is generated, are realized, and a long-term test operation is performed. However, it is necessary to confirm the result, but the emulation device of the present embodiment makes it possible to confirm the interrupt function only by realizing the situation where the program passes through the place.
【0027】次に、割り込み要求に対して、割り込み時
点で外部の割り込み要求部から複数の割り込み処理を選
択可能にする機能(以後ベクタ割り込み機能と称する)
を有するMPU用のエミュレータ装置、即に本発明の第
2の実施例について図2で説明する。Next, in response to an interrupt request, a function that allows a plurality of interrupt processes to be selected from an external interrupt request unit at the time of interrupt (hereinafter referred to as a vector interrupt function)
An emulator device for an MPU having the above, that is, a second embodiment of the present invention will be described with reference to FIG.
【0028】この実施例は状態設定部202にMPUの
状態だけでなく、割り込みの種類を指定するベクタ記憶
部222をMPU状態記憶部221と組に持たせる点
と、割り込みの種類をMPUに与えるベクタ挿入部21
0を有する点とが、特徴である。In this embodiment, the state setting unit 202 is provided with a vector storage unit 222 for designating not only the state of the MPU but also the type of interrupt, together with the MPU state storage unit 221, and the type of interrupt is given to the MPU. Vector inserter 21
The point having 0 is a feature.
【0029】この実施例のエミュレータ装置の動作につ
いては、基本的動作について第1の実施例と変わらない
ため、相違点に注力して説明する。Regarding the operation of the emulator device of this embodiment, since the basic operation is the same as that of the first embodiment, the description will focus on the differences.
【0030】一般にベクタ割り込み機能を有するMPU
は、割り込み入力が発生するとその割り込みに対して行
なうべき割り込み処理の選択を、この実施例では割り込
みベクタ要求信号209と称している信号を出力するこ
とで外部に依頼する。Generally, an MPU having a vector interrupt function
When an interrupt input occurs, it requests the selection of an interrupt process to be performed for the interrupt by outputting a signal called an interrupt vector request signal 209 in this embodiment to the outside.
【0031】通常MPUの外部には、この割り込みベク
タ要求信号209を受け付けると、MPUに対して実行
すべき割り込み処理を指定するベクタ信号211を出力
する割り込み制御装置を有する。When the interrupt vector request signal 209 is received, the normal MPU has an interrupt control device which outputs a vector signal 211 designating an interrupt process to be executed to the MPU.
【0032】この実施例では、割り込み発生部107か
ら割り込みが発生した場合、MPU部101からの割り
込みベクタ要求信号209をエミュレータ装置の外部に
出力する代わりに、エミュレータ装置内に内蔵するベク
タ挿入部210に加え、外部の割り込み制御装置の代行
を行なわせることが特徴である。In this embodiment, when an interrupt is generated from the interrupt generation unit 107, the vector insertion unit 210 incorporated in the emulator device is used instead of outputting the interrupt vector request signal 209 from the MPU unit 101 to the outside of the emulator device. In addition to this, the feature is that an external interrupt control device is substituted.
【0033】次に、状態記憶部202に設定したMPU
の状態によって割り込みが発生した時の動作について説
明すると、予め状態記憶部202のMPU状態記憶部2
21とベクタ記憶部222に割り込みを起こさせたい場
所と起こさせたい割り込みの種類が設定されていると見
なす。Next, the MPU set in the state storage unit 202
The operation when an interrupt occurs depending on the state of MPU state storage unit 2 of state storage unit 202 will be described in advance.
21 and the vector storage unit 222, it is considered that the place where the interrupt is desired to occur and the type of the interrupt desired to be caused are set.
【0034】MPUがMPU状態記憶部221に設定さ
れた状態になると、第1の実施例と同様の経過を経て、
MPU部201に割り込み信号108が加えられる。When the MPU enters the state set in the MPU state storage section 221, the same process as in the first embodiment is performed,
The interrupt signal 108 is added to the MPU unit 201.
【0035】MPU部201は、それに対して割り込み
ベクタ要求信号209を出力する。ベクタ挿入部は割り
込み発生部107から割り込み信号108が発生してい
た場合、状態記憶部202内のベクタ記憶部222に予
め設定されているベクタ情報を、ベクタ信号211を介
して、MPU部201に挿入する。The MPU unit 201 outputs an interrupt vector request signal 209 to it. When the interrupt signal 108 is generated from the interrupt generation unit 107, the vector insertion unit sends the vector information preset in the vector storage unit 222 in the state storage unit 202 to the MPU unit 201 via the vector signal 211. insert.
【0036】上述した方法により、ベクタ割り込み機能
を有するMPUに対してこの実施例を適用できる。According to the method described above, this embodiment can be applied to the MPU having the vector interrupt function.
【0037】次に、本発明の機能の拡張としてMPUの
特定の状態において複数回の割り込みを連続して挿入す
る第3の実施例を図3によって示すと、この実施例の機
能は、割り込み処理を使用するソフトウェアシステムの
異常動作が、割り込み処理の負荷の過大によって引き起
こされる事例が多いことに対する事前試験に有効な機能
である。Next, as an extension of the function of the present invention, a third embodiment in which a plurality of interrupts are continuously inserted in a specific state of the MPU is shown in FIG. 3, and the function of this embodiment is interrupt processing. This is an effective function for pre-testing that the abnormal operation of the software system that uses is often caused by the excessive load of interrupt processing.
【0038】この機能を実現するためには、MPU部1
01に割り込み処理の完了が外部によって関知できる割
り込み処理完了信号309が何らかの形で存在すること
が条件である。In order to realize this function, the MPU unit 1
The condition is that there is some form of interrupt processing completion signal 309 in 01 that the completion of interrupt processing can be known from the outside.
【0039】しかしながら、一般のMPUにおいて多重
の割り込みによる誤動作を防ぐ必要から二重割り込みの
制御上上記の機能が存在することが一般的である。However, in the general MPU, the above-mentioned function is generally present in the control of the double interrupt because it is necessary to prevent malfunction due to multiple interrupts.
【0040】この実施例における動作説明をすると、第
1の実施例に対して状態記憶部302内に割り込みの回
数を設定する回数記憶部322を有する点と、複数回の
割り込みを実現するための割り込み制御部307が信号
配布部106と割り込み発生部107の間に挿入されて
いる点とが特徴である。The operation of this embodiment will be described. In comparison with the first embodiment, the state storage unit 302 has a number-of-times storage unit 322 for setting the number of interrupts, and that a plurality of interrupts can be realized. The feature is that the interrupt control unit 307 is inserted between the signal distribution unit 106 and the interrupt generation unit 107.
【0041】次に、この実施例での割り込み動作につい
て説明すると、MPU部101の状態が状態記憶部30
2内のMPU状態記憶部221に設定された状態と一致
すると割り込み制御部307に第1の実施例と同様な手
順で割り込みを発生させる旨の要求が入力される。Next, the interrupt operation in this embodiment will be described. The state of the MPU section 101 is the state storage section 30.
When the state matches the state set in the MPU state storage unit 221 in No. 2, a request to generate an interrupt is input to the interrupt control unit 307 by the same procedure as in the first embodiment.
【0042】割り込み制御部307は、信号配布部10
6からの割り込みの要求が入力されると状態記憶部30
2内のMPU状態記憶部221に設定された割り込み要
求の要因となったMPUの状態と組になった回数記憶部
322内の割り込み回数を取り込む。The interrupt controller 307 is used by the signal distributor 10
When the interrupt request from the 6 is input, the state storage unit 30
The number of interrupts stored in the number-of-times storage unit 322 that is paired with the state of the MPU that is the cause of the interrupt request set in the MPU state storage unit 221 in 2 is fetched.
【0043】そして、割り込み発生部107に指定され
た割り込み回数分の割り込み要求を、MPU部101か
らの割り込み処理完了信号309が出力される度に連続
して発生させる。Then, interrupt requests for the number of interrupts designated by the interrupt generating unit 107 are continuously generated each time the interrupt processing completion signal 309 is output from the MPU unit 101.
【0044】その結果、MPU部101が特定の状態に
なったときに連続して割り込み動作を引き起こすことが
可能となる。As a result, it becomes possible to continuously cause an interrupt operation when the MPU section 101 enters a specific state.
【0045】次に、本発明の状態設定部と状態判定部に
MPUの状態以外によって割り込みを発生させることま
出来るように拡張した例として、指定時刻に割り込みを
発生させる機能に拡張した第4の実施例を図4を用いせ
説明すると、この実施例は、状態判定部の代わりにMP
Uの状態を入力せずに内蔵する時計機能によって自ら割
り込み発生部107に割り込み要求を発生させる時間信
号発生部402を使用した点が、他の実施例の構成要件
と異なることが特徴である。Next, as an example in which the state setting unit and the state determination unit of the present invention are expanded so as to be able to generate an interrupt other than the state of the MPU, the fourth example is expanded to the function of generating an interrupt at a specified time. An embodiment will be described with reference to FIG. 4. In this embodiment, the MP is used instead of the state determination unit.
The point that the time signal generating unit 402 that generates an interrupt request by itself by the built-in clock function without inputting the state of U is used is different from the configuration requirements of the other embodiments.
【0046】この実施例は、特定のMPUの状態に対し
て割り込みを発生させる代わりに、特定の時間間隔で割
り込みを発生させることにより、試験対象のソフトウェ
アシステムの割り込み処理の負荷に対する安定度を検査
することを容易にする。In this embodiment, instead of generating an interrupt for a specific MPU state, an interrupt is generated at a specific time interval to check the stability of the software system under test against the load of interrupt processing. Easy to do.
【0047】[0047]
【発明の効果】以上説明したように、本発明は、割り込
み機能を有することで実現されたソフトウェアシステム
の割り込み動作をエミュレータ装置の操作のみによって
意図的に実現し、ソフトウェアシステムの事前の検証及
び動作試験を容易にできる効果がある。As described above, according to the present invention, the interrupt operation of the software system realized by having the interrupt function is intentionally realized only by the operation of the emulator device, and the verification and operation of the software system in advance are performed. It has the effect of facilitating testing.
【0048】特に割り込み処理が頻繁に発生する過負荷
状態での動作確認と、稀にしか発生しない割り込み事象
が、稀にした実行されないプログラムの部分で発生する
状況を意図的に発生させることが出来ることで、実現し
づらい状況の動作確認が容易になる。In particular, it is possible to intentionally generate an operation check in an overload state in which interrupt processing frequently occurs and a situation in which an interrupt event that occurs infrequently occurs in a rare part of a program that is not executed. This makes it easier to check the operation in situations that are difficult to realize.
【図1】本発明の第1の実施例のエミュレータ装置のブ
ロック図である。FIG. 1 is a block diagram of an emulator device according to a first exemplary embodiment of the present invention.
【図2】ベクタ割り込み機能を有する本発明の第2の実
施例のブロック図である。FIG. 2 is a block diagram of a second embodiment of the present invention having a vector interrupt function.
【図3】本発明の第3の実施例の、割り込み回数を指定
できるように拡張したブロック図である。FIG. 3 is a block diagram of a third embodiment of the present invention expanded so that the number of interrupts can be designated.
【図4】本発明の第4の実施例の、状態に時刻設定をで
きるように拡張したブロック図である。FIG. 4 is a block diagram of a fourth embodiment of the present invention expanded so that time can be set in a state.
【図5】従来技術のエミュレータ装置のブロック図であ
る。FIG. 5 is a block diagram of a prior art emulator device.
101 MPU部 201 割り込みベクタ機能付きMPU部 102 状態記憶部 202 割り込みベクタ内蔵状態記憶部 302 割り込み回数内蔵状態記憶部 103 状態判定部 104 実行制御部 105 実行再開信号 106 信号配布部 107 割り込み発生部 108 割り込み信号 209 割り込みベクタ要求信号 210 ベクタ挿入部 211 ベクタ信号 221 MPU状態記憶部 307 割り込み制御部 222 ベクタ記憶部 322 回数記憶部 309 割り込み処理完了信号 402 時間信号発生部 502 従来技術の状態記憶部 503 従来技術の状態判定部 101 MPU unit 201 MPU unit with interrupt vector function 102 State storage unit 202 Interrupt vector built-in state storage unit 302 Interrupt count built-in state storage unit 103 State determination unit 104 Execution control unit 105 Execution restart signal 106 Signal distribution unit 107 Interrupt generation unit 108 Interrupt Signal 209 Interruption vector request signal 210 Vector insertion unit 211 Vector signal 221 MPU state storage unit 307 Interruption control unit 222 Vector storage unit 322 Count storage unit 309 Interrupt processing completion signal 402 Time signal generation unit 502 State storage unit 503 of conventional technology Conventional technology State determination part
Claims (1)
グラムの実行を行なわせる外部割り込み信号入力を有す
るMPUの動作を代行するMPUエミュレータ装置にお
いて、前記MPUの動作状態を予め設定して記憶する状
態記憶部と、前記状態記憶部に設定された前記MPUの
動作状態とエミュレータ装置内のMPU部の動作状態が
一致しているかどうかを判定する条件判定部と、前記条
件判定部の判定が一致の場合前記エミューレタ装置内の
MPU部へ割り込み信号を発生させる割り込み発生部と
を備えたことを特徴とするMPUエミュレータ装置。1. A state in which an operating state of the MPU is preset and stored in an MPU emulator device which substitutes the operation of an MPU having an external interrupt signal input for temporarily suspending the execution of a program and executing another program. The storage unit, the condition determination unit that determines whether the operating state of the MPU set in the state storage unit and the operating state of the MPU unit in the emulator device match, and the determination of the condition determination unit are the same. In this case, the MPU emulator device is provided with an interrupt generation unit for generating an interrupt signal to the MPU unit in the emulator device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP21938793A JP3231505B2 (en) | 1993-09-03 | 1993-09-03 | MPU emulator device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP21938793A JP3231505B2 (en) | 1993-09-03 | 1993-09-03 | MPU emulator device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0773045A true JPH0773045A (en) | 1995-03-17 |
| JP3231505B2 JP3231505B2 (en) | 2001-11-26 |
Family
ID=16734625
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP21938793A Expired - Fee Related JP3231505B2 (en) | 1993-09-03 | 1993-09-03 | MPU emulator device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3231505B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006268298A (en) * | 2005-03-23 | 2006-10-05 | Nec Corp | Debugging method and debugging device |
-
1993
- 1993-09-03 JP JP21938793A patent/JP3231505B2/en not_active Expired - Fee Related
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006268298A (en) * | 2005-03-23 | 2006-10-05 | Nec Corp | Debugging method and debugging device |
Also Published As
| Publication number | Publication date |
|---|---|
| JP3231505B2 (en) | 2001-11-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2655615B2 (en) | Information processing device | |
| JP2513417B2 (en) | Information processing device | |
| US5003468A (en) | Guest machine execution control system for virutal machine system | |
| US5928348A (en) | Method of processing interrupt requests and information processing apparatus using the method | |
| JPH0773045A (en) | Mpu emulator device | |
| JP2877095B2 (en) | Multiprocessor system | |
| EP3428799B1 (en) | Data access device and access error notification method | |
| JP3549703B2 (en) | Interrupt handling system | |
| JPH0520104A (en) | Inter-virtual cluster communication processor | |
| JPH04362755A (en) | Shared extension storage test system | |
| KR920010412B1 (en) | Hardware installing testing program | |
| JP3367949B2 (en) | Image data processing device | |
| JPS61160144A (en) | Emulation system | |
| SU798782A1 (en) | Input-output processor | |
| JP2826781B2 (en) | Data transfer method | |
| JP3062124B2 (en) | Microprocessor development support equipment | |
| JP3102381B2 (en) | Task debugging device, task debugging method, and recording medium therefor | |
| JPH0764822A (en) | Microcomputer | |
| JP2648029B2 (en) | In-circuit emulator | |
| JPH02183342A (en) | Interruption controller | |
| JPH04282732A (en) | Method for controlling program debugging device | |
| JPS59200356A (en) | Program tracing system | |
| JPH07225700A (en) | In-circuit emulator | |
| JPH09237192A (en) | Interruption controller | |
| JPH0772874B2 (en) | Interrupt receiving device |
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: 20010828 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313113 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080914 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080914 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090914 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090914 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100914 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100914 Year of fee payment: 9 |
|
| S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100914 Year of fee payment: 9 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110914 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120914 Year of fee payment: 11 |
|
| LAPS | Cancellation because of no payment of annual fees |