JPH0478960A - Logical simulator unit time setting system - Google Patents
Logical simulator unit time setting systemInfo
- Publication number
- JPH0478960A JPH0478960A JP2192366A JP19236690A JPH0478960A JP H0478960 A JPH0478960 A JP H0478960A JP 2192366 A JP2192366 A JP 2192366A JP 19236690 A JP19236690 A JP 19236690A JP H0478960 A JPH0478960 A JP H0478960A
- Authority
- JP
- Japan
- Prior art keywords
- unit time
- time
- candidate
- minimum resolution
- delay
- 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
Links
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は論理シミュレータ単位時間設定方式、特にイベ
ントドリブン方式の論理シミュレータに適用される論理
シミュレータ単位時間設定方式に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a logic simulator unit time setting method, particularly to a logic simulator unit time setting method applied to an event-driven logic simulator.
従来、この種の論理シミュレータ単位時間設定方式は、
利用者からの単位時間指定指示を受けると単位時間規定
値を指示時間に置換える単位時間入力手段を有している
。即ち、単位時閉入力手段は利用者から単位時間指定指
示として指定値が入力されるまでは、予め定義されてい
る単位時間の規定値を単位時間として出方し、単位時間
指定指示として指示値が入力されると、指示値を単位時
間として出力するようになっている。Conventionally, this type of logic simulator unit time setting method is
It has a unit time input means which, upon receiving a unit time designation instruction from a user, replaces the specified unit time value with the specified time. That is, until a specified value is input by the user as a unit time designation instruction, the unit time close input means outputs the predefined value of the unit time as the unit time, and outputs the specified value as the unit time designation instruction. When input, the indicated value is output as a unit time.
上述した従来の論理シミュレータ単位時間設定方式は、
規定値あるいは利用者が指示した時間を単位時間とする
ので、単位時間が小さすぎるときはイベントの存在しな
い時刻が多くなり、シミュレーション時刻を進めるため
の無駄時間が大きくなり、シミュレーション速度が遅く
なったり、単位時間が大きすぎるときはシミュレーショ
ンの精度が粗くなったり、不要なアラームを検出したり
するという欠点がある。The conventional logic simulator unit time setting method described above is
Since the time specified by the default value or the time specified by the user is used as the unit time, if the unit time is too small, there will be many times when no events occur, increasing the wasted time to advance the simulation time, and slowing down the simulation speed. However, if the unit time is too large, the simulation accuracy may become poor or unnecessary alarms may be detected.
本発明の論理シミュレータ単位時間設定方式は、利用者
からの単位時間指定指示を受けて指示値を単位時間候補
1として出力する単位時間入力手段と、論理シミュレー
ションをする回路を構成する素子の遅延定義データから
遅延時間の最大公約数である最小分解能時間を単位時間
候補2として出力する遅延最小分解能時間決定手段と、
論理シミュレーションをする回路に外部から入力する信
号波が定義してある入力パタンデータのデータ値が変化
するまでの時間間隔の最大公約数である最小分解能時間
を単位時間候補3として出力する入力パタン最小分解能
時間決定手段と、前記単位時間候補1の出力があるとき
はその値を、単位時間候補1がないときは単位時間候補
2および3の最大公約数を単位時間として決定する単位
時間決定手段とを含むことにより構成される。The logic simulator unit time setting method of the present invention includes a unit time input means for receiving a unit time designation instruction from a user and outputting an instruction value as a unit time candidate 1, and delay definitions of elements constituting a circuit for logic simulation. Delay minimum resolution time determining means for outputting a minimum resolution time that is the greatest common divisor of delay times from the data as a unit time candidate 2;
Minimum input pattern that outputs the minimum resolution time, which is the greatest common divisor of the time interval until the data value of the input pattern data defined by the signal wave input from the outside to the circuit for logic simulation, changes as unit time candidate 3. resolution time determining means; and unit time determining means for determining the value of the unit time candidate 1 when there is an output, and determining the greatest common divisor of the unit time candidates 2 and 3 as the unit time when there is no unit time candidate 1. Constructed by including.
次に、本発明の実施例について図面を参照して説明する
。Next, embodiments of the present invention will be described with reference to the drawings.
第1図は本発明の一実施例を示すブロック図である。第
1図の実施例は利用者からの単位時間指定指示aを受け
て単位時間候補すを出力する単位時間入力手段1と、遅
延定義データfからその最小分解能時間を決定して単位
時間候補Cを出力する遅延最小分解能時間決定手段2と
、入カバターンデータgからその最小分解能時間を決定
して単位時間候補dを出力する入カバターン最小分解能
時間決定手段3と、単位時間候補す、cおよびdから論
理シミュレータの単位時間eを決定する単位時間決定手
段4とを含んで構成される。FIG. 1 is a block diagram showing one embodiment of the present invention. The embodiment shown in FIG. 1 includes a unit time input means 1 which receives a unit time designation instruction a from a user and outputs a unit time candidate, and a unit time candidate C which determines the minimum resolution time from delay definition data f. delay minimum resolution time determining means 2 for outputting delay minimum resolution time, input cover turn minimum resolution time determining means 3 for determining the minimum resolution time from input cover turn data g and outputting unit time candidate d; and a unit time determining means 4 for determining a unit time e of the logic simulator from d.
単位時間入力手段1は利用者から単位時間指定指示aが
入力された場合のみ、指示値を単位時間候補すとして出
力する。遅延最小分解能時間決定手段2は論理シミュレ
ートする回路を構成する素子の遅延時間が定義してある
遅延定義データfから、遅延時間の最小公約数である最
小分解能時間を単位時間候補Cとして出力する。入カバ
ターン最小分解能時間決定手段3は論理シミュレーショ
ンする回路に外部から入力する信号波形が定義してある
入カバターンデータgのデータ値が変化するまでの時間
間隔の最大公約数である最小分解能時間を単位時間候補
dとして出力する。単位時間決定手段4は単位時間候補
すが入力された場合、即ち利用者が単位時間指定指示a
を入力した場合には、その指示値を単位時間として採用
する。単位時間指定指示aが入力されない場合は、単位
待時候補Cおよびdの最大公約数を単位時間として、単
位時間eを出力する。The unit time input means 1 outputs an instruction value as a unit time candidate only when the unit time designation instruction a is input by the user. The minimum delay resolution time determining means 2 outputs the minimum resolution time, which is the least common divisor of delay times, as a unit time candidate C from delay definition data f that defines the delay times of elements constituting the circuit to be simulated. . The input cover turn minimum resolution time determining means 3 determines the minimum resolution time which is the greatest common divisor of the time interval until the data value of the input cover turn data g, which is defined by the signal waveform input from the outside to the circuit undergoing logic simulation, changes. Output as unit time candidate d. When a unit time candidate is inputted, the unit time determination means 4 is used when the user inputs a unit time designation instruction a.
If , the indicated value is used as the unit time. If unit time designation instruction a is not input, unit time e is output with the greatest common divisor of unit waiting candidates C and d as the unit time.
以上説明したように本発明の論理シミュレータ単位時間
設定方式は、シミュレーションで使用する遅延と入力パ
タンの最小分解能時間とから自動的に最適単位時間を決
定する機能を持つことにより、シミュレーションを高速
化できると同時に、従来の利用者による単位時間指示機
能によりわざと精度の粗いシミュレーションを行うこと
も可能にしており、論理シミュレーション時の利用者の
熟練度に応じて様々な利用方法を提供するという効果が
ある。As explained above, the logic simulator unit time setting method of the present invention can speed up the simulation by having the function of automatically determining the optimal unit time from the delay used in the simulation and the minimum resolution time of the input pattern. At the same time, it is also possible to perform simulations with intentionally low precision using the conventional unit time instruction function by users, which has the effect of providing a variety of usage methods depending on the user's skill level when performing logical simulations. .
第1図は本発明の一実施例のブロック図である。
1・・・単位時間入力手段、2・・・遅延最小分解能時
間決定手段、3・・・入カバターン最小分解能時間決定
手段、4・・・単位時間決定手段。FIG. 1 is a block diagram of one embodiment of the present invention. DESCRIPTION OF SYMBOLS 1... Unit time input means, 2... Delay minimum resolution time determination means, 3... Input cover turn minimum resolution time determination means, 4... Unit time determination means.
Claims (1)
間候補1として出力する単位時間入力手段と、論理シミ
ュレーションをする回路を構成する素子の遅延定義デー
タから遅延時間の最大公約数である最小分解能時間を単
位時間候補2として出力する遅延最小分解能時間決定手
段と、論理シミュレーションをする回路に外部から入力
する信号波が定義してある入力パタンデータのデータ値
が変化するまでの時間間隔の最大公約数である最小分解
能時間を単位時間候補3として出力する入力パタン最小
分解能時間決定手段と、前記単位時間候補1の出力があ
るときはその値を、単位時間候補1がないときは単位時
間候補2および3の最大公約数を単位時間として決定す
る単位時間決定手段とを含むことを特徴とする論理シミ
ュレータ単位時間設定方式。unit time input means that receives a unit time designation instruction from the user and outputs the specified value as unit time candidate 1; and a minimum input unit that is the greatest common divisor of delay times from delay definition data of elements constituting the circuit for logic simulation. Delay minimum resolution time determining means that outputs resolution time as unit time candidate 2, and the maximum time interval until the data value of input pattern data defined by the signal wave input from the outside to the circuit for logic simulation changes. An input pattern minimum resolution time determining means that outputs the minimum resolution time which is a common divisor as a unit time candidate 3; and when there is an output of the unit time candidate 1, its value is output, and when there is no unit time candidate 1, the unit time candidate 1. A logic simulator unit time setting method, comprising: unit time determining means for determining the greatest common divisor of 2 and 3 as a unit time.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2192366A JPH0478960A (en) | 1990-07-20 | 1990-07-20 | Logical simulator unit time setting system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2192366A JPH0478960A (en) | 1990-07-20 | 1990-07-20 | Logical simulator unit time setting system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0478960A true JPH0478960A (en) | 1992-03-12 |
Family
ID=16290089
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2192366A Pending JPH0478960A (en) | 1990-07-20 | 1990-07-20 | Logical simulator unit time setting system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0478960A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5603015A (en) * | 1993-06-07 | 1997-02-11 | Kabushiki Kaisha Toshiba | Logic simulation apparatus for executing simulation of a circuit |
-
1990
- 1990-07-20 JP JP2192366A patent/JPH0478960A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5603015A (en) * | 1993-06-07 | 1997-02-11 | Kabushiki Kaisha Toshiba | Logic simulation apparatus for executing simulation of a circuit |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR960038583A (en) | Output control device | |
| US5051941A (en) | Method and apparatus for logical simulation | |
| JPH0864681A (en) | Integrated circuit simulator and integrated circuit simulation method | |
| KR900015014A (en) | Data processor | |
| JPS61267858A (en) | Microcomputer | |
| JPS5840421Y2 (en) | Digital differential analyzer | |
| SU1605258A1 (en) | Device for solving problems on graphs | |
| JP2924241B2 (en) | Electronic circuit simulation method | |
| SU1434451A1 (en) | Arrangement for planning computing process in multiprocessor system | |
| SU1645954A1 (en) | Random process generator | |
| KR870004345A (en) | Time setting method of digital clock and system | |
| JPS62241039A (en) | Logic simulator | |
| JPS6077220A (en) | Switching system of clock frequency of microcomputer system | |
| JPS61177492A (en) | Multiplier for reverberator | |
| JPH05150007A (en) | Test pattern generating system | |
| JPS56157523A (en) | Display control system | |
| JPH01173237A (en) | Ram access system | |
| JPH05108748A (en) | Logic circuit simulation system | |
| JPS5467348A (en) | Microprogram control system | |
| JPH02220132A (en) | Cpu type deciding device | |
| JPH0375875A (en) | Delay simulator | |
| JPS58203565A (en) | Inquiry response method in terminal system | |
| JPH02171812A (en) | Processor acceleration circuit without wait state function | |
| JPH02178832A (en) | Arithmetic unit | |
| JPH103487A (en) | Logic simulation method |