JPH07109592B2 - CPU-IO parallel operation simulation method - Google Patents

CPU-IO parallel operation simulation method

Info

Publication number
JPH07109592B2
JPH07109592B2 JP61035164A JP3516486A JPH07109592B2 JP H07109592 B2 JPH07109592 B2 JP H07109592B2 JP 61035164 A JP61035164 A JP 61035164A JP 3516486 A JP3516486 A JP 3516486A JP H07109592 B2 JPH07109592 B2 JP H07109592B2
Authority
JP
Japan
Prior art keywords
cpu
event
model
simulator
time
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 - Lifetime
Application number
JP61035164A
Other languages
Japanese (ja)
Other versions
JPS62194549A (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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP61035164A priority Critical patent/JPH07109592B2/en
Publication of JPS62194549A publication Critical patent/JPS62194549A/en
Publication of JPH07109592B2 publication Critical patent/JPH07109592B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、マイコンプログラムを実機(ターゲットマシ
ン)と異なる汎用計算機でシミュレーションし、マイコ
ンプログラムをテスト・デバッグする方法に関し、特に
IOを制御するプログラムをターゲットマシンに近い状態
でシミュレーションテストをするCPU−IO並列動作シミ
ュレーション方法に関する。
TECHNICAL FIELD The present invention relates to a method for simulating a microcomputer program on a general-purpose computer different from an actual machine (target machine), and testing / debugging the microcomputer program.
The present invention relates to a CPU-IO parallel operation simulation method for performing a simulation test of a program that controls IO in a state close to a target machine.

〔従来の技術〕[Conventional technology]

従来は、情報処理学会マイクロコンピュータ研究会資料
20−3に記載されるように、CPUとメモリのみをシミュ
レートする方法であり、周辺IOを制御するプログラムを
テストする場合には中断点の設定,メモリ設定等を行な
うべきコマンドによってIO動作をシミュレートする。
Previously, Information Processing Society of Japan Microcomputer Study Group materials
As described in 20-3, this is a method of simulating only the CPU and memory, and when testing a program that controls peripheral IO, IO operation is performed by commands that should set breakpoints, memory settings, etc. To simulate.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

上記従来の方法は、中断点やメモリ設定用のコマンドで
IO動作を模擬するため、時間の経過(CPU実行)によりI
Oの状態が変化するといった環境の設定は困難であっ
た。このため、IO制御時のタイミング不良,プログラム
とIO両方の待ち状態(ハングアップ)等の検出ができな
いという問題があった。
The above conventional method uses commands for setting breakpoints and memory settings.
To simulate the IO operation, I
It was difficult to set the environment such that the state of O changed. For this reason, there is a problem that timing failure during IO control and detection of both program and IO wait states (hangup) cannot be detected.

本発明の目的は、CPU(プログラムの実行)とIOの動作
を見かけ上、並列動作させることにより、前述のような
マイクロコンピュータ用ソフトウェアの不良を検出する
CPU−IO並列動作シミュレーション方法を提供すること
にある。
An object of the present invention is to detect CPU (program execution) and IO operations in parallel, thereby detecting a defect in the microcomputer software as described above.
It is to provide a CPU-IO parallel operation simulation method.

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

上記目的は、IOモデルがイベントを要求したとき(IO動
作実行のために必要な時間を定義すること)、IOモデル
の処理を中断させ、中断点の情報を記憶し、CPUに制御
を戻すイベント登録ステップと,CPUの命令シミュレーシ
ョン中にイベントの発生監視をするイベント監視ステッ
プと,イベント発生時、CPUの命令実行を中断し、イベ
ント要求時にセーブした情報を回復しIOモデルの処理を
再開始するイベント制御ステップにより、IO処理−IO処
理中断−CPU処理−CPU処理中断−IO処理再実行…と制御
されて、CPU−IO並列動作を実現することにより達成さ
れる。
When the IO model requests an event (define the time required to execute the IO operation), the purpose of the above is to interrupt the processing of the IO model, store the information of the interruption point, and return the control to the CPU. Registration step and event monitoring step that monitors the occurrence of events during CPU instruction simulation. When an event occurs, CPU instruction execution is interrupted, information saved when an event is requested is restored, and IO model processing is restarted. This is achieved by realizing CPU-IO parallel operation by controlling IO processing-IO processing interruption-CPU processing-CPU processing interruption-IO processing re-execution by the event control step.

〔作用〕[Action]

IOモデルがイベントを要求したとき、IOモデルの処理を
中断させ、中断点の情報を記憶し、CPUに制御を戻すイ
ベントを登録し、CPUの命令シミュレーション中にイベ
ントの発生監視し、イベント発生時、CPUの命令実行を
中断し、イベント要求時にセーブした情報を回復しI/O
モデルの処理を再開始することにより、CPU−IO並行動
作が実現されて、実機では再現しにくいハードウェアの
異常を容易にシミュレーションできる。
When the IO model requests an event, the processing of the IO model is interrupted, the information of the interruption point is stored, the event that returns the control to the CPU is registered, the event occurrence is monitored during the instruction simulation of the CPU, and the event occurs. , CPU instruction execution is interrupted, information saved at the time of event request is recovered and I / O
By restarting the processing of the model, CPU-IO parallel operation is realized, and it is possible to easily simulate a hardware abnormality that is difficult to reproduce on an actual machine.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面を用いて詳細に説明す
る。
An embodiment of the present invention will be described in detail below with reference to the drawings.

第1図は、本発明のシミュレーション・システムの構成
を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of the simulation system of the present invention.

第1図において、1は汎用計算機上で、前記汎用計算機
とは異なるアーキテクチャのCPU動作をシミュレーショ
ンするCPUシミュレータ,2はCPUシミュレータが実行する
マイクロプログラムを格納するメモリ,3は周辺デバイス
の動作をシミュレーションするIOモデル,4はCPUと周辺
デバイスとの信号線群の動作をシミュレーションするIO
シミュレータ,5は周辺デバイスが入出力するデータを格
納するデータファイル,6はIOモデルの制御中に、IOモデ
ルが要求するイベント(時間経過要求)を登録し、CPU
シミュレータに制御を移すイベント登録機構,7はイベン
トで要求した時間に達したか否かを判断するイベント監
視機構,8はイベントで要求した時間に達したとき、IOモ
デルに制御を移すイベント制御機構である。
In FIG. 1, 1 is a general-purpose computer, a CPU simulator that simulates a CPU operation of an architecture different from that of the general-purpose computer, 2 is a memory that stores a microprogram executed by the CPU simulator, and 3 is a peripheral device operation simulation IO model, 4 is an IO that simulates the operation of the signal line group between the CPU and peripheral devices
Simulator, 5 is a data file that stores data input / output by peripheral devices, 6 is an event (time lapse request) that the IO model requests during control of the IO model, and CPU
Event registration mechanism that transfers control to the simulator, 7 is an event monitoring mechanism that determines whether the time requested by the event has been reached, 8 is an event control mechanism that transfers control to the IO model when the time requested by the event is reached Is.

第2図は、CPU−IO並行動作シミュレーション方式を示
すフローチャートである。
FIG. 2 is a flowchart showing a CPU-IO parallel operation simulation method.

第2図により、本発明のCPU−IO並行動作シミュレーシ
ョン方式を説明する。
The CPU-IO parallel operation simulation method of the present invention will be described with reference to FIG.

まず、CPUシミュレータでマイコンプログラムが実行さ
れ、IO制御命令であればIOシミュレータを起動する(20
1)。次に、IOシミュレータは、IO制御命令に該当するI
Oモデルを起動する(202)。IOモデルはIO動作を開始す
る。このときIO動作実行に時間を必要としたとき、IOモ
デルはIOシミュレータに対し、イベントを要求する(20
3)。イベントの要求は、イベント登録機構によりイベ
ント値(イベント到達までの時間)、IOモデル中断点情
報(イベント要求時のIOモデルの状態)を記憶した後、
CPUシミュレータに強制的に制御を移す(204)。CPUシ
ミュレータでは、マイコンプログラムの命令実行を開始
する。このとき1命令実行毎に命令実行サイクル数をカ
ウントし、イベント監視時刻に達するとIOシミュレータ
のイベント監視機構を起動する(205)。イベント監視
機構では登録されているイベントのイベント値をカウン
トし、要求したイベント値に達したイベントがあるか判
断し、該当するイベントがなければ、CPUシミュレータ
に制御を戻し、該当するイベントがあれば、イベント制
御機構を起動する(206)。イベント制御機構では、イ
ベント要求時に記憶したIOモデル中断点情報を回復さ
せ、IOモデルに制御を移す(207)。IOモデルは、時間
経過後の状態(IO動作終了後のIOの状態)を設定し、CP
Uシミュレータに制御を戻す(208)。
First, the microcomputer program is executed by the CPU simulator, and if it is an IO control instruction, the IO simulator is started (20
1). Next, the IO simulator returns the I corresponding to the IO control instruction.
Start the O model (202). The IO model starts IO operation. At this time, when it takes time to execute the IO operation, the IO model requests an event from the IO simulator (20
3). The event request is stored by the event registration mechanism after storing the event value (time until the event arrives) and IO model break point information (IO model state at the time of event request).
Control is forcibly transferred to the CPU simulator (204). The CPU simulator starts instruction execution of the microcomputer program. At this time, the number of instruction execution cycles is counted for each instruction execution, and when the event monitoring time is reached, the event monitoring mechanism of the IO simulator is activated (205). The event monitoring mechanism counts the event value of the registered event, judges whether there is an event that has reached the requested event value, and if there is no corresponding event, returns control to the CPU simulator, and if there is an applicable event, , Activates the event control mechanism (206). The event control mechanism recovers the IO model break point information stored at the time of event request, and transfers control to the IO model (207). For the IO model, set the state after the lapse of time (the state of IO after the end of IO operation)
Return control to the U simulator (208).

次に、イベント要求/発生時におけるIOシミュレータ、
CPUシミュレータ、IOモデル間の制御手順について、各
シミュレータ及びモデルをソフトウエアの関数コールを
例にしてさらに詳細に説明する。
Next, IO simulator at the time of event request / occurrence,
The control procedure between the CPU simulator and the IO model will be described in more detail by taking each simulator and model as an example of a software function call.

一般に、ソフトウエアにおける関数コールは、コール時
にCPUレジスタの情報(プログラムカウンタの値や戻り
アドレス等)を関数のローカルな領域(一般にはスタッ
クエリア)に退避し、コール先のアドレスに分岐する。
また、リターン時は、コール時に退避したスタツクエリ
アのレジスタの情報をレジスタに回復することで、コー
ル時の戻りアドレスにリターンすることができる。
In general, a function call in software saves CPU register information (program counter value, return address, etc.) in a function local area (generally a stack area) and branches to the call destination address.
Further, at the time of return, it is possible to return to the return address at the time of call by recovering the information in the stack area register saved at the time of call to the register.

このとき、退避/回復するCPUレジスタの情報を保存
し、切り替えることで関数の戻り先を自由に制御するこ
とが可能である。(なお、コンパイラにもよるが、関数
がネストしている場合、このスタックエリア同士はポイ
ンタでポイントされ、上位から下位,下位から上位への
関数へとスタツクのネスト関係を参照できるものとす
る。) 本発明は、このソフトウエアの特徴を利用し以下のよう
に実現している。
At this time, it is possible to freely control the return destination of the function by saving and saving the CPU register information to be saved / recovered. (Note that, depending on the compiler, if the functions are nested, this stack area is pointed by pointers, and the stack nesting relationship can be referred to from upper to lower functions and from lower to higher functions. The present invention is realized as follows by utilizing the characteristics of this software.

第2図で、IOモデルからイベント要求があった場合(20
3)、イベント登録機構はスタックエリアを参照し、IO
モデルがIOシミュレータをコールした時点のCPUレジス
タの情報(IOモデル中断時点の情報)を保存する。
In Figure 2, if there is an event request from the IO model (20
3), the event registration mechanism refers to the stack area and IO
Saves CPU register information (information when the IO model was interrupted) when the model called the IO simulator.

そこで、そのまま、リターンすればIOモデル側に制御が
戻るが、前述のスタックエリア同士のポインタを参照
し、さらに上位のスタックエリア(IOシミュレータがコ
ールされた時点(201)の関数のスタックエリア)の内
容でレジスタの情報を回復する。これにより、IOシミュ
レータは、IOモデルに戻ることなく、CPUシミュレータ
側にリターンする。
Therefore, if you return as it is, control returns to the IO model side, but by referring to the pointers of the stack areas described above, the stack area of a higher level (the stack area of the function at the time (IO) when the IO simulator is called) Restores register information with contents. As a result, the IO simulator returns to the CPU simulator side without returning to the IO model.

次に、イベント監視機構(206)がIOモデルの再開始時
間を認識すると、イベント制御機構は、イベント登録機
構でイベント要求時に保存したIOモデルの中断点情報
(IOモデルがイベント要求した時点のCPUレジスタの情
報)を回復し、そのアドレスに分岐する。これにより、
時間経過後のIO動作(208)の再開始が可能となる。
Next, when the event monitoring mechanism (206) recognizes the restart time of the IO model, the event control mechanism determines the interruption point information of the IO model saved by the event registration mechanism at the time of the event request (the CPU at the time when the IO model requested the event). Register information) and branch to that address. This allows
It is possible to restart the IO operation (208) after a lapse of time.

以上のようにして、CPU−IO並列動作シミュレーション
が可能となる。
As described above, the CPU-IO parallel operation simulation can be performed.

なお、CPUとIOの並列動作の状態図を第3図に示す。A state diagram of parallel operation of CPU and IO is shown in FIG.

次に、フロッピー・ディスク・コントローラ(以下FDC
と略す)のシーク動作例を第4図により説明する。
Next, a floppy disk controller (hereinafter FDC
(See abbreviated) will be described with reference to FIG.

まず、CPUシミュレータでFDC制御用マイコンプログラム
を実行し、IO制御命令(FDCに対するシーク動作指示)
を検出するとICシミュレータを起動する(401)。IOシ
ミュレータは、IO制御命令がFDCに対する命令であるこ
とを認識し、FDCモデルを起動する(402)。FDCモデル
は、IO制御命令がシーク動作指示であることを認識し、
FDCモデルの状態を示す状態レジスタにシーク動作中で
あるフラグを設定。シーク動作終了まで時間を要するた
め、IOシミュレータに対しイベントを要求する(40
3)。IOシミュレータのイベント登録機構は、FDCモデル
が要求した時間(イベント値)を登録。さらに、FDCモ
デルがイベントを要求したときの状態(イベント要求時
のレジスタの内容)をセーブし、CPUシミュレータに強
制的に制御を戻す(FDCモデルの処理中断)(404)。CP
Uシミュレータは、FDC制御用マイコンプログラムの実行
を再開する。このとき、1命令実行毎に命令サイクル数
をカウントし、イベント監視時間に達したか判断する。
監視時間に達していなければ命令実行を継続し、監視時
間に達していれば、IOシミュレータのイベント監視機構
を起動する(405)。イベント監視機構では、登録され
たFDCモデルのシーク動作のイベント値をカウントダウ
ンし、シーク動作終了時刻に達したか判断。シーク動作
終了時刻に達していなければ、CPUシミュレータに制御
を戻し命令実行を継続し、シーク動作終了時刻に達して
いれば、IOシミュレータのイベント制御機構を起動する
(406)。イベント制御機構では、イベント要求時にセ
ーブしたFDCモデルの状態を回復させ、FDCモデルに制御
を移す(CPUシミュレータの処理中断)(407)。FDCモ
デルは、状態レジスタにシーク動作終了を示すフラグを
設定し、IOシミュレータに対し割込み要求をした後、制
御をIOシミュレータに戻す(408)。
First, execute the FDC control microcomputer program on the CPU simulator, and execute the IO control instruction (seek operation instruction to FDC).
When is detected, the IC simulator is started (401). The IO simulator recognizes that the IO control instruction is an instruction to the FDC and activates the FDC model (402). The FDC model recognizes that the IO control instruction is a seek operation instruction,
Set a flag that is in seek operation in the status register that indicates the status of the FDC model. Since it takes time to complete the seek operation, an event is requested to the IO simulator (40
3). The event registration mechanism of the IO simulator registers the time (event value) requested by the FDC model. Furthermore, the state when the FDC model requests an event (contents of the register at the time of event request) is saved, and control is forcibly returned to the CPU simulator (process interruption of the FDC model) (404). CP
The U simulator resumes execution of the FDC control microcomputer program. At this time, the number of instruction cycles is counted every time one instruction is executed, and it is determined whether the event monitoring time has been reached.
If the monitoring time has not been reached, instruction execution is continued, and if the monitoring time has been reached, the event monitoring mechanism of the IO simulator is activated (405). The event monitoring mechanism counts down the event value of the seek operation of the registered FDC model and determines whether the seek operation end time has been reached. If the seek operation end time has not been reached, control is returned to the CPU simulator to continue instruction execution, and if the seek operation end time is reached, the event control mechanism of the IO simulator is activated (406). The event control mechanism restores the state of the FDC model saved at the time of event request, and transfers control to the FDC model (processing interruption of the CPU simulator) (407). The FDC model sets a flag indicating the end of the seek operation in the status register, makes an interrupt request to the IO simulator, and then returns control to the IO simulator (408).

以上のようにして、FDC制御用マイコンプログラムとFDC
モデルの並行動作シミュレーションが実現される。
As described above, FDC control microcomputer program and FDC
A parallel motion simulation of the model is realized.

また、ステップ405でFDCモデルがシーク動作中にFDC制
御用マイコンプログラムからデータ書き込み指示などの
IO制御命令を検出した場合、不当なタイミングのIO制御
命令として、マイコンプログラムの不良が検出可能とな
る。
Also, in step 405, while the FDC model is seeking, the FDC control microcomputer program sends data write instructions, etc.
When an IO control command is detected, it is possible to detect a defect in the microcomputer program as an IO control command with an incorrect timing.

上記実施例ではIOモデルをプログラム言語で記述し、ロ
ードプログラムとして実現する例を述べたが、IOモデル
がある規則に従って動作仕様を記述した手続きデータの
場合も次のようにして並行動作をシミュレートすること
が可能となる。
In the above embodiment, an example in which the IO model is described in a programming language and implemented as a load program has been described, but in the case of procedure data in which the IO model describes operation specifications according to a certain rule, the parallel operation is simulated as follows. It becomes possible to do.

即ちステップ402において、FCDモデルに制御を渡すかわ
りに、FDCモデルの手続きデータを読み、記述された内
容に従ってFDC動作をシミュレーションする。また、ス
テップ404において、イベント要求時の手続きデータの
位置を記憶しておく。さらにステップ407において、イ
ベント要求時にセーブしたFDCモデルの状態を回復する
かわりに、イベント要求時に記憶した手続きデータの位
置からデータ読み込みを再開始する。
That is, in step 402, instead of passing control to the FCD model, the procedure data of the FDC model is read and the FDC operation is simulated according to the described contents. Further, in step 404, the position of the procedure data at the time of the event request is stored. Further, in step 407, instead of recovering the state of the FDC model saved at the time of the event request, data reading is restarted from the position of the procedure data stored at the time of the event request.

本実施例では、より実機に近い状態でマイクロコンピュ
ータ用ソフトウェアのテストが可能となり、実機では再
現しにくいハードウェアの異常を容易にシミュレーショ
ンできるため、より効率的なソフトウェアのテストが可
能となる。
In the present embodiment, it is possible to test the microcomputer software in a state closer to the actual machine, and it is possible to easily simulate the abnormality of the hardware that is difficult to reproduce in the actual machine, so that the more efficient software test is possible.

また、ハードウェア完成前にソフトウェアの開発が可能
になるので、開発期間の短縮が図れる。
In addition, since the software can be developed before the hardware is completed, the development period can be shortened.

〔発明の効果〕〔The invention's effect〕

本発明によれば、実機では再現しにくいハードウェアの
異常を容易にシミュレーションできるため、より効率的
なソフトウェアのテストが可能となるという効果が得ら
れる。
According to the present invention, a hardware abnormality that is difficult to reproduce in an actual machine can be easily simulated, so that an effect that a more efficient software test is possible can be obtained.

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

第1図は本発明のシミュレーションシステムの構成を示
すブロック図、第2図にCPU−IO並行動作シミュレーシ
ョンの方式を示すフローチャート、第3図はCPU−IO並
行動作シミュレーションの状態図、第4図はFDCシーク
動作による並行動作の実施例を示す概念図である。 1……CPUシミュレータ、2……メモリ、 3……IOモデル群、4……IOシミュレータ、 5……データファイル、6……イベント登録機構、 7……イベント監視機構、8……イベント制御機構。
FIG. 1 is a block diagram showing a configuration of a simulation system of the present invention, FIG. 2 is a flowchart showing a method of CPU-IO parallel operation simulation, FIG. 3 is a state diagram of CPU-IO parallel operation simulation, and FIG. It is a conceptual diagram which shows the Example of the parallel operation by FDC seek operation. 1 ... CPU simulator, 2 ... memory, 3 ... IO model group, 4 ... IO simulator, 5 ... data file, 6 ... event registration mechanism, 7 ... event monitoring mechanism, 8 ... event control mechanism .

───────────────────────────────────────────────────── フロントページの続き (72)発明者 田中 裕二 神奈川県秦野市堀山下1番地 日立コンピ ユータエンジニアリング株式会社内 審査官 梅村 ▲頸▼樹 (56)参考文献 特開 昭61−239335(JP,A) 特開 昭62−279421(JP,A) 特開 昭61−59559(JP,A) 特開 昭59−229620(JP,A) 特開 昭56−153456(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Yuji Tanaka 1 Horiyamashita, Hadano City, Kanagawa Pref. Hitachi Computer Computer Engineering Co., Ltd. Examiner Umemura ▲ Kikiki (56) Reference JP 61-239335 (JP, A) JP 62-279421 (JP, A) JP 61-59559 (JP, A) JP 59-229620 (JP, A) JP 56-153456 (JP, A)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】汎用計算機上において、マイクロプロセッ
サ等の前記汎用計算機とは異なるアーキテクチャを有す
るCPUと、該CPUに接続される記憶装置及び少なくとも1
個の周辺デバイスの動作をシミュレーションするため
に、前記記憶装置上に置かれた命令を逐次取出して命令
動作をシミュレーションするCPUシミュレータと、前記
周辺デバイスの動作をシミュレーションするIOモデル
と、前記CPUと前記周辺デバイスを接続する信号線群の
動作をシミュレーションするIOシミュレータとによって
ソフトウエアをテストするCPU−IO並列動作シミュレー
ション方法において、 シミュレーションの進行を計時管理する時計によりIOモ
デル動作シミュレーションの再開始時刻を予約するイベ
ント要求がIOモデルから発行されることに応じてIOモデ
ルの動作実行を中断させて中断点情報を一時退避し、前
記CPUシミュレータに制御を戻すイベント登録のステッ
プと、前記CPUシミュレータの実行中にイベントの発生
を監視するイベント監視のステップと、イベント発生時
前記CPUシミュレータの命令実行を中断し、前記IOモデ
ルの動作実行を再開始するイベント制御のステップから
成ることを特徴とするCPU−IO並列動作シミュレーショ
ン方法。
1. On a general-purpose computer, a CPU such as a microprocessor having an architecture different from that of the general-purpose computer, a storage device connected to the CPU, and at least one
In order to simulate the operation of each peripheral device, a CPU simulator that sequentially fetches instructions placed on the storage device and simulates the instruction operation, an IO model that simulates the operation of the peripheral device, the CPU and the In the CPU-IO parallel operation simulation method that tests the software with the IO simulator that simulates the operation of the signal line group that connects the peripheral devices, the restart time of the IO model operation simulation is reserved by the clock that manages the simulation progress. When the event request is issued from the IO model, the operation execution of the IO model is suspended, the interruption point information is temporarily saved, and control is returned to the CPU simulator. To monitor the occurrence of events in CPU-IO parallel operation simulation method, which comprises a step of monitoring an event and an event control step of interrupting the instruction execution of the CPU simulator when an event occurs and restarting the operation execution of the IO model.
JP61035164A 1986-02-21 1986-02-21 CPU-IO parallel operation simulation method Expired - Lifetime JPH07109592B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61035164A JPH07109592B2 (en) 1986-02-21 1986-02-21 CPU-IO parallel operation simulation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61035164A JPH07109592B2 (en) 1986-02-21 1986-02-21 CPU-IO parallel operation simulation method

Publications (2)

Publication Number Publication Date
JPS62194549A JPS62194549A (en) 1987-08-27
JPH07109592B2 true JPH07109592B2 (en) 1995-11-22

Family

ID=12434227

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61035164A Expired - Lifetime JPH07109592B2 (en) 1986-02-21 1986-02-21 CPU-IO parallel operation simulation method

Country Status (1)

Country Link
JP (1) JPH07109592B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3169728B2 (en) * 1993-02-26 2001-05-28 日本電気株式会社 Simulation system
JP6076576B1 (en) * 2016-06-07 2017-02-08 三菱電機株式会社 Simulation apparatus and simulation program

Also Published As

Publication number Publication date
JPS62194549A (en) 1987-08-27

Similar Documents

Publication Publication Date Title
US4740969A (en) Method and apparatus for recovering from hardware faults
US4703481A (en) Method and apparatus for fault recovery within a computing system
JPH04213736A (en) Check point mechanism for fault tolerant system
WO1999057632A2 (en) Initializing and restarting operating systems
RU2137182C1 (en) Execution of data processing instruction
JPH07219809A (en) Apparatus and method for data processing
JPH07141176A (en) Command retrial control system
JPH07109592B2 (en) CPU-IO parallel operation simulation method
JPH02294739A (en) Fault detecting system
JPH02266457A (en) Method for controlling execution of processing
JPH1115661A (en) Self-diagnosis method for cpu
JP2533489B2 (en) Simulation system
JPH09204205A (en) Program control system
JP2773042B2 (en) In-circuit emulator bus switching method
JPS6146535A (en) Pseudo error setting control system
JPH0149975B2 (en)
JPS5835648A (en) Program execution controlling system
JPH0395634A (en) Restart control system for computer system
JP2684966B2 (en) I / O processor debug device
JPH0293737A (en) Circuit simulator
JPS62107354A (en) Microprogram control device
JPH0628218A (en) Program development assisting device for microcomputer
JPH06266639A (en) Information processing work station system
JPH07105045A (en) Debugging system for information processor function test program
JPH07152594A (en) Retry control system for control processor