JP2010112883A - Semiconductor integrated circuit - Google Patents

Semiconductor integrated circuit Download PDF

Info

Publication number
JP2010112883A
JP2010112883A JP2008286957A JP2008286957A JP2010112883A JP 2010112883 A JP2010112883 A JP 2010112883A JP 2008286957 A JP2008286957 A JP 2008286957A JP 2008286957 A JP2008286957 A JP 2008286957A JP 2010112883 A JP2010112883 A JP 2010112883A
Authority
JP
Japan
Prior art keywords
terminal
scan
signal
scan test
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
JP2008286957A
Other languages
Japanese (ja)
Inventor
Toshiro Kidera
俊郎 木寺
Daisuke Miura
大祐 三浦
Shinobu Sato
佐藤  忍
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.)
Fujitsu Semiconductor Ltd
Original Assignee
Fujitsu Semiconductor 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 Fujitsu Semiconductor Ltd filed Critical Fujitsu Semiconductor Ltd
Priority to JP2008286957A priority Critical patent/JP2010112883A/en
Publication of JP2010112883A publication Critical patent/JP2010112883A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Design And Manufacture Of Integrated Circuits (AREA)
  • Tests Of Electronic Circuits (AREA)
  • Semiconductor Integrated Circuits (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a semiconductor integrated circuit having the fewest terminals for a scan test as possible, and easily configuring the scan test. <P>SOLUTION: The semiconductor integrated circuit includes: an analog circuit 22 for receiving a first positive power supply voltage through a first terminal, receiving a reference voltage through a second terminal, and receiving a ground voltage through a third terminal; a logic circuit operated by a second positive power supply voltage received through a fourth terminal, selectively implementing a normal operation and a scan test operation, and implementing the scan test operation in response to predetermined scan-test-related signals related to the scan test operation; and a first signal path for supplying at least one of the predetermined scan-test-related signals to the logic circuit through at least one of the first and second terminals when the scan test operation is implemented. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本願開示は、一般に半導体集積回路に関し、詳しくはテスト機能を備えた半導体集積回路に関する。   The present disclosure relates generally to a semiconductor integrated circuit, and more particularly to a semiconductor integrated circuit having a test function.

LSI(大規模集積回路)のスキャンテスト方式では、LSIの内部回路を構成する複数のフリップフロップを縦続接続してスキャンチェーンを構成し、このスキャンチェーンを介してデータ入出力することにより内部回路の試験を行う。内部回路を構成する各フリップフロップには、スキャン入力端子とスキャン出力端子とが設けられている。あるフリップフロップのスキャン出力端子は別のフリップフロップのスキャン入力端子に結合され、複数のフリップフロップのカスケード接続によりフリップフロップのチェーンを構成している。テスト動作時には、外部からのスキャン有効を指示する値の印加に応じて、スキャンパスの各スキャンフリップフロップが、クロック信号に同期してスキャン入力端子からの入力データを格納し、スキャン出力端子から格納データを出力するよう動作する。   In an LSI (Large Scale Integrated Circuit) scan test method, a plurality of flip-flops constituting an internal circuit of an LSI are connected in cascade to form a scan chain, and data is input / output via this scan chain to Perform the test. Each flip-flop constituting the internal circuit is provided with a scan input terminal and a scan output terminal. A scan output terminal of one flip-flop is coupled to a scan input terminal of another flip-flop, and a chain of flip-flops is configured by cascade connection of a plurality of flip-flops. During the test operation, each scan flip-flop in the scan path stores the input data from the scan input terminal in synchronization with the clock signal and stores from the scan output terminal in response to the application of a value that indicates the scan is valid from the outside. Operates to output data.

図1は、スキャンテスト方式を採用したLSIの構成の一例を示す図である。LSI10は、ロジック部11及びアナログ回路12を含む。ロジック部11は、ロジック回路13、入力バッファ14、及び出力バッファ15を含む。ロジック回路13は、内部のフリップフロップが前述のように縦続接続されてスキャンチェーンを構成しており、外部電源VCCに基づいて動作する。アナログ回路12は、例えばアナログデジタル変換器(ADC)やデジタルアナログ変換器(DAC)等であり、アナログ正電源AVCC、アナログ基準電圧AVR、及びアナロググランド電源AVSSにより動作する。   FIG. 1 is a diagram illustrating an example of the configuration of an LSI employing a scan test method. The LSI 10 includes a logic unit 11 and an analog circuit 12. The logic unit 11 includes a logic circuit 13, an input buffer 14, and an output buffer 15. The logic circuit 13 has a scan chain in which internal flip-flops are cascaded as described above, and operates based on the external power supply VCC. The analog circuit 12 is an analog-digital converter (ADC), a digital-analog converter (DAC), or the like, for example, and operates by an analog positive power supply AVCC, an analog reference voltage AVR, and an analog ground power supply AVSS.

ロジック回路13には、スキャンテスト関連の端子として、テストモード信号XTST、スキャンクロック信号XTCK、スキャンイン信号SI、及びスキャンモード信号SMを入力する端子と、スキャンアウト信号SOを出力する端子が設けられている。以降、これらの端子をそれぞれ、XTST端子、XTCK端子、SI端子、SM端子、及びSO端子と呼ぶ。またスキャンテストでない通常動作時に用いる端子として、クロック信号CLKを入力するCLK端子、データを入力するP00端子及びP01端子、及びデータを出力するP02端子が設けられている。データ入出力の端子の数は、この例に限られるものではなく、任意の数設けられてよい。   The logic circuit 13 is provided with a terminal for inputting a test mode signal XTST, a scan clock signal XTCK, a scan-in signal SI, and a scan mode signal SM, and a terminal for outputting a scan-out signal SO as terminals related to the scan test. ing. Hereinafter, these terminals are referred to as an XTST terminal, an XTCK terminal, an SI terminal, an SM terminal, and an SO terminal, respectively. Further, as terminals used during normal operation other than the scan test, a CLK terminal for inputting a clock signal CLK, a P00 terminal and a P01 terminal for inputting data, and a P02 terminal for outputting data are provided. The number of data input / output terminals is not limited to this example, and an arbitrary number may be provided.

テストモード信号XTSTは、システムの通常動作時にはネゲート状態(例えば1)であり、スキャンテスト動作中にはスキャンシフト時及びパターン取り込み時(キャプチャ時)の両方においてアサート状態(例えば0)になる信号である。スキャンモード信号SMは、スキャンテスト中のスキャンフリップフロップ間でのスキャンシフト動作時にアサートされ、スキャンテスト中の組み合わせ論理回路からスキャンフリップフロップへのデータ取り込み動作時(キャプチャ時)にネゲートされる信号である。なお通常動作中は、スキャンモード信号SMはネゲートされる。スキャンクロック信号XTCKは、スキャンテスト時に各フリップフロップに供給される同期信号である。スキャンイン信号SIは、スキャンチェーンの一端から入力され、クロック信号XTCKに同期したスキャンシフト動作によりスキャンチェーンを構成するフリップフロップ中を伝搬していく。スキャンアウト信号SOは、クロック信号XTCKに同期したスキャンシフト動作により各フリップフロップのデータがスキャンチェーン中を伝搬し、スキャンチェーンの一端から出力されたものである。   The test mode signal XTST is a negated state (eg, 1) during normal operation of the system, and is an asserted state (eg, 0) both during scan shift and during pattern capture (capture) during the scan test operation. is there. The scan mode signal SM is asserted at the time of scan shift operation between the scan flip-flops during the scan test, and is negated at the time of data capture operation from the combinational logic circuit during the scan test to the scan flip-flop (at the time of capture). is there. During normal operation, the scan mode signal SM is negated. The scan clock signal XTCK is a synchronization signal supplied to each flip-flop during a scan test. The scan-in signal SI is input from one end of the scan chain and propagates through flip-flops constituting the scan chain by a scan shift operation synchronized with the clock signal XTCK. The scan-out signal SO is a signal output from one end of the scan chain in which data of each flip-flop propagates through the scan chain by a scan shift operation synchronized with the clock signal XTCK.

マイクロコントローラ等の外部端子数が少ないLSIでは、上記のスキャンテスト用の各端子を設けるスペースを確保することが困難である。あえてスキャンテスト用の端子を設けるとすると、チップのコストが上昇してしまう。そこで例えば、LSI内部のロジックにテストモード信号XTSTをアクティブにするシーケンスを用意しておき、内部でテストモード信号XTSTを発生する等の方式が用いられる。また或いはマイクロコントローラLSIのメモリ空間に、テストモード信号XTST用のレジスタを用意しておく等の方式も用いられる。しかしながらこれらの方式では、内部ロジックの仕様に制限が課せられるとともに複雑になり好ましくない。
特開2001−228220号公報 特開2006−332456号公報 特開2006−194727号公報
In an LSI having a small number of external terminals such as a microcontroller, it is difficult to secure a space for providing the scan test terminals. If a scan test terminal is provided, the cost of the chip will increase. Therefore, for example, a method of preparing a sequence for activating the test mode signal XTST in the logic inside the LSI and generating the test mode signal XTST internally is used. Alternatively, a method of preparing a register for the test mode signal XTST in the memory space of the microcontroller LSI is also used. However, these methods are not preferable because they place restrictions on the internal logic specifications and become complicated.
JP 2001-228220 A JP 2006-332456 A JP 2006-194727 A

以上を鑑みると、スキャンテスト用の外部端子の数をなるべく少なくしながら、スキャンテストの設定を容易に行なうことができる半導体集積回路が望まれる。   In view of the above, there is a demand for a semiconductor integrated circuit that can easily set a scan test while minimizing the number of external terminals for a scan test.

半導体集積回路は、第1の端子を介して第1の正電源電圧を、第2の端子を介して基準電圧を、第3の端子を介してグランド電圧を受け取るアナログ回路と、第4の端子を介して受け取る第2の正電源電圧により動作し、通常動作とスキャンテスト動作とを選択的に実行し、前記スキャンテスト動作に関連する所定のスキャンテスト関連信号に応じて前記スキャンテスト動作を実行するロジック回路と、前記スキャンテスト動作時に前記第1の端子及び前記第2の端子の少なくとも一方を介して前記所定のスキャンテスト関連信号の少なくとも1つを前記ロジック回路へ供給する第1の信号経路とを含むことを特徴とする。   The semiconductor integrated circuit includes: an analog circuit that receives a first positive power supply voltage via a first terminal, a reference voltage via a second terminal, and a ground voltage via a third terminal; and a fourth terminal The normal operation and the scan test operation are selectively executed, and the scan test operation is executed in response to a predetermined scan test related signal related to the scan test operation. And a first signal path for supplying at least one of the predetermined scan test related signals to the logic circuit via at least one of the first terminal and the second terminal during the scan test operation It is characterized by including.

本願開示の少なくとも1つの実施例によれば、スキャンテスト動作時には使用しないアナログ回路の入力端子をスキャンテスト設定用に兼用することにより、外部端子の数をなるべく少なくしながら、スキャンテストの設定を容易に行なうことが可能となる。この構成によれば少ない端子数でスキャンテストを実行できるので、特にマイクロコントローラ等の外部端子数が少ない半導体集積回路において、上記構成を採用することには極めて効果が大きい。   According to at least one embodiment of the present disclosure, it is possible to easily set a scan test while reducing the number of external terminals as much as possible by using an input terminal of an analog circuit that is not used during a scan test operation for a scan test setting. Can be performed. According to this configuration, since the scan test can be executed with a small number of terminals, it is extremely effective to adopt the above configuration particularly in a semiconductor integrated circuit with a small number of external terminals such as a microcontroller.

以下に、本発明の実施例を添付の図面を用いて詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

図2は、LSIの第1の実施例の構成の一例を示す図である。LSI20は、ロジック部21及びアナログ回路22を含む。ロジック部21は、ロジック回路23、入力バッファ24、出力バッファ25、論理ゲート26、論理ゲート27、及びセレクタ回路28を含む。ロジック回路23は、内部のフリップフロップが縦続接続されてスキャンチェーンを構成しており、外部電源VCCに基づいて動作する。ロジック回路23には、例えばCPU、タイマー、各種インターフェース等が含まれる。またロジック回路23には、メモリが含まれてもよい。アナログ回路22は、例えばアナログデジタル変換器(ADC)やデジタルアナログ変換器(DAC)等であり、アナログ正電源AVCC、アナログ基準電圧AVR、及びアナロググランド電源AVSSにより動作する。   FIG. 2 is a diagram showing an example of the configuration of the first embodiment of the LSI. The LSI 20 includes a logic unit 21 and an analog circuit 22. The logic unit 21 includes a logic circuit 23, an input buffer 24, an output buffer 25, a logic gate 26, a logic gate 27, and a selector circuit 28. The logic circuit 23 forms a scan chain with internal flip-flops connected in cascade, and operates based on the external power supply VCC. The logic circuit 23 includes, for example, a CPU, a timer, various interfaces, and the like. The logic circuit 23 may include a memory. The analog circuit 22 is, for example, an analog-digital converter (ADC), a digital-analog converter (DAC), and the like, and operates by an analog positive power supply AVCC, an analog reference voltage AVR, and an analog ground power supply AVSS.

ロジック回路23には、スキャンテスト関連の端子として、テストモード信号XTST、スキャンクロック信号XTCK、スキャンイン信号SI、及びスキャンモード信号SMを入力する端子と、スキャンアウト信号SOを出力する端子が設けられている。以降、これらの端子をそれぞれ、XTST端子、XTCK端子、SI端子、SM端子、及びSO端子と呼ぶ。またスキャンテストでない通常動作時に用いる端子として、クロック信号CLKを入力するCLK端子、データを入力するP00端子及びP01端子、及びデータを出力するP02端子が設けられている。データ入出力の端子の数は、この例に限られるものではなく、任意の数設けられてよい。   The logic circuit 23 is provided with a terminal for inputting a test mode signal XTST, a scan clock signal XTCK, a scan-in signal SI, and a scan-mode signal SM, and a terminal for outputting a scan-out signal SO as scan-related terminals. ing. Hereinafter, these terminals are referred to as an XTST terminal, an XTCK terminal, an SI terminal, an SM terminal, and an SO terminal, respectively. Further, as terminals used during normal operation other than the scan test, a CLK terminal for inputting a clock signal CLK, a P00 terminal and a P01 terminal for inputting data, and a P02 terminal for outputting data are provided. The number of data input / output terminals is not limited to this example, and an arbitrary number may be provided.

アナログ回路22は、第1の端子31を介して例えば3.3Vのアナログ正電源電圧AVCCを、第2の端子32を介してアナログ基準電圧AVRを、第3の端子33を介してアナロググランド電圧AVSSを受け取る。ロジック回路23は、AVCCとは別個に第4の端子34を介して受け取る正電源電圧により動作し、通常動作とスキャンテスト動作とを選択的に実行する。ロジック回路23は、スキャンテスト動作に関連する所定のスキャンテスト関連信号XTST、XTCK、SI、及びSMに応じてスキャンテスト動作を実行する。   The analog circuit 22 has an analog positive power supply voltage AVCC of 3.3 V, for example, through the first terminal 31, an analog reference voltage AVR through the second terminal 32, and an analog ground voltage through the third terminal 33. Receive AVSS. The logic circuit 23 operates by a positive power supply voltage received via the fourth terminal 34 separately from the AVCC, and selectively executes a normal operation and a scan test operation. The logic circuit 23 executes the scan test operation according to predetermined scan test related signals XTST, XTCK, SI, and SM related to the scan test operation.

ロジック部21には、スキャンテスト動作時に端子31及び端子32の少なくとも一方を介して所定のスキャンテスト関連信号の少なくとも1つをロジック回路23へ供給する信号経路が設けられている。図2の構成例では、端子31からテストモード信号XTSTをロジック回路23のXTST端子に供給する経路と、端子32からスキャンイン信号SIをロジック回路23のSI端子に供給する経路とが設けられている。なおこれら信号経路を介して供給される信号は、通常動作とスキャンテスト動作との何れか一方を選択するテストモード信号XTSTを含むようにしてよい。   The logic unit 21 is provided with a signal path for supplying at least one of predetermined scan test related signals to the logic circuit 23 via at least one of the terminal 31 and the terminal 32 during the scan test operation. In the configuration example of FIG. 2, a path for supplying the test mode signal XTST from the terminal 31 to the XTST terminal of the logic circuit 23 and a path for supplying the scan-in signal SI from the terminal 32 to the SI terminal of the logic circuit 23 are provided. Yes. The signal supplied through these signal paths may include a test mode signal XTST for selecting either a normal operation or a scan test operation.

更に、ロジック回路23は、端子35乃至37を介して受け取る通常動作に関連する通常動作関連信号CLK及びデータ信号P00及びP01に応じて、通常動作を実行する。ロジック部21には、スキャンテスト動作時に上記と同一の端子35及び36を介して所定のスキャンテスト関連信号の少なくとも1つをロジック回路23へ供給する信号経路が設けられている。図2の構成例では、端子35からスキャンクロック信号XTCKをロジック回路23のXTCK端子に供給する経路と、端子36からスキャンモード信号SMをロジック回路23のSM端子に供給する経路とが設けられている。これらの信号経路には、端子31から供給される信号XTSTに応じて信号経路を遮断する論理ゲート26及び27が設けられている。具体的には、論理ゲート26は、XTSTの負論理とスキャンクロック信号XTCKの正論理とのANDをとるゲートであり、XTSTがHIGHの時にスキャンクロック信号XTCKを遮断し、XTSTがLOWの時にスキャンクロック信号XTCKを通過させる。同様に、論理ゲート27は、XTSTの負論理とスキャンモード信号SMの正論理とのANDをとるゲートであり、XTSTがHIGHの時にスキャンモード信号SMを遮断し、XTSTがLOWの時にスキャンモード信号SMを通過させる。   Further, the logic circuit 23 executes the normal operation according to the normal operation related signal CLK and the data signals P00 and P01 related to the normal operation received through the terminals 35 to 37. The logic unit 21 is provided with a signal path for supplying at least one of predetermined scan test related signals to the logic circuit 23 through the same terminals 35 and 36 as described above during the scan test operation. In the configuration example of FIG. 2, a path for supplying the scan clock signal XTCK from the terminal 35 to the XTCK terminal of the logic circuit 23 and a path for supplying the scan mode signal SM from the terminal 36 to the SM terminal of the logic circuit 23 are provided. Yes. These signal paths are provided with logic gates 26 and 27 that block the signal path in accordance with the signal XTST supplied from the terminal 31. Specifically, the logic gate 26 is a gate that ANDs the negative logic of XTST and the positive logic of the scan clock signal XTCK, and shuts off the scan clock signal XTCK when XTST is HIGH and scans when XTST is LOW. The clock signal XTCK is passed. Similarly, the logic gate 27 is a gate that takes an AND of the negative logic of XTST and the positive logic of the scan mode signal SM, shuts off the scan mode signal SM when XTST is HIGH, and scan mode signal when XTST is LOW. Let the SM pass.

更に、ロジック回路23は、通常動作の実行時に生成された信号P02を端子38を介して外部に出力する。ロジック部21には、スキャンテスト動作の実行時に生成された信号SOをこの同一の端子38を介して外部に出力する信号経路が設けられている。この信号経路には、端子31から供給される信号XTSTに応じて通常動作の実行時に生成された信号P02が伝搬する信号線とスキャンテスト動作の実行時に生成された信号SOが伝搬する信号線との何れか一方を選択するセレクタ回路28が設けられている。   Further, the logic circuit 23 outputs the signal P02 generated at the time of executing the normal operation to the outside through the terminal 38. The logic unit 21 is provided with a signal path for outputting the signal SO generated when the scan test operation is performed to the outside through the same terminal 38. In this signal path, a signal line through which the signal P02 generated during execution of the normal operation in accordance with the signal XTST supplied from the terminal 31 propagates, and a signal line through which the signal SO generated during execution of the scan test operation propagates. A selector circuit 28 is provided for selecting one of the above.

以上のような構成とすることで、LSI20には、テストモード信号XTST、スキャンクロック信号XTCK、スキャンイン信号SI、スキャンモード信号SM、及びスキャンアウト信号SO用に専用の端子を設ける必要が無くなる。これにより端子の数を少なくして、LSIチップのコストを削減することが可能になる。またスキャンテスト動作時には使用しないアナログ回路22の入力端子を利用することにより、効率的な端子の活用を図ることができる。またアナログ回路22はスキャンテスト動作時には使用されないとはいえ、アナロググランド電源電圧用の端子にスキャンテスト用の信号を印加したのでは、同一基板上にあるデジタル回路の動作に好ましくない影響を与える可能性がある。従って、アナログ回路22への入力端子のうちでグランド電圧AVSSを受け取るための第3の端子33については、スキャンテスト動作時においても使用していない。これにより安定した回路動作を確実にすることができる。なお上記説明した構成例においては、全てのスキャンテスト関連信号について他の用途の端子を用いて信号入出力する構成としたが、これらスキャンテスト関連信号のうち少なくとも1つについて、他の用途の端子を用いて信号入出力する構成としてもよい。この場合、利用する他の用途の端子としては、スキャンテスト動作時には使用しないアナログ回路22の入力端子を優先的に使用してよい。   With the above configuration, the LSI 20 does not need to be provided with dedicated terminals for the test mode signal XTST, the scan clock signal XTCK, the scan-in signal SI, the scan mode signal SM, and the scan-out signal SO. As a result, the number of terminals can be reduced and the cost of the LSI chip can be reduced. Further, by using the input terminal of the analog circuit 22 that is not used during the scan test operation, it is possible to efficiently use the terminal. Although the analog circuit 22 is not used during the scan test operation, applying a scan test signal to the analog ground power supply voltage terminal may adversely affect the operation of the digital circuits on the same substrate. There is sex. Therefore, among the input terminals to the analog circuit 22, the third terminal 33 for receiving the ground voltage AVSS is not used even during the scan test operation. Thereby, stable circuit operation can be ensured. In the configuration example described above, all scan test related signals are input / output using terminals for other purposes, but at least one of these scan test related signals is used for other purposes. It is good also as a structure which inputs / outputs a signal using. In this case, the input terminal of the analog circuit 22 that is not used at the time of the scan test operation may be preferentially used as a terminal for another application to be used.

図3は、ロジック回路23の構成の一例を示す図である。図3のロジック回路23は、ユーザーロジック部41、モード制御回路42、及びn個のスキャンフリップフロップ43−1乃至43−nを含む。この図面では、簡単な例としてスキャンフリップフロップ43−1乃至43−nの各々のデータ入力端子Dとデータ出力端子Qとが、同一のユーザーロジック部41に結合されている。しかし例えばある1つのスキャンフリップフロップのデータ入力端子D及びデータ出力端子Qが、それぞれ別の論理回路ユニットに接続されていてもよい。各スキャンフリップフロップ43−1乃至43−nは、ユーザーロジック部41のある部分からの出力データをデータ入力端子Dで受け取り、内部にデータを格納し、格納データをデータ出力端子Qからユーザーロジック部41の他の部分へ入力データとして供給する。   FIG. 3 is a diagram illustrating an example of the configuration of the logic circuit 23. The logic circuit 23 shown in FIG. 3 includes a user logic unit 41, a mode control circuit 42, and n scan flip-flops 43-1 to 43-n. In this drawing, as a simple example, the data input terminal D and the data output terminal Q of each of the scan flip-flops 43-1 to 43-n are coupled to the same user logic unit 41. However, for example, the data input terminal D and the data output terminal Q of one scan flip-flop may be connected to different logic circuit units. Each of the scan flip-flops 43-1 to 43-n receives output data from a certain part of the user logic unit 41 at the data input terminal D, stores the data therein, and stores the stored data from the data output terminal Q to the user logic unit. It is supplied as input data to the other parts of 41.

各スキャンフリップフロップ43−1乃至43−nは、上記データ入力端子Dとデータ出力端子Q以外に、スキャンシフト用にスキャン入力端子SI及びスキャン出力端子SOを有する。またスキャンシフト有効/無効を指示するスキャンイネーブル入力端子SEが設けられている。スキャンイネーブル入力端子SEの“0/1”に応じて、データ入力端子D又はスキャン入力端子SIの何れかが選択される。選択された入力端子のデータがスキャンクロック信号XTCKに同期してフリップフロップ内部に格納される。データ出力端子Qとスキャン出力端子SOとは同一の内部ノードに結合されており、同一のデータ信号が出力される。   Each of the scan flip-flops 43-1 to 43-n has a scan input terminal SI and a scan output terminal SO for scan shift in addition to the data input terminal D and the data output terminal Q. In addition, a scan enable input terminal SE for instructing valid / invalid scan shift is provided. Either the data input terminal D or the scan input terminal SI is selected according to “0/1” of the scan enable input terminal SE. Data of the selected input terminal is stored in the flip-flop in synchronization with the scan clock signal XTCK. Data output terminal Q and scan output terminal SO are coupled to the same internal node and output the same data signal.

モード制御回路42へ供給されるテストモード信号XTSTの“0/1”に応じて、通常動作又はスキャンテスト動作の何れかが選択され実行される。モード制御回路42の制御動作により、例えば通常動作用のクロック信号CLKとスキャンテスト動作用のスキャンクロック信号XTCKとの何れをスキャンフリップフロップ43−1乃至43−nに供給するか等が制御される。   Either the normal operation or the scan test operation is selected and executed in accordance with “0/1” of the test mode signal XTST supplied to the mode control circuit 42. The control operation of the mode control circuit 42 controls, for example, which of the clock signal CLK for normal operation and the scan clock signal XTCK for scan test operation is supplied to the scan flip-flops 43-1 to 43-n. .

ロジック回路23の通常動作の場合、スキャンイネーブル入力SEにスキャン無効を指示する値(例えば“0”)のスキャンモード信号SMを印加する。この場合、各スキャンフリップフロップ43−1乃至43−nは、クロック信号に同期してデータ入力端子Dからの入力データを格納し、データ出力端子Qから格納データを出力する。   In the normal operation of the logic circuit 23, a scan mode signal SM having a value (for example, “0”) instructing scan invalidity is applied to the scan enable input SE. In this case, each of the scan flip-flops 43-1 to 43-n stores the input data from the data input terminal D in synchronization with the clock signal, and outputs the stored data from the data output terminal Q.

ロジック回路23のスキャンテスト動作の場合、スキャンイネーブル入力SEにスキャン有効を指示する値(例えば“1”)のスキャンモード信号SMを印加する。この場合、各スキャンフリップフロップ43−1乃至43−nは、スキャンクロック信号XTCKに同期してスキャン入力端子SIからの入力データを格納し、スキャン出力端子SOから格納データを出力する。あるフリップフロップのスキャン出力端子SOは別のフリップフロップのスキャン入力端子SIに結合されており、複数のスキャンフリップフロップ43−1乃至43−nのカスケード接続によりスキャンチェーンを構成している。   In the scan test operation of the logic circuit 23, a scan mode signal SM having a value (for example, “1”) for instructing scan validity is applied to the scan enable input SE. In this case, each of the scan flip-flops 43-1 to 43-n stores the input data from the scan input terminal SI in synchronization with the scan clock signal XTCK, and outputs the stored data from the scan output terminal SO. A scan output terminal SO of one flip-flop is coupled to a scan input terminal SI of another flip-flop, and a scan chain is configured by cascade connection of a plurality of scan flip-flops 43-1 to 43-n.

スキャンテスト動作時には、外部のテスタ装置により、スキャンモード信号SMを有効(例えば“1”)に設定し、スキャンイン信号SIをスキャンクロック信号XTCKに同期させてシリアルに入力する。入力されるスキャンイン信号SIは、スキャンクロック信号XTCKに同期したスキャンフリップフロップのシフト動作によってデータシフトを繰り返し、最終的に所定のデータを各スキャンフリップフロップ43−1乃至43−nに設定することができる。   During the scan test operation, the scan mode signal SM is set valid (for example, “1”) by an external tester device, and the scan-in signal SI is input serially in synchronization with the scan clock signal XTCK. The input scan-in signal SI repeats data shift by the shift operation of the scan flip-flop synchronized with the scan clock signal XTCK, and finally sets predetermined data to each of the scan flip-flops 43-1 to 43-n. Can do.

所定のデータを各スキャンフリップフロップ43−1乃至43−nに設定し終えると、ユーザーロジック部41を動作させる。その際、スキャンイネーブル入力SEにスキャン無効を指示する値(例えば“0”)のスキャンモード信号SMを印加し、スキャンクロック信号XTCKのパルスを供給することによりキャプチャー動作を実行する。即ち、各スキャンフリップフロップ43−1乃至43−nは、スキャンクロック信号XTCKに同期してデータ入力端子Dからの入力データを格納し、データ出力端子Qから格納データを出力する。これにより、ユーザーロジック部41の出力データがスキャンフリップフロップ43−1乃至43−nに並列に格納される。その後、スキャンクロック信号XTCKによってスキャンフリップフロップ43−1乃至43−nのデータをシフトさせることで、スキャンアウト信号SOをSO端子からシリアルに出力させる。シリアルに出力されたスキャンアウト信号SOを外部のテスタ装置により観測し、入力したスキャンイン信号SIに対して期待される期待値データと比較する。スキャンアウト信号SOと期待値データとの比較結果により、LSI20の内部のロジック回路23の不良を検出することができる。   When the predetermined data is set in each of the scan flip-flops 43-1 to 43-n, the user logic unit 41 is operated. At this time, the scan enable signal SE is applied with a scan mode signal SM having a value (for example, “0”) instructing scan invalidity, and a pulse of the scan clock signal XTCK is supplied to execute the capture operation. That is, each of the scan flip-flops 43-1 to 43-n stores the input data from the data input terminal D in synchronization with the scan clock signal XTCK and outputs the stored data from the data output terminal Q. Thereby, the output data of the user logic unit 41 is stored in parallel in the scan flip-flops 43-1 to 43-n. Then, the scan-out signal SO is serially output from the SO terminal by shifting the data of the scan flip-flops 43-1 to 43-n by the scan clock signal XTCK. The serially output scan-out signal SO is observed by an external tester device, and is compared with expected value data for the input scan-in signal SI. A defect in the logic circuit 23 in the LSI 20 can be detected based on the comparison result between the scan-out signal SO and the expected value data.

図4は、LSIの第2の実施例の構成の一例を示す図である。図4において、図2と同一の構成要素は同一の番号で参照し、その説明は省略する。図2に示す第1実施例の構成においては、AVCC用の端子31からテストモード信号XTSTを印加し、AVR用の端子32からスキャンイン信号SIを印加していた。即ち端子31をAVCCとXTSTとで共用し、端子32をAVRとSIとで共用していた。それに対して図4に示す第2の実施例の構成においては、LSI20aのAVCC用の端子31からスキャンイン信号SIを印加し、AVR用の端子32からテストモード信号XTSTを印加する。即ち端子31をAVCCとSIとで共用し、端子32をAVRとXTSTとで共用する。その他の構成は図2に示すLSI20と同様である。   FIG. 4 is a diagram showing an example of the configuration of the second embodiment of the LSI. 4, the same components as those in FIG. 2 are referred to by the same numerals, and a description thereof will be omitted. In the configuration of the first embodiment shown in FIG. 2, the test mode signal XTST is applied from the AVCC terminal 31 and the scan-in signal SI is applied from the AVR terminal 32. That is, the terminal 31 is shared by AVCC and XTST, and the terminal 32 is shared by AVR and SI. On the other hand, in the configuration of the second embodiment shown in FIG. 4, the scan-in signal SI is applied from the AVCC terminal 31 of the LSI 20a, and the test mode signal XTST is applied from the AVR terminal 32. That is, the terminal 31 is shared by AVCC and SI, and the terminal 32 is shared by AVR and XTST. Other configurations are the same as those of the LSI 20 shown in FIG.

図5は、LSIの第3の実施例の構成の一例を示す図である。図5において、図2と同一の構成要素は同一の番号で参照し、その説明は省略する。図2に示す第1実施例の構成においては、AVR用の端子32からスキャンイン信号SIを印加し、クロック信号CLK用のX0端子35からスキャンクロック信号XTCKを印加していた。即ち端子32をAVRとSIとで共用し、端子35をクロック信号CLK(X0)とスキャンクロック信号XTCKとで共用していた。それに対して図5に示す第3の実施例の構成においては、LSI20bのP01用の端子37からスキャンイン信号SIを印加し、AVR用の端子32からスキャンクロック信号XTCKを印加する。即ち端子37をP01とSIとで共用し、端子32をAVRとXTCKとで共用する。これに伴い、図2のようにロジック回路23のXTCK入力の部分に論理ゲート26を設ける代わりに、図5に示すようにロジック回路23のSI入力の部分に論理ゲート26bを設けるようにロジック部21bを構成してある。論理ゲート26bは、XTSTの負論理とスキャンイン信号SIの正論理とのANDをとるゲートであり、XTSTがHIGHの時にスキャンイン信号SIを遮断し、XTSTがLOWの時にスキャンイン信号SIを通過させる。その他の構成は図2に示すLSI20と同様である。   FIG. 5 is a diagram showing an example of the configuration of the third embodiment of the LSI. In FIG. 5, the same components as those of FIG. 2 are referred to by the same numerals, and a description thereof will be omitted. In the configuration of the first embodiment shown in FIG. 2, the scan-in signal SI is applied from the AVR terminal 32, and the scan clock signal XTCK is applied from the X0 terminal 35 for the clock signal CLK. That is, the terminal 32 is shared by AVR and SI, and the terminal 35 is shared by the clock signal CLK (X0) and the scan clock signal XTCK. On the other hand, in the configuration of the third embodiment shown in FIG. 5, the scan-in signal SI is applied from the P01 terminal 37 of the LSI 20b, and the scan clock signal XTCK is applied from the AVR terminal 32. That is, the terminal 37 is shared by P01 and SI, and the terminal 32 is shared by AVR and XTCK. Accordingly, instead of providing the logic gate 26 at the XTCK input portion of the logic circuit 23 as shown in FIG. 2, the logic portion 26b is provided at the SI input portion of the logic circuit 23 as shown in FIG. 21b is configured. The logic gate 26b is an AND gate of the negative logic of XTST and the positive logic of the scan-in signal SI. The logic gate 26b blocks the scan-in signal SI when XTST is HIGH and passes the scan-in signal SI when XTST is LOW. Let Other configurations are the same as those of the LSI 20 shown in FIG.

図6は、LSIの第4の実施例の構成の一例を示す図である。図6において、図2と同一の構成要素は同一の番号で参照し、その説明は省略する。図6のLSI20cは、ロジック部21c、アナログ回路22、及びFeRAM(強誘電体メモリ)51を含む。FeRAM51は、強誘電体を記憶素子とする不揮発メモリであり、端子52からの電源電圧VDDFに基づいて動作する。図2に示す第1実施例の構成においては、データP00用の端子36からスキャンモード信号SMを印加していた。即ち端子36をデータP00とSMとで共用していた。それに対して図6に示す第4の実施例の構成においては、LSI20cのVDDF用の端子52からスキャンモード信号SMを印加する。即ち端子52をVDDFとSMとで共用する。これに伴い、図2のようにロジック部21においてXTSTの負論理と端子36からのスキャンモード信号SMの正論理とのANDをとる論理ゲート27の代わりに、図6に示すように論理ゲート27cを設けている。図6に示すようにロジック部21cの論理ゲート27cは、XTSTの負論理と端子52からのスキャンモード信号SMの正論理とのANDをとる。その他の構成は図2に示すLSI20と同様である。   FIG. 6 is a diagram showing an example of the configuration of the fourth embodiment of the LSI. In FIG. 6, the same components as those in FIG. 2 are referred to by the same numerals, and a description thereof will be omitted. The LSI 20c in FIG. 6 includes a logic unit 21c, an analog circuit 22, and an FeRAM (ferroelectric memory) 51. The FeRAM 51 is a nonvolatile memory using a ferroelectric as a storage element, and operates based on the power supply voltage VDDF from the terminal 52. In the configuration of the first embodiment shown in FIG. 2, the scan mode signal SM is applied from the terminal 36 for data P00. That is, the terminal 36 is shared by the data P00 and SM. On the other hand, in the configuration of the fourth embodiment shown in FIG. 6, the scan mode signal SM is applied from the VDDF terminal 52 of the LSI 20c. That is, the terminal 52 is shared by VDDF and SM. Accordingly, as shown in FIG. 6, instead of the logic gate 27 that takes the AND of the negative logic of XTST and the positive logic of the scan mode signal SM from the terminal 36 in the logic unit 21 as shown in FIG. Is provided. As shown in FIG. 6, the logic gate 27 c of the logic unit 21 c takes an AND of the negative logic of XTST and the positive logic of the scan mode signal SM from the terminal 52. Other configurations are the same as those of the LSI 20 shown in FIG.

アナログ回路22と同様に、一般にFeRAM51もスキャンテスト動作時には使用しない。従って、このようなFeRAM51の入力端子を利用することにより、効率的な端子の活用を図ることができる。   Similar to the analog circuit 22, the FeRAM 51 is generally not used during the scan test operation. Therefore, efficient utilization of the terminals can be achieved by using the input terminals of the FeRAM 51.

図7は、LSIの第5の実施例の構成の一例を示す図である。図7において、図2と同一の構成要素は同一の番号で参照し、その説明は省略する。図7のLSI20dは、ロジック部21d、アナログ回路22、レギュレータ61、及びアナログスイッチ回路63及び64を含む。レギュレータ61は、端子34から供給される外部電源電圧に基づいて、安定した内部電源電圧VCCを生成する。通常動作時には、レギュレータ61が内部電源電圧VCCを出力する信号線は、端子62を介して外部の容量素子Cに結合されている。このように容量素子Cを内部電源電圧VCCに結合することにより、外部電源電圧が振動したときに、レギュレータ61の出力する内部電源電圧VCCが発振してしまうことを避けることができる。   FIG. 7 is a diagram showing an example of the configuration of the fifth embodiment of the LSI. In FIG. 7, the same components as those of FIG. 2 are referred to by the same numerals, and a description thereof will be omitted. The LSI 20d in FIG. 7 includes a logic unit 21d, an analog circuit 22, a regulator 61, and analog switch circuits 63 and 64. The regulator 61 generates a stable internal power supply voltage VCC based on the external power supply voltage supplied from the terminal 34. During normal operation, the signal line from which the regulator 61 outputs the internal power supply voltage VCC is coupled to the external capacitive element C via the terminal 62. By coupling the capacitive element C to the internal power supply voltage VCC in this way, it is possible to avoid the internal power supply voltage VCC output from the regulator 61 from oscillating when the external power supply voltage vibrates.

LSI20dのスキャンテスト動作を実行するときには、外部電源電圧はテスタから供給するので、十分に安定した電源電圧となっている。従って、スキャンテスト動作時には、端子62に容量素子Cを接続する必要はない。図7に示す第5の実施例の構成では、スキャンテスト動作の実行時に生成されたスキャンアウト信号SOを端子62を介して外部に出力する信号経路が設けられている。この信号経路には、第1の端子31から供給されるテストモード信号XTSTに応じて信号経路を遮断するアナログスイッチ回路64が設けられている。アナログスイッチ回路64は、スキャンテスト動作時にテストモード信号XTSTがアサートされると導通し、ロジック回路23のSO出力を端子62に接続する。なおこのとき端子62には容量素子Cは接続されていない。またアナログスイッチ回路63は、スキャンテスト動作時にテストモード信号XTSTがアサートされると遮断し、レギュレータ61の出力を端子62から切断する。   When the scan test operation of the LSI 20d is executed, the external power supply voltage is supplied from the tester, so that the power supply voltage is sufficiently stable. Therefore, it is not necessary to connect the capacitive element C to the terminal 62 during the scan test operation. In the configuration of the fifth embodiment shown in FIG. 7, a signal path for outputting the scan-out signal SO generated at the time of executing the scan test operation to the outside through the terminal 62 is provided. This signal path is provided with an analog switch circuit 64 that cuts off the signal path in accordance with the test mode signal XTST supplied from the first terminal 31. The analog switch circuit 64 becomes conductive when the test mode signal XTST is asserted during the scan test operation, and connects the SO output of the logic circuit 23 to the terminal 62. At this time, the capacitor C is not connected to the terminal 62. The analog switch circuit 63 is cut off when the test mode signal XTST is asserted during the scan test operation, and disconnects the output of the regulator 61 from the terminal 62.

上記の構成を設けたことにより、図7のロジック部21dでは、図2のロジック部21にあるセレクタ回路28が取り除かれている。その他の点において、ロジック部21dとロジック部21とは実質的に同一である。   By providing the above-described configuration, the selector circuit 28 in the logic unit 21 in FIG. 2 is removed from the logic unit 21d in FIG. In other respects, the logic unit 21d and the logic unit 21 are substantially the same.

図8は、LSIの第6の実施例の構成の一例を示す図である。図8において、図6及び図7と同一の構成要素は同一の番号で参照し、その説明は省略する。図8のLSI20eは、ロジック部21e、アナログ回路22、FeRAM51、レギュレータ61、及びアナログスイッチ回路63及び64を含む。図7に示す第5実施例の構成においては、データP00用の端子36からスキャンモード信号SMを印加していた。即ち端子36をデータP00とSMとで共用していた。それに対して図8に示す第6の実施例の構成においては、LSI20eのVDDF用の端子52からスキャンモード信号SMを印加する。即ち端子52をVDDFとSMとで共用する。これに伴い、図7のようにロジック部21dにおいてXTSTの負論理と端子36からのスキャンモード信号SMの正論理とのANDをとる論理ゲート27の代わりに、図8に示すように論理ゲート27eを設けている。図8に示すようにロジック部21eの論理ゲート27eは、XTSTの負論理と端子52からのスキャンモード信号SMの正論理とのANDをとる。その他の構成は図7に示すLSI20dと同様である。   FIG. 8 is a diagram showing an example of the configuration of the sixth embodiment of the LSI. In FIG. 8, the same components as those in FIGS. 6 and 7 are referred to by the same numerals, and a description thereof will be omitted. The LSI 20e in FIG. 8 includes a logic unit 21e, an analog circuit 22, an FeRAM 51, a regulator 61, and analog switch circuits 63 and 64. In the configuration of the fifth embodiment shown in FIG. 7, the scan mode signal SM is applied from the terminal 36 for data P00. That is, the terminal 36 is shared by the data P00 and SM. On the other hand, in the configuration of the sixth embodiment shown in FIG. 8, the scan mode signal SM is applied from the VDDF terminal 52 of the LSI 20e. That is, the terminal 52 is shared by VDDF and SM. Accordingly, as shown in FIG. 8, instead of the logic gate 27 taking the AND of the negative logic of XTST and the positive logic of the scan mode signal SM from the terminal 36 in the logic unit 21d as shown in FIG. Is provided. As shown in FIG. 8, the logic gate 27e of the logic unit 21e takes an AND of the negative logic of XTST and the positive logic of the scan mode signal SM from the terminal 52. Other configurations are the same as those of the LSI 20d shown in FIG.

図9は、LSIの第7の実施例の構成の一例を示す図である。図9において、図2と同一の構成要素は同一の番号で参照し、その説明は省略する。図9のLSI20fは、ロジック部21f、アナログ回路22、及びフラッシュメモリ71を含む。フラッシュメモリ71は、フローティングゲートへの電荷注入により情報を記憶する不揮発メモリであり、端子72からの高電圧HVDを用いることによりプログラムや消去等の動作を実行する。図2に示す第1実施例の構成においては、データP00用の端子36からスキャンモード信号SMを印加していた。即ち端子36をデータP00とSMとで共用していた。それに対して図9に示す第7の実施例の構成においては、LSI20cのHVD用の端子72からスキャンモード信号SMを印加する。即ち端子72をHVDとSMとで共用する。これに伴い、図2のようにロジック部21においてXTSTの負論理と端子36からのスキャンモード信号SMの正論理とのANDをとる論理ゲート27の代わりに、図9に示すように論理ゲート27fを設けている。図9に示すようにロジック部21fの論理ゲート27fは、XTSTの負論理と端子72からのスキャンモード信号SMの正論理とのANDをとる。その他の構成は図2に示すLSI20と同様である。   FIG. 9 is a diagram showing an example of the configuration of the seventh embodiment of the LSI. 9, the same components as those in FIG. 2 are referred to by the same numerals, and a description thereof will be omitted. The LSI 20f in FIG. 9 includes a logic unit 21f, an analog circuit 22, and a flash memory 71. The flash memory 71 is a non-volatile memory that stores information by charge injection into the floating gate, and performs operations such as programming and erasing by using the high voltage HVD from the terminal 72. In the configuration of the first embodiment shown in FIG. 2, the scan mode signal SM is applied from the terminal 36 for data P00. That is, the terminal 36 is shared by the data P00 and SM. On the other hand, in the configuration of the seventh embodiment shown in FIG. 9, the scan mode signal SM is applied from the HVD terminal 72 of the LSI 20c. That is, the terminal 72 is shared by HVD and SM. Accordingly, as shown in FIG. 9, instead of the logic gate 27 taking the AND of the negative logic of XTST and the positive logic of the scan mode signal SM from the terminal 36 in the logic unit 21 as shown in FIG. Is provided. As shown in FIG. 9, the logic gate 27 f of the logic unit 21 f takes an AND of the negative logic of XTST and the positive logic of the scan mode signal SM from the terminal 72. Other configurations are the same as those of the LSI 20 shown in FIG.

図10は、上記の実施例で説明したLSIの動作制御のフローチャートである。ステップS1で、AVCC(又はAVR)とXTSTとを兼用する端子への印加電圧がHIGHかLOWかを判定する。そのような兼用端子は、例えば図2に示す第1の実施例の場合は端子31であり、図4に示す第2の実施例の場合は端子32である。印加電圧がHIGH(VCCレベル)の場合、処理はステップS2に進む。   FIG. 10 is a flowchart of the operation control of the LSI described in the above embodiment. In step S1, it is determined whether the voltage applied to the terminal that is used for both AVCC (or AVR) and XTST is HIGH or LOW. Such a dual-purpose terminal is, for example, the terminal 31 in the case of the first embodiment shown in FIG. 2, and the terminal 32 in the case of the second embodiment shown in FIG. If the applied voltage is HIGH (VCC level), the process proceeds to step S2.

ステップS2で、LSIが通常起動される。その後ステップS3で、動作モードが選択される。この動作モードの選択は、何らかの外部からの設定により決定すればよい。ユーザモードが選択された場合は、ステップS4において、LSIのロジック部(例えば図2のロジック部21)が通常動作を実行し、アナログ回路(例えば図2のアナログ回路22)がロジック部に対する周辺機器として使用される。またテストモードが選択された場合は、アナログ回路の試験を実行する。LSIチップでは、内蔵のADC及びDACには一般に変換誤差が含まれる。そこでADC及びDACについてそれぞれの変換誤差を予め測定しておき、実際のAD変換及びDA変換を行う際に、測定済みの誤差に基づいた補正処理を行うことが好ましい。LSIチップ内のADC及びDACの誤差を求めるためには、例えば外部端子を介して所定のアナログ電圧を入力してAD変換後のデジタルコードを調べたり、所定のデジタルコードに対するDA変換後のアナログ電圧を外部端子を介して出力して測定したりする。   In step S2, the LSI is normally activated. Thereafter, in step S3, the operation mode is selected. The selection of this operation mode may be determined by some external setting. When the user mode is selected, in step S4, the LSI logic unit (for example, the logic unit 21 in FIG. 2) performs a normal operation, and the analog circuit (for example, the analog circuit 22 in FIG. 2) is a peripheral device for the logic unit. Used as. When the test mode is selected, the analog circuit test is executed. In LSI chips, built-in ADCs and DACs generally contain conversion errors. Therefore, it is preferable to measure each conversion error for ADC and DAC in advance, and to perform correction processing based on the measured error when performing actual AD conversion and DA conversion. In order to determine the error between the ADC and DAC in the LSI chip, for example, a predetermined analog voltage is input via an external terminal to check a digital code after AD conversion, or an analog voltage after DA conversion for a predetermined digital code Is measured via an external terminal.

ステップS1での判定の結果、印加電圧がLOW(VSSレベル)の場合、処理はステップS6に進む。ステップS6で、LSIがスキャンテストモード起動される。ステップS7で、スキャンテストモードにおいて、LSIのロジック部やメモリに対するスキャンテストが実行される。この際、スキャンクロック信号、スキャンイン信号、スキャンモード信号等の種々のスキャン関連の信号は、他の兼用端子から印加されてよい。   As a result of the determination in step S1, when the applied voltage is LOW (VSS level), the process proceeds to step S6. In step S6, the LSI is activated in a scan test mode. In step S7, in the scan test mode, a scan test is performed on the logic portion and memory of the LSI. At this time, various scan-related signals such as a scan clock signal, a scan-in signal, and a scan mode signal may be applied from other shared terminals.

以上、本発明を実施例に基づいて説明したが、本発明は上記実施例に限定されるものではなく、特許請求の範囲に記載の範囲内で様々な変形が可能である。   As mentioned above, although this invention was demonstrated based on the Example, this invention is not limited to the said Example, A various deformation | transformation is possible within the range as described in a claim.

なお本願の開示は、以下の内容を含むものである。
(付記1)
第1の端子を介して第1の正電源電圧を、第2の端子を介して基準電圧を、第3の端子を介してグランド電圧を受け取るアナログ回路と、
第4の端子を介して受け取る第2の正電源電圧により動作し、通常動作とスキャンテスト動作とを選択的に実行し、前記スキャンテスト動作に関連する所定のスキャンテスト関連信号に応じて前記スキャンテスト動作を実行するロジック回路と、
前記スキャンテスト動作時に前記第1の端子及び前記第2の端子の少なくとも一方を介して前記所定のスキャンテスト関連信号の少なくとも1つを前記ロジック回路へ供給する第1の信号経路と
を含むことを特徴とする半導体集積回路。
(付記2)
前記所定のスキャンテスト関連信号の前記少なくとも1つは、通常動作とスキャンテスト動作との何れか一方を選択するテストモード信号を含むことを特徴とする付記1記載の半導体集積回路。
(付記3)
第2の信号経路を更に含み、
前記ロジック回路は第5の端子を介して受け取る前記通常動作に関連する所定の通常動作関連信号に応じて前記通常動作を実行し、前記第2の信号経路は、前記スキャンテスト動作時に前記第5の端子を介して前記所定のスキャンテスト関連信号の少なくとも1つを前記ロジック回路へ供給することを特徴とする付記1又は2に記載の半導体集積回路。
(付記4)
前記第2の信号経路には、前記第1の端子及び前記第2の端子の少なくとも一方から供給される信号に応じて信号経路を遮断する回路が設けられていることを特徴とする付記3記載の半導体集積回路。
(付記5)
第3の信号経路を更に含み、
前記ロジック回路は前記通常動作の実行時に生成された信号を第6の端子を介して外部に出力し、前記第3の信号経路は、前記スキャンテスト動作の実行時に生成された信号を前記第6の端子を介して外部に出力することを特徴とする付記1乃至4いずれか一項記載の半導体集積回路。
(付記6)
前記第3の信号経路には、前記第1の端子及び前記第2の端子の少なくとも一方から供給される信号に応じて前記通常動作の実行時に生成された信号が伝搬する信号線と前記スキャンテスト動作の実行時に生成された信号が伝搬する信号線との何れか一方を選択する回路が設けられていることを特徴とする付記3記載の半導体集積回路。
(付記7)
第4の信号経路と、
レギュレータ回路と
を更に含み、
前記レギュレータ回路の出力は前記通常動作時に第7の端子を介して外部の容量素子に接続され、前記第4の信号経路は、前記スキャンテスト動作の実行時に生成された信号を前記第7の端子を介して外部に出力することを特徴とする付記1乃至4いずれか一項記載の半導体集積回路。
(付記8)
前記第4の信号経路には、前記第1の端子及び前記第2の端子の少なくとも一方から供給される信号に応じて信号経路を遮断する回路が設けられていることを特徴とする付記7記載の半導体集積回路。
(付記9)
第1の端子を介して第1の正電源電圧を、第2の端子を介して基準電圧を、第3の端子を介してグランド電圧を受け取るアナログ回路と、
第4の端子を介して受け取る第2の正電源電圧により動作し、通常動作とスキャンテスト動作とを選択的に実行し、前記スキャンテスト動作に関連する所定のスキャンテスト関連信号に応じて前記スキャンテスト動作を実行するロジック回路と、
前記スキャンテスト動作時に前記第1の端子及び前記第2の端子の少なくとも一方を介して前記所定のスキャンテスト関連信号の少なくとも1つを前記ロジック回路へ供給する第1の信号経路と
を含むことを特徴とする半導体集積回路。
The disclosure of the present application includes the following contents.
(Appendix 1)
An analog circuit that receives a first positive power supply voltage via a first terminal, a reference voltage via a second terminal, and a ground voltage via a third terminal;
It operates with a second positive power supply voltage received via the fourth terminal, selectively executes a normal operation and a scan test operation, and performs the scan according to a predetermined scan test related signal related to the scan test operation A logic circuit for performing a test operation;
And a first signal path for supplying at least one of the predetermined scan test related signals to the logic circuit via at least one of the first terminal and the second terminal during the scan test operation. A semiconductor integrated circuit.
(Appendix 2)
2. The semiconductor integrated circuit according to claim 1, wherein the at least one of the predetermined scan test related signals includes a test mode signal for selecting one of a normal operation and a scan test operation.
(Appendix 3)
A second signal path;
The logic circuit performs the normal operation in response to a predetermined normal operation related signal related to the normal operation received via a fifth terminal, and the second signal path is configured to perform the fifth test operation during the scan test operation. 3. The semiconductor integrated circuit according to appendix 1 or 2, wherein at least one of the predetermined scan test related signals is supplied to the logic circuit via a terminal.
(Appendix 4)
The third signal path is provided with a circuit that cuts off a signal path according to a signal supplied from at least one of the first terminal and the second terminal. Semiconductor integrated circuit.
(Appendix 5)
Further comprising a third signal path;
The logic circuit outputs a signal generated during execution of the normal operation to the outside via a sixth terminal, and the third signal path outputs a signal generated during execution of the scan test operation. 5. The semiconductor integrated circuit according to claim 1, wherein the semiconductor integrated circuit outputs the signal to the outside via a terminal.
(Appendix 6)
In the third signal path, a signal line through which a signal generated during execution of the normal operation according to a signal supplied from at least one of the first terminal and the second terminal propagates and the scan test 4. The semiconductor integrated circuit according to appendix 3, wherein a circuit is provided for selecting one of a signal line through which a signal generated when the operation is performed is propagated.
(Appendix 7)
A fourth signal path;
A regulator circuit,
The output of the regulator circuit is connected to an external capacitive element via a seventh terminal during the normal operation, and the fourth signal path is configured to output a signal generated during the execution of the scan test operation to the seventh terminal. The semiconductor integrated circuit according to any one of appendices 1 to 4, wherein the semiconductor integrated circuit outputs to the outside via
(Appendix 8)
The additional signal according to claim 7, wherein the fourth signal path is provided with a circuit that blocks the signal path in accordance with a signal supplied from at least one of the first terminal and the second terminal. Semiconductor integrated circuit.
(Appendix 9)
An analog circuit that receives a first positive power supply voltage via a first terminal, a reference voltage via a second terminal, and a ground voltage via a third terminal;
It operates with a second positive power supply voltage received via the fourth terminal, selectively executes a normal operation and a scan test operation, and performs the scan according to a predetermined scan test related signal related to the scan test operation A logic circuit for performing a test operation;
And a first signal path for supplying at least one of the predetermined scan test related signals to the logic circuit via at least one of the first terminal and the second terminal during the scan test operation. A semiconductor integrated circuit.

スキャンテスト方式を採用したLSIの構成の一例を示す図である。It is a figure which shows an example of a structure of LSI which employ | adopted the scan test system. LSIの第1の実施例の構成の一例を示す図である。It is a figure which shows an example of a structure of the 1st Example of LSI. ロジック回路の構成の一例を示す図である。It is a figure which shows an example of a structure of a logic circuit. LSIの第2の実施例の構成の一例を示す図である。It is a figure which shows an example of a structure of the 2nd Example of LSI. LSIの第3の実施例の構成の一例を示す図である。It is a figure which shows an example of a structure of the 3rd Example of LSI. LSIの第4の実施例の構成の一例を示す図である。It is a figure which shows an example of a structure of the 4th Example of LSI. LSIの第5の実施例の構成の一例を示す図である。It is a figure which shows an example of a structure of the 5th Example of LSI. LSIの第6の実施例の構成の一例を示す図である。It is a figure which shows an example of a structure of the 6th Example of LSI. LSIの第7の実施例の構成の一例を示す図である。It is a figure which shows an example of a structure of the 7th Example of LSI. 上記の実施例で説明したLSIの動作制御のフローチャートである。It is a flowchart of operation control of the LSI explained in the above embodiment.

符号の説明Explanation of symbols

20 LSI
21 ロジック部
22 アナログ回路
23 ロジック回路
24 入力バッファ
25 出力バッファ
26 論理ゲート
27 論理ゲート
28 セレクタ回路
41 ユーザーロジック部
42 モード制御回路
43−1乃至43−n スキャンフリップフロップ
20 LSI
21 logic unit 22 analog circuit 23 logic circuit 24 input buffer 25 output buffer 26 logic gate 27 logic gate 28 selector circuit 41 user logic unit 42 mode control circuits 43-1 to 43-n scan flip-flop

Claims (5)

第1の端子を介して第1の正電源電圧を、第3の端子を介してグランド電圧を受け取るアナログ回路と、
第4の端子を介して受け取る第2の正電源電圧により動作し、通常動作とスキャンテスト動作とを選択的に実行し、前記スキャンテスト動作に関連する所定のスキャンテスト関連信号に応じて前記スキャンテスト動作を実行するロジック回路と、
前記スキャンテスト動作時に前記第1の端子を介して前記所定のスキャンテスト関連信号の少なくとも1つを前記ロジック回路へ供給する第1の信号経路と
を含むことを特徴とする半導体集積回路。
An analog circuit for receiving a first positive power supply voltage via a first terminal and a ground voltage via a third terminal;
It operates with a second positive power supply voltage received via the fourth terminal, selectively executes a normal operation and a scan test operation, and performs the scan according to a predetermined scan test related signal related to the scan test operation A logic circuit for performing a test operation;
And a first signal path for supplying at least one of the predetermined scan test related signals to the logic circuit via the first terminal during the scan test operation.
前記所定のスキャンテスト関連信号の前記少なくとも1つは、通常動作とスキャンテスト動作との何れか一方を選択するテストモード信号を含むことを特徴とする請求項1記載の半導体集積回路。   2. The semiconductor integrated circuit according to claim 1, wherein the at least one of the predetermined scan test related signals includes a test mode signal for selecting one of a normal operation and a scan test operation. 第2の信号経路を更に含み、
前記ロジック回路は第5の端子を介して受け取る前記通常動作に関連する所定の通常動作関連信号に応じて前記通常動作を実行し、前記第2の信号経路は、前記スキャンテスト動作時に前記第5の端子を介して前記所定のスキャンテスト関連信号の少なくとも1つを前記ロジック回路へ供給することを特徴とする請求項1又は2に記載の半導体集積回路。
A second signal path;
The logic circuit performs the normal operation in response to a predetermined normal operation related signal related to the normal operation received via a fifth terminal, and the second signal path is configured to perform the fifth test operation during the scan test operation. 3. The semiconductor integrated circuit according to claim 1, wherein at least one of the predetermined scan test related signals is supplied to the logic circuit via a terminal.
第3の信号経路を更に含み、
前記ロジック回路は前記通常動作の実行時に生成された信号を第6の端子を介して外部に出力し、前記第3の信号経路は、前記スキャンテスト動作の実行時に生成された信号を前記第6の端子を介して外部に出力することを特徴とする請求項1乃至3いずれか一項記載の半導体集積回路。
Further comprising a third signal path;
The logic circuit outputs a signal generated during execution of the normal operation to the outside via a sixth terminal, and the third signal path outputs a signal generated during execution of the scan test operation. 4. The semiconductor integrated circuit according to claim 1, wherein the semiconductor integrated circuit outputs the signal to the outside via the terminal.
第4の信号経路と、
レギュレータ回路と
を更に含み、
前記レギュレータ回路の出力は前記通常動作時に第7の端子を介して外部の容量素子に接続され、前記第4の信号経路は、前記スキャンテスト動作の実行時に生成された信号を前記第7の端子を介して外部に出力することを特徴とする請求項1乃至4いずれか一項記載の半導体集積回路。
A fourth signal path;
A regulator circuit,
The output of the regulator circuit is connected to an external capacitive element via a seventh terminal during the normal operation, and the fourth signal path is configured to output a signal generated during the execution of the scan test operation to the seventh terminal. 5. The semiconductor integrated circuit according to claim 1, wherein the semiconductor integrated circuit outputs to the outside via
JP2008286957A 2008-11-07 2008-11-07 Semiconductor integrated circuit Pending JP2010112883A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008286957A JP2010112883A (en) 2008-11-07 2008-11-07 Semiconductor integrated circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008286957A JP2010112883A (en) 2008-11-07 2008-11-07 Semiconductor integrated circuit

Publications (1)

Publication Number Publication Date
JP2010112883A true JP2010112883A (en) 2010-05-20

Family

ID=42301543

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008286957A Pending JP2010112883A (en) 2008-11-07 2008-11-07 Semiconductor integrated circuit

Country Status (1)

Country Link
JP (1) JP2010112883A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010280864A (en) * 2009-06-08 2010-12-16 Nitto Kasei Co Ltd Antifouling coating composition, antifouling coating film formed by using the composition, coated product having the coating film on the surface, and method for antifouling treatment by forming the coating film

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010280864A (en) * 2009-06-08 2010-12-16 Nitto Kasei Co Ltd Antifouling coating composition, antifouling coating film formed by using the composition, coated product having the coating film on the surface, and method for antifouling treatment by forming the coating film

Similar Documents

Publication Publication Date Title
JP2008117372A (en) Semiconductor integrated circuit and control method thereof
JP2010281695A (en) Semiconductor integrated circuit
JP2006332456A (en) Semiconductor device and testing mode setting method
US10074436B1 (en) Memory device and data reading method thereof
CN116224045B (en) Test circuit and method for reducing power consumption in capture stage in scanning test
CN108459876B (en) Method and apparatus for reduced area control register circuit
US10386415B2 (en) Mixed-signal integrated circuit
JP2010112883A (en) Semiconductor integrated circuit
US7345496B2 (en) Semiconductor apparatus and test execution method for semiconductor apparatus
JP5734615B2 (en) Inspection apparatus and method
JP2010038733A (en) Semiconductor integrated circuit
JP2007178387A (en) Semiconductor integrated circuit device
JP4724774B2 (en) Semiconductor circuit device, memory test circuit, and test method for semiconductor circuit device
JP2007094603A (en) Programmable device control unit and programmable device control method
JP4918874B2 (en) Clock signal supply circuit
JP2009212930A (en) Input-level determination circuit
JP2005085215A (en) Semiconductor integrated circuit device and device for inspecting the semiconductor integrated circuit device
JP2005293622A (en) Integrated circuit, and inspection method of margin degree of hold time error
JP2009175154A (en) Semiconductor integrated circuit and its design method
JP4869911B2 (en) Logic BIST circuit and modulo circuit
JP2002286803A (en) Semiconductor integrated circuit
JP4660115B2 (en) Test mode setting circuit
WO2010070736A1 (en) Apparatus and method for controlling programmable device
JP2009270912A (en) Semiconductor integrated circuit and inspection method of semiconductor integrated circuit
JP5949410B2 (en) Semiconductor device