JP2001331544A - Method and device for simulation - Google Patents

Method and device for simulation

Info

Publication number
JP2001331544A
JP2001331544A JP2000150843A JP2000150843A JP2001331544A JP 2001331544 A JP2001331544 A JP 2001331544A JP 2000150843 A JP2000150843 A JP 2000150843A JP 2000150843 A JP2000150843 A JP 2000150843A JP 2001331544 A JP2001331544 A JP 2001331544A
Authority
JP
Japan
Prior art keywords
simulation
circuit state
test vector
circuit
processing unit
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
JP2000150843A
Other languages
Japanese (ja)
Inventor
英俊 ▲楢▼原
Hidetoshi Narahara
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 JP2000150843A priority Critical patent/JP2001331544A/en
Publication of JP2001331544A publication Critical patent/JP2001331544A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To solve the problem that simulation in function and logic verification of an LSI is performed by using plural test vectors which sometimes have sharable parts such as initialization patterns of a circuit, however, the patterns can not be shared by a conventional simulation method and simulation time becomes wasteful. SOLUTION: The simulation time is put back to a halfway point by a circuit state output processing part 5 which stores a circuit state halfway in simulation separately from test vector information and a circuit state read-in processing part 7 which reads in its circuit state output result and a test vector is changed to shorten the simulation time of a common pattern.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、LSIなど半導体
素子の設計時の機能・論理をシミュレーションするシミ
ュレーション方法および装置に関するものである。
[0001] 1. Field of the Invention [0002] The present invention relates to a simulation method and apparatus for simulating a function / logic at the time of designing a semiconductor device such as an LSI.

【0002】[0002]

【従来の技術】近年、半導体素子の大規模化に伴い半導
体素子設計の効率化が重要視されている。このような背
景のなか、設計した回路が仕様通りに動作するかどうか
を検証しなければならない。そこで従来から半導体素子
の動作をシミュレーション装置を用いて検証している。
2. Description of the Related Art In recent years, with the increase in the size of semiconductor devices, the efficiency of semiconductor device design has been emphasized. Against this background, it is necessary to verify whether the designed circuit operates as specified. Therefore, the operation of the semiconductor device has been conventionally verified using a simulation device.

【0003】図8に従来のシミュレーション装置の構成
図を示す。図8において、1は半導体素子の回路情報を
記述したネットリスト、2は設計者が半導体素子の仕様
に合わせて作成したテストパターンを記述したテストベ
クタ、3はネットリスト1をテストベクタ2に基づいて
シミュレーションするシミュレーション実行処理部、4
はネットリスト1をテストベクター2に基づいてシミュ
レーションしたシミュレーション結果である。設計者は
シミュレーション結果4が仕様と一致しているかどうか
を逐一確認しながらネットリスト1を検証する。
FIG. 8 shows a configuration diagram of a conventional simulation apparatus. In FIG. 8, 1 is a netlist describing circuit information of a semiconductor device, 2 is a test vector describing a test pattern created by a designer according to the specifications of the semiconductor device, and 3 is a netlist 1 based on a test vector 2 Simulation processing unit for performing simulation
Is a simulation result obtained by simulating the netlist 1 based on the test vector 2. The designer verifies the netlist 1 while checking whether the simulation result 4 matches the specification one by one.

【0004】[0004]

【発明が解決しようとする課題】従来のシミュレーショ
ン方法では、設計した回路が正常に動作するかを確認す
るために、複数のテストベクタを用いてシミュレーショ
ンを行う。この複数のテストベクタにおいて、回路の初
期化パターン等の共有できる部分が存在する場合が多々
ある。その様子を図2を参照して説明する。図2では例
として3つのテストベクタを使用する場合を示した。こ
れら3つのベクタの内、パターンAの部分は共通のパタ
ーンである。そのため、パターンAのシミュレーション
が終了した時刻Tにおいて、これら3つの回路状態は全
く同じである。従来のシミュレーション装置では過去に
逆登ってテストベクタを変更し、シミュレーションを再
開することができないため、結果的にパターンAの部分
を3回シミュレーションしなければならない。このよう
に従来のシミュレーション方法ではテストベクタに共有
化できる部分が存在する場合、シミュレーション時間の
無駄が生じるという課題が存在した。
In the conventional simulation method, a simulation is performed using a plurality of test vectors in order to confirm whether the designed circuit operates normally. In many cases, the plurality of test vectors include a portion that can be shared, such as a circuit initialization pattern. This will be described with reference to FIG. FIG. 2 shows a case where three test vectors are used as an example. Among these three vectors, the pattern A is a common pattern. Therefore, at the time T when the simulation of the pattern A ends, these three circuit states are exactly the same. In the conventional simulation apparatus, since the test vector cannot be changed by going backward in the past and changing the test vector, the pattern A portion must be simulated three times as a result. As described above, in the conventional simulation method, when there is a portion that can be shared in the test vector, there is a problem that the simulation time is wasted.

【0005】本発明は、上記従来の課題を解決するもの
で、テストベクタの初期化パターン等の共通部分を共有
化し、シミュレーション時間の無駄を削減することがで
きるシミュレーション方法および装置を提供することを
目的とする。
An object of the present invention is to provide a simulation method and apparatus which can solve the above-mentioned conventional problems by sharing a common part such as an initialization pattern of a test vector and reducing waste of simulation time. Aim.

【0006】[0006]

【課題を解決するための手段】請求項1記載のシミュレ
ーション方法は、回路情報を記述したネットリストを、
テストパターンを記述したテストベクタに基づいてシミ
ュレーションし、回路が仕様通りに動作することを検証
するシミュレーション方法であって、シミュレーション
の途中の回路状態をテストベクタの情報とは別に読み出
し可能に保存する工程を含むものである。
According to a first aspect of the present invention, there is provided a simulation method comprising the steps of:
A simulation method for performing a simulation based on a test vector describing a test pattern and verifying that a circuit operates as specified, wherein a circuit state during the simulation is stored in a readable manner separately from test vector information. Is included.

【0007】請求項1記載のシミュレーション方法によ
れば、共通のパターンの回路状態を読み出し可能に保存
し、必要時に読み出してシミュレーションすることによ
り、共通のパターンの回路状態を複数回シミュレーショ
ンすることによるシミュレーション時間の無駄を削減す
ることができる。
According to the simulation method of the first aspect, the simulation is performed by simulating the circuit state of the common pattern a plurality of times by storing the circuit state of the common pattern in a readable manner and reading and simulating the circuit state when necessary. Waste of time can be reduced.

【0008】請求項2記載のシミュレーション方法は、
求項1において、保存したシミュレーション途中の回
路状態を読み出す工程を有し、回路状態の読み出し後に
前記回路状態の保存時と異なるテストベクタとを用いて
シミュレーションする工程を有するものである。
According to a second aspect of the present invention, there is provided a simulation method comprising:
In Motomeko 1, comprising the step of reading the circuit state in the middle simulation and stored, and has a simulation process using a storage time of the different test vectors of the circuit state after the reading of circuit conditions.

【0009】請求項2記載のシミュレーション方法によ
れば、複数のテストベクタを用いるシミュレーションに
おいて、テストベクタの前半部分が同じパターンである
ようなテストベクタのシミュレーション時間を削減する
ことができる。
According to the simulation method of the second aspect, in a simulation using a plurality of test vectors, the simulation time of a test vector in which the first half of the test vector has the same pattern can be reduced.

【0010】請求項3記載のシミュレーション方法は、
請求項1において、保存したシミュレーション途中の回
路状態を読み出す工程を有し、前記シミュレーション途
中の回路状態を保存する工程と前記回路状態を読み出す
工程をテストベクタにより制御する工程を有するもので
ある。
[0010] The simulation method according to claim 3 is characterized in that:
2. The method according to claim 1, further comprising the step of reading the saved circuit state during the simulation, and the step of controlling the circuit state during the simulation and the step of reading the circuit state using a test vector.

【0011】請求項3記載のシミュレーション方法によ
れば、ステートマシンのような複数回同一の状態が存在
するようなシミュレーションにおいて、同じ遷移を複数
回実行するといった無駄を削減することができ、シミュ
レーション時間を削減することができる。
According to the simulation method of the third aspect, in a simulation in which the same state exists a plurality of times, such as in a state machine, it is possible to reduce the waste of executing the same transition a plurality of times, thereby reducing the simulation time. Can be reduced.

【0012】請求項4記載のシミュレーション装置は、
回路情報を記述したネットリストを、テストパターンを
記述したテストベクタに基づいてシミュレーションする
シミュレーション実行処理部と、このシミュレーション
実行処理部のシミュレーション途中の回路状態を出力し
保存する回路状態出力処理部と、この回路状態出力処理
部より読み出し前記シミュレーション実行処理部を前記
シミュレーション途中の回路状態に戻す回路状態読み込
み処理部とを備えたものである。
According to a fourth aspect of the present invention, there is provided a simulation apparatus comprising:
A simulation execution processing unit that simulates a netlist describing circuit information based on a test vector describing a test pattern, a circuit state output processing unit that outputs and stores a circuit state during the simulation of the simulation execution processing unit, A circuit state read processing unit for reading from the circuit state output processing unit and returning the simulation execution processing unit to the circuit state during the simulation.

【0013】請求項4記載のシミュレーション装置によ
れば、請求項1と同様な効果がある。
According to the simulation apparatus of the fourth aspect, the same effect as that of the first aspect is obtained.

【0014】[0014]

【発明の実施の形態】(実施の形態1)本発明の第1の
実施の形態のシミュレーション方法は、シミュレーショ
ン途中の回路状態を保存することにより、任意にその保
存していた回路状態に戻すことができる。また、その保
存していた回路状態にはテストベクタに関する情報を含
めないため、回路情報を保存した時とは別のテストベク
タを用いてシミュレーションを再開することができる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS (Embodiment 1) In a simulation method according to a first embodiment of the present invention, by saving a circuit state during a simulation, the circuit state can be arbitrarily returned to the saved circuit state. Can be. Further, since the information on the test vector is not included in the stored circuit state, the simulation can be restarted by using a different test vector than when the circuit information was stored.

【0015】図1は本発明のシミュレーション装置の構
成図である。図1において、1はネットリスト、2はテ
ストベクタ、3はシミュレーション実行処理部、4はシ
ミュレーション結果であり、これらは従来例の構成と同
じである。5はシミュレーション途中の回路状態を出力
する回路状態出力処理部である。6は回路状態出力処理
部5から出力された回路状態情報である。回路状態情報
6には回路状態出力時のネットリスト1内の各素子の論
理の値とスケジューリングされたイベントの情報が含ま
れている。しかしながらテストベクタ2に関する情報は
含まれない。7は回路状態情報6を読み込み、ネットリ
スト1の回路状態を回路状態情報6を出力した時と同じ
状態に戻す回路状態読み込み処理部である。
FIG. 1 is a block diagram of a simulation apparatus according to the present invention. In FIG. 1, reference numeral 1 denotes a netlist, 2 denotes a test vector, 3 denotes a simulation execution processing unit, and 4 denotes a simulation result, which are the same as those of the conventional example. Reference numeral 5 denotes a circuit state output processing unit that outputs a circuit state during the simulation. Reference numeral 6 denotes circuit state information output from the circuit state output processing unit 5. The circuit state information 6 includes information on the logic value of each element in the netlist 1 at the time of outputting the circuit state and information on the scheduled event. However, information on test vector 2 is not included. Reference numeral 7 denotes a circuit state read processing unit that reads the circuit state information 6 and returns the circuit state of the netlist 1 to the same state as when the circuit state information 6 was output.

【0016】次に本発明の第1の実施の形態のシミュレ
ーション方法のフローについて、図2の3つのテストベ
クタを用いてシミュレーションする場合の例を用いて説
明する。図3(a)にシミュレーションフローを示す。
まず始めにシミュレーションの対象となるネットリスト
を読み込む(ステップ101)。次にテストベクタを読
み込む(ステップ102)。この時のテストベクタはパ
ターンAである。次にパターンAが終了する時刻Tまで
シミュレーションを実行する(ステップ103)。次に
回路状態出力処理部5によりパターンAのシミュレーシ
ョンが終了した時刻Tの回路状態情報6を出力し、シミ
ュレーションを終了する(104)。ここまでの工程に
より3つのテストベクタの共通部分であるパターンAの
シミュレーションが終了したことになる。次にパターン
Bのシミュレーションを実行する。図3(b)に示すよ
うに、始めにネットリストを読み込む(ステップ10
5)。次に回路状態読み込み処理部処理部7により、工
程(ステップ104)で出力した回路状態情報を読み込
み、回路状態をパターンAのシミュレーションが終了し
た時刻Aの状態に戻す(ステップ106)。次にテスト
ベクタを読み込む(ステップ107)。このとき読み込
まれるパターンはBである。次にパターンBのシミュレ
ーションが終了するまで、シミュレーションを実行し終
了する(ステップ108)。
Next, the flow of the simulation method according to the first embodiment of the present invention will be described using an example in which simulation is performed using three test vectors shown in FIG. FIG. 3A shows a simulation flow.
First, a netlist to be simulated is read (step 101). Next, a test vector is read (step 102). The test vector at this time is pattern A. Next, the simulation is executed until time T when the pattern A ends (step 103). Next, the circuit state output processing unit 5 outputs the circuit state information 6 at the time T at which the simulation of the pattern A is completed, and ends the simulation (104). The simulation of the pattern A, which is a common part of the three test vectors, has been completed by the steps described above. Next, the simulation of the pattern B is performed. As shown in FIG. 3B, a net list is first read (step 10).
5). Next, the circuit state read processing unit 7 reads the circuit state information output in the step (step 104) and returns the circuit state to the state at the time A when the simulation of the pattern A is completed (step 106). Next, a test vector is read (step 107). The pattern read at this time is B. Next, the simulation is executed and terminated until the simulation of the pattern B is completed (step 108).

【0017】パターンC、Dについても工程(ステップ
107)の読み込むパターンをパターンC、Dとそれぞ
れ変えて、工程(ステップ105)〜(ステップ10
8)をパターンBのシミュレーション時と同様に実施す
る。従来方法では3回のパターンAのシミュレーション
を実行しなければ全てのパターンをシミュレーションで
きなかったのに対し、この方法を用いることで、パター
ンAのシミュレーションを1回実行するだけで全てのパ
ターンをシミュレーションすることができ、シミュレー
ション時間を削減することができる。
For patterns C and D, the patterns to be read in step (step 107) are changed to patterns C and D, respectively, and the steps (step 105) to (step 10) are performed.
8) is performed in the same manner as in the simulation of the pattern B. With the conventional method, all the patterns could not be simulated unless the simulation of pattern A was performed three times. By using this method, all the patterns were simulated only by executing the simulation of pattern A once. And the simulation time can be reduced.

【0018】本発明のシミュレーション装置とシミュレ
ーション方法により、複数のテストベクタを用いるシミ
ュレーションにおいて、テストベクタの前半部分が同じ
パターンであるようなテストベクタのシミュレーション
時間を削減することができる。
According to the simulation apparatus and the simulation method of the present invention, in a simulation using a plurality of test vectors, the simulation time of a test vector in which the first half of the test vector has the same pattern can be reduced.

【0019】(実施の形態2)本発明の第2の実施の形
態のシミュレーション方法は、第1の実施の形態におけ
るシミュレーション途中の回路状態を保存する処理とそ
の保存していた回路状態に戻す処理をテストベクタ側か
ら任意にコントロールできる構文を追加することによ
り、従来方法では過去から未来へ一方方向にしかシミュ
レーションできなかったのを自由に過去の状態に戻し、
前回とは違う条件でシミュレーションを実行することを
可能とするシミュレーション方法である。
(Embodiment 2) In the simulation method according to the second embodiment of the present invention, the processing for saving the circuit state during the simulation in the first embodiment and the processing for returning to the saved circuit state By adding a syntax that can be controlled arbitrarily from the test vector side, it is possible to freely return to the past state, while the conventional method could only simulate in one direction from the past to the future,
This is a simulation method that enables a simulation to be executed under conditions different from the previous time.

【0020】本発明の第2の実施の形態のシミュレーシ
ョン装置の構成は第1の実施の形態と同様であり、図1
に示す。但し、回路状態出力処理部5と回路状態読み込
み処理部7を自由にコントロールすることができる構文
がテストベクタ2に追加されている点が第1の実施の形
態と異なる。
The configuration of the simulation apparatus according to the second embodiment of the present invention is the same as that of the first embodiment, and FIG.
Shown in However, the second embodiment differs from the first embodiment in that a syntax that can freely control the circuit state output processing unit 5 and the circuit state read processing unit 7 is added to the test vector 2.

【0021】次に本発明の第2の実施の形態のシミュレ
ーション方法のフローについて図4のステートマシンの
シミュレーション例を用いて説明する。図4のステート
マシンではA,B,C,D,E,Fの6状態が存在し、
始めの状態をAとすると次の状態はBである。その次の
状態はテストパターンによってC,D,Eの3状態に分
岐し、次にF状態になり、次にA状態に戻るといった状
態遷移を示している。このステートマシンの全ての状態
をシミュレーションするにはA→B,B→C,B→D,
B→E,C→F,D→F,E→F,F→Aの8つの遷移
を行わせる必要がある。このステートマシンを従来方法
でシミュレーションする時のテストベクタのフローを図
5に示す。まず始めにA→Bの遷移を実行させる(ステ
ップ201)。次にB→Cの遷移を実行させる(ステッ
プ202)。次にC→Fの遷移を実行させる(ステップ
203)。次にF→Aの遷移を実行させる(ステップ2
04)。次にA→Bの遷移を実行させる(ステップ20
5)。次にB→Dの遷移を実行させる(ステップ20
6)。次にD→Fの遷移を実行させる(ステップ20
7)。次にF→Aの遷移を実行させる(ステップ20
8)。次にA→Bの遷移を実行させる(ステップ20
9)。次にB→Eの遷移を実行させる(ステップ21
0)。次にE→Fの遷移を実行させる(ステップ21
1)。このように従来方法ではシミュレーション途中で
回路状態を前の状態に任意に戻すことができないため、
ステップ201、ステップ205、ステップ209のA
→Bの遷移とステップ204、ステップ208のF→A
の遷移を複数回実行する必要がある。
Next, the flow of the simulation method according to the second embodiment of the present invention will be described using a simulation example of the state machine in FIG. In the state machine of FIG. 4, there are six states A, B, C, D, E, and F,
If the first state is A, the next state is B. The next state shows a state transition in which the test pattern branches into three states C, D, and E, then changes to the F state, and then returns to the A state. To simulate all states of this state machine, A → B, B → C, B → D,
It is necessary to perform eight transitions of B → E, C → F, D → F, E → F, and F → A. FIG. 5 shows a test vector flow when the state machine is simulated by the conventional method. First, a transition from A to B is executed (step 201). Next, a transition from B to C is executed (step 202). Next, a transition from C to F is executed (step 203). Next, a transition from F to A is executed (step 2).
04). Next, a transition from A to B is executed (step 20).
5). Next, a transition from B to D is executed (step 20).
6). Next, a transition from D to F is executed (step 20).
7). Next, a transition from F to A is executed (step 20).
8). Next, a transition from A to B is executed (step 20).
9). Next, a transition from B to E is executed (step 21).
0). Next, a transition from E to F is executed (step 21).
1). As described above, the conventional method cannot arbitrarily return the circuit state to the previous state during the simulation.
A of step 201, step 205, and step 209
→ B transition and F → A in step 204 and step 208
Must be executed multiple times.

【0022】次に本発明の第2の実施の形態のシミュレ
ーション方法を用いて図4のステートマシンをシミュレ
ーションする場合のテストベクターのフローを図6に示
す。まず始めにA→Bの遷移を実行させる(ステップ3
01)。次にテストベクタ内の命令により現在の回路状
態であるBの回路状態を出力し保存する(ステップ30
2)。次にB→Cの遷移を実行させる(ステップ30
3)。次にC→Fの遷移を実行させる(ステップ30
4)。次にF→Aの遷移を実行させる(ステップ30
5)。次にテストベクタ内の命令により(ステップ30
2)で保存してある回路状態を読み込みBの状態にする
(ステップ306)。次にB→Dの遷移を実行させる
(ステップ307)。次にD→Fの遷移を実行させる
(ステップ308)。次にテストベクタ内の命令によ
り、もう一度(ステップ302)で保存してある回路状
態を読み込みBの状態にする(ステップ309)。次に
B→Eの遷移を実行させる(ステップ310)。次にE
→Fの遷移を実行させる(ステップ311)。
Next, FIG. 6 shows a flow of a test vector when the state machine of FIG. 4 is simulated by using the simulation method according to the second embodiment of the present invention. First, a transition from A to B is executed (step 3
01). Next, the circuit state of the current circuit state B is output and stored according to the instruction in the test vector (step 30).
2). Next, a transition from B to C is executed (step 30).
3). Next, a transition from C to F is executed (step 30).
4). Next, a transition from F to A is executed (step 30).
5). Next, by an instruction in the test vector (step 30).
The circuit state stored in 2) is read and set to the state of B (step 306). Next, a transition from B to D is executed (step 307). Next, a transition from D to F is executed (step 308). Next, in accordance with the instruction in the test vector, the circuit state saved in step (302) is read again and set to the state of B (step 309). Next, a transition from B to E is executed (step 310). Then E
→ The transition of F is executed (step 311).

【0023】図7に図6のテストベクタフローを記述し
たテストベクタの記述例を示す。図7の40行目のsave
(“state B”)という構文が図6の(ステップ302)
の処理に相当する命令である。この構文はこの命令がコ
ールされた時の回路情報を回路状態出力処理部5により
“state B”という名前で回路状態情報6として出力せ
よという命令である。図7の80行目、および110行
目のload(“state B”)という構文が図6のステップ3
06およびステップ309の処理に相当する命令であ
る。この構文は回路状態出力処理部5から出力された
“state B”という名前の回路状態情報6を回路状態読
み込み処理部7により読み込ませ、“stateB”という名
前の回路状態を出力した時の回路状態に戻せという命令
である。回路状態情報6に“state B”というような名
前を付けているのは、戻したい回路状態が複数存在する
場合に回路状態情報6を識別するためである。
FIG. 7 shows a test vector description example describing the test vector flow of FIG. Save on line 40 in Figure 7
The syntax ((state B)) corresponds to (step 302) in FIG.
This is an instruction corresponding to the processing of. This syntax is an instruction to output circuit information when this instruction is called as circuit state information 6 under the name "state B" by the circuit state output processing unit 5. The syntax of load (“state B”) on lines 80 and 110 in FIG.
06 and an instruction corresponding to the processing of step 309. This syntax allows the circuit state reading unit 7 to read the circuit state information 6 named “state B” output from the circuit state output processing unit 5 and output the circuit state named “stateB”. It is an instruction to return to. The reason why the circuit state information 6 is given a name such as "state B" is to identify the circuit state information 6 when there are a plurality of circuit states to be returned.

【0024】このようにテストベクタ側から任意に回路
状態を戻すことができることにより、同じ遷移を複数回
実行するといった無駄を削減することができる。また、
回路状態を戻す処理をテストベクタ側から制御できるこ
とにより、回路の状態に合わせて任意の回路状態に戻す
といったプログラミング的な処理を実現することがで
き、効率的にテストベクタを記述することができる。
Since the circuit state can be arbitrarily returned from the test vector side, it is possible to reduce waste such as executing the same transition a plurality of times. Also,
Since the process of returning the circuit state can be controlled from the test vector side, it is possible to realize a programming process of returning to an arbitrary circuit state according to the state of the circuit, and to efficiently describe the test vector.

【0025】本発明の第2の実施の形態のシミュレーシ
ョン方法と装置により、ステートマシンのような複数回
同一の状態が存在するようなシミュレーションにおい
て、同じ遷移を複数回実行するといった無駄を削減する
ことができ、シミュレーション時間を削減することがで
きる。
By using the simulation method and apparatus according to the second embodiment of the present invention, it is possible to reduce the waste of executing the same transition a plurality of times in a simulation such as a state machine in which the same state exists a plurality of times. And the simulation time can be reduced.

【0026】[0026]

【発明の効果】請求項1記載のシミュレーション方法に
よれば、共通のパターンの回路状態を読み出し可能に保
存し、必要時に読み出してシミュレーションすることに
より、共通のパターンの回路状態を複数回シミュレーシ
ョンすることによるシミュレーション時間の無駄を削減
することができる。
According to the simulation method of the first aspect, the circuit state of the common pattern is stored in a readable manner, and the circuit state of the common pattern is simulated a plurality of times by reading and simulating the circuit state when necessary. Simulation time can be reduced.

【0027】請求項2記載のシミュレーション方法によ
れば、複数のテストベクタを用いるシミュレーションに
おいて、テストベクタの前半部分が同じパターンである
ようなテストベクタのシミュレーション時間を削減する
ことができる。
According to the simulation method of the second aspect, in a simulation using a plurality of test vectors, the simulation time of a test vector in which the first half of the test vector has the same pattern can be reduced.

【0028】請求項3記載のシミュレーション方法によ
れば、ステートマシンのような複数回同一の状態が存在
するようなシミュレーションにおいて、同じ遷移を複数
回実行するといった無駄を削減することができ、シミュ
レーション時間を削減することができる。
According to the simulation method of the third aspect, in a simulation in which the same state exists a plurality of times, such as in a state machine, it is possible to reduce the waste of executing the same transition a plurality of times. Can be reduced.

【0029】請求項4記載のシミュレーション装置によ
れば、請求項1と同様な効果がある。
According to the simulation apparatus of the fourth aspect, the same effect as that of the first aspect is obtained.

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

【図1】本発明のシミュレーション装置の構成図であ
る。
FIG. 1 is a configuration diagram of a simulation device of the present invention.

【図2】複数のテストベクタを示す説明図である。FIG. 2 is an explanatory diagram showing a plurality of test vectors.

【図3】本発明の第1の実施の形態のシミュレーション
のフロー図である。
FIG. 3 is a flowchart of a simulation according to the first embodiment of the present invention.

【図4】本発明の第2の実施の形態のシミュレーション
方法のフローについてのステートマシンの説明図であ
る。
FIG. 4 is an explanatory diagram of a state machine regarding a flow of a simulation method according to a second embodiment of the present invention.

【図5】第2の実施の形態に対応する従来のテストベク
ターのフロー図である。
FIG. 5 is a flowchart of a conventional test vector corresponding to the second embodiment.

【図6】本発明の第2の実施の形態のステートマシンを
シミュレーションする場合のテストベクターのフロー図
である。
FIG. 6 is a flowchart of a test vector when simulating the state machine according to the second embodiment of this invention.

【図7】本発明のテストベクタフローを記述したテスト
ベクタの記述例図である。
FIG. 7 is a diagram illustrating a test vector description example describing a test vector flow according to the present invention;

【図8】従来シミュレーション装置の構成図である。FIG. 8 is a configuration diagram of a conventional simulation device.

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

1 ネットリスト 2 テストベクタ 3 シミュレーション実行処理部 4 シミュレーション結果 5 回路状態出力処理部 6 回路状態情報 7 回路状態読み込み処理部 DESCRIPTION OF SYMBOLS 1 Net list 2 Test vector 3 Simulation execution processing part 4 Simulation result 5 Circuit state output processing part 6 Circuit state information 7 Circuit state reading processing part

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 回路情報を記述したネットリストを、テ
ストパターンを記述したテストベクタに基づいてシミュ
レーションし、回路が仕様通りに動作することを検証す
るシミュレーション方法であって、前記シミュレーショ
ンの途中の回路状態を前記テストベクタの情報とは別に
読み出し可能に保存する工程を含むシミュレーション方
法。
1. A simulation method for simulating a netlist describing circuit information based on a test vector describing a test pattern, and verifying that the circuit operates as specified. A simulation method including a step of storing a state in a readable manner separately from the information of the test vector.
【請求項2】 保存したシミュレーション途中の回路状
態を読み出す工程を有し、前記回路状態の読み出し後に
前記回路状態の保存時と異なるテストベクタとを用いて
シミュレーションする工程を有する請求項1記載のシミ
ュレーション方法。
2. The simulation according to claim 1, further comprising the step of reading the stored circuit state during the simulation, and the step of performing a simulation using a test vector different from that at the time of storing the circuit state after reading the circuit state. Method.
【請求項3】 保存したシミュレーション途中の回路状
態を読み出す工程を有し、前記シミュレーション途中の
回路状態を保存する工程と前記回路状態を読み出す工程
をテストベクタにより制御する工程を有する請求項1記
載のシミュレーション方法。
3. The method according to claim 1, further comprising the step of reading the stored circuit state during the simulation, and the step of controlling the circuit state during the simulation and the step of reading the circuit state using a test vector. Simulation method.
【請求項4】 回路情報を記述したネットリストを、テ
ストパターンを記述したテストベクタに基づいてシミュ
レーションするシミュレーション実行処理部と、このシ
ミュレーション実行処理部のシミュレーション途中の回
路状態を出力し保存する回路状態出力処理部と、この回
路状態出力処理部より読み出し前記シミュレーション実
行処理部を前記シミュレーション途中の回路状態に戻す
回路状態読み込み処理部とを備えたシミュレーション装
置。
4. A simulation execution processing unit for simulating a netlist describing circuit information based on a test vector describing a test pattern, and a circuit state for outputting and storing a circuit state during the simulation of the simulation execution processing unit A simulation apparatus comprising: an output processing unit; and a circuit state reading processing unit that reads from the circuit state output processing unit and returns the simulation execution processing unit to the circuit state during the simulation.
JP2000150843A 2000-05-23 2000-05-23 Method and device for simulation Pending JP2001331544A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000150843A JP2001331544A (en) 2000-05-23 2000-05-23 Method and device for simulation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000150843A JP2001331544A (en) 2000-05-23 2000-05-23 Method and device for simulation

Publications (1)

Publication Number Publication Date
JP2001331544A true JP2001331544A (en) 2001-11-30

Family

ID=18656484

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000150843A Pending JP2001331544A (en) 2000-05-23 2000-05-23 Method and device for simulation

Country Status (1)

Country Link
JP (1) JP2001331544A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011237841A (en) * 2010-04-30 2011-11-24 Fujitsu Ltd Verification support program, verification support device, and verification support method
US8543953B2 (en) * 2012-01-04 2013-09-24 Apple Inc. Automated stimulus steering during simulation of an integrated circuit design

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011237841A (en) * 2010-04-30 2011-11-24 Fujitsu Ltd Verification support program, verification support device, and verification support method
US8671372B2 (en) 2010-04-30 2014-03-11 Fujitsu Limited Verification support computer product, apparatus, and method
US8832636B2 (en) 2010-04-30 2014-09-09 Fujitsu Limited Verification support computer product, apparatus, and method
US8543953B2 (en) * 2012-01-04 2013-09-24 Apple Inc. Automated stimulus steering during simulation of an integrated circuit design

Similar Documents

Publication Publication Date Title
US8468475B2 (en) Conversion of circuit description to an abstract model of the circuit
US7246052B2 (en) Bus master and bus slave simulation using function manager and thread manager
US5960182A (en) Hardware-software co-simulation system, hardware-software co-simulation method, and computer-readable memory containing a hardware-software co-simulation program
USRE43623E1 (en) Method and apparatus for simulating logic circuits that include a circuit block to which power is not supplied
JP2001357090A (en) Method and device for synthesizing logic
JP2010170180A (en) Circuit verification device and program
JP2001331544A (en) Method and device for simulation
US7058557B2 (en) Method for functional verification of hardware design
US7031900B1 (en) Static scheduling of test cases
US7962796B2 (en) State testing device and methods thereof
CN114218032A (en) Hardware design verification method and device, electronic equipment and storage medium
JP2000268074A (en) Device and method for automatically generating verification program and device and method for automatically generating property
JP3171182B2 (en) Function synthesizing method, function synthesizing apparatus and recording medium thereof
JP2967174B2 (en) Design equipment
JP4484048B2 (en) Hardware / software co-verification system
JP2002259487A (en) Method and device for simulating multiple power supply circuit
JPH06300814A (en) Integrated circuit and its test method
JP4182279B2 (en) Logic verification method and program
JP2003067010A (en) Bit arithmetic controller and programmable logic controller equipped with same
JP3130881B2 (en) Timing specification verification method
JPH0863510A (en) Logical simulation device
JPH11259555A (en) Design method for macro
JP3696302B2 (en) Test vector generation method and generation apparatus
JP2003256493A (en) Tester simulation apparatus and tester simulation method
JP2972499B2 (en) Logic circuit delay simulator