JPS62228178A - Test system of logic circuit - Google Patents

Test system of logic circuit

Info

Publication number
JPS62228178A
JPS62228178A JP61072118A JP7211886A JPS62228178A JP S62228178 A JPS62228178 A JP S62228178A JP 61072118 A JP61072118 A JP 61072118A JP 7211886 A JP7211886 A JP 7211886A JP S62228178 A JPS62228178 A JP S62228178A
Authority
JP
Japan
Prior art keywords
block
scanning
scan
register
testing
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
JP61072118A
Other languages
Japanese (ja)
Inventor
Shojiro Mori
森 祥次▲ろう▼
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP61072118A priority Critical patent/JPS62228178A/en
Publication of JPS62228178A publication Critical patent/JPS62228178A/en
Pending legal-status Critical Current

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)

Abstract

PURPOSE:To enable the testing of a specific function block, in a logic circuit equipped with a register having a state held therein tested as a train of chain- like shift registers, by dividing shift registers into groups to selectively operate the same. CONSTITUTION:The register group of a logical circuit having an addressable scanning clock is formed of a plurality of function blocks 16 divided corresponding to functions and, when a desired block 16 is selected on the basis of an X-Y address, a test scanning chain 18 is formed to the selected block 17 through scanning D-type FE19 and the block 17 is operated corresponding to scanning input as a shift register and the testing of the block 17 is performed on the basis of the quality of scanning output. Therefore, the testing of a specific function block is rapidly performed by a short shift register.

Description

【発明の詳細な説明】 〔発明の目的〕 (産業上の利用分野) 本発明は論理回路の試験方式に関するもので、特に回路
の論理機能の試験の容易化に使用されるものである。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Field of Industrial Application) The present invention relates to a testing method for logic circuits, and is particularly used to facilitate testing of the logic functions of a circuit.

(従来の技術) 順序回路も含む一般の論理回路(第5図)の試験の従来
技術として、内部のレジスタ回路全試験時にひとつなが
シの鎖状のシフトレジスタとして、データの入出力を行
なう方法がある(スキャンパス法、第6図)。第5図、
第6図において1は入力、2は出力、4は組み合わせ回
路(組み合わせ論理回路)、5はレジスタ、6はクロッ
ク信号、7はセレクタ、8はコントロール信号、9はス
キャンイン、10はスキャンアクトである。
(Prior art) As a conventional technology for testing general logic circuits (Figure 5), including sequential circuits, data is input/output using a single chain shift register when testing all internal register circuits. There is a method (scan path method, Figure 6). Figure 5,
In Figure 6, 1 is an input, 2 is an output, 4 is a combinational circuit (combinational logic circuit), 5 is a register, 6 is a clock signal, 7 is a selector, 8 is a control signal, 9 is a scan-in, and 10 is a scan act. be.

しかしながら、前記内部のレジスタを、試験時に一連の
シフトレジスタとしてデータの入出力を行すうスキャン
パスという技術では、(イ)レジスタの数が多くなって
くるとテストパタンの長さがシフトレジスタの長さに比
例して長大となること、(ロ)論理回路の一部の機能に
故障があっても全体をスキャンしなければならないこと
、(ハ)スキャンの鎖の一部が故障しても全体が動かな
くなるという欠点があった。
However, in the scan path technology, in which the internal registers are used as a series of shift registers to input and output data during testing, (a) as the number of registers increases, the length of the test pattern becomes longer than the length of the shift register. (b) Even if a part of the logic circuit's function fails, the entire logic circuit must be scanned; and (c) Even if part of the scan chain fails, the entire logic circuit cannot be scanned. The problem was that it wouldn't work.

(発明が解決しようとする問題点) 上記従来の(イ)−eつの欠点に鑑み、本発明はスキャ
ンのためのテストパタンを短くシ、かつ不良解析によシ
ネ良個所の範囲がせばめられた時、それに対応した機能
ブロックのみのテストを可能とし、また逆に回路の一部
が故障することによシ全体の回路が故障ということであ
っても、正常に動いている部分の動作解析の手段も提供
するものである。
(Problems to be Solved by the Invention) In view of the above-mentioned drawbacks (a) and e of the conventional technology, the present invention shortens the test pattern for scanning, and narrows the range of good cine parts through failure analysis. It is possible to test only the corresponding functional blocks, and conversely, even if a failure in one part of the circuit causes a failure in the entire circuit, it is possible to analyze the operation of the part that is operating normally. It also provides the means.

〔発明の構成〕[Structure of the invention]

(問題点を解決するための手段と作用)本発明は、従来
スキャン技術が試験時に長いシフトレジスタを作ってい
たのに対して、シフトレジスタを短くし、回路にとって
意味のある機能ブロックごとに、そのシフトレジスタの
鎖を割υ付ケ、閉ループをつくる(スキャンリング)。
(Means and effects for solving the problems) While conventional scan technology creates long shift registers during testing, the present invention shortens the shift registers and creates a short shift register for each functional block that is meaningful for the circuit. The shift register chain is divided to create a closed loop (scan ring).

このスキャンリングをそれぞれ独立に動作させるために
、リングにアドレス番号を割シ当て、アドレス指定によ
シ、ある特定のスキャンリングのクロックのみが動作す
るようにつくる。そして上記スキャンリングの一部に書
き込み/読み出しの制御回路を付加して、データを読み
出した)、書き込んだシできるようにする。こうするこ
とにょシ、試験時に外部よシアドレスを指定し、ある特
定の機能ブロックのテストが可能となるものである。
In order to operate these scan rings independently, address numbers are assigned to the rings, and only the clock of a specific scan ring is made to operate according to the address specification. A write/read control circuit is added to a part of the scan ring so that data can be read and written. By doing this, it is possible to specify an external seat address during testing and test a specific functional block.

(実施例) 以下図面を参照して本発明の一実施例を説明する。同実
施例の構成のブロック図を第1図に示す。まず回路は、
組み合わせ回路4とレジスタ群15で表現されるが、本
発明ではアドレス可能スキャン用クロックというものを
用いて、このレジスタ群15を複数の機能ブロック16
に分割する(第2図参照)。アドレス可能とするためK
、第1図でアドレス入力11、スキャンアドレスレジス
タ12、Xデコーダ14、Yデコーダ13が必要である
。スキャン用の人出刃9,1oも必要である。レジスタ
群15のところを更に詳しく番い九のが第2図で、レジ
スタ19は機能にょクブロックとしてまとまシ、試験時
のスキャンの鎖はブロック内で閉じるようにリング18
がつくられる。
(Example) An example of the present invention will be described below with reference to the drawings. A block diagram of the configuration of the same embodiment is shown in FIG. First, the circuit is
Although it is expressed by a combinational circuit 4 and a register group 15, in the present invention, an addressable scan clock is used to connect this register group 15 to a plurality of functional blocks 16.
(See Figure 2). K to make it addressable
In FIG. 1, an address input 11, a scan address register 12, an X decoder 14, and a Y decoder 13 are required. A scanning blade 9, 1o is also required. Figure 2 shows the register group 15 in more detail.The registers 19 are grouped together as a functional block, and the scan chain during testing is arranged in a ring 18 so as to be closed within the block.
is created.

それぞれのスキャンのリングはXYのアドレス17をも
ち、外部よシアドレスを入力することによって、選ばれ
たある特定の機能ブロックのスキャンクロックが動作状
態となって、シフトレジスタの内容がシフトする。この
ときスキャン用データ線22を通じてレジスタにデータ
が順次書き込まれ九シ、レジスタがら順次データを読み
とったシできる。
Each scan ring has an XY address 17, and by inputting an external address, the scan clock of a selected specific functional block is activated and the contents of the shift register are shifted. At this time, data is sequentially written into the registers through the scan data line 22, and data can be sequentially read from the registers.

第3図に一つの機能ブロックの中の具体的実施例t−示
す。スキャン用のDW7リツプ7oツブ19がテスト時
に第3図のようにリング状のシフトレジスタとなる。D
、C,q、司 はそれぞれ正常動作時のデータ入力、ク
ロック信号入力、レジスタ出力、レジスタ反転出力であ
シ、テスト時には変化しない。一方、S工、A、B、i
!!0はそれぞれテスト時にスキャン入力、スキャンク
ロック(AとB)、スキャン出方となるものである。ク
ロック信号6は、Xアドレス24とYアドレス25によ
って選択されたものだけが、ある特定のスキャンリング
を起動する。そしてwrite信号20が1”のとき、
スキャン用データ線22を通じてテストデータがスキャ
ン用り型クリッフ70ツブ19に書き込まれる。次にク
ロックによシデータが次のD型フリップ70ツブにシフ
トされると同時に、次のデータが再びD型7リツプフロ
ツプ191C書きみまれる。こうしてスキャンリング上
のレジスタには、ナベて外部から任意のデータを設定で
きる。逆にwyit@1信号“0”で、read信号″
1”でスキャン用クロックを起動させると、スキャンリ
ング上をデータが1周すれば、すべてのレジスタのデー
タ内容を、スキャン用データ線22を通じて取シ出すこ
とができる。
FIG. 3 shows a concrete example of one functional block. The scanning DW7 lip 7o tube 19 becomes a ring-shaped shift register as shown in FIG. 3 during testing. D
, C, q, and Tsukasa are data input, clock signal input, register output, and register inversion output during normal operation, respectively, and do not change during testing. On the other hand, S engineering, A, B, i
! ! 0 is the scan input, scan clock (A and B), and scan output during testing, respectively. Only the clock signal 6 selected by the X address 24 and Y address 25 activates a particular scan ring. And when the write signal 20 is 1",
Test data is written into the scan die cliff 70 knob 19 through the scan data line 22. Then, at the same time that the clock shifts the data to the next D-type flip-flop 70, the next data is again written to the D-type 7 flip-flop 191C. In this way, arbitrary data can be set in the registers on the scan ring from the outside. Conversely, when the wyit@1 signal is “0”, the read signal is
When the scan clock is started with a clock of 1", the data contents of all registers can be taken out through the scan data line 22 if the data goes around the scan ring once.

スキャン用Dfiフリップフロップ19の具体例として
は、よく知られたものを第4図に示した。
A well-known specific example of the scanning Dfi flip-flop 19 is shown in FIG.

ここでTXG26  はトランスファゲートを、INV
27はインバータを意味する。
Here, TXG26 is the transfer gate, INV
27 means an inverter.

本発明を実施することによシ、シフトレジスタの長さの
総和は基本的に変わらないが、シフトレジスタの鎖の中
に不良があった時に、それを取シ出す速さが非常に速く
なる。例えばレジスタの総数をN個とする。本発明を実
施することによる1ブロック内のレジスタの総和の平均
値をnとする0従ってmをブロック数とすれば、HXm
=Nの関係がある。いま最悪の場合、レジスタの内容を
従来のスキャン技法でみようとすると、N回のクロック
数が必要である〇一方木本発明はn回ですむ。
By implementing the present invention, the total length of the shift register remains basically the same, but when there is a defect in the shift register chain, the speed of removing it becomes much faster. . For example, assume that the total number of registers is N. 0 where n is the average value of the total sum of registers in one block by implementing the present invention. Therefore, if m is the number of blocks, HXm
There is a relationship of =N. In the worst case scenario, if you try to check the contents of a register using the conventional scanning technique, you will need N clocks, whereas Kimoto's invention only requires n clocks.

具体的に数値をあげると、一つの論理回路にN=100
0  個のレジスタがあるとし、機能ブロックが10種
類あったとすると、n=10Q 個で、N/n=10 
 で10倍の高速でレジスタの内容を検索できる。これ
は不良の原因を解明しなければならないような回路の試
捩時には、大変有効となる。また強いて具体例を出さな
くても、実施例の説明であきらかなように、機能ブロッ
クの一部が故障して動かなくなっても、それ以外の正常
部分は事前に準備したテストパタンをそのまま使ってテ
ストでき、回路の故障に強いテスト容易化シズテムであ
る。
To give a concrete numerical value, one logic circuit has N=100.
Suppose there are 0 registers and 10 types of functional blocks, then n=10Q, and N/n=10
You can search register contents 10 times faster with . This is very effective when testing circuits in which the cause of a failure must be determined. Also, without having to give a specific example, as is clear from the explanation of the example, even if a part of the functional block fails and stops working, the other normal parts can be used as they are using the test pattern prepared in advance. It is a testability system that can be tested and is resistant to circuit failures.

〔発明の効果〕〔Effect of the invention〕

以上説明した如く本発明によれば、スキャンのためのテ
ストバタンを短くシ、かつ不良解析によシネ良個所の範
囲がせばめられたとき、それに対応した機能ブロックの
みのテストを可能とし、また逆に回路の一部が故障する
ことにょシ全体の回路が故障ということであっても、正
常に動すている部分の動作解析をすることが可能となる
ものである。
As explained above, according to the present invention, the test button for scanning can be shortened, and when the range of good cine parts is narrowed by failure analysis, it is possible to test only the corresponding functional blocks, and vice versa. Even if one part of the circuit breaks down, which means the entire circuit is out of order, it is possible to analyze the operation of the part that is operating normally.

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

第1図は本発明の一実施例の構成図、第2図ないし第4
図は同構成の一部詳細図、第5図は論理口、路を一般的
に表現した図、第6図は従来のスキャンバスによる試験
方法の説BA図である。 4・・・組み合わせ回路、12・・・スキャンアドレス
レジスタ、13・・・Yデコーダ、14・・・xfデコ
ーダ15・・・アドレス可能スキャン用クロックをもつ
レジスタ群、16・・・機能ブロック、18・・・テス
ト時のスキャン鎖、19・・・スキャン用り型7リツグ
フロツプ、23・・・セレクタ。
FIG. 1 is a configuration diagram of an embodiment of the present invention, and FIGS.
The figure is a detailed view of a part of the same configuration, FIG. 5 is a diagram generally expressing the logical ports and paths, and FIG. 6 is a BA diagram explaining the conventional test method using scan canvas. 4... Combinational circuit, 12... Scan address register, 13... Y decoder, 14... xf decoder 15... Register group with addressable scan clock, 16... Functional block, 18 ...Scan chain during testing, 19...Type 7 rig flop for scanning, 23...Selector.

Claims (1)

【特許請求の範囲】[Claims] 内部に状態を保持する機能ブロック(レジスタ)をもつ
論理回路で、試験時にレジスタを一連のシフトレジスタ
としてつなぎかえてスキャンテストするものにおいて、
シフトレジスタの一部あるいは全部を回路内の機能に対
応してグループに分割し、それらのグループを選択的に
シフトレジスタとして動作させる付加回路を有し、アド
レス選択してシフトレジスタとして動作させるための選
択手段を具備したことを特徴とする論理回路の試験方式
A logic circuit that has functional blocks (registers) that hold internal states, and is scan tested by reconnecting the registers as a series of shift registers during testing.
It has an additional circuit that divides part or all of the shift register into groups corresponding to the functions within the circuit, selectively operates these groups as a shift register, and selects an address to operate as a shift register. A logic circuit testing method characterized by comprising a selection means.
JP61072118A 1986-03-29 1986-03-29 Test system of logic circuit Pending JPS62228178A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61072118A JPS62228178A (en) 1986-03-29 1986-03-29 Test system of logic circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61072118A JPS62228178A (en) 1986-03-29 1986-03-29 Test system of logic circuit

Publications (1)

Publication Number Publication Date
JPS62228178A true JPS62228178A (en) 1987-10-07

Family

ID=13480116

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61072118A Pending JPS62228178A (en) 1986-03-29 1986-03-29 Test system of logic circuit

Country Status (1)

Country Link
JP (1) JPS62228178A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62233780A (en) * 1986-04-03 1987-10-14 Hitachi Ltd Large scale logic circuit and its testing method
JPH02206772A (en) * 1989-02-07 1990-08-16 Toshiba Corp Test facilitating circuit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62233780A (en) * 1986-04-03 1987-10-14 Hitachi Ltd Large scale logic circuit and its testing method
JPH02206772A (en) * 1989-02-07 1990-08-16 Toshiba Corp Test facilitating circuit
JPH0758319B2 (en) * 1989-02-07 1995-06-21 株式会社東芝 Testability circuit

Similar Documents

Publication Publication Date Title
KR970011375B1 (en) Built-in self-test network
US4933575A (en) Electric circuit interchangeable between sequential and combination circuits
US4780666A (en) Semiconductor integrated circuit device having rest function
JP2513762B2 (en) Logic circuit
JPS6293672A (en) Hierarchy type logical apparatus
JPS62228178A (en) Test system of logic circuit
JPS60239836A (en) Troubleshooting system of logical circuit
EP0081966B1 (en) Scan-out circuitry
JP3695768B2 (en) Test circuit verification method
JPH01110274A (en) Test circuit
JPS59211146A (en) Scan-in method
KR100345673B1 (en) integrated circuit capable of self-testing
JPH0389178A (en) Semiconductor integrated circuit
JPH06148291A (en) Boundary scanning register
KR910009084B1 (en) Logic circuit
JP3285173B2 (en) Test circuit for analog-digital hybrid integrated circuit
JPS61182140A (en) Diagnosis circuit system
JP2509685B2 (en) Logic circuit device
JPS62211573A (en) Large scale integrated circuit with fault diagnosing circuit
JPS6342485A (en) Multiple-scan test system
JPH0782071B2 (en) Logic circuit with fault diagnosis function
JP2002189060A (en) Semiconductor integrated circuit device and its inspection method
JPH03252570A (en) Semiconductor integrated circuit diagnostic system and semiconductor integrated circuit
JPS636470A (en) Output terminal testing circuit for integrated circuit
JPH06130135A (en) Scan path test system semiconductor integrated circuit