JPS5880745A - Diagnosing system - Google Patents

Diagnosing system

Info

Publication number
JPS5880745A
JPS5880745A JP56177180A JP17718081A JPS5880745A JP S5880745 A JPS5880745 A JP S5880745A JP 56177180 A JP56177180 A JP 56177180A JP 17718081 A JP17718081 A JP 17718081A JP S5880745 A JPS5880745 A JP S5880745A
Authority
JP
Japan
Prior art keywords
scan
circuit
scanned
system clock
clock
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
Application number
JP56177180A
Other languages
Japanese (ja)
Inventor
Eiji Takahashi
英治 高橋
Hiroshi Murayama
浩 村山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP56177180A priority Critical patent/JPS5880745A/en
Publication of JPS5880745A publication Critical patent/JPS5880745A/en
Pending 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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To reduce the quantity of hardware of an auxiliary diagnosing circuit without lowering the diagnosing performance, by enabling the diagnosis of a logical circuit containing an FF which is incapable of scan-in/scan-out. CONSTITUTION:Test data is scanned into an FF10 which is capable of scan-in/ scan-out. Then a system clock Cj is supplied to an FF12 which is incapable of scan-in/scan-out, and the output state of a combined circuit 11 is fetched to the FF12. A system clock Ci is supplied to an FF14 which is capable of scan-in/ scan-out, and the output state of a combined circuit 13 is fetched to the FF14. Finally the FF14 is scanned out. The scan-out data delivered to a scan-out data SOD line 5 is compared with the expected value obtained previously. Then the normal or abnormal state is decided for a logical circuit including the circuits 11 and 13 and the FF12. If the logical circuit is abnormal, the abnormal state is decided. This operation enables the diagnosis even for an FF which is incapable of scan-in/scan-out.

Description

【発明の詳細な説明】 本発明に論理装置における診断技#Iに関し、特に診断
補助回路のハードウェア膏の削減な礫成できる診断方式
に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a diagnostic technique #I in a logic device, and particularly to a diagnostic method that can reduce the amount of hardware required for a diagnostic auxiliary circuit.

従来の論理装置の診断方式では、診断すべき組合せ一1
路の入出力(Illにある各フリップフロップ(F’ 
I(”と略記する)を、スキャン制御回路からスキャン
インおよびスキャンアウトできるようにする。
In the conventional logic device diagnosis method, the combinations to be diagnosed are
Each flip-flop (F'
I (abbreviated as ")" can be scanned in and scanned out from the scan control circuit.

そして、入力1則1i” F’にテストデータをスキャ
ンイン[,2て診断対中の組合せ回路の入力状態を設定
する。ついで出力側I、1 )、Nにクロックを11(
恰1−7て、診断対中の組合せrrll路の出力状態を
出力側1.N 1,1に取り体重せたのち、出力411
11 FIi’をスキャンアウトする。このスキャンア
ウトテータをtめ用へし、た明侍データと比較すること
により、診断対中の得1合せ回路を診断する。
Then, test data is scanned in to the input 1 rule 1i"F' [, 2 to set the input state of the combinational circuit in the diagnostic pair. Then, the output side I, 1) and the clock are input to N 11 (
1-7, the output state of the combination rrll path in the diagnostic pair is set to the output side 1. After adding weight to N 1,1, output 411
11 Scan out FIi'. This scanout data is used for the tth time, and by comparing it with the data, the circuit that matches the output of the diagnostic pair is diagnosed.

このように従来は、診断対果の咀介せ回路の入出方何1
ドFをスキャンイン、スキャンアウトする必要があった
。換確すわ、げ、スキャンアウトできないFFの前後の
組合せ回路は診断zII41から除外さねでいた。
In this way, in the past, there was no way of inputting or outputting the diagnostic result into the output circuit.
I had to scan in and scan out the F. The combinational circuits before and after the FF, which cannot be scanned out, were excluded from the diagnosis ZII41.

しかるに、最近の大形電子計算機のような論理装置は、
極めて数多くのト1Fを含んでおり、従来の診断方式で
高い検出率を達成するには膨大な数のFFをスキャンイ
ン/スキャンアウトできるようにしなければならない。
However, recent logic devices such as large electronic computers,
It contains an extremely large number of FFs, and in order to achieve a high detection rate with conventional diagnostic methods, it is necessary to be able to scan in and scan out a huge number of FFs.

これは、FFのスキャンイン/スキャンアウトを制御す
るだめのスキャン制御1す1路、およびそれに付随する
回路を含む診断補助回路のハードウェア量の増大を招き
、コストF間匹となっている。
This results in an increase in the amount of hardware for the diagnostic auxiliary circuit, including a scan control circuit for controlling scan-in/scan-out of the FFs, and associated circuits, resulting in an increase in cost.

しだがって本発明の目的は、診断補助回路のノ・−ドウ
エア量を減らし、かつ高い検出率を達成するだめの診断
方式を提供することにある。
SUMMARY OF THE INVENTION It is, therefore, an object of the present invention to provide a diagnostic method that reduces the amount of hardware in a diagnostic auxiliary circuit and achieves a high detection rate.

しかして本発明による診断方式は、スキャンインおよび
スキャンアウトの可能な第lと第2の1”Fの間に、ス
キャンインもスキャンアウトも不可能な1つ以上の第3
の1−’ Fを介在させて2つ以上の組合せ回路を縦続
的に接続して成る論理回路について、該論理回路の入力
側にある該第1のFFにテストデータをスキャンインし
、つぎに該第3の各F”FK該第1OF F’に近いも
のから順番にクロックを供給し、ついで該第2の)′丁
1にクロックを供給したのち該第2のF Fをスキャン
アウトし、このスキャンアウト・データに基づいて該論
理回路を診断するものである。
Therefore, in the diagnostic method according to the present invention, between the first and second 1"F where scan-in and scan-out are possible, one or more third
1-' For a logic circuit formed by connecting two or more combinational circuits in series with an F interposed, test data is scanned into the first FF on the input side of the logic circuit, and then supplying a clock to each of the third F''FKs in order from the one closest to the first OFF', and then supplying a clock to the second OFFK, and then scanning out the second OFF; The logic circuit is diagnosed based on this scanout data.

以下、図面を[相]照して本発明の一実施例を説明する
Hereinafter, one embodiment of the present invention will be described with reference to the drawings.

第1図にt・いて、1(j、 +4はスキャンインおよ
びスキャンアウトの可能な1(1Fであり、12itス
キヤンインも7キヤンアウトも不可能な11゛Fである
In FIG. 1, 1(j, +4 is 1F which allows scan-in and scan-out, and 11F where neither 12-bit scan-in nor 7-bit scan-out is possible).

11.13はそれぞれ前1咬のFFの出力を人力とする
祖師せ回路である。
11 and 13 are circuits in which the output of the FF of the first bite is manually powered.

従来の診1@万式では、組合せ回路11,13のように
、スキャンイン/スキャンアウトの不可能なFF12の
前後に存在する祖師せ仲1路は、診断の対壕から除外さ
れていだが、本発明では以FK詳述するようにこれらの
診断を行なうことができる。
In the conventional diagnosis 1 @ Manshiki, Soshi Senaka 1 circuits that exist before and after FF 12, which cannot be scanned in/scanned out, like combinational circuits 11 and 13, are excluded from the diagnosis. In the present invention, these diagnoses can be performed as detailed below.

F’#’l(、,14のスキャンアウトは、II’ F
” 10 tたは14のアドレスをアドレスデコーダ4
に入力し、スキャンアウト用ANI)ゲート24捷たは
27をアドレスデコーダ4の出力で迭択的にイネーブル
すること(lよって行なわれる。スキャンアウトテータ
は01クゲートあを通じてSOD線5に出力される。
The scanout of F'#'l(,,14 is II'F
” 10 t or 14 addresses to address decoder 4
The scan-out data is output to the SOD line 5 through the 01 gate A and selectively enabling the scan-out gate 24 or 27 with the output of the address decoder 4. .

(3) スキャンインは、FF1Gまたは14を指定するアドレ
スをアドレスデコーダ4に入力し、かつSID線lをス
キャンインすべき状態にセットしてから、SIT線2に
トリガ信号を供給することにより行なわれる。例えばl
i” F 10(14を指定し、SID線lを°°l”
にセットすると、ANI)ゲー) 22 (25)の出
力でF F 10(14)がセットされる。F F’ 
10(14)のリセットは、FFのアドレス指定を行な
ってSIR線3に°“I II倍信号供給すると、AN
Dゲート23@の出力でF F’ 10f14)がリセ
ットされる。
(3) Scan-in is performed by inputting an address specifying FF1G or FF14 to the address decoder 4, setting the SID line l to the scan-in state, and then supplying a trigger signal to the SIT line 2. It will be done. For example l
i” F 10 (specify 14, set SID line l to °°l”
When set to , F F 10 (14) is set at the output of ANI) 22 (25). F F'
10 (14) is reset by specifying the address of the FF and supplying the SIR line 3 with the signal “I II”.
F F' 10f14) is reset by the output of the D gate 23@.

上記のスキャンイン/スキャンアウトの動作およびその
ための回路は従来と同様であるので、これ以上は説明し
ない。
The scan-in/scan-out operations and the circuits therefor are the same as those of the prior art, and therefore will not be described further.

本発明では、L記のスキャンイン/スキャンアウトの機
能を利用して、従来診断できなかった組合せ回路11.
13の診断を可能にするだめに、FF12にシステムク
ロックCjを供給するクロック線21と、FFl0.1
4にシステムクロックC1を供給するクロック線加とを
独立させる。
In the present invention, by utilizing the scan-in/scan-out function described in L, the combinational circuit 11. which could not be diagnosed conventionally.
In order to enable the diagnosis of FF13, the clock line 21 that supplies the system clock Cj to the FF12 and the FF10.1
4 and the clock line supply for supplying the system clock C1 are made independent.

第2図はクロック線20.21にクロックを供給す・(
4) る回路の一例である。;30はマイクロ命令がセットさ
れるマイクロ命令レジスタである。マイクロ命令デコー
ダ31はマイクロ命餐レジスタ;M)の命令フィールド
をデコードし、タイミング制御111回1′832を起
動する。この起動を受けると、タイミング制御回路32
はマイクロ命令レジスタ30の位相マスクフィールドの
内容にしたがった位相関係で、システムクロックC,,
Cjおよびその他のシステムクロックを送出する。
Figure 2 shows the clock lines 20 and 21 supplying clocks
4) This is an example of a circuit. ; 30 is a microinstruction register in which microinstructions are set. The microinstruction decoder 31 decodes the instruction field of the microinstruction register (M) and activates the timing control 111 times 1'832. Upon receiving this activation, the timing control circuit 32
is the phase relationship according to the contents of the phase mask field of the microinstruction register 30, and the system clocks C, .
Cj and other system clocks.

通常の鋤作時(診断時以外)は、例えば、第3図(イ)
に示すような位相関係でシステムクロックC11Cjが
タイミング匍I御回路32より出され、る。
During normal plowing (other than during diagnosis), for example, see Figure 3 (a).
The system clock C11Cj is outputted from the timing control circuit 32 with the phase relationship shown in FIG.

一方、診断時は、例えば第3図(ロ)に示すような位相
関係で、システムクロックC1XCjが出される。
On the other hand, during diagnosis, the system clock C1XCj is outputted with the phase relationship shown in FIG. 3(b), for example.

これは、マイクロ命令レジスタ:(i)にまずシステム
クロックCjを送出するマイクロ命令をセットし、次に
システムクロックCiを送出するマイクロ命令をセット
することにより可能である。
This is possible by first setting a microinstruction for sending out the system clock Cj in the microinstruction register (i), and then setting a microinstruction for sending out the system clock Ci.

次に診断動作について説明する。Next, the diagnostic operation will be explained.

まず、前述のような方法でF F 10にテストデータ
をスキャンインする。つぎにシステムクロックCjをF
F’12に供給し、組合せ回路1】の出力状態なF F
 12 K取り込む。ついでP F 14にシステムク
ロックC1を供給し、組合せ回路13の出力状態なF 
I”14に取り込む。最後に前述の方法でF I” 1
4をスキャンアウトする。5ODi5に出力されたスキ
ャンアウト・データは、予め求められた期待値と比較さ
れ、組合せ(ロ)路11,13およびF’ F’ 12
を含む論理回路が正常か否か、まだ異常ならその状態が
判定される。このようなスキャンアウトΦテータから判
定を下す手段は従来と同様でよいので、詳細は省略する
First, test data is scanned into the FF 10 using the method described above. Next, set the system clock Cj to F
F'12 and output state of combinational circuit 1]
12 Take in K. Next, the system clock C1 is supplied to the P F 14, and the output state of the combinational circuit 13 is F.
Import it into F I”14.Finally, import it into F I”1 using the method described above.
Scan out 4. The scanout data output to the 5ODi 5 is compared with the expected value determined in advance, and the scanout data is outputted to the combinational (b) paths 11, 13 and F'F' 12.
It is determined whether the logic circuit including the logic circuit is normal or not, and if it is still abnormal, its status is determined. The means for making a determination based on such scanout Φ data may be the same as the conventional method, so the details will be omitted.

本実施例は、スキャンイン/スキャンアウト可能なFF
に狭まれた回路内に、スキャンイン/スキャンアウト不
可能なP Fが1つだけ介在していル例であった。若し
、2つ以上のスキャンイン/スキャンアウト不用能なF
Fが介在する場合は、入力側F’Fにテストデータをス
キャンしたのち、介在する各FPに入力側に近いものか
ら++mにクロックを供給し、その後出力側F Fに対
するクロッryl り供給とスキャンアウトを実行すればよい。
This embodiment uses an FF that can scan in/scan out.
This is an example in which only one PF, which cannot be scanned in/scanned out, is present in a circuit narrowed down to a narrow circuit. If two or more scan-in/scan-out impossible F
If F is interposed, after scanning the test data to the input side F'F, supply a clock to each intervening FP from the one closest to the input side to ++m, and then supply and scan the clock to the output side F. Just execute out.

また本実施例は、クロック送出指示をマイクロ命令によ
って制御しているが、他の手刷、例えば診断専用の制御
プロセッサで代替してもよい。
Further, in this embodiment, the clock sending instruction is controlled by microinstructions, but it may be replaced by another manual control processor, for example, a control processor dedicated to diagnosis.

さらに、本発明における診断実行制御の全体を、診断専
用の制御プロセッサ(例えば、パッケージテスタ)で行
なえば、モジュール(パッケージ、LSI)のテストに
も本発明を適用できるのは明らかである。
Furthermore, it is clear that the present invention can also be applied to module (package, LSI) testing if the entire diagnostic execution control in the present invention is performed by a control processor (for example, a package tester) dedicated to diagnosis.

以上に述べたように本発明によれ1l−f’ 、 スキ
ャンイン/スキャンアウト不可能な1・1・゛の介在す
る論理し1路についても診断が不ij]能になる。換言
すれば、スキャンイン/スキャンアウトを可能とする)
°Fの数を従来より減らしても、従来と同程;tの検出
率を4成できる。したがって、診断性′、4tを低下さ
ぜることなく診断補助1+jl蹟のハードウェアBを削
減でさ、あるいは、診断補助回路のハードウェア轍な従
来と同程度に抑えて、診断性能を大幅に向トさせること
ができる。
As described above, according to the present invention, it becomes impossible to diagnose even the logical path 1l-f' in which 1, 1, and 1, which cannot be scanned in or scanned out. In other words, it allows scan-in/scan-out)
Even if the number of degrees Fahrenheit is reduced compared to the conventional method, the detection rate of t can be achieved at the same rate as the conventional method. Therefore, it is possible to reduce the hardware B of diagnostic aid 1 + jl without reducing the diagnostic performance and 4t, or to significantly improve the diagnostic performance by keeping the hardware of the diagnostic aid circuit to the same level as in the past. can be directed.

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

+tr 第]廃は本発明の一実施例を示す[−1路構成図、第2
図はシステムクロックの送出を制御する回路の一例を示
すブロック図、第3図はシステムクロックのタイミンク
を示す−である。 1.2.3・・・スキャン・イン/スキャンアウトに関
係する信号線、4・・・アトし/スデコータ゛、5・・
・スキャンアウト・データの出力線、]ら、1・1・・
・スキャンイン/スキャンアウト可能なフリップフロツ
ーy’ (1’ F” )、12・・・スキャンイン/
スキャンアウト不可能なフリップフロップ(PP )、
11゜i3・・・組合せ回路、20.21・・・システ
ムクロックの供給線、22〜2′7・・・A、 N L
)ゲート、2J3・・・o Rゲート。
+tr No. 2 shows an embodiment of the present invention.
The figure is a block diagram showing an example of a circuit for controlling transmission of the system clock, and FIG. 3 is a block diagram showing the timing of the system clock. 1.2.3... Signal lines related to scan-in/scan-out, 4... Atto/scan decoder, 5...
・Scanout data output line,], 1, 1...
・Flip float y'(1'F"), 12...scan-in/scan-out possible
non-scannable flip-flop (PP),
11゜i3...Combination circuit, 20.21...System clock supply line, 22-2'7...A, N L
) gate, 2J3...o R gate.

Claims (1)

【特許請求の範囲】[Claims] ■ スキャインt・よびスキャンアウトの可卵な第1と
第2のフリップフロップ(r1’ II’ )の↑…(
で、スキャインもスキャンアウトも不酊姥な1つ以トの
第3のFFを介在させ12つ以トの組合せ回路を4読的
に接続し2て成る論理し1路について、咳論理回路の入
ブ月fill If:位置する該第1の1・Fにテスト
データをスキャンインシフ、つぎに該第3の各1’Fに
核筆lのFFに近いものから11m 蚤にクロックを供
給し2、ついでP案第2のJ+IJ+1にクロックを供
給したのち該第2のF” l(’をスキャンアウトシフ
、このスキャンアウト・データに基づいて咳嫡理沖1路
を診断するととを特徴とする診断方式。
■ ↑…(
Then, for one logic circuit consisting of 12 or more combinational circuits connected in a 4-way manner with one or more third FF intervening, which is inconvenient for both scan-in and scan-out, the cough logic circuit is Fill If: Scan in the test data to the first 1'F located, then supply the clock to the third 1'F from the one closest to the FF of the core 11m. 2. Next, after supplying a clock to the second J+IJ+1 of Plan P, the second F"l(' is scanned out, and based on this scanout data, the 1st route is diagnosed. Diagnostic method.
JP56177180A 1981-11-06 1981-11-06 Diagnosing system Pending JPS5880745A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56177180A JPS5880745A (en) 1981-11-06 1981-11-06 Diagnosing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56177180A JPS5880745A (en) 1981-11-06 1981-11-06 Diagnosing system

Publications (1)

Publication Number Publication Date
JPS5880745A true JPS5880745A (en) 1983-05-14

Family

ID=16026573

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56177180A Pending JPS5880745A (en) 1981-11-06 1981-11-06 Diagnosing system

Country Status (1)

Country Link
JP (1) JPS5880745A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53129553A (en) * 1977-04-18 1978-11-11 Hitachi Ltd Diagnostic control system
JPS5476040A (en) * 1977-11-30 1979-06-18 Nec Corp Logic circuit package

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53129553A (en) * 1977-04-18 1978-11-11 Hitachi Ltd Diagnostic control system
JPS5476040A (en) * 1977-11-30 1979-06-18 Nec Corp Logic circuit package

Similar Documents

Publication Publication Date Title
JP2513904B2 (en) Testability circuit
US7047458B2 (en) Testing methodology and apparatus for interconnects
US6334198B1 (en) Method and arrangement for controlling multiply-activated test access port control modules
JPH06160481A (en) Test method of operation of application-specific integrated circuit and integrated circuit related to it
EP0023413A1 (en) Single Chip Microprocessor having means for selectively outputting instruction decoder control signals
JPS6226734B2 (en)
JPH0883220A (en) Data processor
JP2000162277A (en) Semiconductor integrated circuit
JPS5880745A (en) Diagnosing system
JPH0672911B2 (en) System LSI
JP3094983B2 (en) System logic test circuit and test method
JPH0432349B2 (en)
JP3225528B2 (en) Register circuit
JP2595029B2 (en) LSI with diagnostic facilitation circuit
JPS63214843A (en) Trouble diagnosis facilitating system for digital signal processor
JPS6363929B2 (en)
JPS5833581B2 (en) Logical package suitable for diagnosis
JPS58208857A (en) Fault detecting circuit
JPH02168328A (en) Testing and diagnostic system for integrated circuit
JPH0618633A (en) Large scale integrated circuit device
JPH0210439A (en) Printed board diagnosing system
JPS60102021A (en) Diagnostic system of logical circuit
JPH05298141A (en) Integrated circuit for specified use
JPS59216069A (en) Diagnosing device for logical circuit
JPS62212582A (en) Diagnostic circuit for semiconductor integrated circuit