JPS61117627A - Diagnostic circuit of logic circuit - Google Patents
Diagnostic circuit of logic circuitInfo
- Publication number
- JPS61117627A JPS61117627A JP59238876A JP23887684A JPS61117627A JP S61117627 A JPS61117627 A JP S61117627A JP 59238876 A JP59238876 A JP 59238876A JP 23887684 A JP23887684 A JP 23887684A JP S61117627 A JPS61117627 A JP S61117627A
- Authority
- JP
- Japan
- Prior art keywords
- scan
- circuit
- logic
- data
- logic 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2205—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
- G06F11/2236—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test CPU or processors
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)
- Test And Diagnosis Of Digital Computers (AREA)
- Tests Of Electronic Circuits (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、論理回路を試験するために、予め論理回路基
板あるいはIC内に組み込まれるシフト方式の診断回路
に関するものであり、特に常時クロックの入力を必要と
するレジスタやカウンタもスキャンループの中に加えて
論理回路を診断する診断回路に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a shift type diagnostic circuit that is incorporated in advance into a logic circuit board or an IC in order to test a logic circuit. The present invention relates to a diagnostic circuit that diagnoses a logic circuit in which registers and counters that require input are added to the scan loop.
近年における情報処理装置や各種制御装置の大型化、高
性能化傾向に伴い、論理回路も複雑大規模化なものが数
多く使用されるようになっている。2. Description of the Related Art In recent years, as information processing devices and various control devices have become larger and have higher performance, a large number of complex and large-scale logic circuits are being used.
一方、LSI技術や実装技術の進歩から、論理回路基板
の回路実装密度も大幅に向上していることから、論理回
路基板の試験は、著しく困難で時間のかかるものとなっ
てきている。On the other hand, due to advances in LSI technology and packaging technology, the circuit packaging density of logic circuit boards has improved significantly, making testing of logic circuit boards extremely difficult and time-consuming.
一般に論理回路基板の試験あるいは診断は、テストデー
タを与え、その論理出力結果から障害の有無を判別する
方法がとられるが、これを基板端子上で行なった場合に
は、多レベルの論理回路についての細かな内部状態を知
ることができないという欠点かある。そこでその1つの
解決手段として、回路内部のフリップフロップを利用し
て、直接テストデータを設定したり、回路内部の状態を
外部に読み出すことを可能にするシフトレジスタ機構を
論理回路内に予め組み込んでおくシフト方式と呼ばれる
診断方式が多く用いられている。Generally, when testing or diagnosing a logic circuit board, test data is given and the presence or absence of a fault is determined from the logic output results. The drawback is that it is not possible to know the detailed internal state of the system. One solution to this problem is to use flip-flops inside the circuit to directly set test data and to read out the internal state of the circuit to the outside.A shift register mechanism is built into the logic circuit in advance. A diagnostic method called the "shift shift method" is often used.
このシフト方式は、第2図に示すように論理回路21内
にある各フリップフロップFF、、FF。This shift method uses flip-flops FF, FF in the logic circuit 21 as shown in FIG.
・・・FF、、・・・FF、、を直列に結合して、ソフ
トレジスタ構成のスキャンループをつくっておき、診1
析の際に、外部からシフトパルスを与えてテストデータ
列すなわちスキャンインデータをスキャンループ内へシ
フト入力しくスキャンインという)、次にこのようにし
て各フリップフロップFF、ないしFF、、にセットさ
れたテストデータに基づいて論理動作を実行させ、その
結果が各フリップフロップにセットされたところで、ス
キャンアウトデータとして外部へシフト出力させる(ス
キャンアウトという)ものである。ところでスキャンル
ープ中の各フリップフロップは、各論理回路中での本来
のフリップフロップPS、IIF:、を果ずための(,
51′l;回路とソフトレジスタ動作のための制御回路
を含み、シフトパルスと本来のフリノゾフロノブ動作の
ためのクロックは止めておいてシフトパルスのみを入力
するようにしていた。. . . FF, . . . FF, are connected in series to create a scan loop with a soft register configuration.
During analysis, a shift pulse is applied from the outside to shift the test data string, that is, scan-in data, into the scan loop (called scan-in), and then the data is set in each flip-flop FF, FF, etc. A logical operation is executed based on the test data, and once the results are set in each flip-flop, they are shifted and output to the outside as scan-out data (referred to as scan-out). By the way, each flip-flop in the scan loop is (,
51'l: It includes a circuit and a control circuit for soft register operation, and only the shift pulse is inputted while the shift pulse and the clock for the original Frino Zoflo knob operation are stopped.
従来、シフト方式による論理回路の診断では、基板単独
で診断を行なう場合と、基板を実装した状態で診断を行
なう場合とがあった。後者の場合、実装された1枚の基
板上のある論理回路の出力が、実装されている他の基板
上の回路の動作に必要不可欠なものとなっていると、そ
の論理回路のクロックを停止することができないことに
なり、その場合には、その論理回路をスキャンループか
ら除外しておく必要があった。Conventionally, in diagnosing logic circuits using the shift method, there have been cases in which the diagnosis was performed on the board alone and cases in which the diagnosis was performed with the board mounted. In the latter case, if the output of a logic circuit on one board is essential for the operation of a circuit on another board, the clock of that logic circuit will be stopped. In that case, it was necessary to exclude that logic circuit from the scan loop.
たとえば、ある基板上にメモリのりフレッシュアドレス
を発生するためのりフレッシュカウンタが置かれており
、他の基板上にそのリフレノン1アドレスを使用するメ
モリが置かれていた場合には、リフレッシュカウンタへ
のカウント用クロックを止めることができない。For example, if a refresh counter for generating a memory refresh address is placed on one board, and a memory that uses that refresh address is placed on another board, the count to the refresh counter will be cannot stop the clock.
そのため、基板単独での診断ではりフレッシュカウンタ
のカウント用クロック供給を停止することが可能であっ
ても、基板実装状態での診断を行なう可能性がある限り
、そのリフレッシュカウンタを構成する各フリップフロ
ップをスキャンループ中に含めることができなくなり、
論理回路中の診断可能範囲の割合い、すなわち診断率を
上げることができない大きな原因となっていた。Therefore, even if it is possible to stop the count clock supply to the refresh counter when diagnosing the board alone, as long as there is a possibility of performing the diagnosis while the board is mounted, each flip-flop that makes up the refresh counter can no longer be included in the scan loop,
This was a major reason why it was not possible to increase the proportion of the diagnosable range in the logic circuit, that is, the diagnostic rate.
本発明は、上記した問題点を解決するため、基板単独で
の診断と装置に実装した状態での診断などのように、診
断が行なわれる条件、すなわち診断環境によって論理回
路へのクロック供給停止の可/不可が変るような論理回
路のフリップフロ。In order to solve the above-mentioned problems, the present invention has been developed in such a way that the clock supply to the logic circuit may be stopped depending on the conditions in which the diagnosis is performed, that is, the diagnosis environment, such as diagnosis of the board alone and diagnosis of the board mounted on the device. Flip-flow logic circuit that changes whether it is possible or not.
プについては、スキャンループに含めるか除外するかを
選択可能にするものであり4、その構成は、シフト方式
のスキャンイン及びスキャンアウトを行なう論理回路に
おいて、該論理回路の診断l口境により診断動作中もク
ロック供給を停止できない場合もあるフリップフロップ
群を接続した第1のスキャンループと、上記診断環境と
は無関係に診断動作中にクロック供給を停止できるフリ
ップフロップ群を接続した第2のスキャンループとを別
々に設けるとともに、上記第1のスキ島ンループと第2
のスキャンループとを接続した1つのスキャンループと
、単独の第2のスキャンループとを外部からの制御信号
により切換える手段とをそなえていることを特徴として
いる。As for the logic circuit, it is possible to select whether to include or exclude it from the scan loop4, and its configuration is to diagnose the logic circuit based on the diagnostics of the logic circuit that performs shift scan-in and scan-out. A first scan loop connects a group of flip-flops whose clock supply cannot sometimes be stopped even during operation, and a second scan loop which connects a group of flip-flops whose clock supply can be stopped during diagnostic operation regardless of the diagnostic environment described above. The first loop and the second loop are provided separately.
The present invention is characterized in that it includes means for switching between one scan loop in which two scan loops are connected and a second independent scan loop using an external control signal.
以下に、本発明の詳細を実施例にしたがって説明する。 The details of the present invention will be explained below based on examples.
第1図は、本発明による診断回路をそなえた論理回路基
板の1実施例構成を示したものである。FIG. 1 shows the configuration of one embodiment of a logic circuit board equipped with a diagnostic circuit according to the present invention.
図において、lは診断環境の如何にかかわらずクロ、り
を停止することができる論理ブロック、2は診断環境に
よってはクロックを停止できない論理ブロック、3はス
キャンアウトデータ切iJえ用のマルチプレクサ、4は
論理ブロック1のクロック、5は論理ブロックIの人力
データ、6はノフトパルス、7はスキャンインデータ、
8はカウント用りロンク、9はリセット信号、10はテ
ストモード信号、11は論理ブロック2のシフトパルス
、12.13.18は論理ブロック1のスキャンアウト
データ、14は論理ブロックlおよび8余理フ゛ロンク
2のスキャンアウトデータ、15は論理ブロックlの出
力データ、16は論理ブロック2の出力データ、17は
スキャンアウトデータ、19はアンド回路、20.21
はバッファである。In the figure, l is a logic block that can stop the clock regardless of the diagnostic environment, 2 is a logic block that cannot stop the clock depending on the diagnostic environment, 3 is a multiplexer for scan-out data switching, and 4 is the clock of logic block 1, 5 is the manual data of logic block I, 6 is the noft pulse, 7 is the scan-in data,
8 is a count ronc, 9 is a reset signal, 10 is a test mode signal, 11 is a shift pulse of logic block 2, 12.13.18 is scan out data of logic block 1, 14 is logic block l and 8 remainder Scan-out data of frontk 2, 15 is output data of logic block 1, 16 is output data of logic block 2, 17 is scan-out data, 19 is AND circuit, 20.21
is a buffer.
また論理ブロック1中に示される1a、■b、1cと、
論理ブロック2中に示される2a、2b、2cはいずれ
も各論理ブロックの中で所定の役割りをもっているフリ
ップフロップであり、特に2a、2b、2cは、リフレ
ッシュカウンタの各ステージを構成している。これらの
フリップフロップは、同時にスキャンループを構成する
シフトレジスタの各ステージともなっている。各フリッ
プフロップ中の端子Si、So、Scはシフトレジスタ
として機能させるために設けられた端子であり、Siは
シフトデータ入力端子、SOはシフトデータ出力端子、
Scはシフトパルス入力端子を表わしている。In addition, 1a, ■b, 1c shown in logical block 1,
2a, 2b, and 2c shown in the logic block 2 are all flip-flops that have a predetermined role in each logic block, and in particular, 2a, 2b, and 2c constitute each stage of the refresh counter. . These flip-flops also serve as stages of a shift register that constitutes a scan loop. Terminals Si, So, and Sc in each flip-flop are terminals provided to function as a shift register, where Si is a shift data input terminal, SO is a shift data output terminal,
Sc represents a shift pulse input terminal.
論理ブロック1のフリップフロップla、1b、ICか
らなるスキャンループは、バッファ2oを介して論理ブ
ロック2のフリップフロップ2a。A scan loop consisting of flip-flops la, 1b and IC of logic block 1 is connected to flip-flop 2a of logic block 2 via buffer 2o.
2b、2cからなるスキャンループに結合され、さらに
マルチプレクサ3の1入力端子に接続され、また論理ブ
ロックlのスキャンループは、単独でバッファ21を介
してマルチプレクサ3の他の1入力端子に接続される。2b and 2c, and is further connected to one input terminal of the multiplexer 3, and the scan loop of the logic block l is connected alone to the other one input terminal of the multiplexer 3 via the buffer 21. .
したがって、マルチプレクサ3を制御することにより、
論理ブロックlと論理フロック2の2つのブロック内の
スキャンループを縦統した長い1つのスキャンループと
、論理ブロック1内のスキャンループのみ、のいずれか
一方を選択することができる。Therefore, by controlling multiplexer 3,
It is possible to select either one long scan loop in which the scan loops in two blocks, logic block 1 and logic block 2, are connected vertically, or only the scan loop in logic block 1.
次に具体的な診断動作について説明する。Next, a specific diagnosis operation will be explained.
たとえば、図示の論理回路基板を単体で診断すル場合に
は、論理ブロック2のリフレッシュカウンタ機能を一時
的に停止してよいから、テストモード信号10を“1′
″にして、マルチプレクサ3に、論理フロックlと論理
ブロック2の両方のスキャンループを結合したスキャン
ループからのスキャンアウトデータ14を選択させる。For example, when diagnosing the illustrated logic circuit board alone, the refresh counter function of the logic block 2 may be temporarily stopped, so the test mode signal 10 is set to "1".
'' to cause multiplexer 3 to select scan-out data 14 from a scan loop that combines the scan loops of both logic block 1 and logic block 2.
なおこのとき、アンド回路19が機能化されるため、シ
フトパルス6は論理ブロック1と論理ブロック2の両方
に供給されるうこれにより、スキャンインデータ7を論
理ブロックlのスキャンループと論理フロック2のスキ
ャンループに順次人力させることができ、またマルチプ
レクサ3から、そのスキャンアウトデータ17を読み出
すことができる。At this time, since the AND circuit 19 is functionalized, the shift pulse 6 is supplied to both the logic block 1 and the logic block 2. As a result, the scan-in data 7 is transferred to the scan loop of the logic block l and the logic block 2. The scan loop can be manually operated one after another, and the scan-out data 17 can be read out from the multiplexer 3.
このスキャンアウトデータ17を用いて論理ブロック1
と論理ブロック2の診断が行なわれる。Using this scanout data 17, logical block 1 is
Logic block 2 is then diagnosed.
次に、各論理回路基板を装置に実装して、装置試験を行
なう場合には、論理ブロック2を対象から除去しなりれ
ばならない。この場合は、テストモート信号10を“0
”にする。これにより、マルチプレクサ3は論理ブロッ
クlのスキャンループからのスキマンアウトデータ13
を選択するように制御され、またアンド回路1つは不能
化さね、て、論理ブロック2へのシフトパルス供給を阻
止する9このため、シフトパルス6は論理ブロックlに
のみ供給され、スキャンインデータ7の人力とスキャン
アウトデータ13の出力が行なわれ、マルチプレクサ3
からスキャンアウトデータ17として読み出される。こ
のスキャンアウトデータ17を用いて論理ブロック1が
試験される。なおこの間、論理ブロック2にはカウント
用りロフク8あるいはりセット信号9が印加され、リフ
レッシュカウンタとしての動作を行ない、リフレッシュ
アドレスを出力データ16として送出する。Next, when each logic circuit board is mounted on a device and a device test is performed, logic block 2 must be removed from the target. In this case, set the test mote signal 10 to “0”.
”. This causes the multiplexer 3 to output the skimmed-out data 13 from the scan loop of the logical block l.
9, and the AND circuit 1 is disabled, thereby blocking the supply of the shift pulse to the logic block 2.9 Therefore, the shift pulse 6 is supplied only to the logic block I, and the scan-in Data 7 is manually outputted and scanout data 13 is outputted to multiplexer 3.
The scan-out data 17 is read out from the scan-out data 17. Logic block 1 is tested using this scan-out data 17. During this period, the counting ROFF signal 8 or the reset signal 9 is applied to the logic block 2, which operates as a refresh counter and sends out the refresh address as output data 16.
以上のように本発明によれば、論理回路中のフリップフ
ロップ群を診断環境に応じてスキャンループに入れられ
るものと入れられないものに分け、それぞれの動作を可
能にすることにより、常に診断環境に応した最大の範囲
の論理回路について診断を行なうことができ、診断率の
向−ヒを図ることができる。As described above, according to the present invention, the flip-flops in the logic circuit are divided into those that can be put into the scan loop and those that cannot be put into the scan loop depending on the diagnostic environment, and by enabling the respective operations, the flip-flops are always in the diagnostic environment. Diagnosis can be performed on the maximum range of logic circuits corresponding to the requirements, and the diagnostic rate can be improved.
第1図は本発明の1実施例構成図、第2図はシフト方式
による診断回路の説明図である。
図中、1は常にクロック停止が可能な論理ブロック、2
は診断環境の条件によってはクロックを停止できない論
理プロ、り、3はマルチプレクサ、4はクロック、5は
人力データ、6はシフトパルス、7はスキャンインデー
タ、8はカウント用クロ7り、9はリセット信号、10
はテストモード信号、12.13.14.17.18は
スキャンアウトデータ、15.16は出力データ、19
はアンド回路、20.21はバッファを表わす。FIG. 1 is a block diagram of one embodiment of the present invention, and FIG. 2 is an explanatory diagram of a diagnostic circuit using a shift method. In the figure, 1 is a logic block that can always stop the clock, 2
3 is a multiplexer, 4 is a clock, 5 is manual data, 6 is a shift pulse, 7 is scan-in data, 8 is a counting clock, and 9 is a logic processor whose clock cannot be stopped depending on the conditions of the diagnostic environment. Reset signal, 10
is the test mode signal, 12.13.14.17.18 is the scan out data, 15.16 is the output data, 19
represents an AND circuit, and 20.21 represents a buffer.
Claims (1)
論理回路において、該論理回路の診断環境により診断動
作中もクロック供給を停止できない場合もあるフリップ
フロップ群を接続した第1のスキャンループと、上記診
断環境とは無関係に診断動作中にクロック供給を停止で
きるフリップフロップ群を接続した第2のスキャンルー
プとを別々に設けるとともに、上記第1のスキャンルー
プと第2のスキャンループとを接続した1つのスキャン
ループと、単独の第2のスキャンループとを外部からの
制御信号により切換える手段とをそなえていることを特
徴とする論理回路の診断回路。In a logic circuit that performs shift scan-in and scan-out, there is a first scan loop connecting a group of flip-flops in which clock supply may not be stopped even during diagnostic operation depending on the diagnostic environment of the logic circuit; and a second scan loop connected to a group of flip-flops that can stop clock supply during diagnostic operation regardless of the diagnosis operation, and one scan loop connecting the first scan loop and the second scan loop. 1. A diagnostic circuit for a logic circuit, comprising means for switching between the first scan loop and the second independent scan loop using an external control signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59238876A JPS61117627A (en) | 1984-11-13 | 1984-11-13 | Diagnostic circuit of logic circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59238876A JPS61117627A (en) | 1984-11-13 | 1984-11-13 | Diagnostic circuit of logic circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS61117627A true JPS61117627A (en) | 1986-06-05 |
JPS641810B2 JPS641810B2 (en) | 1989-01-12 |
Family
ID=17036572
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP59238876A Granted JPS61117627A (en) | 1984-11-13 | 1984-11-13 | Diagnostic circuit of logic circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS61117627A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03266119A (en) * | 1990-03-16 | 1991-11-27 | Nec Corp | Loop processing method |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS59178549A (en) * | 1983-03-30 | 1984-10-09 | Mitsubishi Electric Corp | Shift ring circuit |
-
1984
- 1984-11-13 JP JP59238876A patent/JPS61117627A/en active Granted
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS59178549A (en) * | 1983-03-30 | 1984-10-09 | Mitsubishi Electric Corp | Shift ring circuit |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03266119A (en) * | 1990-03-16 | 1991-11-27 | Nec Corp | Loop processing method |
Also Published As
Publication number | Publication date |
---|---|
JPS641810B2 (en) | 1989-01-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA1218424A (en) | Scannable asynchronous/synchronous cmos latch | |
US4621363A (en) | Testing and diagnostic device for digital computers | |
US3784907A (en) | Method of propagation delay testing a functional logic system | |
US5109190A (en) | Semiconductor apparatus including semiconductor integrated circuit and operating method thereof | |
US6964001B2 (en) | On-chip service processor | |
JPS62220879A (en) | Semiconductor device | |
JPS6134173B2 (en) | ||
GB1593674A (en) | Data processing unit | |
JPH06230088A (en) | Integrated circuit containing array of sequential circuit device and integrated circuit containing logical element | |
JPS5853774B2 (en) | information processing equipment | |
EP0470821A2 (en) | Scannable register with delay test capability | |
JPS61155874A (en) | Method and device for detecting fault of large-scale integrated circuit | |
JP2778443B2 (en) | Optimization method of scan path test circuit | |
JPS61117627A (en) | Diagnostic circuit of logic circuit | |
JPS60239836A (en) | Troubleshooting system of logical circuit | |
JP3695768B2 (en) | Test circuit verification method | |
JPH01197675A (en) | Diagnosing method for logic circuit | |
JPH0210178A (en) | Logic circuit | |
JPH0766030B2 (en) | How to diagnose logical packages | |
JPH026772A (en) | Integrated circuit | |
JPS5868156A (en) | Integrated circuit | |
JPS6327735B2 (en) | ||
Hławiczka et al. | Universal test controller chip for board self test | |
JPH0429254B2 (en) | ||
JPS59121434A (en) | Logical circuit device |