JP2007303859A - Test selection circuit, and semiconductor device equipped therewith - Google Patents

Test selection circuit, and semiconductor device equipped therewith Download PDF

Info

Publication number
JP2007303859A
JP2007303859A JP2006129960A JP2006129960A JP2007303859A JP 2007303859 A JP2007303859 A JP 2007303859A JP 2006129960 A JP2006129960 A JP 2006129960A JP 2006129960 A JP2006129960 A JP 2006129960A JP 2007303859 A JP2007303859 A JP 2007303859A
Authority
JP
Japan
Prior art keywords
signal
circuit
flip
test
reset
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
JP2006129960A
Other languages
Japanese (ja)
Inventor
Tetsuo Hashimoto
哲郎 橋本
Yuta Kiyasu
祐太 喜安
Akikazu Ito
暁一 伊藤
Isao Yamamoto
勲 山本
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.)
Rohm Co Ltd
Original Assignee
Rohm Co Ltd
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 Rohm Co Ltd filed Critical Rohm Co Ltd
Priority to JP2006129960A priority Critical patent/JP2007303859A/en
Publication of JP2007303859A publication Critical patent/JP2007303859A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/317Testing of digital circuits
    • G01R31/31701Arrangements for setting the Unit Under Test [UUT] in a test mode
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/317Testing of digital circuits
    • G01R31/3181Functional testing
    • G01R31/3185Reconfiguring for testing, e.g. LSSD, partitioning
    • G01R31/318533Reconfiguring for testing, e.g. LSSD, partitioning using scanning techniques, e.g. LSSD, Boundary Scan, JTAG
    • G01R31/318572Input/Output interfaces

Abstract

<P>PROBLEM TO BE SOLVED: To stably monitor a desired signal. <P>SOLUTION: This test selection circuit 10 is integrated in a semiconductor integrated circuit, and selects one out of a plurality of digital signals appearing in its inside, to be output to an outside via a test output terminal 114, when testing the semiconductor integrated circuit. A selection register 12 includes a plurality of flip-flop circuits FF1-FF7 capable of invalidating a reset function. A control circuit 16 outputs a control data Dcnt in response to a control signal Scnt from the outside, to each of data terminals in the flip-flop circuits FF1-FF7. A selector circuit 14 selects one digital signal correlated with a logic level of a selection signal Ssel, out of the digital signals SIG1-SIGn. The reset function for the flip-flop circuits FF1-FF7 is invalidated at least in a usual test. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、半導体集積回路に集積化されるテスト回路に関し、特にテスト時において、回路内部の複数のデジタル信号からひとつを選択して回路の外部に出力するテストセレクト回路に関する。   The present invention relates to a test circuit integrated in a semiconductor integrated circuit, and more particularly to a test select circuit that selects one of a plurality of digital signals inside a circuit and outputs the selected signal outside the circuit during a test.

近年の携帯電話、PDA(Personal Digital Assistant)、ノート型パーソナルコンピュータなどのさまざまな電子機器には、電源回路、デジタル信号処理を行うCPU(Central Processing Unit)やDSP(Digital Signal Processor)、その他のアナログ、デジタル回路など、多くの電子回路が搭載される。このような電子回路では、回路が正常に動作するかを検査するために、検査工程においていくつかの信号を外部からモニタする。信号をモニタをするために、モニタの対象となる信号ごとにパッドを設けた場合、信号の数が増加すると回路面積も増大するという問題がある。   Various electronic devices such as cellular phones, PDAs (Personal Digital Assistants), and notebook personal computers in recent years include power supply circuits, CPUs (Central Processing Units) that perform digital signal processing, DSPs (Digital Signal Processors), and other analogs. Many electronic circuits such as digital circuits are installed. In such an electronic circuit, in order to inspect whether the circuit operates normally, some signals are monitored from the outside in the inspection process. When a pad is provided for each signal to be monitored in order to monitor a signal, there is a problem that the circuit area increases as the number of signals increases.

ここで、検査用のパッドの個数を減らす方法として、複数の信号からいずれか1つを選択して、1つのパッドから出力する回路(以下、テストセレクト回路という)を集積回路に設ける技術について検討する。テストセレクト回路を設ける場合、複数の信号のうち、いずれをモニタするかを選択するために、外部から制御信号を与える必要がある。この制御信号は、集積回路内に設けられたレジスタに書き込まれるのが一般的である。
特開2004−022947号公報
Here, as a method for reducing the number of pads for inspection, a technique for selecting one of a plurality of signals and outputting a circuit from one pad (hereinafter referred to as a test select circuit) in an integrated circuit is examined. To do. When the test select circuit is provided, it is necessary to provide a control signal from the outside in order to select which of a plurality of signals is to be monitored. This control signal is generally written in a register provided in the integrated circuit.
JP 2004-022947 A

本発明者は、このようなテストセレクト回路について検討した結果、以下の課題を認識するに至った。一般的にレジスタは、フリップフロップを用いて構成される。ここで、ある信号をモニタしている最中に、フリップフロップがリセットされると、テストセレクト回路によって選択される信号が切り替わってしまうという問題がある。   As a result of studying such a test select circuit, the present inventor has recognized the following problems. Generally, a register is configured using a flip-flop. Here, if a flip-flop is reset while a certain signal is being monitored, there is a problem that the signal selected by the test select circuit is switched.

本発明はかかる課題に鑑みてなされたものであり、その目的は、所望の信号を安定にモニタすることが可能なテストセレクト回路の提供にある。   The present invention has been made in view of such a problem, and an object thereof is to provide a test select circuit capable of stably monitoring a desired signal.

本発明のある態様は、半導体集積回路に集積化され、半導体集積回路のテスト時において、半導体集積回路の内部に現れる複数のデジタル信号から、ひとつを選択して半導体集積回路の外部に出力するテストセレクト回路に関する。このテストセレクト回路は、複数のフリップフロップ回路を含む選択レジスタと、複数のフリップフロップ回路のデータ端子それぞれに、外部からの制御信号に応じた制御データを出力する制御回路と、複数のデジタル信号および複数のフリップフロップ回路から出力される選択信号が入力されており、複数のデジタル信号から、選択信号の論理レベルに対応付けられたひとつのデジタル信号を選択して出力するセレクタ回路と、を備える。選択レジスタに含まれる複数のフリップフロップ回路のリセット機能は、無効化可能に構成される。   One embodiment of the present invention is a test integrated with a semiconductor integrated circuit and selecting one of a plurality of digital signals appearing inside the semiconductor integrated circuit and outputting the selected signal to the outside of the semiconductor integrated circuit when testing the semiconductor integrated circuit. The present invention relates to a select circuit. The test select circuit includes a selection register including a plurality of flip-flop circuits, a control circuit that outputs control data corresponding to an external control signal to each of data terminals of the plurality of flip-flop circuits, a plurality of digital signals, and A selector circuit that receives selection signals output from a plurality of flip-flop circuits, and selects and outputs one digital signal associated with the logic level of the selection signal from the plurality of digital signals. The reset function of the plurality of flip-flop circuits included in the selection register is configured to be invalidated.

この態様によると、検査工程などのテスト時において、フリップフロップ回路のリセット機能を無効化することにより、あるデジタル信号を外部に出力している最中に、フリップフロップ回路がリセットされるのを防止でき、選択信号の不要な切り替わりを防止して所望の信号を安定にモニタすることができる。   According to this aspect, the flip-flop circuit is prevented from being reset while a certain digital signal is being output to the outside by disabling the reset function of the flip-flop circuit during a test such as an inspection process. Thus, unnecessary switching of the selection signal can be prevented and a desired signal can be monitored stably.

ある態様において、複数のフリップフロップ回路は、それぞれリセット端子を備えており、選択レジスタは、半導体集積回路の機能をテストする通常のテストモード時において、複数のフリップフロップのリセット端子の論理レベルを固定し、複数のフリップフロップ回路を含む論理ゲート群が正常に機能するかをテストするスキャンテストモード時において、複数のフリップフロップのリセット端子に、ハイレベルまたはローレベルの論理信号を出力するリセットセレクタ回路をさらに含んでもよい。
この態様によれば、通常のテストモード時には、リセット端子のレベルが固定されるため、選択信号の不要な切り替わりが防止できるとともに、スキャンテストモード時においては、ハイレベル、ローレベルの論理信号によってフリップフロップ回路をテストすることができる。
In one aspect, each of the plurality of flip-flop circuits includes a reset terminal, and the selection register fixes the logic level of the reset terminal of the plurality of flip-flops in a normal test mode for testing the function of the semiconductor integrated circuit. In a scan test mode for testing whether a logic gate group including a plurality of flip-flop circuits functions normally, a reset selector circuit that outputs a high-level or low-level logic signal to a reset terminal of the plurality of flip-flops May further be included.
According to this aspect, since the level of the reset terminal is fixed in the normal test mode, unnecessary switching of the selection signal can be prevented, and in the scan test mode, the flip-flop is flipped by the high level and low level logic signals. The circuit can be tested.

ある態様において、リセットセレクタ回路は、第1入力端子に、論理レベルが固定された信号が入力され、第2入力端子に、ハイレベルまたはローレベルのスキャンリセット信号が入力されており、テストモードおよびスキャンテストモードを切り換えるモードセレクト信号に応じて、第1入力端子または第2入力端子の信号を、複数のフリップフロップのリセット端子に出力してもよい。   In one embodiment, the reset selector circuit has a signal with a fixed logic level input to the first input terminal, and a high-level or low-level scan reset signal input to the second input terminal. A signal at the first input terminal or the second input terminal may be output to the reset terminals of the plurality of flip-flops according to the mode select signal for switching the scan test mode.

ある態様において、複数のフリップフロップ回路を、リセット端子を有さない構成としてもよい。この場合、フリップフロップ回路に含まれるゲート数を減らすことができるため、回路面積を削減することができる。   In one embodiment, a plurality of flip-flop circuits may be configured without a reset terminal. In this case, since the number of gates included in the flip-flop circuit can be reduced, the circuit area can be reduced.

ある態様において、複数のデジタル信号は、半導体集積回路に内蔵された低電圧誤動作防止回路の出力信号であって、半導体集積回路に供給される電源電圧が所定値より低い低電圧状態を示す低電圧検出信号に関連する信号を含んでもよい。   In one embodiment, the plurality of digital signals are output signals of a low-voltage malfunction prevention circuit built in the semiconductor integrated circuit, and the low voltage indicating a low voltage state in which the power supply voltage supplied to the semiconductor integrated circuit is lower than a predetermined value A signal related to the detection signal may be included.

なお、以上の構成要素の任意の組合せや本発明の構成要素や表現を、方法、装置、システムなどの間で相互に置換したものもまた、本発明の態様として有効である。   Note that any combination of the above-described constituent elements and the constituent elements and expressions of the present invention replaced with each other among methods, apparatuses, systems, etc. are also effective as an aspect of the present invention.

本発明に係るテストセレクト回路によれば、所望の信号を安定にモニタすることができる。   The test select circuit according to the present invention can monitor a desired signal stably.

以下、本発明の実施の形態に係るテストセレクト回路について、図面を参照しながら説明する。各図面に示される同一または同等の構成要素、部材、処理には、同一の符号を付するものとし、適宜重複した説明は省略する。   Hereinafter, a test select circuit according to an embodiment of the present invention will be described with reference to the drawings. The same or equivalent components, members, and processes shown in the drawings are denoted by the same reference numerals, and repeated descriptions are omitted as appropriate.

図1は、実施の形態に係るテストセレクト回路10の構成を示す回路図である。また、図2は、図1のテストセレクト回路10が好適に使用される電源回路100、およびその電源回路100を備える電子機器1000全体のブロック図である。まず、図2を参照して、電子機器1000全体の構成について説明する。電子機器1000は、たとえば携帯電話端末や、PDA、ノート型PCなどの電池駆動型の情報端末機器である。電子機器1000は、電源回路100、電池200、CPU300を備える。   FIG. 1 is a circuit diagram showing a configuration of a test select circuit 10 according to the embodiment. FIG. 2 is a block diagram of a power supply circuit 100 in which the test select circuit 10 of FIG. 1 is preferably used, and an entire electronic device 1000 including the power supply circuit 100. First, the overall configuration of the electronic device 1000 will be described with reference to FIG. The electronic device 1000 is a battery-driven information terminal device such as a mobile phone terminal, PDA, or notebook PC. The electronic device 1000 includes a power supply circuit 100, a battery 200, and a CPU 300.

CPU300は、電子機器1000全体を制御し、さまざまな演算処理を実行するプロセッサであって、電源回路100により供給される電源電圧Vdd1〜Vdd3によって駆動される。以下、電源電圧Vdd1〜Vdd3を、単に電源電圧Vddともいう。CPU300は、高効率動作のため、回路ブロックごとに、異なる電源電圧で動作するように構成されており、また電力供給も個別にオンオフできるように構成される。たとえば、電源電圧Vdd1〜Vdd3は、それぞれ、コアブロック、メモリブロック、入出力(I/O)ブロックへと供給される。また、CPU300には、電源回路100からリセット信号RSTが入力される。リセット信号RSTは、電源回路100から、CPU300に対して、電源電圧Vddの供給が完了した旨を通知し、あるいは低電圧状態を通知する信号である。   The CPU 300 is a processor that controls the entire electronic device 1000 and executes various arithmetic processes, and is driven by power supply voltages Vdd1 to Vdd3 supplied by the power supply circuit 100. Hereinafter, the power supply voltages Vdd1 to Vdd3 are also simply referred to as power supply voltage Vdd. The CPU 300 is configured to operate with different power supply voltages for each circuit block for high-efficiency operation, and is configured to be able to individually turn on and off the power supply. For example, the power supply voltages Vdd1 to Vdd3 are supplied to the core block, the memory block, and the input / output (I / O) block, respectively. Further, the CPU 300 receives a reset signal RST from the power supply circuit 100. The reset signal RST is a signal for notifying that the supply of the power supply voltage Vdd is completed from the power supply circuit 100 to the CPU 300 or a low voltage state.

実際には、電源回路100により駆動される負荷は、CPU300に限定されるものではなく、これに代えて、あるいはこれに加えて、その他のDSPや、発光ダイオードなどが駆動されてもよい。   Actually, the load driven by the power supply circuit 100 is not limited to the CPU 300, but other DSPs or light emitting diodes may be driven instead of or in addition to this.

電池200は、Liイオン電池などの2次電池であって、2Vから4.2V程度の電池電圧Vbatを出力する。電池電圧Vbatは、電力消費によって低下していくとともに、充電によって上昇する。   The battery 200 is a secondary battery such as a Li ion battery, and outputs a battery voltage Vbat of about 2V to 4.2V. The battery voltage Vbat decreases with power consumption and increases with charging.

電源回路100は、入出力用の端子として、電池端子102、リセット端子104、電源端子106、108、110、AC端子112を備える。電池端子102には、電池200が接続される。リセット端子104、電源端子106、108、110は、いずれもCPU300と接続される。AC端子112は、外部の電源回路に接続される。外部の電源回路は、たとえば、商用交流電圧を、直流電圧に変換するいわゆるACアダプタである。   The power supply circuit 100 includes a battery terminal 102, a reset terminal 104, power supply terminals 106, 108, and 110, and an AC terminal 112 as input / output terminals. A battery 200 is connected to the battery terminal 102. The reset terminal 104 and the power supply terminals 106, 108 and 110 are all connected to the CPU 300. The AC terminal 112 is connected to an external power supply circuit. The external power supply circuit is, for example, a so-called AC adapter that converts a commercial AC voltage into a DC voltage.

CPU300に供給される電源電圧Vddは、2V、あるいはそれ以下の所定電圧に安定化されている必要がある。一方で、電池200の電池電圧Vbatは、2V〜4.2V程度である。そこで、電源回路100は、電池200から供給される電池電圧Vbatを降圧し、電池電圧Vbatの値によらない一定値に安定化して、CPU300へと供給する。   The power supply voltage Vdd supplied to the CPU 300 needs to be stabilized at a predetermined voltage of 2 V or less. On the other hand, the battery voltage Vbat of the battery 200 is about 2V to 4.2V. Therefore, the power supply circuit 100 steps down the battery voltage Vbat supplied from the battery 200, stabilizes it to a constant value independent of the value of the battery voltage Vbat, and supplies it to the CPU 300.

電源回路100は、第1レギュレータ回路30、第2レギュレータ回路32、第3レギュレータ回路34、充電回路40、UVLO回路50に加えて、テストセレクト回路10を備える。充電回路40には、AC端子112にACアダプタが接続されると、直流電圧Vdcが供給される。このとき、充電回路40は、電池200に充電電流を供給して、電池200を4.2V程度まで充電する。   The power supply circuit 100 includes a test select circuit 10 in addition to the first regulator circuit 30, the second regulator circuit 32, the third regulator circuit 34, the charging circuit 40, and the UVLO circuit 50. The DC voltage Vdc is supplied to the charging circuit 40 when an AC adapter is connected to the AC terminal 112. At this time, the charging circuit 40 supplies a charging current to the battery 200 to charge the battery 200 to about 4.2V.

第1レギュレータ回路30、第2レギュレータ回路32、第3レギュレータ回路34には、電池端子102を介して電池電圧Vbatが供給される。第1レギュレータ回路30、第2レギュレータ回路32、第3レギュレータ回路34は、リニアレギュレータであって、それぞれ、電池電圧Vbatを降圧して、安定化された電源電圧Vdd1〜Vdd3を出力し、電源端子106、108、110を介してCPU300へと出力する。   The battery voltage Vbat is supplied to the first regulator circuit 30, the second regulator circuit 32, and the third regulator circuit 34 via the battery terminal 102. The first regulator circuit 30, the second regulator circuit 32, and the third regulator circuit 34 are linear regulators, respectively, step down the battery voltage Vbat and output stabilized power supply voltages Vdd1 to Vdd3, and power supply terminals It outputs to CPU300 via 106,108,110.

UVLO回路50は、入力電圧としての電池電圧Vbatが入力されるとともに、電子機器1000の電源キーのオン、オフ状態に応じてレベルが変動するパワーオン信号(以下、起動信号ともいう)PWR_ONが入力されている。パワーオン信号PWR_ONは、電子機器1000の起動を指示する信号であるため、以下、起動信号ともいう。   The UVLO circuit 50 receives a battery voltage Vbat as an input voltage, and also receives a power-on signal (hereinafter also referred to as a start signal) PWR_ON whose level varies depending on the on / off state of the power key of the electronic device 1000. Has been. Since the power-on signal PWR_ON is a signal for instructing activation of the electronic device 1000, it is also referred to as an activation signal hereinafter.

UVLO回路50は、電池電圧Vbatを監視し、監視される電池電圧Vbatが所定の条件を満たすか否かを判定する。具体的には、電池電圧Vbatを所定のしきい値電圧Vthと比較し、Vbat<Vthを低電圧状態として判定し、Vbat>Vthを非低電圧状態と判定する。そして、UVLO回路50は、非低電圧状態において、起動信号PWR_ONがハイレベルとなると、所定のシーケンスを実行する。本実施の形態において、UVLO回路50は、電池電圧Vbatが、予め決められたしきい値電圧Vthよりも高いとき、第1レギュレータ回路30、第2レギュレータ回路32、第3レギュレータ回路34を順番に起動し、起動が完了すると、CPU300に対してリセット信号RSTを出力する。   The UVLO circuit 50 monitors the battery voltage Vbat and determines whether or not the monitored battery voltage Vbat satisfies a predetermined condition. Specifically, the battery voltage Vbat is compared with a predetermined threshold voltage Vth, Vbat <Vth is determined as a low voltage state, and Vbat> Vth is determined as a non-low voltage state. The UVLO circuit 50 executes a predetermined sequence when the activation signal PWR_ON becomes a high level in the non-low voltage state. In the present embodiment, the UVLO circuit 50 sequentially turns the first regulator circuit 30, the second regulator circuit 32, and the third regulator circuit 34 when the battery voltage Vbat is higher than a predetermined threshold voltage Vth. When the activation is completed, a reset signal RST is output to the CPU 300.

UVLO回路50から、第1レギュレータ回路30、第2レギュレータ回路32、第3レギュレータ回路34には、それぞれ第1シーケンス信号SEQ1、第2シーケンス信号SEQ2、第3シーケンス信号SEQ3が出力されている。UVLO回路50は、起動可能な状態となると、第1シーケンス信号SEQ1〜第3シーケンス信号SEQ3を順にハイレベルに切り換える。第1レギュレータ回路30〜第3レギュレータ回路34は、ハイレベルのシーケンス信号SEQ1〜SEQ3が入力されると、安定化動作を開始し、電源電圧Vdd1〜Vdd3を出力する。   The UVLO circuit 50 outputs the first sequence signal SEQ1, the second sequence signal SEQ2, and the third sequence signal SEQ3 to the first regulator circuit 30, the second regulator circuit 32, and the third regulator circuit 34, respectively. When the UVLO circuit 50 is ready to start, the first sequence signal SEQ1 to the third sequence signal SEQ3 are sequentially switched to a high level. When the high-level sequence signals SEQ1 to SEQ3 are input, the first regulator circuit 30 to the third regulator circuit 34 start a stabilizing operation and output power supply voltages Vdd1 to Vdd3.

テストセレクト回路10は、半導体集積回路である電源回路100のテスト時において、電源回路100の内部に現れる複数のデジタル信号から、ひとつを選択して半導体集積回路の外部に出力する。本実施の形態において、テストセレクト回路10には、テストセレクト回路10から出力されるシーケンス信号SEQ1〜SEQ3、リセット信号RST、図示しないその他のデジタル信号が入力されている。テストセレクト回路10は、入力された信号のうち、外部から指示された信号を選択し、テスト出力端子114からテスト信号Stestを出力する。このテストセレクト回路10を設けることにより、電源回路100内部の複数の信号を、信号ごとにパッドを設けることなく、監視することができる。なお、テストセレクト回路10は、電源回路100がCPU300に電源電圧を供給する通常の動作時においては、非動作状態となる。   The test select circuit 10 selects one of a plurality of digital signals appearing inside the power supply circuit 100 and outputs it outside the semiconductor integrated circuit when testing the power supply circuit 100 that is a semiconductor integrated circuit. In the present embodiment, sequence signals SEQ1 to SEQ3, a reset signal RST, and other digital signals (not shown) output from the test select circuit 10 are input to the test select circuit 10. The test select circuit 10 selects an externally designated signal from the input signals and outputs a test signal Test from the test output terminal 114. By providing the test select circuit 10, a plurality of signals in the power supply circuit 100 can be monitored without providing a pad for each signal. Note that the test select circuit 10 is in a non-operating state during a normal operation in which the power supply circuit 100 supplies the power supply voltage to the CPU 300.

以下、図1に戻り、実施の形態に係るテストセレクト回路10の構成および動作を詳細に説明する。
上述のように、テストセレクト回路10は、複数のデジタル信号SIG1〜SIGnのいずれかを選択して、テスト出力端子114から出力する。テストセレクト回路10は、選択レジスタ12、セレクタ回路14、制御回路16を備える。選択レジスタ12は、複数のフリップフロップ回路FF1〜FF7を含み、テスト時において、いずれのデジタル信号を選択して出力するかを指示する選択信号Sselを保持するメモリとして機能する。実施の形態では、7つのフリップフロップ回路が図示されるが、フリップフロップ回路の個数は、テストセレクト回路10に入力されるデジタル信号SIGの個数に応じて決定すればよい。たとえば、7つのフリップフロップ回路を備える場合、7ビット=128個のデジタル信号SIG1〜SIG128から、ひとつの信号を選択して出力することができる。
Hereinafter, returning to FIG. 1, the configuration and operation of the test select circuit 10 according to the embodiment will be described in detail.
As described above, the test select circuit 10 selects any one of the plurality of digital signals SIG1 to SIGn and outputs the selected signal from the test output terminal 114. The test select circuit 10 includes a selection register 12, a selector circuit 14, and a control circuit 16. The selection register 12 includes a plurality of flip-flop circuits FF1 to FF7, and functions as a memory that holds a selection signal Ssel that indicates which digital signal to select and output during testing. Although seven flip-flop circuits are illustrated in the embodiment, the number of flip-flop circuits may be determined according to the number of digital signals SIG input to the test select circuit 10. For example, when seven flip-flop circuits are provided, one signal can be selected and output from 7 bits = 128 digital signals SIG1 to SIG128.

制御回路16には、テスト時において外部から制御信号Scntが入力される。制御回路16は、ICバスなどを介して、外部のテスタやCPUと接続され、入力された制御信号Scntをデコードする。制御回路16は、選択レジスタ12に含まれるフリップフロップ回路FF1〜FF7のデータ端子のそれぞれに、制御信号Scntに応じた制御データDcnt1〜Dcnt7を出力する。本実施の形態において、制御データDcntは、7ビットのデジタル信号となる。 A control signal Scnt is input to the control circuit 16 from the outside during the test. The control circuit 16 is connected to an external tester or CPU via an I 2 C bus or the like, and decodes the input control signal Scnt. The control circuit 16 outputs control data Dcnt1 to Dcnt7 corresponding to the control signal Scnt to the data terminals of the flip-flop circuits FF1 to FF7 included in the selection register 12, respectively. In the present embodiment, the control data Dcnt is a 7-bit digital signal.

セレクタ回路14には、複数のデジタル信号SIG1、SIG2、SIG3…、SIGnが入力されている。複数のデジタル信号SIGは、たとえば、半導体集積回路に内蔵されたUVLO回路50の出力信号であって、半導体集積回路に供給される電源電圧Vddが所定値より低い低電圧状態を示す低電圧検出信号に関連する信号を含んでいる。「関連する信号」とは、電池電圧Vbatとしきい値電圧Vthを比較するコンパレータの出力信号、これを遅延した信号、あるいはこれらの信号と他のデジタル信号との論理演算により得られた信号などをいう。たとえば、低電圧検出信号に関連する信号は、図2のテストセレクト回路10から出力されるシーケンス信号SEQ1〜SEQ3、リセット信号RSTなどである。   A plurality of digital signals SIG1, SIG2, SIG3,..., SIGn are input to the selector circuit. The plurality of digital signals SIG are, for example, output signals of the UVLO circuit 50 incorporated in the semiconductor integrated circuit, and a low voltage detection signal indicating a low voltage state in which the power supply voltage Vdd supplied to the semiconductor integrated circuit is lower than a predetermined value. Contains signals related to. “Related signal” refers to an output signal of a comparator that compares the battery voltage Vbat and the threshold voltage Vth, a delayed signal, or a signal obtained by logical operation of these signals and other digital signals. Say. For example, signals related to the low voltage detection signal are the sequence signals SEQ1 to SEQ3 and the reset signal RST output from the test select circuit 10 of FIG.

さらに、セレクタ回路14には、複数のフリップフロップ回路FF1〜FF7から出力される選択信号Sselが入力されており、複数のデジタル信号SIG1〜SIGnから、選択信号Sselの論理レベルに対応付けられたひとつのデジタル信号を選択して出力する。   Further, the selector circuit 14 is supplied with the selection signal Ssel output from the plurality of flip-flop circuits FF1 to FF7, and one of the plurality of digital signals SIG1 to SIGn is associated with the logic level of the selection signal Ssel. Select and output the digital signal.

本実施の形態において、選択レジスタ12に含まれる複数のフリップフロップ回路FF1〜FF7は、リセット機能を無効化することが可能となるように構成されている。図3は、選択レジスタ12の構成を示す回路図である。選択レジスタ12は、リセットセレクタ回路22と、複数のフリップフロップ回路FF1〜FF7を含む。フリップフロップ回路FF1〜FF7は、それぞれリセット端子を備えている。リセットセレクタ回路22は、半導体集積回路である電源回路100の機能をテストする通常のテストモード時において、複数のフリップフロップ回路FF1〜FF7のリセット端子の論理レベルを固定する。また、選択レジスタ12は、複数のフリップフロップ回路FF1〜FF7を含む論理ゲート群20が、正常に機能するかをテストするスキャンテストモード時において、複数のフリップフロップ回路FF1〜FF7のリセット端子に、ハイレベルまたはローレベルの論理信号であるスキャンリセット信号SRSTを出力する。   In the present embodiment, the plurality of flip-flop circuits FF1 to FF7 included in the selection register 12 are configured to be able to invalidate the reset function. FIG. 3 is a circuit diagram showing a configuration of the selection register 12. The selection register 12 includes a reset selector circuit 22 and a plurality of flip-flop circuits FF1 to FF7. The flip-flop circuits FF1 to FF7 each have a reset terminal. The reset selector circuit 22 fixes the logic levels of the reset terminals of the plurality of flip-flop circuits FF1 to FF7 in the normal test mode for testing the function of the power supply circuit 100 that is a semiconductor integrated circuit. In addition, the selection register 12 is connected to reset terminals of the plurality of flip-flop circuits FF1 to FF7 in the scan test mode for testing whether the logic gate group 20 including the plurality of flip-flop circuits FF1 to FF7 functions normally. A scan reset signal SRST, which is a high level or low level logic signal, is output.

リセットセレクタ回路22は、第1入力端子IN1に、論理レベルがハイレベルに固定された信号が入力され、第2入力端子IN2に、ハイレベルまたはローレベルのいずれかの値をとるスキャンリセット信号SRSTが入力されている。さらに、リセットセレクタ回路22には、通常テストモードおよびスキャンテストモードを切り換えるモードセレクト信号MODEが入力される。リセットセレクタ回路22は、モードセレクト信号MODEに応じて、第1入力端子IN1または第2入力端子IN2に入力された信号を、複数のフリップフロップ回路FF1〜FF7のリセット端子に出力する。   In the reset selector circuit 22, a signal whose logic level is fixed to a high level is input to the first input terminal IN1, and a scan reset signal SRST that takes either a high level or a low level is input to the second input terminal IN2. Is entered. Further, the mode selector signal MODE for switching between the normal test mode and the scan test mode is input to the reset selector circuit 22. The reset selector circuit 22 outputs a signal input to the first input terminal IN1 or the second input terminal IN2 to the reset terminals of the plurality of flip-flop circuits FF1 to FF7 in accordance with the mode select signal MODE.

以上のように構成されたテストセレクト回路10の動作について説明する。
通常テスト時において、制御回路16に外部から制御信号Scntが入力されると、フリップフロップ回路FF1〜FF7に、制御データDcnt1〜Dcnt7がそれぞれ保持される。フリップフロップ回路FF1〜FF7の出力である選択信号Sselによって、セレクタ回路14に入力されるデジタル信号SIG1〜SIGnのいずれかが選択され、テスト出力端子114から出力される。
The operation of the test select circuit 10 configured as described above will be described.
When a control signal Scnt is input to the control circuit 16 from the outside during a normal test, the control data Dcnt1 to Dcnt7 are held in the flip-flop circuits FF1 to FF7, respectively. One of the digital signals SIG1 to SIGn input to the selector circuit 14 is selected by the selection signal Ssel which is the output of the flip-flop circuits FF1 to FF7, and is output from the test output terminal 114.

たとえば、デジタル信号SIG1が、UVLO回路50から出力されるシーケンス信号SEQ1であり、制御信号Scntによって、デジタル信号SIG1を選択したとする。このとき、電池端子102に入力した電圧を変化させると、しきい値電圧Vthを超えた後に、シーケンス信号SEQ1はハイレベルとなり、テスト出力端子114から出力されるテスト信号Stestもハイレベルとなる。別の信号、たとえば、第2シーケンス信号SEQ2をモニタする場合、制御信号Scntによってデジタル信号SIG2を選択すればよい。   For example, it is assumed that the digital signal SIG1 is the sequence signal SEQ1 output from the UVLO circuit 50 and the digital signal SIG1 is selected by the control signal Scnt. At this time, if the voltage input to the battery terminal 102 is changed, after exceeding the threshold voltage Vth, the sequence signal SEQ1 becomes high level, and the test signal Test output from the test output terminal 114 also becomes high level. When another signal, for example, the second sequence signal SEQ2 is monitored, the digital signal SIG2 may be selected by the control signal Scnt.

本実施の形態では、通常テスト時において、フリップフロップ回路FF1〜FF2のリセット端子に入力される信号のレベルを固定して、リセット機能を無効化しているため、あるデジタル信号SIGをモニタしている最中に、選択信号Sselが変動するのを防止することができる。その結果、テスト出力端子114から出力される信号が、別の信号に切り替わるのを防止し、所望のデジタル信号SIGを安定にモニタすることができる。   In the present embodiment, during a normal test, the level of the signal input to the reset terminals of the flip-flop circuits FF1 to FF2 is fixed and the reset function is invalidated, so a certain digital signal SIG is monitored. During the process, the selection signal Ssel can be prevented from changing. As a result, the signal output from the test output terminal 114 can be prevented from being switched to another signal, and the desired digital signal SIG can be monitored stably.

もし、通常テスト時において、フリップフロップ回路FF1〜FF7のリセット端子の信号を固定しない場合、何らかの要因でリセット端子の電圧が変動した場合に、テスト出力端子114から出力される信号が別の信号に切り替わるため、テストが不可能となるという問題が生ずるが、本実施の形態に係るテストセレクト回路10を用いれば、この問題を解決することができる。   If the signal at the reset terminal of the flip-flop circuits FF1 to FF7 is not fixed during the normal test, and the voltage at the reset terminal fluctuates for some reason, the signal output from the test output terminal 114 is changed to another signal. Switching causes a problem that the test becomes impossible, but this problem can be solved by using the test select circuit 10 according to the present embodiment.

さらに、フリップフロップ回路FF1〜FF7のリセット端子に、半導体集積回路である電源回路100の外部から、リセット用の信号を入力可能に構成した場合、リセット用の信号を入力するパッドを別途設ける必要が生じるが、本実施の形態では、こうしたパッドを別途設ける必要がないため、回路面積を削減することができる。   Further, when a reset signal can be input to the reset terminals of the flip-flop circuits FF1 to FF7 from the outside of the power supply circuit 100 that is a semiconductor integrated circuit, it is necessary to separately provide a pad for inputting the reset signal. However, in this embodiment, it is not necessary to provide such a pad separately, so that the circuit area can be reduced.

次に、スキャンテストモード時の動作について説明する。スキャンテストは、一般的なデジタル回路において実行されるテストのひとつであって、回路内部のフリップフロップ回路によってスキャンチェインを構成し、各フリップフロップ回路が正常に機能しているかをテストするものである。かかるスキャンテストにおいては、テストの対象となる論理ゲート群20に含まれるフリップフロップ回路は、外部からリセット可能でなければならない。   Next, the operation in the scan test mode will be described. The scan test is one of the tests executed in a general digital circuit, and a scan chain is constituted by flip-flop circuits inside the circuit and tests whether each flip-flop circuit functions normally. . In such a scan test, the flip-flop circuit included in the logic gate group 20 to be tested must be resettable from the outside.

本実施の形態に係るテストセレクト回路10では、スキャンテストモード時において、フリップフロップ回路FF1〜FF7のリセット端子の信号のレベルを切り替えることができる。その結果、選択レジスタ12のフリップフロップ回路FF1〜FF7を含めたスキャンテストを実行することができる。   In the test select circuit 10 according to the present embodiment, the level of the signal at the reset terminal of the flip-flop circuits FF1 to FF7 can be switched in the scan test mode. As a result, a scan test including the flip-flop circuits FF1 to FF7 of the selection register 12 can be executed.

以上、実施の形態にもとづき、本発明を説明したが、実施の形態は、本発明の原理、応用を示しているにすぎないことはいうまでもなく、実施の形態には、請求の範囲に規定された本発明の思想を離脱しない範囲において、多くの変形例や配置の変更が可能であることはいうまでもない。   Although the present invention has been described above based on the embodiments, it should be understood that the embodiments merely illustrate the principles and applications of the present invention, and the embodiments are within the scope of the claims. Needless to say, many modifications and arrangements can be made without departing from the concept of the present invention.

実施の形態では、選択レジスタ12のフリップフロップ回路FF1〜FF7に、リセット端子を設ける場合について説明したが、本発明はこれに限定されるものではない。たとえば、複数のフリップフロップ回路FF1〜FF7を、リセット端子を有さない構成としてもよい。この場合、複数のフリップフロップ回路FF1〜FF7に含まれるゲート数を減らすことができるため、回路面積を削減することができる。   In the embodiment, the case where the reset terminal is provided in the flip-flop circuits FF1 to FF7 of the selection register 12 has been described, but the present invention is not limited to this. For example, the plurality of flip-flop circuits FF1 to FF7 may be configured without a reset terminal. In this case, since the number of gates included in the plurality of flip-flop circuits FF1 to FF7 can be reduced, the circuit area can be reduced.

実施の形態では、テストセレクト回路10を電源回路100に内蔵する場合について説明したが、本発明はこれに限定されるものではなく、デジタル回路を含む多くの半導体装置に利用することができる。   Although the case where the test select circuit 10 is built in the power supply circuit 100 has been described in the embodiment, the present invention is not limited to this and can be used for many semiconductor devices including digital circuits.

本実施の形態において、ハイレベル、ローレベルの論理値の設定は一例であって、インバータなどによって適宜反転させることにより自由に変更することが可能である。   In the present embodiment, the setting of the logical values of the high level and the low level is an example, and can be freely changed by appropriately inverting it with an inverter or the like.

実施の形態に係るテストセレクト回路の構成を示す回路図である。It is a circuit diagram which shows the structure of the test select circuit based on Embodiment. 図1のテストセレクト回路が好適に使用される電源回路および電子機器全体のブロック図である。It is a block diagram of the whole power supply circuit and electronic device in which the test selection circuit of FIG. 1 is used suitably. 選択レジスタの構成を示す回路図である。It is a circuit diagram which shows the structure of a selection register.

符号の説明Explanation of symbols

10 テストセレクト回路、 12 選択レジスタ、 14 セレクタ回路、 16 制御回路、 20 論理ゲート群、 22 リセットセレクタ回路、 FF フリップフロップ回路。   10 test select circuit, 12 selection register, 14 selector circuit, 16 control circuit, 20 logic gate group, 22 reset selector circuit, FF flip-flop circuit.

Claims (6)

半導体集積回路に集積化され、前記半導体集積回路のテスト時において、前記半導体集積回路の内部に現れる複数のデジタル信号から、ひとつを選択して前記半導体集積回路の外部に出力するテストセレクト回路であって、
複数のフリップフロップ回路を含む選択レジスタと、
前記複数のフリップフロップ回路のデータ端子それぞれに、外部からの制御信号に応じた制御データを出力する制御回路と、
前記複数のデジタル信号および前記複数のフリップフロップ回路から出力される選択信号が入力されており、前記複数のデジタル信号から、前記選択信号の論理レベルに対応付けられたひとつのデジタル信号を選択して出力するセレクタ回路と、
を備え、
前記複数のフリップフロップ回路のリセット機能を無効化可能に構成したことを特徴とするテストセレクト回路。
A test select circuit that is integrated in a semiconductor integrated circuit and selects one of a plurality of digital signals appearing inside the semiconductor integrated circuit and outputs the selected signal to the outside of the semiconductor integrated circuit when testing the semiconductor integrated circuit. And
A selection register including a plurality of flip-flop circuits;
A control circuit that outputs control data in accordance with an external control signal to each of the data terminals of the plurality of flip-flop circuits;
The plurality of digital signals and the selection signals output from the plurality of flip-flop circuits are input, and one digital signal associated with the logic level of the selection signal is selected from the plurality of digital signals. A selector circuit to output,
With
A test select circuit characterized in that a reset function of the plurality of flip-flop circuits can be invalidated.
前記複数のフリップフロップ回路は、それぞれリセット端子を備えており、
前記選択レジスタは、
前記半導体集積回路の機能をテストする通常テストモード時において、前記複数のフリップフロップのリセット端子の論理レベルを固定し、前記複数のフリップフロップ回路を含む論理ゲート群が正常に機能するかをテストするスキャンテストモード時において、前記複数のフリップフロップのリセット端子に、ハイレベルまたはローレベルの論理信号を出力するリセットセレクタ回路をさらに含むことを特徴とする請求項1に記載のテストセレクト回路。
Each of the plurality of flip-flop circuits includes a reset terminal,
The selection register is
In a normal test mode for testing the function of the semiconductor integrated circuit, the logic levels of the reset terminals of the plurality of flip-flops are fixed, and the logic gate group including the plurality of flip-flop circuits is tested to function normally. 2. The test select circuit according to claim 1, further comprising a reset selector circuit that outputs a high level or low level logic signal to a reset terminal of the plurality of flip-flops in a scan test mode.
前記リセットセレクタ回路は、
第1入力端子に、論理レベルが固定された信号が入力され、第2入力端子に、ハイレベルまたはローレベルのスキャンリセット信号が入力されており、前記通常テストモードおよび前記スキャンテストモードを切り換えるモードセレクト信号に応じて、前記第1入力端子または前記第2入力端子の信号を、前記複数のフリップフロップのリセット端子に出力することを特徴とする請求項2に記載のテストセレクト回路。
The reset selector circuit includes:
A mode in which a signal having a fixed logic level is input to the first input terminal, and a high-level or low-level scan reset signal is input to the second input terminal, and the normal test mode and the scan test mode are switched. 3. The test select circuit according to claim 2, wherein a signal of the first input terminal or the second input terminal is output to a reset terminal of the plurality of flip-flops according to a select signal.
前記複数のフリップフロップ回路を、リセット端子を有さない構成としたことを特徴とする請求項1に記載のテストセレクト回路。   2. The test select circuit according to claim 1, wherein the plurality of flip-flop circuits are configured not to have a reset terminal. 前記半導体集積回路の内部に現れる前記複数のデジタル信号は、
前記半導体集積回路に内蔵された低電圧誤動作防止回路の出力信号であって、前記半導体集積回路に供給される電源電圧が所定値より低い低電圧状態を示す低電圧検出信号に関連する信号を含むことを特徴とする請求項1から4のいずれかに記載のテストセレクト回路。
The plurality of digital signals appearing inside the semiconductor integrated circuit are:
An output signal of a low-voltage malfunction prevention circuit built in the semiconductor integrated circuit, the signal including a signal related to a low-voltage detection signal indicating a low-voltage state in which a power supply voltage supplied to the semiconductor integrated circuit is lower than a predetermined value The test select circuit according to claim 1, wherein:
請求項1から4のいずれかに記載のテストセレクト回路を備えることを特徴とする半導体装置。   A semiconductor device comprising the test select circuit according to claim 1.
JP2006129960A 2006-05-09 2006-05-09 Test selection circuit, and semiconductor device equipped therewith Pending JP2007303859A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006129960A JP2007303859A (en) 2006-05-09 2006-05-09 Test selection circuit, and semiconductor device equipped therewith

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006129960A JP2007303859A (en) 2006-05-09 2006-05-09 Test selection circuit, and semiconductor device equipped therewith

Publications (1)

Publication Number Publication Date
JP2007303859A true JP2007303859A (en) 2007-11-22

Family

ID=38837915

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006129960A Pending JP2007303859A (en) 2006-05-09 2006-05-09 Test selection circuit, and semiconductor device equipped therewith

Country Status (1)

Country Link
JP (1) JP2007303859A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9877388B2 (en) 2014-07-14 2018-01-23 Hitachi Metals, Ltd. Transmission module and circuit board used therein

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9877388B2 (en) 2014-07-14 2018-01-23 Hitachi Metals, Ltd. Transmission module and circuit board used therein

Similar Documents

Publication Publication Date Title
CN107038138B (en) Universal serial bus power delivery apparatus and system including the same
US8909948B2 (en) On-chip power management
US9471120B1 (en) Power management controller for integrated circuit
EP0898284B1 (en) Semiconductor memory having a test circuit
KR20080069046A (en) Device and method for controlling supply voltage/frequency using information of process variation
WO2007032795A2 (en) Circuit and method for monitoring the integrity of a power supply
KR20110132073A (en) Chip and chip test system
US9172358B1 (en) Isolation circuit
US10628154B2 (en) Arithmetic processing device and method of controlling arithmetic processing device
US20150277526A1 (en) Power management controller, power management circuit using the same, and electronic device
US6711692B1 (en) Data processing unit including central unit and peripheral unit driven by separate power supplies
US8391091B2 (en) Anti-fuse circuit and method for anti-fuse programming and test thereof
US10579087B2 (en) System, apparatus and method for flexible control of a voltage regulator of an integrated circuit
US5553236A (en) Method and apparatus for testing a clock stopping/starting function of a low power mode in a data processor
US8225123B2 (en) Method and system for integrated circuit power supply management
US7080299B2 (en) Resetting latch circuits within a functional circuit and a test wrapper circuit
US7392447B2 (en) Method of using scan chains and boundary scan for power saving
US8239791B2 (en) Method of designing multi-state restore circuitry for restoring state to a power managed functional block
CN111060801B (en) Test circuit for electronic device allowing interface control
JP2007303859A (en) Test selection circuit, and semiconductor device equipped therewith
JP5013895B2 (en) Semiconductor integrated circuit device
CN116430266A (en) Apparatus and method for outputting monitoring result
US11294441B2 (en) Simplifying power sequencing for integrated circuits
US20110113275A1 (en) Microcomputer
US9116701B2 (en) Memory unit, information processing device, and method