JPH05290119A - Function and logic simulator - Google Patents

Function and logic simulator

Info

Publication number
JPH05290119A
JPH05290119A JP4086803A JP8680392A JPH05290119A JP H05290119 A JPH05290119 A JP H05290119A JP 4086803 A JP4086803 A JP 4086803A JP 8680392 A JP8680392 A JP 8680392A JP H05290119 A JPH05290119 A JP H05290119A
Authority
JP
Japan
Prior art keywords
simulation
time
updating
execution
speed
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.)
Pending
Application number
JP4086803A
Other languages
Japanese (ja)
Inventor
Hisato Yoshida
久人 吉田
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP4086803A priority Critical patent/JPH05290119A/en
Publication of JPH05290119A publication Critical patent/JPH05290119A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide the function and logic simulator which is variable in simulation speed so that a state at each time displayed during the simulation can visually be confirmed. CONSTITUTION:A simulation time update control part 13 delays the update of time by a delay time found by a delay time calculation part 12 when the simulation time is updated so that the simulation is performed at a speed set by a simulation speed setting part 11.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は機能および論理シミュレ
ータに関する。
FIELD OF THE INVENTION This invention relates to functional and logic simulators.

【0002】[0002]

【従来の技術】従来の論理シミュレータとしては、例え
ば、1985年5月10日岩波書店発行による「岩波講
座マイクロエレクトロニクス4VLSIの設計II」の
第4章に記載されるものがあった。それらの構成図は図
6に示すとおりである。従来のシミュレータでは、ある
時刻のシミュレーションをシミュレーション実行部がシ
ミュレートした後、シミュレーション時刻更新部におい
て直ちにシミュレーション時刻が更新されていた。ま
た、シミュレーションの現状態および結果がシミュレー
ション実行部より現状態表示手段を用いて表示され、現
状態の表示の変化速度はシミュレータのシミュレーショ
ン速度、すなわち、シミュレーション実行部の処理速度
にのみ依存していた。従来のシミュレータではシミュレ
ーション精度を変えることにより、あるいは、内部の状
態を表示するか否かの条件を変えることによりにより、
シミュレータの速度を変えることが可能であったが、同
一精度、同一条件のもとではシミュレーション速度は一
定であり、変更できるものはなかった。
2. Description of the Related Art As a conventional logic simulator, for example, there is one described in Chapter 4 of "Iwanami Course Microelectronics 4VLSI Design II" issued by Iwanami Shoten on May 10, 1985. The configuration diagram thereof is as shown in FIG. In the conventional simulator, the simulation time is immediately updated in the simulation time updating unit after the simulation executing unit simulates the simulation at a certain time. Further, the current state and result of the simulation are displayed by the current state display means from the simulation executing section, and the changing speed of the display of the current state depends only on the simulation speed of the simulator, that is, the processing speed of the simulation executing section. .. In the conventional simulator, by changing the simulation accuracy, or by changing the condition to display the internal state,
It was possible to change the speed of the simulator, but under the same accuracy and under the same conditions, the simulation speed was constant and there was nothing that could be changed.

【0003】[0003]

【発明が解決しようとする課題】シミュレーション実行
中に現状態を表示することは、シミュレーション実行途
中に異常を発見できるため、異常がある場合にシミュレ
ーションを最後まで実施する必要がなく、システムの検
証および修正の工程を短時間で実施するために大変有効
な方法である。しかし、近年のシミュレーション速度の
高速化により、シミュレーションの対象となるシステム
によっては、変化する状態を表示画面上で目で確認する
ことが困難となってきた。しかし、従来のシミュレータ
では、シミュレーション速度は一定であるため、現状態
を途中で確認できないものについては最後までシミュレ
ーションを実行した上でシミュレーション結果全体を確
認しなければならなくなった。シミュレーション実行時
の状態の変化度合は、シミュレーションの対象となるシ
ステムにより異なるが、従来のシミュレータでは、シミ
ュレーション対象によってシミュレーション速度を変更
することが不可能であった。
Displaying the current state during the execution of the simulation makes it possible to detect an abnormality during the execution of the simulation. Therefore, when there is an abnormality, it is not necessary to perform the simulation to the end, and the system verification and This is a very effective method for carrying out the correction process in a short time. However, due to the increase in simulation speed in recent years, it has become difficult to visually confirm the changing state on the display screen depending on the system to be simulated. However, in the conventional simulator, since the simulation speed is constant, if the current state cannot be confirmed on the way, it is necessary to confirm the entire simulation result after executing the simulation to the end. The degree of change in the state during execution of the simulation differs depending on the system to be simulated, but in the conventional simulator, it was impossible to change the simulation speed depending on the simulation target.

【0004】従って本発明は、シミュレーションの対象
となるシステムによらず、常にシミュレーション実行中
の状態変化を目で確認することが可能となるように、シ
ミュレーションの対象となるシステムによってシミュレ
ーション速度を変更することが可能な機能および論理シ
ミュレータを提供することを目的とする。
Therefore, according to the present invention, the simulation speed is changed depending on the system to be simulated so that the state change during the simulation can always be visually confirmed regardless of the system to be simulated. It is an object of the present invention to provide a function and logic simulator capable of performing the above.

【0005】[0005]

【課題を解決するための手段】本発明は、上記課題を解
決するために、シミュレーション速度設定手段と、シミ
ュレーション実行時刻更新時の待ち時間計算手段と、シ
ミュレーション時刻更新手段と、シミュレーション時刻
更新実行制御手段と、シミュレーション実行手段と、シ
ミュレーション実行時刻における状態および結果の表示
手段を有し、シミュレーション実行時刻における状態お
よび結果の表示手段によりなされる表示の変化速度を遅
くするために、前記シミュレーション速度設定手段で設
定された処理速度に従って、前記待ち時間計算手段でシ
ミュレーション時刻の更新時に更新を遅らせる遅延時間
を求め、前記シミュレーション時刻更新手段がシミュレ
ーション時刻更新後、前記シミュレーション時刻更新実
行制御手段が前記遅延時間だけシミュレーション実行を
遅らせるものである。
In order to solve the above problems, the present invention provides a simulation speed setting means, a waiting time calculation means for updating a simulation execution time, a simulation time updating means, and a simulation time updating execution control. Means, a simulation executing means, and a display means for displaying the state and the result at the simulation executing time, and the simulation speed setting means for slowing down the changing speed of the display made by the displaying means for the state and the result at the simulation executing time. According to the processing speed set in step 1, the waiting time calculating means calculates a delay time for delaying the update at the time of updating the simulation time, and the simulation time updating means updates the simulation time, and then the simulation time update execution control means determines the delay time. It is intended to delay the simulation execution only extended time.

【0006】また、シミュレーション速度設定手段と、
シミュレーション実行時刻更新時の待ち時間計算手段
と、シミュレーション時刻更新手段と、シミュレーショ
ン時刻更新実行制御手段と、シミュレーション実行手段
と、シミュレーション実行時刻における状態および結果
の表示手段と、シミュレーション速度変更指定手段を有
し、シミュレーション実行時刻における状態および結果
の表示手段によりなされる表示の変化速度を遅くするた
めに、前記シミュレーション速度設定手段で設定された
処理速度に従って、前記待ち時間計算手段でシミュレー
ション時刻の更新時に更新を遅らせる遅延時間を求め、
前記シミュレーション時刻更新手段がシミュレーション
時刻更新後、前記シミュレーション時刻更新実行制御手
段が前記遅延時間だけシミュレーション実行を遅らせる
とともに、シミュレーション実行中に前記シミュレーシ
ョン速度変更手段によって指定された速度に従って、前
記待ち時間計算手段でシミュレーション時刻更新時の遅
延時間を再計算し、シミュレーション時刻が更新された
ときの前記シミュレーション時刻更新実行制御手段にお
けるシミュレーション実行の遅延時間を変更するもので
ある。
Also, a simulation speed setting means,
There is a waiting time calculation means for updating the simulation execution time, a simulation time updating means, a simulation time update execution control means, a simulation executing means, a status and result display means at the simulation execution time, and a simulation speed change designating means. However, in order to slow down the speed of change of the display made by the means for displaying the state and the result at the simulation execution time, the waiting time calculation means updates the simulation time when the simulation time is updated according to the processing speed set by the simulation speed setting means. The delay time to delay
After the simulation time updating means updates the simulation time, the simulation time updating execution control means delays the simulation execution by the delay time, and the waiting time calculating means according to the speed designated by the simulation speed changing means during the simulation execution. The delay time at the time of updating the simulation time is recalculated, and the delay time of the simulation execution in the simulation time update execution control means when the simulation time is updated is changed.

【0007】[0007]

【作用】本発明によれば、使用者がシミュレーション速
度設定手段でシミュレーション速度を設定することによ
り、シミュレーションに先立ち、シミュレーション実行
時刻更新時の待ち時間計算手段がシミュレーション時刻
の更新時にシミュレーションの実行を遅らせる遅延時間
を求め、シミュレーション時刻更新実行制御手段に伝え
る。シミュレーションの実行は、シミュレーション時刻
更新手段により、シミュレーション時刻が設定され、そ
の時刻についてシミュレーション実行手段に伝えること
により行われるが、その際、シミュレーション時刻更新
実行制御手段が前記遅延時間だけ前述のシミュレーショ
ン時刻の伝搬を遅らせるため、シミュレーション実行は
使用者が設定した時間に従って実施される。現状態表示
手段はシミュレーション実行手段の結果にしたがって表
示内容を変更するため、結果として、現状態表示手段に
よって表示される現状態の変化速度を使用者が設定した
速度にすることが可能である。
According to the present invention, the user sets the simulation speed by the simulation speed setting means, so that the waiting time calculation means at the time of updating the simulation execution time delays the execution of the simulation at the time of updating the simulation time prior to the simulation. The delay time is calculated and transmitted to the simulation time update execution control means. The simulation time is set by the simulation time updating means, and the simulation time is notified to the simulation executing means by the simulation time updating means. At that time, the simulation time updating execution control means changes the simulation time by the delay time. In order to delay the propagation, the simulation run is carried out according to the time set by the user. Since the current state display means changes the display content according to the result of the simulation execution means, as a result, the changing speed of the current state displayed by the current state display means can be set to the speed set by the user.

【0008】また、シミュレーション速度変更手段を用
いて、シミュレーション実行中にシミュレーション速度
を変更することにより、シミュレーション実行時刻更新
時の待ち時間計算手段がシミュレーション時刻の更新時
にシミュレーションの実行を遅らせる遅延時間を再計算
し、それをシミュレーション時刻更新実行制御手段に伝
える。それにより、シミュレーション実行中に、シミュ
レーション時刻の更新時の遅延時間が変更され、シミュ
レーション実行速度が変更される。その結果、現状態表
示手段によって表示される現状態の変化速度をシミュレ
ーション実行中に使用者が変更することが可能となる。
Further, the simulation speed changing means is used to change the simulation speed during the simulation so that the waiting time calculating means at the time of updating the simulation execution time re-sets the delay time delaying the execution of the simulation at the time of updating the simulation time. Calculate and notify the simulation time update execution control means. As a result, during the simulation execution, the delay time at the time of updating the simulation time is changed, and the simulation execution speed is changed. As a result, the user can change the changing speed of the current state displayed by the current state displaying means during the simulation.

【0009】[0009]

【実施例】【Example】

(実施例1)図1は本発明の第1の実施例によるシミュ
レータ構成図である。
(Embodiment 1) FIG. 1 is a simulator configuration diagram according to a first embodiment of the present invention.

【0010】同図に於て、11はシミュレーション速度
設定部であり、使用者が希望するシミュレーション速度
を設定する。12はシミュレーション実行時刻更新時に
おける遅延時間計算部であり、シミュレーション時刻更
新時に次のシミュレーション時刻に更新するまでの遅延
時間を計算する。13はシミュレーション時刻更新部で
あり、シミュレーション実行部が、あるシミュレーショ
ン時刻のシミュレーションを終了した後、次のシミュレ
ーション時刻を設定する。14はシミュレーション時刻
更新実行制御部であり、先に時刻更新時の待ち時間計算
部で計算された遅延値に基づき、次のシミュレーション
時刻をシミュレーション実行部に伝えるのを遅らせる。
15はシミュレーション実行部であり、シミュレーショ
ン時刻更新部により指定されたシミュレーション時刻の
シミュレーションを実施する。16は現状態表示部であ
り、シミュレーション実行部が計算した結果を受けて、
当該時刻のシミュレーションの結果を画面上に表示す
る。
In the figure, reference numeral 11 denotes a simulation speed setting unit, which sets the simulation speed desired by the user. Reference numeral 12 denotes a delay time calculation unit at the time of updating the simulation execution time, which calculates the delay time until updating to the next simulation time when updating the simulation time. A simulation time updating unit 13 sets the next simulation time after the simulation executing unit finishes the simulation at a certain simulation time. A simulation time update execution control unit 14 delays the transmission of the next simulation time to the simulation execution unit based on the delay value calculated by the waiting time calculation unit at the time update.
Reference numeral 15 denotes a simulation execution unit, which executes the simulation at the simulation time designated by the simulation time update unit. Reference numeral 16 is a current state display section, which receives the result calculated by the simulation execution section,
The result of the simulation at that time is displayed on the screen.

【0011】図3に示す状態遷移図で表されるシステム
をシミュレーションする場合を例に用いて本発明を具体
的に説明する。この状態遷移図における、S1、S2お
よびS3が本例であるシステムが取り得る状態を示し、
ある状態から他の状態への矢印付きの線が矢印の出た状
態から矢印が指す状態へ状態が遷移することを示す。ま
た、矢印線の側に書かれている分数は分子がその状態遷
移を起こすための入力を示し、分母が当該遷移を起こし
たとの出力を示す。例えば、現在システムがS1の状態
にあるとき、入力として1が与えられたならば、2を出
力して状態S2に遷移し、入力として2が与えられたな
らば、1を出力して状態S3に遷移し、入力として0が
与えられたならば、0を出力し状態はS1のままあるこ
とを示している。さて、このシステムが一時刻に一つの
入力を受け一回の遷移をするとし、シミュレーション実
行部がこの一回の遷移を0.01秒でシミュレートでき
るとすると、このシミュレータでは一秒間に100シミ
ュレーション時刻分のシミュレーションが可能である。
また、シミュレーション中の変化を確認するために現状
態表示部においてシミュレーション時刻、入力、出力お
よび現在の状態を図4に一表示例として示したように表
示させたとすると、それらの表示はシミュレーション時
刻の変化に連動するため同じく一秒間に100回変化す
ることになる。人が目でみて内容を確認できる為の変化
回数の限界を一秒間に一回とすると、本シミュレーショ
ンの状態を確認するためには、現状態表示部における表
示の変化を一秒間に一回以下に制限する必要がある。そ
こで、本発明のシミュレーション速度設定部において、
シミュレーション実行前に使用者が一秒に一時刻と設定
する。するとシミュレーション起動時にシミュレーショ
ン時刻更新時の遅延時間計算部は、シミュレーション実
行部の能力と設定されたシミュレーション速度から、遅
延時間を0.99秒と計算し、シミュレーション時刻更
新実行制御部に伝える。この結果、シミュレーション実
行中の各シミュレーション時刻更新時に、シミュレーシ
ョン時刻更新部により次のシミュレーション時刻が決定
された後、シミュレーション時刻更新実行制御部におい
て0.99秒間待ち、その後にシミュレーション実行部
に次のシミュレーション時刻を伝えシミュレーションの
実行を指示する。この間、現状態表示部は前の状態を保
持しており、その結果、現状態表示部の状態表示の変化
は一秒間に一回となる。
The present invention will be specifically described by taking as an example the case of simulating the system represented by the state transition diagram shown in FIG. In this state transition diagram, S1, S2 and S3 indicate states that the system of this example can take,
A line with an arrow from one state to another state indicates that the state transits from the state where the arrow appears to the state indicated by the arrow. In addition, the fraction written on the side of the arrow line indicates the input for the numerator to cause the state transition, and the output that the denominator has caused the transition. For example, when the system is currently in the S1 state, if 1 is given as an input, 2 is output and transitions to state S2. If 2 is given as an input, 1 is output and state S3 is entered. When 0 is given as an input, 0 is output, indicating that the state remains S1. Now, assuming that this system receives one input at one time and makes one transition, and the simulation execution unit can simulate this one transition in 0.01 seconds, this simulator will perform 100 simulations per second. It is possible to simulate the time.
Further, in order to confirm the change during the simulation, if the simulation time, the input, the output, and the current state are displayed in the current state display section as shown as one display example in FIG. Since it is linked to the change, it also changes 100 times per second. Assuming that the limit of the number of changes that allows humans to visually check the contents is once a second, in order to check the state of this simulation, the change of the display in the current state display section should be less than once a second. Need to be limited to. Therefore, in the simulation speed setting unit of the present invention,
The user sets one time per second before executing the simulation. Then, at the time of starting the simulation, the delay time calculation unit at the time of updating the simulation time calculates the delay time as 0.99 seconds from the capability of the simulation execution unit and the set simulation speed, and notifies the simulation time update execution control unit. As a result, at the time of updating each simulation time during execution of the simulation, after the next simulation time is determined by the simulation time update unit, the simulation time update execution control unit waits for 0.99 seconds, and then the simulation execution unit performs the next simulation. Tell the time and instruct the execution of the simulation. During this time, the current state display section holds the previous state, and as a result, the state display of the current state display section changes once per second.

【0012】(実施例2)図2は本発明の第2の実施例
によるシミュレータ構成図である。
(Embodiment 2) FIG. 2 is a simulator configuration diagram according to a second embodiment of the present invention.

【0013】同図に於て、21はシミュレーション速度
設定部であり、使用者が希望するシミュレーション速度
を設定する。22はシミュレーション実行時刻更新時に
おける遅延時間計算部であり、シミュレーション時刻更
新時に次のシミュレーション時刻に更新するまでの遅延
時間を計算する。23はシミュレーション時刻更新部で
あり、シミュレーション実行部があるシミュレーション
時刻のシミュレーションを終了した後、次のシミュレー
ション時刻を設定する。24はシミュレーション時刻更
新実行制御部であり、先に時刻更新時の待ち時間計算部
で計算された遅延値に基づき、次のシミュレーション時
刻をシミュレーション実行部に伝えるのを遅らせる。2
5はシミュレーション実行部であり、シミュレーション
時刻更新部により指定されたシミュレーション時刻のシ
ミュレーションを実施する。26は現状態表示部であ
り、シミュレーション実行部が計算した結果を受けて、
当該時刻のシミュレーションの結果を画面上に表示す
る。27はシミュレーション速度変更部であり、画面上
またはキー入力によりシミュレーション速度の変更を指
示するものである。
In FIG. 1, reference numeral 21 is a simulation speed setting unit for setting a simulation speed desired by the user. Reference numeral 22 denotes a delay time calculation unit at the time of updating the simulation execution time, which calculates the delay time until updating at the next simulation time when updating the simulation time. A simulation time updating unit 23 sets the next simulation time after the simulation executing unit finishes the simulation at a certain simulation time. A simulation time update execution control unit 24 delays transmission of the next simulation time to the simulation execution unit based on the delay value previously calculated by the waiting time calculation unit for time update. Two
Reference numeral 5 denotes a simulation execution unit, which executes the simulation at the simulation time designated by the simulation time update unit. 26 is a current state display section, which receives the result calculated by the simulation execution section,
The result of the simulation at that time is displayed on the screen. Reference numeral 27 is a simulation speed changing unit, which gives an instruction to change the simulation speed on the screen or by key input.

【0014】図3に示す状態遷移図で表されるシステム
をシミュレーションする場合を例に用いて本発明を具体
的に説明する。このシステムが一時刻に一つの入力を受
け一回の遷移をするとし、シミュレーション実行部がこ
の一回の遷移を0.01秒でシミュレートできるとする
と、このシミュレータでは一秒間に100シミュレーシ
ョン時刻分のシミュレーションが可能である。また、シ
ミュレーション中の変化を確認するために現状態表示部
においてシミュレーション時刻、入力、出力および現在
の状態を図4に一表示例として示したように表示させた
とすると、それらの表示はシミュレーション時刻の変化
に連動するため同じく一秒間に100回変化することに
なる。人が目でみて内容を確認できる為の変化回数の限
界を一秒間に一回とすると、本シミュレーションの状態
を確認するためには、現状態表示部における表示の変化
を一秒間に一回以下に制限する必要がある。また、シミ
ュレーションを行う上で使用者が目で確認する必要のあ
る部分が500シミュレーション以降であるとする。こ
のとき、使用者はまず本発明のシミュレーション速度設
定部において、シミュレーション実行前にシミュレーシ
ョン速度を最大速度と設定する。するとシミュレーショ
ン起動時にシミュレーション時刻更新時の遅延時間計算
部は、シミュレーション時刻変更時の遅延時間を0秒と
して、シミュレーション時刻更新実行制御部に伝える。
この結果、本シミュレータは開始時より各シミュレーシ
ョン時刻更新時に、シミュレーション時刻変更実行制御
部における遅延なしでシミュレーション実行部によるシ
ミュレーションが実行される。使用者は現状態表示部で
示されているシミュレーション時刻から500シミュレ
ーション時刻が近づいていることを確認すると、シミュ
レーション時刻変更部を用いてシミュレーション速度を
一秒に1シミュレーション時刻に低下させるようシミュ
レータに指示する。その指示に従い、シミュレーション
時刻更新時の遅延時間計算部は、シミュレーション時刻
変更時の遅延時間を0.99と計算し、この遅延時間を
シミュレーション時刻更新実行制御部に伝える。この結
果、シミュレーション実行中の各シミュレーション時刻
更新時に、シミュレーション時刻更新部により次のシミ
ュレーション時刻が決定された後、シミュレーション時
刻更新実行制御部において0.99秒間待ち、その後に
シミュレーション実行部に次のシミュレーション時刻を
伝えシミュレーションの実行を指示するようになる。こ
の結果、現状態表示部の状態表示の変化は一秒間に一回
に変更される。
The present invention will be described in detail by taking as an example the case of simulating the system represented by the state transition diagram shown in FIG. Assuming that this system receives one input at one time and makes one transition, and the simulation execution unit can simulate this one transition in 0.01 seconds, this simulator will generate 100 simulation time minutes per second. Can be simulated. Further, in order to confirm the change during the simulation, if the simulation time, the input, the output, and the current state are displayed in the current state display section as shown as one display example in FIG. Since it is linked to the change, it also changes 100 times per second. Assuming that the limit of the number of changes that allows humans to visually check the contents is once a second, in order to check the state of this simulation, the change of the display in the current state display section should be less than once a second. Need to be limited to. In addition, it is assumed that the portion that the user needs to visually confirm in performing the simulation is after 500 simulations. At this time, the user first sets the simulation speed to the maximum speed before executing the simulation in the simulation speed setting unit of the present invention. Then, at the time of starting the simulation, the delay time calculation unit at the time of updating the simulation time notifies the simulation time update execution control unit that the delay time at the time of changing the simulation time is 0 second.
As a result, the simulation is executed by the simulation executing unit without delay in the simulation time change execution control unit when each simulation time is updated from the start. When the user confirms that the simulation time is approaching 500 simulation time from the simulation time shown on the current state display section, the simulation time changing section is used to instruct the simulator to reduce the simulation speed to one simulation time per second. To do. According to the instruction, the delay time calculation unit at the time of updating the simulation time calculates the delay time at the time of changing the simulation time as 0.99, and notifies this delay time to the simulation time update execution control unit. As a result, at the time of updating each simulation time during execution of the simulation, after the simulation time updating unit determines the next simulation time, the simulation time updating execution control unit waits for 0.99 seconds, and then the simulation execution unit performs the next simulation. It will tell the time and give instructions to execute the simulation. As a result, the change in the status display of the current status display section is changed once per second.

【0015】シミュレーション速度変更部の実施例とし
ては、図5(a)に示すようなスライド式のスイッチを
用いてスライドさせることにより変更する方法や、図5
(b)に示すように車の変速機のようなものを用いて段
階的に変更させる方法がある。
As an example of the simulation speed changing unit, a method of changing the speed by sliding using a slide type switch as shown in FIG.
As shown in (b), there is a method of using a vehicle transmission such as a transmission to change the operation stepwise.

【0016】なお、本実施例では状態遷移図で書かれた
システムのシミュレーションを用いて説明したが、本発
明は機能記述言語で記述されたシステムの機能レベルシ
ミュレーションや論理回路で記述された回路に対する論
理レベルシミュレーションにおいて、信号線の状態を表
示させながら行うシミュレーションにも適用可能であ
る。
Although the present embodiment has been described by using the system simulation described by the state transition diagram, the present invention is applied to the function level simulation of the system described in the function description language and the circuit described in the logic circuit. In the logic level simulation, it can be applied to a simulation performed while displaying the state of the signal line.

【0017】[0017]

【発明の効果】以上、詳細に説明したように、本発明に
よれば、シミュレーションの速度を設定できることによ
り、シミュレーションの対象となる回路毎に、システム
変化していく状態を目で確認できる程度の速度に変更で
きる可能となり、その結果、全ての対象回路に対して、
実行中に各時刻のシミュレーション状態を逐次目で確認
することが可能となり、それにより、シミュレーション
に異常がある場合最後まで実行しなくても途中でその異
常を発見することが可能となり、その結果、設計時間の
短縮が可能となる。
As described above in detail, according to the present invention, the speed of simulation can be set so that the system changing state can be visually confirmed for each circuit to be simulated. It becomes possible to change to speed, and as a result, for all target circuits,
It becomes possible to check the simulation state at each time during execution one by one, and if there is an abnormality in the simulation, it is possible to discover the abnormality in the middle without executing it to the end. The design time can be shortened.

【0018】また、さらに、シミュレーション実行中に
一時的にシミュレーション速度を遅くすることが可能と
なることにより、シミュレーション中の必要な部分時間
のみを低速化することが可能となり、その結果、低速化
に伴うシミュレーション時間の長時間化を抑制すること
が可能となり、その結果、長時間を要するようなシミュ
レーションにおいても、途中状態を目で確認することに
よる効果を得ることが可能となり、その結果、設計時間
の短縮が可能となる。
Further, since it is possible to temporarily reduce the simulation speed during the execution of the simulation, it is possible to reduce only the necessary partial time during the simulation, and as a result, it is possible to reduce the speed. As a result, it is possible to suppress the simulation time from increasing, and as a result, even in a simulation that requires a long time, it is possible to obtain the effect of visually confirming the intermediate state. Can be shortened.

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

【図1】本発明の第1の実施例によるシミュレータ構成
FIG. 1 is a simulator configuration diagram according to a first embodiment of the present invention.

【図2】本発明の第2の実施例によるシミュレータ構成
FIG. 2 is a simulator configuration diagram according to a second embodiment of the present invention.

【図3】本発明の効果を示すための一例を示す状態遷移
FIG. 3 is a state transition diagram showing an example for showing the effect of the present invention.

【図4】本発明の効果を示すための一例を示す状態表示
の図
FIG. 4 is a state display diagram showing an example for showing the effect of the present invention.

【図5】本発明におけるシミュレーション速度変更部の
一例を示す図
FIG. 5 is a diagram showing an example of a simulation speed changing unit in the present invention.

【図6】従来システムの一例を示す構成図FIG. 6 is a configuration diagram showing an example of a conventional system.

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

11,21 シミュレーション速度設定部 12,22 シミュレーション時刻更新時の遅延時間計
算部 13,23 シミュレーション時刻更新部 14,24 シミュレーション時刻更新制御部 15,25 シミュレーション実行部 16,26 シミュレーション状態表示部 27 シミュレーション速度変更部
11,21 Simulation speed setting unit 12,22 Delay time calculation unit for updating simulation time 13,23 Simulation time updating unit 14,24 Simulation time updating control unit 15,25 Simulation executing unit 16,26 Simulation state display unit 27 Simulation speed Change part

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】シミュレーション速度設定手段と、シミュ
レーション実行時刻更新時の待ち時間計算手段と、シミ
ュレーション時刻更新手段と、シミュレーション時刻更
新実行制御手段と、シミュレーション実行手段と、シミ
ュレーション実行時刻における状態および結果の表示手
段を有し、シミュレーション実行時刻における状態およ
び結果の表示手段によりなされる表示の変化速度を遅く
するために、前記シミュレーション速度設定手段で設定
された処理速度に従って、前記待ち時間計算手段でシミ
ュレーション時刻の更新時に更新を遅らせる遅延時間を
求め、前記シミュレーション時刻更新手段がシミュレー
ション時刻更新後、前記シミュレーション時刻更新実行
制御手段が前記遅延時間だけシミュレーション実行を遅
らせることを特徴とする機能および論理シミュレータ。
1. A simulation speed setting means, a waiting time calculation means for updating a simulation execution time, a simulation time updating means, a simulation time updating execution control means, a simulation executing means, and a state and a result at a simulation execution time. In order to slow down the changing speed of the display made by the display means for displaying the state and the result at the simulation execution time, the waiting time calculating means calculates the simulation time in accordance with the processing speed set by the simulation speed setting means. A delay time for delaying the update at the time of updating, and the simulation time updating means delays the simulation execution by the delay time after the simulation time updating means updates the simulation time. Functions and logic simulator.
【請求項2】シミュレーション速度設定手段と、シミュ
レーション実行時刻更新時の待ち時間計算手段と、シミ
ュレーション時刻更新手段と、シミュレーション時刻更
新実行制御手段と、シミュレーション実行手段と、シミ
ュレーション実行時刻における状態および結果の表示手
段と、シミュレーション速度変更指定手段を有し、シミ
ュレーション実行時刻における状態および結果の表示手
段によりなされる表示の変化速度を遅くするために、前
記シミュレーション速度設定手段で設定された処理速度
に従って、前記待ち時間計算手段でシミュレーション時
刻の更新時に更新を遅らせる遅延時間を求め、前記シミ
ュレーション時刻更新手段がシミュレーション時刻更新
後、前記シミュレーション時刻更新実行制御手段が前記
遅延時間だけシミュレーション実行を遅らせ、更にシミ
ュレーション実行中に前記シミュレーション速度変更手
段によって指定された速度に従って、前記待ち時間計算
手段でシミュレーション時刻更新時の遅延時間を再計算
し、シミュレーション時刻が更新されたときの前記シミ
ュレーション時刻更新実行制御手段におけるシミュレー
ション実行の遅延時間を変更することを特徴とした機能
および論理シミュレータ。
2. A simulation speed setting means, a waiting time calculation means for updating the simulation execution time, a simulation time updating means, a simulation time update execution control means, a simulation executing means, and a state and a result at the simulation execution time. Display means and simulation speed change designating means, in order to slow down the speed of change of the display made by the state and result display means at the simulation execution time, according to the processing speed set by the simulation speed setting means, The waiting time calculation means obtains a delay time for delaying the update at the time of updating the simulation time, and after the simulation time update means updates the simulation time, the simulation time update execution control means makes the spots for the delay time. Delay the execution of the simulation and further recalculate the delay time at the time of updating the simulation time by the waiting time calculating means according to the speed designated by the simulation speed changing means during the simulation, and the simulation when the simulation time is updated. A function and logic simulator characterized by changing a delay time of simulation execution in time update execution control means.
JP4086803A 1992-04-08 1992-04-08 Function and logic simulator Pending JPH05290119A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4086803A JPH05290119A (en) 1992-04-08 1992-04-08 Function and logic simulator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4086803A JPH05290119A (en) 1992-04-08 1992-04-08 Function and logic simulator

Publications (1)

Publication Number Publication Date
JPH05290119A true JPH05290119A (en) 1993-11-05

Family

ID=13896963

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4086803A Pending JPH05290119A (en) 1992-04-08 1992-04-08 Function and logic simulator

Country Status (1)

Country Link
JP (1) JPH05290119A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007328548A (en) * 2006-06-07 2007-12-20 Canon Inc Simulator device, simulation method and computer program
US8296111B2 (en) 2008-10-16 2012-10-23 Fujitsu Ten Limited Simulation system and simulation method
JP2020157442A (en) * 2019-03-27 2020-10-01 株式会社国際電気通信基礎技術研究所 Simulation system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007328548A (en) * 2006-06-07 2007-12-20 Canon Inc Simulator device, simulation method and computer program
US8108192B2 (en) 2006-06-07 2012-01-31 Canon Kabushiki Kaisha Simulator apparatus and simulation method
US8296111B2 (en) 2008-10-16 2012-10-23 Fujitsu Ten Limited Simulation system and simulation method
JP2020157442A (en) * 2019-03-27 2020-10-01 株式会社国際電気通信基礎技術研究所 Simulation system

Similar Documents

Publication Publication Date Title
JPS61110071A (en) Simulation system and simulator for logical circuit
JPH05290119A (en) Function and logic simulator
KR960009118A (en) Integrated circuit simulator and integrated circuit simulation method
JPH06314311A (en) Logical simulation system
JP2861962B2 (en) Computer program simulation apparatus and method
JP2778547B2 (en) Digital signal processing circuit simulation device
JP3472067B2 (en) Design support equipment
JP2880827B2 (en) Power system training simulator
JPH0581368A (en) Mode verification method for bidirectional terminal in scan path
JPH11219209A (en) Offline simulation device of general purpose plc
JPH05108753A (en) Logical simulation system
JPS6091455A (en) Simulation system of logical circuit
JPH0474207A (en) Integrated circuit device
JP2605853B2 (en) Switch level simulation method
JPH04256177A (en) Logic simulation system
JPH0535817A (en) Simulation method
JP2000357181A (en) Cosimulator and cosimulation method
JPH04333171A (en) Device for simulation
JP2002334129A (en) System for displaying waveform of logical simulator
JPH06203091A (en) Logical simulator and control method therefor
JPH0628319A (en) Logical simulator
JP2000010813A (en) Simulation test system
JPH04320577A (en) Rough route determining processing system
JPS63262745A (en) Address forming circuit
JPH05334399A (en) Circuit arrangement correction system