JPH11271401A - Scan test circuit - Google Patents

Scan test circuit

Info

Publication number
JPH11271401A
JPH11271401A JP10072112A JP7211298A JPH11271401A JP H11271401 A JPH11271401 A JP H11271401A JP 10072112 A JP10072112 A JP 10072112A JP 7211298 A JP7211298 A JP 7211298A JP H11271401 A JPH11271401 A JP H11271401A
Authority
JP
Japan
Prior art keywords
circuit
scan
flip
flop
test
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.)
Granted
Application number
JP10072112A
Other languages
Japanese (ja)
Other versions
JP3853063B2 (en
Inventor
Hiroyuki Nakamura
博幸 中村
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.)
JFE Steel Corp
Original Assignee
Kawasaki Steel 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 Kawasaki Steel Corp filed Critical Kawasaki Steel Corp
Priority to JP07211298A priority Critical patent/JP3853063B2/en
Publication of JPH11271401A publication Critical patent/JPH11271401A/en
Application granted granted Critical
Publication of JP3853063B2 publication Critical patent/JP3853063B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To improve a fault a detection percentage and defective design detection percentage at test of a sequential circuit, while increase of area due to increase of test circuits is suppressed. SOLUTION: In order to utilize flip flops FF2-FF4 used as a shift resistor in a sequential circuit for scan test as well, scan mode signal SM representing effectiveness of supplemental observation operation which takes in logical state in a combination circuit to be observed at test is newly provided. When a scan selective signal SE is '0' (not effective) while the scan mode signal SM is '1' (effective), multiplexers M1-M4 are switched for actual stated supplemental observation operation.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、テスト対象となる
順序回路のフリップフロップの入力及び出力を順次接続
し、これらをシフトレジスタとして動作させ、それぞれ
のフリップフロップの論理状態を設定しながら、前記順
序回路の組合せ回路部分の動作をテストしてゆくスキャ
ンテスト回路に係り、特に、テスト回路増加による面積
増加を抑えながら、順序回路のテストの故障検出率や設
計不良検出率を向上することができるスキャンテスト回
路に関する。
The present invention relates to a flip-flop of a sequential circuit to be tested which is connected in sequence to its inputs and outputs, operated as a shift register, and sets the logic state of each flip-flop. The present invention relates to a scan test circuit that tests the operation of a combinational circuit portion of a sequential circuit. In particular, it is possible to improve a failure detection rate and a design failure detection rate of a sequential circuit test while suppressing an increase in area due to an increase in test circuits. The present invention relates to a scan test circuit.

【0002】[0002]

【従来の技術】順序回路の動作をテストするために、ス
キャンテスト方法がある。このスキャンテスト方法は、
例えば図1の一点鎖線に示すように、スキャン選択信号
が有効の場合には、テスト対象となる順序回路のフリッ
プフロップFFの入力及び出力を順次接続して、スキャ
ン回路を構成する。又、これらフリップフロップFFを
シフトレジスタとして動作させ、それぞれのフリップフ
ロップFFの論理状態を設定しながら、前記順序回路の
組合せ回路1部分の動作をテストしてゆき、これにより
該順序回路の動作をテストする。
2. Description of the Related Art There is a scan test method for testing the operation of a sequential circuit. This scan test method is
For example, as shown by a dashed line in FIG. 1, when the scan selection signal is valid, the input and output of the flip-flop FF of the sequential circuit to be tested are sequentially connected to form a scan circuit. Further, the flip-flops FF are operated as shift registers, and the operation of the combinational circuit 1 of the sequential circuit is tested while setting the logic state of each flip-flop FF. Testing.

【0003】なお、このようにフリップフロップで構成
されるシフトレジスタを、以下スキャン回路シフトレジ
スタと称する。
[0003] Such a shift register composed of flip-flops is hereinafter referred to as a scan circuit shift register.

【0004】このスキャンテスト方法において、フリッ
プフロップFFのスキャン回路は、例えば図2のように
構成する。
In this scan test method, the scan circuit of the flip-flop FF is configured as shown in FIG. 2, for example.

【0005】図2において、スキャン選択信号SEは、
“0(L状態)”の場合に無効となり、“1(H状
態)”の場合に有効となる。
In FIG. 2, a scan selection signal SE is
It becomes invalid when “0 (L state)” and valid when “1 (H state)”.

【0006】スキャン選択信号SEが“0(L状態)”
の場合、マルチプレクサMi(iはこの図で1〜5)
は、テスト対象の組合せ回路から信号DIiを取り込
む。従って、フリップフロップFFiは、それぞれ信号
DIi及び信号DOiで組合せ回路1に接続され、それ
ぞれ順序回路の一部となり、動作する。以降、この動作
を取込み動作状態と称する。
The scan selection signal SE is "0 (L state)"
, The multiplexer Mi (i is 1 to 5 in this figure)
Captures the signal DIi from the combinational circuit to be tested. Therefore, the flip-flop FFi is connected to the combinational circuit 1 by the signal DIi and the signal DOi, respectively, and becomes a part of the sequential circuit and operates. Hereinafter, this operation is referred to as a capture operation state.

【0007】スキャン選択信号SEが“1(H状態)”
の場合、マルチプレクサMi(iはこの図で1〜5)
は、スキャン回路において前段となるフリップフロップ
FFの出力を選択する。従って、複数のフリップフロッ
プFFiは、その入力及び出力が順次接続され、スキャ
ン回路を構成する。又、これらフリップフロップFFを
スキャン回路シフトレジスタとして動作させ、それぞれ
のフリップフロップFFの論理状態を設定しながら、前
記順序回路の組合せ回路1部分の動作をテストしてゆ
き、これにより該順序回路の動作をテストする。以降、
この動作をスキャン動作状態と称する。
The scan selection signal SE is "1 (H state)"
, The multiplexer Mi (i is 1 to 5 in this figure)
Selects the output of the flip-flop FF which is the preceding stage in the scan circuit. Therefore, the inputs and outputs of the plurality of flip-flops FFi are sequentially connected to form a scan circuit. In addition, the flip-flops FF are operated as scan circuit shift registers, and the operation of the combinational circuit 1 of the sequential circuit is tested while setting the logic state of each flip-flop FF. Test operation. Or later,
This operation is called a scan operation state.

【0008】スキャンテスト方法では、まず、スキャン
動作状態にして、テスト対象の順序回路のフリップフロ
ップの初期状態を設定する(以降、スキャン・イン動作
と称する)。この後、取込み動作状態にして、該順序回
路を動作させる。続いて、再びスキャン動作状態にし、
取込み状態での動作の結果を外部に読み出しながら、該
動作状態を観測する(以降、スキャン・アウト動作と称
する)。スキャンテスト方法では、以上のような動作を
行いながら、当該順序回路の動作をテストする。
In the scan test method, first, a scan operation state is set, and an initial state of a flip-flop of a sequential circuit to be tested is set (hereinafter, referred to as a scan-in operation). After that, the sequential circuit is operated in the fetch operation state. Subsequently, the scanning operation state is set again,
The operation state is observed while reading the result of the operation in the capture state to the outside (hereinafter, referred to as a scan-out operation). In the scan test method, the operation of the sequential circuit is tested while performing the above operation.

【0009】ここで、複数のフリップフロップが、元
々、テスト対象となる順序回路(ユーザ回路)において
シフトレジスタを構成している場合がある。このような
場合には、スキャン回路は、例えば図3のように構成さ
れる。あるいは、同一機能の回路を図4のように構成す
る。図3及び図4において、フリップフロップFF2〜
4が、このようにユーザ回路で元々シフトレジスタを構
成している。これら図3及び図4の違いは、論理回路設
計に用いるCAD(computer aided design )ツールの
相違による。あるいは、図3のように設計後、冗長なマ
ルチプレクサMiを除去して、回路の最適化を図り、図
4の回路を得る場合もある。
Here, there is a case where a plurality of flip-flops originally constitute a shift register in a sequential circuit (user circuit) to be tested. In such a case, the scan circuit is configured, for example, as shown in FIG. Alternatively, circuits having the same function are configured as shown in FIG. 3 and 4, the flip-flops FF2
Reference numeral 4 thus originally constitutes a shift register by the user circuit. These differences between FIG. 3 and FIG. 4 are due to differences in CAD (computer aided design) tools used for logic circuit design. Alternatively, after designing as shown in FIG. 3, the circuit of FIG. 4 may be obtained by removing the redundant multiplexer Mi and optimizing the circuit.

【0010】なお、ユーザ回路でこのようにフリップフ
ロップで構成されるシフトレジスタを、以下ユーザ回路
シフトレジスタと称する。
Note that the shift register constituted by the flip-flop in the user circuit is hereinafter referred to as a user circuit shift register.

【0011】[0011]

【発明が解決しようとする課題】通常スキャン回路は、
取込み動作及びスキャン動作の双方でデータの観測を行
うが、ユーザ回路シフトレジスタ回路の場合には、回路
構成上、これらが一緒になり、スキャン動作のみにな
り、スキャン回路が有効活用されないという問題があ
る。即ち、組合せ回路の観測点及び/又は制御点として
利用できるノードの減少を伴い、順序回路のテストの故
障検出率や設計不良検出率を更に向上することが求めら
れる。例えば、ATPG(automatic test pattern gen
eration )効率を向上することが望まれる。このATP
Gは、テストパターンを自動的に生成するためのCAD
ツールの1つである。又、この際、テスト回路増加によ
る面積増加を抑えることも望まれる。
Generally, a scan circuit includes:
Data observation is performed in both the capture operation and the scan operation. However, in the case of the user circuit shift register circuit, there is a problem in that, due to the circuit configuration, these are combined, only the scan operation is performed, and the scan circuit is not effectively utilized. is there. That is, it is required to further improve the failure detection rate and the design failure detection rate of the test of the sequential circuit with a decrease in the number of nodes that can be used as observation points and / or control points of the combinational circuit. For example, ATPG (automatic test pattern gen
eration) It is desired to improve efficiency. This ATP
G is a CAD for automatically generating test patterns.
One of the tools. At this time, it is also desired to suppress an increase in area due to an increase in test circuits.

【0012】本発明は、テスト回路増加による面積増加
を抑えながら、順序回路のテストの故障検出率や設計不
良検出率を向上することができるスキャンテスト回路を
提供することを目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a scan test circuit capable of improving a failure detection rate and a design failure detection rate of a sequential circuit test while suppressing an increase in area due to an increase in test circuits.

【0013】[0013]

【課題を解決するための手段】本願の発明に係るスキャ
ンテスト回路は、テスト対象となる順序回路のフリップ
フロップの入力及び出力を順次接続して、スキャン回路
を構成し、これらフリップフロップをシフトレジスタと
して動作させ、それぞれのフリップフロップの論理状態
を設定しながら、前記順序回路の組合せ回路部分の動作
をテストしてゆくスキャンテスト回路において、前記フ
リップフロップの内、前記順序回路中でシフトレジスタ
として用いられているものに、テストに際して観測した
い前記組合せ回路中の論理状態を取り込む、補足観測動
作のためのスキャンモード信号を新たに設け、前記シフ
トレジスタ用フリップフロップの入力側に、前記スキャ
ン回路で前段となるフリップフロップの出力する論理状
態、又は、観測したい前記組合せ回路中の論理状態を選
択するマルチプレクサと、前記スキャン選択信号が無効
で、かつ、前記スキャンモード信号が有効の場合に、観
測する前記組合せ回路中の論理状態を前記マルチプレク
サが選択するように指示する信号を生成する動作モード
制御回路とを備えるようにしたことにより、前記課題を
解決したものである。
A scan test circuit according to the present invention constitutes a scan circuit by sequentially connecting inputs and outputs of flip-flops of a sequential circuit to be tested, and forms a scan circuit. In a scan test circuit that tests the operation of the combinational circuit portion of the sequential circuit while setting the logic state of each flip-flop, the flip-flop is used as a shift register in the sequential circuit. A scan mode signal for supplementary observation operation, which captures the logic state in the combinational circuit to be observed at the time of the test, is provided on the input side of the flip-flop for the shift register. Logic state output from the flip-flop A multiplexer for selecting a logic state in the combinational circuit, and a multiplexer for selecting a logic state in the combinational circuit to be observed when the scan selection signal is invalid and the scan mode signal is valid. The above-mentioned problem is solved by providing an operation mode control circuit for generating a signal instructing the operation mode.

【0014】又、上記のスキャンテスト回路において、
前記動作モード制御回路を、前記スキャン選択信号及び
前記スキャンモード信号の排他論理和を演算するエクス
クルーシブOR回路で構成するようにすることで、該動
作モード制御回路を比較的簡単に、又少ない素子で構成
することができる。
In the above-described scan test circuit,
By configuring the operation mode control circuit with an exclusive OR circuit that calculates an exclusive OR of the scan selection signal and the scan mode signal, the operation mode control circuit can be relatively easily and with a small number of elements. Can be configured.

【0015】以下、本発明の作用について、簡単に説明
する。
Hereinafter, the operation of the present invention will be briefly described.

【0016】通常では、スキャンテスト方法においてフ
リップフロップは、取込み動作状態あるいはスキャン動
作状態のいずれかに応じ、フリップフロップはそれぞれ
独立動作する状態になったり、スキャン回路の構成状態
になったりする。又、スキャンテスト方法において外部
で観測できるものは、スキャン動作状態に切り換える直
前のフリップフロップの論理状態である。
Normally, in the scan test method, the flip-flops are independently operated or configured as a scan circuit according to either the fetch operation state or the scan operation state. What can be externally observed in the scan test method is the logic state of the flip-flop immediately before switching to the scan operation state.

【0017】これに対して、順序回路のテストの故障検
出率や設計不良検出率を向上するためには、テスト対象
の順序回路中の、より多くの回路部分の論理状態を制御
・観測できることが望ましい。即ち、スキャン動作状態
に切り換える直前のフリップフロップの論理状態以外に
も、任意の回路部分の論理状態を制御・観測できること
が望ましい。
On the other hand, in order to improve the failure detection rate and the design failure detection rate of the sequential circuit test, it is necessary to be able to control and observe the logical states of more circuit portions in the sequential circuit to be tested. desirable. That is, it is desirable to be able to control and observe the logic state of any circuit part other than the logic state of the flip-flop immediately before switching to the scan operation state.

【0018】ここで、図3や図4のように、ユーザ回路
シフトレジスタを構成するためのフリップフロップの場
合、該ユーザ回路シフトレジスタを構成しているフリッ
プフロップ間は、前述の取込み動作状態あるいはスキャ
ン動作状態に拘わらず常時接続状態にある。従って、ス
キャン回路が有効に活用されているとは言えない。本発
明では、このようなフリップフロップを活用すること
で、テスト回路増加による面積増加を抑えながら、順序
回路のテストの故障検出率や設計不良検出率を容易に向
上する。
Here, as shown in FIG. 3 and FIG. 4, in the case of a flip-flop for forming a user circuit shift register, the above-described fetch operation state or the state between the flip-flops forming the user circuit shift register is described. It is always connected regardless of the scan operation state. Therefore, it cannot be said that the scan circuit is effectively used. In the present invention, by utilizing such a flip-flop, a failure detection rate and a design failure detection rate of a sequential circuit test can be easily improved while suppressing an increase in area due to an increase in test circuits.

【0019】即ち、本発明では、フリップフロップの
内、ユーザ回路シフトレジスタを構成するためのもの
に、テストに際して観測したい該順序回路にある組合せ
回路中の論理状態を取り込むようにしている。本発明で
は、このように論理状態を取り込む補足観測動作のため
のスキャンモード信号を新たに設ける。又、従来からあ
るスキャン選択信号が無効で、かつ、このスキャンモー
ド信号が有効の場合に、上記の補足観測動作を実際に行
う。
That is, in the present invention, the logic state of the combinational circuit in the sequential circuit which is desired to be observed at the time of the test is taken into the flip-flop for forming the user circuit shift register. In the present invention, a scan mode signal for a supplementary observation operation for capturing a logic state is newly provided. When the conventional scan selection signal is invalid and the scan mode signal is valid, the above supplementary observation operation is actually performed.

【0020】以上説明したように、本発明では、テスト
対象の順序回路中の、より多くの回路部分の論理状態を
制御・観測できる。従って、順序回路のテストの故障検
出率や設計不良検出率を向上することができる。又、該
論理状態の制御・観測には、テスト対象の順序回路が備
えるフリップフロップを流用しているので、テスト回路
増加による素子数増加が抑えられ、面積増加を抑えるこ
とができる。
As described above, according to the present invention, it is possible to control and observe the logic states of more circuit portions in the sequential circuit to be tested. Therefore, the failure detection rate and the design failure detection rate of the test of the sequential circuit can be improved. In addition, since the flip-flop of the sequential circuit to be tested is used for controlling and observing the logical state, an increase in the number of elements due to an increase in the number of test circuits can be suppressed, and an increase in area can be suppressed.

【0021】[0021]

【発明の実施の形態】以下、図を用いて本発明の実施の
形態を詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below in detail with reference to the drawings.

【0022】図5は、本発明が適用されたスキャン回路
の回路図である。
FIG. 5 is a circuit diagram of a scan circuit to which the present invention is applied.

【0023】この図5において、スキャン選択信号SE
は、従来の図2〜図4と同様、“0”の場合に無効とな
り、“1”の場合に有効となる。又、本実施形態では、
本発明を適用し、フリップフロップの内、ユーザ回路シ
フトレジスタを構成するためのものに、テストに際して
観測したい前記組合せ回路中の論理状態を取り込む、補
足観測動作の有効を示すスキャンモード信号SMを新た
に設ける。該スキャンモード信号SMは、“0”の場合
に無効となり、“1”の場合に有効となる。
In FIG. 5, scan select signal SE
Is invalid when "0" and valid when "1", as in the conventional FIGS. In the present embodiment,
Applying the present invention, a scan mode signal SM indicating the validity of a supplementary observation operation, which captures a logic state in the combinational circuit to be observed at the time of testing, is newly added to a flip-flop for constituting a user circuit shift register. To be provided. The scan mode signal SM is invalid when "0" and valid when "1".

【0024】本実施形態において、ユーザ回路シフトレ
ジスタを構成するためのものを含め、フリップフロップ
FFiの入力側には、スキャン回路で前段となるフリッ
プフロップの出力する論理状態、又は、観測したい組合
せ回路中の論理状態を選択するマルチプレクサMiが設
けられている。
In the present embodiment, on the input side of the flip-flop FFi, including the one for forming the user circuit shift register, the logic state output from the flip-flop preceding in the scan circuit or the combinational circuit to be observed A multiplexer Mi for selecting an inside logic state is provided.

【0025】更に、本発明の動作モード制御回路は、本
実施形態では、エクスクルーシブOR論理回路Gで構成
されている。該エクスクルーシブOR論理回路Gは、ス
キャン選択信号SEが“0”(無効)で、かつ、スキャ
ンモード信号SMが“1”(有効)の場合に、観測する
組合せ回路中の論理状態を取り込むための信号DIi
を、マルチプレクサMiが選択するように指示する信号
を生成する。
Further, the operation mode control circuit of the present invention is constituted by an exclusive OR logic circuit G in this embodiment. The exclusive OR logic circuit G captures a logic state in the combinational circuit to be observed when the scan selection signal SE is “0” (invalid) and the scan mode signal SM is “1” (valid). Signal DIi
Is generated by the multiplexer Mi.

【0026】又、スキャン選択信号SE及びスキャンモ
ード信号SMにおいて、以下の状態A1〜A3のよう
に、3種類の動作状態が設定される。
In the scan selection signal SE and the scan mode signal SM, three types of operation states are set as in the following states A1 to A3.

【0027】A1.通常動作状態:スキャン選択信号S
Eが“0”、かつ、スキャンモード信号SMが“0”の
場合は、マルチプレクサMi(iはこの図5では1及び
5)は、テスト対象の組合せ回路から信号DIiを取り
込む。一方、フリップフロップFFiの内、元々、テス
ト対象となる順序回路においてユーザ回路シフトレジス
タを構成するものは、当該ユーザ回路シフトレジスタで
実際にレジスタとして動作するように構成される。又、
各フリップフロップFFiの出力は、信号DOiで組合
せ回路1に接続され、それぞれ順序回路の一部となり、
動作する。
A1. Normal operation state: scan selection signal S
When E is “0” and the scan mode signal SM is “0”, the multiplexer Mi (i is 1 and 5 in FIG. 5) takes in the signal DIi from the combinational circuit to be tested. On the other hand, among the flip-flops FFi, those that originally constitute the user circuit shift register in the sequential circuit to be tested are configured so that the user circuit shift register actually operates as a register. or,
The output of each flip-flop FFi is connected to the combinational circuit 1 by a signal DOi and becomes a part of the sequential circuit, respectively.
Operate.

【0028】A2.取込み動作状態:スキャン選択信号
SEが“0”、かつ、スキャンモード信号SMが
“1”。マルチプレクサMi(iはこの図で1〜5)
は、テスト対象の組合せ回路から信号DIiを取り込
む。従って、フリップフロップFFiは、ユーザ回路シ
フトレジスタのものも、そうでないものも、それぞれ信
号DIi及び信号DOiで組合せ回路1に接続され、そ
れぞれ順序回路の一部となり、動作する。このようにス
キャン選択信号SEが無効で、かつ、スキャンモード信
号SMが有効の場合に、本発明における補足観測動作に
対応する動作が行われる。
A2. Capture operation state: scan selection signal SE is "0" and scan mode signal SM is "1". Multiplexer Mi (i is 1 to 5 in this figure)
Captures the signal DIi from the combinational circuit to be tested. Therefore, the flip-flop FFi, whether or not the flip-flop is a user circuit shift register, is connected to the combinational circuit 1 by the signal DIi and the signal DOi, respectively, and operates as a part of the sequential circuit. As described above, when the scan selection signal SE is invalid and the scan mode signal SM is valid, an operation corresponding to the supplementary observation operation in the present invention is performed.

【0029】A3.スキャン動作状態:スキャン選択信
号SEが“1”、かつ、スキャンモード信号SMが
“1”。マルチプレクサMi(iはこの図で1〜5)
は、スキャン回路を構成するように、該スキャン回路に
おいて前段となるフリップフロップFFの出力を選択す
る。従って、複数のフリップフロップFFiは、ユーザ
回路シフトレジスタのものも、そうでないものも、その
入力及び出力が順次接続され、スキャン回路を構成す
る。又、ユーザ回路シフトレジスタのものも含め、これ
らフリップフロップFFをスキャン回路シフトレジスタ
として動作させ、それぞれのフリップフロップFFの論
理状態を設定しながら、順序回路の組合せ回路1部分の
動作をテストしてゆき、これにより該順序回路の動作を
テストする。
A3. Scan operation state: the scan selection signal SE is "1" and the scan mode signal SM is "1". Multiplexer Mi (i is 1 to 5 in this figure)
Selects an output of a flip-flop FF which is a preceding stage in the scan circuit so as to constitute a scan circuit. Therefore, the input and output of the plurality of flip-flops FFi, whether or not of a user circuit shift register or not, are sequentially connected to form a scan circuit. The flip-flops FF including those of the user circuit shift registers are operated as scan circuit shift registers, and the operation of the combinational circuit 1 of the sequential circuit is tested while setting the logic state of each flip-flop FF. Then, the operation of the sequential circuit is tested.

【0030】なお、従来の図2〜図4における取込み動
作状態が、本実施形態では、ユーザ回路シフトレジスタ
のフリップフロップFFiに設定する動作状態に応じ、
通常動作状態及び取込み動作状態に分割されている。即
ち、ユーザ回路シフトレジスタが、ユーザ回路シフトレ
ジスタとして機能する状態か(通常動作状態)、あるい
はスキャン回路シフトレジスタとして機能する状態か
(取込み動作状態)で、2つに分割されている。
In the present embodiment, the fetch operation state in FIGS. 2 to 4 according to the present embodiment depends on the operation state set in the flip-flop FFi of the user circuit shift register.
It is divided into a normal operation state and a capture operation state. In other words, the user circuit shift register is divided into two depending on whether it functions as a user circuit shift register (normal operation state) or functions as a scan circuit shift register (capture operation state).

【0031】このように本実施形態では、本発明を効果
的に適用することができる。スキャンモード信号SMを
切り換えることで、テスト時には、ユーザ回路シフトレ
ジスタとして構成するフリップフロップをスキャン回路
シフトレジスタとして、ユーザ回路シフトレジスタでは
ないフリップフロップと同様に動作させることが可能で
ある。又、このユーザ回路シフトレジスタのフリップフ
ロップは、このようにしても通常動作に影響を与えるこ
とがない。
As described above, in the present embodiment, the present invention can be effectively applied. By switching the scan mode signal SM, at the time of testing, it is possible to operate a flip-flop configured as a user circuit shift register as a scan circuit shift register in the same manner as a flip-flop that is not a user circuit shift register. The flip-flop of the user circuit shift register does not affect the normal operation even in this case.

【0032】このように、本実施形態では、ユーザ回路
シフトレジスタとして構成するフリップフロップを、テ
ストに際して、ユーザ回路内のノードの論理状態の設定
や観測に用いることができる。従って、論理状態の設定
や観測ができるノードが増え、順序回路のテストの故障
検出率や設計不良検出率を向上することができる。
As described above, in this embodiment, the flip-flop configured as the user circuit shift register can be used for setting and observing the logic state of a node in the user circuit at the time of testing. Therefore, the number of nodes for which the logical state can be set and observed increases, and the fault detection rate and the design fault detection rate of the sequential circuit test can be improved.

【0033】例えば、本実施形態では、図5において、
信号DI2〜DI4で論理状態の観測ができる。又、信
号DO2〜DO4で論理状態の設定ができる。これに対
して、従来、図3や図4において、ユーザ回路シフトレ
ジスタのフリップフロップでは、これら観測や設定がで
きない。
For example, in this embodiment, in FIG.
The logic state can be observed with the signals DI2 to DI4. Further, the logic state can be set by the signals DO2 to DO4. On the other hand, conventionally, in FIGS. 3 and 4, these observations and settings cannot be made with the flip-flop of the user circuit shift register.

【0034】又、本実施形態では、ユーザ回路シフトレ
ジスタとして構成するフリップフロップをテスト回路
に、少なくとも一部流用している。このため、テスト回
路増加による面積増加を抑えることができる。
In the present embodiment, at least a part of the flip-flop configured as the user circuit shift register is used for the test circuit. Therefore, an increase in area due to an increase in test circuits can be suppressed.

【0035】なお、本実施形態では、スキャン選択信号
SEについては、図2〜図4の従来のものと同様であ
る。従って、各種既存設計ツールやテストツールの適用
に際し、特別に考慮する必要がない。
In this embodiment, the scan selection signal SE is the same as the conventional one shown in FIGS. Therefore, when applying various existing design tools and test tools, it is not necessary to take special consideration.

【0036】[0036]

【発明の効果】本発明によれば、テスト回路増加による
面積増加を抑えながら、順序回路のテストの故障検出率
や設計不良検出率を向上することができる。
According to the present invention, it is possible to improve the failure detection rate and the design failure detection rate of the sequential circuit test while suppressing an increase in area due to an increase in the number of test circuits.

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

【図1】スキャンテスト方法のテスト対象となる順序回
路の一例の回路図
FIG. 1 is a circuit diagram of an example of a sequential circuit to be tested in a scan test method.

【図2】従来のスキャン回路の回路例の回路図FIG. 2 is a circuit diagram of a circuit example of a conventional scan circuit.

【図3】ユーザ回路シフトレジスタのフリップフロップ
での、従来のスキャン回路の回路例の第1例の回路図
FIG. 3 is a circuit diagram of a first example of a circuit example of a conventional scan circuit in a flip-flop of a user circuit shift register.

【図4】ユーザ回路シフトレジスタのフリップフロップ
での、従来のスキャン回路の回路例の第2例の回路図
FIG. 4 is a circuit diagram of a second example of a conventional scan circuit using flip-flops of a user circuit shift register.

【図5】本発明が適用された実施形態の回路図FIG. 5 is a circuit diagram of an embodiment to which the present invention is applied;

【符号の説明】 1…組合せ回路 FF、FF1〜FF5…フリップフロップ M1〜M5…マルチプレクサ[Description of Signs] 1 ... Combination circuit FF, FF1 to FF5 ... Flip-flop M1 to M5 ... Mux

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】テスト対象となる順序回路のフリップフロ
ップの入力及び出力を順次接続して、スキャン回路を構
成し、これらフリップフロップをシフトレジスタとして
動作させ、それぞれのフリップフロップの論理状態を設
定しながら、前記順序回路の組合せ回路部分の動作をテ
ストしてゆくスキャンテスト回路において、 前記フリップフロップの内、前記順序回路中でシフトレ
ジスタとして用いられているものに、テストに際して観
測したい前記組合せ回路中の論理状態を取り込む、補足
観測動作のためのスキャンモード信号を新たに設け、 前記シフトレジスタ用フリップフロップの入力側に、前
記スキャン回路で前段となるフリップフロップの出力す
る論理状態、又は、観測したい前記組合せ回路中の論理
状態を選択するマルチプレクサと、 前記スキャン選択信号が無効で、かつ、前記スキャンモ
ード信号が有効の場合に、観測する前記組合せ回路中の
論理状態を前記マルチプレクサが選択するように指示す
る信号を生成する動作モード制御回路とを備えるように
したことを特徴とするスキャンテスト回路。
An input and an output of a flip-flop of a sequential circuit to be tested are sequentially connected to form a scan circuit, the flip-flop is operated as a shift register, and a logic state of each flip-flop is set. Meanwhile, in the scan test circuit that tests the operation of the combinational circuit portion of the sequential circuit, the flip-flop used as a shift register in the sequential circuit may be used in the combinational circuit to be observed during the test. A scan mode signal for supplementary observation operation is newly provided to capture the logic state of the above. At the input side of the flip-flop for the shift register, the logic state output from the flip-flop which is the preceding stage in the scan circuit, or observation is desired. Multiplex for selecting a logic state in the combinational circuit An operation mode control circuit that generates a signal that instructs the multiplexer to select a logic state in the combinational circuit to be observed when the scan selection signal is invalid and the scan mode signal is valid; A scan test circuit, comprising:
【請求項2】請求項1に記載のスキャンテスト回路にお
いて、前記動作モード制御回路を、前記スキャン選択信
号及び前記スキャンモード信号の排他論理和を演算する
エクスクルーシブOR回路で構成するようにしたことを
特徴とするスキャンテスト回路。
2. The scan test circuit according to claim 1, wherein said operation mode control circuit is constituted by an exclusive OR circuit for calculating an exclusive OR of said scan selection signal and said scan mode signal. Scan test circuit characterized.
JP07211298A 1998-03-20 1998-03-20 Scan test circuit Expired - Lifetime JP3853063B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP07211298A JP3853063B2 (en) 1998-03-20 1998-03-20 Scan test circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP07211298A JP3853063B2 (en) 1998-03-20 1998-03-20 Scan test circuit

Publications (2)

Publication Number Publication Date
JPH11271401A true JPH11271401A (en) 1999-10-08
JP3853063B2 JP3853063B2 (en) 2006-12-06

Family

ID=13479984

Family Applications (1)

Application Number Title Priority Date Filing Date
JP07211298A Expired - Lifetime JP3853063B2 (en) 1998-03-20 1998-03-20 Scan test circuit

Country Status (1)

Country Link
JP (1) JP3853063B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008224238A (en) * 2007-03-08 2008-09-25 Ricoh Co Ltd Semiconductor integrated circuit, semiconductor integrated circuit design support device, and method for manufacturing the semiconductor integrated circuit
JP2010223672A (en) * 2009-03-23 2010-10-07 Toshiba Corp Scan test circuit
US9322878B2 (en) 2013-03-28 2016-04-26 Seiko Epson Corporation Semiconductor device, physical quantity sensor, electronic apparatus, and moving object

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008224238A (en) * 2007-03-08 2008-09-25 Ricoh Co Ltd Semiconductor integrated circuit, semiconductor integrated circuit design support device, and method for manufacturing the semiconductor integrated circuit
JP2010223672A (en) * 2009-03-23 2010-10-07 Toshiba Corp Scan test circuit
US9322878B2 (en) 2013-03-28 2016-04-26 Seiko Epson Corporation Semiconductor device, physical quantity sensor, electronic apparatus, and moving object
US9880221B2 (en) 2013-03-28 2018-01-30 Seiko Epson Corporation Semiconductor device, physical quantity sensor, electronic apparatus, and moving object

Also Published As

Publication number Publication date
JP3853063B2 (en) 2006-12-06

Similar Documents

Publication Publication Date Title
JP3851782B2 (en) Semiconductor integrated circuit and test method thereof
EP0730233B1 (en) Apparatus for generating test pattern for sequential logic circuit of integrated circuit and method thereof
JP2009270832A (en) Logic circuit
US6760874B2 (en) Test access circuit and method of accessing embedded test controllers in integrated circuit modules
JP2004110265A (en) Test facilitating method for semiconductor integrated circuit
JPH11271401A (en) Scan test circuit
EP0151694A2 (en) Logic circuit with built-in self-test function
JP4179884B2 (en) Semiconductor integrated circuit including operation test circuit, and operation test method thereof
US20050216803A1 (en) Integrated circuit device
JP3094983B2 (en) System logic test circuit and test method
JP2989586B2 (en) Semiconductor integrated circuit, method of designing the same, and recording medium storing a semiconductor integrated circuit design program
US6118296A (en) Semiconductor integrated logic circuit
KR100532747B1 (en) Semiconductor intergrated circuit, method for designing the same, and storage medium where design program for semiconductor intergrated circuit is stored
JPH11281710A (en) Boundary scan register
JPH10123221A (en) Circuit including structure testing means without testing pad exclusively for testing
JP3278833B2 (en) Logic circuit test method, test input circuit and test output circuit
JPH0351104B2 (en)
JP2009175154A (en) Semiconductor integrated circuit and its design method
JP3178190B2 (en) Semiconductor integrated circuit
JP2003172771A (en) Test pattern creation method of system lsi, test pattern creation device, test method and test circuit
JP2005115578A (en) Semiconductor integrated circuit and its design method
US6330698B1 (en) Method for making a digital circuit testable via scan test
JPH0666885A (en) Boundary scanning circuit
JPH07294606A (en) Self inspecting circuit for semiconductor integrated circuit
JPH10124564A (en) Inspection-facilitated designing method, bus error-evaded designing method and integrated circuit

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040901

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060418

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060616

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060829

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060905

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20100915

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110915

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110915

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120915

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130915

Year of fee payment: 7

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term