JPH10288648A - Logic circuit test method and device - Google Patents
Logic circuit test method and deviceInfo
- Publication number
- JPH10288648A JPH10288648A JP9097598A JP9759897A JPH10288648A JP H10288648 A JPH10288648 A JP H10288648A JP 9097598 A JP9097598 A JP 9097598A JP 9759897 A JP9759897 A JP 9759897A JP H10288648 A JPH10288648 A JP H10288648A
- Authority
- JP
- Japan
- Prior art keywords
- pattern
- event
- logic circuit
- generating
- event 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.)
- Pending
Links
Landscapes
- Tests Of Electronic Circuits (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】この発明は、被テスト論理回
路にテスト用の論理パターンを供給して得られる出力パ
ターンから被テスト論理回路の良否判定を行う論理回路
テスト方法及び装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a logic circuit test method and apparatus for judging pass / fail of a logic circuit under test from an output pattern obtained by supplying a logic pattern for testing to the logic circuit under test.
【0002】[0002]
【従来の技術】論理LSI等の論理回路テスト法とし
て、データROM等に保持した論理パターンを被テスト
論理回路に与えてその出力パターンをチェックする事に
より良否を判定する方法が用いられている(例えば、特
開昭62−277569号公報参照)。具体的には例え
ば、被テスト論理回路からの出力パターンの論理遷移に
応じて得られるイベントパルスをカウンタに入力し、そ
のカウント値を期待値と比較するという手法が用いられ
る。2. Description of the Related Art As a method for testing a logic circuit of a logic LSI or the like, a method is used in which a logic pattern held in a data ROM or the like is given to a logic circuit to be tested and its output pattern is checked to judge pass / fail. For example, see JP-A-62-277569. Specifically, for example, a method is used in which an event pulse obtained according to a logical transition of an output pattern from a test circuit is input to a counter, and the count value is compared with an expected value.
【0003】[0003]
【発明が解決しようとする課題】しかし、被テスト論理
回路からの全てのイベントパルスをカウントする従来方
式では、波形モードに応じた検出率の最適化ができな
い。即ち、テストの内容から、例えば“01”なる論理
遷移(波形モード)のみをイベントとしてカウントすれ
ば済む場合でも、“01”及び“10”という論理遷移
を全てイベントとしてカウントしているからである。However, the conventional method of counting all event pulses from the logic circuit under test cannot optimize the detection rate according to the waveform mode. That is, for example, even if only the logical transition (waveform mode) “01” needs to be counted as an event from the test contents, all the logical transitions “01” and “10” are counted as events. .
【0004】この発明は、上記事情を考慮してなされた
もので、波形モードに応じて最適な検出率を持つカウン
ト値でのテストを可能とした論理回路テスト方法及び装
置を提供することを目的としている。SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and has as its object to provide a logic circuit test method and apparatus capable of testing with a count value having an optimum detection rate according to a waveform mode. And
【0005】[0005]
【課題を解決するための手段】この発明に係る論理回路
テスト装置は、被テスト論理回路に対してテスト用の論
理パターンを発生して供給するパターン発生手段と、前
記論理パターンが与えられたときの前記被テスト論理回
路からの出力パターンから複数の波形モードのうちいず
れかの波形モードのイベントパルスを選択的に発生する
イベントパルス発生手段と、このイベントパルス発生手
段に対して前記複数の波形モードの一つを選択する指示
を出すモード設定手段と、前記イベントパルス発生手段
から得られるイベントパルスをカウントするカウント手
段と、このカウント手段のカウント値を期待値と比較す
る比較手段とを有することを特徴としている。According to the present invention, there is provided a logic circuit test apparatus comprising: a pattern generating means for generating and supplying a test logic pattern to a logic circuit under test; An event pulse generating means for selectively generating an event pulse in one of a plurality of waveform modes from an output pattern from the logic circuit under test; and a plurality of waveform modes for the event pulse generating means. Mode setting means for issuing an instruction to select one of the following, counting means for counting event pulses obtained from the event pulse generating means, and comparing means for comparing the count value of the counting means with an expected value. Features.
【0006】この発明に係る論理回路テスト方法は、被
テスト論理回路に対してテスト用の論理パターンを発生
して供給するパターン発生ステップと、前記論理パター
ンが与えられたときの前記被テスト論理回路からの出力
パターンから複数の波形モードのうちいずれかの波形モ
ードのイベントパルスを選択的に発生するイベントパル
ス発生ステップと、このイベントパルス発生ステップに
おいて前記複数の波形モードの一つを選択する指示を出
すモード設定ステップと、前記イベントパルス発生ステ
ップにより得られるイベントパルスをカウントするカウ
ントステップと、このカウントステップのカウント値を
期待値と比較する比較ステップとを有することを特徴と
する。A logic circuit test method according to the present invention includes a pattern generation step of generating and supplying a test logic pattern to a logic circuit under test, and the logic circuit under test when the logic pattern is given. An event pulse generating step of selectively generating an event pulse in any one of a plurality of waveform modes from the output pattern from the plurality of waveform modes; and an instruction to select one of the plurality of waveform modes in the event pulse generating step. A step of setting a mode to output, a counting step of counting event pulses obtained in the event pulse generating step, and a comparing step of comparing a count value of the counting step with an expected value.
【0007】この発明によると、イベントパルス発生手
段は複数の波形モードのうちモード設定手段によって指
定されたいずれかの波形モードのイベントパルスのみを
発生するようにしているから、テストの内容に応じて波
形モードを選択して最適の検出率を持つカウント値での
論理回路テストが可能となる。According to the present invention, the event pulse generating means generates only an event pulse in one of a plurality of waveform modes designated by the mode setting means, so that the event pulse generating means can generate the event pulse in accordance with the contents of the test. By selecting a waveform mode, a logic circuit test can be performed with a count value having an optimum detection rate.
【0008】[0008]
【発明の実施の形態】以下、図面を参照して、この発明
の実施例を説明する。図1は、この発明の一実施例によ
るテスト回路の構成を示している。被テストデバイス1
1は例えば論理LSIであり、この被テストデバイス1
1に対して、タイミング発生部13により制御されてテ
スト用の所定の入力パターンを与えるパターン発生部1
2と、被テストデバイス11にその入力パターンを与え
たときに得られる出力パターンからイベントパルスを発
生するイベントパルス発生部15とを有する。イベント
パルス発生部15は、複数の波形モードの中から一つの
波形モードを選択してそのイベントパルスを発生するも
ので、波形モードの指定はモード設定レジスタ14によ
り行われる。図では、被テストデバイス11の複数の出
力端子のうち一つに着目してイベントカウントを行う回
路を示しているが、他の出力については同様のイベント
カウント方式でもよいし、通常のテスト方式でもよい。Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows a configuration of a test circuit according to an embodiment of the present invention. Device under test 1
Reference numeral 1 denotes a logic LSI, for example.
1 that is controlled by the timing generator 13 to provide a predetermined input pattern for testing.
2 and an event pulse generator 15 that generates an event pulse from an output pattern obtained when the input pattern is given to the device under test 11. The event pulse generator 15 selects one waveform mode from a plurality of waveform modes and generates the event pulse. The specification of the waveform mode is performed by the mode setting register 14. In the figure, a circuit that performs an event count by focusing on one of a plurality of output terminals of the device under test 11 is shown. However, for the other outputs, a similar event count system may be used, or a normal test system may be used. Good.
【0009】イベントパルス発生手段15から得られる
イベントパルスはカウンタ16によりカウントされる。
一方、期待値レジスタ18には、パターン発生部12か
らの期待値パターンが所定タイミングでロードされ、カ
ウンタ16のカウント値と期待値レジスタ18に保持さ
れた期待値とがタイミング発生部13により制御される
所定タイミングで比較部17において比較される。その
比較結果はコントローラ19に送られて、ここで良否判
定や解析が行われる。コントローラ19は判定・解析の
他、各回路部に必要な制御信号を送る。なお、波形モー
ドを選択してイベントパルスを発生させるために、波形
モードに応じて期待値パターンも異なるから、パターン
発生部12も波形モードに応じた期待値パターンを発生
できるようになっている。従って、コントローラ19は
設定レジスタ14に波形モードを選択する指示を出すと
同時に、パターン発生部12に対応する期待値パターン
を選択する指示を出すことになる。The event pulse obtained from the event pulse generating means 15 is counted by a counter 16.
On the other hand, the expected value register 18 is loaded with the expected value pattern from the pattern generating unit 12 at a predetermined timing, and the count value of the counter 16 and the expected value held in the expected value register 18 are controlled by the timing generating unit 13. The comparison is performed by the comparison unit 17 at a predetermined timing. The result of the comparison is sent to the controller 19, where the pass / fail judgment and analysis are performed. The controller 19 sends necessary control signals to each circuit unit in addition to the judgment and analysis. In order to generate an event pulse by selecting a waveform mode, the expected value pattern differs according to the waveform mode. Therefore, the pattern generating unit 12 can generate the expected value pattern according to the waveform mode. Accordingly, the controller 19 issues an instruction to select the waveform mode to the setting register 14 and, at the same time, issues an instruction to select the expected value pattern corresponding to the pattern generator 12.
【0010】図2は、イベントパルス発生部15の具体
的な構成例を、4つの波形モード1〜4の選択を行う場
合について示している。モード1は“01”の論理遷
移、モード2は“10”の論理遷移、モード3は“0
1”及び“10”の論理遷移、モード4は“0110”
及び“1001”の論理遷移にそれぞれ対応する。従っ
てモード設定レジスタ14は2ビットレジスタであっ
て、各モードのイベントパルスは設定レジスタ14によ
り制御されるセレクタ29により選択されるようになっ
ている。FIG. 2 shows a specific example of the configuration of the event pulse generator 15 in a case where four waveform modes 1 to 4 are selected. Mode 1 is a logical transition of “01”, mode 2 is a logical transition of “10”, and mode 3 is “0”.
Logical transition of “1” and “10”, mode 4 is “0110”
And "1001". Accordingly, the mode setting register 14 is a 2-bit register, and the event pulse of each mode is selected by the selector 29 controlled by the setting register 14.
【0011】モード1のイベントパルスは、出力パター
ンの“01”の論理遷移、即ち波形の立上りエッジを検
出すれば得られる。従って立上りエッジ検出回路を構成
すべく、出力パターンを反転させて遅延させるインバー
タチェーン等の遅延回路21(遅延時間τ)と、その遅
延出力Aと出力パターンとを入力するANDゲート22
とが設けられている。モード2のイベントパルスは上と
逆に、立下がりエッジを検出すればよく、出力パターン
と遅延出力Aを共に反転して入力するANDゲート23
により構成される。モード3のイベントパルスは、AN
Dゲート22の出力BとANDゲート23の出力Cを入
力とするORゲート24により作られる。The event pulse of mode 1 is obtained by detecting the logical transition "01" of the output pattern, that is, the rising edge of the waveform. Accordingly, to constitute a rising edge detection circuit, a delay circuit 21 (delay time τ) such as an inverter chain for inverting and delaying the output pattern, and an AND gate 22 for inputting the delay output A and the output pattern
Are provided. In the event pulse of mode 2, the falling edge may be detected in the opposite manner to the above, and the output pattern and the delayed output A are both inverted and input to the AND gate 23.
It consists of. The mode 3 event pulse is AN
It is formed by an OR gate 24 which receives the output B of the D gate 22 and the output C of the AND gate 23 as inputs.
【0012】モード4のイベントパルスを得るために、
二つの4段シフトレジスタ25a,25bが用いられて
いる。一方のシフトレジスタ25aの各段出力は、2段
目及び3段目出力にインバータ26a1,26a2を介在さ
せてANDゲート27aに入力される。これにより、A
NDゲート27aの出力Eには、“1001”なる論理
遷移を検出したパルスが得られる。他方のシフトレジス
タ25bの各段出力は、初段及び最終段出力にインバー
タ26b1,26b2を介在させてANDゲート27bに入
力される。これにより、ANDゲート27bの出力Fに
は、“0110”なる論理遷移を検出したパルスが得ら
れる。これらのANDゲート27a,27bの出力E,
FをORゲート28に入力すれば、その出力Gには“1
001”及び“0110”の論理遷移に対応するイベン
トパルスを得ることができる。なおシフトレジスタ25
a,25bは一つにまとめても差し支えない。To obtain a mode 4 event pulse,
Two four-stage shift registers 25a and 25b are used. The output of each stage of one shift register 25a is input to the AND gate 27a via the inverters 26a1 and 26a2 at the outputs of the second and third stages. Thus, A
At the output E of the ND gate 27a, a pulse that has detected a logical transition of "1001" is obtained. The output of each stage of the other shift register 25b is input to the AND gate 27b via the inverters 26b1 and 26b2 in the output of the first stage and the last stage. As a result, a pulse that has detected a logical transition “0110” is obtained at the output F of the AND gate 27b. The outputs E of these AND gates 27a and 27b,
When F is input to the OR gate 28, its output G is "1".
Event pulses corresponding to logical transitions of “001” and “0110” can be obtained.
a and 25b may be combined into one.
【0013】図3は、具体的な出力パターンに対応し
て、図2のイベントパルス発生部により各波形モード1
〜4のイベントパルスが得られる様子を示している。こ
れらの波形モード1〜4のイベントパルスのうち一つが
セレクタ29により選択されてカウンタ16に送られ、
前述のようにそのカウント値と期待値との比較が行われ
る。FIG. 3 shows each waveform mode 1 by the event pulse generator of FIG. 2 corresponding to a specific output pattern.
4 shows a state in which event pulses of 4 are obtained. One of the event pulses in the waveform modes 1 to 4 is selected by the selector 29 and sent to the counter 16,
As described above, the count value is compared with the expected value.
【0014】以上のようにこの実施例によると、複数の
波形モードのなかから一つを選択してイベントパルスを
発生させるから、論理回路の状態を特定の波形モードで
テストすることができ、従来のように全てのイベントパ
ルスを発生させる場合と比べて、無駄なイベントパルス
のカウントが不要となるから、最適の検出率を持つカウ
ンタ値でのテストが可能となる。As described above, according to this embodiment, an event pulse is generated by selecting one of a plurality of waveform modes, so that the state of a logic circuit can be tested in a specific waveform mode. As compared with the case where all the event pulses are generated as described above, useless counting of event pulses is not required, so that a test can be performed with a counter value having an optimum detection rate.
【0015】なおこの発明は上記実施例に限られない。
例えばこの発明のテスト装置は、図1に示したように被
テストデバイスであるLSIの外部装置として構成する
場合の他、LSIの内部テスト回路として構成する場合
も有効である。また波形モードの設定切換えは、カウン
トの途中でも行い得るように構成することができる。ま
たこの発明による論理回路テスト装置は、ソフトウェア
処理で実現することも可能である。The present invention is not limited to the above embodiment.
For example, the test apparatus of the present invention is effective not only when it is configured as an external device of the LSI to be tested as shown in FIG. 1 but also when it is configured as an internal test circuit of the LSI. Further, the setting of the waveform mode can be switched even during the counting. Further, the logic circuit test device according to the present invention can be realized by software processing.
【0016】[0016]
【発明の効果】以上述べたようにこの発明によるテスト
装置においては、複数の波形モードのうちモード設定手
段によって指定されたいずれかの波形モードのイベント
パルスのみを発生するようにイベントパルス発生手段を
構成しているから、テストの内容に応じて波形モードを
選択して最適の検出率を持つカウント値での論理回路テ
ストが可能となる。As described above, in the test apparatus according to the present invention, the event pulse generating means is configured to generate only the event pulse of one of the plurality of waveform modes designated by the mode setting means. With this configuration, it is possible to select a waveform mode according to the content of the test and perform a logic circuit test with a count value having an optimum detection rate.
【図1】 この発明の一実施例による論理回路テスト装
置の構成を示す。FIG. 1 shows a configuration of a logic circuit test apparatus according to an embodiment of the present invention.
【図2】 同実施例のイベントパルス発生部の具体構成
例を示す。FIG. 2 shows a specific configuration example of an event pulse generator of the embodiment.
【図3】 同実施例のイベントパルス発生の様子を示
す。FIG. 3 shows how an event pulse is generated in the embodiment.
11…被テストデバイス、12…パターン発生部、13
…タイミング発生部、14…モード設定レジスタ、15
…イベントパルス発生部、16…カウンタ、17…比較
部、18…期待値レジスタ、19…コントローラ、29
…セレクタ。11: Device under test, 12: Pattern generator, 13
... Timing generator, 14 ... Mode setting register, 15
... Event pulse generator, 16 counter, 17 comparator, 18 expected value register, 19 controller, 29
…selector.
Claims (3)
理パターンを発生して供給するパターン発生手段と、 前記論理パターンが与えられたときの前記被テスト論理
回路からの出力パターンから複数の波形モードのうちい
ずれかの波形モードのイベントパルスを選択的に発生す
るイベントパルス発生手段と、 このイベントパルス発生手段に対して前記複数の波形モ
ードの一つを選択する指示を出すモード設定手段と、 前記イベントパルス発生手段から得られるイベントパル
スをカウントするカウント手段と、 このカウント手段のカウント値を期待値と比較する比較
手段とを有することを特徴とする論理回路テスト装置。1. A pattern generating means for generating and supplying a test logic pattern to a logic circuit under test, and a plurality of waveforms from an output pattern from the logic circuit under test when the logic pattern is given. An event pulse generating means for selectively generating an event pulse in any one of the waveform modes, a mode setting means for instructing the event pulse generating means to select one of the plurality of waveform modes; A logic circuit test apparatus comprising: a counting means for counting an event pulse obtained from the event pulse generating means; and a comparing means for comparing a count value of the counting means with an expected value.
理パターンを発生して供給するパターン発生ステップ
と、 前記論理パターンが与えられたときの前記被テスト論理
回路からの出力パターンから複数の波形モードのうちい
ずれかの波形モードのイベントパルスを選択的に発生す
るイベントパルス発生ステップと、 このイベントパルス発生ステップにおいて前記複数の波
形モードの一つを選択する指示を出すモード設定ステッ
プと、 前記イベントパルス発生ステップにより得られるイベン
トパルスをカウントするカウントステップと、 このカウントステップのカウント値を期待値と比較する
比較ステップとを有することを特徴とする論理回路テス
ト方法。2. A pattern generating step of generating and supplying a test logic pattern to a logic circuit under test, and a plurality of waveforms from an output pattern from the logic circuit under test when the logic pattern is given. An event pulse generating step of selectively generating an event pulse of any one of the waveform modes; a mode setting step of issuing an instruction to select one of the plurality of waveform modes in the event pulse generating step; A logic circuit test method, comprising: a counting step of counting event pulses obtained by a pulse generating step; and a comparing step of comparing a count value of the counting step with an expected value.
理パターンを発生して供給するパターン発生ステップ
と、 前記論理パターンが与えられたときの前記被テスト論理
回路からの出力パターンから複数の波形モードのうちい
ずれかの波形モードのイベントパルスを選択的に発生す
るイベントパルス発生ステップと、 このイベントパルス発生ステップにおいて前記複数の波
形モードの一つを選択する指示を出すモード設定ステッ
プと、 前記イベントパルス発生ステップにより得られるイベン
トパルスをカウントするカウントステップと、 このカウントステップのカウント値を期待値と比較する
比較ステップとを実行する論理回路テストの動作プログ
ラムを記憶した媒体。3. A pattern generating step of generating and supplying a test logic pattern to a logic circuit under test, and a plurality of waveforms from an output pattern from the logic circuit under test when the logic pattern is given. An event pulse generating step of selectively generating an event pulse of any one of the waveform modes; a mode setting step of issuing an instruction to select one of the plurality of waveform modes in the event pulse generating step; A medium storing a logic circuit test operation program for executing a counting step of counting event pulses obtained by a pulse generating step and a comparing step of comparing a count value of the counting step with an expected value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP9097598A JPH10288648A (en) | 1997-04-15 | 1997-04-15 | Logic circuit test method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP9097598A JPH10288648A (en) | 1997-04-15 | 1997-04-15 | Logic circuit test method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH10288648A true JPH10288648A (en) | 1998-10-27 |
Family
ID=14196681
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP9097598A Pending JPH10288648A (en) | 1997-04-15 | 1997-04-15 | Logic circuit test method and device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH10288648A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100506773B1 (en) * | 2000-04-24 | 2005-08-10 | 가부시키가이샤 어드밴티스트 | Multiple end of test signal for event based test system |
-
1997
- 1997-04-15 JP JP9097598A patent/JPH10288648A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100506773B1 (en) * | 2000-04-24 | 2005-08-10 | 가부시키가이샤 어드밴티스트 | Multiple end of test signal for event based test system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6442722B1 (en) | Method and apparatus for testing circuits with multiple clocks | |
US4783785A (en) | Method and apparatus for diagnosis of logical circuits | |
US20060247881A1 (en) | Testing a device under test by sampling its clock and data signal | |
US6816983B2 (en) | Microprocessor internally provided with test circuit | |
JPH10288648A (en) | Logic circuit test method and device | |
US6384660B1 (en) | Clock control circuit and method | |
JP3631672B2 (en) | Integrated circuit having test circuit and test method thereof | |
JP4422223B2 (en) | IC test equipment | |
KR20060054888A (en) | Testing device | |
JP2001013217A (en) | Timing calibrating method and ic test device to which phase correcting circuit to operate for calibration through the use of the same is mounted | |
JP3516727B2 (en) | Logical comparator | |
JPH1026655A (en) | Testing apparatus for lsi | |
JP3101686B2 (en) | IC tester | |
JP2646713B2 (en) | Semiconductor device comparison test circuit | |
JP4192429B2 (en) | IC test apparatus, control method thereof, and storage medium | |
JPH04323579A (en) | Inspecting device for memory-carrying package | |
JP2001153933A (en) | Semiconductor testing device | |
US20060001434A1 (en) | Method of inspecting actual speed of semiconductor integrated circuit | |
JP3340459B2 (en) | Signal determination device and signal determination method | |
JPH10300817A (en) | Semiconductor inspection device | |
JPH06186304A (en) | Built-in type ram test circuit | |
JPH08313602A (en) | Test pattern generator for lsi | |
JP2000321335A (en) | Scan test circuit | |
JPH1144739A (en) | Ic test device | |
JPH0587878A (en) | Data taking-in circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20050315 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050315 |
|
RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20050315 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20060327 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060404 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20070403 |