Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2748396B2 - Logic simulation method - Google Patents
[go: Go Back, main page]

JP2748396B2 - Logic simulation method - Google Patents

Logic simulation method

Info

Publication number
JP2748396B2
JP2748396B2 JP63079955A JP7995588A JP2748396B2 JP 2748396 B2 JP2748396 B2 JP 2748396B2 JP 63079955 A JP63079955 A JP 63079955A JP 7995588 A JP7995588 A JP 7995588A JP 2748396 B2 JP2748396 B2 JP 2748396B2
Authority
JP
Japan
Prior art keywords
fan
logic
simulation
logic circuit
information
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.)
Expired - Lifetime
Application number
JP63079955A
Other languages
Japanese (ja)
Other versions
JPH01253068A (en
Inventor
正信 高橋
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.)
NEC Corp
Original Assignee
Nippon Electric 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP63079955A priority Critical patent/JP2748396B2/en
Publication of JPH01253068A publication Critical patent/JPH01253068A/en
Application granted granted Critical
Publication of JP2748396B2 publication Critical patent/JP2748396B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、論理回路の論理シミュレーション方式に関
する。
Description: TECHNICAL FIELD The present invention relates to a logic simulation method for a logic circuit.

〔従来の技術〕[Conventional technology]

一般に、論理回路の論理設計が一応完了すると、その
論理回路の正常性を検証するため、検証入力データに従
って論理シミュレーションが行われる。そして、その
後、上記の論理回路に対し何等かの論理変更が施された
場合、従来は、その変更回路を含んだ変更後の論理回路
に対して再度同じ検証入力データを使用した論理シミュ
レーションを行い、この変更後の論理回路の正常性を検
証している。
Generally, once the logic design of a logic circuit is completed, a logic simulation is performed in accordance with verification input data to verify the normality of the logic circuit. After that, if any logic change is made to the above-described logic circuit, conventionally, a logic simulation using the same verification input data is performed again on the changed logic circuit including the changed circuit. The normality of the logic circuit after this change is verified.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

上述した従来の論理シミュレーション方式は、論理回
路の一部の論理変更でも、変更前論理回路の論理シミュ
レーション結果を再利用することなく、変更後論理回路
の全ての論理回路の論理シミュレーションを再実行して
その論理変更の正常性を検証している為、多くの計算機
リソースが必要になるという問題点があった。
In the above-described conventional logic simulation method, even if a part of the logic circuit is changed, the logic simulation of all the logic circuits of the changed logic circuit is re-executed without reusing the logic simulation result of the changed logic circuit. However, since the normality of the logical change is verified, a large amount of computer resources are required.

本発明はこのような事情に鑑みてなされたものであ
り、その目的は、論理回路の一部に論理変更があった場
合、少ない計算機リソースで論理シミュレーションが可
能な論理シミュレーション方式を提供することにある。
The present invention has been made in view of such circumstances, and an object of the present invention is to provide a logic simulation method capable of performing a logic simulation with a small amount of computer resources when a part of a logic circuit undergoes a logic change. is there.

〔課題を解決するための手段〕[Means for solving the problem]

本発明は上記目的を達成するために、論理設計された
変更前論理回路に対して論理変更が加えられた変更後論
理回路の論理シミュレーションにおいて、 前記変更後論理回路内の変更箇所から全経路のファン
アウトトレースを行ない変更箇所に接続されている出力
端子を求めるファンアウトトレース手段と、 前記ファンアウトトレース手段によりファンアウトト
レースされた全ての出力端子から入力端子までの全経路
のファンイントレースを行うファンイントレース手段
と、 前記ファンアウトトレース手段によりファンアウトト
レースされなかった出力端子をシミュレーション対象外
出力端子群情報として記憶するシミュレーション対象外
出力端子群情報記憶手段と、 前記ファンイントレース手段の結果に基づきシミュレ
ーション対象論理回路情報を作成するシミュレーション
対象回路作成手段と、 前記変更前論理回路の論理シミュレーション結果と、
前記変更前論理回路の論理シミュレーションに用いたと
同一の入力パターンを用いて前記シミュレーション対象
論理回路情報に基づいて論理シミュレーションされた論
理シミュレーション結果と、前記シミュレーション対象
外出力端子群情報とを編集して前記変更後論理回路全体
のシミュレーション結果を生成するシミュレーション結
果編集手段とを有する。
In order to achieve the above object, the present invention provides a logic simulation of a logic circuit after a change in which a logic change is made to a logic circuit before a change in logic design, wherein all paths from a changed portion in the logic circuit after the change are Fan-out tracing means for performing fan-out tracing to find an output terminal connected to the changed portion; and performing fan-in tracing of all paths from the output terminal to the input terminal which are fan-out traced by the fan-out tracing means. Fan-in tracing means; non-simulated output terminal group information storage means for storing output terminals not fan-out traced by the fan-out tracing means as non-simulated output terminal group information; Simulation target logic times based on Simulation target circuit creating means for creating path information, and a logic simulation result of the logic circuit before change,
The logic simulation result based on the simulation target logic circuit information using the same input pattern as that used for the logic simulation of the logic circuit before the change, and a logic simulation result, and the non-simulation target output terminal group information are edited. Simulation result editing means for generating a simulation result of the entire logic circuit after the change.

〔作用〕[Action]

変更後論理回路の論理シミュレーションを行う場合、
ファンアウトトレース手段は、変更後論理回路内の変更
箇所から全経路のファンアウトトレースを行ない変更箇
所に接続されている出力端子を求め、ファンイントレー
ス手段は、ファンアウトトレース手段によりファンアウ
トトレースされた全ての出力端子から入力端子までの全
経路のファンイントレースを行い、その出力端子に接続
されている全ての素子を求める。そして、シミュレーシ
ョン対象外出力端子群情報記憶手段は、ファンアウトト
レース手段によりファンアウトトレースされなかった出
力端子をシミュレーション対象外出力端子群情報として
記憶すると共に、シミュレーション対象回路作成手段
は、ファンイントレース手段の結果に基づき、変更箇所
の加入によって新たに論理シミュレーションをしなけれ
ばならない素子だけを変更後論理回路から抽出しシミュ
レーション対象論理回路情報を作成する。次に、このシ
ミュレーション対象論理回路情報に対して変更前論理回
路の論理シミュレーションに用いたと同一の入力パター
ンを用いて論理シミュレーションを行う。そして、シミ
ュレーション結果編集手段は、変更前論理回路の論理シ
ミュレーション結果と、シミュレーション対象論理回路
情報の論理シミュレーション結果と、シミュレーション
対象外出力端子群情報とを編集して変更後論理回路全体
のシミュレーション結果を生成する。従って、変更箇所
の加入によって論理シミュレーション結果に影響を与え
ない素子については変更前論理回路の論理シミュレーシ
ョン結果を有効に再利用し、変更箇所の加入によって論
理シミュレーション結果に影響を与える素子についてだ
け論理シミュレーションを行い、これらの結果を編集し
て変更後論理回路の論理シミュレーション結果とする
為、変更後論理回路の論理シミュレーションに使用する
計算機リソースを大幅に低減することが可能となる。
When performing a logic simulation of the changed logic circuit,
The fan-out tracing means performs a fan-out tracing of all the paths from the changed portion in the logic circuit after the change to obtain an output terminal connected to the changed portion. Then, fan-in tracing is performed on all paths from all output terminals to input terminals, and all elements connected to the output terminals are obtained. The non-simulation target output terminal group information storage means stores the output terminals not fan-out traced by the fan-out trace means as non-simulation output terminal group information, and the simulation target circuit creation means includes a fan-in trace means. Based on the result of (1), only elements that need to be newly subjected to logic simulation by adding a changed part are extracted from the changed logic circuit to create simulation target logic circuit information. Next, a logic simulation is performed on the simulation target logic circuit information using the same input pattern used in the logic simulation of the logic circuit before the change. The simulation result editing means edits the logic simulation result of the logic circuit before change, the logic simulation result of the logic circuit information to be simulated, and the output terminal group information not to be simulated to obtain the simulation result of the entire logic circuit after change. Generate. Therefore, for elements that do not affect the logic simulation result by adding the changed part, the logic simulation result of the logic circuit before the change is effectively reused, and only the elements that affect the logic simulation result by the addition of the changed part are subjected to the logic simulation. Then, these results are edited and the result of the logic simulation of the changed logic circuit is obtained, so that the computer resources used for the logic simulation of the changed logic circuit can be significantly reduced.

〔実施例〕〔Example〕

次に本発明の実施例について図面を参照して説明す
る。
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の実施例の構成図であり、シミュレー
ション対象回路作成手段1は、変更前論理回路情報10と
変更後論理回路情報11とを入力情報として、ファンアウ
トトレース手段2とファンイントレース手段3とを制御
して、シミュレーション対象論理回路情報4とシミュレ
ーション対象外出力端子群情報5とを出力し、論理シミ
ュレーション手段6は、変更前論理回路情報10と入力パ
ターン情報12とを入力情報として変更前論理回路結果情
報13を出力するか、あるいはシミュレーション対象回路
作成手段1の出力であるシミュレーション対象論理回路
情報4と、入力パターン情報12とを入力情報として対象
論理回路結果情報7を出力し、シミュレーション結果編
集手段8は、シミュレーション対象回路作成手段1の出
力結果であるシミュレーション対象外出力端子群情報5
と、論理シミュレーション手段6の出力結果である変更
前論理回路結果情報13および対象論理回路結果情報7と
を入力情報として変更後論理回路結果情報9を出力す
る。
FIG. 1 is a block diagram of an embodiment of the present invention, wherein a simulation target circuit creating means 1 receives a pre-change logic circuit information 10 and a post-change logic circuit information 11 as input information, The tracing means 3 is controlled to output the simulation target logic circuit information 4 and the non-simulation target output terminal group information 5, and the logic simulation means 6 outputs the pre-change logic circuit information 10 and the input pattern information 12 to the input information. The logic circuit result information 13 before the change is output, or the target logic circuit result information 7 is output using the simulation target logic circuit information 4 output from the simulation target circuit creation means 1 and the input pattern information 12 as input information. The simulation result editing means 8 outputs the simulation result which is the output result of the simulation target circuit creation means 1. ® emissions target go out force terminal group information 5
And the logic circuit result information 13 before change and the target logic circuit result information 7 which are the output results of the logic simulation means 6, and the logic circuit result information 9 after change is output.

変更前論理回路情報10は、論理回路の設計が一応完了
したときの論理回路を構成する素子,各素子間の接続情
報等を含んでいる。
The pre-change logic circuit information 10 includes elements constituting the logic circuit when the design of the logic circuit has been completed, connection information between the elements, and the like.

変更後論理回路情報11は、変更前論理回路情報10に対
応する論理回路の一部に変更が加えられた後の論理回路
を構成する素子,各素子間の接続情報等を含んでいる。
The post-change logic circuit information 11 includes elements constituting the logic circuit after a part of the logic circuit corresponding to the pre-change logic circuit information 10 has been changed, connection information between the elements, and the like.

ファンアウトトレース手段2は、論理回路の変更が加
えられた変更箇所から全経路を公知の手段でファンアウ
トトレースして変更箇所に接続されている全ての出力端
子を求める。
The fan-out tracing means 2 performs a fan-out tracing of the entire path from the changed portion where the change of the logic circuit is made by a known means, and obtains all output terminals connected to the changed portion.

ファンイントレース手段3は、ファンアウトトレース
手段2により求められた出力端子から入力端子までの全
経路を公知の手段でファンイントレースして、この出力
端子に接続されている全ての素子を求める。
The fan-in tracing means 3 performs a fan-in tracing on the entire path from the output terminal to the input terminal obtained by the fan-out tracing means 2 by a known means, and obtains all elements connected to the output terminal.

シミュレーション対象回路作成手段1は、変更前論理
回路情報10と変更後論理回路情報11に基づいて、シミュ
レーション対象論理回路情報4とシミュレーション対象
外出力端子群情報5とを出力する。即ち、変更前論理回
路情報10と変更後論理回路情報11とを入力情報として、
先ず、変更前論理回路情報10と変更後論理回路情報11と
を照合し、変更後論理回路情報11が変更前論理回路情報
10に対して素子,各素子間の接続情報等が異なる変更箇
所を変更後論理回路情報11から抽出する。そして、ファ
ンアウトトレース手段2を制御して変更箇所に接続して
いる出力端子を全て求めると共に、ファンアウトトレー
ス手段2の結果によりファンアウトトレースされなかっ
た出力端子をシミュレーション対象外出力端子群情報5
として出力する。次に、ファンイントレース手段3を制
御して、ファンアウトトレース手段2によりファンアウ
トトレースされた出力端子に接続している全ての素子を
求める。そして、変更後論理回路情報11内の入力端子の
ファンアウト素子がファンイントレース手段3により、
ファンイントレースされた否かを判定し、ファンイント
レースされていないときは、そのファンアウト素子は変
更箇所に関係しない為、入力端子とそのファンアウト素
子間の接続を断ち切る。他方、ファンイントレースされ
ているときは、変更箇所に関係する為、接続関係はその
ままとする。そして、これらの処理がなされた結果をシ
ミュレーション対象論理回路としてシミュレーション対
象論理回路情報4に出力する。このような処理を行うシ
ミュレーション対象回路作成手段1の処理例を第2図に
示す。
The simulation target circuit creation means 1 outputs the simulation target logic circuit information 4 and the non-simulation target output terminal group information 5 based on the pre-change logic circuit information 10 and the post-change logic circuit information 11. That is, the pre-change logic circuit information 10 and the post-change logic circuit information 11 are input information,
First, the pre-change logic circuit information 10 and the post-change logic circuit information 11 are compared, and the post-change logic circuit information 11 is
With respect to 10, a changed part in which elements, connection information between elements, and the like are different is extracted from the changed logic circuit information 11. Then, the fan-out tracing means 2 is controlled to obtain all the output terminals connected to the changed portion, and the output terminals which have not been subjected to the fan-out tracing according to the result of the fan-out tracing means 2 are excluded from the simulation target output terminal group information 5.
Output as Next, the fan-in tracing means 3 is controlled to obtain all the elements connected to the output terminal which has been fan-out traced by the fan-out tracing means 2. Then, the fan-out element of the input terminal in the changed logic circuit information 11 is
It is determined whether or not the fan-in trace has been performed. If the fan-in trace has not been performed, the connection between the input terminal and the fan-out element is cut off because the fan-out element is not related to the changed portion. On the other hand, when the fan-in trace is performed, the connection relationship is kept as it is related to the changed portion. Then, the result of these processes is output to the simulation target logic circuit information 4 as a simulation target logic circuit. FIG. 2 shows a processing example of the simulation target circuit creating means 1 for performing such processing.

入力パターン情報12は、論理シミュレーション手段6
に加える検証入力データ等の情報を含んでいる。
The input pattern information 12 is stored in the logic simulation unit 6.
And information such as verification input data to be added.

論理シミュレーション手段6は、変更前論理回路情報
10と変更後論理回路情報11とに対して論理シミュレーシ
ョンを行う。これは例えば以下のように行われる。
The logic simulation means 6 outputs the logic circuit information before change.
A logic simulation is performed on 10 and the changed logic circuit information 11. This is performed, for example, as follows.

論理回路が作成されたときは、論理シミュレーション
手段6は変更前論理回路情報10と入力パターン情報12と
を入力情報として、入力パターン情報12に従って変更前
論理回路情報10の論理シミュレーションを公知の手段に
より行い、変更前論理回路情報10の論理シミュレーショ
ン結果である変更前論理回路結果情報13を出力する。そ
してこの変更前論理回路結果情報13により論理回路の正
常性が検証される。
When the logic circuit is created, the logic simulation means 6 uses the pre-change logic circuit information 10 and the input pattern information 12 as input information and performs a logic simulation of the pre-change logic circuit information 10 according to the input pattern information 12 by a known means. Then, the logic circuit result information 13 before the change, which is the result of the logic simulation of the logic circuit information 10 before the change, is output. Then, the normality of the logic circuit is verified by the pre-change logic circuit result information 13.

その後、何等かの論理変更が生じたときは、その変更
を施した論理回路の情報(変更後論理回路情報11)に対
し論理シミュレーションを行うが、このとき論理シミュ
レーション手段6は、シミュレーション対象回路作成手
段1の出力結果であるシミュレーション対象論理回路情
報4と入力パターン情報12とを入力情報として、入力パ
ターン情報12に従ってシミュレーション対象論理回路情
報4の論理シミュレーションを公知の手段で行い、シミ
ュレーション対象論理回路情報4の論理シミュレーショ
ン結果である対象論理回路結果情報7を出力する。
Thereafter, when any logical change occurs, a logical simulation is performed on the information of the changed logical circuit (the changed logical circuit information 11). At this time, the logical simulation means 6 creates the simulation target circuit. Using the simulation target logic circuit information 4 and the input pattern information 12 which are the output results of the means 1 as input information, a logic simulation of the simulation target logic circuit information 4 is performed by a known means in accordance with the input pattern information 12, and the simulation target logic circuit information The target logic circuit result information 7 which is the result of the logic simulation of No. 4 is output.

シミュレーション結果編集手段8は、シミュレーショ
ン対象外出力端子群情報5と対象論理回路結果情報7と
変更前論理回路結果情報13とを入力情報として、これら
の入力情報を編集して変更後論理回路結果情報9を出力
する。即ち、シミュレーション結果編集手段8は、論理
回路に論理変更が生じる前、論理シミュレーション手段
6が既に出力してある変更前論理回路結果情報13と、論
理回路に論理変更が生じた後、論理シミュレーション手
段6が出力した対象論理回路結果情報7と、シミュレー
ション対象回路作成手段1が出力したシミュレーション
対象外出力端子群情報5とを入力情報として、先ず、シ
ミュレーション対象外出力端子群情報5に登録されてい
る出力端子については、変更前論理回路結果情報13に登
録されているこれらの出力端子に対応するシミュレーシ
ョン結果を変更後論理回路結果情報9に出力する。次
に、シミュレーション対象外出力端子群情報5に登録さ
れていない出力端子については、対象論理回路結果情報
7に登録されているこれらの出力端子に対応するシミュ
レーション結果を変更後論理回路結果情報9に出力す
る。この結果、変更後論理回路結果情報9には、変更後
論理回路情報11の全体の論理シミュレーション結果が出
力されることになる。
The simulation result editing means 8 edits the input information by using the non-simulation target output terminal group information 5, the target logic circuit result information 7, and the pre-change logic circuit result information 13 as input information, and edits the input information. 9 is output. That is, the simulation result editing means 8 performs the logic simulation means before the logic circuit change, the logic circuit result information 13 before the change already output by the logic simulation means 6 and the logic simulation means after the logic change occurs in the logic circuit. First, the non-simulation target output terminal group information 5 registered in the non-simulation target output terminal group information 5 is input with the target logic circuit result information 7 output by 6 and the non-simulation output terminal group information 5 output by the simulation target circuit creation means 1. As for the output terminals, the simulation results corresponding to these output terminals registered in the pre-change logic circuit result information 13 are output to the post-change logic circuit result information 9. Next, for output terminals not registered in the non-simulation target output terminal group information 5, the simulation results corresponding to these output terminals registered in the target logic circuit result information 7 are added to the post-change logic circuit result information 9. Output. As a result, the entire logic simulation result of the changed logic circuit information 11 is output to the changed logic circuit result information 9.

次に、本実施例の動作を便宜上想定した第3図の論理
回路を基にして説明する。なお、本図は、入力端子100,
100−1〜101−n,102−1〜102−nと、素子200,201−
1〜201−n,202−1〜202−nと、出力端子500−1〜50
0−n,501−1〜501−n,600−1〜600−nと、変更箇所
Xとを含み、ファンアウトトレース範囲20は、変更箇所
Xに対してファンアウトトレース手段2によりファンア
ウトトレースされた結果得られるファンアウトトレース
対象範囲、ファンイントレース範囲21、ファンアウトト
レース範囲20内の出力端子に対してファンイントレース
手段3によりファンイントレースされた結果得られたフ
ァンイントレース対象範囲である。
Next, the operation of the present embodiment will be described based on the logic circuit of FIG. 3 which is assumed for convenience. Note that this drawing shows input terminal 100,
100-1 to 101-n, 102-1 to 102-n and elements 200, 201-
1-201-n, 202-1 to 202-n and output terminals 500-1 to 50
0-n, 501-1 to 501-n, 600-1 to 600-n, and a changed portion X, and the fan-out trace range 20 is defined by the fan-out tracing means 2 for the changed portion X. The fan-in trace target range obtained as a result of the fan-in trace performed by the fan-in trace means 3 for the output terminals within the fan-out trace target range, the fan-in trace range 21, and the fan-out trace range 20 obtained as a result. is there.

外部より論理シミュレーションの開始が指示される
と、先ず、シミュレーション対象回路作成手段1が動作
する。第2図のシミュレーション対象回路作成手段1の
ステップS1により変更前論理回路情報10と変更後論理回
路情報11とが照合され、変更箇所として第3図に示す変
更箇所Xが取出される。そしてステップS2によりファン
アウトトレース手段2が起動される。
When the start of the logic simulation is instructed from the outside, first, the simulation target circuit creating means 1 operates. In step S1 of the simulation target circuit creating means 1 in FIG. 2, the before-change logic circuit information 10 and the after-change logic circuit information 11 are collated, and a changed portion X shown in FIG. 3 is extracted as a changed portion. Then, the fan-out tracing means 2 is activated in step S2.

これに応答して、ファンアウトトレース手段2は変更
箇所Xから出力端子までの全経路をファンアウトトレー
スして求める。この結果、第3図に示す例えばファンア
ウトトレース範囲20が求められる。
In response, the fan-out tracing means 2 obtains the entire path from the changed portion X to the output terminal by fan-out tracing. As a result, for example, a fan-out trace range 20 shown in FIG. 3 is obtained.

次に、ステップS3により、ファンアウトトレース手段
2により求められたファンアウトトレース範囲20内の一
つの出力端子、例えば出力端子600−1が取出され、ス
テップS4によりファンイントレース手段3が起動され
る。
Next, in step S3, one output terminal, for example, the output terminal 600-1, within the fan-out trace range 20 obtained by the fan-out trace means 2 is extracted, and the fan-in trace means 3 is activated in step S4. .

起動されたファンイントレース手段3は、取出された
出力端子600−1から入力端子までのファンイントレー
スを行い出力端子600−1に接続されている全ての素子
を求める。
The activated fan-in tracing means 3 performs fan-in tracing from the output terminal 600-1 to the input terminal, and obtains all elements connected to the output terminal 600-1.

そして、ステップS5により未だファンイントレースさ
れていない出力端子が有るか否かが判定され、残りの出
力端子全てに対してステップS3〜ステップS5の処理がな
され、第3図に示す例えばファンイントレース範囲21が
求められる。
Then, in step S5, it is determined whether there is an output terminal that has not been fan-in traced yet, and the processing of steps S3 to S5 is performed on all the remaining output terminals. A range 21 is required.

次にステップS6により未だ処理されていない変更箇所
が有るか否かが判定される。このときは変更箇所はXだ
けと仮定しているので、ステップS7に進み、ファンアウ
トトレース手段2によりファンアウトトレースされなか
った出力端子500−1〜500−n,501−1〜501−nが論理
シミュレーション対象外出力端子としてシミュレーショ
ン対象外出力端子群情報5に出力される。
Next, it is determined in step S6 whether or not there is a changed portion that has not been processed yet. At this time, since it is assumed that the changed portion is only X, the process proceeds to step S7, and the output terminals 500-1 to 500-n and 501-1 to 501-n, which have not been fan-out traced by the fan-out trace means 2, are set. It is output to the non-simulation target output terminal group information 5 as a logic simulation non-target output terminal.

次に、ステップS8で第3図の例えば入力端子101−1
が取出され、ステップS9で入力端子101−1のファンア
ウト素子、例えば素子201−1が取出され、ステップS10
により、素子201−1がファンイントレース手段3によ
りファンイントレースされたか否かが判定される。この
素子201−1はファンイントレース範囲21の範囲外であ
りファンイントレース手段3によりファンイントレース
されていないので、ステップS11により入力端子101−1,
素子201−1間の接続を断ち切る。そしてステップS12に
より入力端子101−1に未だファンアウト素子が有るか
否かが判定される。入力端子101−1には未だファンア
ウト素子201−2が有るので再度ステップS9により素子2
01−2が取出され、ステップS10により、ファンイント
レース手段3によりファンイントレースされたか否かが
判定される。このときは、ファンイントレース範囲21の
範囲内でありファンイントレース手段3によりファンイ
ントレースされているので、入力端子101−1,素子201−
2間の接続はそのままとし、ステップS12により入力端
子101−1に未だファンアウト素子が接続されているか
否かが判定される。このときはファンアウト素子は無い
ので、ステップS13により未だ処理されていない入力端
子があるか否かが判定され、残りの全ての入力端子に対
してステップS8〜ステップS13の処理がなされ、第3図
に示すように入力端子100と素子200間の接続、入力端子
101−1と素子201−1間の接続、入力端子102−1と素
子202−1間の接続、…、入力端子102−nと素子202−
n間の接続がそれぞれ断ち切られる。この結果、入力端
子100,101−1〜101−n,102−1〜102−nとファンイン
トレース手段3によりファンイントレースされたファン
イントレース範囲21とが論理シミュレーション対象論理
回路としてシミュレーション対象論理回路情報4に出力
される。
Next, in step S8, for example, the input terminal 101-1 of FIG.
Is taken out, and in step S9, the fan-out element of the input terminal 101-1 such as the element 201-1 is taken out.
Thus, it is determined whether or not the element 201-1 has been fan-in traced by the fan-in trace means 3. Since the element 201-1 is out of the fan-in tracing range 21 and has not been fan-in traced by the fan-in tracing means 3, the input terminals 101-1 and 101-1,
The connection between the elements 201-1 is cut off. Then, in step S12, it is determined whether or not the input terminal 101-1 still has a fan-out element. Since the input terminal 101-1 still has the fan-out element 201-2, the element 2 is again determined in step S9.
01-2 is extracted, and it is determined in step S10 whether the fan-in tracing means 3 has performed fan-in tracing. At this time, the input terminal 101-1 and the element 201- are within the fan-in trace range 21 and are fan-in traced by the fan-in trace means 3.
The connection between the two is left as it is, and it is determined in step S12 whether or not a fan-out element is still connected to the input terminal 101-1. At this time, since there is no fan-out element, it is determined in step S13 whether there is any input terminal that has not been processed yet, and the processing in steps S8 to S13 is performed on all remaining input terminals, and the third processing is performed. Connection between input terminal 100 and element 200, input terminal as shown
.., The connection between the input terminal 102-1 and the element 202-1,..., The input terminal 102-n and the element 202-
The connection between n is disconnected. As a result, the input terminals 100, 101-1 to 101-n, 102-1 to 102-n and the fan-in trace area 21 fan-in traced by the fan-in trace means 3 are used as the logic circuit to be subjected to logic simulation. 4 is output.

次に、論理シミュレーション手段6が起動される。論
理シミュレーション手段6は入力パターン情報12と、シ
ミュレーション対象回路作成手段1が出力したシミュレ
ーション対象論理回路情報4とを入力情報として、入力
パターン情報12に従って公知の手段によりシミュレーシ
ョン対象論理回路情報4の論理シミュレーションを実行
する。論理シミュレーション手段6は、先ず入力端子の
演算を実行する。しかしながらシミュレーション対象回
路作成手段1により、入力端子100,102−1〜102−nは
ファンアウト素子が無いためその部分の論理シミュレー
ションはここで終了し、入力端子101−1〜101−nはフ
ァンアウト素子が接続されている為、論理シミュレーシ
ョンの対象となる。従って、論理シミュレーションの対
象論理回路は全ての入力端子と、ファンイントレース手
段3によりファンイントレースされたファンイントレー
ス範囲21とになり、変更箇所に関係する素子だけが論理
シミュレーションの対象となる。論理シミュレーション
の終了後、変更後論理回路情報11の論理シミュレーショ
ン結果として対象論理回路結果情報7を出力する。
Next, the logic simulation means 6 is started. The logic simulation means 6 uses the input pattern information 12 and the simulation target logic circuit information 4 output from the simulation target circuit creation means 1 as input information, and performs a logic simulation of the simulation target logic circuit information 4 by a known means according to the input pattern information 12. Execute The logic simulation means 6 first executes the operation of the input terminal. However, since the input terminals 100 and 102-1 to 102-n have no fan-out element, the logic simulation of that part is ended here by the simulation target circuit creation means 1, and the input terminals 101-1 to 101-n have fan-out elements. Because they are connected, they are subject to logic simulation. Therefore, the logic circuit to be subjected to the logic simulation has all the input terminals and the fan-in trace area 21 in which the fan-in trace is performed by the fan-in trace means 3, and only the elements related to the changed portion are subjected to the logic simulation. After the completion of the logic simulation, the target logic circuit result information 7 is output as a logic simulation result of the changed logic circuit information 11.

そして、シミュレーション結果編集手段8は、論理シ
ミュレーション手段6が出力した変更前論理回路結果情
報13および対象論理回路結果情報7と、シミュレーショ
ン対象回路作成手段1が出力したシミュレーション対象
外出力端子群情報5とを入力情報として、先ず、シミュ
レーション対象外出力端子群情報5に登録されている出
力端子500−1〜500−n,501−1〜501−nについては、
変更前論理回路結果情報13に登録されているこれらの出
力端子に対応するシミュレーション結果を変更後論理回
路結果情報9に出力する。次に、シミュレーション対象
外出力端子群情報5に登録されていない出力端子600−
1〜600−nについては、対象論理回路結果情報7に登
録されているこれらの出力端子に対応するシミュレーシ
ョン結果を変更後論理回路結果情報9に出力する。この
結果、変更後論理回路結果情報9には変更後論理回路情
報11全体の論理シミュレーション結果が出力されること
になる。
Then, the simulation result editing unit 8 outputs the pre-change logic circuit result information 13 and the target logic circuit result information 7 output by the logic simulation unit 6 and the non-simulation target output terminal group information 5 output by the simulation target circuit creation unit 1. As input information, first, for the output terminals 500-1 to 500-n and 501-1 to 501-n registered in the non-simulated output terminal group information 5,
The simulation results corresponding to these output terminals registered in the pre-change logic circuit result information 13 are output to the post-change logic circuit result information 9. Next, the output terminals 600-not registered in the non-simulation target output terminal group information 5 are output.
For 1 to 600-n, the simulation results corresponding to these output terminals registered in the target logic circuit result information 7 are output to the changed logic circuit result information 9. As a result, the logic simulation result of the entire changed logic circuit information 11 is output to the changed logic circuit result information 9.

〔発明の効果〕 以上説明したように、本発明によれば、論理回路の一
部に論理変更があった場合、変更した論理回路の論理シ
ミュレーションを効率的に行うことが可能となり計算機
リソースを大幅に低減できるという効果がある。
[Effects of the Invention] As described above, according to the present invention, when there is a logic change in a part of a logic circuit, it is possible to efficiently perform a logic simulation of the changed logic circuit, thereby greatly reducing computer resources. There is an effect that it can be reduced.

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

第1図は本発明の実施例の一例を示す構成図、 第2図はシミュレーション対象回路作成手段1の処理の
一例を示す流れ図および、 第3図は実施例の動作説明図である。 図において、 1……シミュレーション対象回路作成手段 2……ファンアウトトレース手段 3……ファンイントレース手段 4……シミュレーション対象論理回路情報 5……シミュレーション対象外出力端子群情報 6……論理シミュレーション手段 7……対象論理回路結果情報 8……シミュレーション結果編集手段 9……変更後論理回路結果情報 10……変更前論理回路情報 11……変更後論理回路情報 12……入力パターン情報 13……変更前論理回路結果情報 20……ファンアウトトレース範囲 21……ファンイントレース範囲 X……変更箇所
FIG. 1 is a block diagram showing an example of an embodiment of the present invention, FIG. 2 is a flowchart showing an example of processing of a simulation target circuit creating means 1, and FIG. 3 is an operation explanatory diagram of the embodiment. In the figure, 1 ... simulation target circuit creation means 2 ... fan out trace means 3 ... fan in trace means 4 ... simulation target logic circuit information 5 ... simulation target output terminal group information 6 ... logic simulation means 7 ... target logic circuit result information 8 ... simulation result editing means 9 ... changed logic circuit result information 10 ... changed logic circuit information 11 ... changed logic circuit information 12 ... input pattern information 13 ... before changed Logic circuit result information 20: Fan-out trace range 21: Fan-in trace range X: Changes

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】論理設計された変更前論理回路に対して論
理変更が加えられた変更後論理回路の論理シミュレーシ
ョンにおいて、 前記変更後論理回路内の変更箇所から全経路のファンア
ウトトレースを行ない変更箇所に接続されている出力端
子を求めるファンアウトトレース手段と、 前記ファンアウトトレース手段によりファンアウトトレ
ースされた全ての出力端子から入力端子までの全経路の
ファンイントレースを行うファンイントレース手段と、 前記ファンアウトトレース手段によりファンアウトトレ
ースされなかった出力端子をシミュレーション対象外出
力端子群情報として記憶するシミュレーション対象外出
力端子群情報記憶手段と、 前記ファンイントレース手段の結果に基づきシミュレー
ション対象論理回路情報を作成するシミュレーション対
象回路作成手段と、 前記変更前論理回路の論理シミュレーション結果と、前
記変更前論理回路の論理シミュレーションに用いたと同
一の入力パターンを用いて前記シミュレーション対象論
理回路情報に基づいて論理シミュレーションされた論理
シミュレーション結果と、前記シミュレーション対象外
出力端子群情報とを編集して前記変更後論理回路全体の
シミュレーション結果を生成するシミュレーション結果
編集手段とを具備したことを特徴とする論理シミュレー
ション方式。
In a logic simulation of a post-change logic circuit in which a logic change is applied to a pre-change logic circuit that has been logically designed, a fan-out trace of all paths is performed from a changed portion in the post-change logic circuit to perform the change. Fan-out tracing means for determining an output terminal connected to a point; fan-in tracing means for performing fan-in tracing of all paths from all output terminals to input terminals fan-out traced by the fan-out tracing means; A non-simulated output terminal group information storage unit that stores output terminals that have not been fan-out traced by the fan-out trace unit as non-simulated output terminal group information, and a logical circuit information to be simulated based on the result of the fan-in trace unit. Sim to create A logic object circuit creation means, a logic simulation result based on the simulation object logic circuit information using the logic simulation result of the logic circuit before change and the same input pattern used for the logic simulation of the logic circuit before change. A logic simulation method, comprising: simulation result editing means for editing a simulation result and the non-simulated output terminal group information to generate a simulation result of the entire changed logic circuit.
JP63079955A 1988-03-31 1988-03-31 Logic simulation method Expired - Lifetime JP2748396B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63079955A JP2748396B2 (en) 1988-03-31 1988-03-31 Logic simulation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63079955A JP2748396B2 (en) 1988-03-31 1988-03-31 Logic simulation method

Publications (2)

Publication Number Publication Date
JPH01253068A JPH01253068A (en) 1989-10-09
JP2748396B2 true JP2748396B2 (en) 1998-05-06

Family

ID=13704733

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63079955A Expired - Lifetime JP2748396B2 (en) 1988-03-31 1988-03-31 Logic simulation method

Country Status (1)

Country Link
JP (1) JP2748396B2 (en)

Also Published As

Publication number Publication date
JPH01253068A (en) 1989-10-09

Similar Documents

Publication Publication Date Title
KR100492007B1 (en) Chip Verification by Internal State Trajectory Comparison
CN113792522B (en) Simulation verification method, device and computing equipment
JP2748396B2 (en) Logic simulation method
US7673288B1 (en) Bypassing execution of a software test using a file cache
US7395196B2 (en) Test-cases for functional verification of system-level interconnect
JP3161314B2 (en) Logic simulation apparatus and logic simulation method
JPH0322038A (en) Timing verification processing system
CN120803960B (en) EDA software test case multiplexing method, electronic equipment and medium
JPH08166892A (en) Data processing device test method
JPH0658991A (en) Failure simulation method
KR100321780B1 (en) Verification method for chip function by automatic comparison of external signal of the chip
US20020144216A1 (en) Method for rapid, reusable system on a chip functional verification
JPH11237440A (en) Method and apparatus for creating data for integrated circuit test
JP2001067241A (en) Test method for information processing equipment
EP0397532A2 (en) Simulation system
CN116185686A (en) Method and device for checking accuracy in data link
JP2850629B2 (en) Logic verification system
JPH03189872A (en) Logical verification method
JP3012546B2 (en) Simulation apparatus and method
JP2687498B2 (en) Test pattern generation method
JPH0476775A (en) Logical inspection method
JP2642145B2 (en) Failure mode effect analysis simulation method
JP2924241B2 (en) Electronic circuit simulation method
JP2000241514A (en) Test pattern parallel generation method and test pattern generation device
JPH1125132A (en) Simulation apparatus and method, and recording medium recording simulation program