JPH0635988A - Logic simulation system - Google Patents

Logic simulation system

Info

Publication number
JPH0635988A
JPH0635988A JP4193509A JP19350992A JPH0635988A JP H0635988 A JPH0635988 A JP H0635988A JP 4193509 A JP4193509 A JP 4193509A JP 19350992 A JP19350992 A JP 19350992A JP H0635988 A JPH0635988 A JP H0635988A
Authority
JP
Japan
Prior art keywords
instruction
simulator
logic
transfer
software
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.)
Withdrawn
Application number
JP4193509A
Other languages
Japanese (ja)
Inventor
Ichiji Yashima
一司 八嶋
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 Solution Innovators Ltd
Original Assignee
NEC Software Hokuriku 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 NEC Software Hokuriku Ltd filed Critical NEC Software Hokuriku Ltd
Priority to JP4193509A priority Critical patent/JPH0635988A/en
Publication of JPH0635988A publication Critical patent/JPH0635988A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To prevent a program from stopping proceeding by generated fault by a specific instruction recognized to already have some problem at a logic simulator for simulating a gate level in a logic simulation system. CONSTITUTION:The specific instruction recognized to already have some problem is registered on a suppressing instruction registering means 22. When the program is executed by activating a software simulator 1 and a logic simulator transfer judging means 11 recognizes the instruction of a transfer to a logic simulator 2, the logic simulator 2 is activated, and state information at that point of time is set in the simulator. A suppressing instruction judging means 22 investigates that the next instruction is not registered instruction and when a software simulator transfer judging means 24 recognizes that the instruction is not the instruction of transfer to the software simulator, a logic simulator instruction executing means 25 executes the instruction and repeats the same processing by the next instruction.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は論理シミュレーション方
式、特に中央処理装置のハードウェア論理モデルの正常
性を確認するためのゲートレベルのシミュレーションを
行なう論理シミュレータとプログラム命令レベルのシミ
ュレーションを行なうソフトウェアシミュレータとから
なる論理シミュレーション方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a logic simulation method, and more particularly to a logic simulator for performing gate level simulation for confirming the normality of a hardware logic model of a central processing unit and a software simulator for performing program instruction level simulation. Of the logic simulation method.

【0002】[0002]

【従来の技術】従来、この種の論理シミュレーション方
式は、ソフトウェアシミュレータのプログラム上に論理
シミュレータの実行開始と終了とを指示する乗移り命令
を展開しておき、この命令の実行を契機として論理シミ
ューレータの実行開始、終了を制御している。
2. Description of the Related Art Conventionally, in this type of logic simulation method, a transfer instruction for instructing the start and end of execution of the logic simulator is expanded on a program of a software simulator, and the execution of this instruction is used as a trigger for the logic simulator. It controls the start and end of execution.

【0003】[0003]

【発明が解決しようとする課題】上述した従来の論理シ
ミュレーション方式では、既知問題を含んだ論理シミュ
レータをその他の問題の検証のために実行をさせると、
プログラムは乗移り命令間は必ず論理シミュレータで実
行されるため、既知問題による特定命令で障害が発生
し、プログラムが先へ進めないという問題を回避できな
いという欠点がある。
In the above-mentioned conventional logic simulation method, when a logic simulator including a known problem is executed to verify other problems,
Since the program is always executed by the logic simulator between transfer instructions, there is a drawback that the problem that a specific instruction due to a known problem causes a failure and the program cannot proceed further can not be avoided.

【0004】[0004]

【課題を解決するための手段】本発明の論理シミュレー
ション方式は、論理回路の正常性を確認するためのゲー
トレベルのシミュレーションを行なう論理シミュレータ
と命令レベルのシミュレーションを行なうソフトウェア
シミュレータとからなる論理シミュレーション方式にお
いて、論理シミュレータが有する命令で実行を抑止する
命令プログラムの実行前に登録しておく抑止命令登録手
段と、ソフトウェアシミュレータが実行する命令が論理
シミュレータへの乗移り命令かを判断するソフトウェア
シミュレータに設けた論理シミュレータ乗移り判断手段
と、この論理シミュレータ乗移り判断手段が乗移り命令
を判定したとき次の命令が前記抑止命令登録手段に登録
された命令であるかを判断し、抑止命令であるときはこ
の命令をソフトウェアシミュレータに知らせて実行させ
る論理シミュレータに設けた抑止命令判断手段と、この
抑止命令判断手段が抑止命令でないと判断した命令がソ
フトウェアシミュレータへの乗移り命令でないかを判断
し、乗移り命令でないと判断したとき命令を実行させ、
乗移り命令であるときソフトウェアシミュレータへ乗移
りを知らせ、以降の命令をソフトウェアシミュレータで
実行させる論理シミュレータに設けたソフトウェア乗移
り判断手段と、このソフトウェア乗移り判断手段から指
示された命令を実行し、次の命令の実行・抑止を前記抑
止命令判断手段に行なわせる論理シミュレータ命令実行
手段とを有することにより構成される。
The logic simulation method of the present invention is a logic simulation method comprising a logic simulator for performing gate level simulation for confirming the normality of a logic circuit and a software simulator for performing instruction level simulation. In the above, there are provided a restraint instruction registering means for registering before the execution of the instruction program for restraining the execution by the instruction of the logic simulator, and a software simulator for judging whether the instruction executed by the software simulator is a transfer instruction to the logic simulator. When the logic simulator transfer determination means determines a transfer instruction, the logic simulator transfer determination means determines whether the next instruction is an instruction registered in the inhibition instruction registration means, and This command A) Instructing means provided in the logic simulator for notifying the simulator to execute, and determining whether the instruction judged by the inhibiting instruction judging means is not the inhibiting instruction is not a transferring instruction to the software simulator. When judged, execute the command,
When the transfer instruction is a transfer instruction, the transfer is notified to the software simulator, and the software transfer determination means provided in the logic simulator that causes subsequent instructions to be executed by the software simulator and the instruction instructed by the software transfer determination means are executed. It comprises logic simulator instruction execution means for causing the inhibition instruction determination means to execute / inhibit the next instruction.

【0005】[0005]

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.

【0006】図1の実施例は中央処理装置のソフトウェ
アシミュレータ1と中央処理装置の論理シミュレータ2
とからなり、ソフトウェアシミュレータ1はプログラム
の実行を論理シミュレータで行うための乗移り命令を判
断する論理シミュレータ乗移り判断手段11、命令を実
行するソフトウェアシミュレータ命令実行手段12、お
よび論理シミュレータとの情報の送受信を行うソフトウ
ェアシミュレータ情報送受信手段13から構成され、論
理シミュレータ2はソフトウェアシミュレータ1との情
報の送受信を行う論理シミュレータ情報送受信手段2
1、ソフトウェアシミュレータ1で実行を行う命令を登
録する抑止命令登録手段22、プログラム実行中に抑止
命令登録手段22より登録された命令であるかを判断す
る抑止命令判断手段23、プログラムの実行をソフトウ
ェアシミュレータ1で行うための乗移り命令であるかを
判断するソフトウェアシミュレータ乗移り判断手段2
4、および論理シミュレータ命令実行手段25か構成さ
れる。
In the embodiment shown in FIG. 1, a central processing unit software simulator 1 and a central processing unit logic simulator 2 are provided.
The software simulator 1 includes a logic simulator transfer determination means 11 for determining a transfer instruction for executing a program in the logic simulator, a software simulator instruction execution means 12 for executing an instruction, and information about the logic simulator. The logic simulator 2 comprises a software simulator information transmitting / receiving means 13 for transmitting / receiving, and the logic simulator 2 transmits / receives information to / from the software simulator 1.
1. Suppressing instruction registering means 22 for registering an instruction to be executed by the software simulator 1. Suppressing instruction determining means 23 for determining whether the instruction is registered by the inhibiting instruction registering means 22 during program execution. Software simulator transfer determination means 2 for determining whether a transfer instruction is to be executed by the simulator 1
4 and the logic simulator instruction executing means 25.

【0007】図2は図1の実施例の処理の流れ図であ
る。以下、図1の実施例の動作を図2を参照して説明す
る。まず、ゲートレベルのシミュレーションで問題あり
と判かっている論理シミュレータ2での実行を抑止すべ
き命令を、抑止命令登録手段22により論理シミュレー
タ2に登録する(ステップ101)。次にソフトウェア
シミュレータ1を起動し(ステップ102)、プログラ
ムを実行する。ソフトウェアシミュレータ1では論理シ
ミュレータ乗移り判断手段11が、実行する命令が論理
シミュレータ2への乗移り命令かどうかを判断する(ス
テップ103)。このとき実行命令が乗移り命令でない
場合は、ソフトウェアシミュレータ命令実行手段12で
実行する(ステップ104)。命令実行後、プログラム
終了を判断し(ステップ105)、終了でない場合はス
テップ103の乗移り命令判断処理に戻る。ステップ1
03の乗移り判断処理において論理シミュレータ2への
乗移り命令を検出した場合は、論理シミュレータ乗移り
判断手段11はソフトウェアシミュレータ情報送受信手
段13に乗移り命令を検出したことを伝える。ソフトウ
ェアシミュレータ情報送受信手段13は論理シミュレー
タ2を起動し(ステップ106)、乗移り命令検出時の
ソフトウェアシミュレータ1の状態を示すソフトウェア
シミュレータ情報を論理シミュレータ情報送受信21に
転送する(ステップ107)。論理シミュレータ情報送
受信手段21は転送されたソフトウェアシミュレータ情
報を設定し、抑止命令判断手段23に乗移りがあったこ
とを伝える。抑止命令判断手段23は乗移り命令の次の
命令から処理を再開し、実行命令が抑止命令登録手段2
2により登録された命令かどうかを判断する(ステップ
108)。実行命令が抑止命令登録手段22により登録
された命令でない場合は、次にソフトウェアシミュレー
タ乗移り判断手段24が実行する命令がソフトウェアシ
ミュレータ1への乗移り命令かどうかを判断する(ステ
ップ109)。そこで実行命令が乗移り命令でない場合
は、論理シミュレータ命令実行手段25で実行する(ス
テップ110)。命令実行後、抑止命令判断手段23
が、次の命令が抑止命令登録手段22により登録された
命令かどうかを判断するステップ108の処理に戻る。
ステップ109のソフトウェアシミュレータ乗移り判断
手段24がソフトウェアシミュレータ1への乗移り命令
を判断する処理において乗移り命令を検出した場合は、
ソフトウェアシミュレータ乗移り判断手段24は論理シ
ミュレータ情報送受信手段21に乗移り命令を検出した
ことを伝える。論理シミュレータ情報送受信手段21は
ソフトウェアシミュレータ1を起動し(ステップ11
1)、乗移り命令検出時の論理シミュレータの状態を示
す論理シミュレータ情報をソフトウェアシミュレータ情
報送受信手段13に転送する(ステップ112)。ソフ
トウェアシミュレータ情報送受信手段13は転送された
論理シミュレータ情報を設定し、論理シミュレータ乗移
り判断手段11に乗移りのあったことを伝える。論理シ
ミュレータ乗移り判断手段11はステップ103に戻
り、乗移り命令の次の命令から処理を再開し、実行命令
が乗移り命令かどうかを判断する処理を実行する。ステ
ップ108で論理シミュレータ2の抑止命令判断手段2
3が抑止命令登録手段22により登録された命令を検出
した場合は、論理シミュレータ情報送受信手段21に抑
止命令を検出したことを伝える。論理シミュレータ情報
送受信手段21はソフトウェアシミュレータ1を起動し
(ステップ113)、抑止命令登録手段22により登録
された命令を検出した時点の論理シミュレータ情報をソ
フトウェアシミュレータ情報送受信手段13に転送する
(ステップ114)。ソフトウェアシミュレータ情報送
受信手段13は転送された論理シミュレータ情報を設定
し、ソフトウェアシミュレータ命令実行手段12により
抑止命令登録手段22により登録された命令を実行する
(ステップ115)。命令実行後はソフトウェアシミュ
レータ情報送受信手段13は論理シミュレータ2を起動
するステップ106の処理に戻る。以上の処理をプログ
ラム終了まで繰り返す。
FIG. 2 is a flow chart of processing of the embodiment shown in FIG. The operation of the embodiment shown in FIG. 1 will be described below with reference to FIG. First, an instruction for which execution in the logic simulator 2 is known to be problematic in gate-level simulation is to be registered in the logic simulator 2 by the inhibition instruction registration means 22 (step 101). Next, the software simulator 1 is activated (step 102) and the program is executed. In the software simulator 1, the logic simulator transfer determination means 11 determines whether the instruction to be executed is a transfer instruction to the logic simulator 2 (step 103). At this time, if the execution instruction is not the transfer instruction, the software simulator instruction execution means 12 executes it (step 104). After the instruction is executed, it is judged whether the program is finished (step 105). If it is not finished, the process returns to the transfer instruction judgment processing of step 103. Step 1
When the transfer instruction to the logic simulator 2 is detected in the transfer determination processing of 03, the logic simulator transfer determination means 11 notifies the software simulator information transmitting / receiving means 13 that the transfer instruction is detected. The software simulator information transmitting / receiving means 13 activates the logic simulator 2 (step 106) and transfers the software simulator information indicating the state of the software simulator 1 at the time of detecting the transfer instruction to the logic simulator information transmitting / receiving 21 (step 107). The logic simulator information transmission / reception means 21 sets the transferred software simulator information, and informs the inhibition instruction determination means 23 of the transfer. The inhibition instruction determination means 23 restarts the processing from the instruction next to the transfer instruction, and the execution instruction is the inhibition instruction registration means 2
It is determined whether or not the instruction is registered in step 2 (step 108). If the execution instruction is not the instruction registered by the inhibition instruction registration means 22, then it is determined whether the instruction executed by the software simulator transfer determination means 24 is a transfer instruction to the software simulator 1 (step 109). If the execution instruction is not a transfer instruction, the logic simulator instruction execution means 25 executes it (step 110). After executing the instruction, the inhibition instruction determining means 23
However, the process returns to step 108 for determining whether the next command is a command registered by the inhibition command registration means 22.
When the software simulator transfer determination means 24 in step 109 detects the transfer instruction in the process of determining the transfer instruction to the software simulator 1,
The software simulator transfer determination means 24 notifies the logic simulator information transmission / reception means 21 that the transfer instruction has been detected. The logic simulator information transmitting / receiving means 21 activates the software simulator 1 (step 11
1) The logic simulator information indicating the state of the logic simulator at the time of detecting the transfer instruction is transferred to the software simulator information transmitting / receiving means 13 (step 112). The software simulator information transmission / reception means 13 sets the transferred logic simulator information and notifies the logic simulator transfer determination means 11 of the transfer. The logic simulator transfer determination means 11 returns to step 103, restarts processing from the instruction following the transfer instruction, and executes processing to determine whether the execution instruction is a transfer instruction. In step 108, the inhibition instruction determination means 2 of the logic simulator 2
When 3 detects the instruction registered by the inhibiting instruction registering means 22, it informs the logic simulator information transmitting / receiving means 21 that the inhibiting instruction is detected. The logic simulator information transmission / reception means 21 activates the software simulator 1 (step 113), and transfers the logic simulator information at the time when the instruction registered by the inhibition instruction registration means 22 is detected to the software simulator information transmission / reception means 13 (step 114). . The software simulator information transmission / reception means 13 sets the transferred logic simulator information, and the software simulator instruction execution means 12 executes the instruction registered by the inhibition instruction registration means 22 (step 115). After executing the instruction, the software simulator information transmitting / receiving means 13 returns to the processing of step 106 for starting the logic simulator 2. The above processing is repeated until the program ends.

【0008】[0008]

【発明の効果】以上説明したように本発明は、論理シミ
ュレータで問題のある命令を予め登録しておき、ソフト
ウェアシミュレータから論理シミュレータへ乗移ったと
き登録されている実行を抑止すべき命令かを調べ、論理
シミュレータでの実行を抑止する命令をソフトウェアシ
ミュレータで実行するため、既知問題により特定の命令
で障害が発生し、以降の命令列を処理できなくなるとい
う問題を解消できるという効果がある。
As described above, according to the present invention, an instruction having a problem is registered in advance in the logic simulator, and whether or not the execution which is registered when transferring from the software simulator to the logic simulator should be suppressed. Since the software simulator executes the instruction that suppresses the execution in the logic simulator, it is possible to solve the problem that a specific instruction fails due to a known problem and the subsequent instruction sequence cannot be processed.

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

【図1】本発明の一実施例の構成図である。FIG. 1 is a configuration diagram of an embodiment of the present invention.

【図2】図1の実施例の処理の流れ図である。FIG. 2 is a flow chart of processing of the embodiment of FIG.

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

1 ソフトウェアシミュレータ 2 論理シミュレータ 11 論理シミュレータ乗移り判断手段 12 ソフトウェアシミュレータ命令実行手段 13 ソフトウェアシミュレータ情報送受信手段 21 論理シミュレータ情報送受信手段 22 抑止命令登録手段 23 抑止命令判断手段 24 ソフトウェアシミュレータ乗移り判断手段 25 論理シミュレータ命令実行手段 DESCRIPTION OF SYMBOLS 1 software simulator 2 logic simulator 11 logic simulator transfer determination means 12 software simulator instruction execution means 13 software simulator information transmission / reception means 21 logic simulator information transmission / reception means 22 inhibition instruction registration means 23 inhibition instruction determination means 24 software simulator transition determination means 25 logic Simulator instruction execution means

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 論理回路の正常性を確認するためのゲー
トレベルのシミュレーションを行なう論理シミュレータ
と命令レベルのシミュレーションを行なうソフトウェア
シミュレータとからなる論理シミュレーション方式にお
いて、論理シミュレータが有する命令で実行を抑止する
命令をプログラムの実行前に登録しておく抑止命令登録
手段と、ソフトウェアシミュレータが実行する命令が論
理シミュレータへの乗移り命令かを判断するソフトウェ
アシミュレータに設けた論理シミュレータ乗移り判断手
段と、この論理シミュレータ乗移り判断手段が乗移り命
令を判定したとき次の命令が前記抑止命令登録手段に登
録された命令であるかを判断し、抑止命令であるときは
この命令をソフトウェアシミュレータに知らせて実行さ
せる論理シミュレータに設けた抑止命令判断手段と、こ
の抑止命令判断手段が抑止命令でないと判断した命令が
ソフトウェアシミュレータへの乗移り命令でないかを判
断し、乗移り命令でないと判断したとき命令を実行さ
せ、乗移り命令であるときソフトウェアシミュレータへ
乗移りを知らせ、以降の命令をソフトウェアシミュレー
タで実行させる論理シミュレータに設けたソフトウェア
乗移り判断手段と、このソフトウェア乗移り判断手段か
ら指示された命令を実行し、次の命令の実行・抑止を前
記抑止命令判断手段に行なわせる論理シミュレータ命令
実行手段とを有することを特徴とする論理シミュレーシ
ョン方式。
1. In a logic simulation method comprising a logic simulator for performing gate level simulation for confirming the normality of a logic circuit and a software simulator for performing instruction level simulation, execution is suppressed by an instruction of the logic simulator. Suppressing instruction registering means for registering an instruction before execution of a program, logic simulator transfer judging means provided in a software simulator for judging whether an instruction executed by a software simulator is a transferring instruction to a logic simulator, and this logic. When the simulator transfer determination means determines a transfer instruction, it is determined whether the next instruction is an instruction registered in the inhibition instruction registration means, and if it is an inhibition instruction, this instruction is notified to the software simulator and executed. Logical simulation And a restraint instruction determining means provided in the computer, and whether the instruction determined by this restraint instruction determining means is not a restraint instruction is a transfer instruction to the software simulator, and when it is determined that it is not a transfer instruction, the instruction is executed, When the transfer instruction is a transfer instruction, the transfer is notified to the software simulator, the software transfer determination means provided in the logic simulator that causes subsequent instructions to be executed by the software simulator, and the instruction instructed by the software transfer determination means is executed. A logic simulation method comprising: a logic simulator instruction executing means for causing the inhibition instruction determining means to execute / inhibit the next instruction.
JP4193509A 1992-07-21 1992-07-21 Logic simulation system Withdrawn JPH0635988A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4193509A JPH0635988A (en) 1992-07-21 1992-07-21 Logic simulation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4193509A JPH0635988A (en) 1992-07-21 1992-07-21 Logic simulation system

Publications (1)

Publication Number Publication Date
JPH0635988A true JPH0635988A (en) 1994-02-10

Family

ID=16309245

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4193509A Withdrawn JPH0635988A (en) 1992-07-21 1992-07-21 Logic simulation system

Country Status (1)

Country Link
JP (1) JPH0635988A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7131829B2 (en) 2004-07-02 2006-11-07 Yamaguchi Mfg. Works, Ltd. Spiral die assembly

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7131829B2 (en) 2004-07-02 2006-11-07 Yamaguchi Mfg. Works, Ltd. Spiral die assembly

Similar Documents

Publication Publication Date Title
EP1588260B1 (en) Hot plug interfaces and failure handling
US7428660B2 (en) Starting control method, duplex platform system, and information processor
JPH0635988A (en) Logic simulation system
US8701089B2 (en) Program execution device and method for controlling the same
JP2970082B2 (en) Virtual intercluster communication processor
JP2985299B2 (en) Exclusive control unit
JPS62203240A (en) Test system for information processor
JPS5868162A (en) Retry processing system
JPH05136845A (en) Memory check system in communication controller
JP2868501B1 (en) How to avoid processing stop
JPH02231634A (en) Method for maintaining interchangeability of software
JPS62202240A (en) Testing system for information processor
JPH0581041A (en) Information processor
JP2648029B2 (en) In-circuit emulator
JPS60101646A (en) Interruption processing method
WO1990013071A1 (en) Programmable controller
JPH05336082A (en) Detection of response data validity
JPS628830B2 (en)
JPH0231240A (en) Processing system for troubled coprocessor
JPS6277645A (en) Local job start control system
JPH02244208A (en) Information processor control system
JPS59136826A (en) Resetting system of electronic computer
JPH053033B2 (en)
JPH0440544A (en) Processing system for input and output instructions for test
JPH04137156A (en) I/o processor

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19991005