JPH05281307A - Semiconductor circuit - Google Patents

Semiconductor circuit

Info

Publication number
JPH05281307A
JPH05281307A JP4079511A JP7951192A JPH05281307A JP H05281307 A JPH05281307 A JP H05281307A JP 4079511 A JP4079511 A JP 4079511A JP 7951192 A JP7951192 A JP 7951192A JP H05281307 A JPH05281307 A JP H05281307A
Authority
JP
Japan
Prior art keywords
circuit
signal
output
pulse width
reference pulse
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.)
Withdrawn
Application number
JP4079511A
Other languages
Japanese (ja)
Inventor
Masaki Amada
雅樹 天田
Hiroshi Sumikura
大志 隅倉
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.)
Hitachi Microcomputer System Ltd
Hitachi Ltd
Original Assignee
Hitachi Microcomputer System Ltd
Hitachi 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 Hitachi Microcomputer System Ltd, Hitachi Ltd filed Critical Hitachi Microcomputer System Ltd
Priority to JP4079511A priority Critical patent/JPH05281307A/en
Publication of JPH05281307A publication Critical patent/JPH05281307A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To obtain a semiconductor circuit on which operation verifying work can be easily performed in a short time. CONSTITUTION:A varying point detection circuit 2 generates a rise and fall detecting signals 11 and 15 upon detecting the varying point of the output signal 10 of a circuit 1 to be measured and a reference pulse generation circuit 3a (3b) generates a reference pulse signal 12 (16) having the pulse width equal to the output deciding time during the normal operation of the circuit 1 at the moment the signal 11 (15) is inputted. A pulse width comparator circuit 5a (5b) compares the signal 12 (16) with the output signal 10 (inverted output signal 17) and outputs an 'L'-level H-side detecting signal 13 (L-side detecting signal 18) to an OR circuit 6 during the normal output deciding time of the circuit 1 or 'H'-level H-side detecting signal 13 (L-side detecting signal 18) in the other case by regarding the case as an abnormal case. The circuit 6 outputs the OR of both signals to the outside as a discriminating signal 14.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、半導体回路に関し、特
に、論理LSIなどにおける動作の検証に好適な技術に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a semiconductor circuit, and more particularly to a technique suitable for verifying the operation of a logic LSI or the like.

【0002】[0002]

【従来の技術】たとえば、フリップフロップやメモリ等
の半導体回路では、クロックや制御信号によりデータの
保持の制御を行っているが、回路の設計不良及び製造不
良により論理動作が不安定になりデータの保持が行われ
ないことがある。この時、フリップフロップやメモリ等
の出力には、周辺の論理回路よりノイズが載るケースや
期待値が出力されたものの出力の確定時間内にデータが
反転する等のケースがある。ノイズの不良に対しては、
たとえば特開昭63−231281号公報に開示された
技術のように幅の狭いノイズの検出回路をLSI内部に
設け、出力の確定時間内に発生したノイズを検出する方
法がある。又、データが反転しているケースのような確
定時間内の論理動作不良を検査する場合には、以下に示
す方法により検査している。
2. Description of the Related Art For example, in a semiconductor circuit such as a flip-flop or a memory, data retention control is performed by a clock or a control signal. Retention may not be performed. At this time, the output of the flip-flop, the memory, or the like may include noise from a peripheral logic circuit or a case where the expected value is output but the data is inverted within the fixed time of the output. For defective noise,
For example, as in the technique disclosed in Japanese Patent Laid-Open No. 63-231281, there is a method in which a narrow noise detection circuit is provided inside the LSI and the noise generated within the output fixed time is detected. Further, in the case of inspecting the logic operation failure within the fixed time such as the case where the data is inverted, the inspection is performed by the following method.

【0003】図5の論理回路21,22の出力を調べる
時、論理回路22はそのまま出力ピン23に接続されて
いるが、論理回路21は内部論理回路であるため、出力
信号を出力ピン24に信号を接続する。このようにして
出力された出力ピン23,24を用いて、論理動作の不
良を検出する。ここで、論理回路21,22に動作不良
があり図6の波形25に示すような出力があるとする。
この論理回路は、正規出力信号としては図6の破線で示
した波形26の動作をする。この出力の検出方法を2つ
以下に示す。1つは、オシロスコープ等の波形測定装置
により論理回路の出力波形のパルス幅t10と正規のパ
ルス幅t11を比較して不良の検出を行っている。2つ
めは、図6の判定タイミング28のように正規動作のパ
ルス幅内に幾つかのタイミングt12,t1
3,...,t14で出力信号の判定を行う方法で、不
良を摘出している。
When examining the outputs of the logic circuits 21 and 22 in FIG. 5, the logic circuit 22 is directly connected to the output pin 23, but since the logic circuit 21 is an internal logic circuit, the output signal is output to the output pin 24. Connect the signal. The output pins 23 and 24 output in this way are used to detect a defective logic operation. Here, it is assumed that the logic circuits 21 and 22 have malfunctions and have outputs as shown by the waveform 25 in FIG.
This logic circuit operates as the waveform 26 shown by the broken line in FIG. 6 as a normal output signal. Two methods of detecting this output are shown below. One is to detect a defect by comparing the pulse width t10 of the output waveform of the logic circuit with the regular pulse width t11 using a waveform measuring device such as an oscilloscope. The second is that some timings t12 and t1 are within the pulse width of the normal operation as the determination timing 28 in FIG.
3 ,. . . , T14, the defect is extracted by the method of determining the output signal.

【0004】[0004]

【発明が解決しようとする課題】規定パルス幅以上の出
力信号を出力する回路の出力異常を検査する場合、上記
した従来の技術により行ってきた。しかし、これらの従
来技術では、検査すべき論理回路の出力について、波形
観測やいくつかのタイミングでテストを実施する必要が
あるため、検査すべき論理回路の数が極めて多い高集積
度の半導体回路のの場合には、作業時間やテスト時間が
長くなってしまうという問題がある。
The above-mentioned conventional technique has been used to inspect the output abnormality of the circuit which outputs the output signal having the specified pulse width or more. However, in these conventional techniques, the output of the logic circuit to be inspected needs to be observed at a waveform or to be tested at some timings. Therefore, the number of logic circuits to be inspected is extremely high. In the case of, there is a problem that work time and test time become long.

【0005】本発明の目的は、動作の検証作業を容易か
つ短時間に行うことが可能な半導体回路を提供すること
にある。
An object of the present invention is to provide a semiconductor circuit capable of easily performing operation verification work in a short time.

【0006】本発明の前記ならびにその他の目的と新規
な特徴は、本明細書の記述および添付図面から明らかに
なるであろう。
The above and other objects and novel features of the present invention will be apparent from the description of this specification and the accompanying drawings.

【0007】[0007]

【課題を解決するための手段】本願において開示される
発明のうち、代表的なものの概要を簡単に説明すれば、
下記のとおりである。
Among the inventions disclosed in the present application, a brief description will be given to the outline of typical ones.
It is as follows.

【0008】すなわち、本発明の半導体回路は、クロッ
ク又は規則的な制御信号に同期して動作し、規定パルス
幅以上の出力信号を出力する被測定回路と、この被測定
回路の出力波形の変化点を検出して変化点検出信号を出
力する第1の回路と、変化点検出信号をトリガにして規
定パルス幅の基準パルス信号を出力する第2の回路と、
被測定回路の出力信号と基準パルス信号のパルス幅を比
較する第3の回路とを備えたものである。
That is, the semiconductor circuit of the present invention operates in synchronization with a clock or a regular control signal and outputs an output signal having a specified pulse width or more, and a change in the output waveform of the circuit under measurement. A first circuit that detects a point and outputs a change point detection signal; and a second circuit that triggers the change point detection signal to output a reference pulse signal having a specified pulse width,
A third circuit for comparing the pulse widths of the output signal of the circuit under test and the reference pulse signal is provided.

【0009】[0009]

【作用】第1の回路は、測定対象である被測定回路の出
力信号の変化点つまり、出力信号の論理値の変化及びノ
イズによる変化を検出する。第2の回路は、変化点検出
信号をトリガとして被測定回路の出力の変化点と同じタ
イミングで、被測定回路の出力信号に期待される規定の
パルス幅を有する基準パルス信号を出力する。第3の回
路は、同じタイミングで基準パルス信号と被測定回路の
出力信号が入力され、規定パルス幅の基準パルス信号の
入力中に被測定回路の出力信号に変化があった場合に検
出信号を出力する。
The first circuit detects a change point of the output signal of the circuit to be measured which is the measurement target, that is, a change in the logical value of the output signal and a change due to noise. The second circuit outputs a reference pulse signal having a prescribed pulse width expected for the output signal of the circuit under measurement, at the same timing as the change point of the output of the circuit under measurement, triggered by the change point detection signal. The third circuit inputs the reference pulse signal and the output signal of the circuit under measurement at the same timing, and outputs the detection signal when the output signal of the circuit under measurement changes while the reference pulse signal having the specified pulse width is input. Output.

【0010】これにより、第3の回路からの検出信号の
有無を調べるという簡単な操作で、半導体回路内におけ
る個々の被測定回路の出力信号について外部に設けられ
た特別な装置などを用いた煩雑な観測作業などを必要と
せず、動作の検証が可能となり、検証作業の容易化およ
び迅速化を実現することができる。
With this, by a simple operation of checking the presence or absence of the detection signal from the third circuit, the output signal of each circuit under test in the semiconductor circuit is complicated by using a special device provided outside. It is possible to verify the operation without requiring special observation work, and it is possible to realize the verification work easily and quickly.

【0011】[0011]

【実施例1】本発明の一実施例である半導体回路を図面
を参照しながら詳細に説明する。
First Embodiment A semiconductor circuit which is an embodiment of the present invention will be described in detail with reference to the drawings.

【0012】図1は、本実施例の半導体回路の構成の一
例を示すブロック図である。
FIG. 1 is a block diagram showing an example of the configuration of the semiconductor circuit of this embodiment.

【0013】本実施例の半導体回路は、クロック又は規
則的な制御信号に同期して動作する半導体集積回路であ
り、図1は、その中の特定の被測定回路の一つに着目し
たものである。すなわち、所望の論理動作を行う論理回
路などからなる被測定回路1には、図中において破線で
取り囲まれた付加回路Aが接続されている。なお、本実
施例の場合、付加回路Aは、正論理で動作し、動作周期
はt2である。付加回路Aは、変化点検出回路2と、基
準パルス発生回路3a,基準パルス発生回路3bと、パ
ルス幅比較回路5a,パルス幅比較回路5bと、OR回
路6とを含んでいる。
The semiconductor circuit of this embodiment is a semiconductor integrated circuit that operates in synchronization with a clock or a regular control signal, and FIG. 1 focuses on one of the specific circuits under test. is there. That is, an additional circuit A surrounded by a broken line in the drawing is connected to the circuit under test 1 including a logic circuit that performs a desired logical operation. In addition, in the case of the present embodiment, the additional circuit A operates in positive logic, and the operation cycle is t2. The additional circuit A includes a change point detection circuit 2, a reference pulse generation circuit 3a, a reference pulse generation circuit 3b, a pulse width comparison circuit 5a, a pulse width comparison circuit 5b, and an OR circuit 6.

【0014】変化点検出回路2は、被測定回路1の出力
信号10の立上り及び立ち下がりを検出し、後段の基準
パルス発生回路3aおよび3bに立上がり検出信号11
および立下がり検出信号15を出力している。基準パル
ス発生回路3aおよび3bは、立上がり検出信号11お
よび立下がり検出信号15をトリガとして、それぞれパ
ルス幅t2およびパルス幅t3の基準パルス信号12お
よび基準パルス信号16を発生する回路である。基準パ
ルス信号12および16のパルス幅t2およびt3の値
は、被測定回路1の設計又は使用時における出力信号1
0の最小確定時間である。パルス幅比較回路5aは基準
パルス信号12のパルス幅と被測定回路1の出力信号1
0のパルス幅を比較し、当該出力信号10のパルス幅が
狭い場合はH側検出信号13を出力する。パルス幅比較
回路5bは基準パルス信号16のパルス幅と、インバー
タ4で反転された被測定回路1の出力信号10のパルス
幅を比較し、反転された当該出力信号10のパルス幅が
狭い場合はL側検出信号18を出力する。H側検出信号
13およびL側検出信号18は、OR回路6に入力さ
れ、両者の論理和としての判定信号14が出力される。
The change point detection circuit 2 detects the rising and falling edges of the output signal 10 of the circuit under test 1, and outputs the rising edge detection signal 11 to the reference pulse generating circuits 3a and 3b in the subsequent stage.
And the fall detection signal 15 is output. The reference pulse generation circuits 3a and 3b are circuits that generate a reference pulse signal 12 and a reference pulse signal 16 having a pulse width t2 and a pulse width t3, respectively, by using the rising detection signal 11 and the falling detection signal 15 as a trigger. The values of the pulse widths t2 and t3 of the reference pulse signals 12 and 16 are the same as those of the output signal 1 when the circuit under test 1 is designed or used.
It is a minimum definite time of 0. The pulse width comparison circuit 5a determines the pulse width of the reference pulse signal 12 and the output signal 1 of the circuit under test 1.
When the pulse width of the output signal 10 is narrow, the H side detection signal 13 is output. The pulse width comparison circuit 5b compares the pulse width of the reference pulse signal 16 with the pulse width of the output signal 10 of the circuit under test 1 inverted by the inverter 4, and when the pulse width of the inverted output signal 10 is narrow, The L-side detection signal 18 is output. The H-side detection signal 13 and the L-side detection signal 18 are input to the OR circuit 6, and the determination signal 14 as the logical sum of them is output.

【0015】以下、本実施例の半導体回路の作用の一例
を説明する。
An example of the operation of the semiconductor circuit of this embodiment will be described below.

【0016】被測定回路1には、規則的な信号により動
作した図示しない前段論理回路の出力信号が入力信号群
19として入力され、出力信号10が出力される。この
出力信号10の一部は付加回路Aの変化点検出回路2、
パルス幅比較回路5a、インバータ4の入力信号とな
る。変化点検出回路2は、被測定回路1の出力信号10
の立上り検出信号11と立下がり検出信号15を出力す
る。立上がり検出信号11は、基準パルス発生回路3a
に入力され、基準パルス信号12を出力する。この基準
パルス信号12はパルス幅比較回路5aに入力される。
パルス幅比較回路5aには、同時に被測定回路1の出力
信号10が入力され、基準パルス信号12と当該出力信
号10の論理値H側のパルス幅が比較される。比較した
結果は、H側検出信号13としてOR回路6に入力され
る。
The output signal of the preceding logic circuit (not shown) operated by a regular signal is input to the circuit under test 1 as an input signal group 19, and the output signal 10 is output. Part of this output signal 10 is the change point detection circuit 2 of the additional circuit A,
It becomes an input signal to the pulse width comparison circuit 5a and the inverter 4. The change point detection circuit 2 outputs the output signal 10 of the circuit under measurement 1
The rising edge detection signal 11 and the falling edge detection signal 15 are output. The rising edge detection signal 11 is the reference pulse generation circuit 3a.
And outputs the reference pulse signal 12. The reference pulse signal 12 is input to the pulse width comparison circuit 5a.
The output signal 10 of the circuit under test 1 is simultaneously input to the pulse width comparison circuit 5a, and the reference pulse signal 12 and the pulse width of the output signal 10 on the logical value H side are compared. The comparison result is input to the OR circuit 6 as the H-side detection signal 13.

【0017】変化点検出回路2の立下がり検出信号15
は、基準パルス発生回路3bに入力され、基準パルス信
号16をパルス幅比較回路5bに出力する。パルス幅比
較回路5bには、同時に、被測定回路1の出力信号10
をインバータ4で反転して得られる反転出力信号17が
入力され、基準パルス信号16と出力信号10の論理値
L側のパルス幅が比較される。比較した結果はL側検出
信号18に出力される。H側検出信号13とL側検出信
号18は、OR回路6に入力され、論理和としての判定
信号14が出力される。
Fall detection signal 15 of change point detection circuit 2
Is input to the reference pulse generation circuit 3b and outputs the reference pulse signal 16 to the pulse width comparison circuit 5b. At the same time, the pulse width comparison circuit 5b outputs the output signal 10 of the circuit under test 1
The inverted output signal 17 obtained by inverting the signal is input by the inverter 4, and the pulse widths of the reference pulse signal 16 and the output signal 10 on the logical value L side are compared. The comparison result is output to the L-side detection signal 18. The H-side detection signal 13 and the L-side detection signal 18 are input to the OR circuit 6, and the determination signal 14 as a logical sum is output.

【0018】ここで、入力信号群19が被測定回路1に
入力され、出力信号10に図2の10の波形に示すよう
な正規でないパルス幅を持つ波形が出力された場合を考
える。この時、変化点検出回路2により出力信号10の
変化点が検出され、図2の11,15の波形およびタイ
ミングの立上がり検出信号11および立下がり検出信号
15が出力される。図2の立上がり検出信号11のパル
スをトリガとして、基準パルス発生回路3aより図2の
12の波形に示すようなパルス幅t2の波形を有する基
準パルス信号12がパルス幅比較回路5aに出力され
る。パルス幅比較回路5aにより、このパルス幅t2の
基準パルス信号12と、パルス幅t1の出力信号10が
比較され、出力信号10のパルス幅が基準パルス信号1
2よりも狭いと判明した時点9で、図2の13の波形の
ように”H”レベルとなったH側検出信号13がOR回
路6に出力される。
Here, consider a case where the input signal group 19 is input to the circuit under test 1 and the output signal 10 outputs a waveform having an irregular pulse width as shown by the waveform 10 in FIG. At this time, the change point detection circuit 2 detects the change point of the output signal 10 and outputs the rising detection signal 11 and the falling detection signal 15 having the waveforms and timings 11 and 15 in FIG. Using the pulse of the rising edge detection signal 11 of FIG. 2 as a trigger, the reference pulse generator circuit 3a outputs the reference pulse signal 12 having the waveform of the pulse width t2 shown in the waveform 12 of FIG. 2 to the pulse width comparison circuit 5a. .. The pulse width comparison circuit 5a compares the reference pulse signal 12 having the pulse width t2 with the output signal 10 having the pulse width t1, and the pulse width of the output signal 10 is the reference pulse signal 1
At time 9 when it is found to be narrower than 2, the H-side detection signal 13 that has reached the “H” level as shown by the waveform 13 in FIG. 2 is output to the OR circuit 6.

【0019】同様に、図2の15の波形の立下がり検出
信号15のパルスをトリガとして、基準パルス発生回路
3bより図2の16の波形に示すようなパルス幅t3の
基準パルス信号16がパルス幅比較回路5bに出力され
る。パルス幅比較回路5bにより、基準パルス信号16
のパルス幅t3と出力信号10を反転させた反転出力信
号17のパルス幅t4が比較されるが、基準パルス信号
16のパルス幅t3よりも反転出力信号17のパルス幅
t4のパルス幅が広いため、図2の18の波形に示され
るように、L側検出信号18は異常未検出の状態を示
す”L”レベルに維持される。
Similarly, when the pulse of the falling edge detection signal 15 having the waveform of 15 in FIG. 2 is used as a trigger, the reference pulse signal 16 having the pulse width t3 shown in the waveform of 16 in FIG. It is output to the width comparison circuit 5b. By the pulse width comparison circuit 5b, the reference pulse signal 16
Is compared with the pulse width t4 of the inverted output signal 17 obtained by inverting the output signal 10, but the pulse width of the inverted output signal 17 is wider than the pulse width t3 of the reference pulse signal 16. As shown by the waveform 18 in FIG. 2, the L-side detection signal 18 is maintained at the “L” level, which indicates a state in which no abnormality has been detected.

【0020】2つのパルス幅比較回路5a,5bより出
力されたH側検出信号13およびL側検出信号18は、
OR回路6において論理和をとられ、判定信号14とし
て出力される。この例では、出力された判定信号14
は、図2の14の波形に示したように、”H”レベルと
なり、被測定回路1の出力信号10に異常有りと判定さ
れ、判定信号14を観測することにより、被測定回路1
の出力信号10の異常を、当該出力信号10自体を外部
に取り出して観測するなどの煩雑な作業を必要とせず
に、容易かつ迅速に検出する事が出来る。
The H-side detection signal 13 and the L-side detection signal 18 output from the two pulse width comparison circuits 5a and 5b are
The OR circuit 6 takes the logical sum and outputs it as the determination signal 14. In this example, the output determination signal 14
2 becomes the “H” level as shown by the waveform 14 in FIG. 2, and it is determined that the output signal 10 of the circuit under test 1 is abnormal. By observing the determination signal 14, the circuit under test 1
The abnormality of the output signal 10 can be detected easily and quickly without requiring a complicated work such as taking out the output signal 10 itself to observe it.

【0021】[0021]

【実施例2】本発明の他の実施例である半導体回路を図
3および図4を参照しながら説明する。
Second Embodiment A semiconductor circuit which is another embodiment of the present invention will be described with reference to FIGS.

【0022】この例では、半導体集積回路中において通
常のデータなどからなる入力信号49と、クロック50
とを入力として、出力信号40を後段回路37に出力す
る動作を行うフリップフロップ31に、当該フリップフ
ロップ31の動作を検証する付加回路Bを備えた場合を
示している。図3において破線で囲まれた付加回路B
は、正論理で動作する。
In this example, an input signal 49 composed of normal data and a clock 50 in a semiconductor integrated circuit are provided.
A case is shown in which the flip-flop 31 that performs an operation of outputting the output signal 40 to the post-stage circuit 37 by inputting and is provided with the additional circuit B that verifies the operation of the flip-flop 31. Additional circuit B surrounded by a broken line in FIG.
Operates with positive logic.

【0023】付加回路Bを構成する変化点検出回路32
は、フリップフロップ31から入力された出力信号40
の立上り及び立ち下がりを検出し、立上がり検出信号4
1および立下がり検出信号45を基準パルス発生回路3
3aおよび基準パルス発生回路33bに入力する。この
場合、基準パルス発生回路33a,33bの各々には、
クロック50も同時に入力され、内部に設けられた回路
によりクロック50の周期t20が基準パルス信号42
および基準パルス信号46のパルス幅となるように図示
しないパルス発生回路の設定を行う。基準パルス信号4
2および46は、変化点検出回路2からの立上がり検出
信号41および立下がり検出信号45の入力トリガとし
て、パルス幅比較回路35aおよびパルス幅比較回路3
5bに基準パルス信号42および46をそれぞれ出力す
る。
Change point detection circuit 32 constituting the additional circuit B
Is the output signal 40 input from the flip-flop 31.
Rising and falling edges are detected, rising edge detection signal 4
1 and the fall detection signal 45 to the reference pulse generation circuit 3
3a and the reference pulse generating circuit 33b. In this case, each of the reference pulse generation circuits 33a and 33b has
The clock 50 is also input at the same time, and the period t20 of the clock 50 is changed to the reference pulse signal 42 by the circuit provided inside.
The pulse generator circuit (not shown) is set so that the pulse width of the reference pulse signal 46 is obtained. Reference pulse signal 4
2 and 46 are pulse width comparison circuits 35a and pulse width comparison circuits 3 as input triggers for the rising edge detection signal 41 and the falling edge detection signal 45 from the change point detection circuit 2.
The reference pulse signals 42 and 46 are output to 5b, respectively.

【0024】パルス幅比較回路35aには、フリップフ
ロップ31の出力信号40がそのまま入力され、パルス
幅比較回路35bには、フリップフロップ31の出力信
号40を、インバータ34で反転させた反転出力信号4
7が入力される。
The output signal 40 of the flip-flop 31 is directly input to the pulse width comparison circuit 35a, and the inverted output signal 4 obtained by inverting the output signal 40 of the flip-flop 31 by the inverter 34 is input to the pulse width comparison circuit 35b.
7 is input.

【0025】パルス幅比較回路35a,35bは基準パ
ルス信号42,基準パルス信号46の各々のパルス幅
と、出力信号40および反転出力信号47の各々のパル
ス幅を比較し、出力信号40および反転出力信号47の
パルス幅が、それぞれ基準パルス信号42および基準パ
ルス信号46よりも狭い場合は”H”レベルのH側検出
信号43およびL側検出信号48を後段のOR回路36
に出力し、それ以外の場合には、H側検出信号43およ
びL側検出信号48を”L”レベルに維持する動作を行
う。OR回路は、H側検出信号43およびL側検出信号
48の論理和をとり、判定信号44として外部に出力す
る動作を行う。
The pulse width comparison circuits 35a and 35b compare the pulse widths of the reference pulse signal 42 and the reference pulse signal 46 with the pulse widths of the output signal 40 and the inverted output signal 47, respectively. When the pulse width of the signal 47 is narrower than the reference pulse signal 42 and the reference pulse signal 46, respectively, the H-side detection signal 43 and the L-side detection signal 48 at the “H” level are supplied to the subsequent OR circuit 36.
Otherwise, the operation of maintaining the H-side detection signal 43 and the L-side detection signal 48 at the "L" level is performed. The OR circuit performs an operation of taking the logical sum of the H-side detection signal 43 and the L-side detection signal 48 and outputting the result as the determination signal 44 to the outside.

【0026】以下、本実施例の半導体回路の作用の一例
を説明する。
An example of the operation of the semiconductor circuit of this embodiment will be described below.

【0027】フリップフロップ31には、クロック50
及び入力信号49が入力され、出力信号40が後段回路
37に出力される。この出力信号40の一部は付加回路
Bの変化点検出回路32、パルス幅比較回路35a、お
よびインバータ34を介して反転出力信号47としてパ
ルス幅比較回路35bに入力される。変化点検出回路3
2は、出力信号40の立上り検出信号41と立下がり検
出信号45を基準パルス発生回路33aおよび33bに
出力する。基準パルス発生回路33aおよび33bは、
それぞれ立上がり検出信号41および立下がり検出信号
45の入力を契機として、クロック50のパルス幅t2
0に等しいパルス幅の基準パルス信号42および基準パ
ルス信号46を、パルス幅比較回路35aおよび35b
に出力する。
The flip-flop 31 has a clock 50.
And the input signal 49 are input, and the output signal 40 is output to the post-stage circuit 37. A part of the output signal 40 is input to the pulse width comparison circuit 35b as an inverted output signal 47 via the change point detection circuit 32 of the additional circuit B, the pulse width comparison circuit 35a, and the inverter 34. Change point detection circuit 3
2 outputs the rising detection signal 41 and the falling detection signal 45 of the output signal 40 to the reference pulse generating circuits 33a and 33b. The reference pulse generation circuits 33a and 33b are
The pulse width t2 of the clock 50 is triggered by the input of the rising edge detection signal 41 and the falling edge detection signal 45, respectively.
The reference pulse signal 42 and the reference pulse signal 46 having a pulse width equal to 0 are supplied to the pulse width comparison circuits 35a and 35b.
Output to.

【0028】パルス幅比較回路35aでは、フリップフ
ロップ31の出力信号40と基準パルス信号42のパル
ス幅を比較し、出力信号40のパルス幅が基準パルス信
号42よりも狭い時にH側検出信号43をOR回路36
に出力する。
The pulse width comparison circuit 35a compares the pulse widths of the output signal 40 of the flip-flop 31 and the reference pulse signal 42, and when the pulse width of the output signal 40 is narrower than the reference pulse signal 42, the H side detection signal 43 is output. OR circuit 36
Output to.

【0029】パルス幅比較回路35bでは、フリップフ
ロップ31の反転出力信号47と基準パルス信号46の
パルス幅を比較し、反転出力信号47のパルス幅が基準
パルス信号46よりも狭い時にL側検出信号48をOR
回路36に出力する。OR回路36は、H側検出信号4
3およびL側検出信号48の論理和を取り、判定信号4
4として出力する。
The pulse width comparison circuit 35b compares the pulse widths of the inverted output signal 47 of the flip-flop 31 and the reference pulse signal 46, and when the pulse width of the inverted output signal 47 is narrower than the reference pulse signal 46, the L side detection signal. OR 48
Output to the circuit 36. The OR circuit 36 uses the H-side detection signal 4
3 and the L-side detection signal 48 are ORed to obtain the determination signal 4
Output as 4.

【0030】ここで、図4の49の波形で示される入力
信号49がフリップフロップ31にクロック50に同期
して取り込まれ、回路遅延時間t21だけ遅れて、出力
信号40が、図4の40の波形に示すような正規でない
パルス幅を持つ状態で出力された場合を考える。
Here, the input signal 49 shown by the waveform 49 in FIG. 4 is taken in by the flip-flop 31 in synchronization with the clock 50, and delayed by the circuit delay time t21, and the output signal 40 becomes 40 in FIG. Consider a case where the output is made in a state where the pulse width is not normal as shown in the waveform.

【0031】この出力信号40は、変化点検出回路32
により変化点が検出され、図4の41,45の波形が立
上がり検出信号41,立下がり検出信号45が出力され
る。
This output signal 40 is output to the change point detection circuit 32.
Then, the change point is detected and the rising and falling detection signals 41 and 45 of FIG. 4 are output.

【0032】基準パルス発生回路33aは、図4の41
の波形の立上がり検出信号41のパルスをトリガとし
て、クロック50に基づいて設定されたパルス幅の基準
パルス信号42をパルス幅比較回路35aに出力する。
この基準パルス信号42は、パルス幅がパルス幅t20
の図4の42の波形となる。パルス幅比較回路35aに
より、このパルス幅t20の基準パルス信号42と、パ
ルス幅t22が比較され、出力信号40のパルス幅が狭
いと判明した時点39で、図4の43の波形に示すH側
検出信号43がOR回路36に出力される。
The reference pulse generating circuit 33a is the same as 41 in FIG.
Using the pulse of the rising edge detection signal 41 of the waveform as a trigger, the reference pulse signal 42 having the pulse width set based on the clock 50 is output to the pulse width comparison circuit 35a.
The pulse width of the reference pulse signal 42 is t20.
The waveform of 42 in FIG. The pulse width comparison circuit 35a compares the reference pulse signal 42 having the pulse width t20 with the pulse width t22, and at the time 39 when the pulse width of the output signal 40 is found to be narrow, the H side shown in the waveform 43 of FIG. The detection signal 43 is output to the OR circuit 36.

【0033】同様に、基準パルス発生回路33bは、図
4の45の波形で示される立下がり検出信号45のパル
スをトリガとして、クロック50より設定された基準パ
ルス信号46をパルス幅比較回路35bに出力する。こ
の基準パルス信号46は図4の46の波形に示すような
パルス幅t20を持っている。パルス幅比較回路35b
により、このパルス幅t20の基準パルス信号46と、
出力信号40を反転させたパルス幅t23の反転出力信
号47とが比較される。この場合、基準パルス信号46
のパルス幅t20よりも、反転出力信号47のパルス幅
t23の方が広いため、L側検出信号48は、図4の4
8の波形に示されるように、異常なしを示す”L”レベ
ルに維持される。2つのパルス幅比較回路35a,35
bより出力されたH側検出信号43およびL側検出信号
48は、OR回路36によって論理和をとられ、この場
合、”H”レベルの判定信号44として出力される(図
4の44の波形)。この判定信号44を観測することに
より、フリップフロップ31の出力信号40を直接的に
外部に取り出して観測するなどの煩雑な作業を行うこと
なく、迅速に当該フリップフロップ31の出力信号40
の異常を検出する事が出来る。
Similarly, the reference pulse generation circuit 33b triggers the pulse of the falling edge detection signal 45 shown by the waveform 45 of FIG. 4 as a trigger to output the reference pulse signal 46 set by the clock 50 to the pulse width comparison circuit 35b. Output. The reference pulse signal 46 has a pulse width t20 as shown by the waveform 46 in FIG. Pulse width comparison circuit 35b
Thus, the reference pulse signal 46 having the pulse width t20,
The inverted output signal 47 having the pulse width t23 obtained by inverting the output signal 40 is compared. In this case, the reference pulse signal 46
Since the pulse width t23 of the inverted output signal 47 is wider than the pulse width t20 of the L side detection signal 48 of FIG.
As shown in the waveform of No. 8, the "L" level indicating no abnormality is maintained. Two pulse width comparison circuits 35a, 35
The H-side detection signal 43 and the L-side detection signal 48 output from b are ORed by the OR circuit 36, and in this case, output as the "H" level determination signal 44 (waveform 44 in FIG. 4). ). By observing the determination signal 44, the output signal 40 of the flip-flop 31 can be quickly output without performing a complicated work such as directly extracting the output signal 40 of the flip-flop 31 to the outside and observing the output signal 40.
It is possible to detect abnormalities.

【0034】なお、前述の実施例1における付加回路A
の判定信号14と本実施例2における付加回路Bの判定
信号44との論理和をとって外部に出力させ、それによ
って、いくつかの被測定回路の診断を一括して行うよう
にしてもよい。
The additional circuit A in the first embodiment described above is used.
The determination signal 14 and the determination signal 44 of the additional circuit B according to the second embodiment may be logically summed and output to the outside, so that several circuits to be measured may be collectively diagnosed. .

【0035】[0035]

【発明の効果】本願において開示される発明のうち、代
表的なものによって得られる効果を簡単に説明すれば、
以下のとおりである。
The effects obtained by the typical ones of the inventions disclosed in the present application will be briefly described as follows.
It is as follows.

【0036】本発明の半導体回路によれば、被測定回路
の出力を外部に引き出すことなく、第3の回路の出力に
基づいて規定パルス幅が出力されていることを検証でき
る。
According to the semiconductor circuit of the present invention, it is possible to verify that the specified pulse width is output based on the output of the third circuit without drawing out the output of the circuit under test to the outside.

【0037】また、周辺の論理回路よりノイズが載るケ
ースや期待値が出力されたものの出力の規定パルス内に
データが反転するケースなどを、被測定回路の出力の波
形を観察するなどの煩雑な作業を行うことなく検証する
ことが出来る。この結果、検査および使用時のいずれの
場合でも、第3の回路の出力をモニタすることだけで異
常を検出できるため、容易かつ迅速に半導体回路の異常
検出が可能となる。
In addition, in the case where noise is added from the peripheral logic circuit or the case where the expected value is output but the data is inverted within the specified pulse of the output, it is complicated to observe the waveform of the output of the circuit under test. It can be verified without any work. As a result, the abnormality can be detected only by monitoring the output of the third circuit in both the inspection and the use, so that the abnormality of the semiconductor circuit can be detected easily and quickly.

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

【図1】本発明の一実施例である半導体回路の構成の一
例を示すブロック図である。
FIG. 1 is a block diagram showing an example of a configuration of a semiconductor circuit that is an embodiment of the present invention.

【図2】その作用の一例を示す線図である。FIG. 2 is a diagram showing an example of the operation.

【図3】本発明の他の実施例である半導体回路の構成の
一例を示すブロック図である。
FIG. 3 is a block diagram showing an example of a configuration of a semiconductor circuit that is another embodiment of the present invention.

【図4】その作用の一例を示す線図である。FIG. 4 is a diagram showing an example of the operation.

【図5】従来の半導体回路の構成の一例を示すブロック
図である。
FIG. 5 is a block diagram showing an example of a configuration of a conventional semiconductor circuit.

【図6】従来の検査技術の作用の一例を示す線図であ
る。
FIG. 6 is a diagram showing an example of the operation of a conventional inspection technique.

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

1 被測定回路 2 変化点検出回路(第1の回路) 3a 基準パルス発生回路(第2の回路) 3b 基準パルス発生回路(第2の回路) 4 インバータ 5a パルス幅比較回路(第3の回路) 5b パルス幅比較回路(第3の回路) 6 OR回路 10 出力信号 11 立上り検出信号 12 基準パルス信号 13 H側検出信号 14 判定信号 15 立下がり検出信号 16 基準パルス信号 17 反転出力信号 18 L側検出信号 19 入力信号群 31 フリップフロップ(被測定回路) 32 変化点検出回路(第1の回路) 33a 基準パルス発生回路(第2の回路) 33b 基準パルス発生回路(第2の回路) 34 インバータ 35a パルス幅比較回路(第3の回路) 35b パルス幅比較回路(第3の回路) 36 OR回路 37 後段回路 40 出力信号 41 立上り検出信号 42 基準パルス信号 43 H側検出信号 44 判定信号 45 立下がり検出信号 46 基準パルス信号 47 反転出力信号 48 L側検出信号 49 入力信号 50 クロック A 付加回路 B 付加回路 1 circuit under measurement 2 change point detection circuit (first circuit) 3a reference pulse generation circuit (second circuit) 3b reference pulse generation circuit (second circuit) 4 inverter 5a pulse width comparison circuit (third circuit) 5b Pulse width comparison circuit (third circuit) 6 OR circuit 10 Output signal 11 Rise detection signal 12 Reference pulse signal 13 H side detection signal 14 Judgment signal 15 Fall detection signal 16 Reference pulse signal 17 Inverted output signal 18 L side detection Signal 19 Input signal group 31 Flip-flop (circuit under test) 32 Change point detection circuit (first circuit) 33a Reference pulse generation circuit (second circuit) 33b Reference pulse generation circuit (second circuit) 34 Inverter 35a pulse Width comparison circuit (third circuit) 35b Pulse width comparison circuit (third circuit) 36 OR circuit 37 Rear stage circuit 40 Output signal 1 rising edge detection signal 42 reference pulse signal 43 H-side detection signal 44 the determination signal 45 falling detection signal 46 reference pulse signal 47 inverted output signal 48 L-side detection signal 49 input signal 50 clock A addition circuit B addition circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 クロック又は規則的な制御信号に同期し
て動作し、規定パルス幅以上の出力信号を出力する被測
定回路と、この被測定回路の出力波形の変化点を検出し
変化点検出信号を出力する第1の回路と、前記変化点検
出信号をトリガにして規定パルス幅の基準パルス信号を
出力する第2の回路と、前記被測定回路の前記出力信号
と前記基準パルス信号のパルス幅を比較する第3の回路
とを含むことを特徴とする半導体回路。
1. A circuit under test which operates in synchronization with a clock or a regular control signal and outputs an output signal having a prescribed pulse width or more, and a change point detection by detecting a change point of an output waveform of the circuit under test. A first circuit for outputting a signal, a second circuit for outputting a reference pulse signal having a specified pulse width by using the change point detection signal as a trigger, the output signal of the circuit under measurement, and a pulse of the reference pulse signal And a third circuit for comparing widths.
JP4079511A 1992-04-01 1992-04-01 Semiconductor circuit Withdrawn JPH05281307A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4079511A JPH05281307A (en) 1992-04-01 1992-04-01 Semiconductor circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4079511A JPH05281307A (en) 1992-04-01 1992-04-01 Semiconductor circuit

Publications (1)

Publication Number Publication Date
JPH05281307A true JPH05281307A (en) 1993-10-29

Family

ID=13691989

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4079511A Withdrawn JPH05281307A (en) 1992-04-01 1992-04-01 Semiconductor circuit

Country Status (1)

Country Link
JP (1) JPH05281307A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7640127B2 (en) 2003-02-04 2009-12-29 Advantest Corporation Detection apparatus, detection method, and program
CN103376397A (en) * 2012-04-19 2013-10-30 安凯(广州)微电子技术有限公司 Detection system for asynchronous circuit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7640127B2 (en) 2003-02-04 2009-12-29 Advantest Corporation Detection apparatus, detection method, and program
CN103376397A (en) * 2012-04-19 2013-10-30 安凯(广州)微电子技术有限公司 Detection system for asynchronous circuit

Similar Documents

Publication Publication Date Title
US20070101216A1 (en) Method to locate logic errors and defects in digital circuits
US10459029B2 (en) On-chip clock control monitoring
JPH05281307A (en) Semiconductor circuit
JP2985056B2 (en) IC test equipment
JP3934384B2 (en) Semiconductor device test equipment
JPH1172517A (en) Timing waveform detector
JP3398755B2 (en) IC tester current measuring device
Lim et al. A Software-based Scan Chain Diagnosis for Double Faults in A Scan Chain
JP3598643B2 (en) Semiconductor integrated circuit measuring device and semiconductor integrated circuit device
JPH1152015A (en) Test circuit for high-speed semiconductor integrated circuit apparatus
JP3465257B2 (en) IC tester
JP2006064607A (en) Ic tester
JPH05264676A (en) Method and device for detecting fault
JPH04259869A (en) Evaluating device of test
JPH1048296A (en) Ic inspection device
JP3818087B2 (en) Semiconductor integrated circuit device
JP2002311112A (en) Semiconductor testing method
JPH01136080A (en) Tester for integrated circuit element
JPH0416782A (en) Method and apparatus for testing lsi
JPH0587888A (en) Inspecting device for integrated circuit
JPH11237449A (en) Method for identifying failure block in cmos lsi with multiple failure
JPH0259967A (en) Method for designing test facilitating circuit
JPH03120697A (en) Integrated circuit device
JPH04102081A (en) Integrated circuit inspection device
JPH0377079A (en) Semiconductor inspecting device

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990608