JPH03125981A - Hazard detection circuit - Google Patents

Hazard detection circuit

Info

Publication number
JPH03125981A
JPH03125981A JP1265545A JP26554589A JPH03125981A JP H03125981 A JPH03125981 A JP H03125981A JP 1265545 A JP1265545 A JP 1265545A JP 26554589 A JP26554589 A JP 26554589A JP H03125981 A JPH03125981 A JP H03125981A
Authority
JP
Japan
Prior art keywords
timing
gate
hazard
inputs
flip
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
JP1265545A
Other languages
Japanese (ja)
Inventor
Teruchika Seki
関 照親
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
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP1265545A priority Critical patent/JPH03125981A/en
Publication of JPH03125981A publication Critical patent/JPH03125981A/en
Pending legal-status Critical Current

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Testing Or Measuring Of Semiconductors Or The Like (AREA)

Abstract

PURPOSE:To enable detection of location of a test pattern simply by performing a timing simulation once only by connecting a hazard circuit in parallel to an input terminal of each combination block (AND, OR etc.) to be verified. CONSTITUTION:An input A indicates a rising at timings (T) 21 and 31 from a level '1' and a falling at a T 30 and an input C indicates a waveform held at a logic value 1 and an input B should rise at the timing T 21 from a level '1' and rise again at the timing T 31 but deviated in the T affected by a hazard given by an AND gate output Y. Now, for example, when inputs A, B and C of the AND gate 1 change at the T 21 with respect to a rising 20 of CLK to be provided from an inverter 16, outputs 2-Q and 3-Q of FF circuits 2 and 3 latched at a falling 22 of CLK vary as shown by 23 and 24 individually. An output 4-Q of a circuit 4 is held at the level '1'. Thus, such a signal as to be a high level between halfs of the CLK indicated by 28 is outputted at an external output terminal 15 thereby enabling detection of the hazard 29.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はハザード検出回路に関し、特にLSIの設計に
おけるタイミング検証において、ハザードが発生する危
険性を含んだテストパターンを検出するハザード検出回
路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a hazard detection circuit, and particularly to a hazard detection circuit that detects a test pattern that includes a risk of a hazard occurring during timing verification in LSI design.

〔従来の技術〕[Conventional technology]

従来、この種のハザード検出は、タイミングの正常性を
確認するタイミング・シミュレーションを行なった後、
再度ハザード検出用シミュレーションを行ない、ハザー
ドが発生または発生する危険性のあるテストパターンの
箇所を検出する方法で行なっていた。
Traditionally, this type of hazard detection is performed after performing a timing simulation to check the normality of the timing.
The hazard detection simulation was performed again to detect points in the test pattern where a hazard occurred or was at risk of occurring.

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

上述した従来のハザード検出は、タイミング・シミュレ
ーシヨンを行なうことによって実施しているので実際に
ハザードが発生するテストパターンの箇所しか検出でき
ず、再度ハザード検出用のシミュレーションを行なうこ
とによりハザードが発生する危険性のあるテストパター
ンの箇所の検出を図っているため、ハザード検出のため
に結局2度シミュレーションを行なわなければならず、
かつ1回のシミュレーション時間も非常に長く、効率的
な設定ができないという欠点がある。
The conventional hazard detection described above is performed by performing timing simulation, so it can only detect the parts of the test pattern where a hazard actually occurs, and the hazard will occur by performing the hazard detection simulation again. Because we are trying to detect potentially dangerous test pattern locations, we end up having to perform two simulations to detect hazards.
Moreover, the time required for one simulation is very long, and there is a drawback that efficient settings cannot be made.

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

本発明のハザード検出回路は、順序回路及び組合せ回路
から成6LSIの設計時のタイミング・シミュレーショ
ンにおいて、タイミングを阻害するハザードを含む可能
性のある複数の入力を受け検証の対象とする検証ブロッ
クの入力のそれぞれを入力として受けかつあらかじめ設
定するクロックで動作する複数のフリップフロップ回路
と、前記組合せブロックの入力と前記フリップフロップ
回路の出力とを入力とする第1の排他的論理和ゲート群
と、前記検証ブロックに対する入力がら相異る2つの入
力の組合せをとって入力する第2の排他的論理和ゲート
群と、前記フリップフロップ回路ごとの第1および第2
の論理和ゲートの出力に他のフリップフロップ回路に対
応する第1の排他的論理和回路の出力を互いに異るよう
に含ませて論理積をとる複数のANDゲートと、前記複
数のANDゲートの出力を受けて論理和をとるORゲー
トとを備えて構成される。
The hazard detection circuit of the present invention is an input of a verification block that receives a plurality of inputs that may include hazards that inhibit timing in a timing simulation during the design of a 6LSI consisting of a sequential circuit and a combinational circuit. a plurality of flip-flop circuits which receive each of the above as inputs and operate with a preset clock, a first exclusive OR gate group whose inputs are the input of the combinational block and the output of the flip-flop circuit; a second exclusive OR gate group that takes and inputs a combination of two different inputs from the inputs to the verification block; and a first and second exclusive OR gate group for each of the flip-flop circuits;
a plurality of AND gates that perform logical product by including the outputs of the first exclusive OR circuits corresponding to other flip-flop circuits in different ways in the outputs of the OR gates of the plurality of AND gates; and an OR gate that receives the output and performs a logical sum.

〔実施例〕〔Example〕

次に、図面を参照して本発明を説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明のハザード検出回路の一実施例の構成図
であり、検証ブロックとしての複数入力、本実施例では
3人力のANDゲート1と、ANDゲートに入力する、
ハザードを含む可能性のある3人力A、BおよびCに並
列接続したハザード検出回路17を備えて成る。
FIG. 1 is a configuration diagram of an embodiment of the hazard detection circuit of the present invention, in which multiple inputs as a verification block, in this embodiment, an AND gate 1 operated by three people, and inputs to the AND gate.
It comprises a hazard detection circuit 17 connected in parallel to three human power sources A, B and C that may contain a hazard.

ハザード検出回路17は、3人力A、BおよびCに対応
する3つのフリップフロップ回路2,3および4、フリ
ップフロップ回路2,3および4の入力と出力を2人力
とする第1の排他的論理和(XOR)ゲート群として(
7)XORゲート5,7゜9.3人力A、BおよびCか
ら相異る2つずつの組合せを入力する第2の排他的論理
和ゲートとしてのXORゲート6.8,10、フリップ
フロップ回路2.3および4にそれぞれ対応するXOR
ゲート5と6,7と8および9と10の2人力に加えて
他のフリップフロップ回路に対応する第1の排他的論理
和ゲートの相異る出力の3人力を受けてその論理積をと
るANDゲート11.12および13、ANDゲート1
1.12および13の論理和をとるORゲート14と、
外部出力端子15ならびにクロックCLK信号の極性を
反転してフリップフロップ回路2,3および4に供給す
るインバータ16を備えて成る。
The hazard detection circuit 17 includes three flip-flop circuits 2, 3, and 4 corresponding to the three-manpower A, B, and C, and a first exclusive logic in which the inputs and outputs of the flip-flop circuits 2, 3, and 4 are two-manpower. As a sum (XOR) gate group (
7) XOR gate 5, 7゜9.3 XOR gate 6.8, 10 as a second exclusive OR gate inputting two different combinations from A, B and C, flip-flop circuit 2. XOR corresponding to 3 and 4 respectively
In addition to the two outputs of gates 5 and 6, 7 and 8, and 9 and 10, three outputs of different outputs of the first exclusive OR gate corresponding to other flip-flop circuits are received and their logical product is calculated. AND gate 11, 12 and 13, AND gate 1
1. An OR gate 14 that takes the logical sum of 12 and 13;
It includes an external output terminal 15 and an inverter 16 that inverts the polarity of a clock CLK signal and supplies it to flip-flop circuits 2, 3, and 4.

第2図は第1図の実施例の主要信号のタイミングチャー
トである。以下第2図を参照しつつ第1図の実施例の動
作について説明する。
FIG. 2 is a timing chart of main signals in the embodiment of FIG. The operation of the embodiment shown in FIG. 1 will be explained below with reference to FIG.

第2図に示す如く、入力A、BおよびCはそれぞれ、入
力Aはタイミング21.31で“1″レベルに立上り、
タイミング30で立下り示す波形、入力Cは論理値1に
保持された波形、入力Bはタイミング21で“1“レベ
ルから立下り、タイミング31で再び立上るはずのもの
がANDゲート出力出力水すハザード29の影響でタイ
ミングがずれている場合を例としている。
As shown in FIG. 2, inputs A, B, and C each rise to the "1" level at timing 21.31, and input A rises to the "1" level at timing 21.31.
The waveform that shows a fall at timing 30, the input C is a waveform that is held at a logic value of 1, the input B falls from the "1" level at timing 21, and the waveform that should rise again at timing 31 is the AND gate output output water waveform. The case where the timing is shifted due to the influence of Hazard 29 is taken as an example.

いま、インバータ16から提供されるCLKの立上り2
0に対し、ANDゲート1の入力A、 BおよびCがタ
イミング21で変化した場合、CLKの立下り22でラ
ッチされたフリップフロップ回路2.3のQ出力2−Q
、3−Qはそれぞれ23.24のように変化する。フリ
ップフロップ回路4のQ出力4−Qは“1”のハイレベ
ルに保持されたままとなる。XORゲート5.7の出力
は25.26の如くなりXORゲート6の6の出力はハ
イレベルのままに保持され、よってANDゲート11の
出力は27のようになる。このとき、他のANDゲート
11の出力は27のようになる。
Now, the rising edge 2 of CLK provided from the inverter 16
0, if the inputs A, B and C of the AND gate 1 change at timing 21, the Q output 2-Q of the flip-flop circuit 2.3 latched at the falling edge 22 of CLK.
, 3-Q each change as 23.24. The Q output 4-Q of the flip-flop circuit 4 remains at the high level of "1". The output of XOR gate 5.7 becomes 25.26, and the output of XOR gate 6 remains at high level, so the output of AND gate 11 becomes 27. At this time, the outputs of the other AND gates 11 are as shown in 27.

このとき、他のANDゲート12.13の出力は“0“
レベルのロウ・レベルに保持され、よってORゲート1
4の出力は28のようになる。すなわち、外部出力端子
15からは28で示すようなCLK半クロック間がハイ
・レベルとなるような信号が出力され、ハザード2つを
検出できたこととなる。
At this time, the output of the other AND gates 12 and 13 is “0”
is held at the low level of the OR gate 1
The output of 4 will be 28. That is, the external output terminal 15 outputs a signal as shown at 28 which is at a high level for half a clock of CLK, which means that two hazards have been detected.

また、タイミング30はAの信号のみ変化した場合、さ
らにタイミング31はA、B共に同方向のレベルに変化
した場合のタイミングを示しているが、この時は当然外
部端子15からはハザードは検出されない。
Also, timing 30 shows the timing when only the A signal changes, and timing 31 shows the timing when both A and B change in level in the same direction, but at this time, of course, no hazard is detected from the external terminal 15. .

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、タイミングを検証しよう
とする各組合せブロック(AND、ORゲートなど)の
入力端子へ本ハザード検出回路を並列に接続することに
より、”タイミング・シミュレーション1回のみを行な
うだけでリアルタイムでハザードの発生または危険性の
あるテストパターンの箇所をすぐに検出でき、効率的な
LSI設計が可能となる効果がある。
As explained above, the present invention enables ``timing simulation to be performed only once'' by connecting the present hazard detection circuit in parallel to the input terminal of each combinational block (AND, OR gate, etc.) whose timing is to be verified. This has the effect of making it possible to immediately detect the occurrence of a hazard or a potentially dangerous test pattern in real time, thereby enabling efficient LSI design.

第1図は本発明のハザード検出回路の一実施例の構成図
、第2図は第1図の実施例における主要信号のタイミン
グチャートである。
FIG. 1 is a block diagram of an embodiment of the hazard detection circuit of the present invention, and FIG. 2 is a timing chart of main signals in the embodiment of FIG.

1.11〜13・・・ANDゲート、2〜4・・・フリ
ップフロップ回路、5〜10・・・XORゲート、11
〜13・・・ANDゲート、14・・・ORゲート。
1.11-13...AND gate, 2-4...Flip-flop circuit, 5-10...XOR gate, 11
~13...AND gate, 14...OR gate.

Claims (1)

【特許請求の範囲】[Claims] 順序回路及び組合せ回路から成るLSIの設計時のタイ
ミング・シミュレーションにおいて、タイミングを阻害
するハザードを含む可能性のある複数の入力を受け検証
の対象とする検証ブロックの入力のそれぞれを入力とし
て受けかつあらかじめ設定するクロックで動作する複数
のフリップフロップ回路と、前記組合せブロックの入力
と前記フリップフロップ回路の出力とを入力とする第1
の排他的論理和ゲート群と、前記検証ブロックに対する
入力から相異る2つの入力の組合せをとって入力する第
2の排他的論理和ゲート群と、前記フリップフロップ回
路ごとの第1および第2の論理和ゲートの出力に他のフ
リップフロップ回路に対応する第1の排他的論理和回路
の出力を互いに異るように含ませて論理積をとる複数の
ANDゲートと、前記複数のANDゲートの出力を受け
て論理和をとるORゲートとを備え、ハザードを検出す
ることを特徴とするハザード検出回路。
In timing simulation during the design of LSIs consisting of sequential circuits and combinational circuits, each of the inputs of the verification block to be verified receives multiple inputs that may include hazards that impede timing, and a plurality of flip-flop circuits that operate with a set clock, and a first circuit that receives the input of the combinational block and the output of the flip-flop circuit;
a second exclusive OR gate group that inputs a combination of two different inputs from the inputs to the verification block; and a first and second exclusive OR gate group for each of the flip-flop circuits. a plurality of AND gates that perform logical product by including the outputs of the first exclusive OR circuits corresponding to other flip-flop circuits in different ways in the outputs of the OR gates of the plurality of AND gates; What is claimed is: 1. A hazard detection circuit comprising: an OR gate that receives an output and performs a logical sum; and detects a hazard.
JP1265545A 1989-10-11 1989-10-11 Hazard detection circuit Pending JPH03125981A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1265545A JPH03125981A (en) 1989-10-11 1989-10-11 Hazard detection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1265545A JPH03125981A (en) 1989-10-11 1989-10-11 Hazard detection circuit

Publications (1)

Publication Number Publication Date
JPH03125981A true JPH03125981A (en) 1991-05-29

Family

ID=17418608

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1265545A Pending JPH03125981A (en) 1989-10-11 1989-10-11 Hazard detection circuit

Country Status (1)

Country Link
JP (1) JPH03125981A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101789696A (en) * 2010-03-10 2010-07-28 上海宏力半导体制造有限公司 Virtual source earth voltage generating circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101789696A (en) * 2010-03-10 2010-07-28 上海宏力半导体制造有限公司 Virtual source earth voltage generating circuit

Similar Documents

Publication Publication Date Title
US5422891A (en) Robust delay fault built-in self-testing method and apparatus
Franco et al. On-line delay testing of digital circuits
JP5296352B2 (en) Method and apparatus for in-line measurement of switching delay history effect in PD-SOI technology
JPH0544690B2 (en)
CN104950248A (en) Circuit safety DFT (design for testability) method for accelerating hardware Trojan trigger and hardware Trojan detection method
US20070129923A1 (en) Dynamic synchronizer simulation
US7240263B2 (en) Apparatus for performing stuck fault testings within an integrated circuit
US20150061740A1 (en) Scannable flop with a single storage element
JP2008047121A (en) Method and apparatus for indirectly simulating semiconductor integrated circuit
JPH03125981A (en) Hazard detection circuit
US11482992B2 (en) Clock sweeping system
Chen et al. Single-fault fault-collapsing analysis in sequential logic circuits
Voyiatzis et al. On the generation of SIC pairs in optimal time
Shi et al. Fault simulation and random test generation for speed-independent circuits
JPH05100766A (en) Clock generator
US6400188B1 (en) Test mode clock multiplication
Nemati et al. Self-timed automatic test pattern generation for null convention logic
JPH03231173A (en) Method for detecting hazard
JP3135357B2 (en) Delay simulation device
JP2984522B2 (en) Circuit verification system
KR0160619B1 (en) Detecting circuit of integrated circuit internal operation
JPS63292719A (en) Counter circuit
Phadoongsidhi et al. A concurrent fault simulation for crosstalk faults in sequential circuits
JP2000339056A (en) Clock switching circuit
JPH08146096A (en) Semiconductor device having inspection function and self-inspection method thereof