JP3340283B2 - Hazard simulation device for logic circuits - Google Patents

Hazard simulation device for logic circuits

Info

Publication number
JP3340283B2
JP3340283B2 JP16488195A JP16488195A JP3340283B2 JP 3340283 B2 JP3340283 B2 JP 3340283B2 JP 16488195 A JP16488195 A JP 16488195A JP 16488195 A JP16488195 A JP 16488195A JP 3340283 B2 JP3340283 B2 JP 3340283B2
Authority
JP
Japan
Prior art keywords
hazard
state
logic
simulation
propagation
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 - Fee Related
Application number
JP16488195A
Other languages
Japanese (ja)
Other versions
JPH0916649A (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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP16488195A priority Critical patent/JP3340283B2/en
Publication of JPH0916649A publication Critical patent/JPH0916649A/en
Application granted granted Critical
Publication of JP3340283B2 publication Critical patent/JP3340283B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、論理回路のハザードシ
ミュレーション装置に関し、より詳細には、論理設計の
工期を短縮して、簡易にハザード発生を検知することが
できる論理回路のハザードシミュレーション装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a hazard simulation device for a logic circuit, and more particularly to a hazard simulation device for a logic circuit capable of shortening the period of logic design and easily detecting occurrence of a hazard. .

【0002】[0002]

【従来の技術】従来より論理設計のうち、信号変化の時
間的な遅れを考慮するタイミング設計ではロジック変数
の変化の時間的な遅速により不測の過渡出力を生じてシ
ーケンスの異常進行などが起こる現象(以下、ハザード
と記す。)の発生と、このハザードの伝搬とを調べるた
めにゲート素子の遅延を考慮した論理シミュレーション
を行うのが一般的である。ハザードの発生はタイミング
的な誤作動を引き起こすだけでなく、無駄なスイッチン
グによる消費電力の増加をもたらすため、設計の初期段
階でチェックすることが望ましい。
2. Description of the Related Art Conventionally, in logic design, in a timing design in which a time delay of a signal change is considered, an unexpected transient output is generated due to a time delay of a change of a logic variable, and an abnormal progress of a sequence occurs. In general, a logic simulation is performed in consideration of the delay of the gate element in order to investigate occurrence of the hazard (hereinafter referred to as a hazard) and propagation of the hazard. Since the occurrence of the hazard not only causes a timing malfunction, but also causes an increase in power consumption due to useless switching, it is desirable to check at an early stage of design.

【0003】図6に従来の論理設計装置の概要を示し
た。この論理設計装置は、所定の論理接続データ1を入
力し、タイミング設計や消費電力等を考慮して所望の論
理設計を行う論理シミュレーション部101と、この論
理シミュレーション部101にて論理設計された回路の
レイアウトの設計を行うレイアウト設計部103と、こ
のレイアウト設計部103にてレイアウトされた回路に
対してハザードの解析を行うハザード解析部103と、
このハザード解析部103の解析結果を出力する解析結
果出力部107とを備えている。
FIG. 6 shows an outline of a conventional logic design apparatus. This logic design device receives a predetermined logic connection data 1 and performs a desired logic design in consideration of timing design, power consumption, and the like, and a circuit designed by the logic simulation unit 101. A layout design unit 103 for designing the layout of the circuit, a hazard analysis unit 103 for analyzing the hazard of the circuit laid out by the layout design unit 103,
An analysis result output unit 107 that outputs the analysis result of the hazard analysis unit 103 is provided.

【0004】この論理設計装置の操作者は解析結果出力
部107の解析結果等を参照してハザードの発生と伝搬
等を参照する。この参照にて所定の要件を満たさない場
合には、論理接続データ1の接続情報を修正して再度論
理シミュレーション部101にてシミュレーションを行
い、レイアウト設計、及びハザード解析を行う。このよ
うに従来の論理設計においては、解析結果等を参照して
所定の要件を満たすまで論理接続データの修正を試行錯
誤を行いながら設計を行っていた。
An operator of the logic design apparatus refers to the analysis result and the like of the analysis result output unit 107 and refers to the generation and propagation of a hazard. If the reference does not satisfy the predetermined requirement, the connection information of the logical connection data 1 is corrected, the simulation is performed again by the logic simulation unit 101, and the layout design and the hazard analysis are performed. As described above, in the conventional logic design, the design is performed by trial and error correction of the logical connection data until a predetermined requirement is satisfied with reference to an analysis result or the like.

【0005】[0005]

【発明が解決しようとする課題】以上のように、従来の
論理設計装置では、所定の要件を満たすまで論理接続デ
ータの修正を試行錯誤を行いながら設計を行っていたた
め設計の工期が増大してしまった。さらに近年の集積回
路の高集積化、大規模化に伴い論理設計の工期がさらに
増大してしまうという問題点があった。
As described above, in the conventional logic design apparatus, the design is performed by trial and error until the logical connection data is corrected until predetermined requirements are satisfied. Oops. Furthermore, there has been a problem that the time required for logic design is further increased with the recent increase in the degree of integration and scale of integrated circuits.

【0006】このハザードの解析は、ゲート素子の遅延
時間が配線を含めた論理回路での値を反映してなければ
ならないため、レイアウトが決定した回路設計の最終段
階でしかチェックすることができない。従って、非常に
時間のかかる論理シミュレーションやレイアウト設計の
後でなければならない。
In the analysis of the hazard, the delay time of the gate element must reflect the value in the logic circuit including the wiring, so that it can be checked only at the final stage of the circuit design in which the layout is determined. Therefore, it must be after a very time-consuming logic simulation and layout design.

【0007】本発明は上記問題点に鑑みてなされたもの
でありその目的とするところは、論理設計の工期を短縮
して、簡易にハザード発生を検知することができる論理
回路のハザードシミュレーション装置を提供することに
ある。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and an object of the present invention is to provide a hazard simulation device for a logic circuit capable of shortening the period of logic design and easily detecting occurrence of a hazard. To provide.

【0008】[0008]

【課題を解決するための手段】本発明の発明者は、ハザ
ードの解析がゲート素子の遅延時間が配線を含めた集積
回路での値を反映してなければならないため、レイアウ
トが決定した後、すなわち、設計の最終段階でしかチェ
ックすることができないことに論理設計の工期が増大す
る原因があるのではと考えた。それならば、ゲート素子
の遅延時間を用いずにハザードをモデル化することによ
り、論理設計の初期段階でハザードの発生を検出するこ
とができるのではと考えた。そのためにはハザードの発
生と伝搬との規則を各論理ゲートについて与えること
と、フリップフロップのようにフィードバックループが
存在した場合に、フィードバックループに達したハザー
ドがどうなるかを明確にすることが必要ある。
SUMMARY OF THE INVENTION The inventor of the present invention has proposed that the analysis of the hazard must reflect the delay time of the gate element in the integrated circuit including the wiring. In other words, the fact that the check can be performed only at the final stage of the design may cause an increase in the period of the logical design. Then, by modeling the hazard without using the delay time of the gate element, it was thought that the occurrence of the hazard could be detected in the initial stage of logic design. For that purpose, it is necessary to give rules for the generation and propagation of hazards for each logic gate, and to clarify what happens to the hazards that have reached the feedback loop when there is a feedback loop such as a flip-flop .

【0009】以上のような考察から本発明の発明者は慎
重な研究を重ねた結果、本発明を完成することができ
た。本発明の特徴は、所定の論理接続データを入力し、
各論理ゲートの接続関係を接続情報として抽出する接続
情報抽出部と、ハザードをモデル化して各論理ゲートの
状態伝搬を論理値で表した論理ゲート状態伝搬表を格納
する論理ゲート状態伝搬テーブルと、前記接続情報抽出
部にて抽出された各論理ゲートの接続関係について、前
記論理ゲート状態伝搬表を用いてハザードの発生と伝搬
についてのシミュレーションを行うハザードシミュレー
ション部と、このハザードシミュレーション部のハザー
ドシミュレーション結果を出力するハザードシミュレー
ション結果出力部とを備えることである。
From the above considerations, the inventor of the present invention has conducted careful studies and as a result, has completed the present invention. The feature of the present invention is to input predetermined logical connection data,
A connection information extraction unit that extracts a connection relationship of each logic gate as connection information, and a logic gate state propagation table that stores a logic gate state propagation table in which a hazard is modeled and the state propagation of each logic gate is represented by a logical value, A hazard simulation unit that simulates the occurrence and propagation of a hazard using the logic gate state propagation table for the connection relationship between the logic gates extracted by the connection information extraction unit, and a hazard simulation result of the hazard simulation unit And a hazard simulation result output unit that outputs the result.

【0010】ここで、前記論理ゲート状態伝搬テーブル
、各論理ゲートの状態を、定常的に“0”の状態
と、”1”から“0”への遷移を行う状態と、途中にハ
ザードを伴って“0”に落ち着く状態と、定常的に
“1”の状態と、“0”から“1”への遷移を行う状態
と、途中のハザードを伴って“1”に落ち着く状態と、
にモデル化した論理ゲート状態伝搬表が格納されること
が好ましい。
Here, the logic gate state propagation table
In the state of each logic gate, a state of constantly "0", a state in which a transition from "1" to "0", the state settles to "0" with a hazard in the middle, stationary A state of "1", a state of transition from "0" to "1", a state of settling down to "1" with an intermediate hazard,
Preferably , the modeled logic gate state propagation table is stored .

【0011】また、前記ハザードシミュレーション部
は、フィードバックループを有する論理回路のシミュレ
ーションを行う際には、前記フィードバックループ内に
おける前記モデル化された各論理ゲートの状態につい
て、前記ハザードを伴って“0”に落ち着く状態を定常
的に“0”の状態または“1”から“0”への遷移状態
に転化し、前記ハザードを伴って“1”に落ち着く状態
を定常的に“1”の状態または“0”から“1”の遷移
状態に転化して前記論理回路におけるハザードの発生と
伝搬をシミュレーションすることが好ましい。
When performing a simulation of a logic circuit having a feedback loop, the hazard simulation section sets “0” with the hazard for the state of each of the modeled logic gates in the feedback loop. Is constantly converted to a state of “0” or a transition state from “1” to “0”, and a state of being settled to “1” with the hazard is constantly changed to a state of “1” or “1”. It is preferable to simulate the generation and propagation of a hazard in the logic circuit by converting the transition state from "0" to "1".

【0012】[0012]

【作用】本発明の構成では、ハザードをモデル化した各
論理ゲートの状態伝搬を論理値で表した論理ゲート状態
伝搬表を用いて接続情報抽出部にて抽出された各論理ゲ
ートの接続関係について、前記論理ゲート状態伝搬表を
用いてハザードの発生と伝搬についてのシミュレーショ
ンを行うようにしている。ここで、従来例に示したレイ
アウト設計部では、トランジスタレベルまで展開しなけ
れば計算することができなかったが、本発明の構成によ
れば、レイアウトが決定する前であってもハザードの解
析を行うことができるため、容易にハザードの発生と伝
搬の解析を行うことができるのである。また、論理回路
設計の比較的上流工程でハザードの解析を行うことがで
きるので、より効果的な論理回路設計ができ、消費電力
をさらに低減した論理回路を設計することができる。
In the configuration of the present invention, the connection relation of each logic gate extracted by the connection information extraction unit using the logic gate state propagation table in which the state propagation of each logic gate modeling a hazard is represented by a logical value is described. The simulation of the occurrence and propagation of hazards is performed using the logic gate state propagation table. Here, in the layout design unit shown in the conventional example, the calculation could not be performed unless the layout was expanded to the transistor level. However, according to the configuration of the present invention, even before the layout was determined, the hazard analysis was performed. Since it can be performed, it is possible to easily analyze the generation and propagation of the hazard. Further, since the hazard analysis can be performed in a relatively upstream process of the logic circuit design, a more effective logic circuit can be designed, and a logic circuit with further reduced power consumption can be designed.

【0013】また、このハザードが発生した部分をハザ
ードシミュレーション結果出力部にて操作者にどの部分
でハザードが発生しているかを分かるようにすることに
より、論理回路の設計の工期を短縮することができるの
である。
[0013] Further, it is possible to shorten the time required for designing a logic circuit by making an operator know which part of the hazard has occurred at the hazard simulation result output unit. You can.

【0014】[0014]

【実施例】以下、本発明に係る論理回路のハザードシミ
ュレーション装置の実施例を図面を参照しながら説明す
ることにする。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing a hazard simulation apparatus for a logic circuit according to an embodiment of the present invention.

【0015】第1実施例 まず、本実施例では多値論理を用いてハザードをモデル
化を行う。以下に7個の論理値S0,T0,U0,S
1,T1,U1,XXを用いる場合について説明する。
各論理値の意味を以下に示す。
First Embodiment First, in this embodiment, a hazard is modeled using multi-valued logic. Below are the seven logical values S0, T0, U0, S
1, T1, U1, and XX will be described.
The meaning of each logical value is shown below.

【0016】S0:定常的に“0”の状態 T0:“1”から“0”への遷移状態 U0:途中にハザードを伴って“0”に落ち着く状態 S1:定常的に“1”の状態 T1:“0”から“1”への遷移状態 U1:途中にハザードを伴って“1”に落ち着く状態 XX:不定状態 U0,U1における途中にハザードを伴って“0”や
“1”に落ち着くというのは“0”−>“1”−>
“0”や“1”−>“0”−>“1”−>“0”−>
“1”のように最終的に“0”や“1”に落ち着く前に
振動するということを意味する。
S0: Steady state of "0" T0: Transition state from "1" to "0" U0: State of settling down to "0" with a hazard in the middle S1: Steady state of "1" T1: Transition state from “0” to “1” U1: State settled to “1” with a hazard on the way XX: Undefined state Settled to “0” or “1” with a hazard on the way in U0, U1 Because "0"->"1"->
"0" or "1"->"0"->"1"->"0"->
It means that it vibrates before finally settling to "0" or "1" like "1".

【0017】なお、本実施例で使用する論理値は以下に
示した7個の論理値に限定されるものではない。例え
ば、1度だけ振動する場合と、複数回振動する場合とを
異なった論理値を用いるようにしてもよい。このよう
に、ハザードの振舞い方によって異なった論理値を用い
るようにすることで、さらに正確な消費電力の増加を知
ることができる。
Note that the logical values used in this embodiment are not limited to the following seven logical values. For example, different logical values may be used for the case of vibrating only once and the case of vibrating a plurality of times. In this way, by using different logic values depending on the behavior of the hazard, it is possible to know a more accurate increase in power consumption.

【0018】表1にNOTゲートに対する状態伝搬表を
示す。
Table 1 shows a state propagation table for the NOT gate.

【0019】[0019]

【表1】 表2にANDゲートに対する状態伝搬を示す。他の論理
ゲートに対する状態伝搬はNOTゲートとANDゲート
に対する状態伝搬表から作成することができる。
[Table 1] Table 2 shows the state propagation for the AND gate. State propagation for other logic gates can be created from state propagation tables for NOT gates and AND gates.

【0020】[0020]

【表2】 表2のようにAND(T0,T1)がU0になるのは2
個の入力子の遅れの差によって両方とも“1”になるタ
イミングがあり、出力が“0”−>“1”−>“0”の
ように変化するためである。
[Table 2] AND (T0, T1) becomes U0 as shown in Table 2.
This is because there is a timing at which both become "1" due to the difference between the delays of the input elements, and the output changes like "0"->"1"->"0".

【0021】次に、本実施例に係る論理回路のハザード
シミュレーション装置について説明する。この論理回路
のハザードシミュレーション装置は図1に示す通り、所
定の論理接続データ1を入力し、各論理ゲートの接続関
係を接続情報として抽出する接続情報抽出部3と、ハザ
ードをモデル化して各論理ゲートの状態伝搬を論理値で
表した論理ゲート状態伝搬表を格納する論理ゲート状態
伝搬テーブル9と、前記接続情報抽出部3にて抽出され
た各論理ゲートの接続関係について、前記論理ゲート状
態伝搬表9を用いてハザードの発生と伝搬についてのシ
ミュレーションを行うハザードシミュレーション部7
と、このハザードシミュレーション部7のハザードシミ
ュレーション結果を出力するハザードシミュレーション
結果出力部13とを備える。
Next, a description will be given of a logic circuit hazard simulation apparatus according to this embodiment. As shown in FIG. 1, a hazard simulation device for this logic circuit receives predetermined logic connection data 1 and extracts a connection relationship between logic gates as connection information, and a connection information extraction unit 3 which models a hazard to form each logic connection. The logical gate state propagation table 9 storing a logical gate state propagation table in which the state propagation of the gate is represented by a logical value and the connection relation of each logical gate extracted by the connection information extracting unit 3 are described in the logical gate state propagation. Hazard simulation unit 7 that simulates generation and propagation of hazard using Table 9
And a hazard simulation result output unit 13 that outputs a hazard simulation result of the hazard simulation unit 7.

【0022】ここで、接続情報抽出部3は、論理接続デ
ータ保持部1より所定の論理接続データを入力し、この
論理接続データの各論理ゲートの接続関係を接続情報と
して抽出するためのものである。ここで、本実施例では
論理接続データは論理ゲートレベルのものでよく、トラ
ンジスタレベルまでのものを必要としない。これによ
り、レイアウト設計が必要がないため、設計のための工
期を短縮することができる。また、抽出されたデータは
接続情報バッファ5を設けて保持させてもよい。論理ゲ
ート状態伝搬テーブル9は、ハザードをモデル化して各
論理ゲートの状態伝搬を論理値で表した論理ゲート状態
伝搬表を格納するためのものである。ここで、各論理ゲ
ートの状態伝搬表とは、表1に示したNOTゲートに対
する状態伝搬表や、表2に示したNANDゲートに対す
る状態伝搬表の如くである。
Here, the connection information extracting unit 3 is for inputting predetermined logical connection data from the logical connection data holding unit 1 and extracting the connection relationship of each logical gate of the logical connection data as connection information. is there. Here, in this embodiment, the logical connection data may be at the logical gate level, and does not need to be at the transistor level. This eliminates the need for a layout design, thereby shortening the design period. Further, the extracted data may be stored in the connection information buffer 5. The logic gate state propagation table 9 stores a logic gate state propagation table in which a hazard is modeled and the state propagation of each logic gate is represented by a logical value. Here, the state propagation table for each logic gate is similar to the state propagation table for the NOT gate shown in Table 1 and the state propagation table for the NAND gate shown in Table 2.

【0023】ハザードシミュレーション部7は、抽出さ
れた各論理ゲートの接続関係について、論理ゲート状態
伝搬テーブル格納部9に格納された所定の論理ゲート状
態伝搬表を用いてハザードが発生する接続関係か否かを
各接続関係ごとに調べるためのものである。
The hazard simulation section 7 determines whether or not the connection relation of each of the extracted logic gates is such that a hazard occurs using a predetermined logic gate state propagation table stored in the logic gate state propagation table storage section 9. Is to be checked for each connection relationship.

【0024】ハザードシミュレーション用テストパター
ン生成部11は、本実施例に係るハザードシミュレーシ
ョンのテストパターンを生成するためのものである。こ
こでは、上述の論理値S0,T0,U0,S1,T1,
U1,XXの任意の組み合わせのパターンを生成してハ
ザードシミュレーション部7に出力するようにしてあ
る。
The hazard simulation test pattern generation unit 11 is for generating a hazard simulation test pattern according to the present embodiment. Here, the above-described logical values S0, T0, U0, S1, T1,
An arbitrary combination of U1 and XX is generated and output to the hazard simulation unit 7.

【0025】ハザードシミュレーション結果出力部13
は、ハザードシミュレーション部7のハザードシミュレ
ーション結果を出力するためのものである。この出力に
は、CRT装置やプリンタ装置等の通常のコンピュータ
システムに用いられているものでよい。また、出力にグ
ラフィックス機能を備えるようにすることで、操作者の
操作性が向上するため、さらに論理設計の工期を短縮す
ることができる。
Hazard simulation result output unit 13
Is for outputting a hazard simulation result of the hazard simulation unit 7. This output may be that used in a normal computer system such as a CRT device or a printer device. Further, by providing the output with the graphics function, the operability of the operator is improved, so that the period of logic design can be further shortened.

【0026】次に、本発明に係るハザードシミュレーシ
ョン装置の動作について説明する。まず、操作者は、論
理接続データ保持部1より所望の論理接続データを選択
して、接続情報抽出部3に入力する。接続情報抽出部3
では、入力された論理接続データの各論理ゲートの接続
関係を調べて、信号がどのように伝搬していくかを調べ
て、その結果を接続情報として出力する。
Next, the operation of the hazard simulation apparatus according to the present invention will be described. First, the operator selects desired logical connection data from the logical connection data holding unit 1 and inputs the data to the connection information extracting unit 3. Connection information extraction unit 3
Then, the connection relationship between the logic gates of the input logic connection data is checked, how the signal propagates, and the result is output as connection information.

【0027】次に、ハザードシミュレーション部7で
は、入力された接続情報により各論理ゲートの接続関係
について、ハザードが発生するか否かのシミュレーショ
ンを行う。このシミュレーションには、回路に含まれる
すべてのゲートの初期値をXXとした上でハザードシミ
ュレーション用テストパターン生成部11にて出力され
るテストパターンの変化に応じて、S0,T0,S1,
T1のいずれかを加え、論理ゲート毎に与えられた論理
ゲート状態伝搬表に基づいて出力を計算することによっ
て行われる。シミュレーション途中でU0またはU1に
なるゲートがあれば、それはハザードの発生部分である
ことを意味し、このハザードの発生部分の出力を行う。
Next, the hazard simulation section 7 simulates whether or not a hazard is generated with respect to the connection relationship between the logic gates based on the input connection information. In this simulation, the initial values of all the gates included in the circuit are set to XX, and S0, T0, S1, and S1 are changed according to the change in the test pattern output from the test pattern generation unit 11 for hazard simulation.
This is performed by adding any one of T1 and calculating the output based on the logic gate state propagation table given for each logic gate. If there is a gate which becomes U0 or U1 during the simulation, it means that it is a hazard occurrence part, and this hazard occurrence part is output.

【0028】次に、このハザードが発生するか否かの結
果は、ハザードシミュレーション結果出力部13に出力
され、その出力結果を操作者が見ることにより、ハザー
ドの発生している部分を把握することができる。
Next, the result of whether or not the hazard is generated is output to a hazard simulation result output unit 13, and the operator can see the output result to grasp the portion where the hazard has occurred. Can be.

【0029】第2実施例 次に本実施例では、特に、フィードバックループを有す
る論理回路のハザードシミュレーションについて説明す
る。このフィードバックループを有する論理回路におい
てはフィードバックループに達したハザードがどうなる
かを明確にすることが必要ある。本実施例ではフィード
バックループを有する論理回路としてフリップフロップ
を備える論理回路について説明する。
Second Embodiment Next, in this embodiment, a hazard simulation of a logic circuit having a feedback loop will be described. In a logic circuit having this feedback loop, it is necessary to clarify what happens to a hazard that has reached the feedback loop. In this embodiment, a logic circuit including a flip-flop is described as a logic circuit including a feedback loop.

【0030】図2はフリップフロップ内でハザードを削
減させるためのモデルである。一般の順序回路の動作に
おいては、組み合わせ回路部分でのハザードの発生とフ
リップフロップ部分でのハザードの消滅が繰り返される
ことになる。このハザードの消滅をシミュレーションで
実現するために、すなわち、実際の回路が振舞うように
シミュレーションするために仮想的な素子の挿入を行
う。本実施例では、出力Qの前にハザードを吸収するた
めの素子Fが挿入してある。素子Fの伝搬規則を表3に
示す。INが素子Fに対する入力、Fが素子Fの出力あ
り、RPは素子Fの初期状態を表している。
FIG. 2 is a model for reducing a hazard in a flip-flop. In the operation of a general sequential circuit, generation of a hazard in the combinational circuit portion and disappearance of the hazard in the flip-flop portion are repeated. In order to realize the disappearance of the hazard by simulation, that is, in order to simulate the actual circuit to behave, a virtual element is inserted. In this embodiment, an element F for absorbing a hazard is inserted before the output Q. Table 3 shows the propagation rules of the element F. IN indicates an input to the element F, F indicates an output of the element F, and RP indicates an initial state of the element F.

【0031】[0031]

【表3】 このように素子Fを挿入することにより、フィードバッ
クループを有する論理回路のハザードシミュレーション
を行うことができる。
[Table 3] By inserting the element F in this manner, a hazard simulation of a logic circuit having a feedback loop can be performed.

【0032】次に、本実施例に係る論理回路のハザード
シミュレーション装置について説明する。基本的には第
1実施例の構成を用いることができるが、フィードバッ
クループを有する論理回路のフィードバックループ部分
に仮想的な素子を挿入するための手段が必要である。こ
の手段は、上述のハザードシミュレーション部7に備え
させることが好ましい。
Next, a hazard simulation apparatus for a logic circuit according to this embodiment will be described. Basically, the configuration of the first embodiment can be used, but means for inserting a virtual element into a feedback loop portion of a logic circuit having a feedback loop is required. This means is preferably provided in the hazard simulation section 7 described above.

【0033】次に、フィードバックループを有する論理
回路のハザードシミュレーションの例について説明す
る。3通りの3分周回路を図3、図4、図5に示してあ
る。これらの図は、上述のハザードシミュレーション装
置によりハザードシミュレーションをした結果、ハザー
ドシミュレーション結果出力部13に出力されたもので
ある。図中のハザードが発生するノードを太斜線で示し
てある。図3の場合、出力にハザードが発生するが、図
4、図5では出力には現れない。
Next, an example of a hazard simulation of a logic circuit having a feedback loop will be described. Three, three, and three frequency divider circuits are shown in FIGS. 3, 4, and 5. FIG. These figures are output to the hazard simulation result output unit 13 as a result of the hazard simulation performed by the above-described hazard simulation apparatus. Nodes in which hazards occur in the figure are indicated by thick oblique lines. In the case of FIG. 3, a hazard occurs in the output, but does not appear in the output in FIGS.

【0034】以上のように、本実施例に係るハザードミ
ュレーションでは、従来レイアウト設計後でなければハ
ザードについての解析を行うことができなかったが、本
実施例によればハザードをモデル化することにより容易
にハザードの解析を行うことができる。
As described above, in the hazard simulation according to the present embodiment, the analysis of the hazard cannot be performed unless the layout is conventionally designed. However, according to the present embodiment, the hazard is modeled. Hazard analysis can be performed more easily.

【0035】また、上述のように、ハザードをモデル化
することにより容易にハザードの解析を行うことができ
るので、論理回路設計の比較的上流工程でハザードの解
析を行うことができる。これにより、より効果的な論理
回路設計ができるので、消費電力をさらに低減した論理
回路を設計することができる。
As described above, the hazard can be easily analyzed by modeling the hazard, so that the hazard can be analyzed in a relatively upstream process of the logic circuit design. Thus, a more effective logic circuit can be designed, and a logic circuit with further reduced power consumption can be designed.

【0036】さらに、このハザードが発生した部分をハ
ザードシミュレーション結果出力部13にて操作者に分
かるようにすることにより、論理回路の設計の工期を短
縮することができる。
Further, by letting the operator know the portion where the hazard has occurred in the hazard simulation result output section 13, the design period of the logic circuit can be shortened.

【0037】[0037]

【発明の効果】以上のように、本発明に係る論理回路の
ハザードシミュレーション装置によれば、ハザードをモ
デル化することにより容易にハザードの解析を行うこと
ができる。また、論理回路設計の比較的上流工程でハザ
ードの解析を行うことができるので、より効果的な論理
回路設計ができ、消費電力をさらに低減した論理回路を
設計することができる。
As described above, according to the hazard simulation apparatus for a logic circuit according to the present invention, the hazard can be easily analyzed by modeling the hazard. Further, since the hazard analysis can be performed in a relatively upstream process of the logic circuit design, a more effective logic circuit can be designed, and a logic circuit with further reduced power consumption can be designed.

【0038】さらに、このハザードが発生した部分をハ
ザードシミュレーション結果出力部にて操作者に分かる
ようにすることにより、論理回路の設計の工期を短縮す
ることができる。
Further, by letting the operator know the portion where the hazard has occurred in the hazard simulation result output section, the period for designing the logic circuit can be shortened.

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

【図1】本発明に係るハザードシミュレーション装置の
ブロック図を示したものである。
FIG. 1 is a block diagram showing a hazard simulation apparatus according to the present invention.

【図2】フリップフロップ内でハザードを消滅させるた
めのモデルである。出力Qの前にハザードを吸収させる
ための素子Fが挿入してある。
FIG. 2 is a model for eliminating a hazard in a flip-flop. An element F for absorbing a hazard is inserted before the output Q.

【図3】出力にハザードが発生する3分周回路の例であ
る。
FIG. 3 is an example of a divide-by-3 circuit in which a hazard occurs in an output.

【図4】出力にハザードが出ない3分周回路の例であ
る。
FIG. 4 is an example of a divide-by-3 circuit in which no hazard appears in the output.

【図5】出力にハザードが発生する3分周回路の例であ
る。
FIG. 5 is an example of a divide-by-3 circuit in which a hazard occurs in an output.

【図6】従来のシミュレーション装置の概要を示しした
ブロック図である。
FIG. 6 is a block diagram showing an outline of a conventional simulation apparatus.

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

1 論理接続データ 3 接続情報抽出部 5 接続情報部バッファ 7 ハザードシミュレーション 9 論理ゲート状態伝搬テーブル 11 ハザードシミュレーション用テストパターン生成
部 13 ハザードシミュレーション結果出力部 15 素子 101 論理シミュレーション部 103 レイアウト設計部 105 ハザード解析部 107 解析結果出力部
DESCRIPTION OF SYMBOLS 1 Logical connection data 3 Connection information extraction part 5 Connection information part buffer 7 Hazard simulation 9 Logic gate state propagation table 11 Hazard simulation test pattern generation part 13 Hazard simulation result output part 15 Element 101 Logic simulation part 103 Layout design part 105 Hazard analysis Unit 107 Analysis result output unit

フロントページの続き (56)参考文献 特開 平5−35816(JP,A) Hirabayashi,K.,Ha zard simulation of sequential circui ts,Journal of Elec tronic Testing:The ory and Applicatio ns,1996年 4月,Vol.8、N o.2,p.215−217 康、外2名,TRF遅延モデルに基づ く5値論理シミュレーション法によるハ ザード検出の一手法,電子情報通信学会 論文誌A,電子情報通信学会,1991年, Vol.74、No.2,p.237−246 石浦菜岐佐、外2名,論理回路の正確 なタイミング検証のための時間記号シミ ュレーション,情報処理学会論文誌,情 報処理学会,1990年,Vol.31、N o.12,p.1832−1839 平林莞爾,順序回路の遅延故障シミュ レーション,電子情報通信学会技術研究 報告,電子情報通信学会,1992年12月10 日,Vol.92、No.364(ICD92 115−125),p.67−73 (58)調査した分野(Int.Cl.7,DB名) G06F 17/50 668 JICSTファイル(JOIS)Continuation of front page (56) References JP-A-5-35816 (JP, A) Hirabayashi, K .; , Hazard simulation of sequential circuits, Journal of Electronic Testing: Theory and Applications, April 1996, Vol. 8, No. 2, p. 215-217 Yasushi and 2 others, A method of hazard detection by quinary logic simulation based on TRF delay model, IEICE Transactions A, IEICE, 1991, Vol. 74, no. 2, p. 237-246 Nishika Ishiura and 2 others, Time symbol simulation for accurate timing verification of logic circuits, Transactions of Information Processing Society of Japan, Information Processing Society of Japan, 1990, Vol. 31, No. 12, p. 1832-1839 Kanji Hirabayashi, Delayed fault simulation of sequential circuits, IEICE technical report, IEICE, December 10, 1992, Vol. 92, no. 364 (ICD92 115-125), p. 67-73 (58) Field surveyed (Int. Cl. 7 , DB name) G06F 17/50 668 JICST file (JOIS)

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 所定の論理接続データを入力し、各論理
ゲートの接続関係を接続情報として抽出する接続情報抽
出部と、 ハザードをモデル化して各論理ゲートの状態伝搬を論理
値で表した論理ゲート状態伝搬表を格納する論理ゲート
状態伝搬テーブルと、 前記接続情報抽出部にて抽出された各論理ゲートの接続
関係について、前記論理ゲート状態伝搬表を用いてハザ
ードの発生と伝搬についてのシミュレーションを行うハ
ザードシミュレーション部と、 このハザードシミュレーション部のハザードシミュレー
ション結果を出力するハザードシミュレーション結果出
力部と、 を備えることを特徴とする論理回路のハザードシミュレ
ーション装置。
1. A connection information extraction unit for inputting predetermined logical connection data and extracting connection relation of each logic gate as connection information, and a logic which models a hazard and expresses a state propagation of each logic gate by a logical value. A logic gate state propagation table that stores a gate state propagation table, and for the connection relationship between the respective logic gates extracted by the connection information extraction unit, a simulation of the generation and propagation of hazards is performed using the logic gate state propagation table. A hazard simulation device for a logic circuit, comprising: a hazard simulation unit for performing; and a hazard simulation result output unit for outputting a hazard simulation result of the hazard simulation unit.
【請求項2】 前記論理ゲート状態伝搬テーブル
論理ゲートの状態を、 定常的に“0”の状態と、 ”1”から“0”への遷移を行う状態と、 途中にハザードを伴って“0”に落ち着く状態と、 定常的に“1”の状態と、 “0”から“1”への遷移を行う状態と、 途中のハザードを伴って“1”に落ち着く状態と、にモデル化した論理ゲート状態伝搬表が格納されること
特徴とする請求項1記載の論理回路のハザードシミュ
レーション装置。
The method according to claim 2, wherein said logic gate state propagation table,
The state of each logic gate is steadily “0” state, the state that transitions from “1” to “0”, the state that settles to “0” with hazards on the way, The modeled logic gate state propagation table is stored in the state of “1”, the state of transition from “0” to “1”, and the state of settling down to “1” with an intermediate hazard.
Hazard simulation apparatus of a logic circuit according to claim 1, wherein.
【請求項3】 前記ハザードシミュレーション部は、 フィードバックループを有する論理回路のシミュレーシ
ョンを行う際には、前記フィードバックループ内におけ
る前記モデル化された各論理ゲートの状態について、 前記ハザードを伴って“0”に落ち着く状態を定常的に
“0”の状態または“1”から“0”への遷移状態に転
化し、 前記ハザードを伴って“1”に落ち着く状態を定常的に
“1”の状態または“0”から“1”の遷移状態に転化
して前記論理回路におけるハザードの発生と伝搬をシミ
ュレーションすることを特徴とする請求項2記載の論理
回路のハザードシミュレーション装置。
3. When simulating a logic circuit having a feedback loop, the hazard simulation section sets “0” with the hazard for the state of each of the modeled logic gates in the feedback loop. Is constantly converted to a state of “0” or a transition state from “1” to “0”, and the state of being settled to “1” with the hazard is constantly changed to a state of “1” or “ 3. The hazard simulation apparatus for a logic circuit according to claim 2, wherein the transition from "0" to a transition state of "1" is performed to simulate generation and propagation of the hazard in the logic circuit.
JP16488195A 1995-06-30 1995-06-30 Hazard simulation device for logic circuits Expired - Fee Related JP3340283B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16488195A JP3340283B2 (en) 1995-06-30 1995-06-30 Hazard simulation device for logic circuits

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16488195A JP3340283B2 (en) 1995-06-30 1995-06-30 Hazard simulation device for logic circuits

Publications (2)

Publication Number Publication Date
JPH0916649A JPH0916649A (en) 1997-01-17
JP3340283B2 true JP3340283B2 (en) 2002-11-05

Family

ID=15801683

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16488195A Expired - Fee Related JP3340283B2 (en) 1995-06-30 1995-06-30 Hazard simulation device for logic circuits

Country Status (1)

Country Link
JP (1) JP3340283B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4493173B2 (en) 2000-07-27 2010-06-30 株式会社ルネサステクノロジ Back annotation method
JP4316644B2 (en) 2007-12-26 2009-08-19 株式会社東芝 Logic simulation device

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
Hirabayashi,K.,Hazard simulation of sequential circuits,Journal of Electronic Testing:Theory and Applications,1996年 4月,Vol.8、No.2,p.215−217
平林莞爾,順序回路の遅延故障シミュレーション,電子情報通信学会技術研究報告,電子情報通信学会,1992年12月10日,Vol.92、No.364(ICD92 115−125),p.67−73
康、外2名,TRF遅延モデルに基づく5値論理シミュレーション法によるハザード検出の一手法,電子情報通信学会論文誌A,電子情報通信学会,1991年,Vol.74、No.2,p.237−246
石浦菜岐佐、外2名,論理回路の正確なタイミング検証のための時間記号シミュレーション,情報処理学会論文誌,情報処理学会,1990年,Vol.31、No.12,p.1832−1839

Also Published As

Publication number Publication date
JPH0916649A (en) 1997-01-17

Similar Documents

Publication Publication Date Title
US6353915B1 (en) Methods for evaluating systems of electronic components
JP3248753B2 (en) Method and apparatus for determining transition table of combinational logic circuit
JPH04101274A (en) Logic design processing device and timing adjusting method
US20080288904A1 (en) Method for modeling and verifying timing exceptions
Chen et al. A satisfiability-based test generator for path delay faults in combinational circuits
JP3153403B2 (en) Device for calculating delay time of semiconductor integrated circuit
US7254793B2 (en) Latch modeling technique for formal verification
Singhal et al. The validity of retiming sequential circuits
US6842884B2 (en) Combinational equivalence checking methods and systems with internal don't cares
JPH10283394A (en) Fault simulation method
Westerman et al. Discrete event system approach for delay fault analysis in digital circuits
JP3340283B2 (en) Hazard simulation device for logic circuits
US7672827B1 (en) Method and system for simulation of analog/digital interfaces with analog tri-state ioputs
US20070198957A1 (en) Circuit simulator and circuit simulation program storage medium
US20080069277A1 (en) Method and apparatus for modeling signal delays in a metastability protection circuit
US6546514B1 (en) Integrated circuit analysis and design involving defective circuit element replacement on a netlist
US8132135B2 (en) Method and system for creating a boolean model of multi-path and multi-strength signals for verification
US7047173B1 (en) Analog signal verification using digital signatures
JP2937139B2 (en) Logic circuit delay verification method
US6898562B2 (en) Method and system for efficiently overriding net values in a logic simulator machine
JP2872216B1 (en) Macro design method
US8122408B2 (en) Circuit verification method for verifying circuit with timing information and logic information in library cell
JP2785708B2 (en) Logic simulation method
JP3196735B2 (en) Sequential circuit equivalency verification apparatus, method and recording medium
Westerman et al. Delay fault analysis using discrete event system approach

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070816

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080816

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090816

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090816

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100816

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100816

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110816

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110816

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120816

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees