JPH053033B2 - - Google Patents

Info

Publication number
JPH053033B2
JPH053033B2 JP3835287A JP3835287A JPH053033B2 JP H053033 B2 JPH053033 B2 JP H053033B2 JP 3835287 A JP3835287 A JP 3835287A JP 3835287 A JP3835287 A JP 3835287A JP H053033 B2 JPH053033 B2 JP H053033B2
Authority
JP
Japan
Prior art keywords
instruction execution
instruction
logic
input
procedure
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
JP3835287A
Other languages
Japanese (ja)
Other versions
JPS63205758A (en
Inventor
Nobuhiko Onizuka
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 JP62038352A priority Critical patent/JPS63205758A/en
Publication of JPS63205758A publication Critical patent/JPS63205758A/en
Publication of JPH053033B2 publication Critical patent/JPH053033B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Logic Circuits (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は試験プログラムを用いた情報処理装置
の論理シミユレーシヨンに係り、特に入出力命令
を試験するのに好適な論理シミユレーシヨン装置
に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to logic simulation of an information processing device using a test program, and particularly to a logic simulation device suitable for testing input/output instructions.

〔従来の技術〕[Conventional technology]

情報処理装置の大規模化に伴い、論理シミユレ
ーシヨンに要する計算機時間も増加しており、そ
の縮減が要望されている。
With the increase in the scale of information processing devices, the computer time required for logic simulation is also increasing, and there is a desire to reduce this time.

従来のシミユレーシヨン装置は例えば特開昭59
−148971号公報に記載されている様に、情報処理
装置の試験に用いる試験プログラムを、試験命令
実行の為に環境設定を行う初期設定部、試験命令
を実行する試験部、及び、試験命令の実行結果の
判定を行う結果判定部の三部に分割し、この内、
試験部のみを実際に論理シミユレータで実行し、
他の二部については、論理シミユレータに代りに
命令を実行する擬似プロシジヤにて高速度に実行
することにより、試験プログラムを用いた論理シ
ミユレーシヨンの計算機時間の短縮を図つてい
る。
Conventional simulation equipment is, for example, published in Japanese Patent Application Laid-Open No.
As described in Publication No. 148971, a test program used for testing an information processing device includes an initial setting section that sets the environment for executing test instructions, a test section that executes the test instructions, and a test section that executes the test instructions. It is divided into three parts: a result judgment section that judges execution results;
Only the test section is actually executed on a logic simulator,
The other two parts are executed at high speed by a pseudo procedure that executes instructions instead of the logic simulator, thereby reducing the computer time required for logic simulation using the test program.

以下、この種の論理シミユレーシヨン装置で入
出力命令(IO命令)を試験する場合について、
従来の動作を第3図乃至第5図を用いて説明す
る。
The following describes the case of testing input/output instructions (IO instructions) using this type of logic simulation device.
The conventional operation will be explained using FIGS. 3 to 5.

第3図は従来の論理シミユレーシヨン装置の構
成例で、命令実行擬似プロシジヤ1と論理シミユ
レータ2とが、連絡ルーチン3を介して情報伝達
を行い、記憶装置擬似プロシジヤ(MEM)4に
格納してある試験プログラムを分担して実行する
ものである。こゝで、命令実行擬似プロシジヤ1
は、被試験装置における論理の機能動作を機械語
命令を用いて記述した論理機能モデル上で命令を
高速に実行する。論理シミユレータ2は、動作経
過を詳細に計算できる基本論理素子を用いて被試
験情報処理装置の論理を構成した論理回路モデル
上で命令を実行するもので、論理回路モデルは中
央処理装置モデル(CPU)5、入出力処理装置
モデル(IOP)6、及び、入出力装置モデル
(IOU)7から構成されている。
FIG. 3 shows an example of the configuration of a conventional logic simulation device, in which an instruction execution pseudo procedure 1 and a logic simulator 2 communicate information via a communication routine 3, which is stored in a storage device pseudo procedure (MEM) 4. The test program is divided and executed. Here, instruction execution pseudo procedure 1
executes instructions at high speed on a logic function model that describes the functional operation of logic in a device under test using machine language instructions. The logic simulator 2 executes instructions on a logic circuit model that configures the logic of the information processing device under test using basic logic elements that can calculate the operation progress in detail.The logic circuit model is based on a central processing unit model (CPU). ) 5, an input/output processing unit model (IOP) 6, and an input/output unit model (IOU) 7.

第4図は試験プログラムの一例を示したもの
で、初期設定部、試験部、結果判定部より構成さ
れるテストケースが、複数組集合した構成となつ
ている。
FIG. 4 shows an example of a test program, which is composed of a plurality of sets of test cases each consisting of an initial setting section, a test section, and a result judgment section.

第5図は、第4図の試験プログラムを第3図の
論理シミユレーシヨン装置で実行する場合の各部
の動作を示したものである。
FIG. 5 shows the operation of each part when the test program of FIG. 4 is executed by the logic simulation device of FIG. 3.

まず、命令実行擬似プロシジヤ1にて、MEM
4よりCPU命令a〜bを読み出す。この読み出
した命令が命令の実行モードを命令実行擬似プロ
シジヤ1から論理シミユレータ2へ切り換える
MODE切換命令でない場合、命令実行擬似プロ
シジヤ1はその命令を実行し、IO命令試験の為
の環境設定を行う。その後、命令実行擬似プロシ
ジヤ1にてMODE切換命令を検知すると、その
報告を受けて連絡ルーチン3が、命令実行に必要
な情報を命令実行擬似プロシジヤ1から論理シミ
ユレータ2へ転送し、命令実行モードを命令実号
行擬似プロチヂラ1から論理シミユレータ2へ切
り換える。
First, in instruction execution pseudo procedure 1, MEM
Read CPU instructions a to b from 4. This read instruction switches the instruction execution mode from instruction execution pseudo procedure 1 to logic simulator 2.
If it is not a MODE switching command, the instruction execution pseudo procedure 1 executes the instruction and sets the environment for the IO instruction test. After that, when the instruction execution pseudo procedure 1 detects a MODE switching instruction, the communication routine 3 receives the report and transfers the information necessary for instruction execution from the instruction execution pseudo procedure 1 to the logic simulator 2, and changes the instruction execution mode. The instruction execution line pseudo programmer 1 is switched to the logic simulator 2.

論理シミユレータ2では、CPU5がMEM4よ
りIO命令を読み出すと、IO命令実行のためIOP
6を起動する。起動されたIOP6は、更に、IOU
7を起動し、IOU7からの起動完了報告を待つ。
IOP6は、IOU7からの起動完了報告が来ると、
CPU5に対し起動完了を報告し、直ちにIOU7
との間でデータ転送を開始する。
In the logic simulator 2, when the CPU 5 reads an IO instruction from the MEM 4, the IOP is executed to execute the IO instruction.
6. The activated IOP6 is further IOU
7 and wait for the startup completion report from IOU7.
When IOP6 receives the startup completion report from IOU7,
Report startup completion to CPU5 and immediately IOU7
Start data transfer between

CPU5は、IOP6からの起動完了報告が来る
と、後続するCPU命令c〜dをMEM4より読み
出して実行しながら、IOP6からの入出力割込
(IO割込)を待つIO割込待ちループ動作を始め
る。
When the CPU 5 receives the startup completion report from the IOP 6, it executes an IO interrupt waiting loop operation that waits for input/output interrupts (IO interrupts) from the IOP 6 while reading and executing subsequent CPU instructions c to d from the MEM 4. start.

IOP6は、IOU7との間でデータ転送を行い、
IOU7からデータ転送終了報告が来ると、CPU
5に対し、IO割込を起こす。CPU5は、IOP6
からIO割込が報告されると、入出力割込処理
(IO割込処理)を行う。
IOP6 transfers data between IOU7 and
When the data transfer completion report comes from IOU7, the CPU
5, causes an IO interrupt. CPU5 is IOP6
When an IO interrupt is reported, input/output interrupt processing (IO interrupt processing) is performed.

論理シミユレータ2が入出力動作を全て終了す
ると、その報告を受けて、連絡ルーチン3が、命
令実行に必要な情報を論理シミユレータ2から命
令実行擬似プロシジヤ1へ転送し、命令実行モー
ドを論理シミユレータ2から命令実行擬似プロシ
ジヤ1へ切り換える。
When the logic simulator 2 completes all input/output operations, the communication routine 3 receives the report and transfers the information necessary for instruction execution from the logic simulator 2 to the instruction execution pseudo procedure 1, and changes the instruction execution mode to the logic simulator 2. to the instruction execution pseudo procedure 1.

その後、命令実行擬似プロシジヤ1にて、
CPU命令e〜fを読み出す。命令実行擬似プロ
シジヤ1では、MODE切換命令でないことを確
認しつゝCPU命令を実行し、試験結果の確認を
行う。
After that, in instruction execution pseudo procedure 1,
Read CPU instructions e to f. The instruction execution pseudo procedure 1 executes the CPU instruction while confirming that it is not a MODE switching instruction, and confirms the test result.

以上の動作を、試験プログラム内の各テストケ
ース毎に繰り返す。
The above operation is repeated for each test case in the test program.

尚、第4図に示す試験プログラムで、MODE
切換命令は命令実行擬似プロシジヤ1でのみ有効
な命令である。例えば、CPU命令dの次の
MODE切換命令は、本例において論理シミユレ
ータ2で読み出されたので、NO−
OPERATION命令(NOP命令)と見なされ、何
も実行されない。
In addition, in the test program shown in Figure 4, MODE
The switching instruction is an instruction that is valid only in the instruction execution pseudo procedure 1. For example, following CPU instruction d
Since the MODE switching command was read by logic simulator 2 in this example, NO-
It is treated as an OPERATION instruction (NOP instruction) and nothing is executed.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

一般に、IO命令はデータ転送を伴うのので、
論理シミユレータ上のCPUとしてはデータ転送
の終了を検知する必要がある。その為、IO命令
起動完了後もそのまゝ、データ転送終了に基づく
IO割込を待たねばならない。
Generally, IO instructions involve data transfer, so
The CPU on the logic simulator needs to detect the end of data transfer. Therefore, even after the start of the IO command is completed, the operation based on the end of data transfer remains as is.
Must wait for IO interrupt.

この場合、第3図の如き従来技術による論理シ
ミユレーシヨン装置では、CPU5は、IO命令に
後続するCPU命令を実行しながら、IO割込を待
たねばならない。IO命令の試験だから、データ
転送やデータ転送終了報告等、入出力動作そのも
のゝ論理シミユレーシヨンは当然実行すべきだ
が、CPU5で並行して実行されるCPU命令の論
理シミユレーシヨンは本来実行する必要はなく、
その分余計に計算機時間がかゝることになる。
In this case, in the conventional logic simulation device as shown in FIG. 3, the CPU 5 must wait for an IO interrupt while executing the CPU instruction following the IO instruction. Since this is an IO instruction test, logical simulation of input/output operations such as data transfer and data transfer completion report should of course be performed, but it is not necessary to perform logical simulation of CPU instructions that are executed in parallel on the CPU5.
This will require additional computer time.

一般に、CPUはIOPの数倍以上の論理規模を擁
する為、その論理シミユレーシヨン時間はかなり
多くなり、無視しえないものとなる。
Generally, the CPU has a logical scale several times larger than the IOP, so the logical simulation time is quite large and cannot be ignored.

本発明の目的は、この様に、IO命令を試験す
る論理シミユレーシヨンに於いて、試験対象とな
つていないCPU命令を命令実行擬似プロシジヤ
で高速度に実行し、全体の論理シミユレーシヨン
時間を縮減することにある。
The purpose of the present invention is to reduce the overall logic simulation time by executing CPU instructions that are not subject to test at high speed using an instruction execution pseudo procedure in a logic simulation that tests IO instructions. It is in.

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

上記目的は、IO命令実行中に、論理シミユレ
ータと命令実行擬似プロシジヤとの間で、命令実
行の動作モードを切り換える時期を検出する命令
実行制御擬似プロシジヤを設けることにより達成
される。
The above object is achieved by providing an instruction execution control pseudo-procedure that detects when to switch the operation mode of instruction execution between the logic simulator and the instruction execution pseudo-procedure during the execution of an IO instruction.

〔作用〕[Effect]

命令実行制御擬似プロシジヤは、IO命令実行
の為、CPUによりIOPが起動され、起動完了の報
告がIOPからCPUへなされた時、これを検知し連
絡ルーチンへ報告する。連絡ルーチンは、その報
告を受けて命令実行の動作モードを、それ迄の論
理シミユレータから命令実行擬似プロシジヤへ切
り換える。命令実行擬似プロシジヤはMODE切
換命令を検知した時、これを連絡ルーチンへ報告
する。連絡ルーチンは、その報告を受けて命令実
行の動作モードを、それ迄の命令実行擬似プロシ
ジヤから論理シミユレータへ切り換える。
The instruction execution control pseudo procedure detects when the IOP is activated by the CPU to execute an IO instruction and the IOP reports completion of activation to the CPU, and reports this to the communication routine. Upon receiving the report, the communication routine switches the instruction execution operation mode from the logic simulator to the instruction execution pseudo procedure. When the instruction execution pseudo procedure detects a MODE switching instruction, it reports this to the communication routine. Upon receiving the report, the communication routine switches the instruction execution operation mode from the instruction execution pseudo procedure to the logic simulator.

〔実施例〕〔Example〕

以下、本発明の一実施例について図面により詳
細に説明する。
Hereinafter, one embodiment of the present invention will be described in detail with reference to the drawings.

第1図は本発明による論理シミユレーシヨン装
置の一実施例の構成図である。これは、第3図に
示した従来の論理シミユレーシヨン装置で、
CPU5が命令読み出し、命令実行を繰り返しな
がらIO割込みの報告を待つていたIO割込待ちル
ープ動作を、新たに命令実行制御擬似プロシジヤ
8を設けることにより、CPU5は命令を何も実
行しないでIO割込の報告を待つ動作(IDLEルー
プ動作)を行うように変えたものである。
FIG. 1 is a block diagram of an embodiment of a logic simulation device according to the present invention. This is the conventional logic simulation device shown in Figure 3.
By providing a new instruction execution control pseudo-procedure 8, the CPU 5 performs an IO interrupt waiting loop operation in which the CPU 5 reads an instruction and waits for an IO interrupt report while repeating instruction execution. This has been modified to perform an operation (IDLE loop operation) that waits for a report of the error.

第2図は、第4図の試験プログラムを第1図の
論理シミユレーシヨン装置で実行する場合の各部
の動作を示したものである。
FIG. 2 shows the operation of each part when the test program of FIG. 4 is executed by the logic simulation device of FIG. 1.

まず、命令実行擬似プロシジヤ1にて、CPU
命令a〜bをMEM4より読み出す。読み出した
命令が命令の実行モードを命令実行擬似プロシジ
ヤ1から論理シミユレータ2へ切り変える
MODE切換命令でない場合、命令実行擬似プロ
シジヤ1はその命令を実行し、IO命令試験の為
の環境設定を行う。その後、命令実行擬似プロシ
ジヤ1にてMODE切換命令を検知すると、その
報告を受けて連絡ルーチン3が、命令実行に必要
な情報を命令実行擬似プロシジヤ1から論理シミ
ユレータ2へ転送し、命令実行モードを命令実行
擬似プロシジヤ1から論理シミユレータ2へ切り
変える。
First, in the instruction execution pseudo procedure 1, the CPU
Read instructions a to b from MEM4. The read instruction switches the instruction execution mode from instruction execution pseudo procedure 1 to logic simulator 2.
If it is not a MODE switching command, the instruction execution pseudo procedure 1 executes the instruction and sets the environment for the IO instruction test. After that, when the instruction execution pseudo procedure 1 detects a MODE switching instruction, the communication routine 3 receives the report and transfers the information necessary for instruction execution from the instruction execution pseudo procedure 1 to the logic simulator 2, and changes the instruction execution mode. The instruction execution pseudo procedure 1 is switched to the logic simulator 2.

論理シミユレータ2では、命令実行制御擬似プ
ロシジヤ8が、まず、IO割込待ち状態かどうか
を判定する。最初は、IO割込待ち状態ではない
ので、そのまゝCPU5に動作させる。CPU5は
IO命令をMEM4より読み出し、IO命令実行の
為、IOP6を起動する。起動されたIOP6は、更
に、IOP7を起動し、IOP7からの起動完了報告
を待つ。IOP6は、IOU7からの起動完了報告が
来ると、CPU5に対し起動完了を報告し、直ち
にIOU7との間でデータ転送を開始する。
In the logic simulator 2, the instruction execution control pseudo procedure 8 first determines whether or not it is in an IO interrupt wait state. At first, since it is not in the IO interrupt waiting state, it is operated by the CPU 5 as is. CPU5 is
Reads the IO command from MEM4 and starts IOP6 to execute the IO command. The activated IOP 6 further activates the IOP 7 and waits for a activation completion report from the IOP 7. When the IOP 6 receives the startup completion report from the IOU 7 , it reports the startup completion to the CPU 5 and immediately starts data transfer with the IOU 7 .

命令実行制御擬似プロシジヤ8は、IOP6から
CPU5に対し報告される起動完了報告を検知す
る。これを受けて、連絡ルーチン3が、命令実行
に必要な情報を論理シミユレータ2から命令実行
擬似プロシジヤ1へ転送し、命令実行モードを論
理シミユレータ2から命令実行擬似プロシジヤ1
へ切り換える。
The instruction execution control pseudo procedure 8 starts from the IOP6.
Detects the startup completion report reported to CPU5. In response to this, the communication routine 3 transfers the information necessary for instruction execution from the logic simulator 2 to the instruction execution pseudo procedure 1, and changes the instruction execution mode from the logic simulator 2 to the instruction execution pseudo procedure 1.
Switch to

この場合、IOP6、IOU7間で実行中のデータ
転送は、再開後の動作の連続性を保つ形で中断さ
れる。
In this case, the data transfer being executed between the IOP6 and IOU7 is interrupted to maintain continuity of operation after restarting.

その後、命令実行擬似プロシジヤ1にて、
CPU命令c〜dを読み出し、MODE切換命令で
ないことを確認しつゝ実行する。命令実行擬似プ
ロシジヤ1にてMODE切換命令を検知すると、
その報告を受けて連絡ルーチン3が、命令実行に
必要な情報を命令実行擬似プロシジヤ1から論理
シミユレータ2へ転送し、命令実行モードを命令
実行擬似プロシジヤ1から論理シミユレータ2へ
切り換える。
After that, in instruction execution pseudo procedure 1,
Read CPU instructions c to d, confirm that they are not MODE switching instructions, and execute them. When the instruction execution pseudo procedure 1 detects a MODE switching instruction,
Upon receiving the report, the communication routine 3 transfers information necessary for instruction execution from the instruction execution pseudo procedure 1 to the logic simulator 2, and switches the instruction execution mode from the instruction execution pseudo procedure 1 to the logic simulator 2.

論理シミユレータ2では、最初、以前中断して
いたIOP6、IOU7間のデータ転送を、中断前と
連続性を保つ形で再開する。
In the logic simulator 2, first, the previously interrupted data transfer between the IOP6 and IOU7 is resumed in a manner that maintains the continuity with that before the interruption.

次に、命令実行制御擬似プロシジヤ8が、IO
割込待ち状態かどうかを判定する。現在、IOP
6、IOU7間でデータ転送中だから、CPU5は
データ転送終了に基づくIO割込待ち状態であり、
CPU命令は何も実行しないでIO割込を待つIDLE
ループ動作を繰り返す。
Next, the instruction execution control pseudo procedure 8
Determine whether it is in the interrupt wait state. Currently, IOP
6. Since data is being transferred between IOU7, CPU5 is waiting for an IO interrupt based on the completion of data transfer.
IDLE waits for IO interrupt without executing any CPU instructions
Repeat loop action.

IOP6は、IOU7との間でデータ転送を行い、
IOU7からデータ転送終了報告が来ると、CPU
5に対し、IO割込を起こす。CPU5はIOP6か
らIO割込が報告されると、入出力割込処理(IO
割込処理)を行う。
IOP6 transfers data between IOU7 and
When the data transfer completion report comes from IOU7, the CPU
5, causes an IO interrupt. When an IO interrupt is reported from IOP6, CPU5 handles input/output interrupt processing (IO
interrupt processing).

論理シミユレータ2が入出力動作を全て終了す
ると、その報告を受けて連絡ルーチン3は、命令
実行に必要な情報を論理シミユレータ2から命令
実行擬似プロシジヤ1へ転送し、命令実行モード
を論理シミユレータ2から命令実行擬似プロシジ
ヤ1へ切換える。
When the logic simulator 2 completes all input/output operations, the communication routine 3 receives the report and transfers the information necessary for instruction execution from the logic simulator 2 to the instruction execution pseudo procedure 1, and changes the instruction execution mode from the logic simulator 2 to the instruction execution pseudo procedure 1. Switch to instruction execution pseudo procedure 1.

その後、命令実行擬似プロシジヤ1にて、
CPU命令e〜fを読み出す。命令実行擬似プロ
シジヤ1は、MODE切換命令でないことを確認
しつゝCPU命令を実行し、試験結果の確認を行
う。
After that, in instruction execution pseudo procedure 1,
Read CPU instructions e to f. The instruction execution pseudo procedure 1 executes the CPU instruction while confirming that it is not a MODE switching instruction, and confirms the test result.

以上の動作を、試験プログラム内の各テストケ
ース毎に組み返す。
The above operations are repeated for each test case in the test program.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば、IO命
令を試験する論理シミユレーシヨン動作におい
て、IOPとIOUのデータ転送中、CPUは何も命令
を実行せずにデータ転送終了に基づくIOPからの
IO割込を待てるので、論理シミユレーシヨン時
間の縮減ができる。
As explained above, according to the present invention, in the logic simulation operation for testing IO instructions, the CPU does not execute any instructions during data transfer between the IOP and IOU, and executes the data transfer from the IOP based on the completion of data transfer.
Since it can wait for IO interrupts, logical simulation time can be reduced.

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

第1図は本発明による論理シミユレーシヨン装
置の一実施例の構成図、第2図は第1図の動作説
明図、第3図は従来の論理シミユレーシヨン装置
の構成図、第4図は試験プログラムの一例を示す
図、第5図は第3図の動作説明図である。 1……命令実行擬似プロシジヤ、2……論理シ
ミユレータ、3……連絡ルーチン、4……記憶装
置擬似プロシジヤ、5……中央処理装置モデル、
6……入出力処理装置モデル、7……入出力装置
モデル、8……命令実行制御擬似プロシジヤ。
FIG. 1 is a block diagram of an embodiment of a logic simulation device according to the present invention, FIG. 2 is an explanatory diagram of the operation of FIG. 1, FIG. 3 is a block diagram of a conventional logic simulation device, and FIG. 4 is a diagram of a test program. A diagram showing an example, FIG. 5 is an explanatory diagram of the operation of FIG. 3. 1...Instruction execution pseudo procedure, 2...Logic simulator, 3...Communication routine, 4...Storage device pseudo procedure, 5...Central processing unit model,
6... Input/output processing device model, 7... Input/output device model, 8... Instruction execution control pseudo procedure.

Claims (1)

【特許請求の範囲】 1 動作経過を詳細に計算できる基本論理素子を
用いて被試験情報処理装置の論理を構成した論理
回路モデル上で命令を実行する論理シミユレータ
と、論理の機能動作を機械語命令を用いて記述し
た論理機能モデル上で命令を高速に実行する命令
実行擬似プロシジヤと、前記論理シミユレータと
前記命令実行擬似プロシジヤとで実行する試験プ
ログラムを格納する記憶装置擬似プロシジヤと、
前記論理シミユレータと前記命令実行擬似プロシ
ジヤとの間で、命令実行に必要な情報を転送し、
命令実行の動作モードを切り換える連絡ルーチン
とを有する論理シミユレーシヨン装置において、 前記論理シミユレータと前記連絡ルーチンとの
間で、命令実行の動作モードを切り換える時期を
検出する命令実行制御擬似プロシジヤを設け、 入出力命令を試験する試験プログラムを実行す
る場合に、前記論理シミユレータは入出力命令
と、入出力命令により起動された入出力動作の終
了報告を待つ動作を実行し、前記命令実行擬似プ
ロシジヤはその他のCPU系命令の動作を実行す
ることを特徴とする論理シミユレーシヨン装置。
[Claims] 1. A logic simulator that executes instructions on a logic circuit model that configures the logic of an information processing device under test using basic logic elements that can calculate the operation progress in detail, and an instruction execution pseudo procedure that executes instructions at high speed on a logical function model described using instructions; a storage device pseudo procedure that stores a test program to be executed by the logic simulator and the instruction execution pseudo procedure;
Transferring information necessary for instruction execution between the logic simulator and the instruction execution pseudo procedure;
A logic simulation device having a communication routine for switching an operation mode of instruction execution, wherein an instruction execution control pseudo procedure is provided between the logic simulator and the communication routine to detect when to switch the operation mode of instruction execution; When executing a test program for testing an instruction, the logic simulator executes an input/output instruction and an operation of waiting for a completion report of the input/output operation started by the input/output instruction, and the instruction execution pseudo procedure waits for the completion report of the input/output operation started by the input/output instruction, and the instruction execution pseudo procedure waits for the input/output operation started by the input/output instruction. A logic simulation device characterized by executing operations of system instructions.
JP62038352A 1987-02-21 1987-02-21 Logical simulation device Granted JPS63205758A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62038352A JPS63205758A (en) 1987-02-21 1987-02-21 Logical simulation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62038352A JPS63205758A (en) 1987-02-21 1987-02-21 Logical simulation device

Publications (2)

Publication Number Publication Date
JPS63205758A JPS63205758A (en) 1988-08-25
JPH053033B2 true JPH053033B2 (en) 1993-01-13

Family

ID=12522887

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62038352A Granted JPS63205758A (en) 1987-02-21 1987-02-21 Logical simulation device

Country Status (1)

Country Link
JP (1) JPS63205758A (en)

Also Published As

Publication number Publication date
JPS63205758A (en) 1988-08-25

Similar Documents

Publication Publication Date Title
US4933941A (en) Apparatus and method for testing the operation of a central processing unit of a data processing system
JPH0533423B2 (en)
JP2002297414A (en) System simulator, simulation method and simulation program
JP2655615B2 (en) Information processing device
JPH0521251B2 (en)
JPH053033B2 (en)
JP2533489B2 (en) Simulation system
JPS62194549A (en) Cpu-io parallel working simulation system
JPS63177231A (en) Debug system for parallel program
JPS6120900B2 (en)
JP3685288B2 (en) Microprocessor emulation method and emulator device
JP2954006B2 (en) Emulation device and emulation method
JPH02311903A (en) Programmable controller
JPH03134783A (en) Single chip microcomputer
JPS6020771B2 (en) Micro diagnosis method
JPS62197834A (en) Microprogram controller
JPS62196736A (en) Pseudo-fault generating system
JPH0652482B2 (en) Sequence controller
JP2001209555A (en) I / O emulation device, I / O device emulation method, and recording medium recording I / O device emulation program
JPS61288232A (en) Output instruction control system
JPH01204158A (en) Debugging back-up system for development of cross software of microcomputer
JPH01292413A (en) Information processor
JPH0635516A (en) Batch enable / disable processing method for multiple programs in programmable controller
JPH027099B2 (en)
JPH02244232A (en) information processing equipment