JPH10123213A - Semiconductor integrated circuit - Google Patents

Semiconductor integrated circuit

Info

Publication number
JPH10123213A
JPH10123213A JP8275705A JP27570596A JPH10123213A JP H10123213 A JPH10123213 A JP H10123213A JP 8275705 A JP8275705 A JP 8275705A JP 27570596 A JP27570596 A JP 27570596A JP H10123213 A JPH10123213 A JP H10123213A
Authority
JP
Japan
Prior art keywords
input
output
terminals
semiconductor integrated
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
JP8275705A
Other languages
Japanese (ja)
Inventor
Yuichiro Mio
裕一郎 三尾
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 JP8275705A priority Critical patent/JPH10123213A/en
Publication of JPH10123213A publication Critical patent/JPH10123213A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide the semiconductor integrated circuit, which can perform the logic function test readily by suppressing the increase of the circuits required for switching terminals to a minimum without increasing the number of the terminals. SOLUTION: A plurality of input/output terminals 40-47 connected to a plurality of ports 11 and 12 and an LSI tester provided in a semiconductor integrated circuit, a selector 20, which is inserted between these ports and the input/output terminals, and a register 30, which controls the switching state of the selector 20 based on the present value, are provided. The register 30 connects the port 11 to the input/output terminals 40-43 when the preset value is '1' by a reset terminal 50 and connects the port 12 to the input/output terminals 40-43 when the present value of the register 30 is '0' through the CPU 10. A special terminal for selective switching is not required, and the test with the LSI tester having a small number of terminals can be performed without enlarging the circuit scale.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は多数の入出力端子を
備える論理集積回路構成の半導体集積回路に関し、特に
少ない端子数のLSIテスタを用いて論理機能試験を容
易に実施することを可能とした半導体集積回路に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a semiconductor integrated circuit having a logic integrated circuit structure having a large number of input / output terminals, and more particularly to enabling a logic function test to be easily performed using an LSI tester having a small number of terminals. The present invention relates to a semiconductor integrated circuit.

【0002】[0002]

【従来の技術】半導体集積回路の論理機能試験を行う場
合には、半導体集積回路に設けられている入出力端子を
LSIテスタに接続することが必要とされる。このた
め、近年における入出力端子数が増大された半導体集積
回路の試験を行う場合には、これに対応した端子数のL
SIテスタを用意する必要があり、経済的に有効ではな
い。そこで、LSIテスタの端子数よりも端子数の多い
半導体集積回路の試験を可能とすべく、半導体集積回路
において入出力端子を切り替えるようにした半導体集積
回路が提案されている。例えば、図5は、試験端子を減
らした半導体集積回路の一例として、特開昭61−13
3874号公報に記載されたものである。
2. Description of the Related Art When a logic function test of a semiconductor integrated circuit is performed, it is necessary to connect input / output terminals provided on the semiconductor integrated circuit to an LSI tester. For this reason, when testing a semiconductor integrated circuit in which the number of input / output terminals has been increased in recent years, the number of terminals corresponding to this is L
It is necessary to prepare an SI tester, which is not economically effective. Therefore, in order to enable testing of a semiconductor integrated circuit having more terminals than the number of terminals of the LSI tester, a semiconductor integrated circuit in which input / output terminals are switched in the semiconductor integrated circuit has been proposed. For example, FIG. 5 shows an example of a semiconductor integrated circuit having a reduced number of test terminals.
No. 3874.

【0003】この半導体集積回路では、試験入力端子1
13と、試験出力端子623と、複数の信号入力端子6
14〜616と、複数の信号出力端子624〜626
と、インバータ2段を帰還させることによりラッチする
構造を有し信号入力端子614〜116の各々に1個宛
接続させるラッチ回路617〜619と、これらのラッ
チ回路の各々に1個宛一方の端子で接続され他方の端子
が試験入力端子613に接続する入力アナログ・スイッ
チ620〜622と、信号出力端子624〜626に1
個宛一方の端子で接続され他方の端子が試験出力端子6
23に接続する出力アナログ・スイッチ627〜629
と、一つのクロック信号701より入力側アナログ・ス
イッチの制御信号702〜704を順番に選択する手段
として入力選択信号発生器605と、一つのクロック信
号709により出力側アナログ・スイッチ627〜62
9の制御信号710〜712を順番に選択して出力信号
を試験出力端子623に出力させる手段としての出力選
択信号発生器606とを含んだ構成とされる。
In this semiconductor integrated circuit, a test input terminal 1
13, a test output terminal 623, and a plurality of signal input terminals 6.
14 to 616 and a plurality of signal output terminals 624 to 626
And latch circuits 617 to 619 having a structure for latching by feeding back two stages of inverters and connecting one to each of signal input terminals 614 to 116, and one terminal for each of these latch circuits Input analog switches 620-622, the other terminal of which is connected to the test input terminal 613, and one of the signal output terminals 624-626.
And one terminal is connected to the test output terminal 6
Output analog switches 627-629 connected to 23
And an input selection signal generator 605 as means for sequentially selecting input analog switch control signals 702 to 704 from one clock signal 701, and output analog switches 627 to 62 by one clock signal 709.
And an output selection signal generator 606 as means for selecting the nine control signals 710 to 712 in order and outputting an output signal to the test output terminal 623.

【0004】また、この半導体集積回路は、良く知られ
ているスキャン・パス方式を採用しており、シフト制御
信号706をアクティブにし、シフト入力端子608か
らシフトクロック信号707に同期させてシフト入力信
号708を与えることにより、内部の順序回路をすべて
一連のシフトレジスタとして動作させるスキャン・パス
構成部604と、通常動作時に順序回路のデータ入力と
なる入力部組み合わせ論理回路602及び順序回路の出
力を論理演算する出力部組み合わせ論理回路603を備
えている。
The semiconductor integrated circuit employs a well-known scan path method, in which a shift control signal 706 is activated, and a shift input signal is synchronized with a shift clock signal 707 from a shift input terminal 608. 708, the scan path constructing unit 604 that operates all the internal sequential circuits as a series of shift registers, and the input unit combination logic circuit 602 and the output of the sequential circuit that are data inputs of the sequential circuit during normal operation are logically connected. An output combination logic circuit 603 for performing an operation is provided.

【0005】したがって、この半導体集積回路では、入
力選択信号発生器605は、クロック入力端子607か
らの入力選択クロック信号701の入力により、入力ア
ナログ・スイッチ620〜622の開閉を行う入力選択
信号702〜704を順番に選択する。入力アナログ・
スイッチ620〜622は、この入力選択信号702〜
704が選択された時、試験入力端子613に入力する
試験入力信号705を強制的にラッチ回路617〜61
9に書き込む経路を作る。出力側も同様に、出力選択ク
ロック信号709によって出力選択信号発生器606か
ら出力選択信号710〜712の選択により出力アナロ
グ・スイッチ627〜629を制御して、試験出力端子
623に試験出力信号713を出力させる。このよう
に、順序回路の試験を単独に行えるとともに、順序回路
の状態設定が自由自在に行えるので、論理回路の試験が
効率的に実施できる。
Therefore, in this semiconductor integrated circuit, the input selection signal generator 605 receives the input selection clock signal 701 from the clock input terminal 607 and opens and closes the input analog switches 620-622. 704 are selected in order. Input analog
The switches 620 to 622 are connected to the input selection signals 702 to 702, respectively.
When 704 is selected, the test input signal 705 input to the test input terminal 613 is forcibly latched by the latch circuits 617-61.
Make a path to write to 9. Similarly, the output side controls the output analog switches 627 to 629 by selecting the output selection signals 710 to 712 from the output selection signal generator 606 according to the output selection clock signal 709, and outputs the test output signal 713 to the test output terminal 623. Output. As described above, the test of the sequential circuit can be performed independently and the state of the sequential circuit can be freely set, so that the test of the logic circuit can be efficiently performed.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、この半
導体集積回路は、入出力端子を選択するための動作を制
御するための信号用の端子として専用の端子607〜6
10,612,613,623を設ける必要があるた
め、既存の端子に加えてこれらの端子が増加され、半導
体集積回路の構成が複雑化される。また、切り替えを行
うための専用の回路部が複数個必要であるために、半導
体集積回路の全体の回路規模も大きくなる。このよう
に、従来の半導体集積回路では、端子数が増大され、か
つ回路規模が大きくなるために、半導体集積回路の高集
積化、小型化の障害になるという問題が生じている。
However, this semiconductor integrated circuit has dedicated terminals 607-6 as signal terminals for controlling an operation for selecting an input / output terminal.
Since it is necessary to provide 10, 612, 613, and 623, these terminals are increased in addition to the existing terminals, and the configuration of the semiconductor integrated circuit is complicated. Further, since a plurality of dedicated circuit units for switching are required, the overall circuit scale of the semiconductor integrated circuit also becomes large. As described above, in the conventional semiconductor integrated circuit, since the number of terminals is increased and the circuit scale is increased, there is a problem that the integration and miniaturization of the semiconductor integrated circuit are hindered.

【0007】本発明の目的は、端子の数を増やすことな
く、また端子を切り替えるために必要とされる回路の増
大も最小限に抑えて、その論理機能試験を容易に実施可
能とした半導体集積回路を提供することにある。
An object of the present invention is to provide a semiconductor integrated circuit capable of easily performing a logic function test without increasing the number of terminals and minimizing an increase in circuits required for switching terminals. It is to provide a circuit.

【0008】[0008]

【課題を解決するための手段】は、半導体集積回路に備
えられている内部回路につながる複数の信号端子と、外
部機器に接続される複数の入出力端子と、これら信号端
子と入出力端子との間に介挿されてこれら信号端子と入
出力端子との間の接続を選択的に切り替えるセレクタ
と、設定された値に基づいて前記セレクタの切り替え状
態を制御するレジスタとを備えており、前記レジスタは
半導体集積回路に設けられている既存の端子および前記
内部回路によりその設定値が変化設定可能に構成され
る。
A plurality of signal terminals connected to an internal circuit provided in a semiconductor integrated circuit, a plurality of input / output terminals connected to an external device, these signal terminals and the input / output terminals are provided. A selector that is interposed between and selectively switches connection between these signal terminals and input / output terminals, and a register that controls a switching state of the selector based on a set value, The register is configured such that its set value can be changed and set by an existing terminal provided in the semiconductor integrated circuit and the internal circuit.

【0009】ここで、レジスタはリセット端子とCPU
に接続され、リセット端子からのリセット信号によりリ
セット値が設定され、CPUからのアドレス出力により
設定値が変化され、これらの設定値に基づく出力により
セレクタを切り替える構成とされる。あるいは、レジス
タはリセット端子と入出力端子の一部に接続され、リセ
ット端子からのリセット信号によりリセット値が設定さ
れ、入出力端子からの信号により所定の設定値に設定さ
れ、これらの設定値に基づく出力によりセレクタを切り
替える構成とされる。また、入出力端子の一部は、レジ
スタがリセット状態のときに内部回路に接続されない状
態にある入出力端子とされる。さらに、セレクタは、内
部回路につながる複数の信号端子と、複数の入出力端子
との間にそれぞれ介挿される複数個のスイッチ素子で構
成され、このスイッチ素子をレジスタからの出力により
選択的にオン,オフ動作させるように構成される。
Here, the register is a reset terminal and a CPU.
, A reset value is set by a reset signal from a reset terminal, a set value is changed by an address output from the CPU, and a selector is switched by an output based on these set values. Alternatively, the register is connected to the reset terminal and a part of the input / output terminal, a reset value is set by a reset signal from the reset terminal, and a predetermined set value is set by a signal from the input / output terminal. Based on the output, the selector is switched. Some of the input / output terminals are input / output terminals that are not connected to the internal circuit when the register is in the reset state. Further, the selector includes a plurality of signal terminals connected to an internal circuit and a plurality of switch elements interposed between the plurality of input / output terminals, respectively, and selectively turns on the switch elements by an output from a register. , And is configured to be turned off.

【0010】[0010]

【発明の実施の形態】次に、本発明の実施形態について
図面を参照して説明する。図1は本発明の第1の実施形
態の半導体集積回路の主要部のブロック構成図である。
半導体集積回路には、CPU10と、このCPU10と
バスで接続される2つの汎用入出力ポート、ここでは前
記CPU10の8ビットのバスに対してそれぞれ4ビッ
トずつ接続される4ビット汎用入出力ポート11,12
と、これら入出力ポート11,12のそれぞれの端子に
接続されてこれら端子の接続状態を選択するためのセレ
クタ20と、このセレクタ20を制御するレジスタ30
とを備えている。そして、前記セレクタ20にそれぞれ
接続される4×2の入出力端子40〜43,44〜47
と、前記CPU10とレジスタ30をリセットするため
の信号が入力されるリセット端子50が設けられる。ま
た、前記レジスタ30はCPU10にもバスを介して接
続され、CPU10を通してデータが入力可能とされて
いる。
Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of a main part of a semiconductor integrated circuit according to a first embodiment of the present invention.
The semiconductor integrated circuit includes a CPU 10 and two general-purpose input / output ports connected to the CPU 10 by a bus, here, a 4-bit general-purpose input / output port 11 connected to the 8-bit bus of the CPU 10 by 4 bits each. , 12
And a selector 20 connected to the respective terminals of the input / output ports 11 and 12 for selecting the connection state of these terminals, and a register 30 for controlling the selector 20
And Then, 4 × 2 input / output terminals 40 to 43 and 44 to 47 connected to the selector 20, respectively.
And a reset terminal 50 to which a signal for resetting the CPU 10 and the register 30 is input. The register 30 is also connected to the CPU 10 via a bus so that data can be input through the CPU 10.

【0011】図2は前記セレクタ20の一例の回路図で
ある。セレクタ20は、16個のトランスファーゲート
200〜215と、インバータ216によって構成され
ている。前記トランスファーゲート200〜215は、
2つずつ組を成した2×8の構成とされ、各組において
はそれぞれの一方の端部が前記CPU10のバス側の各
端子に共通して接続される。また、各トランスファーゲ
ート200〜215の他方の端部は、一方は端子40〜
43に接続され、他方は端子44〜47に接続されてい
る。さらに、前記インバータ216は前記レジスタ30
の出力が入力されており、前記各組のトランスファーゲ
ートの制御端の一方はこのインバータ216の出力端に
接続されてレジスタ30の出力の反転信号が入力され
る。また、他方はインバータ216の入力端側に接続さ
れており、前記レジスタ30の出力がそのまま入力され
る。
FIG. 2 is a circuit diagram of an example of the selector 20. The selector 20 includes 16 transfer gates 200 to 215 and an inverter 216. The transfer gates 200 to 215 are:
Each pair has a 2 × 8 configuration, and one end of each pair is commonly connected to each terminal on the bus side of the CPU 10. The other end of each of the transfer gates 200 to 215 has one terminal 40 to
43, and the other is connected to terminals 44-47. Further, the inverter 216 is connected to the register 30
Is connected to one of the control terminals of the transfer gates of each of the sets, and an inverted signal of the output of the register 30 is input to the output terminal of the inverter 216. The other is connected to the input terminal side of the inverter 216, and the output of the register 30 is directly input.

【0012】このセレクタ20では、前記レジスタ30
の出力が“0”の時は、トランスファーゲート200,
203,204,207,208,211,212,2
15に反転信号の“1”が入力されてこれらがオンとな
り、ポート11と入出力端子40〜43、ポート12と
入出力端子44〜47がそれぞれ接続状態とされる。ま
た、レジスタ30の出力が“1”の時は、トランスファ
ーゲート201,202,205,206,209,2
10,213,214にその出力がそのまま入力されて
これらがオンとなり、ポート11と入出力端子44〜4
7、ポート12と入出力端子40〜44がそれぞれ接続
状態とされる。また、前記レジスタ30は、リセット端
子50を“1”にすることによってリセットされて初期
状態の“0”となる。
In this selector 20, the register 30
Is "0", the transfer gate 200,
203, 204, 207, 208, 211, 212, 2
The inverted signal “1” is input to 15 and these are turned on, and the port 11 is connected to the input / output terminals 40 to 43, and the port 12 is connected to the input / output terminals 44 to 47. When the output of the register 30 is "1", the transfer gates 201, 202, 205, 206, 209, 2
10, 213, 214, their outputs are input as they are and these are turned on, and the port 11 and the input / output terminals 44 to 4
7. The port 12 is connected to the input / output terminals 40 to 44, respectively. When the reset terminal 50 is set to "1", the register 30 is reset to "0" in the initial state.

【0013】以上の構成の半導体集積回路に対する、ポ
ート11,ポート12の論理機能試験の方法について説
明する。ここで、LSIテスタの端子はこの半導体集積
回路の入出力端子の数よりも少ないため、ここでは入出
力端子40〜43とリセット端子50がLSIテスタと
接続されているが、入出力端子44〜47はLSIテス
タに接続されていないものとする。先ず、リセット端子
50に“1”を入力し、CPU10,レジスタ30を初
期化する。このレジスタ30をリセットすることによ
り、レジスタ30の値は“0”となり、図2に示したよ
うに入出力端子40〜43はポート11と接続された状
態となる。したがって、入出力端子40〜43を通して
ポート11の論理機能試験を行うことができる。ポート
11の論理機能試験か終わったら、CPU10よりレジ
スタ30のアドレスを出力して、レジスタ30の値を
“1”に書き換える。これにより、ポート11とポート
12の入出力端子が入れ替わり、今度は入出力端子40
〜43はポート12と接続された状態となり、入出力端
子40〜43を通してポート12の論理機能試験を行う
ことができる。
A description will be given of a method of testing the logic function of the ports 11 and 12 for the semiconductor integrated circuit having the above configuration. Here, since the number of terminals of the LSI tester is smaller than the number of input / output terminals of the semiconductor integrated circuit, the input / output terminals 40 to 43 and the reset terminal 50 are connected to the LSI tester. 47 is not connected to the LSI tester. First, "1" is input to the reset terminal 50 to initialize the CPU 10 and the register 30. By resetting the register 30, the value of the register 30 becomes "0", and the input / output terminals 40 to 43 are connected to the port 11 as shown in FIG. Therefore, the logical function test of the port 11 can be performed through the input / output terminals 40 to 43. When the logical function test of the port 11 is completed, the address of the register 30 is output from the CPU 10 and the value of the register 30 is rewritten to “1”. As a result, the input / output terminals of the port 11 and the port 12 are switched, and the input / output terminal 40
To 43 are connected to the port 12, and the logical function test of the port 12 can be performed through the input / output terminals 40 to 43.

【0014】この第1の実施形態によれば、論理機能試
験を行う半導体集積回路の端子数よりも、LSIテスタ
の端子数が少ない場合でも、半導体集積回路の端子とL
SIの端子接続を変更することなく、半導体集積回路の
内部での切り換え動作によって端子を入れ替えることに
よって、全入出力端子の論理機能試験を行うことができ
る。また、この場合、既存のリセット端子50にリセッ
ト信号を入力してレジスタ30をリセットし、かつCP
U10を通してレジスタ30の値を書き替えるだけで、
セレクタ20を動作させて前記した端子の切り替えが実
現できるため、切り換えを行うための端子を新たに設け
る必要もなく、端子数を増加させることもない。
According to the first embodiment, even when the number of terminals of the LSI tester is smaller than the number of terminals of the semiconductor integrated circuit on which the logical function test is performed, the terminals of the semiconductor integrated circuit are connected to L
By changing the terminals by a switching operation inside the semiconductor integrated circuit without changing the terminal connection of the SI, the logical function test of all the input / output terminals can be performed. In this case, a reset signal is input to the existing reset terminal 50 to reset the register 30,
Just rewrite the value of register 30 through U10,
Since the above-described terminal switching can be realized by operating the selector 20, it is not necessary to newly provide a terminal for switching, and it is not necessary to increase the number of terminals.

【0015】図3は本発明の第2の実施形態の半導体集
積回路の主要部のブロック構成図である。同図におい
て、第1の実施形態と等価な部分には同一符号を付して
あるが、本実施形態の半導体装置の構成が第1の実施形
態と異なる点は、レジスタ30がCPU10と接続され
ず、ポート12と接続され、ポート12を介して値の書
き替えが可能と構成されている点である。なお、セレク
タ20の構成は図2に示したものと同じであるとする。
FIG. 3 is a block diagram of a main part of a semiconductor integrated circuit according to a second embodiment of the present invention. In the figure, the same parts as those in the first embodiment are denoted by the same reference numerals, but the configuration of the semiconductor device of the present embodiment is different from that of the first embodiment in that the register 30 is connected to the CPU 10. Instead, it is connected to the port 12 and the value can be rewritten through the port 12. It is assumed that the configuration of the selector 20 is the same as that shown in FIG.

【0016】図4は、本実施形態のレジスタ30の回路
図であり、D─フリップフロップ301と、AND回路
302とで構成され、D−フリップフロップ301のD
端子にポート12の一部の端子、ここでは入出力端子4
4が接続され、クロック端子にリセット端子50が接続
されている。また、その出力とリセット端子50はAN
D回路302の入力とされ、その出力がセレクタ20の
入力とされている。この構成では、リセット端子50か
ら“1”が出力されている時(リセット状態)は、AN
D回路302の出力、すなわちレジスタ30の出力が
“0”となる。したがって、図2に示したようにセレク
タ回路20では、ポート12は入出力端子44〜47と
接続される。この時、入出力端子44からレジスタ30
に書き込む値を入力して、リセット端子50を“0”に
(リセットを解除)すると、入出力端子44の値がポー
ト12を通してレジスタ30に入力され、D−フリップ
フロップ301の出力、すなわち入出力端子44の値が
そのままAND回路302、つまりレジスタ30の出力
となる。
FIG. 4 is a circuit diagram of the register 30 according to the present embodiment. The register 30 includes a D flip-flop 301 and an AND circuit 302.
The terminal is a part of the port 12, here the input / output terminal 4
4 is connected, and the reset terminal 50 is connected to the clock terminal. The output and the reset terminal 50 are connected to the
The input is input to the D circuit 302, and the output is input to the selector 20. In this configuration, when “1” is output from the reset terminal 50 (reset state),
The output of the D circuit 302, that is, the output of the register 30, becomes "0". Therefore, as shown in FIG. 2, in the selector circuit 20, the port 12 is connected to the input / output terminals 44 to 47. At this time, the input / output terminal 44 connects the register 30
When the reset terminal 50 is set to "0" (the reset is released), the value of the input / output terminal 44 is input to the register 30 through the port 12, and the output of the D-flip-flop 301, that is, the input / output The value at the terminal 44 becomes the output of the AND circuit 302, that is, the register 30 as it is.

【0017】この構成によれば、半導体集積回路に対す
る、ポート11,ポート12の論理機能試験時には、L
SIテスタの端子はこの半導体集積回路の入出力端子の
数よりも少ないが、ここでは入出力端子40〜43とリ
セット端子50に加えて入出力端子44がLSIテスタ
と接続されているものとする。ここで、リセット端子5
0に“1”を入力し、CPU10,レジスタ30を初期
化する。このレジスタ30をリセットすることにより、
レジスタ30の値は“0”となり、入出力端子40〜4
3はポート11と接続された状態となり、入出力端子4
0〜43を通してポート11の論理機能試験を行うこと
ができる。ポート11の論理機能試験か終わったら、リ
セット端子50に“0”を入力し、かつ入出力端子44
に“1”を入力する。これにより、レジスタ30の値は
“1”となり、この値がセレクタ20に入力されるた
め、ポート11とポート12の入出力端子が入れ替わ
り、今度は入出力端子40〜43はポート12と接続さ
れた状態となり、入出力端子40〜43を通してポート
12の論理機能試験を行うことができる。
According to this configuration, at the time of the logical function test of the ports 11 and 12 for the semiconductor integrated circuit,
Although the number of terminals of the SI tester is smaller than the number of input / output terminals of the semiconductor integrated circuit, it is assumed here that the input / output terminals 44 are connected to the LSI tester in addition to the input / output terminals 40 to 43 and the reset terminal 50. . Here, reset terminal 5
"1" is input to "0" to initialize the CPU 10 and the register 30. By resetting this register 30,
The value of the register 30 becomes “0” and the input / output terminals 40 to 4
3 is connected to the port 11 and the input / output terminal 4
The logical function test of the port 11 can be performed through 0 to 43. When the logical function test of the port 11 is completed, “0” is input to the reset terminal 50 and the input / output terminal 44
"1" is input. As a result, the value of the register 30 becomes "1", and this value is input to the selector 20, so that the input / output terminals of the port 11 and the port 12 are exchanged. In this state, the logical function test of the port 12 can be performed through the input / output terminals 40 to 43.

【0018】この第2の実施形態においても、論理機能
試験を行う半導体集積回路の端子数よりも、LSIテス
タの端子数が少ない場合でも、半導体集積回路の端子と
LSIの端子接続を変更することなく、半導体集積回路
の内部での切り換え動作によって端子を入れ替えること
によって、全入出力端子の論理機能試験を行うことがで
きる。また、この場合、既存のリセット端子50にリセ
ット信号を入力してレジスタ30をリセットし、かつL
SIテスタに接続されていない入出力端子44を通して
レジスタ30の値を書き替えるだけで、セレクタ20を
動作させて前記した端子の切り替えが実現できるため、
切り換えを行うための端子を新たに設ける必要もなく、
端子数を増加させることもない。また、レジスタ30の
値を書き替える際に、CPU10から値を入力させる必
要がないため、アドレスデコーダ回路を削減することも
可能となる。
Also in the second embodiment, even when the number of terminals of the LSI tester is smaller than the number of terminals of the semiconductor integrated circuit on which the logic function test is performed, the connection between the terminal of the semiconductor integrated circuit and the terminal of the LSI is changed. In addition, by exchanging the terminals by the switching operation inside the semiconductor integrated circuit, the logical function test of all the input / output terminals can be performed. In this case, a reset signal is input to the existing reset terminal 50 to reset the register 30, and
By simply rewriting the value of the register 30 through the input / output terminal 44 that is not connected to the SI tester, the selector 20 can be operated and the above-described terminal switching can be realized.
There is no need to provide a new terminal for switching,
There is no increase in the number of terminals. In addition, when the value of the register 30 is rewritten, it is not necessary to input a value from the CPU 10, so that the number of address decoder circuits can be reduced.

【0019】なお、この第2の実施形態では、リセット
端子50から“1”を入力しているときに入出力端子4
4から値を入力してレジスタ30の値を設定している
が、例えばリセット端子以外の端子やレジスタ等の値で
ポート12の入出力端子44を入出力ポートとして使用
していないことが検出できれば、リセット端子を用いな
くてもよい。また、本発明においては、レジスタのビッ
ト数を増やして入出力端子の入れ替え方を3通り以上に
したり、リセット端子やクロック出力端子等汎用ポート
以外の端子を入れ替えることもできる。
In the second embodiment, when "1" is input from the reset terminal 50, the input / output terminal 4
Although the value of the register 30 is set by inputting a value from 4, if it is detected that the input / output terminal 44 of the port 12 is not used as the input / output port with the value of the terminal other than the reset terminal or the value of the register, for example. Alternatively, the reset terminal may not be used. Further, in the present invention, the number of bits of the register can be increased to change the input / output terminals in three or more ways, or the terminals other than the general-purpose port such as the reset terminal and the clock output terminal can be replaced.

【0020】[0020]

【発明の効果】以上説明したように、本発明の半導体集
積回路は、内部回路につながる信号端子と、外部機器に
接続される入出力端子との間にセレクタを介挿し、かつ
その設定値に応じてこのセレクタにおいて前記信号端子
と入出力端子との接続を切り替える制御するレジスタを
備え、このレジスタの設定値を既存の端子から変更可能
とする構成を採用しているので、既存の端子を利用して
信号端子と入出力端子とを選択的に切り替えることがで
き、少ない端子数のLSIテスタを用いての試験が実現
可能となる。したがって、試験専用の端子を設ける必要
がなく、しかも試験専用の回路部を多数設ける必要がな
く、これにより半導体集積回路の構成を簡略化でき、し
かも回路規模の増大も最小限に抑えて、端子数の少ない
LSIテスタでの論理機能試験を容易に実施できる半導
体集積回路を得ることができる。
As described above, in the semiconductor integrated circuit of the present invention, the selector is inserted between the signal terminal connected to the internal circuit and the input / output terminal connected to the external device, and the set value is set. Accordingly, the selector is provided with a register for controlling the connection between the signal terminal and the input / output terminal, and the setting value of this register can be changed from the existing terminal. Thus, the signal terminal and the input / output terminal can be selectively switched, and a test using an LSI tester with a small number of terminals can be realized. Therefore, there is no need to provide dedicated test terminals, and it is not necessary to provide a large number of dedicated test circuits, thereby simplifying the configuration of the semiconductor integrated circuit and minimizing the increase in circuit scale. A semiconductor integrated circuit that can easily perform a logical function test using a small number of LSI testers can be obtained.

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

【図1】本発明の第1の実施形態の主要部の構成を示す
ブロック図である。
FIG. 1 is a block diagram showing a configuration of a main part of a first embodiment of the present invention.

【図2】セレクタの内部構成を示す回路図である。FIG. 2 is a circuit diagram showing an internal configuration of a selector.

【図3】本発明の第2の実施形態の主要部の構成を示す
ブロック図である。
FIG. 3 is a block diagram showing a configuration of a main part of a second embodiment of the present invention.

【図4】第2の実施形態のレジスタの構成を示す回路図
である。
FIG. 4 is a circuit diagram illustrating a configuration of a register according to a second embodiment.

【図5】従来の半導体集積回路の一例のブロック構成図
である。
FIG. 5 is a block diagram illustrating an example of a conventional semiconductor integrated circuit.

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

10 CPU 11,12 ポート 20 セレクタ 30 レジスタ 40〜47 入出力端子 50 リセット端子 200〜215 トランスファーゲート 216 インバータ 301 D−フリップフロップ 302 AND回路 DESCRIPTION OF SYMBOLS 10 CPU 11, 12 port 20 Selector 30 Register 40-47 I / O terminal 50 Reset terminal 200-215 Transfer gate 216 Inverter 301 D-flip-flop 302 AND circuit

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 半導体集積回路に備えられている内部回
路につながる複数の信号端子と、外部機器に接続される
複数の入出力端子と、これら信号端子と入出力端子との
間に介挿されてこれら信号端子と入出力端子との間の接
続を選択的に切り替えるセレクタと、設定された値に基
づいて前記セレクタの切り替え状態を制御するレジスタ
とを備え、前記レジスタは半導体集積回路に設けられて
いる既存の端子および前記内部回路によりその設定値が
変化設定可能に構成されることを特徴とする半導体集積
回路。
1. A plurality of signal terminals connected to an internal circuit provided in a semiconductor integrated circuit, a plurality of input / output terminals connected to an external device, and interposed between the signal terminals and the input / output terminals. A selector for selectively switching the connection between these signal terminals and the input / output terminals, and a register for controlling a switching state of the selector based on a set value, wherein the register is provided in the semiconductor integrated circuit. A semiconductor integrated circuit wherein the set value can be changed and set by an existing terminal and the internal circuit.
【請求項2】 レジスタはリセット端子とCPUに接続
され、リセット端子からのリセット信号によりリセット
値が設定され、CPUからのアドレス出力により設定値
が変化され、これらの設定値に基づく出力によりセレク
タを切り替える請求項1の半導体集積回路。
2. A register is connected to a reset terminal and a CPU, a reset value is set by a reset signal from the reset terminal, a set value is changed by an address output from the CPU, and a selector is set by an output based on these set values. 2. The semiconductor integrated circuit according to claim 1, wherein the switching is performed.
【請求項3】 レジスタはリセット端子と入出力端子の
一部に接続され、リセット端子からのリセット信号によ
りリセット値が設定され、入出力端子からの信号により
所定の設定値に設定され、これらの設定値に基づく出力
によりセレクタを切り替える請求項1の半導体集積回
路。
3. A register is connected to a reset terminal and a part of an input / output terminal, a reset value is set by a reset signal from the reset terminal, and a predetermined value is set by a signal from the input / output terminal. 2. The semiconductor integrated circuit according to claim 1, wherein the selector is switched by an output based on the set value.
【請求項4】 入出力端子の一部は、レジスタがリセッ
ト状態のときに内部回路に接続されない状態にある入出
力端子である請求項3の半導体集積回路。
4. The semiconductor integrated circuit according to claim 3, wherein a part of the input / output terminal is an input / output terminal that is not connected to an internal circuit when the register is in a reset state.
【請求項5】 セレクタは、内部回路につながる複数の
信号端子と、複数の入出力端子との間にそれぞれ介挿さ
れる複数個のスイッチ素子で構成され、このスイッチ素
子をレジスタからの出力により選択的にオン,オフ動作
させるように構成される請求項1ないし4のいずれかの
半導体集積回路。
5. The selector includes a plurality of signal terminals connected to an internal circuit and a plurality of switch elements interposed between the plurality of input / output terminals, respectively, and selects the switch element by an output from a register. 5. The semiconductor integrated circuit according to claim 1, wherein said semiconductor integrated circuit is configured to perform an on / off operation.
JP8275705A 1996-10-18 1996-10-18 Semiconductor integrated circuit Pending JPH10123213A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8275705A JPH10123213A (en) 1996-10-18 1996-10-18 Semiconductor integrated circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8275705A JPH10123213A (en) 1996-10-18 1996-10-18 Semiconductor integrated circuit

Publications (1)

Publication Number Publication Date
JPH10123213A true JPH10123213A (en) 1998-05-15

Family

ID=17559226

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8275705A Pending JPH10123213A (en) 1996-10-18 1996-10-18 Semiconductor integrated circuit

Country Status (1)

Country Link
JP (1) JPH10123213A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002214292A (en) * 2001-01-12 2002-07-31 Advantest Corp Multi-output optional waveform generator and mixed lsi tester
JP2012063198A (en) * 2010-09-15 2012-03-29 Yokogawa Electric Corp Semiconductor device, semiconductor tester, and semiconductor test system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002214292A (en) * 2001-01-12 2002-07-31 Advantest Corp Multi-output optional waveform generator and mixed lsi tester
JP2012063198A (en) * 2010-09-15 2012-03-29 Yokogawa Electric Corp Semiconductor device, semiconductor tester, and semiconductor test system

Similar Documents

Publication Publication Date Title
JP2000275303A (en) Method and device for boundary scan test
US5809039A (en) Semiconductor integrated circuit device with diagnosis function
US20080043898A1 (en) Shift register comprising electrical fuse and related method
JP2000149600A5 (en)
US5796994A (en) Patch mechanism for allowing dynamic modifications of the behavior of a state machine
JPH0682326B2 (en) Scan register and test circuit using the same
US6289469B1 (en) Semiconductor integrated circuit having a plurality of processing circuits respectively executing necessary processes and a plurality of data holding circuits corresponding to the processing circuits
JP3363691B2 (en) Semiconductor logic integrated circuit
JPH10123213A (en) Semiconductor integrated circuit
KR20060121349A (en) Entry method for test mode of memory device
JPH083514B2 (en) Counter test equipment
JP2001066352A (en) Semiconductor integrated circuit and method for testing the same
JP2814032B2 (en) Scan path device and semiconductor integrated circuit device including the same
JP3185426B2 (en) Data transfer circuit for memory device inspection
JP2874248B2 (en) Electronic circuit with scan path for diagnostics
JP2723676B2 (en) Semiconductor integrated circuit
JPH0235700A (en) Memory circuit
KR960015560B1 (en) Apparatus for inputting 2-test data input to integrated circuit in a boundary-scan architecture
JPS6031641A (en) One chip microcomputer
JPS6095370A (en) Integrated circuit device
JP2503379B2 (en) Integrated circuit with test function
JPH0526979A (en) Test simplification circuit
JPH0358143A (en) Scan in/out logic circuit for lsi
JPH07301662A (en) Built-in testing circuit
JPH03174634A (en) Semiconductor integrated circuit