JPS6225211B2 - - Google Patents

Info

Publication number
JPS6225211B2
JPS6225211B2 JP57045910A JP4591082A JPS6225211B2 JP S6225211 B2 JPS6225211 B2 JP S6225211B2 JP 57045910 A JP57045910 A JP 57045910A JP 4591082 A JP4591082 A JP 4591082A JP S6225211 B2 JPS6225211 B2 JP S6225211B2
Authority
JP
Japan
Prior art keywords
scan
input
circuit
register
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.)
Expired
Application number
JP57045910A
Other languages
Japanese (ja)
Other versions
JPS58163049A (en
Inventor
Yoshiteru Katayama
Shunji Ooshima
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP57045910A priority Critical patent/JPS58163049A/en
Publication of JPS58163049A publication Critical patent/JPS58163049A/en
Publication of JPS6225211B2 publication Critical patent/JPS6225211B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/317Testing of digital circuits
    • G01R31/3181Functional testing
    • G01R31/3185Reconfiguring for testing, e.g. LSSD, partitioning
    • G01R31/318533Reconfiguring for testing, e.g. LSSD, partitioning using scanning techniques, e.g. LSSD, Boundary Scan, JTAG
    • G01R31/318572Input/Output interfaces
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/317Testing of digital circuits
    • G01R31/3181Functional testing
    • G01R31/3185Reconfiguring for testing, e.g. LSSD, partitioning
    • G01R31/318533Reconfiguring for testing, e.g. LSSD, partitioning using scanning techniques, e.g. LSSD, Boundary Scan, JTAG
    • G01R31/318552Clock circuits details

Description

【発明の詳細な説明】 (イ) 発明の技術分野 本発明は論理回路システムの試験方式に関し、
特に、論理回路システム内の回路単位群をシフト
レジスタ構成としスキヤンループ機構により論理
回路システムの試験を行なう方式に関する。
[Detailed Description of the Invention] (a) Technical Field of the Invention The present invention relates to a testing method for a logic circuit system.
In particular, the present invention relates to a method for testing a logic circuit system using a scan loop mechanism in which a group of circuit units in a logic circuit system is configured as a shift register.

(ロ) 従来技術と問題点 情報処理装置等の論理回路システムにおいて
は、内部の多数の回路素子を試験するために、い
わゆるスキヤンイン/スキヤンアウト機構が採用
され、回路素子の状態を識別可能なようにされて
いる。そしてこのスキヤンイン/スキヤンアウト
機構としては、少ないハードウエア量で効率的に
回路素子の試験を可能にするために、回路素子を
シフトレジスタ接続したスキヤンループ構成が多
用されている。
(b) Prior art and problems In logic circuit systems such as information processing equipment, a so-called scan-in/scan-out mechanism is adopted in order to test a large number of internal circuit elements. is being used. As this scan-in/scan-out mechanism, a scan loop configuration in which circuit elements are connected to shift registers is often used in order to enable efficient testing of circuit elements with a small amount of hardware.

第1図は、シフトレジスタ方式のスキヤンイ
ン/スキヤンアウト機構の一般的な構成例であ
り、図中、1―0、…、1―(n―2)、1―
(n―1)、1―nはフリツプフロツプ、ラツチ等
を含む回路単位、2は直列入力/並列入出力機能
を有するシフトレジスタ構成のスキヤンレジス
タ、3はシフトコントロール回路、4は入力クロ
ツク信号線、5はスキヤンクロツク信号線、6は
スキヤンモード信号線、7はクロツク数指定信号
線、8はスキヤンイン/アウトデータ線である。
FIG. 1 shows a general configuration example of a shift register type scan-in/scan-out mechanism. In the figure, 1-0, ..., 1-(n-2), 1-
(n-1), 1-n is a circuit unit including flip-flops, latches, etc., 2 is a scan register with a shift register configuration having serial input/parallel input/output functions, 3 is a shift control circuit, 4 is an input clock signal line, 5 is a scan clock signal line, 6 is a scan mode signal line, 7 is a clock number designation signal line, and 8 is a scan in/out data line.

第2図は、第1図の構成を概念的に示した図で
あり、図中、2は第1図と同一のもの、10は第
1図における1―0、…、1―(n―2)、1―
(n―1)、1―nをまとめて表現したものであ
る。
FIG. 2 is a diagram conceptually showing the configuration of FIG. 1. In the figure, 2 is the same as that in FIG. 2), 1-
(n-1), 1-n are collectively expressed.

第1図、第2図に示す従来方式の構成における
スキヤンイン/アウトの手順の1例は以下の通り
である。
An example of the scan-in/out procedure in the conventional configuration shown in FIGS. 1 and 2 is as follows.

(1‐1) 第2図図示のビツトmへ“1”をスキヤ
ンインする場合。
(1-1) When scanning in "1" to bit m shown in Figure 2.

スキヤンモード信号線6を“1”にする。
(スキヤンモード) クロツク数指定信号線7よりクロツク数
(m+1)を指定し、スキヤンクロツク信号
線5上に(m+1)個のクロツクを送出す
る。
Set the scan mode signal line 6 to "1".
(Scan mode) The number of clocks (m+1) is designated from the clock number designation signal line 7, and (m+1) clocks are sent onto the scan clock signal line 5.

スキヤンレジスタ2のビツト“0”に
“1”をセツトする。
Set bit “0” of scan register 2 to “1”.

クロツク数指定信号線7よりクロツク数
(n−m+l)を指定し、スキヤンクロツク
信号5上に(n−m+l)個のクロツクを送
出する。
The number of clocks (n-m+l) is designated from the clock number designation signal line 7, and (n-m+l) clocks are sent on the scan clock signal 5.

スキヤンモード信号線6を“0”とし、ス
キヤンモードをリセツトする。
The scan mode signal line 6 is set to "0" to reset the scan mode.

(1‐2) 第2図図示のビツトmからスキヤンアウ
トする場合。
(1-2) When scanning out from bit m shown in Figure 2.

スキヤンモード信号線6を“1”にする。
(スキヤンモード) クロツク数指定信号線7よりクロツク数
(m+1)を指定し、スキヤンクロツク信号
線5上に(m+1)個のクロツクを送出す
る。
Set the scan mode signal line 6 to "1".
(Scan mode) The number of clocks (m+1) is designated from the clock number designation signal line 7, and (m+1) clocks are sent onto the scan clock signal line 5.

スキヤンレジスタ2のビツト“0”を読取
る。
Read bit “0” of scan register 2.

クロツク数指定信号線7よりクロツク数
(n−m+l)を指定し、スキヤンクロツク
信号線5上に(n−m+l)個のクロツクを
送出する。
The number of clocks (n-m+l) is designated from the clock number designation signal line 7, and (n-m+l) clocks are sent onto the scan clock signal line 5.

スキヤンモード信号線6を“0”とし、ス
キヤンモードをリセツトする。
The scan mode signal line 6 is set to "0" to reset the scan mode.

上記従来方式の場合、以下に説明する問題点が
存在する。すなわち、第1図、第2図に示す構成
においては、スキヤンループ内のフリツプフロツ
プ(またはラツチ)の固定障害発生時にスキヤン
を一度実行すると、ループ内の全フリツプフロツ
プ(またはラツチ)が“0”または“1”とな
り、スキヤンモードをリセツトして次の正常クロ
ツクを進めても回路は正常な論理動作を行なうこ
とができなくなる。
In the case of the above conventional method, there are problems described below. That is, in the configurations shown in FIGS. 1 and 2, if a scan is executed once when a fixed fault occurs in a flip-flop (or latch) in the scan loop, all flip-flops (or latches) in the loop become "0" or "0". 1'', and even if the scan mode is reset and the next normal clock is advanced, the circuit will not be able to perform normal logic operations.

さらに、次のスキヤンアウトデータがオール
“0”(または“1”)となつて、この方法での障
害調査の続行が不可能となる。たとえば、第3図
図示のビツトmが“0”固定障害の場合、1回ス
キヤン動作を実行するとループ内はすべて“0”
となる。
Furthermore, the next scan-out data becomes all "0" (or "1"), making it impossible to continue fault investigation using this method. For example, if bit m shown in Fig. 3 is a fixed "0" fault, if the scan operation is executed once, everything in the loop becomes "0".
becomes.

(ハ) 発明の目的 本発明は上記問題点を解決し、スキヤンループ
中の固定障害素子の早期発見を可能にすることを
目的としている。
(c) Purpose of the Invention The purpose of the present invention is to solve the above-mentioned problems and to enable early detection of fixed faulty elements in the scan loop.

(ニ) 発明の構成 上記目的を達成するために本発明は、論理回路
システム内にもうけられている各種回路単位をそ
れぞれ直列に接続し、該回路単位群をシフトレジ
スタとして動作可能とし、該シフトレジスタとし
て動作可能とされた回路単位群の先頭の位置の回
路単位にシフトレジスタ構成のスキヤンレジスタ
よりスキヤンインデータを入力し、該回路単位群
の最後の位置の回路単位よりスキヤンアウトデー
タを取出し上記スキヤンレジスタに入力するスキ
ヤンループ機構により当該論理回路システムの試
験を行なう論理回路システム試験方式において、
上記スキヤンループ機構を制御するテスト・モー
ド信号をもうけ、該テスト・モード信号が一方の
論理値を有するとき、上記スキヤンレジスタから
の出力データを上記先頭の位置の回路単位に入力
するとともに上記スキヤンループ機構を予め定め
られたクロツク制御モードで動作せしめ、一方、
該テスト・モード信号が他方の論理値を有すると
き、上記スキヤンレジスタからの出力データを上
記先頭の位置の回路単位に入力することを禁止し
代りに所望のテストデータを上記先頭の位置の回
路単位に入力するとともに上記スキヤンループ機
構を常時出力のスキヤンクロツクにより動作せし
めるようにしたことを特徴とする。
(d) Structure of the Invention In order to achieve the above object, the present invention connects various circuit units provided in a logic circuit system in series, enables the group of circuit units to operate as a shift register, and Input scan-in data from a scan register having a shift register configuration to the circuit unit at the head position of a circuit unit group that can operate as a register, and extract scan-out data from the circuit unit at the last position of the circuit unit group as described above. In a logic circuit system testing method that tests the logic circuit system using a scan loop mechanism that inputs input to a scan register,
A test mode signal for controlling the scan loop mechanism is provided, and when the test mode signal has one logical value, the output data from the scan register is input to the circuit unit at the top position, and the scan loop is input to the circuit unit at the top position. causing the mechanism to operate in a predetermined clock-controlled mode, while
When the test mode signal has the other logical value, inputting the output data from the scan register to the circuit unit at the top position is prohibited, and instead, the desired test data is input to the circuit unit at the top position. The present invention is characterized in that the scan loop mechanism is operated by a scan clock that is constantly output.

(ホ) 発明の実施例 第4図は本発明による実施例のスキヤンイン/
アウト機構のブロツク図であり、第1図と同一番
号のものは同一のもの、3′はシフトクロツクコ
ントロール回路、11はテストデータ送出制御回
路、12はテストモード信号線、13はテストデ
ータ線である。
(E) Embodiment of the invention FIG. 4 is a scan-in/example of the embodiment of the invention.
This is a block diagram of the output mechanism, in which the same numbers as in FIG. It is.

第5図は、第4図におけるテストデータ送出制
御回路11の詳細回路図であり、第4図と同一番
号のものは同一のもの、14はスキヤンレジスタ
2からの入力信号線、15は回路単位1−nへの
出力信号線、16〜18はナンドゲートである。
FIG. 5 is a detailed circuit diagram of the test data transmission control circuit 11 in FIG. 4, where the same numbers as in FIG. 4 are the same, 14 is an input signal line from the scan register 2, and 15 is a circuit unit. Output signal lines 16 to 18 to 1-n are NAND gates.

第6図は、第4図におけるシフトクロツクコン
トロール回路3′の詳細回路図であり、図中、第
4図と同一番号のものは同一のもの、20は指定
クロツク数送出回路、21〜23はアンドゲー
ト、24はオアゲートである。
6 is a detailed circuit diagram of the shift clock control circuit 3' in FIG. 4. In the figure, the same numbers as in FIG. 4 are the same, 20 is a designated clock number sending circuit, 21 to 23 is an AND gate, and 24 is an OR gate.

スキヤンモード時における図示実施例の動作は
以下の通りである。
The operation of the illustrated embodiment in scan mode is as follows.

まず、テストモード信号線12が“0”のとき
は、テストデータ送出制御回路11において、テ
ストデータ線13上の信号は無視され、スキヤン
レジスタ2からの入力信号線14上の信号がナン
ドゲート18から送出され、出力信号線15によ
り先頭の回路単位1−nに入力される。また、シ
フトクロツクコントロール回路3′においては、
アンドゲート23が非導通状態、アンドゲート2
2が導通状態とされるため、クロツク数指定信号
線7により指定された数のスキヤンクロツクがス
キヤンクロツク信号線5上に送出される。すなわ
ち、テストモード信号線12が“0”のときは、
従来方式と同一の動作が行なわれる。
First, when the test mode signal line 12 is "0", the test data transmission control circuit 11 ignores the signal on the test data line 13, and the signal on the input signal line 14 from the scan register 2 is transmitted from the NAND gate 18. The signal is sent out and input to the first circuit unit 1-n via the output signal line 15. In addition, in the shift clock control circuit 3',
AND gate 23 is non-conductive, AND gate 2
2 is rendered conductive, the number of scan clocks designated by the clock number designation signal line 7 is sent onto the scan clock signal line 5. That is, when the test mode signal line 12 is "0",
The same operation as the conventional method is performed.

次に、テストモード信号線12が“1”のとき
は、テストデータ送出制御回路11において、ス
キヤンレジスタ2からの入力信号線14上の信号
は無視され、テストデータ線13上の信号がナン
ドゲート18から送出され、出力信号線15によ
り先頭の回路単位1−nに入力される。
Next, when the test mode signal line 12 is "1", in the test data transmission control circuit 11, the signal on the input signal line 14 from the scan register 2 is ignored, and the signal on the test data line 13 is transmitted to the NAND gate 18. , and is input to the first circuit unit 1-n via the output signal line 15.

また、シフトクロツクコントロール回路3′に
おいては、アンドゲート22が非導通状態、アン
ドゲート23が導通状態とされるため、入力クロ
ツク信号線4上のクロツクがアンドゲート21、
アンドゲート23、オアゲート24を通して、連
続的にスキヤンクロツク信号線5上に送出されて
ゆく。
In the shift clock control circuit 3', the AND gate 22 is in a non-conducting state and the AND gate 23 is in a conducting state, so that the clock on the input clock signal line 4 is
The signal is continuously sent onto the scan clock signal line 5 through the AND gate 23 and the OR gate 24.

このテストモード信号線12を“1”としてテ
ストモードの試験を行なうとき、テストデータ線
13上に障害素子の障害固定値とは逆の値をテス
トデータとしてセツトし送出するようにすれば、
障害素子を含む回路単位1−iにおいてはその入
力値と出力値が異なることになる。したがつて、
この試験方法を用いることにより、固定障害素子
を容易にかつ早期に発見することが可能となる。
When performing a test mode test with this test mode signal line 12 set to "1", if a value opposite to the failure fixed value of the failure element is set on the test data line 13 as test data and sent out,
In the circuit unit 1-i including the faulty element, its input value and output value are different. Therefore,
By using this test method, fixed faulty elements can be detected easily and early.

本発明による試験方式を実施する場合、通常時
は非テスト・モードでスキヤンイン/アウト試験
を行ない、固定障害の可能性が見出されたときテ
スト・モードに切替えてオール“0”またはオー
ル“1”のテストデータを入力して試験するよう
にすることにより、効率の良い論理回路システム
試験が可能となる。
When implementing the test method according to the present invention, scan-in/out tests are normally performed in a non-test mode, and when a possibility of a fixed fault is found, the test mode is switched to all "0's" or all "1's". By inputting and testing the test data, it becomes possible to perform efficient logic circuit system testing.

(ヘ) 発明の効果 以上説明したように本発明によれば、固定障害
素子を早期に発見可能なスキヤンイン/アウト試
験方式を実現することが可能となり、その効果は
極めて大である。
(F) Effects of the Invention As explained above, according to the present invention, it is possible to realize a scan-in/out test method that can detect fixed faulty elements at an early stage, and its effects are extremely large.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はスキヤンイン/スキヤンアウト機構の
一般的な構成例、第2図は第1図の構成を概念的
に示した図、第3図は固定障害の例を示す図、第
4図は本発明による実施例のスキヤンイン/アウ
ト機構のブロツク図、第5図はテストデータ送出
制御回路の詳細回路図、第6図はシフトクロツク
コントロール回路の詳細回路図である。 第4図において、1−0〜1−nは回路単位、
2はスキヤンレジスタ、3′はシフトクロツクコ
ントロール回路、11はテストデータ送出制御回
路である。
Figure 1 is a general configuration example of a scan-in/scan-out mechanism, Figure 2 is a conceptual diagram of the configuration in Figure 1, Figure 3 is a diagram showing an example of a fixed failure, and Figure 4 is a diagram showing the main structure of the scan-in/scan-out mechanism. FIG. 5 is a detailed circuit diagram of a test data sending control circuit, and FIG. 6 is a detailed circuit diagram of a shift clock control circuit. In Fig. 4, 1-0 to 1-n are circuit units,
2 is a scan register, 3' is a shift clock control circuit, and 11 is a test data transmission control circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 論理回路システム内にもうけられている各種
回路単位をそれぞれ直列に接続し、該回路単位群
をシフトレジスタとして動作可能とし、該シフト
レジスタとして動作可能とされた回路単位群の先
頭の位置の回路単位にシフトレジスタ構成のスキ
ヤンレジスタよりスキヤンインデータを入力し、
該回路単位群の最後の位置の回路単位よりスキヤ
ンアウトデータを取出し上記スキヤンレジスタに
入力するスキヤンループ機構により当該論理回路
システムの試験を行なう論理回路システム試験方
式において、上記スキヤンループ機構を制御する
テスト・モード信号をもうけ、該テスト・モード
信号が一方の論理値を有するとき、上記スキヤン
レジスタからの出力データを上記先頭の位置の回
路単位に入力するとともに上記スキヤンループ機
構を予め定められたクロツク制御モードで動作せ
しめ、一方、該テスト・モード信号が他方の論理
値を有するとき、上記スキヤンレジスタからの出
力データを上記先頭の位置の回路単位に入力する
ことを禁止し代りに所望のテストデータを上記先
頭の位置の回路単位に入力するとともに上記スキ
ヤンループ機構を常時出力のスキヤンロツクによ
り動作せしめるようにしたことを特徴とする論理
回路システムの試験方式。
1 Each of the various circuit units provided in a logic circuit system is connected in series, and each group of circuit units is enabled to operate as a shift register, and the circuit at the head position of the group of circuit units that is enabled to operate as a shift register. Input scan-in data from a scan register with a shift register configuration in the unit,
A test for controlling the scan loop mechanism in a logic circuit system testing method in which the logic circuit system is tested by a scan loop mechanism that extracts scan-out data from the circuit unit at the last position of the circuit unit group and inputs it to the scan register.・When a mode signal is generated and the test mode signal has one logical value, the output data from the scan register is input to the circuit unit at the top position, and the scan loop mechanism is controlled by a predetermined clock. On the other hand, when the test mode signal has the other logical value, the output data from the scan register is prohibited from being input to the circuit unit at the top position, and the desired test data is input instead. A test method for a logic circuit system, characterized in that input is input to the circuit unit at the top position, and the scan loop mechanism is operated by a scan lock that constantly outputs.
JP57045910A 1982-03-23 1982-03-23 Test system of logical circuit system Granted JPS58163049A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57045910A JPS58163049A (en) 1982-03-23 1982-03-23 Test system of logical circuit system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57045910A JPS58163049A (en) 1982-03-23 1982-03-23 Test system of logical circuit system

Publications (2)

Publication Number Publication Date
JPS58163049A JPS58163049A (en) 1983-09-27
JPS6225211B2 true JPS6225211B2 (en) 1987-06-02

Family

ID=12732394

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57045910A Granted JPS58163049A (en) 1982-03-23 1982-03-23 Test system of logical circuit system

Country Status (1)

Country Link
JP (1) JPS58163049A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60142432A (en) * 1983-12-28 1985-07-27 Fujitsu Ltd Serial data scan in/out system
JPS61193082A (en) * 1985-02-21 1986-08-27 Nec Corp Scan path system of lsi
JPH0743655B2 (en) * 1985-08-28 1995-05-15 日本電気株式会社 Information processing equipment

Also Published As

Publication number Publication date
JPS58163049A (en) 1983-09-27

Similar Documents

Publication Publication Date Title
US4621363A (en) Testing and diagnostic device for digital computers
US6861866B2 (en) System on chip (SOC) and method of testing and/or debugging the system on chip
WO1981001210A1 (en) Lsi circuit logic structure including data compression circuitry
US4335425A (en) Data processing apparatus having diagnosis function
EP0023413B1 (en) Single chip microprocessor having means for selectively outputting instruction decoder control signals
KR870000114B1 (en) Data processing system
US4831623A (en) Swap scan testing of digital logic
JP2008170444A (en) Integrated circuit
JPS6225211B2 (en)
US6105156A (en) LSI tester for use in LSI fault analysis
EP0151694B1 (en) Logic circuit with built-in self-test function
US3814920A (en) Employing variable clock rate
US4701917A (en) Diagnostic circuit
JPS61155874A (en) Method and device for detecting fault of large-scale integrated circuit
EP0714170B1 (en) Analog-to-digital converter with writable result register
JP3322303B2 (en) Semiconductor storage device
US20230259433A1 (en) Systems and methods to test an asychronous finite machine
JPS6336534B2 (en)
JPH04157535A (en) Register inspecting method
JPH04259866A (en) Diagnosing apparatus
JPH0766030B2 (en) How to diagnose logical packages
JPS63174141A (en) Diagnosing system for test of information processor
JPS60239835A (en) Trouble shooting system of logical circuit
JPH0331953A (en) Information processor
JPH0389178A (en) Semiconductor integrated circuit