JP2860112B2 - Apparatus and method for transmitting test data for integrated circuit and device test circuit for integrated circuit - Google Patents
Apparatus and method for transmitting test data for integrated circuit and device test circuit for integrated circuitInfo
- Publication number
- JP2860112B2 JP2860112B2 JP1160017A JP16001789A JP2860112B2 JP 2860112 B2 JP2860112 B2 JP 2860112B2 JP 1160017 A JP1160017 A JP 1160017A JP 16001789 A JP16001789 A JP 16001789A JP 2860112 B2 JP2860112 B2 JP 2860112B2
- Authority
- JP
- Japan
- Prior art keywords
- code
- test
- register
- random number
- initial value
- 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 - Lifetime
Links
Landscapes
- Semiconductor Integrated Circuits (AREA)
- Tests Of Electronic Circuits (AREA)
- Testing Or Measuring Of Semiconductors Or The Like (AREA)
Description
【発明の詳細な説明】 [発明の目的] (産業上の利用分野) この発明は集積回路(IC)単体の検査を行うための、
集積回路のテストデータ送信装置及び送信方法並びに集
積回路のデバイステスト回路に関する。DETAILED DESCRIPTION OF THE INVENTION [Purpose of the Invention] (Industrial application field) The present invention relates to a method for inspecting an integrated circuit (IC) alone.
The present invention relates to an integrated circuit test data transmitting apparatus and method, and a device test circuit for an integrated circuit.
(従来の技術) ICのデバイステストは、テストデータにより発生する
IC内部の信号を外部端子に読出したり、ROMを備える場
合は、ROMの内容をディスプレイしたりして行われる。
この場合、回路ブロック毎にテストを行うため、複数の
テストモードがある。テストモードは、入力されたテス
トデータによって、そのモードに応じたテストモード信
号を得ることによって決定される。このテストモード信
号によって所定回路ブロックのテストが可能になる。(Prior art) IC device test is generated by test data
When the internal signal of the IC is read out to an external terminal, or when a ROM is provided, the contents of the ROM are displayed.
In this case, since a test is performed for each circuit block, there are a plurality of test modes. The test mode is determined by obtaining a test mode signal according to the input test data. The test mode signal enables testing of a predetermined circuit block.
第13図はテストモードが7個有る場合の従来のデバイ
ステスト回路を示す。被検査ICは、テスト用端子とし
て、テストモード識別符号から成るテストデータが導入
される端子P31、テスト終了用のテストクリア信号が導
入される端子P32及びテストクロック信号が導入される
端子P33を有している。テストデータを入力する識別符
号レジスタ101は、上記テストデータをテストクロック
によってシリアル入力しパラレル出力する。この出力
は、テストモード信号抽出回路102によって解読され、
それぞれの回路ブロック(ここでは1〜3を図示)テス
トするテストモード信号1〜7としてテストモード信号
抽出回路102より導出する。FIG. 13 shows a conventional device test circuit when there are seven test modes. The IC under test has, as test terminals, a terminal P 31 to which test data composed of a test mode identification code is introduced, a terminal P 32 to which a test clear signal for test termination is introduced, and a terminal P to which a test clock signal is introduced. 33 . The identification code register 101 for inputting test data serially inputs the test data according to the test clock and outputs the test data in parallel. This output is decoded by the test mode signal extraction circuit 102,
The test mode signal extraction circuit 102 derives test mode signals 1 to 7 for testing respective circuit blocks (here, 1 to 3 are shown).
この場合、テストモード信号1は、回路ブロック(RO
M)103の出力をゲートするアンド回路104に供給され
る。これによって、信号1が論理“1"のとき、回路ブロ
ック103からの出力が端子P34に読出される。テストモー
ド信号2は、回路ブロック106と回路ブロック107のテス
トを行う。105は回路ブロック106と107の出力をセレク
トする信号セレクタであり、テストモード信号2によっ
てセレクトする信号を切換える。そして、テストモード
信号2が論理“1"のとき、信号セレクタ105を介して回
路ブロック107の出力が端子P35に読出される。また、信
号2が論理“0"のきは、ノーマルモードであり、回路ブ
ロック106からの正規の出力が信号セレクタ105を介して
端子P35に導出される。尚、上記ノーマルモードへは、
テストクリア信号で識別符号レジスタ101の内容を全て
論理“0"にすることで切換られる。In this case, the test mode signal 1 is output from the circuit block (RO
M) The output of 103 is supplied to an AND circuit 104 which gates the output. Thus, when the signal 1 is a logic "1", the output from the circuit block 103 are read out to the terminal P 34. The test mode signal 2 tests the circuit blocks 106 and 107. A signal selector 105 selects the output of the circuit blocks 106 and 107, and switches the signal to be selected by the test mode signal 2. Then, when the test mode signal 2 is logic "1", the output of the circuit block 107 via the signal selector 105 is read out to the terminal P 35. When the signal 2 is logic “0”, the normal mode is set, and a normal output from the circuit block 106 is led out to the terminal P 35 via the signal selector 105. In addition, to the above-mentioned normal mode,
Switching is performed by setting all the contents of the identification code register 101 to logic “0” by the test clear signal.
上記デバイステスト回路は、1つのテストモードに対
し、1つのテストモード信号が論理“1"となることに対
応して、各回路ブロックがテストモードになる。識別符
号レジスタ101が3ビット構成であるのは、7個のテス
トモードを設定することによる。In the device test circuit, each circuit block enters the test mode in response to one test mode signal becoming logic "1" for one test mode. The identification code register 101 has a 3-bit configuration by setting seven test modes.
しかしながら、第13図のようなデバイステスト回路
は、ICの内部情報,例えばROMの内容が第三者に洩れて
はいけない場合でも、テスト端子P31〜P33が見つかれば
容易にROMの内容を知ることができる。However, the device test circuit as shown in FIG. 13, the internal information of the IC, for example, the contents of the ROM even if the do not leak to third parties, easily contents of ROM if found test terminals P 31 to P 33 You can know.
第14図は端子P31〜P33に与える信号と得られるテスト
モード信号のタイミングチャートを示す、aはテストク
リア信号、bはテストクロック信号、cはテストデータ
1,dはテストモード信号1、eはテストデータ2、fは
テストモード信号2、gはテストデータの一般形をそれ
ぞれ示す。テストモード1のときは、テストデータ1が
3クロック目で論理“1"となるので、レジスタ101の内
容は入力側より「100」となり、この識別符号が解読さ
れてテストモード信号1が得られる。また、テストモー
ド2のときは、テストデータ2が1クロック目と3クロ
ック目で論理“0",2クロック目で論理“1"となるので、
この識別符号「010」が解読されてテストモード信号2
が得られる。Figure 14 shows a timing chart of the test mode signal obtained as a signal to be supplied to the terminal P 31 ~P 33, a test clear signal, b is the test clock signal, c is the test data
1, d indicates a test mode signal 1, e indicates test data 2, f indicates a test mode signal 2, and g indicates a general form of test data. In test mode 1, test data 1 becomes logic "1" at the third clock, so that the content of register 101 becomes "100" from the input side, and this identification code is decoded to obtain test mode signal 1. . In the test mode 2, the test data 2 becomes logic "0" at the first and third clocks, and becomes logic "1" at the second clock.
The identification code "010" is decoded and the test mode signal 2
Is obtained.
上記タイミングチャートによれば、テストデータの取
り得る符号が8種類であり、そのうち7種類を識別符号
として使っているので、全ての場合を試して目的のテス
トモードに設定するのに、時間はかからない。According to the timing chart, there are eight types of codes that can be taken by the test data, and seven types are used as identification codes, so that it does not take much time to try all the cases and set the target test mode. .
一般にモード識別符号のビット数をn(整数)とした
場合、設定可能なテストモードの数は、最大(2n−1)
個である(2nよりノーマルモード分の1個を差し引いて
いる)。逆に必要な設定モードの数をTN個とすると、モ
ード識別符号のビット数n(レジスタ101のビット長に
等しい)は、テスト回路の規模を小さくするため、 xより小さくない最小の整数を表す、以下同様)。Generally, when the number of bits of the mode identification code is n (integer), the number of test modes that can be set is a maximum (2 n −1).
(1 for normal mode is subtracted from 2n). Conversely, assuming that the number of necessary setting modes is T N , the number n of bits of the mode identification code (equal to the bit length of the register 101) is reduced to reduce the scale of the test circuit. represents the smallest integer not less than x, and so on).
(発明が解決しようとする課題) 以上のように、従来のデバイステスト回路は、テスト
モードの数をTNとした場合、回路規模を小さくするため
に、識別符号のビット長を、TNを表現できる最小のビッ
ト長に設定していたため、簡単にテストモードに進入す
ることができた。これは、ICの内部情報が第三者に洩れ
てはいけない場合、容易にテストモードに侵入されてし
まうという不都合があった。(Problems to be Solved by the Invention) As described above, in the conventional device test circuit, when the number of test modes is T N , the bit length of the identification code is set to T N to reduce the circuit scale. Because it was set to the smallest bit length that could be represented, it was easy to enter test mode. This has the disadvantage that if the internal information of the IC must not be leaked to a third party, it can easily enter the test mode.
この発明は上記技術的課題を解決し、内部情報の秘匿
性の高いデバイステスト回路の提供を目的とする。An object of the present invention is to solve the above technical problem and to provide a device test circuit with high confidentiality of internal information.
[発明の構成] (課題を解決するための手段) 本発明に係る集積回路のデバイステスト回路は、テス
トモードを識別する識別符号を含む乱数初期値符号およ
び、これに続き前記乱数初期値符号に基づいて自然発生
する乱数符号と同一の暗号鍵符号とからなるテストデー
タが入力されるデータ入力手段と、前記識別符号を含む
乱数初期値符号がセットされる初期値符号レジスタと、
この初期値符号レジスタからの前記識別符号だけを一旦
保持する退避レジスタと、この退避レジスタからの前記
識別符号を記憶する識別符号レジスタと、前記初期値符
号レジスタからの前記乱数初期値符号に応じて乱数を発
生する乱数発生回路と、前記乱数発生回路からの乱数と
前記データ入力手段からの暗号鍵符号とを比較し、この
比較結果に基づいて前記退避レジスタの内容を前記識別
符号レジスタにセットするか否かを決定する暗号鍵比較
手段と、前記識別符号レジスタからの信号に応じて複数
個のテストモード信号を出力する手段とを具備したもの
であり、 本発明に係る集積回路のテストデータ送信方法は、受
信側に入力されたときに受信側の集積回路のテストモー
ドを識別する符号を含むテストデータを送信し、前記テ
ストデータは前記テストモードを識別する符号を含む乱
数初期値符号とこの乱数初期値符号に基づいて自然発生
する乱数符号と同一の暗号鍵符号とを有することを特徴
とするものであり、 本発明に係る集積回路のテストデータ送信装置は、受
信側に入力されたときに受信側の集積回路のテストモー
ドを識別する符号を含むテストデータを送信する集積回
路のテストデータ送信装置において、前記テストモード
を識別する符号を含む乱数初期値符号を発生する乱数初
期値符号発生手段と、前記乱数初期値符号に基づいて自
然発生する乱数符号と同一の暗号鍵符号を発生する暗号
鍵符号発生手段とを有することを特徴とするものであ
る。[Configuration of the Invention] (Means for Solving the Problems) A device test circuit for an integrated circuit according to the present invention includes a random number initial value code including an identification code for identifying a test mode, and a random number initial value code following the random number initial value code. Data input means to which test data consisting of the same encryption key code as a naturally occurring random number code based on the input data, an initial value code register in which a random number initial value code including the identification code is set,
A save register that temporarily holds only the identification code from the initial value code register, an identification code register that stores the identification code from the save register, and a random number initial value code from the initial value code register. A random number generation circuit for generating a random number is compared with a random number from the random number generation circuit and an encryption key code from the data input means, and the content of the save register is set in the identification code register based on the comparison result. And a means for outputting a plurality of test mode signals in response to a signal from the identification code register. The method comprises transmitting test data including a code identifying a test mode of a receiving integrated circuit when input to a receiving device, the test data comprising: Has a random number initial value code including a code for identifying the test mode, and a cryptographic key code identical to a random number code naturally generated based on the random number initial value code. An integrated circuit test data transmitting apparatus for transmitting test data including a code for identifying a test mode of an integrated circuit on a receiving side when input to a receiving side, the test data transmitting apparatus for an integrated circuit identifying the test mode. Random number initial value code generation means for generating a random number initial value code including a code to be executed, and encryption key code generation means for generating the same encryption key code as a naturally generated random number code based on the random number initial value code. It is characterized by the following.
(作用) このような構成によれば、第1の発明では、識別符号
レジスタにセット可能なデジタル値の数がテストモード
を数より多くなり、冗長ビットが増えてテストモード識
別符号を見出す確率が小さくなる。(Operation) According to such a configuration, in the first aspect, the number of digital values that can be set in the identification code register becomes larger than the number of test modes, and the number of redundant bits increases, and the probability of finding the test mode identification code increases. Become smaller.
また、第2の発明によれば、テストモードに進入する
確率は、上記第1の発明のように、初期値符号レジスタ
に1ビット以上の冗長ビットを持たせた場合より、暗号
鍵符号のビット数分小さくなる。According to the second invention, the probability of entering the test mode is smaller than that of the case where the initial value code register has one or more redundant bits as in the first invention. It will be a few minutes smaller.
(実施例) 以下、この発明を図示の実施例によって詳細に説明す
る。Hereinafter, the present invention will be described in detail with reference to the illustrated embodiments.
第1図はこの発明に係る集積回路のデバイステスト回
路の一実施例を示す構成図であり、第2図は第1図の実
施例を詳述する構成図である。FIG. 1 is a block diagram showing an embodiment of a device test circuit for an integrated circuit according to the present invention, and FIG. 2 is a block diagram showing the embodiment of FIG. 1 in detail.
第1図は、識別符号レジスタ11とテストモード信号抽
出回路12の構成を示す。識別符号レジスタ11は、第2図
にて詳述する8ビット構成のシフトレジスタであって、
端子P1からテストデータ、端子P2からテストクリヤ信号
及び、端子P3からテストクロック信号をそれぞれ入力す
る。テストデータは、テストクロック信号によって、入
力側ビットD8より出力側ビットD1へ順次シフトされる。
テストクリヤ信号は、各ビットD8〜D1の内容を論理“0"
にする信号である。FIG. 1 shows the configurations of the identification code register 11 and the test mode signal extraction circuit 12. The identification code register 11 is an 8-bit shift register described in detail in FIG.
Test data from the terminal P 1, the test clear signal from the terminal P 2 and, respectively input a test clock signal from the terminal P 3. Test data, the test clock signal is sequentially shifted from the input-side bit D 8 to the output side bits D 1.
Test clear signal, the logic of the contents of the bits D 8 ~D 1 "0"
Signal.
テストモード信号抽出回路12は、識別符号レジスタ11
からの各ビット出力を論理演算して、この場合、7個の
テストモード信号を抽出する回路である。詳述すると、
テストモード信号抽出回路12は、テストモード信号の数
に対応した7つのアンド回路と、所定個のインバータに
て構成される。テストモード信号1を形成するアンド回
路121は、D8,D7,D5,D3,D2,D1の各ビット出力と、インバ
ータ125を介したD6及びインバータ127を介したD4ビット
出力とが入力されている。また、テストモード信号2を
形成するアンド回路122はD7,D6,D4,D3の各ビット出力
と、インバータ124を介したD8ビット出力,インバータ1
26を介したD5ビット出力,インバータ128を介したD2ビ
ット出力及びインバータ129を介したD1ビット出力とが
入力されている。尚、123はテストモード信号7の形成
用アンド回路である。各テストモード信号1,2〜7は、
それぞれ端子P11,P12〜P13に導出され、図示しない回路
ブロックのゲート回路あるいは信号セレクタに供給され
るようになっている。The test mode signal extraction circuit 12 includes an identification code register 11
Is a circuit that performs a logical operation on each bit output from the above, and in this case, seven test mode signals are extracted. To elaborate,
The test mode signal extraction circuit 12 includes seven AND circuits corresponding to the number of test mode signals and a predetermined number of inverters. The AND circuit 121 that forms the test mode signal 1 outputs each bit output of D 8 , D 7 , D 5 , D 3 , D 2 , and D 1 , D 6 via the inverter 125, and D 4 via the inverter 127. Bit output is input. Further, the AND circuit 122 for forming the test mode signal 2 outputs each bit output of D 7 , D 6 , D 4 , D 3 , a D 8- bit output via the inverter 124,
A D 5 bit output via the inverter 26, a D 2 bit output via the inverter 128, and a D 1 bit output via the inverter 129 are input. Reference numeral 123 denotes an AND circuit for forming the test mode signal 7. The test mode signals 1, 2 to 7 are
Are respectively led to the terminals P 11, P 12 ~P 13, it is supplied to a gate circuit or signal selector circuit block (not shown).
第2図に識別符号レジスタ11の具体回路を示す。111
〜113…はDフリップフロップであり、出力が次段の入
力となっている。各フリップフロップの内容は、テスト
クロック信号がシフトパルスとなって移動される。FIG. 2 shows a specific circuit of the identification code register 11. 111
.. 113 are D flip-flops whose outputs are the inputs of the next stage. The contents of each flip-flop are moved with the test clock signal as a shift pulse.
本実施例は以上のように構成される。 This embodiment is configured as described above.
このような構成によれば、識別符号レジスタ11のビッ
ト長が、テストモードの数を表現できるビット長に比べ
長いので、テストデータのビット長を長くできる。この
ため、テストデータの取り得る場合の数が大きくなり、
偶然にテストモードに侵入する確率を小さくする。According to such a configuration, the bit length of the identification code register 11 is longer than the bit length capable of expressing the number of test modes, so that the bit length of the test data can be increased. For this reason, the number of possible test data increases,
Reduce the probability of accidentally entering test mode.
第3図は第1図の実施例に基づく動作を示すタイミン
グチャートであり、aはテストクリヤ信号を示し、bは
テストクロック信号を、cはテストデータ1を、dはテ
ストデータ1を識別して得られるテストモード信号1
を、eはテストデータ2を、fはテストデータ2によっ
て形成されるテストモード信号2をそれぞれ示す、尚、
gは本実施例によるテストデータの一般形である。FIG. 3 is a timing chart showing an operation based on the embodiment of FIG. 1, wherein a indicates a test clear signal, b indicates a test clock signal, c indicates test data 1, and d indicates test data 1. Test mode signal 1 obtained by
E indicates test data 2 and f indicates a test mode signal 2 formed by the test data 2.
g is a general form of test data according to the present embodiment.
テストモードへは、テストクリヤ信号aによる負のパ
ルスT1によって識別レジスタ11の内容がオール“0"にな
る。このときは、ノーマルモードになる。To the test mode, the negative pulse T 1 by the test clear signal a is the content of the identification register 11 becomes all "0". At this time, the mode is the normal mode.
テストデータとしてcに示すD8〜D1=「11010111]の
信号(テストデータ1)を識別符号レジスタ11に入力す
ると、テストクロック8個目で、テストモード信号抽出
回路12に上記信号がパラレル入力される。これにより、
アンド回路121の各入力端子へはオール“1"の信号が入
力され、dに示すように、8クロック目で論理“1"に変
化するテストモード信号1がアンド回路121より出力さ
れる。テストモード2の場合は、eに示す「01101100」
という信号(テストデータ2)が識別符号レジスタ11に
入力される。これにより、アンド回路122の各入力はオ
ール“1"となり、アンド回路122より、8個目のクロッ
クで論理“1"を呈するテストモード信号2が出力され
る。When signal D 8 to D 1 = "11010111 shown in c as test data] (test data 1) for inputting the identification code register 11, a test clock 8th, the signal is parallel input to the test mode signal extraction circuit 12 This allows
A signal of all "1" is input to each input terminal of the AND circuit 121, and a test mode signal 1 which changes to logic "1" at the eighth clock is output from the AND circuit 121 as shown in d. In the case of test mode 2, "01101100" shown in e
(Test data 2) is input to the identification code register 11. As a result, the inputs of the AND circuit 122 are all “1”, and the AND circuit 122 outputs the test mode signal 2 having the logic “1” at the eighth clock.
このように本実施例では、識別符号レジスタ11のビッ
ト長が8ビットであり、7個のテストモードの数を表現
できる3ビットに比べ、テストデータのビット長を長く
できる。このため、テストデータの取り得る場合の数が
大きくなり、偶然にテストモードに侵入する確率は、従
来の7/8に比べ、7/28となる。As described above, in this embodiment, the bit length of the identification code register 11 is 8 bits, and the bit length of the test data can be made longer than 3 bits that can represent the number of 7 test modes. Therefore, the greater the number of cases that may take the test data, the probability of entering the test mode by chance, compared to conventional 7/8, the 7/2 8.
第4図は第1図の実施例を一般的に表現した概念図で
ある。即ち、実線部が、それぞれテストモードの数に合
わせて、ビット長及び規模が最小になるように設定した
識別符号レジスタ11及びテストモード信号抽出回路12で
ある。この場合、偶然にテストモードに入る確率PTは、 となる。FIG. 4 is a conceptual diagram generally representing the embodiment of FIG. That is, the solid line portions are the identification code register 11 and the test mode signal extraction circuit 12 which are set so that the bit length and the scale are minimized in accordance with the number of test modes. In this case, the probability P T that accidentally enters the test mode is Becomes
実線のビット長及び規模に、点線にて示すように、k
ビットのレジスタセルを追加し、テストモード信号抽出
回路12の規模を拡げた場合、テストモード信号抽出回路
12は、 ビットの信号を入力として、TN個のテストモードのうち
の1つのモードを示すテストモード信号を出力する。こ
のテストモード信号は、実施例のように、そのテストモ
ードと一対一対応であっても良いし、1つのテストモー
ドに対し複数のテストモード信号がアクティブ(論理
“1")になっても良い(モード信号1〜7で符号を構成
する)。In the bit length and scale of the solid line, as shown by the dotted line, k
If the test mode signal extraction circuit 12 is expanded by adding bit register cells, the test mode signal extraction circuit
12 is A bit signal is input, and a test mode signal indicating one of the T N test modes is output. This test mode signal may be in one-to-one correspondence with the test mode as in the embodiment, or a plurality of test mode signals may be active (logic "1") for one test mode. (Signs are composed of the mode signals 1 to 7).
上記の場合、テストモードに偶然に入る確率は、 となる。尚、kは1以上の整数値で、式の分母を別の
表現で書き替えると、『(l og2(TN+1)+1より小
さくない整数』ということができる。In the case above, the probability of accidentally entering test mode is Becomes Note that k is an integer value of 1 or more, and if the denominator of the equation is rewritten in another expression, it can be said that "an integer not smaller than (log 2 ( TN + 1) +1").
式と式を比較すると、本提案の方がテストモード
に入る確率が1/2kになっていることが分かる。Comparing the formulas with the formulas, it can be seen that the probability of entering the test mode in this proposal is 1/2 k .
次に他の実施例を説明する。 Next, another embodiment will be described.
第5図はこの発明に係るデバイステスト回路の他の実
施例を示す構成図であり、第6図は第5図の実施例にお
けるテストデータのフォーマットである。FIG. 5 is a block diagram showing another embodiment of the device test circuit according to the present invention, and FIG. 6 is a format of test data in the embodiment of FIG.
第5図ににおいて、端子P21はテストデータの入力端
子である。端子P21からのテストデータは、第6図に示
すように、初期値符号と暗合鍵符号とから成り、初期値
符号にはモード識別符号が含まれている。初期値符号
は、乱数の初期値を示し、暗号鍵符号は、初期値符号を
基に発生する乱数列である。ここでは、例えばシフトレ
ジスタを所定の論理回路で巡回制御して構成されるPN符
号を使用している。In the Figure 5, the terminal P 21 is the input terminal of the test data. Test data from the terminal P 21, as shown in FIG. 6, consists of an initial value code and the dark master key code, the initial value code contains the mode identification code. The initial value code indicates an initial value of the random number, and the encryption key code is a random number sequence generated based on the initial value code. Here, for example, a PN code configured by cyclically controlling a shift register by a predetermined logic circuit is used.
さて、端子P21からのテストデータは、PN初期値符号
レジスタ21に保持される。PN初期値符号レジスタ21は、
初期値符号21aと、初期値符号中に設定されたいずれか
のデータから成るモード識別符号21bを分けて出力し、
初期値符号21aはPN符号発生ロジック22に供給され、モ
ード識別符号21bは退避レジスタ23に格納される。PN発
生符号ロジック22は、初期値符号21aを初期値としてPN
符号22aを発生する。このPN符号22aは、テストデータと
して入力される暗号鍵符号と同じであり、暗号鍵比較手
段24でテストデータ中の暗号鍵符号と比較される。Now, the test data from the terminal P 21 is held in PN initial value code register 21. The PN initial value code register 21
The initial value code 21a and the mode identification code 21b composed of any data set in the initial value code are output separately,
The initial value code 21a is supplied to the PN code generation logic 22, and the mode identification code 21b is stored in the save register 23. The PN generation code logic 22 uses the initial value code 21a as an initial value and
The code 22a is generated. This PN code 22a is the same as the encryption key code input as the test data, and is compared with the encryption key code in the test data by the encryption key comparison means 24.
暗号鍵比較手段24の出力24aは、識別符号レジスタ25
に、該レジスタ25をゲート制御するように入力される。
即ち、信号24aは、PN符号発生ロジック22からのPN符号
と、テストデータ中の暗号鍵符号とが一致する場合に、
退避レジスタ23に保持した識別符号が識別符号レジスタ
25に移送されるように、識別符号レジスタ25を制御す
る。識別符号レジスタ25の出力は、第1図の実施例と同
等のテストモード信号抽出手段26に入力され、複数個の
テストモード信号が形成される。The output 24a of the encryption key comparing means 24 is an identification code register 25.
Is input so that the register 25 is gate-controlled.
That is, the signal 24a is generated when the PN code from the PN code generation logic 22 matches the encryption key code in the test data.
The identification code held in the save register 23 is the identification code register
The identification code register 25 is controlled so that the identification code register 25 is transferred. The output of the identification code register 25 is input to a test mode signal extracting means 26 equivalent to the embodiment of FIG. 1, and a plurality of test mode signals are formed.
尚、上記識別符号レジスタ25とテストモード信号抽出
手段26は、第1図の実施例のレジスタ11と回路12に相当
する。Incidentally, the identification code register 25 and the test mode signal extracting means 26 correspond to the register 11 and the circuit 12 in the embodiment of FIG.
上記構成のデバイステスト回路は、テストデータ中の
暗号鍵符号が、PN符号発生ロジック22からのPN符号と一
致しないときは、退避レジスタ23から識別符号レジスタ
25へ識別符号が送られない。従って、いずれのテストモ
ード信号も発生しないので、テストモードへ進入するこ
とができない。When the encryption key code in the test data does not match the PN code from the PN code generation logic 22, the device test circuit having the above configuration
No identification code is sent to 25. Therefore, since no test mode signal is generated, it is impossible to enter the test mode.
上記実施例の場合におけるテストモードに進入する確
率を求める。The probability of entering the test mode in the case of the above embodiment is obtained.
PN初期値符号長をnP、テストモード識別符号長をnTと
すると、必要なテストモードの数TNとの間に、 の関係をもたせる。Assuming that the initial PN code length is n P and the test mode identification code length is n T , the number of required test modes T N is Have a relationship.
暗号鍵比較手段24で比較する暗号鍵の符号長をkビッ
トすると、テストモードに進入する確率PTは、 とすると、式は となる。よって、と同じに、テストモードに進入する
確率は、1/2kとなっていることが分かる。When the code length of the encryption key to be compared by the encryption key comparison means 24 is k bits, the probability of entering the test mode PT is: Then the formula is Becomes Therefore, it can be seen that the probability of entering the test mode is 1/2 k , as in the case of FIG.
次に、第5図の実施例に基づく具体的な実施例を説明
する。Next, a specific embodiment based on the embodiment of FIG. 5 will be described.
第7図は上記乱数データを利用したテストモード回路
の具体的構成の一例を示す回路図である。FIG. 7 is a circuit diagram showing an example of a specific configuration of the test mode circuit using the random number data.
この具体回路では、PN初期値符号は9ビット(そのう
ちテストモード識別符号は3ビットを兼用)、暗号鍵符
号は55ビット、テストモード数は7としている。In this specific circuit, the PN initial value code is 9 bits (of which 3 bits are also used as the test mode identification code), the encryption key code is 55 bits, and the number of test modes is 7.
端子P22はテストデータの入力端子、端子P23はテスト
クロック信号の入力端子であり、これら各端子からのテ
ストデータとテストクロック信号は、初期値符号レジス
タ31へシリアル入力される。この場合、D9〜D1ビットか
らなる初期値符号のうち、1番目と6,7番目のビットD1,
D6,D7はテストモード識別符号を兼ねている。Terminal P 22 is the input terminal of the test data, the terminal P 23 is the input terminal of the test clock signal, the test data and the test clock signal from the respective terminals are serially input to the initial value code register 31. In this case, the first and sixth and seventh bits D 1 , D 1 , among the initial value code composed of D 9 to D 1 bits
D 6 and D 7 also serve as test mode identification codes.
PN符号発生ロジック32は、9ビットのシフトレジスタ
32Aと、排他論理和回路32Bによって構成され、シフトレ
ジスタ32Aの初段出力ビットR1と5番目の出力ビットR5
とを排他論理和回路32Aに入力し、その出力を終段(入
力側)出力ビットR9に帰還する構成になっている。レジ
スタ32Aは、端子P25からのロードパルスLD1によって初
期値符号レジスタ31からの初期値符号をパラレルに入力
する。PN符号発生ロジック32の出力であるPN符号32aは
7番目の出力ビットR7を選択している。PN code generation logic 32 is a 9-bit shift register
The first stage output bit R 1 and the fifth output bit R 5 of the shift register 32 A are constituted by 32 A and an exclusive OR circuit 32 B.
DOO exclusive input to the OR circuit 32 A, has a structure for feeding back the output final stage (input side) to the output bit R 9. Register 32 A inputs the initial value code from the initial value code register 31 in parallel by the load pulse LD 1 from the terminal P 25. The PN code 32a, which is the output of the PN code generation logic 32, selects the seventh output bit R7.
一方、テストモード識別符号D9,D4及びD3は、3ビッ
ト構成の退避レジスタ33にパラレル入力され、退避レジ
スタ33は端子P26からのラッチパルスLP1によって上記識
別符号を保持する。On the other hand, the test mode identification codes D 9 , D 4, and D 3 are input in parallel to a 3-bit save register 33, and the save register 33 holds the identification code by a latch pulse LP 1 from a terminal P 26 .
暗号鍵比較手段34は排他論理和回路341,オア回路342,
レジスタ343,インバータ345,レジスタ346から構成され
ている。排他論理和回路341は、上記7番目の出力ビッ
トR7からのPN符号31aとテストデータを入力し、両入力
が一致していれば論理“0"、不一致ならば論理“1"を出
力する。オア回路342は、上記排他論理和回路341からの
出力とレジスタ343の出力34bとを入力し、そのオア論理
出力を上記レジスタ343に帰還している。このような帰
還回路は、1ビットでも不一致が検出されたら、それ以
降の出力34bを不一致を示す論理“1"の信号に保持する
回路である。また、レジスタ343は、端子P20からの比較
開始パルスCSによって比較動作を開始し、テストクロッ
クのタイミングで出力動作するようになっている。これ
は初期値符号期間に出力34aを出力しないためである。
レジスタ343からの出力34bはインバータ345を介してレ
ジスタ346に入力される。レジスタ346は端子P30より印
加されるラッチパルスLP2によって出力34bを取込み、識
別符号レジスタ35へラッチパルス34aとして供給する。The encryption key comparing means 34 includes an exclusive OR circuit 34 1 , an OR circuit 34 2 ,
Register 34 3, and an inverter 34 5, register 34 6. Exclusive OR circuit 34 1 receives the PN code 31a and test data from the 7-th output bits R7, if both inputs match logic "0", and outputs the if disagreement logic "1" . OR circuit 34 2 are inputs the output 34b of the output and the register 34 3 from the exclusive OR circuit 34 1, and feedback the OR logic output to the register 34 3. Such a feedback circuit is a circuit that, when a mismatch is detected even for one bit, holds the subsequent output 34b as a signal of logic "1" indicating the mismatch. The register 34 3 starts the comparison operation by the comparator start pulse CS from the terminal P 20, and outputs the operation at the timing of the test clock. This is because the output 34a is not output during the initial value code period.
The output 34b of the register 34 3 is input via the inverter 34 5 to register 34 6. Register 34 6 takes the output 34b by the latch pulse LP 2 applied from the terminal P 30, and supplies a latch pulse 34a to the identification code register 35.
尚、レジスタ346は、端子P24からのテストクリヤ信号
によって、テスト開始のタイミングでクリヤ動作され
る。The register 34 6, the test clear signal from the terminal P 24, is cleared operation at the timing of test start.
識別符号レジスタ35は、上記退避レジスタ33と同じに
3ビット構成であって、上記出力34aによって退避レジ
スタ33に退避されたテストモード識別符号S1〜S3を取込
み、取込んだ識別符号Q1〜Q3をテストモード信号抽出回
路36に導入する。テストモード抽出回路36は、第1図の
回路と同様に、テストモードと一対一に対応してテスト
モード信号1〜7をそれぞれ論理“1"にする論理回路で
ある。Identification code register 35, the a same three-bit configuration and the retracted register 33, an identification code Q 1 and the test mode identification code S 1 to S 3, which is saved in the save register 33 by the output 34a of capture, the taken introducing to Q 3 in the test mode signal extraction circuit 36. The test mode extraction circuit 36 is a logic circuit that sets the test mode signals 1 to 7 to logic "1" in one-to-one correspondence with the test mode, similarly to the circuit of FIG.
37は上記ラッチパルスLP1,LP2,比較開始パルスCS及び
ロードパルスLD1を発生するタイミング信号発生回路で
ある。タイミング信号発生回路37は、テストクリア信号
とテストクロック信号を基準に上記のタイミング信号を
作成している。Reference numeral 37 denotes a timing signal generating circuit for generating the latch pulses LP 1 and LP 2 , the comparison start pulse CS, and the load pulse LD 1 . The timing signal generation circuit 37 generates the above timing signal based on the test clear signal and the test clock signal.
尚、テストクロック信号は、レジスタ32Aのクロック
信号になっている。この場合、端子P23からのテストク
ロック信号をインバータ38を介してレジスタ32Aに加え
ている。The test clock signal is a clock signal of register 32 A. In this case, a test clock signal from the terminal P 23 via an inverter 38. In addition to the registers 32 A.
上記タイミング信号発生回路37は、具体的に第8図に
示す構成になっている。The timing signal generating circuit 37 has a specific configuration shown in FIG.
第8図において、レジスタF1〜F7はリプルカウンタを
構成している。上記リップルカウンタはセレクタ39によ
ってカウントイネーブル,ディネーブルが制御される。
終段レジスタF7の出力はレジスタF8によって1クロック
期間保持され、ラッチパルスLP2となる。このレジスタF
8の出力で上記セレクタ39が切換制御される。インバー
タ40,アンド回路41,レジスタF9,F10及びナンド回路42
は、ロードパルスLD1,ラッチパルスLP1及び比較開始パ
ルスCSの発生タイミングを設定している。In Figure 8, registers F1~F 7 constitute a ripple counter. Count enable and disable of the ripple counter are controlled by a selector 39.
The output of the final-stage register F 7 is one clock period held by the register F 8, a latch pulse LP 2. This register F
The selector 39 is switched by the output of 8 . Inverter 40, the AND circuit 41, the register F 9, F 10 and the NAND circuit 42
, The load pulse LD 1, and sets the generation timing of the latch pulse LP 1 and Comparative start pulse CS.
第9図は上記タイミング信号発生回路37の動作を示す
タイミングチャートである。FIG. 9 is a timing chart showing the operation of the timing signal generating circuit 37.
第9図において、aはテストクリヤー信号、bはリッ
プルカウンタ出力、cはテストクロック信号、dはアン
ド回路41の出力41a、eはレジスタF9の出力9a、fはナ
ンドゲート42の出力(ラッチパルスLP1,比較開始パルス
CS)、gはレジスタF10の出力(ロードパルスLD1)、h
はレジスタF7の出力7a、iはレジスタF8の出力(ラッチ
パルスLP2)をそれぞれ示す。In Figure 9, a is the test clear signal, b is the ripple counter output, c is the test clock signal, d is the output 41a of the AND circuit 41, e output 9a of the register F 9, f is the output of the NAND gate 42 (latch pulse LP 1, comparison start pulse
CS), g is the output of the register F 10 (a load pulse LD 1), h
Respectively the output 7a of the register F 7, i is the output of the register F 8 (the latch pulse LP 2).
第10図はレジスタ32Aの一例を示す回路図である。こ
れは、負のロードパルスが入力されたとき、パラレルデ
ータ入力がクロックの立上りで各レジスタセルに取込ま
れ、クロックによって、シリアル入力及びパラレル出力
される 以上の構成によれば、9ビットの初期値符号がレジス
タ32Aにロードされると、テストデータ中の暗号鍵符号
と同じPN符号32aがR7ビットより出力され、この出力32a
とテストデータとが1ビット単位で比較される。そし
て、55ビット全てを比較して不一致が検出されないとき
は、ラッチパルス34aで識別符号レジスタ35をラッチ動
作させ、退避レジスタ33からのテストモード識別符号に
基づく符号Q1〜Q3をテストモード信号抽出手段36に供給
し、1ビットでも不一致が検出されると、テストモード
信号抽出手段36に退避レジスタ33に保持した符号信号は
供給されない。これによって、偶然にテストモードに進
入する確率の極めて小さいデバイステスト回路が実現さ
れる。FIG. 10 is a circuit diagram showing an example of register 32 A. This is because, when a negative load pulse is input, the parallel data input is taken into each register cell at the rising edge of the clock, and serial input and parallel output are performed by the clock. If the value code is loaded into register 32 a, the same PN code 32a and the encryption key signs in the test data is output from the R 7 bits, the output 32a
And the test data are compared on a bit-by-bit basis. Then, 55 when a mismatch by comparing all bit is not detected, then latch operation the identification code register 35 by the latch pulse 34a, reference numeral Q 1 to Q 3 test mode signal based on the test mode identification code from the save register 33 If a mismatch is detected even for one bit, the code signal held in the save register 33 is not supplied to the test mode signal extracting means 36. Thus, a device test circuit having a very low probability of accidentally entering the test mode is realized.
第11図は上記デバイステスト回路の詳細な動作説明図
であり、テストモード信号1を論理“1"にする場合のタ
イミングチャートを示している。FIG. 11 is a detailed operation explanatory diagram of the device test circuit, and shows a timing chart when the test mode signal 1 is set to logic "1".
この図において、aはテストクリヤ信号,bはテストデ
ータの一般形,cはテストクロック信号,dはテストデータ
1の一般形,eは具体的テストデータ1,fは7番目のビッ
トD7から見たテストデータ,gはロードパルスLD1,hはラ
ッチパルスLP1,iは退避レジスタ33のビット出力S3,jは
比較開始パルスCS,kはレジスタ343の出力34b,lはPN符号
出力,mはラッチパルスLP2,nはラッチパルス34a,pは識別
レジスタ35の出力Q3,qはテストモード信号1をそれぞれ
示す。In this figure, a is the test clear signal, b is the general form of the test data, c is the test clock signal, d is the general form of the test data 1, e is from specific test data 1, f is the seventh bit D 7 see test data, g is the load pulse LD 1, h is a latch pulse LP 1, i is the bit output S 3 of the save register 33, j is compared start pulse CS, k register 34 3 output 34b, l is the PN code The output, m is the latch pulse LP 2 , n is the latch pulse 34 a, p is the output Q 3 of the identification register 35, and q is the test mode signal 1.
テストクリヤ信号aは、テスト開始で負に転じる。こ
れに続き、先ず9ビットの初期値符号が初期値符号レジ
スタ31に順次入力される。テストテータ1の場合、テス
トモード識別符号はdに示すように、1番目,6番目,7番
目のビットがそれぞれ“0",“0",“1"と決められてお
り、残りの初期値符号D2〜D5,D8,D9=「101100」とする
と、テストデータ1における初期値符号は信号eのよう
になる。The test clear signal a turns negative at the start of the test. Subsequently, first, a 9-bit initial value code is sequentially input to the initial value code register 31. In the case of the test data 1, the first, sixth, and seventh bits of the test mode identification code are determined to be “0”, “0”, and “1”, respectively, as shown by d. Assuming that the codes D 2 to D 5 , D 8 , D 9 = “101100”, the initial value code in the test data 1 becomes like the signal e.
上記のようなテストデータが初期値符号レジスタ31に
入ると、例えばビット出力D7では、信号fにて示すよう
に、3つ目のクロックの立上りからdと同様の信号が観
測される。退避レジスタ33へのラッチは、ラッチパルス
LP1(信号h参照)によって、9つ目のクロックのタイ
ミングで行われるので、信号f中、P15にて示した信号
が退避レジスタ33のビットS3の信号として保持されるこ
とになる(信号i参照)。また、この時、ロードパルス
LD1(信号g参照)も負に転じて、初期値符号区間の信
号が初期値符号レジスタ31からレジスタ32Aに移され
る。これにより、信号lにて示すように、初期値符号区
間は不定で、暗号鍵符号区間からPN符号を示す信号がR7
のビットから自然発生的に出力することになる。When the test data as mentioned above into the initial value code register 31, the example bit output D 7, as shown in the signal f, the same signal and d is observed from the rise of the third clock. The latch to the save register 33 is a latch pulse
LP 1 (refer to signal h) is performed at the timing of the ninth clock, so that the signal indicated by P 15 in the signal f is held as the signal of the bit S 3 of the save register 33 ( See signal i). Also, at this time, the load pulse
LD 1 (reference signal g) be turned to negative, the signal of the initial value code section is transferred from the initial value code register 31 to register 32 A. As a result, as shown by the signal 1, the initial value code section is indefinite, and the signal indicating the PN code from the encryption key code section is R 7
Output spontaneously.
レジスタ32Aに所定のデータが保持されると、jに示
すように、9番目のクロックのタイミングで比較開始パ
ルスが負に転ずる。このときテストデータは、暗号鍵符
号に変わっているので、排他論理和回路341には、PN符
号出力32aと上記暗号鍵符号がテストクロックのタイミ
ングで順次入力され、比較される。When a predetermined data in register 32 A is held, as shown in j, comparison start pulse starts to negative at the timing of the ninth clock. In this case the test data, since changes to the encryption key code, the exclusive OR circuit 34 1, PN code output 32a and the encryption key codes are sequentially inputted at the timing of the test clock are compared.
今、上記PN符号出力32aと暗号鍵符号が一致している
時は、排他論理和341の出力は、論理“0"であり、この
信号をラッチしたレジスタ343には、論理“0"の信号が
帰還される。また、PN符号出力32aと暗号鍵符号とが不
一致の時は、排他論理和341の出力は、論理“1"にな
り、この信号をラッチしたレジスタ343には、論理“1"
の信号が帰還される。この状態は、例えばテストクロッ
クが停止されるまで続く。従って、信号34bは、信号k
にて示すように、55ビット全て一致の場合は、実線に示
すように、論理“0"の信号となり、途中で不一致が検出
されると、点線にて示すように、そのクロックより論理
“1"になる。Now, when the PN code output 32a and an encryption key code matches, the output of the exclusive OR 34 1 is a logical "0", the register 34 3 which latches the signal, a logic "0" Is fed back. Further, when the PN code output 32a and the encryption key codes do not match, the output of the exclusive OR 34 1 becomes a logic "1", the register 34 3 which latches the signal, a logic "1"
Is fed back. This state continues until the test clock is stopped, for example. Therefore, the signal 34b becomes the signal k
As shown in the figure, when all 55 bits match, a signal of logic "0" is output as shown by a solid line. If a mismatch is detected in the middle, a signal of logic "1" is output from the clock as shown by a dotted line. "become.
信号mにて示すように、64個目のクロックの終了でラ
ッチパルスLP2が立上がる。この時、信号34bが論理“0"
である時は、インバータ345を介した論理“1"の信号
が、レジスタ346によってラッチされる。これによっ
て、信号nに示すように、ラッチパルスLP2(32a)が論
理“1"の一致パルスを呈し、識別符号レジスタ35をラッ
チ動作させる。As shown in the signal m, the latch pulse LP 2 rises at the end of the 64 th clock. At this time, the signal 34b becomes logic "0".
When it is, the signal of logic "1" via the inverter 34 5 is latched by the register 34 6. As a result, as shown by the signal n, the latch pulse LP 2 (32a) exhibits a coincidence pulse of logic “1”, and the identification code register 35 is latched.
これにより、退避レジスタ33からのビット出力S3が識
別符号レジスタ35に移され、信号pに示すように、ビッ
ト出力Q3が論理“1"になる。ビット出力Q3が論理“1"の
ときは、テストモード信号抽出回路36はテストモード信
号1を論理“1"にする(信号q参照)。Thus, the bit output S 3 from the save register 33 is transferred to the identification code register 35, as shown by a signal p, the bit output Q 3 becomes logic "1". If the bit output Q 3 is logic "1", the test mode signal extraction circuit 36 makes the test mode signal 1 to a logical "1" (reference signal q).
上記実施例でのテストモードに進入する確率PTは、
式でnT=3,TN=7,k=55として、PT=7/258である。The probability P T of entering the test mode in the above embodiment is
Assuming that n T = 3, T N = 7, and k = 55, P T = 7/258 .
同じ確率を第1図の実施例で実現しようとすると、識
別符号レジスタ11を58ビット構成とし、テストモード信
号抽出回路12も58ビットの演算処理を行う規模にしなけ
ればならない。これに対し、第7図の実施例では、レジ
スタの数は、タイミング信号発生回路37のレジスタを含
めて36個で済む。In order to realize the same probability in the embodiment of FIG. 1, the identification code register 11 must have a 58-bit configuration, and the test mode signal extraction circuit 12 must have a scale for performing a 58-bit arithmetic processing. On the other hand, in the embodiment of FIG. 7, the number of registers including the registers of the timing signal generation circuit 37 is only 36.
また、暗号鍵符号を利用する実施例では、kの設定次
第で、ハード規模を増やすことなく進入確率を小さくす
ることができる。kの値はラッチパルスLP2の発生タイ
ミングを調整することによって可変できる。これは暗号
鍵符号が長くなることで、テストモードへの進入をさら
に複雑にする。In the embodiment using the encryption key code, the entry probability can be reduced without increasing the hardware scale depending on the setting of k. The value of k can be varied by adjusting the generation timing of the latch pulse LP 2. This further complicates entry into the test mode due to the longer encryption key code.
一般に、IC内部情報として極めて高い機密性が要求さ
れるときは、第5図の実施例の方がハード規模に関して
有利である。Generally, when extremely high confidentiality is required as IC internal information, the embodiment of FIG. 5 is more advantageous in terms of hardware scale.
また、第5図(第7図)の実施例で、初期値符号中の
テストモード識別符号長nTを とした場合、nTをlビット(lは1以上の整数)増やし
ても良い。この場合は、暗号鍵符号をテストデータとし
て入力しても、必ずしもテストモードに進入できなくす
ることができる。これによれば、テストモードに進入す
る確率は、1/21倍だけ小さくなる。In the embodiment of FIG. 5 (FIG. 7), the test mode identification code length n T in the initial value code is In this case, n T may be increased by 1 bit (1 is an integer of 1 or more). In this case, even if the encryption key code is input as the test data, it is not always possible to enter the test mode. According to this, the probability of entering the test mode, the 1/2 1 times only smaller.
尚、第7図の実施例は、第12図aに示すように、ICの
外部回路として設けても良いし、第12図bに示すよう
に、内蔵しても良い。The embodiment of FIG. 7 may be provided as an external circuit of the IC as shown in FIG. 12A, or may be built in as shown in FIG. 12B.
[発明の効果] 以上説明したようにこの発明によれば、回路規模を複
雑化することなく、テストモードに容易に進入できなく
なり、ICの内部情報の秘匿性を高めることができる。[Effects of the Invention] As described above, according to the present invention, it is not possible to easily enter the test mode without complicating the circuit scale, and the confidentiality of the internal information of the IC can be improved.
第1図はこの発明に係る集積回路のデバイステスト回路
の一実施例を示す構成図、第2図は第1図の実施例を詳
述する構成図、第3図は第1図の実施例の動作を示すタ
イミングチャート、第4図は第1図の実施例を要約した
概念図、第5図はこの発明の他の実施例を示すデバイス
テスト回路を示す構成図、第6図は第5図の実施例に用
いるテストデータを示すフォーマット、第7図は第5図
の実施例の具体例を示す回路図、第8図は第7図の実施
例に用いるタイミング信号発生回路の構成図、第9図は
第8図の回路のタイミングチャート、第10図は第7図の
実施例に用いるパラレル及びシリアル入力・パラレル出
力形のレジスタを示す構成図、第11図は第7図の実施例
の動作を示すタイミングチャート、第12図は第7図の実
施例の態様を説明する態様図、第13図は従来のデバイス
テスト回路を示す構成図、第14図は第13図の回路の動作
を概説するタイミングチャートである。 11……識別符号レジスタ、12……テストモード信号抽出
回路、21(31)……初期値符号レジスタ、22(32)……
PN信号発生ロシック、23(33)……退避レジスタ、24
(34)……暗号鍵比較手段、22a……PN符号出力、34a…
…ラッチパルス(比較結果)。FIG. 1 is a block diagram showing an embodiment of a device test circuit for an integrated circuit according to the present invention, FIG. 2 is a block diagram showing the embodiment of FIG. 1 in detail, and FIG. 3 is an embodiment of FIG. FIG. 4 is a conceptual diagram summarizing the embodiment of FIG. 1, FIG. 5 is a block diagram showing a device test circuit showing another embodiment of the present invention, and FIG. FIG. 7 is a format showing test data used in the embodiment of FIG. 7, FIG. 7 is a circuit diagram showing a specific example of the embodiment of FIG. 5, FIG. 8 is a configuration diagram of a timing signal generation circuit used in the embodiment of FIG. 9 is a timing chart of the circuit of FIG. 8, FIG. 10 is a block diagram showing a parallel and serial input / parallel output type register used in the embodiment of FIG. 7, and FIG. 11 is an embodiment of FIG. FIG. 12 is a timing chart showing the operation of FIG. Aspect view, FIG. 13 is a configuration diagram showing a conventional device test circuit, FIG. 14 is a timing chart outlining the operation of the circuit of Figure 13. 11: Identification code register, 12: Test mode signal extraction circuit, 21 (31): Initial value code register, 22 (32):
PN signal generation rosic, 23 (33) ... Save register, 24
(34) ... encryption key comparison means, 22a ... PN code output, 34a ...
... Latch pulse (comparison result).
───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) G01R 31/28 - 31/3193 H01L 21/66 H01L 21/822 H01L 27/04──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 6 , DB name) G01R 31/28-31/3193 H01L 21/66 H01L 21/822 H01L 27/04
Claims (3)
数初期値符号および、これに続き前記乱数初期値符号に
基づいて自然発生する乱数符号と同一の暗号鍵符号とか
らなるテストデータが入力されるデータ入力手段と、 前記識別符号を含む乱数初期値符号がセットされる初期
値符号レジスタと、 この初期値符号レジスタからの前記識別符号だけを一旦
保持する退避レジスタと、 この退避レジスタからの前記識別符号を記憶する識別符
号レジスタと、 前記初期値符号レジスタからの前記乱数初期値符号に応
じて乱数を発生する乱数発生回路と、 前記乱数発生回路からの乱数と前記データ入力手段から
の暗号鍵符号とを比較し、この比較結果に基づいて前記
退避レジスタの内容を前記識別符号レジスタにセットす
るか否かを決定する暗号鍵比較手段と、 前記識別符号レジスタからの信号に応じて複数個のテス
トモード信号を出力する手段とを具備したことを特徴と
する集積回路のデバイステスト回路。1. A test data consisting of a random number initial value code including an identification code for identifying a test mode, and a test key consisting of the same encryption key code as a random number code naturally generated based on the random number initial value code. Data input means, an initial value code register in which a random number initial value code including the identification code is set, a save register temporarily holding only the identification code from the initial value code register, An identification code register that stores an identification code; a random number generation circuit that generates a random number according to the random number initial value code from the initial value code register; a random number from the random number generation circuit; and an encryption key from the data input unit. And an encryption key for determining whether to set the contents of the save register in the identification code register based on the comparison result. Compare means and the device test circuit of the integrated circuit, characterized in that it comprises a means for outputting a plurality of test mode signals in response to a signal from the identification code register.
路のテストモードを識別する符号を含むテストデータを
送信し、 前記テストデータは前記テストモードを識別する符号を
含む乱数初期値符号とこの乱数初期値符号に基づいて自
然発生する乱数符号と同一の暗号鍵符号とを有すること
を特徴とする集積回路のテストデータ送信方法。2. A test data including a code for identifying a test mode of an integrated circuit on a receiving side when input to a receiving side, wherein the test data includes a random number initial value code including a code for identifying the test mode. And a cryptographic key code identical to a random number code naturally generated based on the random number initial value code.
路のテストモードを識別する符号を含むテストデータを
送信する集積回路のテストデータ送信装置において、 前記テストモードを識別する符号を含む乱数初期値符号
を発生する乱数初期値符号発生手段と、 前記乱数初期値符号に基づいて自然発生する乱数符号と
同一の暗号鍵符号を発生する暗号鍵符号発生手段とを有
することを特徴とする集積回路のテストデータ送信装
置。3. An integrated circuit test data transmitting apparatus for transmitting test data including a code for identifying a test mode of an integrated circuit on a receiving side when input to a receiving side, comprising a code for identifying the test mode. A random number initial value code generating means for generating a random number initial value code; and a cryptographic key code generating means for generating the same cryptographic key code as a naturally occurring random number code based on the random number initial value code. Test data transmission device for integrated circuits.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1160017A JP2860112B2 (en) | 1989-06-21 | 1989-06-21 | Apparatus and method for transmitting test data for integrated circuit and device test circuit for integrated circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1160017A JP2860112B2 (en) | 1989-06-21 | 1989-06-21 | Apparatus and method for transmitting test data for integrated circuit and device test circuit for integrated circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0324485A JPH0324485A (en) | 1991-02-01 |
| JP2860112B2 true JP2860112B2 (en) | 1999-02-24 |
Family
ID=15706177
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1160017A Expired - Lifetime JP2860112B2 (en) | 1989-06-21 | 1989-06-21 | Apparatus and method for transmitting test data for integrated circuit and device test circuit for integrated circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2860112B2 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5388900A (en) * | 1992-07-15 | 1995-02-14 | Kabushiki Kaisha Suzuki Shoji | Crawler pad |
| ATE319103T1 (en) * | 2000-01-26 | 2006-03-15 | Em Microelectronic Marin Sa | METHOD FOR TESTING AN INTEGRATED CIRCUIT WITH CONFIDENTIAL SOFTWARE OR HARDWARE ELEMENTS |
| CN115792579A (en) * | 2023-01-05 | 2023-03-14 | 旋智电子科技(上海)有限公司 | Circuit and method for controlling test mode |
-
1989
- 1989-06-21 JP JP1160017A patent/JP2860112B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0324485A (en) | 1991-02-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US3981217A (en) | Key assigner | |
| US4553090A (en) | Method and apparatus for testing a logic circuit using parallel to serial and serial to parallel conversion | |
| US4860236A (en) | Cellular automaton for generating random data | |
| US6401226B1 (en) | Electronic system with self-test function and simulation circuit for electronic system | |
| EP0017091A1 (en) | Two-mode-shift register/counter device | |
| US6985581B1 (en) | Method and apparatus to verify circuit operating conditions | |
| JP2860112B2 (en) | Apparatus and method for transmitting test data for integrated circuit and device test circuit for integrated circuit | |
| US4446452A (en) | Magnitude comparator circuit and method | |
| DK163776B (en) | PROCEDURE AND LINK TO ESTABLISH TRUE DATA FROM DISTORTED DIGITAL DATA SIGNALS | |
| US5329167A (en) | Test flip-flop with an auxillary latch enabling two (2) bits of storage | |
| US5091910A (en) | Information processing device | |
| US20020158663A1 (en) | Non-binary digital logic element and circuit design therefor | |
| JP2766133B2 (en) | Parallel-serial data conversion circuit | |
| EP1160668B1 (en) | Semiconductor integrated circuit and method of testing semiconductor integrated circuit | |
| US20080116937A1 (en) | Semiconductor integrated circuit | |
| US20250335591A1 (en) | Scan chain circuit and operation method thereof | |
| KR101208950B1 (en) | Circuit for Entering Test Mode in Semiconductor Memory Apparatus | |
| EP0208393A1 (en) | Testing digital integrated circuits | |
| KR100213256B1 (en) | 5 bit and 16 bit cyclic redundancy check circuit | |
| JP2731881B2 (en) | Mark ratio setting circuit | |
| KR920000794B1 (en) | Aitack pulse generating circuit of electronic organ | |
| JPH0773695A (en) | Self test circuit for ram | |
| JP2833922B2 (en) | PN code inspection circuit | |
| JP3514020B2 (en) | Rate generator | |
| KR20000059512A (en) | Integrated circuit of Test scan system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20071204 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081204 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091204 Year of fee payment: 11 |
|
| EXPY | Cancellation because of completion of term | ||
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091204 Year of fee payment: 11 |