JPH0271178A - Test sequence generation circuit - Google Patents

Test sequence generation circuit

Info

Publication number
JPH0271178A
JPH0271178A JP63222488A JP22248888A JPH0271178A JP H0271178 A JPH0271178 A JP H0271178A JP 63222488 A JP63222488 A JP 63222488A JP 22248888 A JP22248888 A JP 22248888A JP H0271178 A JPH0271178 A JP H0271178A
Authority
JP
Japan
Prior art keywords
circuit
flip
test
test sequence
flop
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
JP63222488A
Other languages
Japanese (ja)
Inventor
Akira Nishimura
明 西村
Yasuyuki Notsuyama
泰幸 野津山
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 JP63222488A priority Critical patent/JPH0271178A/en
Priority to KR1019890012928A priority patent/KR900005450A/en
Publication of JPH0271178A publication Critical patent/JPH0271178A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C11/00Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
    • G11C11/21Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements
    • G11C11/34Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices

Abstract

PURPOSE:To effect most efficiently a test according to a type of a circuit to be tested by calculating an exclusive OR of output of a plurality of FF's with a plurality of FF's connected in series. CONSTITUTION:A test sequence generation circuit 10 includes circuits 12 to 43 containing FF's connected in 32stages in series, exclusive OR calculation (EOR) circuit 44 to 46, and ternary drivers 51 to 82 which output values connected to output terminals Q of circuits 12 to 43 and stored in the output terminals Q, and in addition, a multiplexer (MUX) 90. The MUX 90 selects one of signals according to a logical value 1 or 0 of a control signal 102 from among an output 100 of the circuit 44 as a calculation result of an exclusive OR for Q outputs of the 10th, 30th, 31st and 32nd stages of the circuits 12 to 43 and an output Q32 of the circuit 43 so that the circuit 10 can generate a test sequence according to a type of a circuit to be tested, and supplies it to an input terminal of the circuit 12.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は集積回路に対する試験において用いられる試験
系列発生回路に関し、特に試験対象回路の種類に応じた
最適な特性を有する試験系列を発生し、試験対象回路に
供給可能な試験系列発生回路に関する。
[Detailed Description of the Invention] [Object of the Invention] (Industrial Application Field) The present invention relates to a test sequence generation circuit used in testing integrated circuits, and in particular to a test sequence generation circuit that has optimal characteristics depending on the type of circuit to be tested. The present invention relates to a test sequence generation circuit that can generate a sequence and supply it to a circuit under test.

(従来の技術) 従来、ゲートアレイLSIあるいはスタンダドセル型L
SI等の論理LSIに対する機能試験を行うため、論理
LSIに入力端子を通じて試験系列を入力し、論理LS
Iの出力と期待値とを比較することが行われている。
(Prior art) Conventionally, gate array LSI or standard cell type L
In order to perform a functional test on a logic LSI such as an SI, a test sequence is input to the logic LSI through the input terminal, and the logic LSI
The output of I is compared with the expected value.

また、集積回路の規模が大型化した場合前記の方法では
内部状態数の入出力端子数に対する比が増加し、合理的
な試験を行うことが困難となるが、このような場合にも
試験を有効に行う方法として集積回路内に試験系列発生
回路を具備させ、試験時この試験系列発生回路を機能さ
せ、試験系列を発生し、これを用いて集積回路内組み合
わせ論理回路、演算回路等の回路ブロックの機能試験を
行う方法が行われている。この方法を可能としたものが
自己診断機能内蔵集積回路である。
Furthermore, when the scale of integrated circuits increases, the ratio of the number of internal states to the number of input/output terminals increases with the above method, making it difficult to perform reasonable tests. An effective method is to provide a test sequence generation circuit within the integrated circuit, operate this test sequence generation circuit during testing, generate a test sequence, and use this to test circuits such as combinational logic circuits and arithmetic circuits within the integrated circuit. Methods are being used to test the functionality of blocks. What makes this method possible is an integrated circuit with a built-in self-diagnosis function.

このような機能試験における試験系列として従来疑似乱
数特性を有、するものが用いられている。
Conventionally, a test sequence having pseudo-random number characteristics has been used in such a functional test.

第6図にこのような擬似乱数特性を有する試験系列を発
生する従来技術による試験系列発生回路1を示す。 こ
れはいわゆるEXTERNAL型のLFSR(Line
ar Feedback 5hift  Regist
or )の構成を有するものであり、フリップフロップ
2ないし9を所定の段数、今の例では8段直列に接続し
シフトレジスタとし、このシフトレジスタを構成するフ
リップフロップの所定の複数のもの、今の例では3,5
.7および8段目のフリップフロップのQ出力の排他的
論理和を求め、その結果をシフトレジスタの初段のフリ
ップフロップ2の入力端子りに供給し、フィードバック
ループが形成されている。
FIG. 6 shows a conventional test sequence generation circuit 1 that generates a test sequence having such pseudo-random number characteristics. This is a so-called EXTERNAL type LFSR (Line
ar Feedback 5hift Register
or ), a predetermined number of stages of flip-flops 2 to 9, in this example 8 stages, are connected in series to form a shift register, and a predetermined plurality of flip-flops constituting this shift register, In the example, 3,5
.. A feedback loop is formed by calculating the exclusive OR of the Q outputs of the seventh and eighth stage flip-flops and supplying the result to the input terminal of the first stage flip-flop 2 of the shift register.

一般に上記のように構成されるシフトレジスタの総段数
がmであるとき、mビットの試験データが内部データバ
ス上に得られる。試験データの集合が試験系列を構成し
、この試験系列はM系列をなし擬似乱数特性を有し、2
m−1の周期を有する。
Generally, when the total number of stages of the shift register configured as described above is m, m-bit test data is obtained on the internal data bus. A set of test data constitutes a test sequence, this test sequence is an M sequence, has pseudorandom number characteristics, and has 2
It has a period of m-1.

従来の自己診断機能内蔵集積回路は第6図のように構成
された試験系列発生回路を具備する。この場合、試験系
列発生回路内各フリップフロップの出力値の集合、すな
わち第6図に示される例では8ビツトの試験データは内
部データバス上に出力され、この内部データバスを介し
、同じくこの内部データバスに接続されている組み合わ
せ論理回路、例えばALU等の試験対象回路ブロックに
転送される。
A conventional integrated circuit with a built-in self-diagnosis function includes a test sequence generation circuit configured as shown in FIG. In this case, a set of output values of each flip-flop in the test sequence generation circuit, that is, 8-bit test data in the example shown in FIG. The data is transferred to a combinational logic circuit connected to the data bus, such as a circuit block under test such as an ALU.

試験対象回路ブロックに転送された試験データはそこで
所定の演算ないし処理を受ける。その結果が期待値と比
較され、当該回路ブロックが所定の機能を果し得ている
か、あるいは故障を生じていないかどうかが判定される
The test data transferred to the circuit block under test undergoes predetermined calculations or processing there. The result is compared with an expected value, and it is determined whether the circuit block is able to perform a predetermined function or whether a failure has occurred.

(発明が解決しようとする課題) しかしながら、このような従来技術には次に述べるよう
な問題がある。
(Problems to be Solved by the Invention) However, such conventional techniques have the following problems.

すなわち、ALU、シフタあるいはRA Mから構成さ
れるレジスタファイル等のように単位構成素子を多数規
則的に配列・接続した構成を有する回路ブロックを乱数
もしくは擬似乱数の特性を有する試験系列を用いて試験
しようとすると、十分な故障検出率を得るには、多数の
試験データを試験対象ブロックに印加する必要があり、
効率的な試験を行うことができず、試験に長時間を費さ
ねばらならい。
In other words, a circuit block having a configuration in which a large number of unit components are regularly arranged and connected, such as a register file consisting of an ALU, a shifter, or a RAM, is tested using a test sequence having random number or pseudo-random number characteristics. However, in order to obtain sufficient fault coverage, it is necessary to apply a large number of test data to the block under test.
It is not possible to conduct an efficient test and the test must take a long time.

また、RAMに対する試験においては通常チエッカフラ
グもしくはチエッカボードと呼ばれる試験系列が用いら
れる。これは、メモリの偶数アドレスおよび奇数アドレ
スの配列にそれぞれ0.1および1.0の順序の規則的
な繰り返しで書き込みを行った後、読み出しを行い、期
待どうりの結果が得られるかどうかを確認するものであ
る。しかるにこのような規則性を有する試験データは一
般に前記した従来技術による擬似乱数発生機能のみを有
する試験系列発生回路では発生することはできない。
Further, in testing the RAM, a test series called checker flag or checker board is usually used. This involves writing to the arrays of even and odd addresses in memory in regular repetitions in the order of 0.1 and 1.0, respectively, and then reading them to see if the expected results are obtained. This is something to check. However, test data having such regularity cannot generally be generated by the test sequence generation circuit having only a pseudo-random number generation function according to the prior art described above.

本発明はこのような従来技術における問題を解決するた
めになされたものであり、各試験対象回路の種類に応じ
た、試験を最も効果的に行うという意味で最適の試験系
列を複数発生可能な試験系列発生回路を提供することを
目的とする。
The present invention has been made to solve these problems in the prior art, and is capable of generating a plurality of optimal test sequences in the sense of performing the test most effectively according to the type of each circuit to be tested. The purpose is to provide a test sequence generation circuit.

[発明の構成] (課題を解決するための手段) 本発明の試験系列発生回路は上記目的を達成するために
、フリップフロップを複数個直列に接続して構成される
第1の回路手段と、第1の回路手段を構成するフリップ
フロップの中の複数のフリップフロップの出力を入力し
これらの排他的論理和を演算し、前記第1の回路手段が
試験対象回路の種類に応じた試験系列を発生するように
前記第1の回路手段の初段のフリップフロップの入力端
子に前記排他的論理和の演算結果である第1の信号、前
記第1の回路手段の最終段のフリップフロップの出力で
ある第2の信号、一定の論理値1もしくは0を有する第
3の信号、あるいは交互に論理値1および0の出現する
第4の信号のいずれかを選択して供給する第2の回路手
段とを有する。
[Structure of the Invention] (Means for Solving the Problems) In order to achieve the above object, the test sequence generation circuit of the present invention includes a first circuit means configured by connecting a plurality of flip-flops in series; The outputs of a plurality of flip-flops among the flip-flops constituting the first circuit means are inputted and the exclusive OR is calculated, so that the first circuit means generates a test series according to the type of the circuit to be tested. A first signal which is the result of the exclusive OR operation is input to the input terminal of the first stage flip-flop of the first circuit means so as to be generated, and the first signal is the output of the final stage flip-flop of the first circuit means. second circuit means for selectively supplying either the second signal, a third signal having a constant logical value of 1 or 0, or a fourth signal in which logical values of 1 and 0 appear alternately; have

(作用) 上記のように構成された試験系列発生回路は擬似乱数特
性を有する検査系列のみならず、他に種々の規則性を有
する複数の試験系列を発生可能である。
(Operation) The test sequence generation circuit configured as described above is capable of generating not only a test sequence having pseudo-random number characteristics but also a plurality of test sequences having various regularities.

すなわち、擬似乱数特性を有する試験系列を発生させる
には、直列に接続されシフトレジスタを構成するフリッ
プフロップのうちの所定の複数のものの出力に対し排他
的論理和を演算し、その結果をシフトレジスタを構成す
る第1段目のフリップフロップの入力側にフィードバッ
クさせる。すなわち、LFSR構成とする。
That is, in order to generate a test sequence with pseudo-random number characteristics, an exclusive OR is calculated on the outputs of a predetermined plurality of flip-flops connected in series to form a shift register, and the result is transferred to the shift register. The signal is fed back to the input side of the first stage flip-flop. That is, it has an LFSR configuration.

一方、所定の規則性を有する試験系列を発生させるには
、この規則性に対応した値もしくは変化様式を有する信
号をシフトレジスタの第1段目のフリップフロップの入
力端子に供給する。
On the other hand, in order to generate a test sequence having a predetermined regularity, a signal having a value or change pattern corresponding to this regularity is supplied to the input terminal of the first stage flip-flop of the shift register.

この発生すべき試験系列の種類の選択、すなわちシフト
レジスタ初段のフリップフロップへの入力態様の選択は
、例えばマルチプレクサを用いて行うことができる。
Selection of the type of test sequence to be generated, that is, selection of the input mode to the flip-flop in the first stage of the shift register, can be performed using, for example, a multiplexer.

こうして、本発明の試験系列発生回路を集積回路中に組
み込んだ場合、集積回路各部の機能試験もしくは故障検
査を行うのに、その部分の種類・特性に応じた最適の試
験系列を用いることができるから、高い故障検出率を達
成し得、また試験時間の大幅な短縮化がなされる。
In this way, when the test sequence generation circuit of the present invention is incorporated into an integrated circuit, it is possible to use the optimum test sequence according to the type and characteristics of each part of the integrated circuit to perform a functional test or failure inspection of each part of the integrated circuit. Therefore, a high failure detection rate can be achieved and the test time can be significantly shortened.

(実施例) 以下、図面を参照しつつ本発明の実施例について説明す
る。
(Example) Hereinafter, an example of the present invention will be described with reference to the drawings.

第1図は本発明の第1の実施例の自己診断機能内蔵集積
回路において用いられる試験系列発生回′il!110
に対する回路図である。
FIG. 1 shows a test sequence generation circuit 'il! used in an integrated circuit with a built-in self-diagnosis function according to a first embodiment of the present invention. 110
FIG.

本実施例の集積回路は、試験系列発生回路10の他に、
ALU、RAM、シフタ、加算器等の回路ブロックを有
し、これら各回路ブロックに対し試験系列発生回路10
の発生する試験系列を用いて機能試験が行われる。
In addition to the test sequence generation circuit 10, the integrated circuit of this embodiment includes:
It has circuit blocks such as ALU, RAM, shifter, adder, etc., and a test sequence generation circuit 10 for each of these circuit blocks.
A functional test is performed using a test series that generates

本実施例の集積回路は内部バス構造を有し、内部データ
バス11に試験系列発生回路10および前記各回路ブロ
ックが接続されている。また、本実施例の集積回路はマ
イクロプログラムを格納するマイクロROMを有してお
り、このマイクロROM中に機能試験時集積回路内各部
の動作を制御するための試験用マイクロプログラムが格
納されている。
The integrated circuit of this embodiment has an internal bus structure, and an internal data bus 11 is connected to a test sequence generation circuit 10 and each of the circuit blocks described above. Further, the integrated circuit of this embodiment has a micro ROM that stores a micro program, and a test micro program for controlling the operation of each part in the integrated circuit during a functional test is stored in this micro ROM. .

このマイクロROMから読み出された各マイクロ命令は
、マイクロ命令保持用レジスタに保持され、このレジス
タに保持される情報にもとづき制御が行われる。
Each microinstruction read from the microROM is held in a microinstruction holding register, and control is performed based on the information held in this register.

試験系列発生回路10は、32段直列に接続されたフリ
ップフロップを含む回路12ないし43、排他的論理和
演算(FOR)回ff444.45および46、それぞ
れ12ないし43のいずれかのフリップフロップを含む
回路の出力端子Qに接続され、各フリップフロップを含
む回路の出力端子Qに保持される値を内部データバス1
1に出力する3値ドライバ51ないし82を有する他、
本発明の耶旨に沿いマルチプレクサ(MUX>90を有
する。
The test sequence generation circuit 10 includes circuits 12 to 43 including 32 stages of flip-flops connected in series, exclusive OR operation (FOR) times ff444, 45 and 46, each including any one of 12 to 43 flip-flops. The internal data bus 1 is connected to the output terminal Q of the circuit and carries the value held at the output terminal Q of the circuit including each flip-flop.
In addition to having ternary drivers 51 to 82 that output to 1,
According to the purpose of the present invention, a multiplexer (MUX>90) is provided.

MUX90は、10段目、30段目、31段目および3
2段目のフリップフロップを含む回路のQ出力に対する
排他的論理和の演算結果としてのEOR回路44の出力
100、および直列構成において最終の段を占めるフリ
ップフロップを含む回路43の出力Q32を入力し、ま
たEOR回路44の出力100およびフリップフロップ
を含む回路43の出力Q32のうちからの初段のフリッ
プフロップを含む回路12の入力端子に出力されるべき
信号の選択を制御する制御信号102を入力している。
MUX90 has 10th stage, 30th stage, 31st stage and 3rd stage.
The output 100 of the EOR circuit 44, which is the result of the exclusive OR operation on the Q output of the circuit including the second stage flip-flop, and the output Q32 of the circuit 43 including the flip-flop occupying the final stage in the series configuration are input. , and a control signal 102 for controlling the selection of the signal to be output from the output 100 of the EOR circuit 44 and the output Q32 of the circuit 43 including the flip-flop to the input terminal of the circuit 12 including the first stage flip-flop. ing.

第2図に、フリップフロップを含む回路12の回路構成
を示す。他の7リツプフロツグを含む回路13ないし4
3もこれと全く同様の構成を有する。
FIG. 2 shows the circuit configuration of the circuit 12 including flip-flops. Circuits 13 to 4 containing other 7 lipfrogs
3 also has a completely similar configuration.

フリップフロップを含む回路12はD型フリップフロッ
プ105と2個のセレクタ107および108とから構
成される。セレクタ108に対する制御のため端子Uを
介して入力される信号110が論理値0であるとき、フ
リップフロップ105のQ出力が入力1則にフィードバ
ックされ、フリップフロップ105はデータを保持する
。一方、信号110が論理値1であるとき、セレクタ1
07に対する制御信5号として端子Tを介して入力され
る信号111が論理値0あるいは1であれば、フリップ
フロップ105はそれぞれ端子Sあるいは端子Pを通じ
て信号を入力する。
The circuit 12 including flip-flops is composed of a D-type flip-flop 105 and two selectors 107 and 108. When the signal 110 input via the terminal U for control of the selector 108 has a logic value of 0, the Q output of the flip-flop 105 is fed back to the input 1 rule, and the flip-flop 105 holds data. On the other hand, when the signal 110 has a logic value of 1, the selector 1
If the signal 111 input as the control signal 5 for 07 through the terminal T has a logical value of 0 or 1, the flip-flop 105 inputs the signal through the terminal S or terminal P, respectively.

このような構成を有する試験系列発生回E@ 10を用
いて次のように集積回路に対する試験が実行される。
Using the test sequence generation circuit E@10 having such a configuration, a test on an integrated circuit is executed as follows.

すなわち、本実施例の集積回路に対する試験を開始する
に際し、集積回路の所定の入力ピンに試験開始信号を入
力することにより、試験系列発生回路10は活性化され
、その機能の実行を開始する。
That is, when starting a test on the integrated circuit of this embodiment, by inputting a test start signal to a predetermined input pin of the integrated circuit, the test sequence generation circuit 10 is activated and starts executing its function.

機能試験は、マイクロROMに格納された試験用マイク
ロプログラムの内容に従い、その所定の順序で集積回路
内各回路ブロック毎に行われる。
The functional test is performed for each circuit block in the integrated circuit in a predetermined order according to the contents of the test microprogram stored in the microROM.

例えば一連のマイクロ命令がALUに対する試験に対応
するものであるとき、その中の1つのマイクロ命令が前
記マイクロ命令保持用レジスタに読み出され、このマイ
クロ命令は、バスからALUへの書き込みを指定し、ま
たALUの試験に対応した試験データを試験系列発生回
路からバスへ読み出す指示をしている。このように、試
験系列発生回路の動作はマイクロ命令の支配下にある。
For example, when a series of microinstructions corresponds to a test on an ALU, one of the microinstructions is read into the microinstruction holding register, and this microinstruction specifies a write from the bus to the ALU. , and instructs to read test data corresponding to the ALU test from the test sequence generation circuit to the bus. In this way, the operation of the test sequence generation circuit is under the control of microinstructions.

例えば試験対象回路ブロックがそれぞれ組み合わせ論理
回路またはALUあるいはRAMであるとき上記したよ
うにマイクロ命令に従いMUX90に対する制御信号1
02の値はそれぞれOまたは1に設定され、フリップフ
ロップを含む回路12の入力端子SにはそれぞれEOR
回路44の出力100、フリップフロップを含む回路4
3の出力Q32がMUX90により選択されて入力され
る。フリップフロップを含む回路12へのこの2種類の
入力態様のそれぞれに応じた異なった態様で試験系列発
生回路10は試験系列を発生する。
For example, when the circuit blocks to be tested are combinational logic circuits, ALUs, or RAMs, the control signal 1 to the MUX 90 according to the microinstruction as described above.
The value of 02 is set to O or 1, respectively, and the input terminal S of the circuit 12 including the flip-flop is set to EOR.
Output 100 of circuit 44, circuit 4 including flip-flops
The output Q32 of No. 3 is selected and inputted by the MUX 90. The test sequence generation circuit 10 generates test sequences in different manners depending on these two types of input manners to the circuit 12 including flip-flops.

すなわち、フリップフロップを含む回路12の入力端子
SにEOR回路44の出力100が入力されるとき、フ
リップフロップを含む回路12ないし43、EOR,回
路44.45および46、およびMUX90は全体とし
てLFSRの構成をとるものであり、このLFSRは3
2ビツトの擬似乱数データを内部データバス11上に出
力する。
That is, when the output 100 of the EOR circuit 44 is input to the input terminal S of the circuit 12 including the flip-flop, the circuits 12 to 43 including the flip-flop, the EOR circuits 44, 45 and 46, and the MUX 90 as a whole are connected to the LFSR. This LFSR is 3
2-bit pseudo-random number data is output onto the internal data bus 11.

このような試験系列としての擬似乱数データの集合はい
わゆるM (Maximum)系列をなすものであり、
本実施例の場合232 1という長い周期を有する。
A set of pseudorandom number data as a test series forms a so-called M (Maximum) series,
In this embodiment, the period is as long as 2321.

一方、MUX90が制御信号102の値1に応じてフリ
ップフロップを含む回路43の出力Q32を選択してフ
リップフロップを含む回路12の入力端子Sに供給する
ときフリップフロップを含む回路12ないし43および
MUX90は全体として循環的なシフトレジスタを構成
し、試験系列発生回路10は後に例を用いて説明される
データローテーションモードで内部データバス11上に
試験系列を発生する。
On the other hand, when the MUX 90 selects the output Q32 of the circuit 43 including the flip-flop in accordance with the value 1 of the control signal 102 and supplies it to the input terminal S of the circuit 12 including the flip-flop, the circuits 12 to 43 including the flip-flop and the MUX 90 constitutes a circular shift register as a whole, and the test sequence generation circuit 10 generates a test sequence on the internal data bus 11 in a data rotation mode, which will be explained later using an example.

一方、各試験対象回路に対しその回路の種類に応じた試
験系列の供給を開始するに際しては、各フリップフロッ
プを含む回路12ないし43内フリツプフロツプに初期
値を設定することが必要であるが、それは次のように行
われる。
On the other hand, when starting to supply a test series according to the type of circuit to each circuit under test, it is necessary to set initial values to the flip-flops in circuits 12 to 43 including each flip-flop. It is done as follows.

すなわち、初期値設定のマクロ命令が行われるタロツク
サイクルにおいては第3図に示される、制御信号115
,116および117はそれぞれ論理値1,1.Oを有
し、各フリップフロップを含む回路の入力側に設けられ
たセレクタ107゜108においてこの制御信号値の組
み合わせに応じた選択がなされ、内部データバス11上
に存在する初期値データがセレクタ107,108を介
し各フリップフロップに入力され、保持される。
That is, in the tarok cycle in which the initial value setting macro command is executed, the control signal 115 shown in FIG.
, 116 and 117 are logical values 1, 1 . A selection is made in accordance with the combination of control signal values in selectors 107 and 108 provided on the input side of the circuit including each flip-flop, and the initial value data present on the internal data bus 11 is transferred to the selector 107. , 108 to each flip-flop and are held therein.

また、試験データ読み出しサイクルにおいては制御信号
115,116おび117の論理値はそれぞれ0,1.
1であり各フリップフロップを含む回路12等は保持し
ている値を3値ドライバ51等を介して内部データバス
11に出力し、フリップフロップを含む回路12ないし
43はセレクタ107および108を介して前段のフリ
ップフロップを含む回路のQ出力をその入力端子に入力
する。
Further, in the test data read cycle, the logical values of control signals 115, 116 and 117 are 0, 1, .
1, and the circuit 12 etc. including each flip-flop outputs the held value to the internal data bus 11 via the ternary driver 51 etc., and the circuits 12 to 43 including the flip-flop output the held value to the internal data bus 11 via the selectors 107 and 108. The Q output of the circuit including the previous stage flip-flop is input to its input terminal.

初期値設定および試験データ読み出し以外のサイクルに
おいては制御信号116および117の値は0であり、
試験系列発生回路は何ら動作を行わない。
In cycles other than initial value setting and test data reading, the values of control signals 116 and 117 are 0,
The test sequence generation circuit does not perform any operation.

このような制御信号115ないし117の値の設定はマ
イクロプログラムの実行により行われる。
The values of the control signals 115 to 117 are set by executing a microprogram.

試験系列発生回路10がデータローテーションモードで
試験系列を発生する場合を例を用いて説明する。
A case in which the test sequence generation circuit 10 generates a test sequence in data rotation mode will be described using an example.

すなわち、この動作モードにあっては各フリップフロッ
プに設定された初期値の組に逐次巡回操作を施した態様
にて試験データが内部データバス11上に出力される。
That is, in this operation mode, test data is output onto the internal data bus 11 in a manner in which a set of initial values set for each flip-flop is sequentially subjected to cyclic operations.

例えば、各フリップフロップに回812内フリップフロ
ップの値が1である以外はすべてOであるようにマイク
ロ命令により初期値を設定すると。
For example, if initial values are set for each flip-flop by a microinstruction so that all the flip-flops in circuit 812 have a value of O except for the value of the flip-flop in circuit 812, which is 1.

このデータローテーションモードでは次のような試験系
列がマイクロ命令による試験系列発生回路への読み出し
が起こるごとに内部データバス11上に出力される: 読み出し番号    試験データ 1     (10000・・・000)2     
(01000・・・000)3     (00100
・・・000)4     (00010・・・000
)試験データを示すかっこ内の数字の配列において左か
らi番目の数値はフリップフロップを含む回路12ない
し43からなるシフトレジスタ内i段目のフリップフロ
ップを含む回路からの値に対応する。
In this data rotation mode, the following test sequence is output onto the internal data bus 11 every time a microinstruction reads the test sequence generation circuit: Read number Test data 1 (10000...000) 2
(01000...000)3 (00100
...000)4 (00010...000
) In the array of numbers in parentheses indicating test data, the i-th number from the left corresponds to the value from the circuit including the i-th stage flip-flop in the shift register consisting of circuits 12 to 43 including flip-flops.

すなわち、この例に示されるようにデータローテーショ
ンモードにあっては、各フリップフロップを含む回路か
らその保持している値が読み出されて得られる試験デー
タは、その前の回の読み出しにおける試験データを巡回
したものとなっている。つまり、iは1ではないとして
、当該読み出しにおける1段目のフリップフロップを含
む回路からの値は前回読み出しにおけるi −1段目の
フリップフロップを含む回路からの値に等しい。なお、
当該読み出しにおける1段目のフリップフロップを含む
回2412からの値は前回読み出しにおける32段目の
フリップフロップを含む回路43からの値に等しい。
In other words, in the data rotation mode as shown in this example, the test data obtained by reading the held value from the circuit including each flip-flop is the same as the test data from the previous read. It has been toured. That is, assuming that i is not 1, the value from the circuit including the first-stage flip-flop in the current reading is equal to the value from the circuit including the i-1-th stage flip-flop in the previous read. In addition,
The value from the circuit 2412 including the first stage flip-flop in this readout is equal to the value from the circuit 43 including the 32nd stage flip-flop in the previous readout.

この試験系列は、本実施例にあってはALU等の回路ブ
ロックに対する試験に用いられる。
In this embodiment, this test series is used to test circuit blocks such as ALU.

すなわち、この試験系列を構成する各試験データはマイ
クロ命令により制御されて内部データバス11を通じて
例えばALUに供給され、そこでビットパターン反転等
の所定の処理を受け、その処理結果が別のマイクロ命令
により制御されてALUより読み出され、内部データバ
ス11を介し、従来公知のデータ圧縮回路に導かれ、そ
の出力が期待値と比較されることにより、ALUに対す
る機能試験が行われる。
That is, each test data constituting this test series is controlled by a microinstruction and supplied to, for example, an ALU via the internal data bus 11, where it is subjected to predetermined processing such as bit pattern inversion, and the processing result is transmitted by another microinstruction. The data is read out from the ALU under control, guided to a conventionally known data compression circuit via the internal data bus 11, and its output is compared with an expected value to perform a functional test on the ALU.

また、池の例として初期値(01010・・・101)
を各フリップフロップに設定するとデータローテーショ
ンモードでは次のような試験系列が得られる: 読み出し番号    試験データ 1     (01010・・・101)2     
(10101・・・010)3     (01010
・・・101)4     (10101・・・010
)この試験系列は、0と1とが交互に規則的に出現する
特性を有し、チエッカフラグパターンと呼ばれるもので
あり、本実施例にあってはRAM等の回路ブロックに対
する試験において用いられる。
Also, as an example of a pond, the initial value (01010...101)
When set to each flip-flop, the following test sequence is obtained in data rotation mode: Readout number Test data 1 (01010...101)2
(10101...010)3 (01010
...101)4 (10101...010
) This test series has a characteristic in which 0s and 1s appear regularly and alternately, and is called a checker flag pattern, and in this embodiment, it is used in testing circuit blocks such as RAM. .

すなわち、読み出された1番目の試験データはマイクロ
命令による制御のもとにRAMに供給されその1番目の
アドレスに格納される。さらにその格納結果が他のマイ
クロ命令の制御のもとに内部データバス11上に読み出
され、RAMの試験が行われる。
That is, the first test data read out is supplied to the RAM under the control of the microinstruction and stored at the first address. Furthermore, the stored results are read out onto the internal data bus 11 under the control of other microinstructions, and the RAM is tested.

このように本実施例にあっては集積回路チップ上に、デ
ータローテーションモードと擬似乱数発生モードとにお
いて試験系列を発生する試験系列発生回路を組み込み、
試験対象回路ブロックの種類に応じ自動的にその試験対
象回路ブロックに対する試験を最も効率的に行わしめる
試験系列を発生するように構成・制御するので試験時間
の大幅な短縮化が達成される。
As described above, in this embodiment, a test sequence generation circuit that generates test sequences in the data rotation mode and the pseudorandom number generation mode is incorporated on the integrated circuit chip.
Since the system is configured and controlled to automatically generate a test sequence that most efficiently tests the circuit block to be tested depending on the type of the circuit block to be tested, a significant reduction in testing time is achieved.

また、3値ドライ、バラ1等は各フリップフロップから
内部データバス11上へのデータ読み出し以外のサイク
ルでは信号117の値をOとしハイインピーダンス状態
に保持される。
In addition, the ternary driver, rose 1, etc. are held in a high impedance state with the value of the signal 117 set to O in cycles other than data reading from each flip-flop onto the internal data bus 11.

次に本発明の第2の実施例について述べる。第3図に本
実施例の自己診断機能内蔵集積回路において用いられる
試験系列発生回路120の回路構成を示す。
Next, a second embodiment of the present invention will be described. FIG. 3 shows the circuit configuration of the test sequence generation circuit 120 used in the integrated circuit with built-in self-diagnosis function of this embodiment.

試験系列発生回路120はフリップフロップを含む回路
12ないし43、EOR回路44.45および46.3
値ドライバラエないし82およびマルチプレクサ(MU
X>90等を有して構成される。その基本的構成は前記
第1の実施例の試験系列発生回路10の場合同一であり
、両者において対応する機能を有する要素は同一の符号
をもって参照される。
The test sequence generation circuit 120 includes circuits 12 to 43 including flip-flops, and EOR circuits 44.45 and 46.3.
Value driver array or 82 and multiplexer (MU
It is configured such that X>90. The basic configuration is the same as that of the test sequence generation circuit 10 of the first embodiment, and elements having corresponding functions are referred to by the same reference numerals in both cases.

本実施例にあっては、MUX90にはEOR回路44の
出力100と図示されない固定値発生部からの信号12
1とが入力されている。さらにMUX90には制御信号
102が入力されており、この制御信号の値に従ってM
UX90の出力の選択がなされる。すなわち、制御信号
102が論理値0を有するとき、MUX90はその2つ
の入力のうちからEOR回路44出力100を選択しそ
れをフリップフロップを含む回路12の入力端子Sに出
力する。この場合前記第1の実施例の場合と同様に試験
系列発生回路120は内部データバス11上に擬似乱数
データを出力する。
In this embodiment, the MUX 90 receives the output 100 of the EOR circuit 44 and the signal 12 from a fixed value generator (not shown).
1 is input. Furthermore, a control signal 102 is input to the MUX 90, and according to the value of this control signal,
A selection of the output of the UX 90 is made. That is, when the control signal 102 has a logic value of 0, the MUX 90 selects the EOR circuit 44 output 100 from among its two inputs and outputs it to the input terminal S of the circuit 12 including the flip-flop. In this case, the test sequence generation circuit 120 outputs pseudorandom number data onto the internal data bus 11 as in the first embodiment.

一方、制御信号102が論理値1を有するとき、MUX
90は固定値発生部からの信号121を選択してフリッ
プフロップを含む回路12の入力端子Sに供給する。こ
の場合、試験系列発生回路120は以下に例を用いて示
される固定値シフトインモードでデータを発生し、内部
データバス11上にデータが読み出されるごとに、信号
121の値がフリップフロップを含む回路12ないし4
3から構成されるシフトレジスタにシフトインされる。
On the other hand, when the control signal 102 has a logic value of 1, the MUX
90 selects the signal 121 from the fixed value generator and supplies it to the input terminal S of the circuit 12 including a flip-flop. In this case, the test sequence generation circuit 120 generates data in a fixed value shift-in mode, as illustrated below using an example, so that each time data is read onto the internal data bus 11, the value of the signal 121 includes a flip-flop. Circuits 12 to 4
The signal is shifted into a shift register consisting of 3.

例えば各フリップフロップに初期値(00000・・・
000)を設定し、制御信号102の値を1に設定する
と、データを読み出すごとに次のような一連のデータ、
すなわち試験系列が内部データバス11上に出力される
: 読み出し番号    試験データ 1     (00000・・・000)2     
(10000・・・000)3     (11000
・・・000)4     (11100・・・000
)固定値発生部を構成する主要要素としては試験用マイ
クロプログラムを格納するマイクロROMおよびマイク
ロ命令保持用レジスタがあり、固定値シフトインモード
での試験系列の発生を制御する試験用マイクロプログラ
ム内マイクロ命令に当該固定値発生のためのデータが保
持されている。
For example, each flip-flop has an initial value (00000...
000) and set the value of the control signal 102 to 1, each time data is read, the following series of data,
That is, the test series is output onto the internal data bus 11: Readout number Test data 1 (00000...000) 2
(10000...000)3 (11000
...000)4 (11100...000
) The main elements constituting the fixed value generator are a micro ROM that stores a test microprogram and a register for holding micro instructions. The data for generating the fixed value is held in the instruction.

同様に固定値シフトインモードでの試験系列発生を制御
するマイクロプログラム中地のマイクロ命令にMUX9
0への制御信号102が値1をとり、MUX90が論理
値0あるいは1の固定値信号121を選択するようにな
すためのデータが保持されている。
Similarly, MUX9 is added to the microinstruction in the middle of the microprogram that controls test sequence generation in fixed value shift-in mode.
The control signal 102 to 0 takes the value 1, and data is held for causing the MUX 90 to select the fixed value signal 121 having a logical value of 0 or 1.

先の例の試験系列は、ALU、シフタ、加算器等の回路
ブロックに対する試験に用いられるものであるが、試験
方法については前記第1の実施例の場合と基本的には同
一である。例えば、加算器に対する試験時においては、
対応する試験用マイクロプログラムが実行され、内部デ
ータバス11に出力された32ビツトの試験データは、
内部データバス11に接続されている加算器に転送され
、その演算結果が内部データバス11を介しデータ圧縮
器に転送され、その結果を期待値と比較することにより
加算回路が正規の機能を果し得ているかどうかが判定さ
れる。
The test series in the previous example is used to test circuit blocks such as ALUs, shifters, adders, etc., but the test method is basically the same as in the first embodiment. For example, when testing an adder,
The corresponding test microprogram is executed and the 32-bit test data output to the internal data bus 11 is
The calculation result is transferred to the data compressor via the internal data bus 11, and the addition circuit performs its normal function by comparing the result with the expected value. It will be determined whether it is possible.

次に本発明の第3の実施例について述べる。第4図に本
実施例の自己診断機能内蔵集積回路において用いられる
試験系列発生回路130の回路構成を示す。
Next, a third embodiment of the present invention will be described. FIG. 4 shows the circuit configuration of the test sequence generation circuit 130 used in the integrated circuit with built-in self-diagnosis function of this embodiment.

試験系列発生回路130はフリップフロップを含む回路
12ないし43、EOR回路44.45および46.3
値ドライバラエないし82およびマルチプレクサ(MU
X>91および92等を有して構成される。そのMUX
91および92を除いた部分の基本的構成は前記第1の
実施例の試験系列発生回路10のものと同一であり、本
実施例にあっても両者において対応する機能を有する要
素は互いに同一の符号をもって参照される。
The test sequence generation circuit 130 includes circuits 12 to 43 including flip-flops, and EOR circuits 44.45 and 46.3.
Value driver array or 82 and multiplexer (MU
X>91 and 92, etc. That MUX
The basic configuration of the parts excluding 91 and 92 is the same as that of the test sequence generation circuit 10 of the first embodiment, and even in this embodiment, the elements having corresponding functions in both are the same. Referenced by code.

本実施例にあっては、MUX91には図示されない固定
値発生部からの信号135とフリップフロップを含む回
路43の出力Q32とが入力され、MUX92にはEO
R回路44の出力100とMUX91からの信号131
とが入力されている。
In this embodiment, a signal 135 from a fixed value generator (not shown) and an output Q32 of a circuit 43 including a flip-flop are input to the MUX 91, and an EO signal is input to the MUX 91.
Output 100 of R circuit 44 and signal 131 from MUX 91
is entered.

さらにMUX91および92にはそれぞれ制御信号13
4あるいは133が入力されており、この制御信号13
3および134の値に従ってMUX91および92の出
力の選択がなされる。すなわち、制御信号133が論理
値Oを有するとき、MUX92はその2つの入力のうち
がらEOR回路44の出力100を選択しそれを出力す
る。この場合前記第1の実施例の場合と同様に試験系列
発生回路130はその内部データバス11上に擬似乱数
データを出力する。
Furthermore, MUX91 and MUX92 each have a control signal 13.
4 or 133 is input, and this control signal 13
The outputs of MUX 91 and 92 are selected according to the values of 3 and 134. That is, when the control signal 133 has a logical value O, the MUX 92 selects the output 100 of the EOR circuit 44 from among its two inputs and outputs it. In this case, the test sequence generation circuit 130 outputs pseudorandom number data onto its internal data bus 11, as in the first embodiment.

一方、制御信号133が論理値1を有するとき、MUX
92はMUX91からの入力131を選択するが、さら
にこのときMUX91に対する制御信号134の値が1
であれば、MUX91および92により固定値発生部か
らの信号135が選択されてフリップフロップを含む回
路12の入力端子Sに供給される。この場合、第2の実
施例に関し前記したように試験系列発生回路130は固
定値シフトインモードでデータを発生する。
On the other hand, when the control signal 133 has a logic value of 1, the MUX
92 selects input 131 from MUX 91, but at this time, the value of control signal 134 to MUX 91 is 1.
If so, the signal 135 from the fixed value generator is selected by the MUXs 91 and 92 and supplied to the input terminal S of the circuit 12 including the flip-flop. In this case, the test sequence generation circuit 130 generates data in fixed value shift-in mode, as described above with respect to the second embodiment.

一方、制御信号133および134がそれぞれ論理値1
および0を有するとき、MUX91および92は入力の
うちからフリップフロップを含む回路43の出力Q32
を選択しフリップフロップ含む回路12の入力端子Sに
出力し、この場合試験系列発生回路130は第1の実施
例に関し述べたようにデータローテーションモードで試
験データを発生する。
On the other hand, control signals 133 and 134 each have a logic value of 1.
and 0, MUX91 and MUX92 output Q32 of circuit 43 including a flip-flop from among the inputs.
is selected and outputted to the input terminal S of the circuit 12 including a flip-flop, and in this case, the test sequence generating circuit 130 generates test data in the data rotation mode as described in connection with the first embodiment.

本実施例にあっても、試験はマイクロROMに格納され
ている試験用マイクロプログラムの制御のもとに行われ
、例えば試験対象回路ブロックの種類に応じた試験系列
を発生するためのMUX91および92への制御信号1
33および134の値の設定は、マイクロ命令に保持さ
れるデータにもとすいてなされる。 本実施例にあって
は前記第1の実施例の場合と同じ効果が得られるだけで
なく、集積回路内に複数の種類の回路ブロックが存在す
るとき、各々に対応し、最適な試験系列を発生し、これ
を用いて試験を行うことができるから、いっそうの試験
の合理化および時間の短縮化がなされる。
Even in this embodiment, the test is carried out under the control of the test microprogram stored in the micro ROM. For example, the MUX 91 and 92 Control signal 1 to
The values of 33 and 134 are also set based on the data held in the microinstruction. In this embodiment, not only can the same effects as in the first embodiment be obtained, but also when there are multiple types of circuit blocks in an integrated circuit, an optimal test sequence can be determined for each type of circuit block. Since the test can be performed using the generated test data, the test can be further streamlined and the test time can be shortened.

さらに次に本発明の第4の実施例について述べる。本実
施例の自己診断機能内蔵集積回路は第5図に示すように
フリップフロップを含む回路12ないし43、EOR回
路44.45および46.3値ドライバ51ないし82
、マルチプレクサ(MUX>90およびトグルフリップ
フロップ回路141を有して構成される試験系列発生回
路140を用いる。そのトグルフリップフロップ回路1
41を除いた部分の基本的構成は前記第1の実施例の試
験系列発生回路10の場合と同一であり、本実施例にあ
っても両者において対応する機能を有する要素は互いに
同一の符号をもって参照される。
Next, a fourth embodiment of the present invention will be described. As shown in FIG. 5, the integrated circuit with built-in self-diagnosis function of this embodiment includes circuits 12 to 43 including flip-flops, EOR circuits 44, 45, and 46. Three-value drivers 51 to 82.
, a test sequence generation circuit 140 configured with a multiplexer (MUX>90 and a toggle flip-flop circuit 141) is used.The toggle flip-flop circuit 1
The basic configuration of the parts other than 41 is the same as that of the test sequence generation circuit 10 of the first embodiment, and even in this embodiment, elements having corresponding functions in both have the same reference numerals. Referenced.

トグルフリップフロップ回路141内回路143はフリ
ップフロップを含む回路12と同じ構成を有する。
The circuit 143 in the toggle flip-flop circuit 141 has the same configuration as the circuit 12 including flip-flops.

本実施例にあっては、MUX90にはEOR回路44の
出力100とトグルフリップフロップ回路141からの
信号142とが入力されている。
In this embodiment, the output 100 of the EOR circuit 44 and the signal 142 from the toggle flip-flop circuit 141 are input to the MUX 90.

M U X 90におけるこの両信号からのフリップフ
ロップを含む回路12に出力されるべき信号の選択は制
御信号102の値に従ってなされる。
The selection of the signal from both signals in MUX 90 to be output to circuit 12, which includes a flip-flop, is made according to the value of control signal 102.

すなわち、制御信号102の値が0であるときMUX9
0はEOR回B44出力100を選択してフリップフロ
ップを含む回路12に出力し、フリップフロップを含む
回路12ないし43、EOR回路44.45および46
およびMUX90はLFSR構成をとり、内部データバ
ス11上に32ビツトの擬似乱数データの集合である擬
似乱数系列が得られる。
That is, when the value of the control signal 102 is 0, MUX9
0 selects the EOR circuit B44 output 100 and outputs it to circuit 12 including flip-flops, circuits 12 to 43 including flip-flops, EOR circuits 44, 45, and 46.
The MUX 90 has an LFSR configuration, and a pseudo-random number sequence, which is a set of 32-bit pseudo-random number data, is obtained on the internal data bus 11.

一方、制御信号102の値が1であるとき、MUX90
はトグルフリップフロップ回路出力142を選択してフ
リップフロップを含む回路12に出力する。この場合、
内部データバス11上の試験データが試験対象回路に読
み出されるごとにトグルフリップフロップ回路141は
トグル動作を行いその出力142の値は反転される。
On the other hand, when the value of the control signal 102 is 1, the MUX 90
selects the toggle flip-flop circuit output 142 and outputs it to the circuit 12 including the flip-flop. in this case,
Each time the test data on the internal data bus 11 is read out to the circuit under test, the toggle flip-flop circuit 141 performs a toggle operation and the value of its output 142 is inverted.

トグルフリップフロップ回路141への初期値設定は、
制御信号115および116の値をともに1に設定する
ことにより行われ、これにより接地されている回路14
3の端子Pを通じて初期値0が設定される。
The initial value setting for the toggle flip-flop circuit 141 is as follows.
This is done by setting the values of control signals 115 and 116 both to 1, which causes the grounded circuit 14 to
The initial value 0 is set through the terminal P of No. 3.

例えば、初期値として(10101・・・010)をフ
リップフロップを含む回路12ないし43内各フリツプ
フロツプに設定し、トルグフリッブフロッグ回路141
から0.1の順序で繰り返された値を有する信号をフリ
ップフロップを含む回路12に出力した場合、次のよう
な試験系列が内部データバス1上上に出力される: 読み出し番号   試験データ 1     (10101・・・010)2     
(01010・・・101)3     (10101
・・・010)4     (01010・・・101
)このトグルモードで発生される試験系列は、チエッカ
フラグパターンをなしており、RAMに対する試験に好
適に用いられる。
For example, (10101...010) is set as an initial value in each flip-flop in circuits 12 to 43 including flip-flops, and
When a signal having values repeated in the order of 0.1 from 10101...010)2
(01010...101)3 (10101
...010)4 (01010...101
) The test sequence generated in this toggle mode has a checker flag pattern and is suitably used for testing RAM.

以上、本発明の実施例としては、試験系列発生回路を具
備する自己診断機能内蔵集積回路につぃて述べたが、こ
れらのものに限られるわけではなく、例えば、試験対象
集積回路とは独立に本発明に従い構成される試験系列発
生回路を設け、試験を行ってもよい。この場合であって
も、例えば基本的に第3図に示される構成の試験系列発
生回路を用いれば、比較的簡単な構成にて擬似乱数、デ
ータローテーションおよび固定値シフトインの各特性を
有する複数の試験系列を発生することができ、そのうち
試験対、象回路の種類に最適なものを用いて試験を行う
ようにすれば、試験の著しい合理化および大幅な試験時
間の短縮化がなされる。
Although the embodiments of the present invention have been described above as integrated circuits with a built-in self-diagnosis function that are equipped with a test sequence generation circuit, the present invention is not limited to these. A test sequence generation circuit constructed according to the present invention may be provided in the test system to perform the test. Even in this case, for example, if a test sequence generation circuit having the configuration basically shown in FIG. 3 is used, a plurality of multiple If a test sequence is generated, and if the test is performed using the one most suitable for the type of circuit to be tested, the test can be significantly streamlined and the test time can be significantly shortened.

[発明の効果] 本発明は、以上説明したように構成されているので、以
下に述べるような効果を有する。
[Effects of the Invention] Since the present invention is configured as described above, it has the following effects.

従来のLFSRにゲートを付加する比較的簡単な構成に
て、初期値データと動作モードとを任意に組み合わせる
ことにより擬似乱数の特性を有する試験系列だけでなく
、種々の規則性を有する複数の試験系列を発生すること
ができ、したがって試験対象回路の種類に応じた最適の
試験系列を用いて機能試験を行うことができ、試験時間
の大幅な短縮化がなされる。
With a relatively simple configuration that adds a gate to a conventional LFSR, by arbitrarily combining initial value data and operation modes, it is possible to generate not only test sequences with pseudo-random number characteristics but also multiple tests with various regularities. Therefore, a functional test can be performed using the optimum test sequence according to the type of circuit to be tested, and the test time can be significantly shortened.

また、RAMに対する試験のため、チエッカフラグパタ
ーンを有する試験系列を発生することも可能である。
It is also possible to generate a test sequence with a checker flag pattern for testing the RAM.

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

第1図、第3図、第4図および第5図はそれぞれ本発明
の第1、第2、第3および第4の実施例の試験系列発生
回路の回路図、第2図は第1図、第3図、第4図および
第5図の試験系列発生回路で用いられるフリップフロッ
プを含む回路の回路図、第6図は従来技術による試験系
列発生回路の回路図である。 1・・・LFSR 2,3,9・・・フリップフロップ 10.120,130,140 ・・・試験系列発生回路 11・・・内部データバス 12.13,14,39,41,42,43゜143・
・・フリップフロップを含む回路44.45.46・・
・EOR回路 51.52,53,78,79,80,81゜82・・
・3値ドライバ 90.91.92・・・マルチプレクサ(MUX)10
2.115,116,117,133゜134・・・制
御信号 105・・・D型フリップフロップ 107.108・・・セレクタ
1, 3, 4 and 5 are circuit diagrams of test sequence generation circuits according to first, second, third and fourth embodiments of the present invention, respectively, and FIG. , FIG. 6 is a circuit diagram of a test sequence generation circuit according to the prior art. 1... LFSR 2, 3, 9... Flip-flop 10.120, 130, 140... Test sequence generation circuit 11... Internal data bus 12.13, 14, 39, 41, 42, 43° 143・
・Circuit including flip-flop 44, 45, 46...
・EOR circuit 51, 52, 53, 78, 79, 80, 81° 82...
・Three-level driver 90.91.92...Multiplexer (MUX) 10
2.115,116,117,133°134...Control signal 105...D type flip-flop 107.108...Selector

Claims (4)

【特許請求の範囲】[Claims] (1)試験対象回路に供給されるべき試験系列を発生す
る試験系列発生回路であって、フリップフロップを複数
個直列に接続して構成される第1の回路手段と、第1の
回路手段を構成するフリップフロップの中の複数のフリ
ップフロップの出力を入力しこれらの排他的論理和を演
算し、前記第1の回路手段が試験対象回路の種類に応じ
た試験系列を発生するように前記第1の回路手段の初段
のフリップフロップの入力端子に前記排他的論理和の演
算結果である第1の信号、前記第1の回路手段の最終段
のフリップフロップの出力である第2の信号、一定の論
理値1もしくは0を有する第3の信号、あるいは交互に
論理値1および0の出現する第4の信号のうち少なくと
も2つの信号から1つの信号を選択して供給する第2の
回路手段とを有することを特徴とする試験系列発生回路
(1) A test sequence generation circuit that generates a test sequence to be supplied to a circuit under test, comprising a first circuit means configured by connecting a plurality of flip-flops in series; The first circuit means inputs the outputs of a plurality of flip-flops among the flip-flops constituting the flip-flops, calculates an exclusive OR of these, and causes the first circuit means to generate a test sequence according to the type of circuit to be tested. A first signal, which is the result of the exclusive OR operation, is input to the input terminal of the flip-flop in the first stage of the first circuit means, and a second signal, which is the output of the flip-flop in the last stage of the first circuit means, is constant. a third signal having a logical value of 1 or 0, or a fourth signal in which logical values of 1 and 0 appear alternately; second circuit means for selecting and supplying one signal from at least two signals; A test sequence generation circuit comprising:
(2)第2の回路手段が、交互に論理値1および0の出
現する第4の信号を発生するためのトグルフリップフロ
ップを有することを特徴とする請求項1記載の試験系列
発生回路。
2. The test sequence generation circuit according to claim 1, wherein the second circuit means has a toggle flip-flop for generating a fourth signal in which logic values of 1 and 0 appear alternately.
(3)フリップフロップを複数個直列に接続して構成さ
れる第1の回路手段と、第1の回路手段を構成するフリ
ップフロップの中の複数のフリップフロップの出力を入
力してこれらの入力の排他的論理和を演算し、前記第1
の回路手段が試験対象回路の種類に応じた試験系列を発
生するように前記第1の回路手段の初段のフリップフロ
ップの入力端子に前記排他的論理和の演算結果である第
1の信号、前記第1の回路手段の最終段のフリップフロ
ップの出力である第2の信号、一定の論理値1もしくは
0を有する第3の信号、あるいは交互に論理値1および
0の出現する第4の信号のうち少なくとも2つの信号か
ら1つの信号を選択して供給する第2の回路手段とを有
する試験系列発生回路を用いて行われることを特徴とす
る集積回路試験法。
(3) A first circuit means configured by connecting a plurality of flip-flops in series, and inputting the outputs of a plurality of flip-flops among the flip-flops forming the first circuit means, and calculate the exclusive OR, and
A first signal which is the result of the exclusive OR operation is applied to the input terminal of the first stage flip-flop of the first circuit means so that the circuit means generates a test sequence according to the type of circuit to be tested. a second signal which is the output of the last flip-flop of the first circuit means; a third signal having a constant logic value of 1 or 0; or a fourth signal in which logic values of 1 and 0 appear alternately. 1. An integrated circuit testing method characterized in that it is carried out using a test sequence generation circuit having second circuit means for selecting and supplying one signal from at least two of the signals.
(4)試験対象回路とともに請求項1記載の試験系列発
生回路を具備することを特徴とする自己診断機能内蔵集
積回路。
(4) An integrated circuit with a built-in self-diagnosis function, comprising the test sequence generation circuit according to claim 1 together with a circuit to be tested.
JP63222488A 1988-09-07 1988-09-07 Test sequence generation circuit Pending JPH0271178A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP63222488A JPH0271178A (en) 1988-09-07 1988-09-07 Test sequence generation circuit
KR1019890012928A KR900005450A (en) 1988-09-07 1989-09-07 Test series generating circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63222488A JPH0271178A (en) 1988-09-07 1988-09-07 Test sequence generation circuit

Publications (1)

Publication Number Publication Date
JPH0271178A true JPH0271178A (en) 1990-03-09

Family

ID=16783215

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63222488A Pending JPH0271178A (en) 1988-09-07 1988-09-07 Test sequence generation circuit

Country Status (2)

Country Link
JP (1) JPH0271178A (en)
KR (1) KR900005450A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8306378B2 (en) 2008-01-29 2012-11-06 Canon Kabushiki Kaisha Optical pulse compressor

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5363943A (en) * 1976-11-19 1978-06-07 Koden Electronics Co Ltd Coefficient setting system for pseudoorandom number generator

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5363943A (en) * 1976-11-19 1978-06-07 Koden Electronics Co Ltd Coefficient setting system for pseudoorandom number generator

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8306378B2 (en) 2008-01-29 2012-11-06 Canon Kabushiki Kaisha Optical pulse compressor

Also Published As

Publication number Publication date
KR900005450A (en) 1990-04-14

Similar Documents

Publication Publication Date Title
KR970004074B1 (en) Memory device and integrated circuit thereof
JP3652845B2 (en) Linear feedback shift register, multiple input symbol register, and built-in self-diagnosis circuit using them
US4701916A (en) Digital integrated circuit with multi-mode register
KR950009692B1 (en) Test cirquit of information processing apparatus
JPH06118134A (en) Integrated circuit test system
US4670879A (en) Pattern generator
JPH097397A (en) Circuit and method for self-test with built-in memory array
US5077740A (en) Logic circuit having normal input/output data paths disabled when test data is transferred during macrocell testing
US5636225A (en) Memory test circuit
JPH0271178A (en) Test sequence generation circuit
US7386650B2 (en) Memory test circuit with data expander
JPH045734A (en) Information processor
JPH06201782A (en) Semiconductor integrated circuit
US20090167346A1 (en) Reconfigurable circuit, configuration method and program
US6445205B1 (en) Method of testing integrated circuits
EP0196152A2 (en) Testing digital integrated circuits
JP3453460B2 (en) Semiconductor integrated circuit
JPH063424A (en) Integrated circuit device and test data generation circuit assembled into the device
JPH06102327A (en) Memory built-in type semiconductor integrated circuit and logical design method therefor
JP4520103B2 (en) Scan test pattern input method and semiconductor integrated circuit
JPS59180467A (en) Testing method of logic circuit
JP2001004713A (en) Semiconductor integrated circuit testing circuit
JPH1090362A (en) Semiconductor integrated circuit
SU1667069A1 (en) Microprogram control device
KR100450655B1 (en) Digital block test circuit and digital to analog converter by using the same, especially testing with simple circuit construction without adding plurality of pins