JPH0679054B2 - Logic circuit - Google Patents

Logic circuit

Info

Publication number
JPH0679054B2
JPH0679054B2 JP60213814A JP21381485A JPH0679054B2 JP H0679054 B2 JPH0679054 B2 JP H0679054B2 JP 60213814 A JP60213814 A JP 60213814A JP 21381485 A JP21381485 A JP 21381485A JP H0679054 B2 JPH0679054 B2 JP H0679054B2
Authority
JP
Japan
Prior art keywords
circuit
logic
test
register
input
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 - Fee Related
Application number
JP60213814A
Other languages
Japanese (ja)
Other versions
JPS6273173A (en
Inventor
祥次郎 森
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
Tokyo Shibaura 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 Tokyo Shibaura Electric Co Ltd filed Critical Tokyo Shibaura Electric Co Ltd
Priority to JP60213814A priority Critical patent/JPH0679054B2/en
Publication of JPS6273173A publication Critical patent/JPS6273173A/en
Publication of JPH0679054B2 publication Critical patent/JPH0679054B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は論理回路に関し、特に動作試験を容易にした論
理回路に関するものである。
TECHNICAL FIELD OF THE INVENTION The present invention relates to a logic circuit, and more particularly to a logic circuit that facilitates an operation test.

〔発明の技術的背景〕[Technical background of the invention]

第2図は一般的な論理回路1の機能を示すブロック図で
ある。このように、一般に論理回路1は入力した論理状
態Pのみに基づいて論理演算を行い、演算結果としての
論理状態Qを出力する。
FIG. 2 is a block diagram showing the function of a general logic circuit 1. In this way, generally, the logic circuit 1 performs a logical operation based on only the input logical state P and outputs the logical state Q as the operation result.

これに対して、一般に順序回路と称される論理回路の場
合、QがPに基づいて一義的には定まらず、論理回路1
の内部状態にも依存することになる。この内部状態は、
当該順序回路が行った前回までの論理演算の内容によっ
て決定される。
On the other hand, in the case of a logic circuit generally called a sequential circuit, Q is not uniquely determined based on P, and the logic circuit 1
Will also depend on the internal state of. This internal state is
It is determined by the contents of the logical operation performed by the sequential circuit up to the previous time.

このように出力が内部状態にも依存するような順序回路
を形成している論理回路1は、通常、第3図に示すよう
に、レジスタ回路2と演算回路3とから構成されてい
る。この例ではレジスタ回路2はレジスタ2a〜2cによっ
て構成され、それぞれクロック入力CLを受けて動作す
る。そして、演算回路3の各部位からは、レジスタ2a〜
2cに向けて登録信号線4a〜4cが出力されており、逆に、
レジスタ2a〜2cからは、演算回路3の各部位に向けて応
答信号線5a〜5cが出力されている。従って、レジスタ回
路2の論理状態Rが常に一定の状態R1となっていれば、
ある入力P1について常に同じ出力Q1が得られるが、論理
状態Rが次々と変化するため、ある入力P1について様々
な出力Qが得られることになる。
The logic circuit 1 forming a sequential circuit whose output also depends on the internal state as described above is usually composed of a register circuit 2 and an arithmetic circuit 3 as shown in FIG. In this example, the register circuit 2 is composed of registers 2a to 2c and operates by receiving a clock input CL, respectively. From each part of the arithmetic circuit 3, the registers 2a ...
Registration signal lines 4a to 4c are output toward 2c, and conversely,
From the registers 2a to 2c, response signal lines 5a to 5c are output to the respective parts of the arithmetic circuit 3. Therefore, if the logic state R of the register circuit 2 is always the constant state R 1 ,
Always has the same output Q 1 is obtained for a certain input P 1, since the logic state R is changed one after another, so that the various output Q for a given input P 1 is obtained.

通常、このような論理回路を有するデバイスの製造工程
においては、この論理回路の機能試験が行われる。この
機能試験では、論理回路を構成する各トランジスタが正
常に動作するか否かがチエックされる。
Usually, in a manufacturing process of a device having such a logic circuit, a functional test of this logic circuit is performed. In this functional test, it is checked whether or not each transistor forming the logic circuit operates normally.

図2に示したような論理回路(すなわち、入力Pのみに
基づいて論理演算が行われ、出力Qが内部状態に依存し
ない論理回路)においては、入力Pがとるべき論理状態
を順次入力して、これに応じて出力された論理状態Qが
期待したもの一致するか否かを調べればよい。ここで、
論理状態Pの桁数をk(図2ではk=4)とすると、論
理状態Pは2kとおりとなる。したがって、すべてのトラ
ンジスタの動作をチェックするためには、最大でも2k
の試験を繰り返せばよい。ただし、論理回路1の回路構
成によっては、必ずしも2k回の試験を行わなくても全ト
ランジスタの動作をチェックすることは可能であるの
で、この繰り返し数「2k」は最も多い場合の値である。
In the logic circuit shown in FIG. 2 (that is, the logic operation is performed only based on the input P and the output Q does not depend on the internal state), the logic states that the input P should take are sequentially input. It suffices to check whether or not the logic state Q output correspondingly matches the expected one. here,
If the number of digits of the logical state P is k (k = 4 in FIG. 2), there are 2 k logical states P. Therefore, to check the operation of all transistors, it is sufficient to repeat the test up to 2 k times. However, depending on the circuit configuration of the logic circuit 1, it is possible to check the operation of all the transistors without necessarily performing the test 2 k times, so the number of repetitions "2 k " is the value when it is the largest. is there.

図2の論理回路において、ある1つの入力P1を与えてか
ら出力Q1が得られるまでの応答時間をΔtとすると、図
2に示したような論理回路1の機能試験に要する時間T0
は、 T0≦2kΔt ・・・(1) となる。実際の機能試験の繰り返し数は、この機能試験
に使用する論理状態Pの選び方によっても異なるが、一
般には、論理回路1の回路構成が複雑になるほど(すな
わち2kが大きくなるほど)大きくなる。
In the logic circuit of FIG. 2, assuming that the response time from the input of one input P 1 to the output Q 1 is Δt, the time T 0 required for the functional test of the logic circuit 1 as shown in FIG.
Becomes T 0 ≦ 2 k Δt (1) The actual number of repetitions of the functional test varies depending on how to select the logic state P used for this functional test, but generally, the larger the circuit configuration of the logic circuit 1 becomes complicated (that is, the larger 2 k becomes), the larger the number of repetitions becomes.

これに対し、図3に示したような論理回路(順序回路)
の機能試験では、図2の場合とは異なり、入力信号がと
るべき論理状態Pのみによって出力信号の論理状態Qが
決定されるわけではない。すなわち、出力信号の論理状
態Qは、入力信号の論理状態Pのみならず、論理回路の
内部状態(すなわち各レジスタ2の状態)Rにも依存す
る。ここで、論理状態Pの桁数をk(図3ではPの入力
端子が4本なのでk=4)とし、レジスタ2を個数をn
(図3ではn=3)とすると、論理状態Pは2kとおりと
なり、また、論理状態Rは2nとおりとなる。これによ
り、全試験時間T1は、 T1≦(2k×2n)Δt ・・・(2) で与えられる。
On the other hand, the logic circuit (sequential circuit) as shown in FIG.
In the functional test of FIG. 2, unlike the case of FIG. 2, the logic state Q of the output signal is not determined only by the logic state P that the input signal should take. That is, the logic state Q of the output signal depends not only on the logic state P of the input signal but also on the internal state R of the logic circuit (that is, the state of each register 2). Here, the number of digits of the logic state P is k (k = 4 because there are four input terminals of P in FIG. 3), and the number of registers 2 is n.
If (n = 3 in FIG. 3), the logical state P is 2 k and the logical state R is 2 n . As a result, the total test time T 1 is given by T 1 ≦ (2 k × 2 n ) Δt (2).

ここで、上述したように、機能試験では論理回路内のト
ランジスタの動作がチェックできればよいので、論理状
態P,Rについてのすべての組み合わせについて試験を行
う必要はない。しかし、一般的には、図3に示したよう
な論理回路では機能試験で使用する論理状態Pを決定す
る際に論理状態Rも考慮しなければならないので(論理
状態Rの考慮は、実際には論理状態Pの内容および入力
順として行われる)、その分、効率的な機能試験を行う
こと、すなわち少ない繰り返し数で全トランジスタのチ
ェックができるようなPの組み合わせを得ることは、困
難になる。したがって、論理試験の繰り返し数は一般的
には多くなり、全試験時間はT1は図2の場合よりも長く
なる。
Here, as described above, since it is only necessary to check the operation of the transistors in the logic circuit in the function test, it is not necessary to test all combinations of the logic states P and R. However, in general, in the logic circuit as shown in FIG. 3, the logic state R must be taken into consideration when determining the logic state P to be used in the function test (the consideration of the logic state R is actually Is performed as the contents and input order of the logic state P), and it is difficult to perform an efficient functional test, that is, to obtain a combination of Ps that can check all transistors with a small number of repetitions. . Therefore, the number of logic test repetitions is generally large, and the total test time T 1 is longer than in the case of FIG.

〔背景技術の問題点〕[Problems of background technology]

このように、図3に示したような順序回路には、機能試
験に要する時間が非常に長くなってしまうという欠点が
あった。
As described above, the sequential circuit as shown in FIG. 3 has a drawback that the time required for the functional test becomes very long.

このような欠点を解決する方法としては、スキャンパス
法という試験法が提案されている。
As a method for solving such a drawback, a test method called a scan path method has been proposed.

第4図に、このスキャンパス法を行うための試験装置を
備えた論理回路の一例を示す。ここで第3図に示す論理
回路と同一構成要素については同一符号を付し説明を省
略する。この回路の特徴は、登録信号線4a〜4cがセレク
タ6a〜6cを介してレジスタ2a〜2cに与えられるという点
である。そして、セレクタ6aには外部からの信号を伝え
るスキャンイン入力Sinが、また、セレクタ6b,6cには、
レジスタ5a,5bからの応答信号線5a,5bが、それぞれ入力
として与えられている。セレクタ6a〜6cは、制御線CTRL
から与えられる制御信号に基づいて、どちらか一方の入
力を選択し、レジスタ2a〜2cに与える。また、レジスタ
2cから出力される応答信号線5cは、スキャンアウト出力
Soutとして外部へも取出される。
FIG. 4 shows an example of a logic circuit equipped with a test device for performing this scan path method. Here, the same components as those of the logic circuit shown in FIG. The characteristic of this circuit is that the registration signal lines 4a to 4c are given to the registers 2a to 2c via the selectors 6a to 6c. Then, the scan-in input S in for transmitting a signal from the outside to the selector 6a, and the selector 6b, 6c,
Response signal lines 5a and 5b from the registers 5a and 5b are given as inputs, respectively. Selectors 6a-6c have control line CTRL
One of the inputs is selected on the basis of the control signal given from the register and given to the registers 2a to 2c. Also register
Response signal line 5c output from 2c is a scan-out output
It is also taken out as S out .

このような論理回路の通常作動時には、セレクタ6a〜6c
が登録信号線4a〜4cを選択するようにしておけば、全体
的な回路構成は第3図に示す回路と等価になる。
During normal operation of such a logic circuit, selectors 6a-6c
By selecting the registration signal lines 4a to 4c, the overall circuit configuration becomes equivalent to the circuit shown in FIG.

一方、試験時には、セレクタ6a〜6cが逆側を選択するよ
うにする。これにより、レジスタ2a〜2cはセレクタ6a〜
6cを介して直列接続され、クロックCLの周期で動作する
シフトレジスタを構成するようになるので、各レジスタ
2a〜2cにはスキャンイン入力Sinを介して外部から与え
たデータをセットできることになる。
On the other hand, during the test, the selectors 6a to 6c select the opposite side. As a result, the registers 2a to 2c have the selectors 6a to
6c is connected in series to form a shift register that operates in the cycle of the clock CL.
2a to 2c can be set with data given externally via the scan-in input S in .

ここで、一般的には、スキャンパス法を用いた場合に
は、所定種類の論理状態Pを順次入力させる動作を、ス
キャンイン入力Sinをレジスタ2a〜2cで一段シフトさせ
るたびに繰り返すことにより、全トランジスタのチェッ
クを行うことができる場合が多い。したがって、論理状
態Pの桁数をk(図4ではPの入力端子が4本なのでk
=4)とすると論理状態Pは2kとおりであるので、レジ
スタの個数をn(図4ではn=3)とおくと、一般的に
は機能試験に必要な繰り返し数は最大でも2k・nとな
る。
Here, in general, when the scan path method is used, the operation of sequentially inputting a predetermined type of logic state P is repeated by shifting the scan-in input S in one step by the registers 2a to 2c. In many cases, it is possible to check all transistors. Therefore, the number of digits of the logic state P is k (in FIG. 4, since there are four input terminals of P, k
= 4), there are 2 k logical states P. Therefore, if the number of registers is set to n (n = 3 in Fig. 4), generally the maximum number of iterations required for a functional test is 2 k. n.

また、この方法では、シフトレジスタ自身の試験を別個
に行わねばならないが、これは単に所定のデータ列をス
キャンイン入力Sinから入れて、順次シフトさせ、これ
をスキャンアウト出力Soutから取出して調べるだけでよ
い。
Also, with this method, the test of the shift register itself must be performed separately, but this is simply that a predetermined data string is input from the scan-in input S in and sequentially shifted, and this is taken out from the scan-out output S out. All you have to do is look it up.

したがって、スキャンパス法を採った場合の全試験時間
T2は、通常、 T2≦(2kn+n)Δt ・・・(3) となる。
Therefore, the total test time when the scan path method is adopted
T 2 is usually T 2 ≦ (2 k n + n) Δt (3).

このように、図4に示した論理回路では、機能試験の際
に、外部レジスタ回路2の内容をセットすることができ
るので、図3の論理回路と比較して機能試験の繰り返し
数の最大値が小さくなる。そして、一般的には、その分
だけ、少ない繰り返し数で全トランジスタのチェックが
できるようなPの組み合わせを得ることが出来るように
なり、これにより機能試験の効率を向上させ易くなる。
As described above, in the logic circuit shown in FIG. 4, the content of the external register circuit 2 can be set at the time of the function test, so that the maximum value of the number of repetitions of the function test is larger than that of the logic circuit of FIG. Becomes smaller. Then, in general, it becomes possible to obtain a combination of Ps by which the number of repetitions can be checked for all the transistors, and thus it becomes easy to improve the efficiency of the functional test.

しかしながら、近年論理回路の機能は複雑化する一方で
あり、これに伴いレジスタの数nも増加する傾向にあ
る。nが100や1000といった数になるものも少なくな
い。したがって、第4図に示す論理回路の全試験時間
も、かなり大きなものとなってしまう。
However, in recent years, the functions of logic circuits have become more complicated, and along with this, the number n of registers tends to increase. There are many cases where n is a number such as 100 or 1000. Therefore, the total test time of the logic circuit shown in FIG. 4 is considerably long.

〔発明の目的〕[Object of the Invention]

そこで本発明はより試験時間を短縮することができる論
理回路の試験方法および試験装置を提供することを目的
とする。
It is therefore an object of the present invention to provide a logic circuit test method and test apparatus that can further reduce the test time.

〔発明の概要〕[Outline of Invention]

本発明の特徴は、任意の論理状態Rを保持するレジスタ
回路と、任意の論理状態Pを入力し、この入力時にレジ
スタ回路に保持されている論理状態Rを参照し、この参
照した論理状態Rと入力した論理状態Pとに基づいて一
義的に定まる論理状態Qを出力する演算回路と、を備え
る論理回路の試験装置において、演算回路からレジスタ
回路へ向けて出力される登録信号線と、外部からの信号
を伝える外部信号線と、のどちらか一方を選択してレジ
スタ回路に与える第1の切換手段と、レジスタ回路から
演算回路へ向けて出力される応答信号線と、登録信号線
と、のどちらか一方を選択して演算回路に与える第2の
切換手段と、を設け、第1および第2の切換手段を切換
えることにより、演算回路をレジスタ回路と切離して別
個に試験できるようにし、試験時間を短縮できるように
した点にある。
A feature of the present invention is that a register circuit that holds an arbitrary logical state R and an arbitrary logical state P are input, the logical state R held in the register circuit at the time of this input is referred to, and the referenced logical state R In a test device for a logic circuit, which includes a calculation circuit that outputs a logic state Q that is uniquely determined based on the input logic state P, a registration signal line that is output from the calculation circuit to the register circuit, and an external circuit. An external signal line for transmitting a signal from the register circuit, first switching means for selecting one of them and giving it to the register circuit, a response signal line output from the register circuit to the arithmetic circuit, and a registration signal line, By providing a second switching means for selecting one of the two and giving it to the arithmetic circuit and switching the first and second switching means, the arithmetic circuit can be separated from the register circuit and separately tested. To lies in that to be able to shorten the test time.

〔発明の実施例〕 以下本発明を図示する実施例に基づいて説明する。第1
図は本発明に係る試験装置を備えた論理回路の一例を示
す。ここで第4図に示す論理回路と同一構成要素につい
ては同一符号を付し説明を省略する(説明の便宣上、レ
ジスタの数nは2個とした)。この回路は第1のセレク
タ7a,7bと第2のセレクタ8a,8bとを有する。第1のセレ
クタ7a,7bは第4図の回路におけるセレクタ6a,6bと等価
であり、説明を省略する。第2のセレクタ8a,8bは、演
算回路3からの登録信号線4a,4bと、レジスタ2a,2bから
の応答信号線5a,5bとを入力とし、これらのどちらか一
方を選択して演算回路3に与える。第1のセレクタ7a,7
bは制御線CTRL1から与えられる制御信号に基づいて、ま
た、第2のセレクタ8a,8bは制御線CTRL2から与えられる
制御信号に基づいて、それぞれ選択動作を行う。
Embodiments of the Invention The present invention will be described below based on illustrated embodiments. First
The figure shows an example of a logic circuit equipped with a test apparatus according to the present invention. Here, the same components as those of the logic circuit shown in FIG. 4 are designated by the same reference numerals and the description thereof will be omitted (for convenience of description, the number n of registers is two). This circuit has a first selector 7a, 7b and a second selector 8a, 8b. The first selectors 7a and 7b are equivalent to the selectors 6a and 6b in the circuit of FIG. 4, and the description thereof will be omitted. The second selectors 8a and 8b receive the registration signal lines 4a and 4b from the arithmetic circuit 3 and the response signal lines 5a and 5b from the registers 2a and 2b as inputs, and select one of them as an arithmetic circuit. Give to 3. First selector 7a, 7
b performs the selection operation based on the control signal supplied from the control line CTRL1 and the second selectors 8a and 8b perform the selection operation based on the control signal supplied from the control line CTRL2.

次にこの回路の動作の説明を行う。いま、第1のセレク
タ7a,7bは、制御線CTRL1が“0"のとき登録信号線4a,4b
を選択し、“1"のときスキャンイン入力Sin'応答信号線
5aを選択するものとし、第2のセレクタ8a,8bは制御線C
TRL2が“0"のとき登録信号線4a,4bを選択し、“1"のと
き応答信号線5a,5bを選択するものとする。これは例え
ば第5図に示すような論理ゲートの組合せによって各セ
レクタを構成すればよい。
Next, the operation of this circuit will be described. Now, when the control line CTRL1 is "0", the first selectors 7a, 7b register signal lines 4a, 4b.
Select, and when “1”, scan-in input S in ' Response signal line
5a is selected, and the second selectors 8a and 8b are control lines C
The registration signal lines 4a and 4b are selected when TRL2 is "0", and the response signal lines 5a and 5b are selected when TRL2 is "1". For this purpose, each selector may be configured by a combination of logic gates as shown in FIG. 5, for example.

まずこの論理回路の通常作動時は、CTRL1を“0"に、CTR
L2を“1"にする。これにより第1図の論理回路は第3図
の論理回路と等価になり、クロックCLを与えれば通常動
作することがわかる。
First, during normal operation of this logic circuit, set CTRL1 to “0”, CTR
Set L2 to “1”. As a result, the logic circuit shown in FIG. 1 becomes equivalent to the logic circuit shown in FIG. 3, and it can be understood that the logic circuit operates normally when the clock CL is applied.

次に試験を行う場合であるが、これは演算回路3自身の
試験とレジスタ回路2自身の試験とを別個に行うことに
なる。演算回路3自身の試験を行う場合は、CTRL1を
“φ”(“0"または“1"のDon't Care Condition)に、
CTRL2を“0"にする。これにより演算回路3からの登録
信号線4a,4bは第2のセレクタ8a,8bを介して、そのまま
演算回路3に戻されることになる。即ち、演算回路3は
レジスタ回路2に保持されている論理状態Rを参照する
かわりに内部の論理状態Sを参照して演算を行うことに
なる。したがって、本実施例に係わる論理回路の演算回
路3では、内部の論理状態Sは、そのときの入力Pのみ
によって一義的に定まり、前回までに行われた機能試験
での入力Pやレジスタ2a,2bり状態と関連して定まるの
でない。したがっても、出力信号の論理状態Qも、その
ときの入力信号の論理状態Pのみに基づいて一義的に定
まることりなる。従って、演算回路3では、論理状態P
のとりうる状態数(すなわち演算回路3の機能試験に必
要な繰り返し数の最大値)は、論理状態Pの桁数をk
(図1ではPの入力端子が4本なのでk=4)とすると
2kとなり、図2に示した論理回路の場合と同じとなる。
このように、本実施例では、少ない繰り返し数で演算回
路3内の全トランジスタの操作チェックが行えるような
論理状態Pの組み合わせを検討する際に、前回までの試
験で入力したPの値やレジスタ2a,2bの状態を考慮する
必要が全くないので、このような論理状態Pの組み合わ
せを得ることができる。なお、内部状態Sが決定される
際には、第2のセレクタ8a,8bが介在することにより、
演算回路3内に一定の遅延時間が生じるが、演算回路3
全体の動作時間に比べれば非常に短いので、試験の繰り
返しサイクルの時間を適当に設定することにより、その
影響を排除することができる。また、この試験中にはレ
ジスタを使用しないので、クロック入力CLは必要ない。
Next, a test is performed. In this case, the test of the arithmetic circuit 3 itself and the test of the register circuit 2 itself are performed separately. To test the arithmetic circuit 3 itself, set CTRL1 to "φ"(Don't Care Condition of "0" or "1").
Set CTRL2 to “0”. As a result, the registration signal lines 4a and 4b from the arithmetic circuit 3 are directly returned to the arithmetic circuit 3 via the second selectors 8a and 8b. That is, the arithmetic circuit 3 performs an arithmetic operation by referring to the internal logical state S instead of referring to the logical state R held in the register circuit 2. Therefore, in the arithmetic circuit 3 of the logic circuit according to this embodiment, the internal logic state S is uniquely determined only by the input P at that time, and the input P and the register 2a in the functional test performed up to the previous time are performed. 2b It is not fixed in relation to the state. Therefore, the logic state Q of the output signal is uniquely determined based on only the logic state P of the input signal at that time. Therefore, in the arithmetic circuit 3, the logic state P
The number of possible states (that is, the maximum value of the number of repetitions required for the functional test of the arithmetic circuit 3) is k in the number of digits of the logical state P.
(In FIG. 1, since there are four P input terminals, k = 4)
2 k , which is the same as in the case of the logic circuit shown in FIG.
As described above, in the present embodiment, when considering the combination of the logic states P so that the operation check of all the transistors in the arithmetic circuit 3 can be performed with a small number of repetitions, the value of P or the register input in the previous test is examined. Since it is not necessary to consider the states of 2a and 2b, it is possible to obtain such a combination of logical states P. In addition, when the internal state S is determined, the second selectors 8a and 8b intervene,
Although a certain delay time occurs in the arithmetic circuit 3, the arithmetic circuit 3
Since the total operation time is very short, the influence can be eliminated by appropriately setting the time of the repeating cycle of the test. Also, the clock input CL is not required because the register is not used during this test.

次にレジスタ回路2自身の試験を行う場合は、CTRL1は
“1"に、CTRL2を“φ”にする。これによりレジスタ2a
とレジスタ2bとが直列接続され、シフトレジスタが構成
される。従ってクロック入力CLを与え、スキャンイン入
力Sinを介して外部からデータを与え、これをスキャン
アウト出力Soutから取出して調べれば、レジスタ回路2
自身の試験を行うことができる。
Next, when testing the register circuit 2 itself, CTRL1 is set to "1" and CTRL2 is set to "φ". This allows register 2a
And the register 2b are connected in series to configure a shift register. Therefore, if the clock input CL is given, data is given from the outside through the scan-in input S in , and this is taken out from the scan-out output S out and examined, the register circuit 2
You can do your own test.

したがって、本実施例の回路における全試験時間T3は、 T3≦(2k+n)Δt ・・・(4) となる。Therefore, the total test time T 3 in the circuit of this embodiment is T 3 ≦ (2 k + n) Δt (4).

ここで、2k・Δtは演算回路3自身の試験に必要な時
間、n・Δtはレジスタ回路2自身の試験に必要な時間
を示している。式(4)を式(2)および(3)と比較
すると、レジスタの数nが増加した場合、本発明に係る
試験方法を採れば、機能試験に必要な時間の最大値が非
常に短縮されることがわかる。
Here, 2 k · Δt represents the time required to test the arithmetic circuit 3 itself, and n · Δt represents the time required to test the register circuit 2 itself. Comparing equation (4) with equations (2) and (3), when the number n of registers increases, the test method according to the present invention can significantly reduce the maximum time required for the functional test. I understand that

そして、一般的には、その分だけ、少ない繰り返し数で
全トランジスタのチェックができるようなPの組み合わ
せを得ることが出来るようになり、これにより機能試験
の効率を向上させ易くなる。
Then, in general, it becomes possible to obtain a combination of Ps by which the number of repetitions can be checked for all the transistors, and thus it becomes easy to improve the efficiency of the functional test.

〔発明の効果〕〔The invention's effect〕

以上のとおり本発明によれば、レジスタ回路と演算回路
とを備える論理回路において、両者を切離して別個に試
験するようにしたため、少ない繰り返し数で全トランジ
スタのチェックができるようなPの組み合わせを得るこ
とが可能になり、これにより機能試験の効率を向上させ
易くなる。したがって、本発明によれば、試験時間を短
縮することが可能となる。
As described above, according to the present invention, in a logic circuit including a register circuit and an arithmetic circuit, both are separated and tested separately, so that a combination of Ps that allows checking of all transistors with a small number of repetitions is obtained. This makes it easier to improve the efficiency of the functional test. Therefore, according to the present invention, the test time can be shortened.

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

第1図は本発明に係る試験装置を備えた論理回路の回路
図、第2図は一般的な論理回路の機能を示すブロック
図、第3図はレジスタ回路と演算回路とを備えた従来の
一般的な論理回路の回路図、第4図はスキャンパス法に
よる試験機能を備えた従来の論理回路の回路図、第5図
は本発明に係る試験装置に用いるセレクタの一例を示す
回路図である。 1…論理回路、2…レジスタ回路、2a〜2c…レジスタ、
3…演算回路、4a〜4c…登録信号線、5a〜5c…応答信号
線、6a〜6c…セレクタ、7a,7b…第1のセレクタ、8a,8b
…第2のセレクタ、CL…クロック入力、Sin…スキャン
イン入力、Sout…スキャンアウト出力、CTRL,CTRL1,CTR
L2…制御線。
FIG. 1 is a circuit diagram of a logic circuit provided with a test apparatus according to the present invention, FIG. 2 is a block diagram showing the function of a general logic circuit, and FIG. 3 is a conventional circuit diagram having a register circuit and an arithmetic circuit. FIG. 4 is a circuit diagram of a general logic circuit, FIG. 4 is a circuit diagram of a conventional logic circuit having a test function by a scan path method, and FIG. 5 is a circuit diagram showing an example of a selector used in a test apparatus according to the present invention. is there. 1 ... Logic circuit, 2 ... Register circuit, 2a-2c ... Register,
3 ... Arithmetic circuit, 4a-4c ... Registration signal line, 5a-5c ... Response signal line, 6a-6c ... Selector, 7a, 7b ... First selector, 8a, 8b
… Second selector, CL… Clock input, S in … Scan in input, S out … Scan out output, CTRL, CTRL1, CTR
L2 ... control line.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】任意の論理状態Rを保持するレジスタ回路
と、任意の論理状態Pを入力し、この入力時に前記レジ
スタ回路に保持されている論理状態Rを参照し、この参
照した論理状態Rと入力した前記論理状態Pとに基づい
て一義的に定まる論理状態Qを出力する演算回路と、を
備える論理回路であって、 前記演算回路から前記レジスタ回路へ向けて出力される
登録信号線と外部からの信号を伝える外部信号線とのど
ちらか一方を選択して前記レジスタ回路に与える第1の
切換手段と、 前記レジスタ回路から前記演算回路へ向けて出力される
応答信号線と前記登録信号線とのどちらか一方を選択し
て前記演算回路に与える第2の切換手段と、 をさらに備えることを特徴とする論理回路。
1. A register circuit for holding an arbitrary logical state R and an arbitrary logical state P are input, and at the time of this input, the logical state R held in the register circuit is referred to, and the referred logical state R is referred to. A logical circuit that outputs a logical state Q that is uniquely determined based on the input logical state P and a registration signal line that is output from the arithmetic circuit toward the register circuit. First switching means for selecting one of an external signal line for transmitting a signal from the outside and giving it to the register circuit, a response signal line output from the register circuit to the arithmetic circuit, and the registration signal A second switching means for selecting one of the lines and giving it to the arithmetic circuit, and a logic circuit.
【請求項2】n個のレジスタから構成されたレジスタ回
路に対応して、第1の切換手段および第2の切換手段が
それぞれn個のセレクタから構成され、かつ、前記第1
の切換手段を構成するn個のセレクタによって前記n個
のレジスタが直列接続されて、全体としてシフトレジス
タを構成していることを特徴とする特許請求の範囲第1
項記載の論理回路。
2. A first switching means and a second switching means are each composed of n selectors corresponding to a register circuit composed of n registers, and the first switching means is composed of n selectors.
7. The shift register is formed as a whole by connecting the n registers in series by n selectors that constitute the switching means of FIG.
The logic circuit according to the item.
JP60213814A 1985-09-27 1985-09-27 Logic circuit Expired - Fee Related JPH0679054B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60213814A JPH0679054B2 (en) 1985-09-27 1985-09-27 Logic circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60213814A JPH0679054B2 (en) 1985-09-27 1985-09-27 Logic circuit

Publications (2)

Publication Number Publication Date
JPS6273173A JPS6273173A (en) 1987-04-03
JPH0679054B2 true JPH0679054B2 (en) 1994-10-05

Family

ID=16645469

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60213814A Expired - Fee Related JPH0679054B2 (en) 1985-09-27 1985-09-27 Logic circuit

Country Status (1)

Country Link
JP (1) JPH0679054B2 (en)

Also Published As

Publication number Publication date
JPS6273173A (en) 1987-04-03

Similar Documents

Publication Publication Date Title
US5090035A (en) Linear feedback shift register
US4635261A (en) On chip test system for configurable gate arrays
US4855669A (en) System for scan testing of logic circuit networks
US3784907A (en) Method of propagation delay testing a functional logic system
US4740970A (en) Integrated circuit arrangement
US5130647A (en) Scan test circuit and semiconductor integrated circuit device using the same
US5047710A (en) System for scan testing of logic circuit networks
US4566104A (en) Testing digital electronic circuits
JPS63182585A (en) Logic circuit equipped with test facilitating function
JPH0481147B2 (en)
US5077740A (en) Logic circuit having normal input/output data paths disabled when test data is transferred during macrocell testing
JPS63263480A (en) Semiconductor integrated logic circuit
JPH0627776B2 (en) Semiconductor integrated circuit device
US5068881A (en) Scannable register with delay test capability
JPS5931892B2 (en) semiconductor integrated circuit
US4913557A (en) Intergrated logic circuit having testing function circuit formed integrally therewith
JP2778443B2 (en) Optimization method of scan path test circuit
US6463562B1 (en) Semiconductor device including macros and its testing method
JPH0679054B2 (en) Logic circuit
US5412313A (en) Method to reduce test vectors/test time in devices using equivalent blocks
US6321355B1 (en) Semiconductor integrated circuit and method of testing the same
KR960015560B1 (en) Apparatus for inputting 2-test data input to integrated circuit in a boundary-scan architecture
KR20010108796A (en) System-on-chip having shift register chain for test embedded core
JPH0257990A (en) Lsi testing circuit
JPH0210175A (en) Semiconductor integrated circuit having test terminal

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees