JPH0434657A - Circuit simulation device - Google Patents

Circuit simulation device

Info

Publication number
JPH0434657A
JPH0434657A JP2141794A JP14179490A JPH0434657A JP H0434657 A JPH0434657 A JP H0434657A JP 2141794 A JP2141794 A JP 2141794A JP 14179490 A JP14179490 A JP 14179490A JP H0434657 A JPH0434657 A JP H0434657A
Authority
JP
Japan
Prior art keywords
signal
circuit
simulation
time
signal state
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
JP2141794A
Other languages
Japanese (ja)
Inventor
Eiji Nunome
布目 栄司
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.)
Okuma Corp
Original Assignee
Okuma Machinery Works 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 Okuma Machinery Works Ltd filed Critical Okuma Machinery Works Ltd
Priority to JP2141794A priority Critical patent/JPH0434657A/en
Publication of JPH0434657A publication Critical patent/JPH0434657A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To reduce labors concerning with a comparing work and the occurence of personal mistake by optionally specifying the 1st and 2nd points of time and mutually comparing signal states at respective points of time. CONSTITUTION:A detection part 30 detects the signal states of all signal data stored in a simulation result storing part 26 at the 1st and 2nd points of time and a signal state comparing part 32 compares the signal states of each signal obtained at the 1st and 2nd points of time. A compared result storing part 34 stores the existence of a change in the signal states of each signal as a compared result of the comparing part 32. The stored compared result is displayed on a display device 14 or printed out on a printer device 16. Consequently, much time is not required for comparison and inspection and the occurence of personal mistake can also be reduced.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、例えばIC等の論理回路を設計する場合、回
路の動作を確認するための回路シミュレーション装置に
関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a circuit simulation device for checking the operation of a circuit when designing a logic circuit such as an IC.

[従来の技術] 第6図は従来の回路シミュレーション装置を示す機能ブ
ロック図である。
[Prior Art] FIG. 6 is a functional block diagram showing a conventional circuit simulation device.

図において、10は回路シミュレーション装置で、キー
ボード等のキー人力装置12、CRT等の表示装置14
、プリンタ等の印字装置16が接続されている。回路シ
ミュレーション装置10では、オペレータによって、キ
ー人力装置工2あるいはポインティングデバイス(図示
せず)等の入力手段から、シミュレーションの対象とな
る回路および入力信号等のデータが入力される。回路デ
ータは、例えばコンポーネントライブラリ等から各種ゲ
ートやデバイス等を選択することにより、入力される。
In the figure, 10 is a circuit simulation device, a key input device 12 such as a keyboard, and a display device 14 such as a CRT.
, a printing device 16 such as a printer is connected. In the circuit simulation apparatus 10, an operator inputs data such as a circuit to be simulated and input signals from input means such as a key operator 2 or a pointing device (not shown). Circuit data is input, for example, by selecting various gates, devices, etc. from a component library or the like.

入力された回路データは、例えば表示画像上で配置、配
線され、回路図が作成される。
The input circuit data is arranged and wired on a display image, for example, to create a circuit diagram.

18は入出力装置制御部で、キー人力装置12、表示装
置14、印字装置16等の入出力装置のデータを制御す
る。20は装置制御部で、シミELレーション装置本体
の制御を行う。22は回路入力信号記憶部で、キー人力
装置12から入力された回路および入力信号等のデータ
が記憶される。
Reference numeral 18 denotes an input/output device control section that controls data of input/output devices such as the key input device 12, the display device 14, and the printing device 16. Reference numeral 20 denotes a device control section that controls the main body of the stain EL ration device. A circuit input signal storage section 22 stores data such as circuits and input signals inputted from the key input device 12.

24はシミュレーション部で、回路入力信号記憶部22
に記憶されたデータを用いて回路の動作シミュレーショ
ンを行う。動作シミュレーションは、例えばTTL%E
CL、CMO3など、あらゆるデバイスに対応しており
、所定の入力信号、テストパターン等を使って、論理検
証、タイミング検証、故障検証などの各種シミュレーシ
ョンが実行可能である。なお、デジタル/アナログ混在
のシミュレーションも実行可能である。26は信号状態
記憶手段としてのシミュレーション結果記憶部で、上記
動作シミュレーションによる制御回路各部の信号の状態
変化が時間経過と共に記憶される。シミュレーション結
果記憶部26に記憶された信号の状態変化は、装置制御
部20により読み出され、入出力装置制御部18を介し
て表示装置14あるいは印字装置16に出力される。
24 is a simulation section, and a circuit input signal storage section 22
The circuit operation is simulated using the data stored in the . For example, the operation simulation is performed using TTL%E.
It is compatible with all devices such as CL and CMO3, and can perform various simulations such as logic verification, timing verification, and failure verification using predetermined input signals, test patterns, etc. Note that it is also possible to perform a mixed digital/analog simulation. Reference numeral 26 denotes a simulation result storage section serving as a signal state storage means, in which changes in the state of signals of each part of the control circuit resulting from the operation simulation are stored over time. The state change of the signal stored in the simulation result storage section 26 is read out by the device control section 20 and output to the display device 14 or the printing device 16 via the input/output device control section 18.

なお、第6図中、シミュレーション装置10内の各機能
ブロック(構成要素)は、ハードウェアもしくはソフト
ウェアにより実現されている。
Note that in FIG. 6, each functional block (component) within the simulation device 10 is realized by hardware or software.

上記構成を有する回路シミュレーション装置10を用い
て回路設計する場合、シーケンシャルな回路、例えばモ
ータコントローラのような制御回路(デジタル、アナロ
グは問わない)あるいは論理回路等が多い。このような
回路では、回路の一連の動作サイクルが完了した時、回
路から外部への入出力信号および回路の内部信号の状態
が、回路の動作前の初期状態に戻っているか、確認を要
する。
When designing a circuit using the circuit simulation apparatus 10 having the above configuration, there are many sequential circuits, such as a control circuit such as a motor controller (whether digital or analog) or a logic circuit. In such a circuit, when a series of circuit operation cycles is completed, it is necessary to check whether the states of the input/output signals from the circuit to the outside and the internal signals of the circuit have returned to the initial state before the circuit was operated.

もし、回路の動作完了後、信号の状態が初期状態と異な
った状態であれば、回路が次の動作サイクルを開始する
と、前回とは異なった動作が行われ、すなわち、回路動
作の不具合が発生する。
If the state of the signal is different from the initial state after the circuit completes its operation, when the circuit starts the next operation cycle, the operation will be different from the previous one, that is, a malfunction will occur in the circuit operation. do.

このため、回路が初期状態に戻っていることを確認する
必要があり、回路を構成する各素子の動作完了後の入出
力信号の状態を、初期状態の入出力信号の状態と比較対
比して、それぞれの信号の状態が同じであることを確認
する必要がある。
Therefore, it is necessary to confirm that the circuit has returned to its initial state by comparing and contrasting the state of the input/output signals after the operation of each element composing the circuit with the state of the input/output signals in the initial state. , it is necessary to check that the state of each signal is the same.

[発明が解決しようとする課題] しかし、従来の回路シミュレーション装置で、回路の初
期の信号状態と、動作完了後の信号状態とを比較する場
合、オペレータ自身がシミュレーション結果記憶部から
動作開始前の初期状態の信号の状態と、動作完了後の信
号の状態を、それぞれ表示装置14もしくは印字装置1
6に出力させ、信号状態を比較検討しなければならなか
った。このため、比較検討に時間がかかり、人的ミスが
発生する等の問題があった。
[Problems to be Solved by the Invention] However, when using a conventional circuit simulation device to compare the initial signal state of the circuit with the signal state after the operation is completed, the operator himself/herself can retrieve the signal state before the start of operation from the simulation result storage unit. The initial state of the signal and the signal state after the completion of the operation are displayed on the display device 14 or the printing device 1, respectively.
6 and had to compare and consider the signal status. For this reason, there were problems such as time-consuming comparison studies and the occurrence of human errors.

本発明は、上記問題点を解決することを課題としてなさ
れたものであり、その目的は、信号状態の比較検討処理
を行い得る回路シミュレーション装置を提供することに
ある。
The present invention has been made to solve the above-mentioned problems, and its purpose is to provide a circuit simulation device that can perform comparative study processing of signal states.

[課題を解決するための手段] 上記目的を達成するため本発明に係る回路シミュレーシ
ョン装置は、シミュレーション結果記憶部に記憶された
信号データに基づいて、第1の時点での信号状態および
第2の時点での信号状態を全ての信号について検出する
検出部と、この検出部により検出された第1および第2
の時点での信号状態を各信号毎に比較する信号状態比較
手段と、各信号について信号状態の変化の有無を比較結
果として記憶する比較結果記憶部と、この比較結果記憶
部に記憶された比較結果を出力する出力手段と、を含む
ことを特徴とする。
[Means for Solving the Problem] In order to achieve the above object, the circuit simulation device according to the present invention calculates the signal state at the first time point and the second state based on the signal data stored in the simulation result storage unit. a detection unit that detects the signal state at the time for all signals, and a first and second
a signal state comparison means for comparing the signal state at the time point of each signal; a comparison result storage section for storing the presence or absence of a change in the signal state for each signal as a comparison result; and a comparison result storage section for storing the comparison results stored in the comparison result storage section. An output means for outputting the results.

[作用] 上記構成を有する本発明の回路シミュレーション装置に
おいては、動作シミニレ−ジョンにおける第1および第
2の時点での各信号状態を任意に切り出して比較するこ
とができ、信号状態の変化の有無により回路各個の動作
を検証することができる。
[Operation] In the circuit simulation device of the present invention having the above configuration, each signal state at the first and second points in the operation simulation can be arbitrarily extracted and compared, and the presence or absence of a change in the signal state can be determined. It is possible to verify the operation of each individual circuit.

[実施例〕 以下、図面に基づいて本発明の好適な実施例を説明する
。
[Embodiments] Hereinafter, preferred embodiments of the present invention will be described based on the drawings.

第1図は本発明による回路シミュレーション装置の一実
施例を示す機能ブロック図である。
FIG. 1 is a functional block diagram showing an embodiment of a circuit simulation apparatus according to the present invention.

第1図において、第6図と同一または相当部分には同じ
符号を付している。すなわち、回路、入力信号等のデー
タ入力から、信号状態の変化の経緯をシミュレーション
結果記憶部26に記憶するまでの一連の処理手順は、従
来の回路シミュレーション装置の処理手順と同じである
。
In FIG. 1, the same or corresponding parts as in FIG. 6 are given the same reference numerals. That is, the series of processing steps from inputting data such as circuits and input signals to storing the history of changes in signal states in the simulation result storage section 26 is the same as the processing steps of conventional circuit simulation devices.

30は本発明の第1の特徴的構成要素である検出部で、
シミュレーション結果記憶部26に記憶され信号データ
に基づいて、第1の時点での信号状態および第2の時点
での信号状態を全ての信号について検出する。
30 is a detection unit which is the first characteristic component of the present invention;
Based on the signal data stored in the simulation result storage unit 26, the signal state at the first time point and the signal state at the second time point are detected for all signals.

32は本発明の第2の特徴的構成要素である信号状態比
較部で、検出部30により検出された第1および第2の
時点での信号状態を各信号毎に比較する。
A signal state comparison section 32 is a second characteristic component of the present invention, and compares the signal states at the first and second time points detected by the detection section 30 for each signal.

34は本発明の第3の特徴的構成要素である比較結果記
憶部で、各信号について信号状態の変化の有無を信号状
態比較部32による比較結果として記憶する。記憶され
た比較結果は、出力手段としての表示装置14(例えば
CRT、液晶デイスプレィ等)、または印字装置16(
例えばレーザプリンタ、熱転写プリンタ、ドツトプリン
タ等)に出力される。
Reference numeral 34 denotes a comparison result storage section which is the third characteristic component of the present invention, and stores the presence or absence of a change in the signal state of each signal as a comparison result by the signal state comparison section 32. The stored comparison results are displayed on a display device 14 (for example, CRT, liquid crystal display, etc.) as an output means or a printing device 16 (
For example, the image is output to a laser printer, thermal transfer printer, dot printer, etc.).

なお、本発明の回路シミュレーション装置10内の各機
能ブロック(構成要素)は、ノ1−ドウエアあるいはソ
フトウェアのどちらで実現しても良い。
Note that each functional block (component) within the circuit simulation device 10 of the present invention may be realized by either hardware or software.

次に、第2図のフローチャートに従って本発明の詳細な
説明する。
Next, the present invention will be explained in detail according to the flowchart shown in FIG.

まず、キー人力装置12、ポインティングデバイス(図
示せず)等の入力手段により、シミュレーション対象の
回路データを入力する。そして、例えばこの回路におけ
る入力信号を11.12、出力信号をOOO回路の内部
信号を l ゝ  21 3 ゝ Sl、S2として入力する(ステップ101)。
First, circuit data to be simulated is input using input means such as the key input device 12 or a pointing device (not shown). Then, for example, the input signal to this circuit is inputted as 11.12, and the output signal is inputted as the internal signal of the OOO circuit as l 21 3 ゝS1, S2 (step 101).

次に上記のデー・夕は、装置制御部20によって回路入
力信号記憶部22に記憶される(ステップ102)。こ
れらの入力データによるシミュレーション対象の回路例
は第3図に示すように、回路40各部の信号と共に規定
される。なお、以上の処理状況は、逐次表示装置14ま
たは印字装置16に出力可能である。
Next, the above data/event is stored in the circuit input signal storage section 22 by the device control section 20 (step 102). An example of a circuit to be simulated using these input data is defined together with signals of each part of the circuit 40, as shown in FIG. Note that the above processing status can be sequentially output to the display device 14 or the printing device 16.

続いて、装置制御部20は、シミュレーション部24に
て動作シミュレーションを実行させ(ステップ103)
、シミュレーションの完了をチエツクする(ステップ1
04)。シミュレーションが完了するとシミュレーショ
ンの結果、すなわち第4図に示すような回路各部の信号
状態の変化が、シミュレーション結果記憶部26に記憶
される(ステップ105)。
Next, the device control unit 20 causes the simulation unit 24 to execute a motion simulation (step 103).
, check the completion of the simulation (step 1)
04). When the simulation is completed, the simulation results, that is, the changes in the signal states of each part of the circuit as shown in FIG. 4, are stored in the simulation result storage section 26 (step 105).

ここで装置制御部20は、状態比較の指示が入力される
かどうかを判断しくステップ106)、入力されなけれ
ば処理を終了し、入力された場合はステップ107に進
む。比較指示は、例えばキー人力装置12から入力され
、続いて信号状態を検出する第1および第2の時刻t1
、t2が入力設定される。第1および第2の時刻t1、
t2は、例えば第4図の信号波形を表示装置14に表示
させながら、カーソルによって指示される。
Here, the device control unit 20 determines whether or not a status comparison instruction is input (step 106). If not, the process ends; if it is input, the process proceeds to step 107. The comparison instruction is inputted, for example, from the key-powered device 12, and then at the first and second times t1 for detecting the signal state.
, t2 are input and set. first and second times t1,
t2 is indicated by a cursor while displaying the signal waveform of FIG. 4 on the display device 14, for example.

装置制御部20は、第1および第2の時刻t1、t2と
シミュレーション結果を検出部30に送り、検出部30
にて第1および第2の時刻t1、t2での信号状態が全
ての信号について検出される。
The device control unit 20 sends the first and second times t1 and t2 and the simulation results to the detection unit 30.
The signal states at the first and second times t1 and t2 are detected for all signals.

検出された第1および第2の時刻t1、t2における信
号状態は、装置制御部20によって信号状態比較部32
に転送され(ステップ106)、信号状態比較部32に
て各信号毎に比較される(ステップ107)。
The detected signal states at the first and second times t1 and t2 are determined by the device control unit 20 by the signal state comparison unit 32.
(step 106), and each signal is compared in the signal state comparing section 32 (step 107).

装置制御部20は、上記比較処理の完了をチエツクしく
ステップ108)、完了するとその比較結果を比較結果
記憶部34に記憶する(ステップ109)。比較結果の
表示装置14への表示例を!5図に示す。なお、第5図
では信号状態が変化した信号を*印で示しである。また
、信号状態が変化した信号の名称、状態差の様子等を比
較結果として比較結果記憶部34に記憶するようにして
も構わない。
The device control unit 20 checks whether the comparison process is completed (step 108), and when completed, stores the comparison result in the comparison result storage unit 34 (step 109). An example of how the comparison results are displayed on the display device 14! It is shown in Figure 5. Note that in FIG. 5, signals whose signal states have changed are indicated by * marks. Further, the name of the signal whose signal state has changed, the state difference, etc. may be stored in the comparison result storage unit 34 as the comparison result.

記憶された比較結果は、装置制御部20により読み出さ
れ、入出力装置制御部18を介して表示装置14もしく
は印字装置16に出力される(ステップ110)。
The stored comparison results are read by the device control section 20 and output to the display device 14 or the printing device 16 via the input/output device control section 18 (step 110).

以上のような本発明の回路シミュレーション装置によれ
ば、第1および第2の時点を任意に指定することにより
、そのときの信号状態を互いに比較処理することができ
、比較作業に係る労力を軽減すると共に人的ミスを軽減
することができる。
According to the circuit simulation device of the present invention as described above, by arbitrarily specifying the first and second time points, the signal states at those times can be compared with each other, reducing the labor involved in comparison work. At the same time, human error can be reduced.

また、比較結果の出力までが短時間で済み、回路細部の
動作を確認する場合でも短時間で多くの箇所を確認する
ことができる。
In addition, it takes only a short time to output the comparison results, and even when checking the detailed operation of a circuit, many points can be checked in a short time.

さらに、上記実施例では第2の時点を固定指定していた
が、例えば第1の時点または任意の時点以降を自動的に
スキャンするよう構成し、第1の時点での信号状態と同
じ信号状態を検索することも可能である。
Further, in the above embodiment, the second time point is fixedly designated, but for example, the first time point or any time point after that can be automatically scanned, and the signal state is the same as the signal state at the first time point. It is also possible to search for

[発明の効果] 以上説明したように本発明の回路シミュレーション装置
によれば、第1および第2の任意の時点での信号状態を
比較処理することができ、回路の動作を迅速かつ正確に
確認することができる。
[Effects of the Invention] As explained above, according to the circuit simulation device of the present invention, the first and second signal states at arbitrary points can be compared and processed, and the operation of the circuit can be confirmed quickly and accurately. can do.

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

第1図は本発明による回路シミュレーション装置の一実
施例を示す機能ブロック図、 第2図は本発明の詳細な説明するためのフローチャート
、 第3図はシミュレーション対象の回路例を示す図、 第4図はシミュレーション結果を示す信号波形図、 第5図は比較結果の表示例を示す図、 第6図は従来の回路シミニレ−ジョン装置を示す機能ブ
ロック図である。 10 ・・・ 回路シミニレ−シラン装置14 ・・・
 表示装置 16 ・・・ 印字装置 24 ・・・ シミュレーション部 26 ・・・ シミュレーション結果記憶部30 ・・
・ 検出部 32 ・・・ 信号状態比較部 34 ・・・ 比較結果記憶部
1 is a functional block diagram showing an embodiment of a circuit simulation device according to the present invention; FIG. 2 is a flowchart for explaining the invention in detail; FIG. 3 is a diagram showing an example of a circuit to be simulated; FIG. 5 is a signal waveform diagram showing simulation results, FIG. 5 is a diagram showing a display example of comparison results, and FIG. 6 is a functional block diagram showing a conventional circuit staining device. 10...Circuit silage silane device 14...
Display device 16...Printing device 24...Simulation section 26...Simulation result storage section 30...
- Detection section 32... Signal state comparison section 34... Comparison result storage section

Claims (1)

【特許請求の範囲】 回路の動作シミュレーションを行うシミュレーション部
と、 上記動作シミュレーションによる回路各部の信号の状態
変化を時間経過と共に記憶するシミュレーション結果記
憶部と、を含む回路シミュレーション装置において、 前記シミュレーション結果記憶部に記憶された信号デー
タに基づいて、第1の時点での信号状態および第2の時
点での信号状態を全ての信号について検出する検出部と
、 この検出部により検出された第1および第2の時点での
信号状態を各信号毎に比較する信号状態比較手段と、 各信号について信号状態の変化の有無を比較結果として
記憶する比較結果記憶部と、 この比較結果記憶部に記憶された比較結果を出力する出
力手段と、を含むことを特徴とする回路シミュレーショ
ン装置。
[Scope of Claims] A circuit simulation device comprising: a simulation unit that performs a circuit operation simulation; and a simulation result storage unit that stores changes in states of signals in each part of the circuit due to the operation simulation over time, comprising: the simulation result storage unit; a detection unit that detects the signal state at the first time point and the signal state at the second time point for all the signals based on the signal data stored in the unit; a signal state comparison means for comparing the signal state at the time point 2 for each signal; a comparison result storage section for storing the presence or absence of a change in the signal state for each signal as a comparison result; A circuit simulation device comprising: output means for outputting a comparison result.
JP2141794A 1990-05-30 1990-05-30 Circuit simulation device Pending JPH0434657A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2141794A JPH0434657A (en) 1990-05-30 1990-05-30 Circuit simulation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2141794A JPH0434657A (en) 1990-05-30 1990-05-30 Circuit simulation device

Publications (1)

Publication Number Publication Date
JPH0434657A true JPH0434657A (en) 1992-02-05

Family

ID=15300299

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2141794A Pending JPH0434657A (en) 1990-05-30 1990-05-30 Circuit simulation device

Country Status (1)

Country Link
JP (1) JPH0434657A (en)

Similar Documents

Publication Publication Date Title
KR950010411B1 (en) Integrated Circuit Tester
JP4035396B2 (en) Semiconductor test apparatus and test method
JP2557856B2 (en) CAD system
JP2821188B2 (en) Layout pattern information extraction device
JPH0379743B2 (en)
JPH02214983A (en) Integrated circuit designing device
JPH07306881A (en) Logic simulation result analysis support device
JP2855603B2 (en) Work station simulator
JP2932987B2 (en) Automatic test equipment for computer systems
JPH0251292B2 (en)
JPS5880748A (en) Test method for processing system of display information
JP3098865B2 (en) Test pattern creation device
JPH03158972A (en) Simulator
JPH02105943A (en) Simulation system
JPS63244170A (en) Supporting device for circuit design
JPH04195345A (en) Inspection system for logical package
JPH052619A (en) Circuit simulation device
JPH03214651A (en) Verification of layout pattern
JPH0676016A (en) Logical simulation method
JPH06294844A (en) Digital circuit test equipment
JPH02242376A (en) Drawing and simulation device for logic circuit
JPH05181927A (en) Logical simulation device
JPS5944657B2 (en) pattern generator
JPH0318776A (en) Logic circuit functional verification method
JPH041857A (en) Logic circuit inspecting device