JPS641810B2 - - Google Patents
Info
- Publication number
- JPS641810B2 JPS641810B2 JP59238876A JP23887684A JPS641810B2 JP S641810 B2 JPS641810 B2 JP S641810B2 JP 59238876 A JP59238876 A JP 59238876A JP 23887684 A JP23887684 A JP 23887684A JP S641810 B2 JPS641810 B2 JP S641810B2
- Authority
- JP
- Japan
- Prior art keywords
- scan
- logic block
- scan loop
- logic
- flip
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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)
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 logic circuits. The present invention relates to a diagnostic circuit for diagnosing logic circuits in which registers and counters that require input are added to the scan loop.
近年における情報処理装置や各種制御装置の大
型化、高性能化傾向に伴い、論理回路も複雑大規
模化なものが数多く使用されるようになつてい
る。一方、LSI技術や実装技術の進歩から、論理
回路基板の回路実装密度も大幅に向上しているこ
とから、論理回路基板の試験は、著しく困難で時
間のかかるものとなつてきている。
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. 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 speaking, testing or diagnosing logic circuit boards involves applying test data and determining the presence or absence of a fault from the logical output results. The disadvantage is that it is not possible to know the detailed internal state of Therefore, one solution is to use a flip-flop inside the circuit to directly set test data or read out the internal state of the circuit by incorporating a shift register mechanism into the logic circuit in advance. A diagnostic method called the shift method is often used.
このシフト方式は、第2図に示すように論理回
路21内にある各フリツプフロツプFF0,FF1,
……FFi,……FFoを直列に結合して、シフトレ
ジスタ構成のスキヤンループをつくつておき、診
断の際に、外部からシフトパルスを与えてテスト
データ列すなわちスキヤンインデータをスキヤン
ループ内へシフト入力し(スキヤンインという)、
次にこのようにして各フリツプフロツプFF0ない
しFFoにセツトされたテストデータに基づいて論
理動作を実行させ、その結果が各フリツプフロツ
プにセツトされたところで、スキヤンアウトデー
タとして外部へシフト出力させる(スキヤンアウ
トという)ものである。ところでスキヤンループ
中の各フリツプフロツプは、各論理回路中での本
来のフリツプフロツプ機能を果すための信号回路
とシフトレジスタ動作のための制御回路を含み、
シフトパルスと本来のフリツプフロツプ動作のた
めのクロツクは止めておいてシフトパルスのみを
入力するようにしていた。 This shift method uses each flip-flop FF 0 , FF 1 ,
...FF i , ...FF o are connected in series to create a scan loop with a shift register configuration, and during diagnosis, a shift pulse is applied from the outside to transfer the test data string, that is, scan-in data, into the scan loop. Shift input (called scan in) to
Next, a logical operation is executed based on the test data set in each flip-flop FF0 to FF0 in this way, and when the results are set in each flip-flop, they are shifted out as scan-out data (scan-out data). out). By the way, each flip-flop in the scan loop includes a signal circuit for performing the original flip-flop function in each logic circuit and a control circuit for shift register operation.
The shift pulse and the clock for the original flip-flop operation were stopped and only the shift pulse was input.
従来、シフト方式による論理回路の診断では、
基板単独で診断を行なう場合と、基板を実装した
状態で診断を行なう場合とがあつた。後者の場
合、実装された1枚の基板上のある論理回路の出
力が、実装されている他の基板上の回路の動作に
必要不可欠なものとなつていると、その論理回路
のクロツクを停止することができないことにな
り、その場合には、その論理回路をスキヤンルー
プから除外しておく必要があつた。
Conventionally, in logic circuit diagnosis using the shift method,
There were cases where the diagnosis was performed on the board alone and cases where 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 the logic circuit from the scan loop.
たとえば、ある基板上にメモリのリフレツシユ
アドレスを発生するためのリフレツシユカウンタ
が置かれており、他の基板上にそのリフレツシユ
アドレスを使用するメモリが置かれていた場合に
は、リフレツシユカウンタへのカウント用クロツ
クを止めることができない。 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 refresh counter cannot stop the counting 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 diagnosing the board while it is mounted, each flip-flop that makes up the refresh counter cannot be included in the scan loop, which is a major cause of the inability to increase the proportion of the diagnosable range in the logic circuit, that is, the diagnostic rate.
本発明は、上記した問題点を解決するため、基
板単独での診断と装置に実装した状態での診断な
どのように、診断が行なわれる条件、すなわち診
断環境によつて論理回路へのクロツク供給停止の
可/不可が変るような論理回路のフリツプフロツ
プについては、スキヤンループに含めるか除外す
るかを選択可能にするものであり、その構成は、
シフト方式のスキヤンイン及びスキヤンアウトを
行なう論理回路において、該論理回路の診断環境
により診断動作中もクロツク供給を停止できない
場合もあるフリツプフロツプ群を接続した第1の
スキヤンループと、上記診断環境とは無関係に診
断動作中にクロツク供給を停止できるフリツプフ
ロツプ群を接続した第2のスキヤンループとを
別々に設けるとともに、上記第1のスキヤンルー
プと第2のスキヤンループとを接続した1つのス
キヤンループと、単独の第2のスキヤンループと
を外部からの制御信号により切換える手段とをそ
なえていることを特徴としている。
In order to solve the above-mentioned problems, the present invention provides clock supply to logic circuits depending on the conditions in which diagnosis is performed, that is, the diagnosis environment, such as diagnosis on a board alone and diagnosis on a board mounted on a device. Regarding flip-flops in logic circuits that change whether they can be stopped or not, it is possible to select whether to include or exclude them from the scan loop, and their configuration is as follows:
In a logic circuit that performs shift-type scan-in and scan-out, the first scan loop that connects a group of flip-flops, which may not be able to stop clock supply even during diagnostic operation depending on the diagnostic environment of the logic circuit, and the first scan loop that is unrelated to the above diagnostic environment. and a second scan loop connected to a group of flip-flops that can stop clock supply during diagnostic operation, and one scan loop connecting the first scan loop and the second scan loop, and a single scan loop connected to the first scan loop and the second scan loop. The second scan loop is switched by an external control signal.
以下に、本発明の詳細を実施例にしたがつて説
明する。
The details of the present invention will be explained below with reference to 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.
図において、1は診断環境の如何にかかわらず
クロツクを停止することができる論理ブロツク、
2は診断環境によつてはクロツクを停止できない
論理ブロツク、3はスキヤンアウトデータ切替え
用のマルチプレクサ、4は論理ブロツク1のクロ
ツク、5は論理ブロツク1の入力データ、6はシ
フトパルス、7はスキヤンインデータ、8はカウ
ント用クロツク、9はリセツト信号、10はテス
トモード信号、11は論理ブロツク2のシフトパ
ルス、12,13,18は論理ブロツク1のスキ
ヤンアウトデータ、14は論理ブロツク1および
論理ブロツク2のスキヤンアウトデータ、15は
論理ブロツク1の出力データ、16は論理ブロツ
ク2の出力データ、17はスキヤンアウトデー
タ、19はアンド回路、20,21はバツフアで
ある。 In the figure, 1 is a logic block that can stop the clock regardless of the diagnostic environment;
2 is a logic block whose clock cannot be stopped depending on the diagnostic environment, 3 is a multiplexer for switching scan out data, 4 is a clock for logic block 1, 5 is input data for logic block 1, 6 is a shift pulse, and 7 is a scan block. 8 is the count clock, 9 is the reset signal, 10 is the test mode signal, 11 is the shift pulse of logic block 2, 12, 13, 18 is the scan-out data of logic block 1, 14 is the logic block 1 and logic 15 is the output data of the logic block 1, 16 is the output data of the logic block 2, 17 is the scan-out data, 19 is an AND circuit, and 20 and 21 are buffers.
また論理ブロツク1中に示される1a,1b,
1cと、論理ブロツク2中に示される2a,2
b,2cはいずれも各論理ブロツクの中で所定の
役割りをもつているフリツプフロツプであり、特
に2a,2b,2cは、リフレツシユカウンタの
各ステージを構成している。これらのフリツプフ
ロツプは、同時にスキヤンループを構成するシフ
トレジスタの各ステージともなつている。各フリ
ツプフロツプ中の端子Si,So,Scはシフトレジ
スタとして機能させるために設けられた端子であ
り、Siはシフトデータ入力端子、Soはシフトデ
ータ出力端子、Scはシフトパルス入力端子を表
わしている。 Also, 1a, 1b, shown in logic block 1,
1c and 2a, 2 shown in logic block 2.
Reference numerals b and 2c are flip-flops each having a predetermined role in each logic block, and in particular, 2a, 2b and 2c constitute each stage of a refresh counter. These flip-flops also serve as stages of a shift register constituting a scan loop. Terminals Si, So, and Sc in each flip-flop are terminals provided to function as a shift register, where Si represents a shift data input terminal, So represents a shift data output terminal, and Sc represents a shift pulse input terminal.
論理ブロツク1のフリツプフロツプ1a,1
b,1cからなるスキヤンループは、バツフア2
0を介して論理ブロツク2のフリツプフロツプ2
a,2b,2cからなるスキヤンループに結合さ
れ、さらにマルチプレクサ3の1入力端子に接続
され、また論理ブロツク1のスキヤンループは、
単独でバツフア21を介してマルチプレクサ3の
他の1入力端子に接続される。したがつて、マル
チプレクサ3を制御することにより、論理ブロツ
ク1と論理ブロツク2の2つのブロツク内のスキ
ヤンループを縦続した長い1つのスキヤンループ
と、論理ブロツク1内のスキヤンループのみ、の
いずれか一方を選択することができる。 Flip-flop 1a, 1 of logic block 1
The scan loop consisting of b and 1c is buffer 2
0 to flip-flop 2 of logic block 2
a, 2b, 2c, and further connected to one input terminal of multiplexer 3, and the scan loop of logic block 1 is
It is connected alone to one other input terminal of the multiplexer 3 via a buffer 21. Therefore, by controlling the multiplexer 3, either one long scan loop in which the scan loops in the two blocks of logic block 1 and logic block 2 are cascaded, or only the scan loop in logic block 1 is created. can be selected.
次に具体的な診断動作について説明する。 Next, a specific diagnosis operation will be explained.
たとえば、図示の論理回路基板を単体で診断す
る場合には、論理ブロツク2のリフレツシユカウ
ンタ機能を一時的に停止してよいから、テストモ
ード信号10を“1”にして、マルチプレクサ3
に、論理ブロツク1と論理ブロツク2の両方のス
キヤンループを結合したスキヤンループからのス
キヤンアウトデータ14を選択させる。なおこの
とき、アンド回路19が機能化されるため、シフ
トパルス6は論理ブロツク1と論理ブロツク2の
両方に供給される。これにより、スキヤンインデ
ータ7を論理ブロツク1のスキヤンループと論理
ブロツク2のスキヤンループに順次入力させるこ
とができ、またマルチプレクサ3から、そのスキ
ヤンアウトデータ17を読み出すことができる。
このスキヤンアウトデータ17を用いて論理ブロ
ツク1と論理ブロツク2の診断が行なわれる。 For example, when diagnosing the illustrated logic circuit board alone, the refresh counter function of the logic block 2 can be temporarily stopped, so the test mode signal 10 is set to "1" and the multiplexer 3
Then, the scan-out data 14 from the scan loop which is a combination of the scan loops of both logic block 1 and logic block 2 is selected. At this time, since the AND circuit 19 is functionalized, the shift pulse 6 is supplied to both logic block 1 and logic block 2. Thereby, the scan-in data 7 can be sequentially input into the scan loop of the logic block 1 and the scan loop of the logic block 2, and the scan-out data 17 can be read out from the multiplexer 3.
This scanout data 17 is used to diagnose logic block 1 and logic block 2.
次に、各論理回路基板を装置に実装して、装置
試験を行なう場合には、論理ブロツク2を対象か
ら除去しなければならない。この場合は、テスト
モード信号10を“0”にする。これにより、マ
ルチプレクサ3は論理ブロツク1のスキヤンルー
プからのスキヤンアウトデータ13を選択するよ
うに制御され、またアンド回路19は不能化され
て、論理ブロツク2へのシフトパルス供給を阻止
する。このため、シフトパルス6は論理ブロツク
1にのみ供給され、スキヤンインデータ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 test. In this case, the test mode signal 10 is set to "0". As a result, multiplexer 3 is controlled to select scanout data 13 from the scan loop of logic block 1, and AND circuit 19 is disabled to prevent supply of shift pulses to logic block 2. Therefore, the shift pulse 6 is supplied only to the logic block 1, and the scan-in data 7 is input and the scan-out data 13 is output.
Scanout data 17 from multiplexer 3
It is read as . Logic block 1 is tested using this scanout data 17. During this time, the counting clock 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, flip-flops in a 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 each operation, the flip-flops are always kept in the diagnostic environment. Diagnosis can be performed for the maximum range of logic circuits according to the requirements, and the diagnostic rate can be improved.
第1図は本発明の1実施例構成図、第2図はシ
フト方式による診断回路の説明図である。
図中、1は常にクロツク停止が可能な論理ブロ
ツク、2は診断環境の条件によつてはクロツクを
停止できない論理ブロツク、3はマルチプレク
サ、4はクロツク、5は入力データ、6はシフト
パルス、7はスキヤンインデータ、8はカウント
用クロツク、9はリセツト信号、10はテストモ
ード信号、12,13,14,17,18はスキ
ヤンアウトデータ、15,16は出力データ、1
9はアンド回路、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 whose clock can always be stopped, 2 is a logic block whose clock cannot be stopped depending on the conditions of the diagnostic environment, 3 is a multiplexer, 4 is a clock, 5 is input data, 6 is a shift pulse, and 7 is scan-in data, 8 is a count clock, 9 is a reset signal, 10 is a test mode signal, 12, 13, 14, 17, 18 are scan-out data, 15, 16 are output data, 1
9 represents an AND circuit, and 20 and 21 represent buffers.
Claims (1)
トを行なう論理回路において、該論理回路の診断
環境により診断動作中もクロツク供給を停止でき
ない場合もあるフリツプフロツプ群を接続した第
1のスキヤンループと、上記診断環境とは無関係
に診断動作中にクロツク供給を停止できるフリツ
プフロツプ群を接続した第2のスキヤンループと
を別々に設けるとともに、上記第1のスキヤンル
ープと第2のスキヤンループとを接続した1つの
スキヤンループと、単独の第2のスキヤンループ
とを外部からの制御信号により切換える手段とを
そなえていることを特徴とする論理回路の診断回
路。1. In a logic circuit that performs shift-type scan-in and scan-out, the first scan loop that connects a group of flip-flops that may not be able to stop clock supply even during diagnostic operation depending on the diagnostic environment of the logic circuit, and the above-mentioned diagnostic environment A second scan loop connecting a group of flip-flops that can independently stop clock supply during a diagnostic operation is separately provided, and a single 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 a single second scan loop and a second 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 JPS61117627A (en) | 1986-06-05 |
| JPS641810B2 true 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) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2679343B2 (en) * | 1990-03-16 | 1997-11-19 | 日本電気株式会社 | Loop processing method |
Family Cites Families (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
Also Published As
| Publication number | Publication date |
|---|---|
| JPS61117627A (en) | 1986-06-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CA1218424A (en) | Scannable asynchronous/synchronous cmos latch | |
| US4621363A (en) | Testing and diagnostic device for digital computers | |
| USRE41496E1 (en) | Boundary-scan input circuit for a reset pin | |
| JPS6134173B2 (en) | ||
| JPS62220879A (en) | semiconductor equipment | |
| US5450418A (en) | Pseudo master slave capture mechanism for scan elements | |
| US6815977B2 (en) | Scan cell systems and methods | |
| JPS6329276A (en) | Logic lsi | |
| CA1268550A (en) | Apparatus providing improved diagnosability | |
| US5068881A (en) | Scannable register with delay test capability | |
| JPS5853774B2 (en) | information processing equipment | |
| EP1943533B1 (en) | Ic testing methods and apparatus | |
| US5515517A (en) | Data processing device with test circuit | |
| JPS641810B2 (en) | ||
| JP2778443B2 (en) | Optimization method of scan path test circuit | |
| JPS62195169A (en) | Large scale integrated circuit | |
| JPH07174821A (en) | Boundary scan cell and test circuit verification method | |
| JPH077345B2 (en) | Self-diagnosis circuit of logic circuit block | |
| JPH01197675A (en) | Diagnosing method for logic circuit | |
| JP2877505B2 (en) | LSI mounting board and data processing device | |
| JPH0766030B2 (en) | How to diagnose logical packages | |
| JPH06118133A (en) | LSI test method | |
| JPS6327735B2 (en) | ||
| JPH026772A (en) | Integrated circuit | |
| JPS5868156A (en) | Integrated circuit |