JPH0331233B2 - - Google Patents

Info

Publication number
JPH0331233B2
JPH0331233B2 JP58048236A JP4823683A JPH0331233B2 JP H0331233 B2 JPH0331233 B2 JP H0331233B2 JP 58048236 A JP58048236 A JP 58048236A JP 4823683 A JP4823683 A JP 4823683A JP H0331233 B2 JPH0331233 B2 JP H0331233B2
Authority
JP
Japan
Prior art keywords
scan
data
parity
clock
circuit
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 - Lifetime
Application number
JP58048236A
Other languages
Japanese (ja)
Other versions
JPS59173778A (en
Inventor
Atsushi Ishikawa
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP58048236A priority Critical patent/JPS59173778A/en
Publication of JPS59173778A publication Critical patent/JPS59173778A/en
Publication of JPH0331233B2 publication Critical patent/JPH0331233B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/267Reconfiguring circuits for testing, e.g. LSSD, partitioning

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Tests Of Electronic Circuits (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)
  • Semiconductor Integrated Circuits (AREA)

Description

【発明の詳細な説明】 本発明はスキヤンパス回路、特に、外部からス
キヤンクロツクと該スキヤンクロツクに応答して
ビツト変化するスキヤンデータとを供給してスキ
ヤンパス内蔵の論理ユニツトをテストするスキヤ
ンパス回路に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a scan pass circuit, and more particularly to a scan pass circuit that tests a logic unit incorporating a scan pass by supplying a scan clock from the outside and scan data whose bits change in response to the scan clock.

近年、情報処理装置への大規模集積回路
(LSI)の採用に伴い、論理回路、論理装置ある
いはプロセツサの集積化が顕著化し、高度に複雑
な論理機能が高密度に集積化できるようになつた
反面、回路や装置の複雑さおよびLSIの入出力端
子数の制約等によりこれら論理ユニツトの故障の
テストは一層困難になつている。このため、この
ような論理ユニツトには故障のテストが容易にな
るように予め論理ユニツトの構成に工夫をしてお
くことがある。
In recent years, with the adoption of large-scale integrated circuits (LSI) in information processing equipment, the integration of logic circuits, logic devices, and processors has become more prominent, making it possible to integrate highly complex logic functions with high density. On the other hand, testing for failures in these logic units has become increasingly difficult due to the complexity of circuits and devices and restrictions on the number of input/output terminals of LSIs. For this reason, the configuration of such a logic unit is sometimes devised in advance so that it can be easily tested for failures.

従来この種のスキヤンパス回路は、いわゆるス
キヤンパス方式と称せられ、通常の動作と故障の
テスト動作とを信号により切り換えて、通常の順
序回路動作のため内部記憶素子として存在するフ
リツプフロツプ群を相互に接続してシフトレジス
タ(スキヤンパス)を構成させ、順序回路を組合
せ回路に分離してテストすることを可能にしてい
る。テスタから被試験論理ユニツトにビツト直列
で供給されたスキヤンデータは、スキヤンパスを
経由して出力され、この出力データがテスタにお
いてスキヤンデータに対する期待値データと比較
され、テストされる。
Conventionally, this type of scan pass circuit is called the so-called scan pass method, in which a signal is used to switch between normal operation and failure test operation, and a group of flip-flops that serve as internal storage elements for normal sequential circuit operation are interconnected. A shift register (scan path) is constructed using the 3D circuit, making it possible to separate sequential circuits into combinational circuits and test them. Scan data supplied in bit series from the tester to the logic unit under test is output via a scan path, and this output data is compared with expected value data for the scan data in the tester and tested.

このような従来構成においては、テスタと論理
ユニツトとの間のデータ転送路における故障に起
因するエラーが発生しても、テスタは論理ユニツ
トにおける故障に起因するエラーと判断するた
め、誤つたテスト結果をもたらしてしまうという
欠点がある。特に、保守プロセツサをテスタとし
て使用して、中央処理装置は入出力制御装置等の
プロセツサをテストする場合には、データ転送路
は長く、かつ大規模なものになるため、上述の欠
点は増長されることになる。
In such a conventional configuration, even if an error occurs due to a failure in the data transfer path between the tester and the logic unit, the tester determines that the error is due to a failure in the logic unit, resulting in incorrect test results. It has the disadvantage of causing In particular, when using a maintenance processor as a tester to test a processor such as a central processing unit or input/output control unit, the data transfer path becomes long and large-scale, so the above-mentioned drawbacks are exacerbated. That will happen.

本発明の目的は、被試験論理ユニツトとデータ
転送路それぞれにおける故障の切り分けができ、
適切なエラー処理ができるようなスキヤンパス回
路を提供することにある。
The purpose of the present invention is to be able to isolate faults in the logic unit under test and the data transfer path, and
The object of the present invention is to provide a scan pass circuit that can perform appropriate error processing.

本発明の回路は、外部からスキヤンクロツクと
該スキヤンクロツクに同期してビツト変化するス
キヤンデータとを供給してスキヤンパス内蔵の論
理ユニツトをテストできるスキヤン回路におい
て、 前記スキヤンデータの一定ビツト間隔ごとにパ
リテイを付加して前記供給を行ない、かつ前記論
理ユニツトの近傍に、 前記スキヤンクロツクの印加時から前記スキヤ
ンデータの前記一定ビツト間隔長を最大カウント
値とするカウントを行なうカウンタと、 該最大カウント値ごとに前記スキヤンデータの
パリテイチエツクを行なうエラー検出回路と、 前記最大カウント値ごとにのみ前記スキヤンク
ロツクの通過を阻止したセツトクロツクを発生し
該セツトクロツクに応答して前記スキヤンデータ
を前記スキヤンパスに入力するようにしたゲート
回路と、 前記スキヤンパスからの出力データに基づいて
パリテイを発生するパリテイ発生回路と、 前記最大カウント値ごとに前記パリテイ発生回
路からのパリテイを出力させまたその他のときに
は前記出力データを出力させるマルチプレクサ とを設けたことを特徴とする。
The circuit of the present invention is a scan circuit that can test a logic unit with a built-in scan path by externally supplying a scan clock and scan data whose bits change in synchronization with the scan clock, and which adds parity to the scan data at fixed bit intervals. a counter located near the logic unit that counts the constant bit interval length of the scan data as a maximum count value from the time when the scan clock is applied; an error detection circuit that performs a data parity check; and a gate circuit that generates a set clock that blocks passage of the scan clock only at each maximum count value and inputs the scan data to the scan path in response to the set clock. and a parity generation circuit that generates parity based on output data from the scan path, and a multiplexer that outputs the parity from the parity generation circuit for each of the maximum count values and outputs the output data at other times. It is characterized by:

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

本発明の一実施例を示す第1図において、本実
施例はカウンタ1と、パリテイ検査回路3と、フ
リツプフロツプ4と、パリテイ発生回路8と、マ
ルチプレクサ9と、2つのシフトレジスタ2およ
び7と、インバータ5と、論理積回路6とを論理
回路10と同一実装体に設け、テスタ(図示を省
略)からスキヤンクロツク11とスキヤンクロツ
ク11に同期してビツト変化するスキヤンデータ
12とをビツト直列に供給して論理回路10をテ
ストするテストシステムである。論理回路10は
フリツプフロツプ101,102,103……1
0N(Nは任意の整数)を含み、この順序でスキ
ヤンパスを構成している。
In FIG. 1 showing one embodiment of the present invention, this embodiment includes a counter 1, a parity check circuit 3, a flip-flop 4, a parity generation circuit 8, a multiplexer 9, two shift registers 2 and 7, An inverter 5 and an AND circuit 6 are provided in the same package as the logic circuit 10, and a scan clock 11 and scan data 12 whose bits change in synchronization with the scan clock 11 are supplied in bit series from a tester (not shown). This is a test system for testing a logic circuit 10. The logic circuit 10 includes flip-flops 101, 102, 103...1
0N (N is any integer), and constitutes a scan path in this order.

スキヤンデータ12は8ビツトのデータビツト
とその末尾にパリテイビツトが付加された合計9
ビツト単位で構成されている。カウンタ11は9
進カウンタであり、スキヤンクロツク11の波形
の立上りに応答して、スキヤンクロツク11のク
ロツク数をカウントし、8回のカウントで8カウ
ント信号13を、また9回のカウントで9カウン
ト信号14をそれぞれ出力する。
Scan data 12 consists of 8 data bits and a parity bit added to the end, totaling 9 bits.
It is made up of bits. Counter 11 is 9
It is a forward counter that counts the number of clocks of the scan clock 11 in response to the rising edge of the waveform of the scan clock 11, and outputs an 8 count signal 13 when counting 8 times and a 9 count signal 14 when counting 9 times. .

シフトレジスタ2はスキヤンクロツク11に同
期してスキヤンデータ12を1ビツトづつ入力
し、入力終了後にパリテイ検査回路3へビツト並
列で出力する。パリテイ検査回路3はシフトレジ
スタ2から入力したスキヤンデータに対し9カウ
ント信号14に応答してパリテイ検査を行なう。
パリテイ検査の結果により、もしパリテイ誤りを
検出するときには、テスタにパリテイエラー信号
19を送出する。
The shift register 2 inputs the scan data 12 one bit at a time in synchronization with the scan clock 11, and outputs the bits in parallel to the parity check circuit 3 after the input is completed. The parity check circuit 3 performs a parity check on the scan data input from the shift register 2 in response to the 9 count signal 14.
If a parity error is detected as a result of the parity check, a parity error signal 19 is sent to the tester.

フリツプフロツプ4は常時リセツト状態になつ
て、“0”を出力しており、このためフリツプフ
ロツプ4の反転出力15とスキヤンクロツク11
とは論理積回路6においてアンド条件を満たし、
セツトクロツク16を出力している。カウンタ1
が8カウント信号13を出力すると、フリツプフ
ロツプ4はスキヤンクロツク11の反転(インバ
ータ5による)信号に応答してセツト状態とな
り、“1”を出力する。したがつて、論理積回路
6におけるアンドがとれなくなつて、このときに
限りセツトクロツク16が阻止される。
The flip-flop 4 is always in the reset state and outputs "0", so the inverted output 15 of the flip-flop 4 and the scan clock 11
satisfies the AND condition in the AND circuit 6,
A set clock 16 is output. counter 1
When the flip-flop 4 outputs the 8 count signal 13, the flip-flop 4 becomes set in response to the inverted signal (by the inverter 5) of the scan clock 11 and outputs "1". Therefore, the AND circuit 6 cannot perform an AND operation, and only at this time the set clock 16 is blocked.

論理回路10は通常動作時には制御手段(図示
を省略)の制御に基づく一連の論理動作を行な
い、テスト時にはフリツプフロツプ101からフ
リツプフロツプ10NまでのN個のフリツプフロ
ツプを直列に接続したスキヤンパスにスキヤンデ
ータ12をセツトクロツク16に応答して入力
し、このスキヤンデータ12に対する応答の結果
をスキヤン出力データ17としてビツト直列で出
力する。上述したように、セツトクロツク16は
8カウント信号13の発生時、すなわち、スキヤ
ンデータ12のうちのパリテイビツト目には阻止
されるため、パリテイビツトはスキヤンパスには
入力しないことになる。
During normal operation, the logic circuit 10 performs a series of logical operations under the control of a control means (not shown), and during testing, it sets scan data 12 on a scan path in which N flip-flops from flip-flop 101 to flip-flop 10N are connected in series. 16, and the result of the response to this scan data 12 is output as scan output data 17 in bit series. As mentioned above, since the set clock 16 is blocked when the 8 count signal 13 is generated, that is, at the parity bit of the scan data 12, the parity bit is not input to the scan path.

シフトレジスタ7はセツトクロツク16に同期
してスキヤン出力データ17を1ビツトづつ入力
し、入力終了後にパリテイ発生回路8へビツト並
列で出力する。パリテイ発生回路8はシフトレジ
スタ7から入力したスキヤン出力データ17に基
づいてパリテイを発生し、マルチプレクサ9に出
力する。
The shift register 7 inputs the scan output data 17 one bit at a time in synchronization with the set clock 16, and outputs the bits in parallel to the parity generation circuit 8 after the input is completed. Parity generation circuit 8 generates parity based on scan output data 17 input from shift register 7 and outputs it to multiplexer 9 .

マルチプレクサ9は8カウント信号14が発生
していない間はスキヤン出力データ17を、また
8カウント信号14が発生するとき、すなわち、
パリテイ発生回路8がパリテイを発生したときに
このパリテイをそれぞれ受け入れ、両者を出力デ
ータ18としてビツト直列にテスタへ送出する。
The multiplexer 9 outputs the scan output data 17 while the 8 count signal 14 is not generated, and when the 8 count signal 14 is generated, that is,
When the parity generation circuit 8 generates parity, it receives each parity and sends both of them as output data 18 in bit series to the tester.

第2図は以上に述べた回路要所の波形図を示
す。
FIG. 2 shows a waveform diagram of the important parts of the circuit described above.

さて、論理回路10をテストするときには、テ
スタからスキヤンクロツク11と一連のスキヤン
データ12とを供給し、上述のようにして得られ
る出力データと一連のスキヤンデータ12に対す
る期待値データとをテスタが比較する。この比較
はスキヤンデータ12のうちのデータビツトにつ
いてのみ行なわれる。
Now, when testing the logic circuit 10, the tester supplies the scan clock 11 and a series of scan data 12, and the tester compares the output data obtained as described above with the expected value data for the series of scan data 12. . This comparison is performed only on the data bits of the scan data 12.

テスタにおける比較の結果により、両データが
合致していれば論理回路10には誤りが発生して
いないと見なされる。両データが合致していない
ときには、論理回路10には誤りが発生している
と見なされ、比較結果に基づいた故障診断が行な
われる。
As a result of the comparison in the tester, if both data match, it is determined that no error has occurred in the logic circuit 10. When the two data do not match, it is assumed that an error has occurred in the logic circuit 10, and a fault diagnosis is performed based on the comparison result.

また、パリテイエラー信号19の入力がある
と、テスタとの間のデータ転送往路に故障がある
と見なされ、パリテイエラー信号19の入力がな
ければデータ転送往路は正常であると見なされ
る。出力データ18は、テスタにおいてパリテイ
検査もされ、テスタとの間のデータ転送復路にお
ける故障の検出のためにも使用される。
Further, if the parity error signal 19 is input, it is assumed that there is a failure in the forward data transfer path to the tester, and if the parity error signal 19 is not input, the forward data transfer path is considered to be normal. The output data 18 is also subjected to a parity check in the tester, and is also used to detect failures in the data transfer path to and from the tester.

本発明によれば、以上のような構成の採用によ
り、試験対象となる論理ユニツトとデータ転送路
との故障の切り分けができるようになるため、適
切なエラー処理ができるようになる。
According to the present invention, by employing the above-described configuration, it becomes possible to isolate failures between the logic unit to be tested and the data transfer path, so that appropriate error handling can be performed.

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

第1図は本発明の一実施例を示し、第2図は該
実施例の波形図を示す。 1……カウンタ、2,7……シフトレジスタ、
3……パリテイ検査回路、4……フリツプフロツ
プ、5……インバータ、6……論理積回路、8…
…パリテイ発生回路、9……マルチプレクサ、1
0……論理回路、11……スキヤンクロツク、1
2……スキヤンデータ、13……7カウント信
号、14……8カウント信号、15……フリツプ
フロツプ4の反転出力、16……セツトクロツ
ク、17……スキヤン出力データ、18……出力
データ、19……パリテイエラー信号、101,
102,103,…10N……フリツプフロツ
プ。
FIG. 1 shows an embodiment of the present invention, and FIG. 2 shows a waveform diagram of the embodiment. 1... Counter, 2, 7... Shift register,
3... Parity check circuit, 4... Flip-flop, 5... Inverter, 6... AND circuit, 8...
...Parity generation circuit, 9...Multiplexer, 1
0...Logic circuit, 11...Scan clock, 1
2...Scan data, 13...7 count signal, 14...8 count signal, 15...Inverted output of flip-flop 4, 16...Set clock, 17...Scan output data, 18...Output data, 19... Parity error signal, 101,
102, 103,...10N...Flip-flop.

Claims (1)

【特許請求の範囲】 1 外部からスキヤンクロツクと該スキヤンクロ
ツクに同期してビツト変化するスキヤンデータと
を供給してスキヤンパス内蔵の論理ユニツトをテ
ストできるスキヤンパス回路において、 前記スキヤンデータの一定ビツト間隔ごとにパ
リテイを付加して前記供給を行ない、かつ前記論
理ユニツトの近傍に、 前記スキヤンクロツクの印加時から前記スキヤ
ンデータの前記一定ビツト間隔長を最大カウント
値とするカウントを行なうカウンタと、 該最大カウント値ごとに前記スキヤンデータの
パリテイチエツクを行なうエラー検出回路と、 前記最大カウント値ごとにのみ前記スキヤンク
ロツクの通過を阻止したセツトクロツクを発生し
該セツトクロツクに応答して前記スキヤンデータ
を前記スキヤンパスに入力するようにしたゲート
回路と、 前記スキヤンパスからの出力データに基づいて
パリテイを発生するパリテイ発生回路と、 前記最大カウント値ごとに前記パリテイ発生回
路からのパリテイを出力させまたその他のときに
は前記出力データを出力させるマルチプレクサ とを設けたことを特徴とするスキヤンパス回路。
[Scope of Claims] 1. In a scan pass circuit capable of testing a logic unit with a built-in scan pass by externally supplying a scan clock and scan data whose bits change in synchronization with the scan clock, parity is determined at fixed bit intervals of the scan data. a counter which performs the supply in addition to the above, and is located near the logic unit, and performs a count from the time when the scan clock is applied to the constant bit interval length of the scan data as a maximum count value; an error detection circuit that performs a parity check on scan data; and a gate that generates a set clock that blocks passage of the scan clock only at each maximum count value and inputs the scan data to the scan path in response to the set clock. a parity generation circuit that generates parity based on output data from the scan path; and a multiplexer that outputs the parity from the parity generation circuit for each of the maximum count values and outputs the output data at other times. A scan pass circuit is provided.
JP58048236A 1983-03-23 1983-03-23 Scan path circuit Granted JPS59173778A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58048236A JPS59173778A (en) 1983-03-23 1983-03-23 Scan path circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58048236A JPS59173778A (en) 1983-03-23 1983-03-23 Scan path circuit

Publications (2)

Publication Number Publication Date
JPS59173778A JPS59173778A (en) 1984-10-01
JPH0331233B2 true JPH0331233B2 (en) 1991-05-02

Family

ID=12797804

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58048236A Granted JPS59173778A (en) 1983-03-23 1983-03-23 Scan path circuit

Country Status (1)

Country Link
JP (1) JPS59173778A (en)

Also Published As

Publication number Publication date
JPS59173778A (en) 1984-10-01

Similar Documents

Publication Publication Date Title
EP0006328B2 (en) System using integrated circuit chips with provision for error detection
EP0130610B1 (en) System data path stressing
US3783254A (en) Level sensitive logic system
US4800564A (en) High performance clock system error detection and fault isolation
US10094876B2 (en) On-the-fly test and debug logic for ATPG failures of designs using on-chip clocking
US5422891A (en) Robust delay fault built-in self-testing method and apparatus
JP3002201B2 (en) Cross-connection type inspection circuit and integrated circuit therefor
US4932028A (en) Error log system for self-testing in very large scale integrated circuit (VLSI) units
WO1987000292A1 (en) On chip test system for configurable gate arrays
US7594150B2 (en) Fault-tolerant architecture of flip-flops for transient pulses and signal delays
US4727548A (en) On-line, limited mode, built-in fault detection/isolation system for state machines and combinational logic
US7392449B2 (en) Method, apparatus, and computer program product for diagnosing a scan chain failure employing fuses coupled to the scan chain
US6904554B2 (en) Logic built-in self test (BIST)
JPH0331233B2 (en)
JP2773148B2 (en) Circuit design method for testability
Kariniemi et al. On-line reconfigurable XGFT network-on-chip designed for improving the fault-tolerance and manufacturability of the MPSoC chips
Nithya et al. VLSI-based self-healing solution for delay faults in synchronous sequential circuits
Ouyang et al. A Methdology for Testing Scan Chain with Diagnostic Enhanced Structure
Nicolaidis An Unified Built in Self-Test Scheme: UBIST
JPS5983250A (en) Information processing device
Stroud Merging BIST and Concurrent Fault Detection
JPS60239835A (en) Trouble shooting system of logical circuit
JPH04287132A (en) Diagnostic system for flip-flop circuit
JPH04263200A (en) Shift path system
Nikoomanesh A method to increase testability of LSI/VLSI circuits