JPH0555532A - Gate array - Google Patents

Gate array

Info

Publication number
JPH0555532A
JPH0555532A JP21489991A JP21489991A JPH0555532A JP H0555532 A JPH0555532 A JP H0555532A JP 21489991 A JP21489991 A JP 21489991A JP 21489991 A JP21489991 A JP 21489991A JP H0555532 A JPH0555532 A JP H0555532A
Authority
JP
Japan
Prior art keywords
input
test
signal
terminals
terminal
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
JP21489991A
Other languages
Japanese (ja)
Inventor
Hitoshi Ogura
均 小倉
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP21489991A priority Critical patent/JPH0555532A/en
Publication of JPH0555532A publication Critical patent/JPH0555532A/en
Pending legal-status Critical Current

Links

Landscapes

  • Design And Manufacture Of Integrated Circuits (AREA)

Abstract

PURPOSE:To test the function of logic circuits without using a lot of test input signal terminals in a built-in test circuit. CONSTITUTION:The mode select output terminals Q1 to Qn of a shift registor SR are connected with the select input terminals S of multiplexers M1 to Mn, and a test input signal STi is inputted into the logic circuit C2 to be tested only when the i-th mode select signal SQi is 1.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はゲートアレイに関し、特
に内部ディジタル論理回路のテストモード設定回路に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a gate array, and more particularly to a test mode setting circuit for an internal digital logic circuit.

【0002】[0002]

【従来の技術】比較的小規模のゲートアレイのディジタ
ル論理回路において、従来はタイミングに厳しい節約の
ない回路のテスタビリティの向上を目的として、回路の
制御の自由度を改善するため、前段と後段の回路ブロッ
ク間にマルチプレクサを挿入する手法がある(例えばジ
ョン W.リード編著,原田訳,「ゲートアレイデザイ
ンと応用」p.271,啓学出版参照)。
2. Description of the Related Art In a relatively small-scale gate array digital logic circuit, in order to improve the testability of the circuit, which has not been severely saved in timing, the degree of freedom in controlling the circuit has been improved in order to improve the degree of freedom of control. There is a method of inserting a multiplexer between the circuit blocks (for example, see John W. Reed, translated by Harada, “Gate Array Design and Application” p.271, Keigaku Shuppan).

【0003】図3(a)において、マルチプレクサM
は、セレクト入力端のSの信号SSが“0”のときデー
タ入力端Aに入る入力データDAをデータ出力端Yに出
力し、セレクト信号SSが“1”のときデータ入力端B
の入力データDBをデータ出力Yに出力する機能を持
つ。前段回路C1aの出力端O1をマルチプレクサMの
データ入力端Aに接続し、テスト信号入力端子Tを入力
バッファBを介してマルチプレクサMのデータ入力端B
に接続し、モードセレクト信号入力端子TSを入力バッ
ファBSを介してマルチプレクサMのセレクト入力端S
に接続し、マルチプレクサMのデータ出力端Yを被試験
論理回路C2aの入力I1に接続する。
In FIG. 3A, the multiplexer M
Outputs the input data DA which enters the data input end A to the data output end Y when the signal SS of the select input end S is "0", and outputs the data input end B when the select signal SS is "1".
The input data DB of is output to the data output Y. The output terminal O1 of the pre-stage circuit C1a is connected to the data input terminal A of the multiplexer M, and the test signal input terminal T is connected via the input buffer B to the data input terminal B of the multiplexer M.
, And the mode select signal input terminal TS via the input buffer BS to the select input terminal S of the multiplexer M.
And the data output terminal Y of the multiplexer M is connected to the input I1 of the logic circuit under test C2a.

【0004】通常はモードセレクト信号入力端子TSに
テストモードセレクト信号SMとして“0”レベルを入
力し、前段回路C1aの出力端O1をマルチプレクサM
を介して被試験論理回路C2aの入力I1に接続してお
く。
Normally, a "0" level is input as the test mode select signal SM to the mode select signal input terminal TS, and the output terminal O1 of the preceding circuit C1a is connected to the multiplexer M.
Is connected to the input I1 of the logic circuit under test C2a via.

【0005】テストモードではモードセレクト信号入力
端子TSにモードセレクト信号SMとして“1”レベル
を入力し、テスト信号入力端子Tからのテスト入力信号
STをマルチプレクサMを介して被試験論理回路C2a
の入力端I1に接続し、被試験論理回路C2aの制御動
作をテストする。
In the test mode, a "1" level is input as the mode select signal SM to the mode select signal input terminal TS, and the test input signal ST from the test signal input terminal T is passed through the multiplexer M to the logic circuit under test C2a.
Of the logic circuit under test C2a to test the control operation.

【0006】図3(a)のテスト信号入力端子Tとマル
チプレクサMの回路をn個設けた例が図3(b)であ
り、通常はモードセレクト信号入力端子TS1〜TS/
nにモードセレクト信号SM1〜SM1nとして“0”
を入力し、前段回路C1の出力O1〜Onを各々マルチ
プレクサM11〜M1nを介して被試験論理回路C2の
入力I1〜Inに接続しておく。
FIG. 3B shows an example in which n circuits of the test signal input terminal T and the multiplexer M shown in FIG. 3A are provided. Normally, the mode select signal input terminals TS1 to TS / are provided.
"0" as the mode select signals SM1 to SM1n in n
And the outputs O1 to On of the preceding circuit C1 are connected to the inputs I1 to In of the logic circuit under test C2 via the multiplexers M11 to M1n, respectively.

【0007】テストモードではモードセレクト信号入力
端子TS1〜TS/nにモードセレクト信号SM1〜S
Mnとして“1”を入力し、テスト信号入力端子T1
1,T1nからのテスト入力信号ST1〜STnを各々
マルチプレクサM11〜M1nを介して被試験論理回路
C2の入力端I1〜Inに入力し、被試験論理回路C2
の制御機能のテストをする。
In the test mode, the mode select signals SM1 to S are input to the mode select signal input terminals TS1 to TS / n.
Input "1" as Mn, and input the test signal T1
1, test input signals ST1 to STn from T1n are input to input terminals I1 to In of a logic circuit under test C2 via multiplexers M11 to M1n, respectively, and the logic circuit under test C2 is tested.
Test the control function of.

【0008】[0008]

【発明が解決しようとする課題】前述のゲートアレイ
は、内部の被試験論理回路をテストする場合に特に比較
的小規模のゲートアレイでは端子数に制限があるので、
入力端子が増加する図3(a)の回路をそのまま増加す
ることは難しい、また図3(b)の回路ではテストモー
ドで全てのテスト入力信号のタイミングを考慮して入力
する必要があるため、複数の回路ブロック間の接続を切
断して後段の被試験回路の制御動作を行なう場合は、テ
スト端子の増加に伴いタイミング制御が複雑となること
等、制御性のテストをすることの制限が大きいという問
題点があった。
The above gate array is limited in the number of terminals when testing an internal logic circuit to be tested, especially in a relatively small gate array.
It is difficult to increase the number of input terminals in the circuit of FIG. 3 (a) as it is, and in the circuit of FIG. 3 (b), it is necessary to input in consideration of the timing of all test input signals in the test mode. When disconnecting the connection between a plurality of circuit blocks and performing the control operation of the circuit under test in the subsequent stage, the control of the controllability is large, because the timing control becomes complicated as the number of test terminals increases. There was a problem.

【0009】[0009]

【課題を解決するための手段】本発明のゲートアレイ
は、複数のデータ入力端に対応する複数の外部信号入力
端子の入力信号を受けて複数の出力端からデータ信号を
出力する前段回路と、データ入力端に対応する前記デー
タ信号を入力しまたはテスト信号入力端にテスト信号を
入力して、セレクト端に入力されたモードセレクト信号
によって通常時には前記データ信号を、またテストモー
ド時には前記テスト信号を入力して出力端から被試験論
理回路の対応する入力端に供給する複数のマルチプレッ
クサを有するゲートアレイにおいて、外部端子にそれぞ
れ入力されたテストモード信号とクロック信号とを入力
して前記モードセレクト信号を出力する複数個の出力端
を有するシフトレジスタを付加して構成されている。
A gate array according to the present invention includes a pre-stage circuit which receives input signals from a plurality of external signal input terminals corresponding to a plurality of data input terminals and outputs data signals from a plurality of output terminals. The data signal corresponding to the data input terminal is input or the test signal is input to the test signal input terminal, and the mode select signal input to the select terminal outputs the data signal in the normal mode and the test signal in the test mode. In a gate array having a plurality of multiplexers that are input and supplied from an output terminal to a corresponding input terminal of a logic circuit under test, the test mode signal and the clock signal respectively input to external terminals are input and the mode select is performed. A shift register having a plurality of output terminals for outputting signals is added.

【0010】[0010]

【実施例】次に本発明について図面を参照して説明す
る。図1は本発明の第1の実施例のブロック図である。
ゲートアレイはn個のデータ入力端I11〜I1nに対
応するn個の外部信号入力端子TD1〜TDnの入力信
号を受けてn個の出力端O1〜Onからデータ信号D1
A〜DnAを出力する前段回路C1と、データ入力端A
に対応するデータ信号DiAを入力しまたはテスト信号
入力端Bにテスト信号STiを入力して、セレクト端S
に入力されたモードセレクト信号SQiによって通常時
にはデータ信号DiAを、またテストモード時にはテス
ト信号入力端子TT1〜TTnからテスト信号STiを
入力して、出力端Yから被試験論理回路C2の対応する
入力端Iiに供給する負数のマルチプレックサM1〜M
nを有し、テストモード信号入力端子T1およびクロッ
ク信号端子T2に入力されたテストモード信号Siとク
ロック信号SCとを入力してモードセレクト信号SQ1
〜SQnを出力するn個の出力端Q1〜Qnを有するシ
フトレジスタSRを含んでいる。
The present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of the first embodiment of the present invention.
The gate array receives the input signals from the n external signal input terminals TD1 to TDn corresponding to the n data input terminals I11 to I1n and receives the data signal D1 from the n output terminals O1 to On.
A front-end circuit C1 that outputs A to DnA and a data input terminal A
The data signal DiA corresponding to or the test signal STi to the test signal input terminal B,
The data signal DiA is input in the normal mode and the test signal STi is input from the test signal input terminals TT1 to TTn in the test mode by the mode select signal SQi input to the output terminal Y and the corresponding input terminal of the logic circuit under test C2 is input. Negative multiplexors M1 to M supplied to Ii
n, and the mode select signal SQ1 by inputting the test mode signal Si and the clock signal SC input to the test mode signal input terminal T1 and the clock signal terminal T2.
Includes a shift register SR having n output terminals Q1 to Qn for outputting .about.SQn.

【0011】また、第i番目のマルチプレクサMOiの
データ端Aは被試験論理回路C2の出力端iに、またテ
スト端Bはシフトレジスタの出力端Qiにそれぞれ接続
されて、テストモード信号Siをセレクト端Sに入力し
てテスト出力信号SOiとモードセレクト信号SQjと
を切替えて出力端子TOiから観測できる。ここで、i
は1〜nの任意の数である。
The data terminal A of the i-th multiplexer MOi is connected to the output terminal i of the logic circuit under test C2, and the test terminal B is connected to the output terminal Qi of the shift register to select the test mode signal Si. It can be observed from the output terminal TOi by inputting it to the terminal S and switching between the test output signal SOi and the mode select signal SQj. Where i
Is an arbitrary number from 1 to n.

【0012】次に図1のブロックの動作を説明する。通
常の動作開始前にテストモード信号入力端子T1に入力
信号Siとして“0記号レベル,クロック入力端子T2
にクロック信号SCを入力してシフトレジスタSRのモ
ードセレクト出力端Q1〜Qnを全て“0”レベルに設
定すると、前段回路C1のデータ出力端O1〜Onは各
々マルチプレクサM1〜Mnを介して被試験論理回路C
2の入力端I1〜Inに接続され、通常の動作が可能と
なる。
Next, the operation of the block shown in FIG. 1 will be described. Before the start of normal operation, the test mode signal input terminal T1 is supplied with “0 symbol level, clock input terminal T2 as the input signal Si.
When the clock signal SC is input to the shift register SR to set all the mode select output terminals Q1 to Qn of the shift register SR to "0" level, the data output terminals O1 to On of the preceding circuit C1 are tested via the multiplexers M1 to Mn, respectively. Logic circuit C
The two input terminals I1 to In are connected to enable normal operation.

【0013】テストモード時は、被試験論理回路C2の
第i番目の入力端Iiを決定し、それに接続するマルチ
プレクサMiのセレクト入力端Sに接続するシフトレジ
スタSRの出力端Qiを“1”レベルに設定した後、対
応する入力端子TTiからテスト入力信号STiを入力
し、被試験論理回路C2の機能をテストする。
In the test mode, the i-th input terminal Ii of the logic circuit under test C2 is determined, and the output terminal Qi of the shift register SR connected to the select input terminal S of the multiplexer Mi connected thereto is set to "1" level. Then, the test input signal STi is input from the corresponding input terminal TTi to test the function of the logic circuit under test C2.

【0014】テストモード入力端子T1に“0”レベル
を入力すると被試験論理回路ブロックC2の出力O1〜
Onが、またセレクト信号入力端子T1に“1”レベル
を入力するとシフトレジスタSRの出力端Q1〜Qn
が、各々出力端子TO1〜TOnから観測出来る。
When a "0" level is input to the test mode input terminal T1, the outputs O1 to O1 of the logic circuit block C2 to be tested.
When On inputs a "1" level to the select signal input terminal T1 again, the output terminals Q1 to Qn of the shift register SR
Can be observed from the output terminals TO1 to TOn, respectively.

【0015】本実施例では被試験論理回路C2の第i番
目の入力端Iiに対応するシフトレジスタSRの出力端
Qiのみ“1”レベルにしてテスト入力信号STiをマ
ルチプレクサMiを介して論理回路C2の入力端Iiに
入力し、残りの出力端Qj(j≠i)を“0”レベルに
設定して接続を通常の前段回路C1の出力端Oj(j≠
i)との接続を保てるので、テストモード信号端子TT
1〜TTnが従来のn個からT1,T2の2個に減少し
ても通常動作に近い条件で論理回路C2の制御機能のテ
ストが出来る。
In the present embodiment, only the output terminal Qi of the shift register SR corresponding to the i-th input terminal Ii of the logic circuit under test C2 is set to "1" level and the test input signal STi is passed through the multiplexer Mi to the logic circuit C2. Input to the input terminal Ii, and the remaining output terminals Qj (j ≠ i) are set to the “0” level to connect the output terminals Oj (j ≠ j of the normal preceding circuit C1.
i) The connection with the test mode signal terminal TT can be maintained.
Even if the number of 1 to TTn is reduced from n in the conventional case to two, that is, T1 and T2, the control function of the logic circuit C2 can be tested under the condition close to the normal operation.

【0016】図2は本発明の第2の実施例のブロック図
である。デマルチプレクサDMは、テストモード入力端
子TTMからゲート入力端Gに“0”レベルを入力する
とデータ出力端A1〜A1nに各々データ入力D1〜D
1nのデータを、そしてデータ出力端B1〜B1nに
“0”レベルを出力する。
FIG. 2 is a block diagram of the second embodiment of the present invention. When the demultiplexer DM inputs a "0" level from the test mode input terminal TTM to the gate input terminal G, the data inputs D1 to D1 to the data output terminals A1 to A1n, respectively.
The data of 1n and the "0" level are output to the data output terminals B1 to B1n.

【0017】またゲート入力端Gに“1”レベルを入力
するとデータ出力端B1〜B1nに各々データ入力端D
1〜D1nのデータを、そしてデータ出力端A1〜A1
nに“0”レベルを出力するスイッチ機能をもつ。
When a "1" level is input to the gate input terminal G, the data input terminals D are connected to the data output terminals B1 to B1n, respectively.
1 to D1n data, and data output terminals A1 to A1
It has a switch function for outputting a "0" level to n.

【0018】本実施例でテストに用いる入力端子T1〜
TDnは入力バッファB1〜BDnを介して全てデマル
チプレクサDMに接続しており、他の構成は第1の実施
例と同様であるが、テストモードで入力端子TD1〜T
Dnはテスト端子を兼用するのでテスト信号入力端子T
11〜T1nを専用に設けることなくテスト可能とした
もので、端子数の制限が大きい比較的小規模のゲートア
レイでは特に改善効果が大きいという利点がある。
Input terminals T1 to T1 used for the test in this embodiment
All of TDn are connected to the demultiplexer DM via the input buffers B1 to BDn, and the other configurations are the same as those of the first embodiment, but the input terminals TD1 to TD are used in the test mode.
Since Dn also serves as the test terminal, the test signal input terminal T
It is possible to test without providing 11 to T1n exclusively, and there is an advantage that the improvement effect is particularly large in a relatively small-scale gate array having a large number of terminals.

【0019】[0019]

【発明の効果】以上説明したように本発明は、シフトレ
ジスタを用いることにより、3本以下のテストモード用
の入力端子を設けただけで、通常動作に近い条件のもと
で内部論理回路の制御機能のテストが出来るという効果
を有する。
As described above, according to the present invention, by using the shift register, only three or less input terminals for the test mode are provided and the internal logic circuit of the internal logic circuit is operated under the condition close to the normal operation. It has an effect that the control function can be tested.

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

【図1】本発明の第1の実施例のブロック図である。FIG. 1 is a block diagram of a first embodiment of the present invention.

【図2】本発明の第2の実施例のブロック図である。FIG. 2 is a block diagram of a second embodiment of the present invention.

【図3】従来のゲートアレイの一例のブロック図であ
る。
FIG. 3 is a block diagram of an example of a conventional gate array.

【符号の説明】[Explanation of symbols]

B1,B2,BD1〜BDn,BT1〜BTn 入力
バッファ B21〜B2n 出力バッファ C1 前段回路 C2 被試験論理回路 DM デマルチプレクサ M1〜Mn 入力マルチプレクサ MO1〜MOn 出力マルチプレクサ SR シフトレジスタ T1 テストモード信号入力端子 T2 クロック入力端子 TT1〜TTn テスト信号入力端子 TD1〜TDn 信号入力端子 TO1〜TOn 出力端子 TTM テストモード入力端子
B1, B2, BD1 to BDn, BT1 to BTn input buffer B21 to B2n output buffer C1 pre-stage circuit C2 logic circuit under test DM demultiplexer M1 to Mn input multiplexer MO1 to MOn output multiplexer SR shift register T1 test mode signal input terminal T2 clock Input terminal TT1 to TTn test signal input terminal TD1 to TDn signal input terminal TO1 to TOn output terminal TTM test mode input terminal

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 複数のデータ入力端に対応する複数の外
部信号入力端子の入力信号を受けて複数の出力端からデ
ータ信号を出力する前段回路と、データ入力端に対応す
る前記データ信号を入力しまたはテスト信号入力端にテ
スト信号を入力して、セレクト端に入力されたモードセ
レクト信号によって通常時には前記データ信号を、また
テストモード時には前記テスト信号を入力して出力端か
ら被試験論理回路の対応する入力端に供給する複数のマ
ルチプレックサを有するゲートアレイにおいて、外部端
子にそれぞれ入力されたテストモード信号とクロック信
号とを入力して前記モードセレクト信号を出力する複数
個の出力端を有するシフトレジスタを付加したことを特
徴とするゲートアレイ。
1. A pre-stage circuit that receives input signals from a plurality of external signal input terminals corresponding to a plurality of data input terminals and outputs data signals from a plurality of output terminals, and inputs the data signals corresponding to the data input terminals. Or a test signal is input to the test signal input terminal, and the data signal is normally input by the mode select signal input to the select terminal, and the test signal is input in the test mode to output the test signal from the output terminal of the logic circuit under test. In a gate array having a plurality of multiplexers to be supplied to corresponding input terminals, it has a plurality of output terminals for receiving a test mode signal and a clock signal respectively input to external terminals and outputting the mode select signal. A gate array characterized by adding a shift register.
JP21489991A 1991-08-27 1991-08-27 Gate array Pending JPH0555532A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21489991A JPH0555532A (en) 1991-08-27 1991-08-27 Gate array

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21489991A JPH0555532A (en) 1991-08-27 1991-08-27 Gate array

Publications (1)

Publication Number Publication Date
JPH0555532A true JPH0555532A (en) 1993-03-05

Family

ID=16663408

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21489991A Pending JPH0555532A (en) 1991-08-27 1991-08-27 Gate array

Country Status (1)

Country Link
JP (1) JPH0555532A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9948305B2 (en) 2016-08-30 2018-04-17 Kabushiki Kaisha Toshiba Integrated circuit and electronic apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9948305B2 (en) 2016-08-30 2018-04-17 Kabushiki Kaisha Toshiba Integrated circuit and electronic apparatus

Similar Documents

Publication Publication Date Title
US5481471A (en) Mixed signal integrated circuit architecture and test methodology
US6861866B2 (en) System on chip (SOC) and method of testing and/or debugging the system on chip
US5457698A (en) Test circuit having a plurality of scan latch circuits
JP2638281B2 (en) Scan path circuit
US7219281B2 (en) Boundary scan of integrated circuits
US20060156114A1 (en) Semiconductor device for accurate measurement of time parameters in operation
US20090083595A1 (en) Scan test circuit
JPH0555532A (en) Gate array
CA2135680C (en) Method and apparatus for controlling the testing of a plurality of systems via a boundary-scan port during testing
US7271616B2 (en) FPGA-based digital circuit for reducing readback time
US7644331B2 (en) System and method for testing and debugging analog circuits in a memory controller
US7373571B2 (en) Achieving desired synchronization at sequential elements while testing integrated circuits using sequential scan techniques
US20040001377A1 (en) Semiconductor memory device
US6418176B1 (en) Forwarded clock recovery with variable latency
US6556645B2 (en) Multi-bit counter
CN110736919A (en) Method and test circuit for improving test coverage rate in SoC design
EP0484861B1 (en) Integrated circuit device having macro test function
GB2362718A (en) Integrated circuit with a localised temperature stress application system
KR20070055850A (en) Boundary scan test cell and boundary scan test device
JP2658894B2 (en) Scan path circuit
US6888367B1 (en) Method and apparatus for testing integrated circuit core modules
JP2002009238A (en) Scan path design method
JP2000321331A (en) Scan test circuit and semiconductor integrated circuit using it
JP3251748B2 (en) Semiconductor integrated circuit
US20050278675A1 (en) General purpose delay logic