JPH0325382A - Semiconductor integrated circuit - Google Patents

Semiconductor integrated circuit

Info

Publication number
JPH0325382A
JPH0325382A JP1161422A JP16142289A JPH0325382A JP H0325382 A JPH0325382 A JP H0325382A JP 1161422 A JP1161422 A JP 1161422A JP 16142289 A JP16142289 A JP 16142289A JP H0325382 A JPH0325382 A JP H0325382A
Authority
JP
Japan
Prior art keywords
circuit
signal
output
logic circuit
logic
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
JP1161422A
Other languages
Japanese (ja)
Inventor
Kenichi Itahara
板原 健一
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 JP1161422A priority Critical patent/JPH0325382A/en
Publication of JPH0325382A publication Critical patent/JPH0325382A/en
Pending legal-status Critical Current

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Testing Or Measuring Of Semiconductors Or The Like (AREA)
  • Semiconductor Integrated Circuits (AREA)

Abstract

PURPOSE:To prevent the circuit from malfunctioning owing to the simultaneous operation of many output buffers by making comparisons with output expected values by an internal comparing circuit and outputting only decision result signals to an external circuit when the function of a logic circuit is tested. CONSTITUTION:The logic circuit 10 operates with an input signal from the external circuit, the signal direction of a two-way buffer 11 is controlled with a two-way buffer control signal line 13 supplied from the logic circuit 10, and when a two-way buffer control signal is at high level, the output signal of the circuit 10 is outputted to the external circuit. When the two-way buffer control signal is at low level, on the other hand, the expected value signal as a logic circuit output corresponding to the current input signal is inputted from the external circuit. The circuit 12 receives and compares the output signal of the circuit 10 and the expected value signal read out of the buffer 11 with each other and outputs their coincidence/dissidence decision result signal to the external circuit.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は半導体集積回路に関する。[Detailed description of the invention] [Industrial application field] The present invention relates to semiconductor integrated circuits.

〔従来の技術〕[Conventional technology]

従来、この種の半導体集積回路は、第5図に示すように
、論理回路9の機能試験時に論理回路9の出力信号を直
接出力し、外部の比較器8において出力信号と期待値信
号の比較判定とを行っていた。
Conventionally, this type of semiconductor integrated circuit directly outputs the output signal of the logic circuit 9 during a functional test of the logic circuit 9, and compares the output signal with an expected value signal in an external comparator 8, as shown in FIG. He was making a judgment.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来の半導体集積回路においては、多数の出力
バ,ファが同時に動作した場合、電源およびグランドラ
インに負荷駆動のための電流が短時間に集中して流れる
ために、ノイズが発生し回路の誤動作を招く危険性があ
る。実使用時には実装されるプリント基板の電源、グラ
ンドラインを強化する等の対策を施せるが、試験時には
LSIテスターの電源、グランドラインへの強化が難し
く、出力バッファの多数同時動作による回路の誤動作が
起こるという欠点がある。
In the conventional semiconductor integrated circuit described above, when a large number of output buffers and buffers operate simultaneously, the current for driving the load flows in the power supply and ground lines in a concentrated manner for a short period of time, causing noise and damaging the circuit. There is a risk of malfunction. During actual use, it is possible to take measures such as strengthening the power supply and ground lines of the mounted printed circuit board, but during testing, it is difficult to strengthen the power supply and ground lines of the LSI tester, and circuit malfunctions occur due to the simultaneous operation of many output buffers. There is a drawback.

本発明の目的は、前記欠点が解決され、誤動作なく、機
能試験ができるようにした半導体集積回路を提供するこ
とにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a semiconductor integrated circuit in which the above-mentioned drawbacks are solved and a functional test can be performed without malfunction.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の半導体集積回路の構或は、外部回路からの入力
信号によって動作する論理回路と、通常の使用時には前
記論理回路の出力信号を外部回路へ出力し、前記論理回
路の機能試験を行うときには、与えられた入力信号に対
応する前記論理回路の出力の期待値信号を外部回路より
取り入れるように機能する双方向バッファと、前記論理
回路の出力信号と前記双方向バッファより取り込まれた
出力期待値信号とを比較して、一致不一致の判定結果信
号を前記外部回路に出力する比較回路とを備えたことを
特徴とする。
The structure of the semiconductor integrated circuit of the present invention includes a logic circuit that operates according to an input signal from an external circuit, and an output signal of the logic circuit is output to the external circuit during normal use, and when performing a functional test of the logic circuit. , a bidirectional buffer that functions to take in an expected value signal of the output of the logic circuit corresponding to a given input signal from an external circuit, and an output signal of the logic circuit and an expected output value taken in from the bidirectional buffer. The present invention is characterized by comprising a comparison circuit that compares the signals and outputs a determination result signal of coincidence or mismatch to the external circuit.

〔実施例〕〔Example〕

次に本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の半導体集積回路を示す機能ブロック図
である。第1図において、本実施例は、論理回路10が
、外部回路からの入力信号で動作し、双方向バッファ1
1が論理回路10から与えられる双方向バッファ制御信
号線l3によって信号の方向が制御され、双方向バッフ
ァ制御信号が高レベルの時は、論理回路10の出力信号
を外部回路に(図示せず)に出力し、双方向バッファ制
御信号が低レベルの時には、その時点の入力信号に対応
する論理回路出力の期待値信号を外部回路から入力する
。比較回路12は、論理回路10の出力信号と双方向バ
ッファ11から読み込まれる期待値信号とを受け取って
比較し、その一致不一致の判定結果信号を外部回路に出
力する。
FIG. 1 is a functional block diagram showing a semiconductor integrated circuit of the present invention. In FIG. 1, in this embodiment, a logic circuit 10 operates with an input signal from an external circuit, and a bidirectional buffer 1
The direction of the signal is controlled by the bidirectional buffer control signal line l3 given by logic circuit 10, and when the bidirectional buffer control signal is at a high level, the output signal of logic circuit 10 is sent to an external circuit (not shown). When the bidirectional buffer control signal is at a low level, the expected value signal of the logic circuit output corresponding to the input signal at that time is input from the external circuit. Comparison circuit 12 receives and compares the output signal of logic circuit 10 and the expected value signal read from bidirectional buffer 11, and outputs a determination result signal of coincidence or mismatch to an external circuit.

第2図は、第1図の双方向バッファと比較回路の一部の
具体的構或をひとつの信号について示した回路図である
。第2図において、双方向バッファ制御信号として、外
部回路から入力信号の1本として与えられる試験/通常
のモード切替信号が用いられる.双方向バッファ14は
、試験/通常モード切替信号が高レベル、つまり通常使
用時には、論理回路からの出力信号を外部回路に半導体
集積回路の出力信号として出力する。いっぽう、試験/
通常モード切替信号が低レベル、つまり論理回路の機能
試験時には、双方向バッファ14は入力状態となってそ
の時点の入力信号に対応する論理回路出力の期待値信号
を読み込む。読み込まれた期待値信号は、比較回路の一
部を構或する排他的論理和回路15の一方の入力に与え
られる。
FIG. 2 is a circuit diagram showing a specific structure of a part of the bidirectional buffer and comparison circuit of FIG. 1 for one signal. In FIG. 2, a test/normal mode switching signal given as one of the input signals from an external circuit is used as the bidirectional buffer control signal. When the test/normal mode switching signal is at a high level, that is, during normal use, the bidirectional buffer 14 outputs an output signal from the logic circuit to an external circuit as an output signal from the semiconductor integrated circuit. On the other hand, exam/
When the normal mode switching signal is at a low level, that is, during a functional test of the logic circuit, the bidirectional buffer 14 enters the input state and reads the expected value signal of the output of the logic circuit corresponding to the input signal at that time. The read expected value signal is applied to one input of an exclusive OR circuit 15, which constitutes a part of the comparison circuit.

排他的論理和回路15のもう一方の入力には、論理回路
からの出力信号が与えられる。ここで排他的論理和15
の出力信号(一致信号)は、ふたつの入力信号すなわち
論理回路からの出力信号と期待値信号とが一致したとき
は低レベル、不一致のときは高レベルとなる。
The other input of the exclusive OR circuit 15 is given an output signal from the logic circuit. Here exclusive disjunction 15
The output signal (coincidence signal) of is low level when the two input signals, that is, the output signal from the logic circuit and the expected value signal match, and is high level when they do not match.

実際には、第2図に示した回路が論理回路10の出力信
号の数だけ存在し、そのそれぞれの回路にある排他的論
理和回路15の出力信号(一致信号)は多入力のOR回
路の入力に与えられる。つまり比較回路12は第3図に
示す構或をとり、論理回路10の出力信号と外部回路か
ら与えられる期待値信号とがすべて一致すると、一致信
号がすべて低レブルとなるので、OR回路16の出力信
号つまり比較回路l2の出力信号が低レベルとなる。い
っぽう、論理回路10の出力信号と外部回路から与えら
れる期待値信号との間に1箇所でも不一致があると、O
R回路16の出力信号つまり比較回路の出力信号は高レ
ベルとむる,比較回路12の出力信号は論理回路10の
出力信号と期待値信号とが完全に一致すれば低レベル、
一致しなければ高レベルとなる判定結果信号として外部
回路に出力される。
In reality, the number of circuits shown in FIG. 2 is equal to the number of output signals of the logic circuit 10, and the output signal (coincidence signal) of the exclusive OR circuit 15 in each circuit is the output signal of the multi-input OR circuit. given to the input. In other words, the comparator circuit 12 has the configuration shown in FIG. The output signal, that is, the output signal of the comparator circuit l2 becomes low level. On the other hand, if there is even one mismatch between the output signal of the logic circuit 10 and the expected value signal given from the external circuit, O
The output signal of the R circuit 16, that is, the output signal of the comparator circuit is at a high level, and the output signal of the comparator circuit 12 is at a low level if the output signal of the logic circuit 10 and the expected value signal completely match.
If they do not match, it is output to an external circuit as a determination result signal that goes high.

このように本実施例の半導体集積回路は、通常の使用時
には従来の半導体集積回路と同様に論理回路の出力信号
を外部回路に出力する。これに対して論理回路の機能試
験時には、論理回路の出力信号を外部回路へは出力せず
、期待値信号との比較を内蔵の比較回路で行ってその判
定結果信号だけを外部回路に出力する。この場合、論理
回路の出力信号がどんなに多くても、半導体集積回路か
らの出力信号は判定結果信号だけであるので、出カバッ
ファの多数同時動作による回路の誤動作は起こらない。
As described above, during normal use, the semiconductor integrated circuit of the present embodiment outputs the output signal of the logic circuit to the external circuit in the same manner as the conventional semiconductor integrated circuit. On the other hand, when testing the functionality of a logic circuit, the output signal of the logic circuit is not output to the external circuit, but a comparison with the expected value signal is performed using a built-in comparison circuit, and only the judgment result signal is output to the external circuit. . In this case, no matter how many output signals there are from the logic circuit, since the only output signal from the semiconductor integrated circuit is the determination result signal, malfunction of the circuit will not occur due to simultaneous operation of a large number of output buffers.

また、論理回路の機能試験用テストパターンを作成する
には、従来の半導体集積回路の場合と同様に、それぞれ
の入力パターンに対応する出力の期待値パターンを作或
すれば良い。そして試験時には、その期待値パターンを
対象とする端子へ入力パターンとして与え、唯一の出力
信号である判定結果信号だけを観測する。
Further, in order to create test patterns for functional testing of logic circuits, it is sufficient to create expected value patterns of outputs corresponding to respective input patterns, as in the case of conventional semiconductor integrated circuits. During testing, the expected value pattern is applied as an input pattern to the target terminal, and only the determination result signal, which is the only output signal, is observed.

次に、本発明の第2の実施例として、論理回路と外部回
路の信号のやりとりが双方向の場合を説明する. 第4図は、本発明の第2の実施例における双方向バッフ
ァと比較回路の一部の具体的構或をひとつの信号につい
て示した回路図である。第4図において、本実施例では
、通常の使用時、試験/通常モード切替信号は高レベル
である。双方向バッファ17は論理回路からの出力信号
を外部回路に出力したり、外部回路からの信号を論理回
路に与えたりする。この時の双方向バッファ17の動作
の方向は、論理回路より出力される論理信号の方向切替
信号によって制御される.論理信号の方向切替信号が高
レベルのときは、図中のAND回路18の出力信号が高
レベルとなって、双方向バッファ17は論理回路からの
出力信号を外部回路に出力する。論理信号の方向切替信
号が低レベル′になると、AND回路18の出力信号が
低レベルとなって外部回路からの信号が双方向バッファ
17を通って論理回路へ与えられる。
Next, as a second embodiment of the present invention, a case will be described in which the exchange of signals between the logic circuit and the external circuit is bidirectional. FIG. 4 is a circuit diagram showing a specific structure of a part of a bidirectional buffer and a comparator circuit for one signal in a second embodiment of the present invention. In FIG. 4, in this embodiment, the test/normal mode switching signal is at a high level during normal use. The bidirectional buffer 17 outputs an output signal from the logic circuit to an external circuit, and provides a signal from the external circuit to the logic circuit. The direction of operation of the bidirectional buffer 17 at this time is controlled by a direction switching signal of a logic signal output from a logic circuit. When the direction switching signal of the logic signal is at a high level, the output signal of the AND circuit 18 in the figure becomes a high level, and the bidirectional buffer 17 outputs the output signal from the logic circuit to an external circuit. When the direction switching signal of the logic signal becomes low level, the output signal of the AND circuit 18 becomes low level, and the signal from the external circuit passes through the bidirectional buffer 17 and is applied to the logic circuit.

論理回路の機能試験時には、試験/通常モード切替信号
は低レベルとなって、論理信号の方向切替信号の状態に
関係なく、AND回路18の出力信号は低レベルである
。そして、論理信号の方向切替信号が高レベルの時、双
方向バッファ17を通して期待値信号が排他的論理和回
路20に与えられ、論理回路からの出力信号との比較判
定が行われる.第2の実施例の場合、AND回路19の
出力信号が一致信号となる.AND回路19の一方の入
力である論理信号の方向切替信号が高レベルであるので
、一致信号はAND回路l9のもう一方の入力に与えら
れる排他的論理和回路20の出力信号と同じ状態となる
。つまり一致信号は論理回路からの出力信号と期待値信
号とが一致すれば低レベル、一致しなければ高レベルと
なる。
During a functional test of the logic circuit, the test/normal mode switching signal is at a low level, and the output signal of the AND circuit 18 is at a low level regardless of the state of the direction switching signal of the logic signal. Then, when the direction switching signal of the logic signal is at a high level, the expected value signal is applied to the exclusive OR circuit 20 through the bidirectional buffer 17 and compared with the output signal from the logic circuit. In the case of the second embodiment, the output signal of the AND circuit 19 becomes a coincidence signal. Since the direction switching signal of the logic signal, which is one input of the AND circuit 19, is at a high level, the coincidence signal is in the same state as the output signal of the exclusive OR circuit 20, which is applied to the other input of the AND circuit 19. . In other words, the match signal becomes low level if the output signal from the logic circuit and the expected value signal match, and becomes high level if they do not match.

いっぽう、論理信号の方向切替信号が低レベルの時、す
なわち対象とする信号の方向が外部回路から論理回路へ
入力される向きの時は、AND回路19の出力である一
致信号は常に低レベルとなる。
On the other hand, when the direction switching signal of the logic signal is at a low level, that is, when the direction of the target signal is input from the external circuit to the logic circuit, the coincidence signal that is the output of the AND circuit 19 is always at a low level. Become.

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

以上説明したように、本発明は、論理回路の機能試験時
に論理回路の出力信号を外部回路に出力せずに、内蔵の
比較回路で出力期待値との比較を行い、その判定結果信
号だけを外部回路に出力するので、多数の出力バッファ
の同時動作による回路の誤動作が発生しないという効果
がある。
As explained above, the present invention does not output the output signal of the logic circuit to an external circuit during a functional test of the logic circuit, but compares it with the expected output value using the built-in comparison circuit, and only outputs the judgment result signal. Since it is output to an external circuit, there is an advantage that malfunction of the circuit does not occur due to simultaneous operation of a large number of output buffers.

は従来の半導体集積回路を示す機能ブロック図である。1 is a functional block diagram showing a conventional semiconductor integrated circuit.

8・・・・・・比較器、9・・・・・・半導体集積回路
、lO・・・・・・論理回路、11,14.17・・・
・・・双方向バッファ、12・・・・・・比較回路、1
3・・・・・・双方向バッファ制御信号線、15.20
・・・・・・排他的論理和回路、16・・・・・・OR
回路、18・・・・・・AND回路、19・・・・・・
AND回路。
8... Comparator, 9... Semiconductor integrated circuit, lO... Logic circuit, 11, 14.17...
... Bidirectional buffer, 12 ... Comparison circuit, 1
3...Bidirectional buffer control signal line, 15.20
...Exclusive OR circuit, 16...OR
Circuit, 18...AND circuit, 19...
AND circuit.

Claims (1)

【特許請求の範囲】[Claims] 外部回路からの入力信号によって動作する論理回路と、
通常の使用時には前記論理回路の出力信号を外部回路へ
出力し、前記論理回路の機能試験を行うときには、与え
られた入力信号に対応する前記論理回路の出力の期待値
信号を外部回路より取り入れるように機能する双方向バ
ッファと、前記論理回路の出力信号と前記双方向バッフ
ァより取り込まれた出力期待値信号とを比較して、一致
不一致の判定結果信号を前記外部回路に出力する比較回
路とを備えたことを特徴とする半導体集積回路。
a logic circuit that operates based on input signals from an external circuit;
During normal use, the output signal of the logic circuit is output to an external circuit, and when performing a functional test of the logic circuit, an expected value signal of the output of the logic circuit corresponding to a given input signal is taken from the external circuit. and a comparison circuit that compares the output signal of the logic circuit with the output expected value signal fetched from the bidirectional buffer and outputs a match/mismatch determination result signal to the external circuit. A semiconductor integrated circuit characterized by:
JP1161422A 1989-06-23 1989-06-23 Semiconductor integrated circuit Pending JPH0325382A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1161422A JPH0325382A (en) 1989-06-23 1989-06-23 Semiconductor integrated circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1161422A JPH0325382A (en) 1989-06-23 1989-06-23 Semiconductor integrated circuit

Publications (1)

Publication Number Publication Date
JPH0325382A true JPH0325382A (en) 1991-02-04

Family

ID=15734802

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1161422A Pending JPH0325382A (en) 1989-06-23 1989-06-23 Semiconductor integrated circuit

Country Status (1)

Country Link
JP (1) JPH0325382A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0543400U (en) * 1991-11-06 1993-06-11 株式会社東芝 Output buffer failure detection circuit of ASIC
JPH08146091A (en) * 1994-11-22 1996-06-07 Nec Corp Semiconductor integrated circuit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0543400U (en) * 1991-11-06 1993-06-11 株式会社東芝 Output buffer failure detection circuit of ASIC
JPH08146091A (en) * 1994-11-22 1996-06-07 Nec Corp Semiconductor integrated circuit

Similar Documents

Publication Publication Date Title
US10712387B2 (en) First, second test domains and test mode select control circuitry
US5012185A (en) Semiconductor integrated circuit having I/O terminals allowing independent connection test
JPH0325382A (en) Semiconductor integrated circuit
CA1296110C (en) Reconfigurable register bit-slice for self-test
EP0382360A3 (en) Event qualified testing architecture for integrated circuits
US5754561A (en) Large scale integrated circuit equipped with a normal internal logic testing circuit and unconnected/substandard solder testing circuit
JPH04128666A (en) Semiconductor integrated circuit
JPH04296112A (en) Register circuit
JPH02118475A (en) Logic integrated circuit
JPH0561713A (en) Electronic circuit block testing circuit
JPS62265581A (en) Semiconductor integrated logic circuit
US20020170008A1 (en) Integrated circuit and testing method for integrated circuit
JPH0666885A (en) Boundary scanning circuit
JPH08136616A (en) Hybrid integrated circuit
JPH02206773A (en) Test circuit for semiconductor integrated circuit
JPS604238A (en) Semiconductor integrated circuit device
JPH0493780A (en) Semiconductor integrated circuit
JPH04346084A (en) Test circuit
JPH05281303A (en) Semiconductor integrated circuit
JP2002357639A (en) Integrated circuit
JPS63233384A (en) Logical check of printed circuit board unit
JPH01172780A (en) Semiconductor integrated circuit
JPH0291734A (en) Testing system for lsi
JPH0484783A (en) Test method for semiconductor integrated circuit