JP2001125803A - Simulation system and simulation method and recording medium - Google Patents

Simulation system and simulation method and recording medium

Info

Publication number
JP2001125803A
JP2001125803A JP30219299A JP30219299A JP2001125803A JP 2001125803 A JP2001125803 A JP 2001125803A JP 30219299 A JP30219299 A JP 30219299A JP 30219299 A JP30219299 A JP 30219299A JP 2001125803 A JP2001125803 A JP 2001125803A
Authority
JP
Japan
Prior art keywords
simulation
data
executing
comparison
central processing
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
Application number
JP30219299A
Other languages
Japanese (ja)
Other versions
JP3991531B2 (en
Inventor
Satoshi Watanabe
智 渡邊
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.)
Konica Minolta Inc
Original Assignee
Konica Minolta Inc
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 Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP30219299A priority Critical patent/JP3991531B2/en
Publication of JP2001125803A publication Critical patent/JP2001125803A/en
Application granted granted Critical
Publication of JP3991531B2 publication Critical patent/JP3991531B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a simulation system for restoring a device to be simulated to a safe state even when the target device performs an abnormal operation due to simulation, and for executing continuous simulation of plural simulation data. SOLUTION: This simulation device 10 is provided with an information processor 11 for executing simulation of a device 1 to be simulated, a monitoring device 41 for deciding the start of the sampling of an input signal, and for deciding the start of the output of a simulation signal, a reset means 54, a comparing means 53 for comparing the result data of the simulation with verification data, and a simulation data setting means 55 for setting plural data. Thus, it is possible to execute simulation while comparing data under a set comparison condition, and to execute the comparison of even serial communication data by simulation. Also, it is possible to execute the sampling of a signal from the device to be simulated in a satisfactory timing, and to execute simulation of the device to be simulated in a satisfactory timing.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、シミュレーション
のため被シミュレーション装置に対し疑似信号を出力す
るシミュレーションシステム、シミュレーション方法及
びシミュレーション方法を実行するプログラムを記憶さ
せた記録媒体に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a simulation system for outputting a pseudo signal to a device to be simulated for simulation, a simulation method, and a recording medium storing a program for executing the simulation method.

【0002】[0002]

【従来の技術】従来、シミュレーション装置では、シミ
ュレーションの際に、実機との接続を解除し、被シミュ
レーション装置に対してシミュレーションのための接続
を行った後に、シミュレーション装置から疑似信号を与
えることにより、シミュレーションを行っている。
2. Description of the Related Art Conventionally, a simulation device disconnects a real device during a simulation, makes a connection to a device to be simulated for simulation, and then supplies a pseudo signal from the simulation device. A simulation is being performed.

【0003】ところが、従来のシミュレーション装置で
は、シミュレーションを実行するだけであり、シミュレ
ーションの結果、CPUが異常な動作をした場合や、ソ
フトウエアのバグ等により被シミュレーション装置が異
常な動作をした場合、オペレータが対象の機器の電源を
OFFすることにより、かかる異常状態を解除してい
た。
However, in the conventional simulation apparatus, only the simulation is performed. If the simulation results in an abnormal operation of the CPU or the abnormal operation of the simulated apparatus due to a software bug or the like, When the operator turns off the power of the target device, the abnormal state is released.

【0004】また、従来のシミュレーション装置ではシ
ミュレーション毎にシミュレーションデータを設定して
おり、複数のシミュレーションデータで連続的にシミュ
レーションができなかった。
Further, in the conventional simulation apparatus, simulation data is set for each simulation, and a simulation cannot be continuously performed using a plurality of simulation data.

【0005】また、実機を活用してシミュレーションを
行った場合、シミュレーションの開始タイミングによっ
て実機内部のCPUによるカウンタ値がカウンタの1単
位分ずれてしまう。また、機器の動作に依存する部分の
信号のタイミングはシミュレーション毎に僅かにずれ
る。更に、シミュレーション装置のサンプリング時間は
短いため、シミュレーション結果のデータが毎回わずか
に異なってしまう。この結果データを従来の比較方法で
比較すると、シミュレーションの結果としては問題がな
いにもかかわらず、比較対象の基準データと一致せず、
比較できない場合がある。このように、従来のシミュレ
ーション装置は、比較対象のファイルのデータを比較す
るだけであり、比較条件に対応して比較することができ
なかった。
When a simulation is performed using an actual machine, the counter value of the CPU inside the actual machine is shifted by one unit of the counter depending on the start timing of the simulation. In addition, the timing of the signal of the portion depending on the operation of the device is slightly shifted for each simulation. Furthermore, since the sampling time of the simulation device is short, the data of the simulation result slightly differs every time. When this result data is compared with the conventional comparison method, although there is no problem as a result of the simulation, it does not match the reference data to be compared,
There are cases where comparison is not possible. As described above, the conventional simulation apparatus only compares the data of the files to be compared, and cannot perform the comparison in accordance with the comparison conditions.

【0006】また、データがシリアル通信データの場
合、バイト単位のデータとビット単位で定義されたデー
タが混在しているが、これらのデータをまとめて比較検
証すると、正常なデータであるにもかかわらず問題とな
ってしまうことがあった。
When data is serial communication data, data in byte units and data defined in bit units are mixed. When these data are compared and verified collectively, it is determined that the data is normal. Was a problem.

【0007】更に、被シミュレーション装置から信号を
タイミングよくサンプリングし、また、被シミュレーシ
ョン装置に対しタイミングよくシミュレーションを行う
ことが必要である。
Further, it is necessary to sample a signal from the device to be simulated with good timing, and to perform a simulation with good timing for the device to be simulated.

【0008】[0008]

【発明が解決しようとする課題】本発明の目的は、シミ
ュレーションにより対象の機器が異常な動作をした場合
でも、オペレータによる特別な操作の必要なく被シミュ
レーション装置を安全な状態に復帰できるようにしたシ
ミュレーションシステムを提供することである。
SUMMARY OF THE INVENTION An object of the present invention is to enable a device to be simulated to return to a safe state without the need for a special operation by an operator, even if the target device operates abnormally by simulation. It is to provide a simulation system.

【0009】また、複数のシミュレーションデータに対
してオペレータによる特別な操作の必要なく連続シミュ
レーションを実行できるようにしたシミュレーションシ
ステムを提供することである。
It is another object of the present invention to provide a simulation system capable of executing a continuous simulation on a plurality of simulation data without requiring a special operation by an operator.

【0010】また、シミュレーションの実行中に、必要
に応じてシミュレーションを中断・停止できるようにし
たシミュレーションシステムを提供することである。
Another object of the present invention is to provide a simulation system in which the simulation can be interrupted or stopped as needed during the execution of the simulation.

【0011】また、比較条件を設定し、その設定した比
較条件で比較しながらシミュレーションを実行できるよ
うにしたシミュレーションシステム、シミュレーション
方法及びシミュレーション方法を実行するプログラムを
記憶させた記録媒体を提供することである。
[0011] Further, by providing a simulation system, a simulation method, and a recording medium storing a program for executing the simulation method, in which a comparison condition is set, and a simulation can be executed while comparing under the set comparison condition. is there.

【0012】また、バイト単位のデータとビット単位で
定義されたデータが混在しているシリアル通信のデータ
でもシミュレーションによる比較ができるシミュレーシ
ョンシステムを提供することである。
It is another object of the present invention to provide a simulation system capable of performing comparison by simulation even for serial communication data in which data in byte units and data defined in bit units are mixed.

【0013】更に、上記シミュレーションシステムにお
いて、被シミュレーション装置から信号をタイミングよ
くサンプリングし、また、被シミュレーション装置に対
しタイミングよくシミュレーションを行うことができる
ようにすることである。
Still another object of the present invention is to enable the simulation system to sample a signal from a device to be simulated with good timing, and to perform a simulation with good timing for the device to be simulated.

【0014】[0014]

【課題を解決するための手段】上記課題を達成するた
め、本発明は、プログラムを実行する中央処理装置部と
この中央処理装置部と接続された周辺部とを有する被シ
ミュレーション装置に対してシミュレーションを実行す
るシミュレーションシステムであって、前記被シミュレ
ーション装置からの入力信号または前記シミュレーショ
ンシステムからの信号に基づいて前記中央処理装置部ま
たは前記周辺部に疑似信号を出力してシミュレーション
を実行するシミュレーション実行手段と、前記入力信号
のサンプリングの開始を決定するための監視手段とを具
備する。
SUMMARY OF THE INVENTION In order to achieve the above object, the present invention provides a simulation for a device to be simulated having a central processing unit for executing a program and a peripheral unit connected to the central processing unit. Simulation execution means for executing a simulation by outputting a pseudo signal to the central processing unit or the peripheral unit based on an input signal from the simulated device or a signal from the simulation system. And monitoring means for determining the start of sampling of the input signal.

【0015】このシミュレーションシステムによれば、
被シミュレーション装置からの信号をサンプリングする
際に、モニタしながらタイミングよくサンプリングを開
始することができる。
According to this simulation system,
When sampling a signal from the device to be simulated, sampling can be started with good timing while monitoring.

【0016】また、前記監視手段が前記疑似信号の出力
開始を決定することにより、被シミュレーション装置の
中央処理装置部または周辺部に対し、タイミングよく疑
似信号を送ることができ、シミュレーション実行手段が
シミュレーションをタイミングよく実行することができ
る。
Further, the monitoring means determines the start of the output of the pseudo signal, whereby the pseudo signal can be sent to the central processing unit or the peripheral part of the device to be simulated with good timing. Can be executed with good timing.

【0017】また、本発明は、プログラムを実行する中
央処理装置部とこの中央処理装置部と接続された周辺部
とを有する被シミュレーション装置に対してシミュレー
ションを実行するシミュレーションシステムであって、
前記被シミュレーション装置からの入力信号または前記
シミュレーションシステムからの信号に基づいて前記中
央処理装置部または前記周辺部に疑似信号を出力してシ
ミュレーションを実行するシミュレーション実行手段
と、前記疑似信号の出力開始を決定するための監視手段
とを具備する。
The present invention is also a simulation system for executing a simulation on a device to be simulated having a central processing unit for executing a program and a peripheral unit connected to the central processing unit.
Simulation executing means for executing a simulation by outputting a pseudo signal to the central processing unit or the peripheral unit based on an input signal from the simulated device or a signal from the simulation system, and starting output of the pseudo signal Monitoring means for determining.

【0018】また、前記監視手段に対し決定条件を設定
するための決定条件設定手段を更に具備することによ
り、任意の条件を設定でき、この決定条件でサンプリン
グやシミュレーションを実行することができる。
Further, by further comprising a decision condition setting means for setting decision conditions for the monitoring means, arbitrary conditions can be set, and sampling and simulation can be executed under these decision conditions.

【0019】また、前記被シミュレーション装置からサ
ンプリングした前記入力信号に基づいてシミュレーショ
ンデータと検証データとを作成するように各データの内
容を設定し前記各データを作成するデータ作成設定手段
を更に具備することにより、シミュレーション実行のた
めのシミュレーションデータとこれに対応した検証デー
タとを作成することができる。
Further, the apparatus further comprises data creation setting means for setting the contents of each data so as to create simulation data and verification data based on the input signal sampled from the simulated device and creating each data. As a result, simulation data for executing the simulation and verification data corresponding to the simulation data can be created.

【0020】また、前記シミュレーションデータに基づ
いて実行したシミュレーションの結果データを取得し、
この取得した結果データと前記検証データとを比較し検
証する比較手段を更に具備することにより、シミュレー
ション結果を検証データと比較して正しいか否か判断で
きるから、シミュレーションにおける被シミュレーショ
ン装置の異常動作等を検出することができる。
[0020] Further, data of a result of a simulation executed based on the simulation data is obtained,
By further providing a comparing means for comparing the obtained result data with the verification data and verifying the same, it is possible to determine whether the simulation result is correct by comparing the simulation result with the verification data. Can be detected.

【0021】また、前記比較手段の比較検証結果に基づ
いて前記被シュミュレーション装置のリセットを行うリ
セット手段を更に具備することにより、シミュレーショ
ンにより被シミュレーション装置が異常な動作をした場
合でも、オペレータによる特別な操作の必要なく被シミ
ュレーション装置を安全な状態に復帰できる。
Further, the apparatus further comprises reset means for resetting the simulated device on the basis of the result of the comparison and verification by the comparing means. The simulated device can be returned to a safe state without the need for a simple operation.

【0022】この場合、前記リセット手段は、前記被シ
ミュレーション装置の電源をOFF・ONすること、前
記周辺部の電源をOFF・ONすること、及び前記被シ
ミュレーション装置の中央処理装置部にリセット信号を
送ることのうちの少なくとも一つを行うようにできる。
これにより、被シミュレーション装置が安全な状態に復
帰する。なお、比較検証結果に基づいて不具合があると
判断された被シミュレーション装置の部分についてリセ
ット手段が機能するように構成してもよい。
In this case, the reset means turns off / on the power of the simulated device, turns off / on the power of the peripheral portion, and sends a reset signal to the central processing unit of the simulated device. At least one of sending can be performed.
As a result, the simulated device returns to a safe state. The reset unit may be configured to function for a portion of the simulated device determined to have a defect based on the result of the comparison and verification.

【0023】また、本発明は、プログラムを実行する中
央処理装置部とこの中央処理装置部と接続された周辺部
とを有する被シミュレーション装置に対してシミュレー
ションを実行するシミュレーションシステムであって、
前記中央処理装置部または前記周辺部に疑似信号を出力
してシミュレーションを実行するシミュレーション実行
手段と、前記シミュレーションのためのシミュレーショ
ンデータを複数設定するとともに前記各シミュレーショ
ンデータに対応する検証データを設定するシミュレーシ
ョンデータ設定手段とを具備する。
The present invention is also a simulation system for executing a simulation on a device to be simulated having a central processing unit for executing a program and a peripheral unit connected to the central processing unit,
Simulation executing means for outputting a pseudo signal to the central processing unit or the peripheral unit to execute a simulation, and a simulation for setting a plurality of simulation data for the simulation and setting verification data corresponding to each of the simulation data Data setting means.

【0024】このシミュレーションシステムによれば、
複数のシミュレーションデータとそれぞれに対応する検
証データとを設定することができるから、複数のシミュ
レーションデータに対してオペレータによる特別な操作
の必要なく連続シミュレーションを実行できる。
According to this simulation system,
Since a plurality of simulation data and verification data corresponding to each of the plurality of simulation data can be set, a continuous simulation can be performed on the plurality of simulation data without a special operation by an operator.

【0025】また、前記設定された複数のシミュレーシ
ョンデータとこれらにそれぞれ対応して設定された複数
の検証データとに基づいてシミュレーション実行に関す
る時間情報を判定し、この時間情報を前記シミュレーシ
ョンデータ設定手段に設定することのできる時間情報判
定手段を更に具備することにより、シミュレーションデ
ータと検証データとの時間情報を判定し、シミュレーシ
ョン終了と判定すると、この判定結果をシミュレーショ
ン実行手段にシミュレーション終了時刻として設定する
ことができる。
Further, time information relating to the simulation execution is determined based on the set simulation data and the verification data set corresponding to the simulation data, and the time information is sent to the simulation data setting means. By further providing time information determining means that can be set, the time information between the simulation data and the verification data is determined, and when it is determined that the simulation is completed, the determination result is set as the simulation end time in the simulation executing means. Can be.

【0026】この場合、前記時間情報判定手段で判定し
た時間情報によりシミュレーション動作を終了する終了
手段を更に具備することが好ましい。
In this case, it is preferable that the apparatus further comprises an ending means for ending the simulation operation based on the time information determined by the time information determining means.

【0027】また、前記シミュレーションの実行のため
に必要なデータの内容が正しいことを検証するデータ検
証手段を更に具備することにより、シミュレーションに
よる被シミュレーション装置における異常動作を未然に
防止することができる。
Further, by further providing data verification means for verifying that the contents of data necessary for executing the simulation are correct, it is possible to prevent abnormal operation in the simulated device by simulation.

【0028】また、前記データ検証手段により前記シミ
ュレーションデータ及び前記検証データの少なくとも一
方に不具合があると判定されたときに、そのシミュレー
ションの実行をスキップし、次のシミュレーションデー
タに基づいてシミュレーションを実行するようにでき
る。
When it is determined by the data verification means that at least one of the simulation data and the verification data has a defect, the simulation is skipped and a simulation is performed based on the next simulation data. I can do it.

【0029】また、前記データ検証手段により前記シミ
ュレーションデータ及び前記検証データの少なくとも一
方に不具合があると判定されたときに、その不具合のデ
ータを記録する記録手段または表示する表示手段を更に
具備することが好ましい。
When the data verification means determines that at least one of the simulation data and the verification data has a defect, the apparatus further comprises a recording means for recording the data of the defect or a display means for displaying. Is preferred.

【0030】また、前記シミュレーションの終了を判定
しシミュレーションの実行を終了させる終了判定手段を
更に具備するようにできる。
[0030] Further, it is possible to further comprise an end determining means for judging the end of the simulation and ending the execution of the simulation.

【0031】また、前記シミュレーション実行の中断ま
たは停止のための中断停止情報を前記終了判定手段に送
る中断・停止手段を更に具備することにより、シミュレ
ーションを任意に停止でき、また中断後にシミュレーシ
ョンを再開することができる。これは複数のシミュレー
ションデータにより連続的にシミュレーションを実行し
ているときに便利である。
Further, by further providing an interruption / stop unit for sending interruption stop information for interrupting or stopping the execution of the simulation to the end determination unit, the simulation can be stopped arbitrarily and restarted after the interruption. be able to. This is convenient when a simulation is continuously performed using a plurality of simulation data.

【0032】また、本発明は、プログラムを実行する中
央処理装置部とこの中央処理装置部と接続された周辺部
とを有する被シミュレーション装置に対してシミュレー
ションを実行するシミュレーションシステムであって、
前記中央処理装置部または前記周辺部に疑似信号を出力
してシミュレーションを実行するシミュレーション実行
手段と、前記シミュレーションを実行したシミュレーシ
ョン結果の第1のデータファイルと前記シミュレーショ
ン結果を検証するための第2のデータファイルとを指定
する第1の指定手段と、前記指定された第1のデータフ
ァイルの内容と第2のデータファイルの内容とを比較す
る比較条件を指定する第2の指定手段と、前記指定され
た比較条件で前記比較を行うデータ比較手段とを具備す
る。
The present invention is also a simulation system for executing a simulation on a device to be simulated having a central processing unit for executing a program and a peripheral unit connected to the central processing unit.
Simulation executing means for executing a simulation by outputting a pseudo signal to the central processing unit or the peripheral portion; a first data file of a simulation result obtained by executing the simulation; and a second data file for verifying the simulation result. First designating means for designating a data file; second designating means for designating comparison conditions for comparing the content of the designated first data file with the content of the second data file; Data comparison means for performing the comparison under the set comparison conditions.

【0033】このシミュレーションシステムによれば、
任意のシミュレーションの結果データとそれを検証する
検証データとを比較することができるとともに、この比
較の際の比較条件を設定し、設定した比較条件で比較し
ながらシミュレーションを実行できる。
According to this simulation system,
It is possible to compare the result data of an arbitrary simulation with the verification data for verifying the simulation, set a comparison condition for this comparison, and execute the simulation while comparing under the set comparison condition.

【0034】また、本発明は、シミュレーションの結果
に関する第1のデータファイルとシミュレーションの検
証に関する第2のデータファイルとを指定する第1の指
定手段と、前記指定された第1のデータファイルの内容
と第2のデータファイルの内容とを比較する比較条件を
指定する第2の指定手段とを具備し、前記第1の指定手
段で指定された前記第1のデータファイルの内容と前記
第2のデータファイルの内容とを前記第2の指定手段で
指定した比較条件で比較を行うシミュレーションシステ
ムである。
According to the present invention, a first designating means for designating a first data file relating to a simulation result and a second data file relating to simulation verification, and the contents of the designated first data file And second specification means for specifying a comparison condition for comparing the contents of the first data file with the contents of the second data file. This is a simulation system for comparing the contents of a data file with a comparison condition specified by the second specifying means.

【0035】このシミュレーションシステムによれば、
シミュレーションの結果に関する第1のデータファイル
とシミュレーションの検証に関する第2のデータファイ
ルとを指定した比較条件で比較を行うから、シミュレー
ションの結果を容易に検証できる。
According to this simulation system,
Since the first data file related to the simulation result and the second data file related to the simulation verification are compared under the specified comparison condition, the simulation result can be easily verified.

【0036】また、前記比較条件を時刻データ及びその
許容値とすることにより、従来のように、シミュレーシ
ョン実行手段のサンプリング時間が短かいためやシミュ
レーションの開始タイミングがずれてしまったりするた
めに、シミュレーション結果のデータが毎回わずかに異
なってしまっても、時間の許容値の範囲内で比較するか
ら、結果データを比較対象の検証データと比較できない
ことはない。
In addition, by setting the comparison condition to time data and its allowable value, the simulation execution means has a short sampling time and the simulation start timing is shifted as in the prior art. Even if the result data is slightly different each time, since the comparison is performed within the allowable time range, the result data cannot be compared with the verification data to be compared.

【0037】また、前記第2の指定手段で指定された比
較条件の項目に対応して前記第1の指定手段で各データ
ファイルの内容を指定するようにできる。
Further, the contents of each data file can be specified by the first specifying means in accordance with the comparison condition item specified by the second specifying means.

【0038】そして、前記データ比較手段が前記指定さ
れた比較条件の項目に対応して比較を行うことにより、
検証データの中から検証に必要なデータのみを指定でき
るので、比較検証の時間を短縮できるとともに、比較結
果が分かり易くなる。
Then, the data comparison means performs a comparison corresponding to the designated item of the comparison condition,
Since only the data necessary for the verification can be designated from the verification data, the time for the comparison and verification can be reduced, and the comparison result can be easily understood.

【0039】また、前記データ比較手段による比較結果
を表示する表示手段を更に具備するようにできる。この
場合、前記表示手段に前記比較結果で不一致となったデ
ータを表示することができる。
Further, the apparatus may further include display means for displaying a result of comparison by the data comparing means. In this case, it is possible to display, on the display means, the data that did not match as a result of the comparison.

【0040】また、前記データ比較手段による比較結果
を記録する記録手段を更に具備するようにできる。この
場合、前記記録手段に前記比較結果で不一致となったデ
ータを記録することができる。
[0040] Further, a recording means for recording the result of comparison by the data comparing means may be further provided. In this case, it is possible to record, on the recording unit, the data that does not match as a result of the comparison.

【0041】また、前記各データファイルの内容がシリ
アル通信データである場合、前記シリアル通信データの
内容をバイト単位で比較するデータとビット単位で比較
するデータに分離するようにできる。これにより、シリ
アル通信データをバイト単位またはビット単位で比較す
ることができる。
When the content of each data file is serial communication data, the content of the serial communication data can be separated into data to be compared in byte units and data to be compared in bit units. Thereby, serial communication data can be compared in byte units or bit units.

【0042】この場合、前記バイト単位で比較する場
合、前記データの前後で前記比較を行うことができる。
これにより、通信データを再送する場合でも比較が可能
となり、好ましい。
In this case, when comparing in the byte unit, the comparison can be performed before and after the data.
This makes comparison possible even when retransmitting communication data, which is preferable.

【0043】また、前記ビット単位で比較する場合、前
記データからタイミングデータを作成し、このタイミン
グデータに基づいて前記比較を行うことができる。時間
チャートデータのようなタイミングデータにより比較が
可能となる。
When the comparison is performed on a bit basis, timing data can be created from the data, and the comparison can be performed based on the timing data. The comparison can be made by timing data such as time chart data.

【0044】また、本発明は、プログラムを実行する中
央処理装置部とこの中央処理装置部と接続された周辺部
とを有する被シミュレーション装置に対してシミュレー
ションを実行するシミュレーションシステムであって、
前記被シミュレーション装置からの入力信号または前記
シミュレーションシステムからの信号に基づいて前記中
央処理装置部または前記周辺部に疑似信号を出力してシ
ミュレーションを実行するシミュレーション実行手段
と、前記被シミュレーション装置からサンプリングした
前記入力信号または前記被シミュレーション装置の動作
データを生成する別のシステムからの生成データに基づ
いてシミュレーションデータと検証データとを作成する
ように各データの内容を設定し前記各データを作成する
データ作成設定手段とを具備する。
According to the present invention, there is provided a simulation system for executing a simulation on a device to be simulated having a central processing unit for executing a program and a peripheral unit connected to the central processing unit.
Simulation executing means for executing a simulation by outputting a pseudo signal to the central processing unit or the peripheral unit based on an input signal from the simulated device or a signal from the simulation system, and sampling from the simulated device Data creation for setting the contents of each data and creating each data so as to create simulation data and verification data based on the input signal or data generated from another system that generates operation data of the simulated device Setting means.

【0045】また、本発明は、プログラムを実行する中
央処理装置部とこの中央処理装置部と接続された周辺部
とを有する被シミュレーション装置に対してシミュレー
ションを実行するシミュレーションシステムであって、
前記被シミュレーション装置からの入力信号または前記
シミュレーションシステムからの信号に基づいて前記中
央処理装置部または前記周辺部に疑似信号を出力してシ
ミュレーションを実行するシミュレーション実行手段
と、前記被シミュレーション装置からサンプリングした
前記入力信号または前記被シミュレーション装置の動作
データを生成する別のシステムからの生成データに基づ
いてシミュレーションデータと検証データとを作成する
ように各データの内容を設定し前記各データを作成する
データ作成設定手段と、シミュレーションを実行しその
結果データを取得し、この取得した結果データと前記検
証データとを比較し検証する比較手段とを具備する。
The present invention is also a simulation system for executing a simulation on a device to be simulated having a central processing unit for executing a program and a peripheral unit connected to the central processing unit,
Simulation executing means for executing a simulation by outputting a pseudo signal to the central processing unit or the peripheral unit based on an input signal from the simulated device or a signal from the simulation system, and sampling from the simulated device Data creation for setting the contents of each data and creating each data so as to create simulation data and verification data based on the input signal or data generated from another system that generates operation data of the simulated device A setting unit; and a comparison unit configured to execute a simulation to obtain result data, compare the obtained result data with the verification data, and perform verification.

【0046】この場合、前記結果データは、前記シミュ
レーションシステムにおいて実行したシミュレーション
のデータまたは他のコンピュータシステムに仮想的に構
築した機器において実行したシミュレーションのデータ
であることが好ましい。
In this case, it is preferable that the result data is data of a simulation executed in the simulation system or data of a simulation executed in a device virtually constructed in another computer system.

【0047】また、本発明は、プログラムを実行する中
央処理装置部とこの中央処理装置部と接続された周辺部
とを有する被シミュレーション装置に対してシミュレー
ションを実行するシミュレーションシステムであって、
前記被シミュレーション装置からの入力信号または前記
シミュレーションシステムからの信号に基づいて前記中
央処理装置部または前記周辺部に疑似信号を出力してシ
ミュレーションを実行するシミュレーション実行手段
と、前記比較手段の比較検証結果に基づいて前記被シュ
ミュレーション装置またはまたは他のコンピュータシス
テムに仮想的に構築した機器についてリセットを行うリ
セット手段とを具備する。
Further, the present invention is a simulation system for executing a simulation on a device to be simulated having a central processing unit for executing a program and a peripheral unit connected to the central processing unit,
Simulation execution means for executing a simulation by outputting a pseudo signal to the central processing unit or the peripheral part based on an input signal from the simulated device or a signal from the simulation system, and a comparison verification result of the comparison means Reset means for resetting the device to be virtually built in the simulated device or another computer system based on the above.

【0048】また、前記シミュレーションは、プログラ
ムを実行する中央処理装置部とこの中央処理装置部と接
続された周辺部とを有する被シミュレーション装置に対
してまたは他のコンピュータシステムに仮想的に構築し
た被シミュレーション装置に対して実行されるようにで
きる。
The simulation may be performed on a device to be simulated having a central processing unit for executing a program and a peripheral unit connected to the central processing unit, or on a computer virtually constructed in another computer system. It can be executed for a simulation device.

【0049】また、前記第1のデータファイルはシミュ
レーションを実行したシミュレーション結果のデータフ
ァイルであり、前記第2のデータファイルは前記シミュ
レーション結果を検証するための検証データファイルで
あることが好ましい。
It is preferable that the first data file is a data file of a simulation result obtained by executing a simulation, and the second data file is a verification data file for verifying the simulation result.

【0050】また、本発明のシミュレーション方法は、
シミュレーションの結果に関する第1のデータファイル
とシミュレーションの検証に関する第2のデータファイ
ルとを指定する第1の指定ステップと、前記指定された
第1のデータファイルの内容と第2のデータファイルの
内容とを比較する比較条件を指定する第2の指定ステッ
プとを含み、前記第1の指定ステップで指定された前記
第1のデータファイルの内容と前記第2のデータファイ
ルの内容とを前記第2の指定ステップで指定した比較条
件で比較を行う。
Also, the simulation method of the present invention
A first specifying step of specifying a first data file relating to a result of the simulation and a second data file relating to verification of the simulation; and contents of the specified first data file and contents of the second data file. And a second specifying step of specifying a comparison condition for comparing the contents of the first data file and the contents of the second data file specified in the first specifying step. Performs comparison under the comparison conditions specified in the specified step.

【0051】このシミュレーション方法によれば、シミ
ュレーションの結果に関する第1のデータファイルとシ
ミュレーションの検証に関する第2のデータファイルと
を指定した比較条件で比較を行うから、シミュレーショ
ンの結果を容易に検証できる。
According to this simulation method, the first data file relating to the simulation result and the second data file relating to the simulation verification are compared under the specified comparison condition, so that the simulation result can be easily verified.

【0052】この場合、前記シミュレーションは、プロ
グラムを実行する中央処理装置部とこの中央処理装置部
と接続された周辺部とを有する被シミュレーション装置
に対してまたは他のコンピュータシステムに仮想的に構
築した被シミュレーション装置に対して実行されるよう
にできる。
In this case, the simulation is virtually constructed on a device to be simulated having a central processing unit for executing a program and a peripheral unit connected to the central processing unit, or in another computer system. It can be executed for the device to be simulated.

【0053】また、前記第1のデータファイルはシミュ
レーションを実行したシミュレーション結果のデータフ
ァイルであり、前記第2のデータファイルは前記シミュ
レーション結果を検証するための検証データファイルで
あることが好ましい。
It is preferable that the first data file is a data file of a simulation result obtained by executing a simulation, and the second data file is a verification data file for verifying the simulation result.

【0054】また、本発明の記録媒体は、シミュレーシ
ョンの結果に関する第1のデータファイルとシミュレー
ションの検証に関する第2のデータファイルとを指定す
る第1の指定ステップと、前記指定された第1のデータ
ファイルの内容と第2のデータファイルの内容とを比較
する比較条件を指定する第2の指定ステップとを含み、
前記第1の指定ステップで指定された前記第1のデータ
ファイルの内容と前記第2のデータファイルの内容とを
前記第2の指定ステップで指定した比較条件で比較を行
うシミュレーション方法を実行するプログラムを記憶し
たものである。この記録媒体により、上述のシミュレー
ション方法を実行することができる。
Further, the recording medium of the present invention has a first specifying step of specifying a first data file relating to a result of a simulation and a second data file relating to verification of a simulation; A second specifying step of specifying a comparison condition for comparing the contents of the file with the contents of the second data file,
A program for executing a simulation method for comparing the contents of the first data file and the contents of the second data file specified in the first specifying step with the comparison conditions specified in the second specifying step Is stored. With this recording medium, the above-described simulation method can be executed.

【0055】この場合、前記シミュレーションは、プロ
グラムを実行する中央処理装置部とこの中央処理装置部
と接続された周辺部とを有する被シミュレーション装置
に対してまたは他のコンピュータシステムに仮想的に構
築した被シミュレーション装置に対して実行されるよう
にできる。
In this case, the simulation is virtually constructed on a device to be simulated having a central processing unit for executing a program and a peripheral unit connected to the central processing unit, or in another computer system. It can be executed for the device to be simulated.

【0056】また、前記第1のデータファイルはシミュ
レーションを実行したシミュレーション結果のデータフ
ァイルであり、前記第2のデータファイルは前記シミュ
レーション結果を検証するための検証データファイルで
あることが好ましい。
It is preferable that the first data file is a data file of a simulation result obtained by executing a simulation, and the second data file is a verification data file for verifying the simulation result.

【0057】[0057]

【発明の実施の形態】以下、本発明による実施の形態に
ついて図面を用いて説明する。図1は本実施の形態を示
すブロック図である。図1のシミュレーションシステム
10は、被シミュレーション装置1に対して疑似信号を
出力して被シミュレーション装置1の動作確認を行うよ
うに構成したものである。この被シミュレーション装置
1は、所定のプログラムを有しそのプログラムを実行す
るCPU等から構成される中央処理装置部2と、例えば
センサ等を含み種々の情報を検知する読込系としての第
1の周辺部3と、この検知情報に基づく中央処理装置部
2からの指示に従い種々の動作を行う例えばモータ等を
含む出力系としての第2の周辺部4とを有する。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the present embodiment. The simulation system 10 of FIG. 1 is configured to output a pseudo signal to the simulated device 1 to check the operation of the simulated device 1. The simulated device 1 has a central processing unit 2 having a predetermined program and a CPU or the like executing the program, and a first peripheral as a reading system including a sensor or the like and detecting various information. It has a unit 3 and a second peripheral unit 4 as an output system including, for example, a motor that performs various operations in accordance with instructions from the central processing unit 2 based on the detection information.

【0058】第1の周辺部3は複数のセンサ等を備えて
よく、第2の周辺部4はモータ、ソレノイド、LED等
をそれぞれ備えてよい。なお、被シミュレーション装置
の周辺部として、中央処理装置部2と電気的に接続され
た他の装置内のCPU等であってもよい。また、被シミ
ュレーション装置で中央処理装置部のみとなった状態
(周辺部がない状態)でもシミュレーションは可能であ
る。更に、中央処理装置部が読み込み系周辺部と出力系
周辺部とを兼ね備えたものであってもよい。
The first peripheral portion 3 may include a plurality of sensors and the like, and the second peripheral portion 4 may include a motor, a solenoid, an LED, and the like. Note that a CPU or the like in another device electrically connected to the central processing unit 2 may be used as a peripheral portion of the device to be simulated. Further, the simulation can be performed even in a state where only the central processing unit is included in the device to be simulated (a state where there is no peripheral portion). Further, the central processing unit may have both a reading system peripheral unit and an output system peripheral unit.

【0059】シミュレーションシステム10は、被シミ
ュレーション装置1の第1の周辺部3から信号が入力さ
れ中央処理装置部2及び第2の周辺部4に対し疑似信号
を出力するパーソナルコンピュータ(PC)等から構成
されるシミュレーション実行手段としての情報処理装置
11を備える。
The simulation system 10 is provided from a personal computer (PC) or the like which receives a signal from the first peripheral unit 3 of the simulated device 1 and outputs a pseudo signal to the central processing unit 2 and the second peripheral unit 4. An information processing apparatus 11 is provided as configured simulation execution means.

【0060】情報処理装置11は、被シミュレーション
装置1の第1及び第2の周辺部3,4と接続され所定の
信号が入力する信号入力部12と、基準クロック信号を
出力するクロック信号発生部13と、信号入力部12か
らの信号に基づいて基準クロック信号によりタイミング
をとられてシミュレーションのための疑似信号を出力す
る疑似信号出力部15と、信号入力部12から入力され
た信号やシミュレーション結果やその他の必要な情報を
記憶するハードディスクやRAM等の記憶装置9とを備
える。信号入力部12には、周辺部3,4からの信号、
疑似信号出力部15から出力された信号が入力される。
クロック信号発生部13からの基準信号は、疑似信号出
力部15において疑似信号の出力タイミングの基準とし
て用いられることに加えて、信号入力部12において信
号の入力タイミングの基準として用いることができる。
The information processing apparatus 11 includes a signal input section 12 connected to the first and second peripheral sections 3 and 4 of the simulated apparatus 1 for inputting a predetermined signal, and a clock signal generating section for outputting a reference clock signal. 13, a pseudo signal output unit 15 for outputting a pseudo signal for simulation at a timing based on a reference clock signal based on a signal from the signal input unit 12, a signal input from the signal input unit 12, and a simulation result. And a storage device 9 such as a hard disk or a RAM for storing necessary information. The signal input unit 12 receives signals from the peripheral units 3 and 4,
The signal output from the pseudo signal output unit 15 is input.
The reference signal from the clock signal generator 13 can be used as a reference for the signal input timing in the signal input unit 12 in addition to being used as a reference for the output timing of the pseudo signal in the pseudo signal output unit 15.

【0061】信号入力部12及び疑似信号出力部15
は、それぞれ複数の周辺部に対応して複数備えてよい。
また、情報処理装置11はデータの収集(サンプリン
グ)時に一定条件になったらトリガすることにより、デ
ータを収集するトリガ機能を有する。なお、記憶装置9
としてフロッピディスク等の磁気記録媒体や光ディスク
等の光記録媒体を用いてもよく、情報処理装置11にこ
れらの記録媒体の駆動部を備えることができる。
The signal input unit 12 and the pseudo signal output unit 15
May be provided in plurality corresponding to the plurality of peripheral portions, respectively.
Further, the information processing apparatus 11 has a trigger function of collecting data by triggering when certain conditions are met during data collection (sampling). The storage device 9
For example, a magnetic recording medium such as a floppy disk or an optical recording medium such as an optical disk may be used, and the information processing apparatus 11 can include a drive unit for these recording media.

【0062】また、情報処理装置11は、信号入力部1
2における入力信号のサンプリングの開始及び疑似信号
出力部15におけるシミュレーションのための疑似信号
の出力の開始等をモニタし決定する監視装置41と、こ
の監視装置41における決定の条件を設定する入力手段
等からなる設定装置42と、監視装置41等のためのデ
ータやシミュレーション結果やその他の必要な情報を表
示できる表示装置43とを更に備える。
Further, the information processing apparatus 11 includes the signal input unit 1
A monitoring device 41 for monitoring and determining the start of sampling of the input signal in 2 and the start of output of a pseudo signal for simulation in the pseudo signal output section 15; input means for setting conditions for determination in the monitoring device 41; And a display device 43 that can display data, simulation results, and other necessary information for the monitoring device 41 and the like.

【0063】また、設定装置42では、信号入力部12
でサンプリングした入力信号等に基づいてシミュレーシ
ョンのためのシュミレーションデータと、そのデータに
より実行されたシミュレーション結果が正しいか検証す
る検証データとを作成するように各データの内容を設定
することができる。シミュレーションデータと、それに
対応する検証データとはそれぞれ複数設定することがで
きる。シミュレーションデータとは、疑似信号出力部1
5から出力する疑似信号のデータである。
In the setting device 42, the signal input unit 12
The contents of each data can be set so as to create simulation data for simulation based on the input signal and the like sampled in the above, and verification data for verifying whether a simulation result executed by the data is correct. A plurality of simulation data and a plurality of verification data corresponding to the simulation data can be set. The simulation data is the pseudo signal output unit 1
5 is the data of the pseudo signal output from 5.

【0064】更に、図1に示すように、シミュレーショ
ンシステム10は、シミュレーションを実行してそのシ
ミュレーションの結果をデータとして取得し、この取得
した結果データと検証データとを比較し検証する比較手
段53と、この比較手段53の比較検証結果により被シ
ミュレーション装置1に対しリセットを実行するリセッ
ト手段54とを備える。
Further, as shown in FIG. 1, the simulation system 10 executes a simulation, obtains the result of the simulation as data, compares the obtained result data with the verification data, and verifies the data. A reset unit 54 for executing a reset on the simulated device 1 based on the comparison and verification result of the comparison unit 53.

【0065】リセット手段54は、被シミュレーション
装置1の電源をOFF・ONし、周辺部3,4の電源を
OFF・ONし、また被シミュレーション装置1の中央
処理装置部2にリセット信号を送るようになっている。
この場合、リセット手段54から被シミュレーション装
置1に対しリセット信号を出力する。また、比較手段5
3の比較検証結果に基づいて不具合があると判断された
被シミュレーション装置1の各部分2,3または4につ
いてリセット手段54が機能するように構成してもよ
い。更に、比較検証結果によらずとも、リセットを実行
できるように構成してもよく、例えば1つのシミュレー
ションデータによるシミュレーションが終了し、次のシ
ミュレーションに移る際に、そのシミュレーションの結
果に拘わらず、リセットが常に実行されるようにしても
よい。
The reset means 54 turns off and on the power of the simulated device 1, turns off and on the power of the peripheral units 3 and 4, and sends a reset signal to the central processing unit 2 of the simulated device 1. It has become.
In this case, a reset signal is output from the reset means 54 to the device 1 to be simulated. Also, the comparison means 5
The reset means 54 may be configured to function for each part 2, 3 or 4 of the simulated device 1 which is determined to have a defect based on the comparison verification result of No. 3. Further, the configuration may be such that the reset can be executed without depending on the comparison verification result. For example, when the simulation using one simulation data is completed and the next simulation is performed, the reset is performed regardless of the result of the simulation. May always be executed.

【0066】また、リセット手段54は、被シュミレー
ション装置1のリセット時及びシミュレーション動作開
始時に、図1のシミュレーションシステムの一部を、例
えばシミュレーション実行手段である情報処理装置11
をリセットするようにしてもよい。
When resetting the simulation target device 1 and when starting the simulation operation, the reset means 54 executes a part of the simulation system shown in FIG.
May be reset.

【0067】シミュレーションシステム10は、更に、
シミュレーションのためのシミュレーションデータを複
数設定し各シミュレーションデータにそれぞれ対応する
検証データを複数設定するシミュレーションデータ設定
手段55と、シミュレーションの実行のために必要なデ
ータ(シミュレーションデータ、検証データ等)の内容
が正しいことを検証するデータ検証手段56と、設定さ
れた複数のシミュレーションデータとこれらにそれぞれ
対応して設定された複数の検証データとに基づいて例え
ばシミュレーション開始からシミュレーション実行の終
了までのシミュレーション時間を判定し、このシミュレ
ーション時間をシミュレーションデータ設定手段55に
設定することのできる時間情報判定手段57と、シミュ
レーションの終了を判定しシミュレーションの実行を終
了させる終了判定手段58と、ミュレーション実行の中
断または停止のための中断停止情報を終了判定手段58
に送る中断・停止手段59とを備える。時間情報判定手
段57で判定されるシミュレーション時間は、シミュレ
ーションデータ及び検証データの中で最大の時間、この
最大の時間に一定の時間を加えた時間、上記最大の時間
に所定の時間を加えた時間など、様々である。中断・停
止手段59は、時間情報判定手段57の判定に基づいて
シミュレーション動作を終了させるようにも機能する。
The simulation system 10 further includes:
Simulation data setting means 55 for setting a plurality of simulation data for simulation and setting a plurality of verification data corresponding to each simulation data, and contents of data (simulation data, verification data, etc.) necessary for executing the simulation. For example, the simulation time from the start of the simulation to the end of the simulation execution is determined based on the data verification means 56 for verifying correctness, and the plurality of set simulation data and the plurality of verification data set respectively corresponding thereto. A time information determining means 57 for setting the simulation time in the simulation data setting means 55; and an end determination for determining the end of the simulation and ending the execution of the simulation A stage 58, terminates the interruption stop information for interrupting or stopping the simulation execution determination means 58
And a suspending / stopping means 59 for sending to the user. The simulation time determined by the time information determination means 57 is a maximum time in the simulation data and the verification data, a time obtained by adding a predetermined time to the maximum time, and a time obtained by adding a predetermined time to the maximum time. And so on. The interruption / stop unit 59 also functions to end the simulation operation based on the determination by the time information determination unit 57.

【0068】また、終了判定手段58では、シミュレー
ションの実行の終了時間や疑似信号の出力の終了時間を
設定し、この設定した終了時間によりその終了を判定す
ることができる。
The termination determining means 58 can set the termination time of the execution of the simulation and the termination time of the output of the pseudo signal, and determine the termination based on the set termination time.

【0069】また、シミュレーションデータ設定手段5
5で設定され記憶手段9に記憶されここから送られるシ
ミュレーションデータに基づいて信号入力部12及び疑
似信号出力部15を所定の状態に設定するように構成で
きる。例えば、I/Oチャンネルの設定やシリアル通信
プロトコルの設定である。更に、上述のように、記憶手
段9に記憶されたシミュレーションデータに基づいて情
報処理装置11を初期化(リセット)するように構成で
きる。
The simulation data setting means 5
The signal input unit 12 and the pseudo signal output unit 15 can be set to a predetermined state based on the simulation data set in step 5 and stored in the storage unit 9 and transmitted from the storage unit 9. For example, I / O channel settings and serial communication protocol settings. Further, as described above, the information processing apparatus 11 can be configured to be initialized (reset) based on the simulation data stored in the storage unit 9.

【0070】更に、シミュレーションデータ設定手段5
5では、シミュレーションを実行したシミュレーション
結果の第1のデータファイルとシミュレーション結果を
検証するための第2のデータファイルとを指定する第1
の指定手段と、指定された第1のデータファイルの内容
と第2のデータファイルの内容とを比較する比較条件を
指定する第2の指定手段とを含み、比較手段53におい
てこの指定された比較条件で比較を行う。この比較条件
は時刻データ及びその許容値である。
Further, simulation data setting means 5
5, a first data file for designating a first data file of a simulation result of executing the simulation and a second data file for verifying the simulation result
And second designating means for designating a comparison condition for comparing the contents of the designated first data file and the contents of the second data file. Perform a comparison under conditions. This comparison condition is time data and its allowable value.

【0071】次に、図2により図1のシミュレーション
システム10を用いたシミュレーション方法の実行につ
いて説明する。まず、シミュレーションのための複数の
シミュレーションデータと、各シミュレーションデータ
にそれぞれ対応する複数の検証データとをシミュレーシ
ョンデータ設定手段55において設定する(S01)。
シミュレーションデータと検証データとは、被シミュレ
ーション装置1から信号入力部12でサンプリングした
データに基づいて設定装置42で設定することができ、
また、記憶装置9に記憶されたデータに基づいて設定す
ることができる。この信号入力部12でサンプリングす
る際には、監視手段41によるモニタにより、サンプリ
ング開始を決定するから、タイミングよくサンプリング
を開始することができる。
Next, the execution of the simulation method using the simulation system 10 of FIG. 1 will be described with reference to FIG. First, a plurality of simulation data for simulation and a plurality of verification data respectively corresponding to each simulation data are set by the simulation data setting means 55 (S01).
The simulation data and the verification data can be set by the setting device 42 based on data sampled by the signal input unit 12 from the simulated device 1,
Further, it can be set based on the data stored in the storage device 9. When sampling is performed by the signal input unit 12, the start of sampling is determined by monitoring by the monitoring unit 41, so that sampling can be started in a timely manner.

【0072】また、被シミュレーション装置1を正常に
動作させた際に、サンプリングを行い、このサンプリン
グで取得したデータから検証データを作成するととも
に、シミュレーションデータを生成するためのデータを
作成する。そして、このシミュレーションデータを生成
するためのデータの一部を修正し書き換えることによ
り、シミュレーションデータ(疑似信号)を作成する。
また、上述のシミュレーションデータを生成するための
データをシミュレーションデータとしてもよい。
Further, when the simulated device 1 is operated normally, sampling is performed, verification data is created from data obtained by the sampling, and data for creating simulation data is created. Then, a part of data for generating the simulation data is corrected and rewritten to generate simulation data (pseudo signal).
Further, data for generating the above-described simulation data may be used as the simulation data.

【0073】次に、複数のシミュレーションデータが設
定した順序で疑似信号出力部15から疑似信号として被
シミュレーション装置1に対し出力し、シミュレーショ
ンが行われるとともに、そのシミュレーションの結果デ
ータを取得する(S02)。この疑似信号出力部15か
ら疑似信号を出力する際に、監視手段41による監視に
より、疑似信号の出力が決定され、出力される。このよ
うにして監視手段41でモニタしながらタイミングよく
疑似信号を送ることができる。
Next, a plurality of simulation data are output as pseudo signals from the pseudo signal output unit 15 to the simulated device 1 in the set order, the simulation is performed, and the result data of the simulation is obtained (S02). . When the pseudo signal is output from the pseudo signal output unit 15, the output of the pseudo signal is determined and output by monitoring by the monitoring unit 41. In this way, a pseudo signal can be sent with good timing while being monitored by the monitoring means 41.

【0074】次に、比較手段53でシミュレーションの
結果データと検証データとを比較検証し、被シミュレー
ション装置1におけるシミュレーション動作が正しくそ
の結果データが正しいと判断されると(S03)、終了
判定手段58においてシミュレーションが終了したか否
かが判断され(S05)、次のシミュレーションデータ
がある場合等は、ステップS01に戻り同様のステップ
が繰り返される。
Next, the comparison means 53 compares and verifies the simulation result data with the verification data. If it is determined that the simulation operation in the simulated device 1 is correct and the result data is correct (S03), the end determination means 58 It is determined whether or not the simulation has been completed (S05), and if there is next simulation data, the process returns to step S01 and the same steps are repeated.

【0075】また、ステップS03において被シミュレ
ーション装置1におけるシミュレーション動作が正常で
なくその結果データが正しくないと判断されると、リセ
ット手段54からリセット信号が被シミュレーション装
置1に対し出力し、シミュレーションのため異常状態と
なった中央処理装置部2や周辺部3,4を正常な状態に
復帰させる(S04)。次に、ステップS05に移り、
シミュレーションが終了するか否かが判定される(S0
5)。この場合、シミュレーションを中断または停止す
る場合には、中断・停止手段59から中断停止情報を終
了判定手段58に送ることにより、シミュレーションの
中断または停止ができる。中断した場合は、その後にシ
ミュレーションを再開することができる。
If it is determined in step S03 that the simulation operation in the simulated device 1 is not normal and the result data is not correct, a reset signal is output from the reset means 54 to the simulated device 1 to execute the simulation. The central processing unit 2 and the peripheral units 3 and 4 in the abnormal state are returned to the normal state (S04). Next, the process proceeds to step S05,
It is determined whether or not the simulation ends (S0
5). In this case, when the simulation is interrupted or stopped, the interrupting / stopping unit 59 sends the interruption stop information to the end determining unit 58, so that the simulation can be interrupted or stopped. If interrupted, the simulation can be resumed afterwards.

【0076】なお、リセット手段54により被シミュレ
ーション装置1がリセットされた後、所定の信号(シリ
アル信号、デジタル信号)を所定のタイミングで被シミ
ュレーション装置1に与えることにより、被シミュレー
ション装置1を初期化してシミュレーション実行可能状
態に設定することができる。
After the simulated device 1 is reset by the reset means 54, the simulated device 1 is initialized by giving predetermined signals (serial signal, digital signal) to the simulated device 1 at a predetermined timing. Can be set to a simulation executable state.

【0077】また、上述の図2の各ステップを実行させ
るプログラムを記録媒体に記憶させておき、情報処理装
置11の記憶装置9の読取装置で記録媒体から読み取り
そのプログラムを実行させることができる。この場合、
記録媒体としては、各種の公知のものを使用でき、フロ
ッピディスク等の磁気記録媒体、CD等の光記録媒体、
光磁気記録媒体、ハードディスク(HDD)、RAM等
があるが、これらに限定されない。
A program for executing the above-described steps in FIG. 2 can be stored in a recording medium, and the reading device of the storage device 9 of the information processing apparatus 11 can read the program from the recording medium and execute the program. in this case,
Various known recording media can be used, such as a magnetic recording medium such as a floppy disk, an optical recording medium such as a CD,
Examples include, but are not limited to, magneto-optical recording media, hard disks (HDDs), and RAMs.

【0078】なお、シミュレーションデータと検証デー
タは、機器の動作データを生成する他のシステムからの
生成データに基づいて作成することもできる。この機器
の動作データを生成するシステムとしては、設計情報に
基づいて自動的に動作データを生成するシステムや、入
力(作成)されたタイミングチャートから動作データを
生成するシステム等がある。この入力されたタイミング
チャートから動作データを生成するシステムについて図
5により説明する。
Note that the simulation data and the verification data can also be created based on data generated from another system that generates operation data of the device. Examples of a system that generates operation data of the device include a system that automatically generates operation data based on design information and a system that generates operation data from an input (created) timing chart. A system for generating operation data from the input timing chart will be described with reference to FIG.

【0079】図5は、上述のようなシステムで複写機の
メインモータと給紙モータと給紙PSに関しファイルに
保存された下記の各動作タイミングのデータの時刻とデ
ータの変化を各タイミングチャート25,26,27上
で横軸を時間にして表示したものである。図5のよう
に、システムに入力された下記のようなタイミングチャ
ートデータから例えば時刻表示を変えて動作データを生
成することができる。
FIG. 5 is a timing chart 25 of the following operation timing data stored in a file for the main motor, paper feed motor, and paper feed PS of the copying machine in the above-described system. , 26, 27 with the horizontal axis representing time. As shown in FIG. 5, for example, operation data can be generated by changing the time display from the following timing chart data input to the system.

【0080】 メインモータ:−5,1,0,1,45,1 給紙モータ : 0,1,0,1,35,0,45,0 給紙PS : 0,0,5,1,30,0,45,0Main motor: -5, 1, 0, 1, 45, 1 Feeding motor: 0, 1, 0, 1, 35, 0, 45, 0 Feeding PS: 0, 0, 5, 1, 30 , 0,45,0

【0081】次に、図3により、図2のようにシミュレ
ーションを実行して被シミュレーション装置1の動作の
タイミングを記録し、この結果データを検証データと比
較手段53で比較するデータ比較について説明する。図
3(a)のように、例えば、シミュレーションを実行し
たシミュレーション結果の第1のデータファイルが、入
力データ1〜6として取得した場合、これらの入力デー
タ1〜6に対応して検証データ1〜6を設定装置42で
それぞれ設定してから、シミュレーションデータ設定手
段55の第1の指定手段で入力データ1,3,6を指定
し、これらを検証データ1,3,6と比較手段53で比
較検証する。
Next, referring to FIG. 3, a description will be given of a data comparison in which the simulation is executed as shown in FIG. 2, the operation timing of the simulated device 1 is recorded, and the result data is compared with the verification data by the comparison means 53. . As shown in FIG. 3A, for example, when a first data file of a simulation result obtained by executing a simulation is obtained as input data 1 to 6, verification data 1 to 6 corresponding to these input data 1 to 6 are obtained. 6 is set by the setting device 42, respectively, and the input data 1, 3, and 6 are specified by the first specifying means of the simulation data setting means 55, and these are compared with the verification data 1, 3, and 6 by the comparing means 53. Verify.

【0082】また、この比較の際に、シミュレーション
データ設定手段55の第2の指定手段で、時刻データの
許容値を指定し設定する。即ち、図2(b)のように、
結果データの入力データ1を検証データ1と比較すると
きに、結果データ1に関し時間の許容値−α,+αを設
定しておき、検証データ1の時刻t1で比較する場合、
結果データの時刻をt1±αの範囲内で対応させて比較
検証する。これにより、サンプリングのタイミングやシ
ミュレーションの開始のタイミングが僅かにずれた場合
でも、問題なく比較検証ができるので、好ましい。
At the time of this comparison, the second specifying means of the simulation data setting means 55 specifies and sets an allowable value of the time data. That is, as shown in FIG.
When comparing the input data 1 of the result data with the verification data 1, the allowable values -α and + α of the time are set for the result data 1 and the comparison is performed at the time t1 of the verification data 1.
The time of the result data is compared and verified within the range of t1 ± α. This is preferable because even if the timing of sampling or the start of simulation is slightly shifted, comparative verification can be performed without any problem.

【0083】また、被シミュレーション装置1側に中央
情報処理装置(CPU)が周辺部として別個に用いられ
ているような場合に、ビット単位の情報とバイト単位の
情報とが混在しているシリアル通信データをCPU間で
授受を行う場合を図4により説明する。図4(a)のよ
うに、シリアル通信データにビット単位の情報とバイト
単位の情報が混在している場合、バイト単位のデータと
ビット単位のデータとを例えば、図1の比較手段53に
より、図4(c)のビット単位の情報と図4(d)のバ
イト単位の情報とに分離することができる。そして、ビ
ット単位で作成されたデータb7〜b0は、図4(b)
のように各ビット毎にチャートデータを生成し検証デー
タと比較検証することができる。この場合、検証データ
の内、b4とb2を除いて比較検証するようにも設定で
きる。
In the case where a central information processing device (CPU) is separately used as a peripheral portion on the simulated device 1 side, serial communication in which bit-unit information and byte-unit information coexist. The case of exchanging data between CPUs will be described with reference to FIG. As shown in FIG. 4A, when bit information and byte information are mixed in the serial communication data, the byte data and the bit data are compared, for example, by the comparing means 53 of FIG. The information can be separated into bit-unit information of FIG. 4C and byte-unit information of FIG. 4D. The data b7 to b0 created in bit units are as shown in FIG.
As described above, chart data can be generated for each bit and compared with verification data. In this case, it can be set so that comparison verification is performed except for b4 and b2 in the verification data.

【0084】また、バイト単位のデータの場合、図4
(d)のように、バイト単位のデータで結果データと検
証データとを比較する場合、データの時間的な前後で比
較を行うことができる。これにより、通信データを再送
する場合でも比較が可能となる。
In the case of data in byte units, FIG.
As shown in (d), when comparing the result data with the verification data using data in byte units, the comparison can be performed before and after the data in time. As a result, comparison is possible even when retransmitting communication data.

【0085】なお、上述した各比較検証におけるデータ
(シミュレーション結果データ、検証データ等)が正し
いか否かを前もってデータ検証手段で検証することがで
き、これにより被シミュレーション装置1での異常動作
を未然に防止することができる。また、このような不具
合が検証の結果発見された場合、表示装置43に表示し
たり、記憶装置9に記憶したりすることができ、また、
そのような不具合のあるシミュレーションをスキップ
し、中止して次の別なシミュレーションを行うことがで
きる。
It is to be noted that the data (simulation result data, verification data, etc.) in each of the above-described comparative verifications can be verified in advance by data verification means, whereby abnormal operation in the simulated device 1 can be anticipated. Can be prevented. Further, when such a defect is found as a result of verification, it can be displayed on the display device 43 or stored in the storage device 9.
Such a defective simulation can be skipped, aborted, and another simulation performed next.

【0086】また、シミュレーションの結果データは、
図1のようなシミュレーションシステムからのデータだ
けでなく、実際の機械を使わずにコンピュータシステム
上に仮想的に作り上げた機械を被シミュレーション装置
としてシミュレーションを行うシステムからのデータで
あってもよい。
Further, the simulation result data is as follows:
In addition to the data from the simulation system as shown in FIG. 1, the data may be data from a system that performs simulation using a machine virtually created on a computer system without using an actual machine as a device to be simulated.

【0087】以上、本発明を実施の形態を参照して説明
してきたが、本発明は上記実施の形態に限定して解釈さ
れるべきではなく、適宜変更・改良が可能であることは
もちろんである。例えば、被シミュレーション装置は、
複数であってもよく、その種類は特に限定されない。
Although the present invention has been described with reference to the embodiments, it should be understood that the present invention should not be construed as being limited to the above embodiments, and that modifications and improvements can be made as appropriate. is there. For example, the device to be simulated
There may be more than one, and the type is not particularly limited.

【0088】[0088]

【発明の効果】本発明によれば、シミュレーションによ
り対象の機器が異常な動作をした場合でも、オペレータ
による特別な操作の必要なく被シミュレーション装置を
安全な状態に復帰できるようにしたシミュレーションシ
ステムを提供できる。
According to the present invention, there is provided a simulation system capable of returning a device to be simulated to a safe state without the need for a special operation by an operator even when a target device operates abnormally by simulation. it can.

【0089】また、複数のシミュレーションデータに対
してオペレータによる特別な操作の必要なく連続シミュ
レーションを実行できるようにしたシミュレーションシ
ステムを提供できる。
Further, it is possible to provide a simulation system capable of executing a continuous simulation for a plurality of simulation data without requiring a special operation by an operator.

【0090】また、シミュレーションの実行中に、必要
に応じてシミュレーションを中断・停止できるようにし
たシミュレーションシステムを提供できる。
Further, it is possible to provide a simulation system in which the simulation can be interrupted and stopped as needed during the execution of the simulation.

【0091】また、比較条件を設定し、その設定した比
較条件で比較しながらシミュレーションを実行できるよ
うにしたシミュレーションシステム、シミュレーション
方法及びこのシミュレーション方法を実行できるプログ
ラムを記憶させた記録媒体を提供できる。
Further, it is possible to provide a simulation system, a simulation method, and a recording medium in which a program capable of executing the simulation method is stored, in which a comparison condition is set, and a simulation can be executed while comparing under the set comparison condition.

【0092】また、バイト単位のデータとビット単位で
定義されたデータが混在しているシリアル通信のデータ
でもシミュレーションによる比較ができるシミュレーシ
ョンシステムを提供できる。
Further, it is possible to provide a simulation system capable of performing comparison by simulation even for serial communication data in which data in byte units and data defined in bit units are mixed.

【0093】更に、上記シミュレーションシステムにお
いて、被シミュレーション装置から信号をタイミングよ
くサンプリングし、また、被シミュレーション装置に対
しタイミングよくシミュレーションを行うことができる
シミュレーションシステムを提供できる。
Further, in the above-mentioned simulation system, it is possible to provide a simulation system capable of sampling a signal from the simulated device with good timing and performing a simulation with good timing on the simulated device.

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

【図1】本発明の実施の形態によるシミュレーションシ
ステムのブッロク図である。
FIG. 1 is a block diagram of a simulation system according to an embodiment of the present invention.

【図2】図1のシミュレーションシステムの基本的な動
作を説明するためのフローチャートである。
FIG. 2 is a flowchart for explaining a basic operation of the simulation system of FIG. 1;

【図3】図1のシミュレーションシステムにおいてシミ
ュレーション結果データと検証データとを比較検証する
場合の動作を説明するための図((a),(b))であ
る。
FIG. 3 is a diagram ((a), (b)) for explaining an operation in a case of comparing and verifying simulation result data and verification data in the simulation system of FIG. 1;

【図4】図1のシミュレーションシステムにおいてシリ
アル通信データでシミュレーション結果データと検証デ
ータとを比較検証する場合の動作を説明するための図
((a),(b),(c),(d))である。
FIG. 4 is a diagram (a), (b), (c), and (d) for explaining an operation when comparing and verifying simulation result data and verification data with serial communication data in the simulation system of FIG. 1; ).

【図5】本実施の形態において入力されたタイミングチ
ャートから動作データを生成するシステムを説明するた
めの図である。
FIG. 5 is a diagram for describing a system that generates operation data from a timing chart input in the present embodiment.

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

1 被シミュレーション装置 2 中央処理装置部、CPU 3 第1の周辺部(読込系) 4 第2の周辺部(出力系) 9 記憶装置(記憶手段) 10 シミュレーションシステ
ム 11 情報処理装置(シミュレ
ーション実行手段) 12 信号入力部 13 クロック信号発生部 15 疑似信号出力部 41 監視装置(監視手段) 42 設定装置(決定条件設定
手段、データ作成設定手段) 43 表示装置(表示手段) 53 比較手段 54 リセット手段 55 シミュレーションデータ
設定手段 56 データ検証手段 57 時間情報判定手段 58 終了判定手段 59 中断・停止手段
DESCRIPTION OF SYMBOLS 1 Device to be simulated 2 Central processing unit, CPU 3 1st peripheral part (reading system) 4 2nd peripheral part (output system) 9 Storage device (storage means) 10 Simulation system 11 Information processing device (simulation execution means) Reference Signs List 12 signal input unit 13 clock signal generation unit 15 pseudo signal output unit 41 monitoring device (monitoring unit) 42 setting device (decision condition setting unit, data creation setting unit) 43 display unit (display unit) 53 comparing unit 54 reset unit 55 simulation Data setting means 56 Data verification means 57 Time information judgment means 58 End judgment means 59 Interruption / stop means

Claims (40)

【特許請求の範囲】[Claims] 【請求項1】 プログラムを実行する中央処理装置部と
この中央処理装置部と接続された周辺部とを有する被シ
ミュレーション装置に対してシミュレーションを実行す
るシミュレーションシステムであって、 前記被シミュレーション装置からの入力信号または前記
シミュレーションシステムからの信号に基づいて前記中
央処理装置部または前記周辺部に疑似信号を出力してシ
ミュレーションを実行するシミュレーション実行手段
と、 前記入力信号のサンプリングの開始を決定するための監
視手段と、を具備するシミュレーションシステム。
1. A simulation system for executing a simulation on a device to be simulated having a central processing unit for executing a program and a peripheral unit connected to the central processing unit, comprising: Simulation executing means for executing a simulation by outputting a pseudo signal to the central processing unit or the peripheral unit based on an input signal or a signal from the simulation system; and monitoring for determining a start of sampling of the input signal A simulation system comprising:
【請求項2】 前記監視手段が前記疑似信号の出力開始
を決定する請求項1に記載のシミュレーションシステ
ム。
2. The simulation system according to claim 1, wherein said monitoring means determines the output start of said pseudo signal.
【請求項3】 プログラムを実行する中央処理装置部と
この中央処理装置部と接続された周辺部とを有する被シ
ミュレーション装置に対してシミュレーションを実行す
るシミュレーションシステムであって、 前記被シミュレーション装置からの入力信号または前記
シミュレーションシステムからの信号に基づいて前記中
央処理装置部または前記周辺部に疑似信号を出力してシ
ミュレーションを実行するシミュレーション実行手段
と、 前記疑似信号の出力開始を決定するための監視手段と、
を具備するシミュレーションシステム。
3. A simulation system for executing a simulation on a device to be simulated having a central processing unit for executing a program and a peripheral unit connected to the central processing unit, comprising: Simulation executing means for executing a simulation by outputting a pseudo signal to the central processing unit or the peripheral part based on an input signal or a signal from the simulation system, and a monitoring means for deciding to start outputting the pseudo signal When,
A simulation system comprising:
【請求項4】 前記監視手段に対し決定条件を設定する
ための決定条件設定手段を更に具備する請求項1,2ま
たは3に記載のシミュレーションシステム。
4. The simulation system according to claim 1, further comprising decision condition setting means for setting decision conditions for said monitoring means.
【請求項5】 前記被シミュレーション装置からサンプ
リングした前記入力信号に基づいてシミュレーションデ
ータと検証データとを作成するように各データの内容を
設定し前記各データを作成するデータ作成設定手段を更
に具備する請求項1,2,3または4に記載のシミュレ
ーションシステム。
5. A data creation setting means for setting contents of each data so as to create simulation data and verification data based on the input signal sampled from the simulated device and creating each data. The simulation system according to claim 1, 2, 3, or 4.
【請求項6】 前記シミュレーションデータに基づいて
実行したシミュレーションの結果データを取得し、この
取得した結果データと前記検証データとを比較し検証す
る比較手段を更に具備する請求項5に記載のシミュレー
ションシステム。
6. The simulation system according to claim 5, further comprising: comparing means for acquiring result data of a simulation executed based on the simulation data, comparing the acquired result data with the verification data, and performing verification. .
【請求項7】 前記比較手段の比較検証結果に基づいて
前記被シュミュレーション装置のリセットを行うリセッ
ト手段を更に具備する請求項6に記載のシミュレーショ
ンシステム。
7. The simulation system according to claim 6, further comprising: reset means for resetting the simulated device based on a comparison verification result of the comparison means.
【請求項8】 前記リセット手段は、前記被シミュレー
ション装置の電源をOFF・ONすること、前記周辺部
の電源をOFF・ONすること、及び前記被シミュレー
ション手段の中央処理装置部にリセット信号を送ること
のうちの少なくとも一つを行う請求項7に記載のシミュ
レーションシステム。
8. The resetting unit turns off / on the power of the simulated device, turns off / on the power of the peripheral unit, and sends a reset signal to a central processing unit of the simulated unit. The simulation system according to claim 7, wherein at least one of the following is performed.
【請求項9】 プログラムを実行する中央処理装置部と
この中央処理装置部と接続された周辺部とを有する被シ
ミュレーション装置に対してシミュレーションを実行す
るシミュレーションシステムであって、 前記中央処理装置部または前記周辺部に疑似信号を出力
してシミュレーションを実行するシミュレーション実行
手段と、 前記シミュレーションのためのシミュレーションデータ
を複数設定するとともに前記各シミュレーションデータ
に対応する検証データを設定するシミュレーションデー
タ設定手段と、を具備するシミュレーションシステム。
9. A simulation system for executing a simulation on a device to be simulated having a central processing unit for executing a program and a peripheral unit connected to the central processing unit, wherein the central processing unit or Simulation execution means for outputting a pseudo signal to the peripheral portion to execute a simulation, and simulation data setting means for setting a plurality of simulation data for the simulation and setting verification data corresponding to each of the simulation data. Simulation system equipped.
【請求項10】 前記設定された複数のシミュレーショ
ンデータとこれらにそれぞれ対応して設定された複数の
検証データとに基づいてシミュレーション実行に関する
時間情報を判定し、この時間情報を前記シミュレーショ
ンデータ設定手段に設定することのできる時間情報判定
手段を更に具備する請求項9に記載のシミュレーション
システム。
10. A time information relating to a simulation execution is determined based on the set simulation data and a plurality of verification data respectively set corresponding to the simulation data, and the time information is sent to the simulation data setting means. The simulation system according to claim 9, further comprising a time information determination unit that can be set.
【請求項11】 前記シミュレーションの実行のために
必要なデータの内容が正しいことを検証するデータ検証
手段を更に具備する請求項9または10に記載のシミュ
レーションシステム。
11. The simulation system according to claim 9, further comprising a data verification unit that verifies that contents of data necessary for executing the simulation are correct.
【請求項12】 前記データ検証手段により前記シミュ
レーションデータ及び前記検証データの少なくとも一方
に不具合があると判定されたときに、そのシミュレーシ
ョンの実行をスキップし、次のシミュレーションデータ
に基づいてシミュレーションを実行する請求項11に記
載のシミュレーションシステム。
12. When the data verification unit determines that at least one of the simulation data and the verification data has a defect, the execution of the simulation is skipped and the simulation is performed based on the next simulation data. The simulation system according to claim 11.
【請求項13】 前記データ検証手段により前記シミュ
レーションデータ及び前記検証データの少なくとも一方
に不具合があると判定されたときに、その不具合のデー
タを記録する記録手段または表示する表示手段を更に具
備する請求項11または12に記載のシミュレーション
システム。
13. When the data verification unit determines that at least one of the simulation data and the verification data has a defect, the data verification unit further includes a recording unit that records data of the defect or a display unit that displays the defect data. Item 13. The simulation system according to item 11 or 12.
【請求項14】 前記シミュレーションの終了を判定し
シミュレーションの実行を終了させる終了判定手段を更
に具備する請求項1〜13のいずれか1項に記載のシミ
ュレーションシステム。
14. The simulation system according to claim 1, further comprising an end determination unit that determines the end of the simulation and ends the execution of the simulation.
【請求項15】 前記時間情報判定手段で判定した時間
情報によりシミュレーション動作を終了する終了手段を
更に具備する請求項10に記載のシミュレーションシス
テム。
15. The simulation system according to claim 10, further comprising ending means for ending a simulation operation based on the time information determined by said time information determining means.
【請求項16】 前記シミュレーション実行の中断また
は停止のための中断停止情報を前記終了判定手段に送る
中断・停止手段を更に具備する請求項14に記載のシミ
ュレーションシステム。
16. The simulation system according to claim 14, further comprising an interruption / stop unit that sends interruption stop information for interrupting or stopping the simulation execution to the end determination unit.
【請求項17】 プログラムを実行する中央処理装置部
とこの中央処理装置部と接続された周辺部とを有する被
シミュレーション装置に対してシミュレーションを実行
するシミュレーションシステムであって、 前記中央処理装置部または前記周辺部に疑似信号を出力
してシミュレーションを実行するシミュレーション実行
手段と、 前記シミュレーションを実行したシミュレーション結果
の第1のデータファイルと前記シミュレーション結果を
検証するための第2のデータファイルとを指定する第1
の指定手段と、 前記指定された第1のデータファイルの内容と第2のデ
ータファイルの内容とを比較する比較条件を指定する第
2の指定手段と、 前記指定された比較条件で前記比較を行うデータ比較手
段と、を具備するシミュレーションシステム。
17. A simulation system for executing a simulation on a device to be simulated having a central processing unit for executing a program and a peripheral unit connected to the central processing unit, wherein the central processing unit or Simulation executing means for outputting a pseudo signal to the peripheral portion to execute a simulation; designating a first data file of a simulation result obtained by executing the simulation and a second data file for verifying the simulation result; First
Designation means, and second designation means for designating a comparison condition for comparing the content of the designated first data file with the content of the second data file; and performing the comparison under the designated comparison condition. A simulation system comprising:
【請求項18】 シミュレーションの結果に関する第1
のデータファイルとシミュレーションの検証に関する第
2のデータファイルとを指定する第1の指定手段と、 前記指定された第1のデータファイルの内容と第2のデ
ータファイルの内容とを比較する比較条件を指定する第
2の指定手段と、を具備し、 前記第1の指定手段で指定された前記第1のデータファ
イルの内容と前記第2のデータファイルの内容とを前記
第2の指定手段で指定した比較条件で比較を行うシミュ
レーションシステム。
18. A first method relating to a result of the simulation.
First designating means for designating a data file and a second data file related to simulation verification; and a comparison condition for comparing the content of the designated first data file with the content of the second data file. Second designating means for designating, wherein the contents of the first data file and the contents of the second data file designated by the first designating means are designated by the second designating means. Simulation system that performs comparisons under the set comparison conditions.
【請求項19】 前記比較条件が時刻データ及びその許
容値である請求項17または18に記載のシミュレーシ
ョンシステム。
19. The simulation system according to claim 17, wherein the comparison condition is time data and an allowable value thereof.
【請求項20】 前記第2の指定手段で指定された比較
条件の項目に対応して前記第1の指定手段で各データフ
ァイルの内容を指定する請求項17,18または19に
記載のシミュレーションシステム。
20. The simulation system according to claim 17, 18 or 19, wherein the content of each data file is designated by said first designation means in accordance with an item of a comparison condition designated by said second designation means. .
【請求項21】 前記データ比較手段が前記指定された
比較条件の項目に対応して比較を行う請求項20に記載
のシミュレーションシステム。
21. The simulation system according to claim 20, wherein said data comparison means performs a comparison in accordance with the designated comparison condition item.
【請求項22】 前記データ比較手段による比較結果を
表示する表示手段を更に具備する請求項17〜21のい
ずれか1項に記載のシミュレーションシステム。
22. The simulation system according to claim 17, further comprising display means for displaying a result of comparison by said data comparison means.
【請求項23】 前記データ比較手段による比較結果を
記録する記録手段を更に具備する請求項17〜22のい
ずれか1項に記載のシミュレーションシステム。
23. The simulation system according to claim 17, further comprising recording means for recording a comparison result by said data comparison means.
【請求項24】 前記表示手段に前記比較結果で不一致
となったデータを表示する請求項22に記載のシミュレ
ーションシステム。
24. The simulation system according to claim 22, wherein the display unit displays the data that did not match as a result of the comparison.
【請求項25】 前記記録手段に前記比較結果で不一致
となったデータを記録する請求項23に記載のシミュレ
ーションシステム。
25. The simulation system according to claim 23, wherein data that is inconsistent in the comparison result is recorded in the recording unit.
【請求項26】 前記各データファイルの内容がシリア
ル通信データである場合、前記シリアル通信データの内
容をバイト単位で比較するデータとビット単位で比較す
るデータに分離する請求項17〜25のいずれか1項に
記載のシミュレーションシステム。
26. When the content of each data file is serial communication data, the content of the serial communication data is separated into data to be compared in byte units and data to be compared in bit units. The simulation system according to claim 1.
【請求項27】 前記バイト単位で比較する場合、前記
データの前後で前記比較を行う請求項26に記載のシミ
ュレーションシステム。
27. The simulation system according to claim 26, wherein when comparing in the byte unit, the comparison is performed before and after the data.
【請求項28】 前記ビット単位で比較する場合、前記
データからタイミングデータを作成し、このタイミング
データに基づいて前記比較を行う請求項26記載のシミ
ュレーションシステム。
28. The simulation system according to claim 26, wherein in the case of performing the comparison in bit units, timing data is created from the data, and the comparison is performed based on the timing data.
【請求項29】 プログラムを実行する中央処理装置部
とこの中央処理装置部と接続された周辺部とを有する被
シミュレーション装置に対してシミュレーションを実行
するシミュレーションシステムであって、 前記被シミュレーション装置からの入力信号または前記
シミュレーションシステムからの信号に基づいて前記中
央処理装置部または前記周辺部に疑似信号を出力してシ
ミュレーションを実行するシミュレーション実行手段
と、 前記被シミュレーション装置からサンプリングした前記
入力信号または前記被シミュレーション装置の動作デー
タを生成する別のシステムからの生成データに基づいて
シミュレーションデータと検証データとを作成するよう
に各データの内容を設定し前記各データを作成するデー
タ作成設定手段と、を具備するシミュレーションシステ
ム。
29. A simulation system for executing a simulation on a device to be simulated having a central processing unit for executing a program and a peripheral unit connected to the central processing unit, comprising: Simulation execution means for executing a simulation by outputting a pseudo signal to the central processing unit or the peripheral unit based on an input signal or a signal from the simulation system; and the input signal or the input signal sampled from the device to be simulated. Data creation setting means for setting contents of each data so as to create simulation data and verification data based on data generated from another system for generating operation data of the simulation apparatus, and creating the data. You Simulation system.
【請求項30】 プログラムを実行する中央処理装置部
とこの中央処理装置部と接続された周辺部とを有する被
シミュレーション装置に対してシミュレーションを実行
するシミュレーションシステムであって、 前記被シミュレーション装置からの入力信号または前記
シミュレーションシステムからの信号に基づいて前記中
央処理装置部または前記周辺部に疑似信号を出力してシ
ミュレーションを実行するシミュレーション実行手段
と、 前記被シミュレーション装置からサンプリングした前記
入力信号または前記被シミュレーション装置の動作デー
タを生成する別のシステムからの生成データに基づいて
シミュレーションデータと検証データとを作成するよう
に各データの内容を設定し前記各データを作成するデー
タ作成設定手段と、 シミュレーションを実行しその結果データを取得し、こ
の取得した結果データと前記検証データとを比較し検証
する比較手段と、を具備するシミュレーションシステ
ム。
30. A simulation system for executing a simulation on a device to be simulated having a central processing unit for executing a program and a peripheral unit connected to the central processing unit, comprising: Simulation execution means for executing a simulation by outputting a pseudo signal to the central processing unit or the peripheral unit based on an input signal or a signal from the simulation system; and the input signal or the input signal sampled from the device to be simulated. Data creation setting means for setting the contents of each data so as to create simulation data and verification data based on data generated from another system for generating operation data of the simulation apparatus and creating each of the data; And a comparison unit that executes the application and obtains the result data, compares the obtained result data with the verification data, and performs verification.
【請求項31】 前記結果データは、前記シミュレーシ
ョンシステムにおいて実行したシミュレーションのデー
タまたは他のコンピュータシステムに仮想的に構築した
機器において実行したシミュレーションのデータである
請求項30に記載のシミュレーションシステム。
31. The simulation system according to claim 30, wherein the result data is data of a simulation executed in the simulation system or data of a simulation executed in a device virtually constructed in another computer system.
【請求項32】 プログラムを実行する中央処理装置部
とこの中央処理装置部と接続された周辺部とを有する被
シミュレーション装置に対してシミュレーションを実行
するシミュレーションシステムであって、 前記被シミュレーション装置からの入力信号または前記
シミュレーションシステムからの信号に基づいて前記中
央処理装置部または前記周辺部に疑似信号を出力してシ
ミュレーションを実行するシミュレーション実行手段
と、 前記比較手段の比較検証結果に基づいて前記被シュミュ
レーション装置またはまたは他のコンピュータシステム
に仮想的に構築した機器についてリセットを行うリセッ
ト手段と、を具備するシミュレーションシステム。
32. A simulation system for executing a simulation on a device to be simulated having a central processing unit for executing a program and a peripheral unit connected to the central processing unit, comprising: Simulation executing means for executing a simulation by outputting a pseudo signal to the central processing unit or the peripheral part based on an input signal or a signal from the simulation system; and the simulation target based on a comparison verification result of the comparing means. A resetting unit for resetting a device virtually constructed in a simulation device or another computer system.
【請求項33】 前記シミュレーションは、プログラム
を実行する中央処理装置部とこの中央処理装置部と接続
された周辺部とを有する被シミュレーション装置に対し
てまたは他のコンピュータシステムに仮想的に構築した
被シミュレーション装置に対して実行される請求項17
〜32のいずれか1項に記載のシミュレーションシステ
ム。
33. The simulation is performed on a device to be simulated having a central processing unit for executing a program and a peripheral unit connected to the central processing unit, or a device virtually constructed in another computer system. 18. The method according to claim 17, which is performed on a simulation device.
33. The simulation system according to any one of to 32.
【請求項34】 前記第1のデータファイルはシミュレ
ーションを実行したシミュレーション結果のデータファ
イルであり、前記第2のデータファイルは前記シミュレ
ーション結果を検証するための検証データファイルであ
る請求項18〜33のいずれか1項に記載のシミュレー
ションシステム。
34. The method according to claim 18, wherein the first data file is a data file of a simulation result obtained by executing a simulation, and the second data file is a verification data file for verifying the simulation result. The simulation system according to claim 1.
【請求項35】 シミュレーションの結果に関する第1
のデータファイルとシミュレーションの検証に関する第
2のデータファイルとを指定する第1の指定ステップ
と、 前記指定された第1のデータファイルの内容と第2のデ
ータファイルの内容とを比較する比較条件を指定する第
2の指定ステップと、を含み、 前記第1の指定ステップで指定された前記第1のデータ
ファイルの内容と前記第2のデータファイルの内容とを
前記第2の指定ステップで指定した比較条件で比較を行
うシミュレーション方法。
35. A first method relating to the result of the simulation.
A first designation step of designating a data file of the second data file and a second data file relating to simulation verification; and a comparison condition for comparing the content of the designated first data file with the content of the second data file. A second specifying step of specifying, wherein the contents of the first data file and the contents of the second data file specified in the first specifying step are specified in the second specifying step. Simulation method for performing comparisons under comparison conditions.
【請求項36】 前記シミュレーションは、プログラム
を実行する中央処理装置部とこの中央処理装置部と接続
された周辺部とを有する被シミュレーション装置に対し
てまたは他のコンピュータシステムに仮想的に構築した
被シミュレーション装置に対して実行される請求項35
に記載のシミュレーション方法。
36. The simulation is performed on a device to be simulated having a central processing unit for executing a program and a peripheral unit connected to the central processing unit, or a virtual system constructed on another computer system. 36. The method according to claim 35, performed on a simulation device.
The simulation method according to 1.
【請求項37】 前記第1のデータファイルはシミュレ
ーションを実行したシミュレーション結果のデータファ
イルであり、前記第2のデータファイルは前記シミュレ
ーション結果を検証するための検証データファイルであ
る請求項35または36に記載のシミュレーション方
法。
37. The method according to claim 35, wherein the first data file is a data file of a simulation result obtained by executing a simulation, and the second data file is a verification data file for verifying the simulation result. The described simulation method.
【請求項38】 シミュレーションの結果に関する第1
のデータファイルとシミュレーションの検証に関する第
2のデータファイルとを指定する第1の指定ステップ
と、 前記指定された第1のデータファイルの内容と第2のデ
ータファイルの内容とを比較する比較条件を指定する第
2の指定ステップと、を含み、 前記第1の指定ステップで指定された前記第1のデータ
ファイルの内容と前記第2のデータファイルの内容とを
前記第2の指定ステップで指定した比較条件で比較を行
うシミュレーション方法を実行するプログラムを記憶し
た記録媒体。
38. The first method according to the result of the simulation.
A first designation step of designating a data file of the second data file and a second data file relating to simulation verification; and a comparison condition for comparing the content of the designated first data file with the content of the second data file. A second specifying step of specifying, wherein the contents of the first data file and the contents of the second data file specified in the first specifying step are specified in the second specifying step. A recording medium storing a program for executing a simulation method for performing comparison under comparison conditions.
【請求項39】 前記シミュレーションは、プログラム
を実行する中央処理装置部とこの中央処理装置部と接続
された周辺部とを有する被シミュレーション装置に対し
てまたは他のコンピュータシステムに仮想的に構築した
被シミュレーション装置に対して実行される請求項38
に記載の記録媒体。
39. The simulation is performed for a device to be simulated having a central processing unit for executing a program and a peripheral unit connected to the central processing unit, or for a computer virtually constructed in another computer system. 39. The simulation is performed on a simulation device.
A recording medium according to claim 1.
【請求項40】 前記第1のデータファイルはシミュレ
ーションを実行したシミュレーション結果のデータファ
イルであり、前記第2のデータファイルは前記シミュレ
ーション結果を検証するための検証データファイルであ
る請求項38または39に記載の記録媒体。
40. The method according to claim 38, wherein the first data file is a data file of a simulation result obtained by executing a simulation, and the second data file is a verification data file for verifying the simulation result. The recording medium according to the above.
JP30219299A 1999-10-25 1999-10-25 Simulation system Expired - Fee Related JP3991531B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30219299A JP3991531B2 (en) 1999-10-25 1999-10-25 Simulation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30219299A JP3991531B2 (en) 1999-10-25 1999-10-25 Simulation system

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2006101563A Division JP2006221666A (en) 2006-04-03 2006-04-03 Simulation system, simulation method, and recording medium

Publications (2)

Publication Number Publication Date
JP2001125803A true JP2001125803A (en) 2001-05-11
JP3991531B2 JP3991531B2 (en) 2007-10-17

Family

ID=17906055

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30219299A Expired - Fee Related JP3991531B2 (en) 1999-10-25 1999-10-25 Simulation system

Country Status (1)

Country Link
JP (1) JP3991531B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104063298A (en) * 2014-07-02 2014-09-24 南通国芯微电子有限公司 Single-chip microcomputer simulation chip and single-chip microcomputer simulation method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104063298A (en) * 2014-07-02 2014-09-24 南通国芯微电子有限公司 Single-chip microcomputer simulation chip and single-chip microcomputer simulation method

Also Published As

Publication number Publication date
JP3991531B2 (en) 2007-10-17

Similar Documents

Publication Publication Date Title
JP3293760B2 (en) Computer system with tamper detection function
JP4859821B2 (en) Application program test program
WO2021169280A1 (en) Virtual disk check code generation method, apparatus and device, and storage medium
JP2002207612A (en) Log analyzing method and its execution device, and recording medium with recorded processing program thereof
US6378013B1 (en) System for assessing performance of computer systems
JPH10275093A (en) Program test support device
US20030037279A1 (en) HDD data backup and recovery method
JP2001125803A (en) Simulation system and simulation method and recording medium
JP2009075886A (en) Specification defect verification system, method thereof, and program
JP2989487B2 (en) Virus check system
TW201015296A (en) Method for auto-testing environment variable setting
JP2006221666A (en) Simulation system, simulation method, and recording medium
JP2002312205A (en) Saving processing method for access log information, saving processing device for the same and processing program for the same
US7027948B2 (en) Testing apparatus, method of controlling the same, and program for implementing the method
US20020054070A1 (en) Method and device for supporting production of moving-picture cd-rom software
CN112463438B (en) Configuration information generation method and device of storage product and readable storage medium
JP2003114834A (en) Usb device evaluation system
JPH11327967A (en) Log file analyzer
CN116225490B (en) Upgrading method and upgrading device of memory firmware, electronic equipment and medium
JPH11175383A (en) Data recording device
JP6907624B2 (en) Reproduction device, reproduction method and reproduction program
JP2002024055A (en) Computer system and operation reproducing method of application program
JP2004062425A (en) Communication terminal device
CN116524987A (en) RPMB test method, device, computer equipment and storage medium
JP2023072170A (en) Information processing device and method for controlling information processing device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051130

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060131

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060403

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070306

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070425

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20070606

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070703

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070716

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100803

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees