JP2008224535A - Semiconductor integrated circuit and its inspection method - Google Patents

Semiconductor integrated circuit and its inspection method Download PDF

Info

Publication number
JP2008224535A
JP2008224535A JP2007065510A JP2007065510A JP2008224535A JP 2008224535 A JP2008224535 A JP 2008224535A JP 2007065510 A JP2007065510 A JP 2007065510A JP 2007065510 A JP2007065510 A JP 2007065510A JP 2008224535 A JP2008224535 A JP 2008224535A
Authority
JP
Japan
Prior art keywords
signal
clock
input
output
selector
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
JP2007065510A
Other languages
Japanese (ja)
Inventor
Kazuhiro Okabayashi
和宏 岡林
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2007065510A priority Critical patent/JP2008224535A/en
Publication of JP2008224535A publication Critical patent/JP2008224535A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To shorten a test time, and to reduce manufacturing cost. <P>SOLUTION: In a programmable logic circuit 100, a circuit configuration can be changed corresponding to configuration information. In a programmable input/output interface 101, input cells 301a, 301b use either of an output from ASIC 11 and scan-in as input corresponding to a scan shift signal SHIFT, and select scan-out corresponding to a select signal SELECT and the configuration information. Output cells 302a, 302b use either of an output from the programmable logic circuit 100 and scan-in as input corresponding to a test mode signal MODE, and select scan-out corresponding to the select signal SELECT and the configuration information. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、半導体集積回路の製造後に回路構成を再構成することが可能であるリコンフィギュアラブルロジックを含む半導体集積回路に関し、特に、リコンフィギュアラブルロジックと特定用途向け専用回路を含む試験方法に関する。   The present invention relates to a semiconductor integrated circuit including a reconfigurable logic capable of reconfiguring a circuit configuration after manufacturing the semiconductor integrated circuit, and more particularly to a test method including a reconfigurable logic and a dedicated circuit for a specific application.

各種デジタル信号処理では、マイコン,DSP(デジタル信号処理プロセッサ),特定用途向けの専用回路(ASIC:Application Specific Integrated Circuit),記憶素子(メモリ)など様々な半導体集積回路が用いられる。近年、回路製造後にプログラムによって処理を変更できるプログラマブルロジック回路(マイコンやDSPなど)や、回路製造後に回路構成を自由に変更できるプログラマブルロジック回路、特に回路構成を高速に切り替えることができるリコンフィギュアラブルロジックが注目されている。   In various types of digital signal processing, various semiconductor integrated circuits such as a microcomputer, a DSP (digital signal processing processor), a dedicated circuit (ASIC: Application Specific Integrated Circuit) for specific use, and a storage element (memory) are used. In recent years, programmable logic circuits (such as microcomputers and DSPs) whose processing can be changed by a program after circuit manufacture, programmable logic circuits whose circuit configuration can be freely changed after circuit manufacture, particularly reconfigurable logic that can switch the circuit configuration at high speed Is attracting attention.

リコンフィギュアラブルロジックは、規格や仕様の変更や回路不具合などがあった場合、半導体集積回路を新たに製造することなく回路構成を自由に変更することが可能である。一方、ASICは、LSI製造後に回路構成を自由に変更できないが、リコンフィギュアラブルロジックに比べ小さい面積で高速かつ電力が小さいという特徴を持つ。   The reconfigurable logic can freely change the circuit configuration without newly manufacturing a semiconductor integrated circuit when there is a change in standard or specification, a circuit failure, or the like. On the other hand, the ASIC cannot freely change the circuit configuration after the LSI is manufactured, but has a feature that it has a small area and high speed and low power compared to the reconfigurable logic.

半導体集積回路の微細化が進み、システムを1つのLSIで実現するシステム・オン・チップ(SoC)の開発が進んでいる。近年のSoCにおいては、製造コストの高騰や短期間での製品開発に対応するため、プログラマブルロジック回路の柔軟性とASICの高性能化を兼ね備えたSoCの開発が求められている。従来技術として、特許第3392062号(特許文献1)のようなものがある。特許文献1に記載の集積回路は、プログラマブルロジックアレイと特定用途ブロックを接続するAICインターフェースにより、プログラマブルロジック回路とASICを含むLSIを製造可能とするものである。
特許第3392062号
With the progress of miniaturization of semiconductor integrated circuits, development of a system-on-chip (SoC) that realizes a system with one LSI is progressing. In recent SoCs, in order to cope with rising manufacturing costs and product development in a short period of time, development of SoCs that combine the flexibility of programmable logic circuits and the enhancement of ASIC performance is required. As a conventional technique, there is a technique such as Japanese Patent No. 3392062 (Patent Document 1). The integrated circuit described in Patent Document 1 enables an LSI including a programmable logic circuit and an ASIC to be manufactured by an AIC interface that connects a programmable logic array and a specific application block.
Japanese Patent No. 3391262

しかしながら、従来技術では、プログラマブルロジック回路とASICを含むLSIを出荷する際、プログラマブルロジック回路とASICの接続を試験するにはプログラマブルロジック回路およびAICインターフェース内のプログラミングメモリセルを所定の状態に構成(コンフィギュレーション)する必要がある。そのため、コンフィギュレーションするための時間が必要となり、結果として試験時間が増加し、コスト増加を招く。   However, in the prior art, when shipping an LSI including a programmable logic circuit and an ASIC, in order to test the connection between the programmable logic circuit and the ASIC, the programmable logic circuit and the programming memory cell in the AIC interface are configured in a predetermined state (configuration). It is necessary to This requires time for configuration, resulting in increased test time and increased cost.

本発明は以上の問題を解決するものであり、プログラマブルロジック回路をコンフィギュレーションすることなく、プログラマブルロジック回路と専用回路との接続試験をすることを可能とし、製造コストを下げることを目的とする。   An object of the present invention is to solve the above problems, and it is possible to perform a connection test between a programmable logic circuit and a dedicated circuit without configuring the programmable logic circuit, and to reduce the manufacturing cost.

この発明によれば、半導体集積回路は、所定用途向けに回路構成された専用回路と、コンフィギュレーション情報に応じて回路構成を変更可能であるプログラマブルロジック回路と、上記専用回路と上記プログラマブルロジック回路との間に介在し、上記専用回路と上記プログラマブルロジック回路との間で信号を転送する通常状態と上記専用回路との接続試験を実行するテスト状態とを有するプログラマブル入出力インターフェイスとを備え、上記プログラマブル入出力インタ−フェイスは、上記通常状態である場合には、上記コンフィギュレーション情報に応じた回路構成になり、上記テスト状態である場合には、外部からの制御信号に応じて第1のスキャンチェーンを構成する。   According to the present invention, a semiconductor integrated circuit includes a dedicated circuit configured for a predetermined application, a programmable logic circuit whose circuit configuration can be changed according to configuration information, the dedicated circuit, and the programmable logic circuit. And a programmable input / output interface having a normal state for transferring a signal between the dedicated circuit and the programmable logic circuit and a test state for executing a connection test with the dedicated circuit. When the input / output interface is in the normal state, the input / output interface has a circuit configuration corresponding to the configuration information. Configure.

上記半導体集積回路によれば、専用回路とプログラマブル入出力インターフェイスを外部からの制御信号によって制御することが可能となる。これにより、専用回路とプログラマブル入出力インターフェイスとの接続試験においてプログラマブルロジック回路のコンフィギュレーションを省略することができ、試験時間を短縮できる。さらに、製造コストを削減することも可能である。   According to the semiconductor integrated circuit, the dedicated circuit and the programmable input / output interface can be controlled by the control signal from the outside. Thereby, the configuration of the programmable logic circuit can be omitted in the connection test between the dedicated circuit and the programmable input / output interface, and the test time can be shortened. Further, it is possible to reduce the manufacturing cost.

好ましくは、上記半導体集積回路は、第1クロックを供給するクロック供給部をさらに備え、上記プログラマブルロジック回路は、上記クロック供給部からの第1クロックを受け、上記プログラマブル入出力インターフェイスは、上記クロック供給部からの第1クロックと上記プログラマブルロジック回路の第2クロックとを受け、上記通常状態である場合には、その第2クロックを動作クロックとして選択し、上記テスト状態である場合には、その第1クロックを動作クロックとして選択する。   Preferably, the semiconductor integrated circuit further includes a clock supply unit that supplies a first clock, the programmable logic circuit receives a first clock from the clock supply unit, and the programmable input / output interface supplies the clock supply The second clock of the programmable logic circuit is selected as the operation clock in the normal state, and the second clock is selected in the test state. One clock is selected as the operation clock.

上記半導体集積回路によれば、スキャンテストの実施時において、プログラマブル入出力インターフェイスに専用接続されたクロック供給部からのクロックをプログラマブル入出力インターフェイスの動作クロックとすることが可能となる。   According to the semiconductor integrated circuit, the clock from the clock supply unit dedicatedly connected to the programmable input / output interface can be used as the operation clock for the programmable input / output interface when the scan test is performed.

好ましくは、上記プログラマブル入出力インターフェイスは、直列に接続され且つ上記制御信号がそれぞれに与えられる複数のスキャンセルを含み、上記複数のスキャンセルの各々は、上記通常状態である場合には、上記専用回路と上記プログラマブルロジック回路との間で信号を転送し、上記テスト状態である場合には、上記制御信号に応じて上記第1のスキャンチェーンの一部として動作する。   Preferably, the programmable input / output interface includes a plurality of scan cells connected in series and supplied with the control signal to each of the plurality of scan cells, and each of the plurality of scan cells is dedicated to the normal state. When a signal is transferred between the circuit and the programmable logic circuit and in the test state, the circuit operates as a part of the first scan chain according to the control signal.

好ましくは、上記複数のスキャンセルのうち少なくとも1個は、上記通常状態において上記専用回路からの信号を上記プログラマブルロジック回路へ転送するための入力セルであり、上記制御信号は、テストモード信号と、スキャンシフト信号と、セレクタ信号とを含み、上記入力セルは、上記クロック供給部からの第1クロックを受ける第1のクロック入力端子と、上記プログラマブルロジック回路からの第2クロックを受ける第2のクロック入力端子と、その入力セルの前段に配置されたスキャンセルからの信号またはテストデータを受ける第1の信号入力端子と、上記専用回路からの信号を受ける第2の信号入力端子と、上記テストモード信号に応じて上記第1および第2のクロック入力端子のうちいずれか一方に与えられるクロックを選択する第1のセレクタと、上記スキャンシフト信号に応じて上記第1および第2の信号入力端子のうちいずれか一方に与えられる信号を選択する第2のセレクタと、上記第1のセレクタによって選択されたクロックに同期して上記第2のセレクタによって選択された信号を保持する第1の保持部と、上記セレクタ信号と上記コンフィギュレーション情報とに応じて上記第1の保持部からの信号および上記第2の信号入力端子に与えられた信号のうちいずれか一方を選択し、その信号をその入力セルの出力として出力する第3のセレクタとを含む。   Preferably, at least one of the plurality of scan cells is an input cell for transferring a signal from the dedicated circuit to the programmable logic circuit in the normal state, and the control signal includes a test mode signal, A scan shift signal and a selector signal, wherein the input cell has a first clock input terminal for receiving a first clock from the clock supply unit, and a second clock for receiving a second clock from the programmable logic circuit. An input terminal; a first signal input terminal for receiving a signal or test data from a scan cell arranged in a preceding stage of the input cell; a second signal input terminal for receiving a signal from the dedicated circuit; and the test mode A clock applied to one of the first and second clock input terminals according to a signal A first selector that selects, a second selector that selects a signal applied to one of the first and second signal input terminals according to the scan shift signal, and a selection by the first selector A first holding unit that holds a signal selected by the second selector in synchronization with the generated clock; a signal from the first holding unit according to the selector signal and the configuration information; and And a third selector that selects one of the signals given to the second signal input terminal and outputs the signal as an output of the input cell.

上記半導体集積回路によれば、専用回路の出力をプログラマブルロジック回路に入力することができ、また、プログラマブルロジック回路をコンフィギュレーションすることなく、接続試験を実施することができる。   According to the semiconductor integrated circuit, the output of the dedicated circuit can be input to the programmable logic circuit, and the connection test can be performed without configuring the programmable logic circuit.

好ましくは、上記複数のスキャンセルのうち少なくとも1個は、上記通常状態において上記プログラマブルロジック回路からの信号を上記専用回路へ転送するための出力セルであり、上記出力セルは、上記クロック供給部からの第1クロックを受ける第3のクロック入力端子と、上記プログラマブルロジック回路からの第2クロックを受ける第4のクロック入力端子と、その出力セルの前段に配置されたスキャンセルからの信号またはテストデータを受ける第3の信号入力端子と、上記プログラマブルロジック回路からの信号を受ける第4の信号入力端子と、上記制御信号に含まれるテストモード信号に応じて上記第3および第4のクロック入力端子のうちいずれか一方に与えられるクロックを選択する第4のセレクタと、上記テストモード信号に応じて上記第3および第4の信号入力端子のうちいずれか一方に与えられる信号を選択する第5のセレクタと、上記第4のセレクタによって選択されたクロックに同期して上記第5のセレクタによって選択された信号を保持する第2の保持部と、上記セレクタ信号と上記コンフィギュレーション情報とに応じて上記第2の保持部からの信号および上記第5のセレクタによって選択された信号のうちいずれか一方を選択し、その信号をその出力セルの出力として出力する第6のセレクタとを含む。   Preferably, at least one of the plurality of scan cells is an output cell for transferring a signal from the programmable logic circuit to the dedicated circuit in the normal state, and the output cell is supplied from the clock supply unit. A third clock input terminal for receiving the first clock, a fourth clock input terminal for receiving the second clock from the programmable logic circuit, and a signal or test data from the scan cell arranged in the preceding stage of the output cell. A third signal input terminal for receiving the signal, a fourth signal input terminal for receiving a signal from the programmable logic circuit, and the third and fourth clock input terminals according to a test mode signal included in the control signal. A fourth selector for selecting a clock to be given to either one of the test modes; And a fifth selector for selecting a signal applied to one of the third and fourth signal input terminals according to the signal, and the fifth selector in synchronization with the clock selected by the fourth selector. A second holding unit for holding a signal selected by the selector, a signal from the second holding unit and a signal selected by the fifth selector in accordance with the selector signal and the configuration information A sixth selector that selects any one of them and outputs the signal as an output of the output cell.

上記半導体集積回路によれば、プログラマブルロジック回路の出力を専用回路に入力することができ、また、プログラマブルロジック回路をコンフィギュレーションすることなく、接続試験を実施することができる。   According to the semiconductor integrated circuit, the output of the programmable logic circuit can be input to the dedicated circuit, and the connection test can be performed without configuring the programmable logic circuit.

好ましくは、上記専用回路は、直列に配置され上記制御信号に応じて第2のスキャンチェーンを構成する複数のフリップフロップと、上記複数のフリップフロップからなる第2のスキャンチェーンと上記複数のスキャンセルとの間に挟まれた論理回路とを含む。   Preferably, the dedicated circuit includes a plurality of flip-flops arranged in series and constituting a second scan chain according to the control signal, a second scan chain including the plurality of flip-flops, and the plurality of scan cells. And a logic circuit sandwiched between them.

上記半導体集積回路によれば、プログラマブル入出力インターフェイスの第1のスキャンチェーンと専用回路の第2のスキャンチェーンとにより、接続試験をすることが可能となる。   According to the semiconductor integrated circuit, the connection test can be performed by the first scan chain of the programmable input / output interface and the second scan chain of the dedicated circuit.

好ましくは、上記複数のスキャンセルのうち初段のスキャンセルは、上記複数のフリップフロップのうち最後段のフリップフロップの出力を受ける。   Preferably, the first-stage scan cell among the plurality of scan cells receives the output of the last-stage flip-flop among the plurality of flip-flops.

上記半導体集積回路によれば、専用回路とプログラマブル入出力インターフェイスとのスキャンチェーンを構成することができる。   According to the semiconductor integrated circuit, a scan chain of the dedicated circuit and the programmable input / output interface can be configured.

また、この発明によれば、上記半導体集積回路を検査する方法は、上記プログラマブル入出力インターフェイスを上記通常状態から上記テスト状態にするステップ(a)と、上記ステップ(a)においてテスト状態された上記プログラマブル入出力インターフェイスにテストデータをシフトインし、そのプログラマブル入出力インターフェスにテストデータをセットするステップ(b)と、上記プログラマブル入出力インターフェイスに上記ステップ(b)においてセットされたテストデータを出力させ、そのプログラマブル入出力インターフェイスに演算結果をキャプチャさせるステップ(c)と、上記プログラマブル入出力インターフェイスに上記ステップ(c)においてキャプチャしたテスト結果をシフトアウトさせるステップ(d)とを備える。   According to the present invention, the method for inspecting the semiconductor integrated circuit includes the step (a) of changing the programmable input / output interface from the normal state to the test state, and the test state in the step (a). Shifting test data into the programmable input / output interface, setting the test data in the programmable input / output interface (b), and causing the programmable input / output interface to output the test data set in step (b). (C) causing the programmable input / output interface to capture the operation result; and (d) shifting the test result captured in the step (c) to the programmable input / output interface. Equipped with a.

上記半導体集積回路の検査方法によれば、プログラマブルロジック回路をコンフィギュレーションすることなく、専用回路とプログラマブル入出力インターフェイスとの接続試験を実施することができる。   According to the semiconductor integrated circuit inspection method, the connection test between the dedicated circuit and the programmable input / output interface can be performed without configuring the programmable logic circuit.

以上のように、プログラマブルロジック回路をコンフィギュレーションすることなく、プログラマブル入出力インターフェイスと専用回路との接続試験を実施することが可能となり、試験時間の短縮と製造コストの削減を実現することができる。   As described above, the connection test between the programmable input / output interface and the dedicated circuit can be performed without configuring the programmable logic circuit, and the test time and the manufacturing cost can be reduced.

以下、この発明の実施の形態を図面を参照して詳しく説明する。なお、図中同一または相当部分には同一の符号を付しその説明は繰り返さない。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In the drawings, the same or corresponding parts are denoted by the same reference numerals, and description thereof will not be repeated.

(実施の形態1)
<構成>
図1は、本発明の実施の形態1による半導体集積回路(LSI)の構成を示す。LSI1は、特定用途向け専用回路(ASIC)11と、再構成可能部12と、クロック供給部13とを備える。なお、図1は、LSI1の構成の一例であり、LSI1が、ASIC11や再構成可能部12の他に、入出力セル,パッド,マイコン,DSP,メモリ等を備えていても良い。
(Embodiment 1)
<Configuration>
FIG. 1 shows a configuration of a semiconductor integrated circuit (LSI) according to the first embodiment of the present invention. The LSI 1 includes an application specific circuit (ASIC) 11, a reconfigurable unit 12, and a clock supply unit 13. FIG. 1 shows an example of the configuration of the LSI 1. The LSI 1 may include an input / output cell, a pad, a microcomputer, a DSP, a memory, and the like in addition to the ASIC 11 and the reconfigurable unit 12.

ASIC11は、特定用途向けに回路が構成されており、LSI1の外部からの信号を処理して再構成可能部12へ出力し、また、再構成可能部12からの信号を処理してLSI1の外部へ出力する。ASIC11は、複数の配線L11a,L11bを介して再構成可能部12に接続される。   The ASIC 11 is configured for a specific application, processes a signal from the outside of the LSI 1 and outputs the processed signal to the reconfigurable unit 12, and processes a signal from the reconfigurable unit 12 to output the LSI 1 to the outside. Output to. The ASIC 11 is connected to the reconfigurable unit 12 via a plurality of wirings L11a and L11b.

再構成可能部12は、プログラマブルロジック回路100と、プログラマブル入出力インターフェイス101,102と、コンフィギュレーションインターフェイス103とを含む。   The reconfigurable unit 12 includes a programmable logic circuit 100, programmable input / output interfaces 101 and 102, and a configuration interface 103.

プログラマブルロジック回路100は、コンフィギュレーション情報に応じて回路構成を変更できるものであり、複数のプログラマブルエレメント(PE)111と、プログラマブルエレメント(PE)111と配線L112とを切換可能に接続する複数のスイッチ(図示せず)とを含む。なお、プログラマブルエレメント(PE)111および配線L112は、コンフィギュレーション情報に基づいて、ファンクション動作や接続が決定されるものであれば良い。プログラマブルロジック回路100は、複数の配線L112を介して、プログラマブル入出力インターフェイス101,102,コンフィギュレーションインターフェイス103の各々に接続される。   The programmable logic circuit 100 can change a circuit configuration according to configuration information, and a plurality of switches that connect a plurality of programmable elements (PE) 111, a programmable element (PE) 111, and a wiring L112 in a switchable manner. (Not shown). Note that the programmable element (PE) 111 and the wiring L112 only need to have function operations and connections determined based on the configuration information. The programmable logic circuit 100 is connected to each of the programmable input / output interfaces 101 and 102 and the configuration interface 103 via a plurality of wirings L112.

コンフィギュレーション情報は、プログラマブルロジック回路100およびプログラマブル入出力インターフェイス101,102の各々についての所望の回路構成を示す情報である。コンフィギュレーション情報は、コンフィギュレーションインターフェイス103を介して設定される。なお、コンフィギュレーション情報は、同一シリコン上のどこに格納されても良い。   The configuration information is information indicating a desired circuit configuration for each of the programmable logic circuit 100 and the programmable input / output interfaces 101 and 102. Configuration information is set via the configuration interface 103. Note that the configuration information may be stored anywhere on the same silicon.

プログラマブル入出力インターフェイス101は、コンフィギュレーション情報に応じて回路構成を変更できるものであり、ASIC11からの信号をプログラマブルロジック回路100へ転送し、また、プログラマブルロジック回路100からの信号をASIC10へ転送する。プログラマブル入出力インターフェイス102は、LSI1の外部からの信号をプログラマブルロジック回路100へ転送し、また、プログラマブルロジック回路100からの信号をLSI1の外部へ転送する。なお、プログラマブル入出力インターフェイス101のように、プログラマブル入出力インターフェイス102が他のASICに接続されていても良い。   The programmable input / output interface 101 can change the circuit configuration in accordance with the configuration information, transfers a signal from the ASIC 11 to the programmable logic circuit 100, and transfers a signal from the programmable logic circuit 100 to the ASIC 10. The programmable input / output interface 102 transfers a signal from outside the LSI 1 to the programmable logic circuit 100 and transfers a signal from the programmable logic circuit 100 to the outside of the LSI 1. Note that, like the programmable input / output interface 101, the programmable input / output interface 102 may be connected to another ASIC.

クロック供給部13は、LSI1の外部からのクロックを受け、ASIC10,再構成可能部12の各々へクロックを供給する。プログラマブルロジック回路100では、配線L112を経由して、プログラマブルエレメント(PE)111の各々にクロックが供給される。   The clock supply unit 13 receives a clock from outside the LSI 1 and supplies the clock to each of the ASIC 10 and the reconfigurable unit 12. In the programmable logic circuit 100, a clock is supplied to each of the programmable elements (PE) 111 via the wiring L112.

また、プログラマブル入出力インターフェイス101は、テストモード信号MODE,スキャンシフト信号SHIFT,セレクタ信号SELECTを受け、これらの制御信号に応じて接続試験のためのスキャンチェーンを構成する。また、ASIC11は、複数のフリップフロップを含んでおり、これらのフリップフロップは、スキャンシフト信号SHIFTに応じてスキャンチェーンとして動作する。テストモード信号MODE,スキャンシフト信号SHIFT,セレクタ信号SELECTは、例えば、制御部(図示せず)から出力された制御信号であり、この制御部によって信号レベルが制御される。   The programmable input / output interface 101 receives a test mode signal MODE, a scan shift signal SHIFT, and a selector signal SELECT, and forms a scan chain for a connection test according to these control signals. The ASIC 11 includes a plurality of flip-flops, and these flip-flops operate as a scan chain according to the scan shift signal SHIFT. The test mode signal MODE, the scan shift signal SHIFT, and the selector signal SELECT are control signals output from a control unit (not shown), for example, and the signal level is controlled by the control unit.

<内部構成>
図2は、図1に示した専用回路11,プログラマブル入出力インターフェイス101の内部構成を示す。
<Internal configuration>
FIG. 2 shows an internal configuration of the dedicated circuit 11 and the programmable input / output interface 101 shown in FIG.

専用回路11は、複数のフリップフロップ201a〜201dと、論理回路202a,202bとを含む。フリップフロップ201a〜201dは、スキャンシフト信号SHIFTに応じてスキャンチェーンを構成し、初段のフリップフロップ201aは、スキャンイン信号SIN(テストデータ)を受け、最終段のフリップフロップ201dの出力は、スキャンアウト信号SOUT(テスト結果)として出力される。   The dedicated circuit 11 includes a plurality of flip-flops 201a to 201d and logic circuits 202a and 202b. The flip-flops 201a to 201d constitute a scan chain according to the scan shift signal SHIFT, the first flip-flop 201a receives the scan-in signal SIN (test data), and the output of the final flip-flop 201d is scanned out. It is output as a signal SOUT (test result).

プログラマブル入出力インターフェイス101は、直列に接続された入力セル301a,301bと、出力セル302a,302bとを含む。初段の入力セル301aは、スキャンイン信号SIN(テストデータ)を受ける。最終段の出力セル302bの出力は、スキャンアウト信号SOUT(テスト結果)として出力される。また、入力セル301a,301bの各々は、コンフィギュレーション情報に応じて、ASIC11からの信号をラッチするか、もしくは、ASIC11からの信号をラッチせずにそのまま転送する。出力セル302aも同様に、コンフィギュレーション情報に応じて、プログラマブルロジック回路100からの信号をラッチするか、もしくは、プログラマブルロジック回路100からの信号をラッチせずにそのまま転送する。   Programmable input / output interface 101 includes input cells 301a and 301b and output cells 302a and 302b connected in series. The first-stage input cell 301a receives a scan-in signal SIN (test data). The output of the output cell 302b at the final stage is output as a scan-out signal SOUT (test result). Each of the input cells 301a and 301b either latches the signal from the ASIC 11 or transfers the signal from the ASIC 11 as it is without latching according to the configuration information. Similarly, the output cell 302a latches the signal from the programmable logic circuit 100 or transfers the signal from the programmable logic circuit 100 as it is without latching according to the configuration information.

なお、入力セルと出力セルの接続順は、どのようなものであっても良い。また、プログラマブル入出力インターフェイス101のスキャンチェーンが、ASIC11のスキャンチェーンに接続されていても良い。すなわち、初段の入力セル301aが、スキャンイン信号SINに代えて、フリップフロップ201dの出力を受けるように構成しても良い。   Note that the connection order of the input cell and the output cell may be any. The scan chain of the programmable input / output interface 101 may be connected to the scan chain of the ASIC 11. That is, the first stage input cell 301a may receive the output of the flip-flop 201d instead of the scan-in signal SIN.

<入力セル>
図3は、図2に示した入力セル301aの内部構成を示す。入力セル301aは、制御端子401a〜401dと、OR回路402と、クロック入力端子403a,403bと、信号入力端子404a,404bと、セレクタ405a〜405cと、フリップフロップ406と、出力端子407,408とを含む。
<Input cell>
FIG. 3 shows an internal configuration of the input cell 301a shown in FIG. The input cell 301a includes control terminals 401a to 401d, an OR circuit 402, clock input terminals 403a and 403b, signal input terminals 404a and 404b, selectors 405a to 405c, a flip-flop 406, and output terminals 407 and 408. including.

制御端子401a〜401dは、それぞれ、テストモード信号MODE,スキャンシフト信号SHIFT,セレクタ信号SELECT,コンフィギュレーション情報Infoを受ける。OR回路402は、セレクタ信号SELECTとコンフィギュレーション情報Infoの論理和を出力する。クロック入力端子403a,403bは、それぞれ、クロック供給部13からのクロックCLKa(第1クロック),プログラマブルロジック回路100からのクロックCLKb(第2クロック)を受ける。信号入力端子404a(第1の信号入力端子)は、スキャンイン端子であり、テストデータ、または、前段に配置された入力セル(または出力セル)の出力を受ける。信号入力端子404b(第2の信号入力端子)は、ASIC11の出力を受ける。   The control terminals 401a to 401d receive a test mode signal MODE, a scan shift signal SHIFT, a selector signal SELECT, and configuration information Info, respectively. The OR circuit 402 outputs a logical sum of the selector signal SELECT and the configuration information Info. The clock input terminals 403a and 403b receive the clock CLKa (first clock) from the clock supply unit 13 and the clock CLKb (second clock) from the programmable logic circuit 100, respectively. The signal input terminal 404a (first signal input terminal) is a scan-in terminal and receives test data or an output of an input cell (or output cell) arranged in the previous stage. The signal input terminal 404b (second signal input terminal) receives the output of the ASIC 11.

セレクタ405a(第1のセレクタ)は、テストモード信号MODEが“1”であればクロック入力端子403aのクロックCLKaを選択し、テストモード信号MODEが“0”であればクロック入力端子403bのクロックCLKbを選択し、選択したクロックをクロックCLK1として供給する。セレクタ405b(第2のセレクタ)は、スキャンシフト信号SHIFTが“1”であれば信号入力端子404aの信号IN1a(スキャンイン)を選択し、スキャンシフト信号SHIFTが“0”であれば信号入力端子404bの信号IN1bを選択し、選択した信号を供給する。フリップフロップ406(第1の保持部)は、セレクタ405aからのクロックCLK1に同期して、セレクタ405bからの信号を保持する。   The selector 405a (first selector) selects the clock CLKa of the clock input terminal 403a if the test mode signal MODE is "1", and the clock CLKb of the clock input terminal 403b if the test mode signal MODE is "0". And the selected clock is supplied as the clock CLK1. The selector 405b (second selector) selects the signal IN1a (scan-in) of the signal input terminal 404a if the scan shift signal SHIFT is “1”, and the signal input terminal if the scan shift signal SHIFT is “0”. The signal IN1b 404b is selected and the selected signal is supplied. The flip-flop 406 (first holding unit) holds the signal from the selector 405b in synchronization with the clock CLK1 from the selector 405a.

セレクタ405c(第3のセレクタ)は、OR回路402の出力が“0”であればフリップフロップ406の出力Q1を選択し、OR回路402の出力が“1”であれば信号入力端子404bの信号IN1bを選択する。セレクタ405cの出力OUT1は、出力端子407を介してプログラマブルロジック回路100へ供給されるとともに,出力端子408にも供給される。出力端子408は、スキャンアウト端子であり、後段に配置された入力セル(または出力セル)の入力に接続されるか、もしくは、この出力端子408からテスト結果が順次取り出される。   The selector 405c (third selector) selects the output Q1 of the flip-flop 406 if the output of the OR circuit 402 is “0”, and the signal at the signal input terminal 404b if the output of the OR circuit 402 is “1”. Select IN1b. The output OUT1 of the selector 405c is supplied to the programmable logic circuit 100 via the output terminal 407 and also to the output terminal 408. The output terminal 408 is a scan-out terminal, and is connected to the input of an input cell (or output cell) arranged in the subsequent stage, or test results are sequentially taken out from the output terminal 408.

なお、コンフィギュレーション情報Infoは、入力セル301a内部だけでなく同一シリコン上にあるとしてもよい。また、入力セル301bも、入力セル301aと同様の構成である。   Note that the configuration information Info may be on the same silicon as the input cell 301a. The input cell 301b has the same configuration as the input cell 301a.

<出力セル>
図4は、図2に示した出力セル302aの内部構成を示す。出力セル302aは、制御端子501a〜501cと、OR回路502と、クロック入力端子503a,503bと、信号入力端子504a,504bと、セレクタ505a〜505cと、フリップフロップ506と、出力端子507,508とを含む。
<Output cell>
FIG. 4 shows an internal configuration of the output cell 302a shown in FIG. The output cell 302a includes control terminals 501a to 501c, an OR circuit 502, clock input terminals 503a and 503b, signal input terminals 504a and 504b, selectors 505a to 505c, a flip-flop 506, and output terminals 507 and 508. including.

制御端子501a,501b,501cは、それぞれ、テストモード信号MODE,セレクタ信号SELECT,コンフィギュレーション情報Infoを受ける。OR回路502は、セレクタ信号SELECTとコンフィギュレーション情報Infoとの論理和を出力する。クロック入力端子503a,503bは、それぞれ、クロック信号CLKa(クロック供給部13からのクロック),CLKb(プログラマブルロジック回路100からのクロック)を受ける。信号入力端子504a(第3の信号入力端子)は、スキャンイン端子であり、テストデータ、または、前段に配置された入力セル(または出力セル)の出力を受ける。信号入力端子504b(第4の信号入力端子)は、プログラマブルロジック回路100の出力を受ける。   The control terminals 501a, 501b, and 501c receive a test mode signal MODE, a selector signal SELECT, and configuration information Info, respectively. The OR circuit 502 outputs a logical sum of the selector signal SELECT and the configuration information Info. Clock input terminals 503a and 503b receive clock signals CLKa (clock from clock supply unit 13) and CLKb (clock from programmable logic circuit 100), respectively. The signal input terminal 504a (third signal input terminal) is a scan-in terminal, and receives test data or an output of an input cell (or output cell) arranged in the previous stage. The signal input terminal 504b (fourth signal input terminal) receives the output of the programmable logic circuit 100.

セレクタ505a(第4のセレクタ)は、テストモード信号MODEが“1”であればクロック入力端子503aのクロックCLKaを選択し、テストモード信号MODEが“0”であればクロック入力端子503bのクロックCLKbを選択し、選択したクロックをクロックCLK2として供給する。セレクタ505b(第5のセレクタ)は、テストモード信号MODEが“1”であれば信号入力端子504aの信号IN2a(スキャンイン)を選択し、テストモード信号MODEが“0”であれば信号入力端子504bの信号IN2bを選択し、選択した信号を供給する。フリップフロップ506(第2の保持部)は、セレクタ505aからのクロックCLK2に同期して、セレクタ505bからの信号を保持する。   The selector 505a (fourth selector) selects the clock CLKa of the clock input terminal 503a if the test mode signal MODE is "1", and the clock CLKb of the clock input terminal 503b if the test mode signal MODE is "0". And the selected clock is supplied as the clock CLK2. The selector 505b (fifth selector) selects the signal IN2a (scan-in) of the signal input terminal 504a if the test mode signal MODE is "1", and the signal input terminal if the test mode signal MODE is "0". The signal IN2b of 504b is selected and the selected signal is supplied. The flip-flop 506 (second holding unit) holds the signal from the selector 505b in synchronization with the clock CLK2 from the selector 505a.

セレクタ505c(第6のセレクタ)は、OR回路502の出力が“0”であればフリップフロップ506の出力Q1を選択し、OR回路502の出力が“1”であればセレクタ505bの出力を選択する。セレクタ505cの出力OUT2は、出力端子507を介してASIC11へ供給されるとともに,出力端子508にも供給される。出力端子508は、スキャンアウト端子であり、後段に配置された入力セル(または出力セル)の入力に接続されるか、もしくは、この出力端子508からテスト結果が順次取り出される。   The selector 505c (sixth selector) selects the output Q1 of the flip-flop 506 if the output of the OR circuit 502 is “0”, and selects the output of the selector 505b if the output of the OR circuit 502 is “1”. To do. The output OUT2 of the selector 505c is supplied to the ASIC 11 via the output terminal 507 and also to the output terminal 508. The output terminal 508 is a scan-out terminal, and is connected to the input of an input cell (or output cell) arranged in the subsequent stage, or test results are sequentially taken out from the output terminal 508.

なお、コンフィギュレーション情報Infoは、出力セル302a内部だけでなく同一シリコン上にあるとしてもよい。また、出力セル302bも、出力セル302aと同様の構成である。   Note that the configuration information Info may be on the same silicon as well as inside the output cell 302a. The output cell 302b has the same configuration as the output cell 302a.

<入力セルの動作>
次に、図5を参照しつつ、図3に示した入力セルによる動作について説明する。なお、ここでは、プログラマブルロジック回路100,プログラマブル入出力インターフェイス101はコンフィギュレーションされていないものとする。すなわち、プログラマブル入出力インターフェイス101では、入力セル,出力セルの各々に含まれるコンフィギュレーション情報は、“0”である。また、プログラマブルロジック回路100からのクロックCLKbは、初期状態ではコンフィギュレーションされていないため、“0”となっている。
<Operation of input cell>
Next, the operation of the input cell shown in FIG. 3 will be described with reference to FIG. Here, it is assumed that the programmable logic circuit 100 and the programmable input / output interface 101 are not configured. That is, in the programmable input / output interface 101, the configuration information included in each of the input cell and the output cell is “0”. The clock CLKb from the programmable logic circuit 100 is “0” because it is not configured in the initial state.

時刻t0(初期状態)において、接続試験を実施するために、テストモード信号MODEが“1”となり、フリップフロップ406のクロックCLK1として、クロックCLKaが選択される。また、スキャンシフト信号SHIFTが“1”となり、フリップフロップ406の入力として、信号IN1a(スキャンイン)が選択される。さらに、コンフィギュレーション情報Infoが“0”であり且つセレクタ信号SELECTが“0”となるので、出力OUT1(スキャンアウト)として、フリップフロップ406の出力Q1が選択される。   At time t0 (initial state), the test mode signal MODE becomes “1” to perform the connection test, and the clock CLKa is selected as the clock CLK1 of the flip-flop 406. Further, the scan shift signal SHIFT becomes “1”, and the signal IN 1 a (scan-in) is selected as the input of the flip-flop 406. Further, since the configuration information Info is “0” and the selector signal SELECT is “0”, the output Q1 of the flip-flop 406 is selected as the output OUT1 (scanout).

時刻t1において、フリップフロップ406は信号IN1a(スキャンイン)をラッチし、フリップフロップ406の出力Q1は“0”となり、信号OUT1は“0”となる。また、スキャンシフト信号SHIFTが“0”となり、フリップフロップ406の入力として、信号IN1b(ASIC11の出力)が選択される。   At time t1, the flip-flop 406 latches the signal IN1a (scan-in), the output Q1 of the flip-flop 406 becomes “0”, and the signal OUT1 becomes “0”. Further, the scan shift signal SHIFT becomes “0”, and the signal IN1b (output of the ASIC 11) is selected as the input of the flip-flop 406.

時刻t2において、フリップフロップ406は信号IN1b(ASIC11の出力)をラッチし、フリップフロップ406の出力Q1は“1”となり、出力OUT1は“1”となる。また、スキャンシフト信号SHIFTが“1”となり、フリップフロップ406の入力として、信号IN1a(スキャンイン)が選択される。   At time t2, the flip-flop 406 latches the signal IN1b (the output of the ASIC 11), the output Q1 of the flip-flop 406 becomes “1”, and the output OUT1 becomes “1”. Further, the scan shift signal SHIFT becomes “1”, and the signal IN 1 a (scan-in) is selected as the input of the flip-flop 406.

時刻t3において、フリップフロップ406は信号IN1a(スキャンイン)をラッチし、フリップフロップ406の出力Q1は“0”となり、出力OUT1は“0”となる。また、スキャンシフト信号SHIFTが“0”となり、フリップフロップ406の入力として、信号IN1b(ASIC11の出力)が選択される。   At time t3, the flip-flop 406 latches the signal IN1a (scan-in), the output Q1 of the flip-flop 406 becomes “0”, and the output OUT1 becomes “0”. Further, the scan shift signal SHIFT becomes “0”, and the signal IN1b (output of the ASIC 11) is selected as the input of the flip-flop 406.

時刻t4において、フリップフロップ406は信号IN1b(ASIC11の出力)をラッチし、フリップフロップ406の出力Q1は“0”となり、出力OUT1は“0”となる。また、スキャンシフト信号SHIFTが“1”となり、フリップフロップ406の入力として、信号IN1a(スキャンイン)が選択される。   At time t4, the flip-flop 406 latches the signal IN1b (the output of the ASIC 11), the output Q1 of the flip-flop 406 becomes “0”, and the output OUT1 becomes “0”. Further, the scan shift signal SHIFT becomes “1”, and the signal IN 1 a (scan-in) is selected as the input of the flip-flop 406.

時刻t5において、セレクタ信号SELECTが“1”となり、出力OUT1として、信号IN1b(ASIC11の出力)が選択される。よって、出力OUT1の値は、信号IN1bの値“0”となる。   At time t5, the selector signal SELECT becomes “1”, and the signal IN1b (output of the ASIC 11) is selected as the output OUT1. Therefore, the value of the output OUT1 is the value “0” of the signal IN1b.

このように、スキャンシフト信号SHIFTを“1”にすることにより、スキャンイン端子(信号入力端子404a)を介してフリップフロップ406の値を自由に設定できる。これにより、入力セルにテストデータを設定することができる。   Thus, by setting the scan shift signal SHIFT to “1”, the value of the flip-flop 406 can be freely set via the scan-in terminal (signal input terminal 404a). Thereby, test data can be set in the input cell.

また、セレクタ信号SELECTにより、フリップフロップ406もしくは信号入力端子404bの信号IN1bをスキャンアウト端子(出力端子408)に出力することができる。これにより、セレクタ405cとフリップフロップ406との接続試験、セレクタ405cと信号入力端子404bとの接続試験を実施することができる。   Further, the signal IN1b of the flip-flop 406 or the signal input terminal 404b can be output to the scan-out terminal (output terminal 408) by the selector signal SELECT. Accordingly, a connection test between the selector 405c and the flip-flop 406 and a connection test between the selector 405c and the signal input terminal 404b can be performed.

また、プログラマブル入出力インターフェイス101とASIC11との接続試験においては、スキャンアウト端子(出力端子408)からの信号をLSI外部で比較照合するため、出力端子408から出力される値は、どのようなものであっても良い。   Further, in the connection test between the programmable input / output interface 101 and the ASIC 11, since the signal from the scan-out terminal (output terminal 408) is compared and verified outside the LSI, what value is output from the output terminal 408? It may be.

また、テストモード信号MODEを“1”にすることにより、クロック供給部13からのクロックCLKaが選択されるため、プログラマブルロジック回路100からのクロックCLKbは必要なくなる。   Further, by setting the test mode signal MODE to “1”, the clock CLKa from the clock supply unit 13 is selected, so that the clock CLKb from the programmable logic circuit 100 is not necessary.

なお、コンフィギュレーション情報Infoは、接続試験においては初期状態のままでよく、アプリケーション処理の際にASIC11の出力をフリップフロップ406にラッチさせるか否かに応じて、コンフィギュレーション情報Infoを書き換えればよい。つまり、フリップフロップ406は、接続試験およびアプリケーションで共有することができる。   Note that the configuration information Info may remain in the initial state in the connection test, and the configuration information Info may be rewritten depending on whether or not the output of the ASIC 11 is latched by the flip-flop 406 during application processing. That is, the flip-flop 406 can be shared by connection tests and applications.

<出力セルの動作>
次に、図6を参照しつつ、図4に示した出力セル302の動作について説明する。入力セルと同様に、出力セル302に含まれるコンフィギュレーション情報は、“0”であり、プログラマブルロジック回路100からのクロックCLKbは、“0”となっている。
<Operation of output cell>
Next, the operation of the output cell 302 shown in FIG. 4 will be described with reference to FIG. Like the input cell, the configuration information included in the output cell 302 is “0”, and the clock CLKb from the programmable logic circuit 100 is “0”.

時刻t0(初期状態)において、接続試験を実施するために、テストモード信号MODEが“1”となり、フリップフロップ506のクロックCLK2として、クロックCLKaが選択され、フリップフロップ506の入力として、信号IN2a(スキャンイン)が選択される。また、コンフィギュレーション情報Infoが“0”であり且つセレクタ信号SELECTが“0”となるので、出力OUT2(スキャンアウト)として、フリップフロップ406の出力Q2が選択される。また、信号IN2a(スキャンイン)が“0”となる。   At time t0 (initial state), in order to perform the connection test, the test mode signal MODE becomes “1”, the clock CLKa is selected as the clock CLK2 of the flip-flop 506, and the signal IN2a ( Scan in) is selected. Since the configuration information Info is “0” and the selector signal SELECT is “0”, the output Q2 of the flip-flop 406 is selected as the output OUT2 (scanout). Further, the signal IN2a (scan-in) becomes “0”.

時刻t1において、フリップフロップ506は信号IN2a(スキャンイン)をラッチし、フリップフロップ506の出力Q2は“0”となり、信号OUT2は“0”となる。   At time t1, the flip-flop 506 latches the signal IN2a (scan-in), the output Q2 of the flip-flop 506 becomes “0”, and the signal OUT2 becomes “0”.

時刻t2において、フリップフロップ506は信号IN2a(スキャンイン)をラッチし、フリップフロップ506の出力Q2は“1”となり、信号OUT2は“1”となる
時刻t3において、セレクタ信号SELECTが“1”になり、出力OUT2(スキャンアウト)として、セレクタ505bの出力が選択される。そのため、出力OUT2の値は、信号IN2aの値“1”となる。
At time t2, the flip-flop 506 latches the signal IN2a (scan-in), the output Q2 of the flip-flop 506 becomes “1”, and the signal OUT2 becomes “1”. At time t3, the selector signal SELECT becomes “1”. Therefore, the output of the selector 505b is selected as the output OUT2 (scanout). Therefore, the value of the output OUT2 becomes the value “1” of the signal IN2a.

時刻t4においても、時刻t3と同様に、出力OUT2(スキャンアウト)としてセレクタ505bの出力が選択されているので、出力OUT2の値は、信号IN2aの値“0”となる。   At time t4 as well as at time t3, since the output of the selector 505b is selected as the output OUT2 (scanout), the value of the output OUT2 becomes the value “0” of the signal IN2a.

このように、テストモード信号MODEを“1”にすることにより、フリップフロップ506の入力を、必ず、信号入力端子504aの信号(スキャンイン)をラッチすることができる。これにより、プログラマブルロジック回路100の出力は必要なくなる。   Thus, by setting the test mode signal MODE to “1”, it is possible to always latch the input of the flip-flop 506 and the signal (scan-in) of the signal input terminal 504a. Thereby, the output of the programmable logic circuit 100 becomes unnecessary.

また、セレクタ信号SELECTにより、フリップフロップ506の出力もしくは信号入力端子504aの信号(スキャンイン)を出力端子507,508に出力することができる。これにより、セレクタ505cとフリップフロップ506との接続試験、セレクタ505cとセレクタ505bとの接続試験を実施することができる。   In addition, the output of the flip-flop 506 or the signal (scan-in) of the signal input terminal 504a can be output to the output terminals 507 and 508 by the selector signal SELECT. Accordingly, a connection test between the selector 505c and the flip-flop 506 and a connection test between the selector 505c and the selector 505b can be performed.

また、テストモード信号MODEを“1”にすることにより、クロック供給部13からのクロックCLKaが選択されるため、プログラマブルロジック回路100からのクロックCLKbは必要なくなる。   Further, by setting the test mode signal MODE to “1”, the clock CLKa from the clock supply unit 13 is selected, so that the clock CLKb from the programmable logic circuit 100 is not necessary.

なお、コンフィギュレーション情報Infoは、接続試験においては初期状態のままでよく、アプリケーション処理の際にプログラマブルロジック回路100の出力をフリップフロップ506にラッチさせるか否かに応じて、コンフィギュレーション情報Infoを書き換えればよい。つまり、フリップフロップ506は、接続試験およびアプリケーションで共有することができる。   Note that the configuration information Info may remain in the initial state in the connection test, and the configuration information Info can be rewritten depending on whether or not the output of the programmable logic circuit 100 is latched by the flip-flop 506 during application processing. That's fine. That is, the flip-flop 506 can be shared by connection tests and applications.

<検査方法>
次に、図7を参照しつつ、図2に示したASIC11とプログラマブルロジック回路100との接続試験の手順について説明する。なお、ここでは、初期状態において、テストモード信号MODE,スキャンシフト信号SHIFT,セレクタ信号SELECTは、いずれも“0”であるものとする。
<Inspection method>
Next, the procedure of the connection test between the ASIC 11 and the programmable logic circuit 100 shown in FIG. 2 will be described with reference to FIG. Here, in the initial state, the test mode signal MODE, the scan shift signal SHIFT, and the selector signal SELECT are all “0”.

〔ステップST101〕
まず、接続試験を実施するために、テストモード信号MODEを“0”から“1”にする。これにより、プログラマブル入出力インターフェイス101では、入力セル301a,301bおよび出力セル302a,302bの各々において、クロック供給部13からのクロックCLKaが動作クロックとして選択される。また、出力セル302aでは、プログラマブルロジック回路100の出力ではなく、前段の入力セル301bの出力がその出力セル302aの入力として選択される(すなわち、出力セル302aの入力として、スキャンインが選択される)。出力セル302bについても同様である。
[Step ST101]
First, in order to perform a connection test, the test mode signal MODE is changed from “0” to “1”. Thereby, in the programmable input / output interface 101, the clock CLKa from the clock supply unit 13 is selected as the operation clock in each of the input cells 301a and 301b and the output cells 302a and 302b. In the output cell 302a, not the output of the programmable logic circuit 100 but the output of the previous input cell 301b is selected as the input of the output cell 302a (that is, scan-in is selected as the input of the output cell 302a). ). The same applies to the output cell 302b.

〔ステップST102〕
また、スキャンシフト信号SHIFTを“0”から“1”にする。これにより、入力セル301a,301bの各々では、その入力セルの入力として、スキャンインが選択される。また、ASIC11でも同様に、フリップフロップ201a〜201dの各々では、そのフリップフロップの入力として、スキャンイン(前段のフリップフロップの出力)が選択される。このように、プログラマブル入出力インターフェイス101,ASIC11の各々において、スキャンチェーンが構築される。
[Step ST102]
Further, the scan shift signal SHIFT is changed from “0” to “1”. Thereby, in each of the input cells 301a and 301b, scan-in is selected as the input of the input cell. Similarly, in the ASIC 11, in each of the flip-flops 201a to 201d, scan-in (output of the preceding flip-flop) is selected as the input of the flip-flop. Thus, a scan chain is constructed in each of the programmable input / output interface 101 and the ASIC 11.

〔ステップST103〕
次に、入力セル301aの信号入力端子404aにテストデータをシフトインする。これにより、入力セル301a,301bおよび出力セル302a,302bにテストデータが設定される。同様に、フリップフロップ201aにもテストデータがシフトインされ、フリップフロップ201a〜201dにテストデータが設定される。
[Step ST103]
Next, the test data is shifted into the signal input terminal 404a of the input cell 301a. Accordingly, test data is set in the input cells 301a and 301b and the output cells 302a and 302b. Similarly, the test data is shifted in the flip-flop 201a, and the test data is set in the flip-flops 201a to 201d.

〔ステップST104〕
次に、スキャンシフト信号SHIFTを“1”から“0”にする。
[Step ST104]
Next, the scan shift signal SHIFT is changed from “1” to “0”.

〔ステップST105〕
次に、セレクタ信号SELECTを“0”または“1”にする。これにより、ASIC11とプログラマブル入出力インターフェイス101との間で所定の演算が実行された後、入力セル301a,301bおよび出力セル302a,302bはテスト結果をキャプチャする。また、フリップフロップ201a〜201dも、テスト結果をキャプチャする。
[Step ST105]
Next, the selector signal SELECT is set to “0” or “1”. Thus, after a predetermined operation is executed between the ASIC 11 and the programmable input / output interface 101, the input cells 301a and 301b and the output cells 302a and 302b capture the test results. The flip-flops 201a to 201d also capture test results.

〔ステップST106〕
次に、スキャンシフト信号SHIFTを“0”から“1”にする。これにより、入力セル301a,301bおよび出力セル302a,302bは再びスキャンチェーンを構成し、出力セル302bの出力端子408からテスト結果がシフトアウトされる。同様に、フリップフロップ201a〜201dもスキャンチェーンを構成し、フリップフロップ201dからテスト結果がシフトアウトされる。このようにして、テスト結果を取得することができる。テストを繰り返す場合は、ステップST101,ST102の処理を実行した後、ステップST103にて次のテストデータをシフトインすれば良い。スキャンテストが終了したら、パスもしくはフェイルの判定を行う。
[Step ST106]
Next, the scan shift signal SHIFT is changed from “0” to “1”. Thus, the input cells 301a and 301b and the output cells 302a and 302b again form a scan chain, and the test result is shifted out from the output terminal 408 of the output cell 302b. Similarly, the flip-flops 201a to 201d also constitute a scan chain, and the test result is shifted out of the flip-flop 201d. In this way, the test result can be obtained. When the test is repeated, after the processing of steps ST101 and ST102 is executed, the next test data may be shifted in at step ST103. When the scan test is completed, pass or fail is determined.

<効果>
以上のように、本実施形態によれば、プログラマブル入出力インターフェイスやプログラマブルロジック回路を所定の状態にコンフィギュレーションするためにコンフィギュレーション情報を設定する必要がなく、制御信号(テストモード信号,スキャンシフト信号,およびセレクタ信号)のみでプログラマブル入出力インターフェイスを制御することが可能となる。そのため、プログラマブルロジック回路をコンフィギュレーションすることなく、プログラマブル入出力インターフェイスとASICとの接続試験を実施することができる。
<Effect>
As described above, according to the present embodiment, there is no need to set configuration information in order to configure a programmable input / output interface or a programmable logic circuit to a predetermined state, and control signals (test mode signal, scan shift signal) , And selector signal) can be used to control the programmable input / output interface. Therefore, the connection test between the programmable input / output interface and the ASIC can be performed without configuring the programmable logic circuit.

また、ATPG(Auto Pattern Generator)ツールにより容易にASICとプログラマブル入出力インターフェイスとの接続テストのパターンを生成することが可能となる。これにより、コンフィギュレーションを省略することが可能となり、テスト時間を短縮できる。   In addition, it is possible to easily generate a connection test pattern between the ASIC and the programmable input / output interface by using an ATPG (Auto Pattern Generator) tool. Thereby, the configuration can be omitted, and the test time can be shortened.

また、入力セルおよび出力セルのフリップフロップはアプリケーションおよび接続試験で共有化することが可能であるため、接続試験のために新たな回路を追加する必要がなく、面積を最小にすることができる。結果として、製造コストを下げるという効果をもたらす。   In addition, since the flip-flops of the input cell and the output cell can be shared in the application and the connection test, it is not necessary to add a new circuit for the connection test, and the area can be minimized. As a result, it brings about the effect of reducing the manufacturing cost.

なお、プログラマブル入出力インターフェイスの入力セル,出力セルの各々に与えられるセレクト信号は、全て同一の信号レベルであっても良いし、別々であっても良い。   Note that the select signals given to the input cells and the output cells of the programmable input / output interface may all have the same signal level or may be different.

以上説明したように、本発明は、プログラマブルロジック回路のコンフィギュレーションすることなくスキャンテストを実施することが可能であるので、専用回路とプログラマブルロジック回路とを搭載する半導体集積回路およびその試験方法等として有用である。   As described above, since the present invention can perform a scan test without configuring a programmable logic circuit, a semiconductor integrated circuit on which a dedicated circuit and a programmable logic circuit are mounted, a test method thereof, and the like Useful.

この発明の実施形態による半導体集積回路の構成を示すブロック図である。1 is a block diagram showing a configuration of a semiconductor integrated circuit according to an embodiment of the present invention. 図1に示したASICおよびプログラマブル入出力インターフェイスの構成を示す図である。It is a figure which shows the structure of ASIC and programmable input / output interface which were shown in FIG. 図2に示した入力セルの構成を示す図である。FIG. 3 is a diagram illustrating a configuration of an input cell illustrated in FIG. 2. 図2に示した出力セルの構成を示す図である。It is a figure which shows the structure of the output cell shown in FIG. 図3に示した入力セルによる動作について説明するためのタイミングチャートである。FIG. 4 is a timing chart for explaining the operation by the input cell shown in FIG. 3. FIG. 図4に示した出力セルによる動作について説明するためのタイミングチャートである。5 is a timing chart for explaining an operation by the output cell shown in FIG. 4. 図2に示したASICとプログラマブルロジック回路との接続試験方法について説明するためのフローチャートである。3 is a flowchart for explaining a connection test method between the ASIC and the programmable logic circuit shown in FIG. 2.

符号の説明Explanation of symbols

1 半導体集積回路(LSI)
11 特定用途向き専用回路(ASIC)
12 再構成可能部
13 クロック供給部
L11a,L11b 配線
100 プログラマブルロジック回路
101,102 プログラマブル入出力インターフェイス
103 コンフィギュレーションインターフェイス
111 プログラマブルエレメント(PE)
L112 配線
201a〜201d フリップフロップ
202a,202b 論理回路
301a,301b 入力セル
302a,302b 出力セル
401a〜401d,501a〜501c 制御端子
402,502 OR回路
403a,403b,503a,503b クロック入力端子
404a,404b,504a,504b 信号入力端子
405a〜405c,505a〜505c セレクタ
406,506 フリップフロップ
407,408,507,508 出力端子
1 Semiconductor integrated circuit (LSI)
11 Application-specific dedicated circuit (ASIC)
12 reconfigurable unit 13 clock supply unit L11a, L11b wiring 100 programmable logic circuit 101, 102 programmable input / output interface 103 configuration interface 111 programmable element (PE)
L112 wiring 201a-201d flip-flops 202a, 202b logic circuits 301a, 301b input cells 302a, 302b output cells 401a-401d, 501a-501c control terminals 402, 502 OR circuits 403a, 403b, 503a, 503b clock input terminals 404a, 404b, 504a, 504b Signal input terminals 405a-405c, 505a-505c Selector 406, 506 Flip-flops 407, 408, 507, 508 Output terminals

Claims (8)

所定用途向けに回路構成された専用回路と、
コンフィギュレーション情報に応じて回路構成を変更可能であるプログラマブルロジック回路と、
前記専用回路と前記プログラマブルロジック回路との間に介在し、前記専用回路と前記プログラマブルロジック回路との間で信号を転送する通常状態と前記専用回路との接続試験を実行するテスト状態とを有するプログラマブル入出力インターフェイスとを備え、
前記プログラマブル入出力インタ−フェイスは、前記通常状態である場合には、前記コンフィギュレーション情報に応じた回路構成になり、前記テスト状態である場合には、外部からの制御信号に応じて第1のスキャンチェーンを構成する
ことを特徴とする半導体集積回路。
A dedicated circuit configured for a given application;
A programmable logic circuit whose circuit configuration can be changed according to configuration information;
Programmable intervening between the dedicated circuit and the programmable logic circuit, and having a normal state for transferring a signal between the dedicated circuit and the programmable logic circuit and a test state for executing a connection test between the dedicated circuit and the dedicated circuit I / O interface and
When the programmable input / output interface is in the normal state, the programmable input / output interface has a circuit configuration according to the configuration information. When the programmable input / output interface is in the test state, the programmable input / output interface has a first configuration in accordance with an external control signal. A semiconductor integrated circuit comprising a scan chain.
請求項1において、
第1クロックを供給するクロック供給部をさらに備え、
前記プログラマブルロジック回路は、前記クロック供給部からの第1クロックを受け、
前記プログラマブル入出力インターフェイスは、前記クロック供給部からの第1クロックと前記プログラマブルロジック回路の第2クロックとを受け、前記通常状態である場合には、当該第2クロックを動作クロックとして選択し、前記テスト状態である場合には、当該第1クロックを動作クロックとして選択する
ことを特徴とする半導体集積回路。
In claim 1,
A clock supply unit for supplying a first clock;
The programmable logic circuit receives a first clock from the clock supply unit,
The programmable input / output interface receives a first clock from the clock supply unit and a second clock of the programmable logic circuit, and in the normal state, selects the second clock as an operation clock, A semiconductor integrated circuit, wherein the first clock is selected as an operation clock in a test state.
請求項2において、
前記プログラマブル入出力インターフェイスは、
直列に接続され且つ前記制御信号がそれぞれに与えられる複数のスキャンセルを含み、
前記複数のスキャンセルの各々は、前記通常状態である場合には、前記専用回路と前記プログラマブルロジック回路との間で信号を転送し、前記テスト状態である場合には、前記制御信号に応じて前記第1のスキャンチェーンの一部として動作する
ことを特徴とする半導体集積回路。
In claim 2,
The programmable input / output interface is
A plurality of scan cells connected in series and each of which is provided with the control signal;
Each of the plurality of scan cells transfers a signal between the dedicated circuit and the programmable logic circuit when in the normal state, and according to the control signal when in the test state. A semiconductor integrated circuit which operates as a part of the first scan chain.
請求項3において、
前記複数のスキャンセルのうち少なくとも1個は、前記通常状態において前記専用回路からの信号を前記プログラマブルロジック回路へ転送するための入力セルであり、
前記制御信号は、
テストモード信号と、スキャンシフト信号と、セレクタ信号とを含み、
前記入力セルは、
前記クロック供給部からの第1クロックを受ける第1のクロック入力端子と、
前記プログラマブルロジック回路からの第2クロックを受ける第2のクロック入力端子と、
当該入力セルの前段に配置されたスキャンセルからの信号またはテストデータを受ける第1の信号入力端子と、
前記専用回路からの信号を受ける第2の信号入力端子と、
前記テストモード信号に応じて前記第1および第2のクロック入力端子のうちいずれか一方に与えられるクロックを選択する第1のセレクタと、
前記スキャンシフト信号に応じて前記第1および第2の信号入力端子のうちいずれか一方に与えられる信号を選択する第2のセレクタと、
前記第1のセレクタによって選択されたクロックに同期して前記第2のセレクタによって選択された信号を保持する第1の保持部と、
前記セレクタ信号と前記コンフィギュレーション情報とに応じて前記第1の保持部からの信号および前記第2の信号入力端子に与えられた信号のうちいずれか一方を選択し、その信号を当該入力セルの出力として出力する第3のセレクタとを含む
ことを特徴とする半導体集積回路。
In claim 3,
At least one of the plurality of scan cells is an input cell for transferring a signal from the dedicated circuit to the programmable logic circuit in the normal state,
The control signal is
Including a test mode signal, a scan shift signal, and a selector signal;
The input cell is
A first clock input terminal for receiving a first clock from the clock supply unit;
A second clock input terminal for receiving a second clock from the programmable logic circuit;
A first signal input terminal for receiving a signal or test data from a scan cell arranged in a preceding stage of the input cell;
A second signal input terminal for receiving a signal from the dedicated circuit;
A first selector that selects a clock applied to one of the first and second clock input terminals in response to the test mode signal;
A second selector that selects a signal applied to one of the first and second signal input terminals according to the scan shift signal;
A first holding unit for holding a signal selected by the second selector in synchronization with a clock selected by the first selector;
According to the selector signal and the configuration information, one of the signal from the first holding unit and the signal given to the second signal input terminal is selected, and the signal is input to the input cell. A semiconductor integrated circuit comprising: a third selector that outputs as an output.
請求項3または請求項4において、
前記複数のスキャンセルのうち少なくとも1個は、前記通常状態において前記プログラマブルロジック回路からの信号を前記専用回路へ転送するための出力セルであり、
前記出力セルは、
前記クロック供給部からの第1クロックを受ける第3のクロック入力端子と、
前記プログラマブルロジック回路からの第2クロックを受ける第4のクロック入力端子と、
当該出力セルの前段に配置されたスキャンセルからの信号またはテストデータを受ける第3の信号入力端子と、
前記プログラマブルロジック回路からの信号を受ける第4の信号入力端子と、
前記制御信号に含まれるテストモード信号に応じて前記第3および第4のクロック入力端子のうちいずれか一方に与えられるクロックを選択する第4のセレクタと、
前記テストモード信号に応じて前記第3および第4の信号入力端子のうちいずれか一方に与えられる信号を選択する第5のセレクタと、
前記第4のセレクタによって選択されたクロックに同期して前記第5のセレクタによって選択された信号を保持する第2の保持部と、
前記セレクタ信号と前記コンフィギュレーション情報とに応じて前記第2の保持部からの信号および前記第5のセレクタによって選択された信号のうちいずれか一方を選択し、その信号を当該出力セルの出力として出力する第6のセレクタとを含む
ことを特徴とする半導体集積回路。
In claim 3 or claim 4,
At least one of the plurality of scan cells is an output cell for transferring a signal from the programmable logic circuit to the dedicated circuit in the normal state,
The output cell is
A third clock input terminal for receiving a first clock from the clock supply unit;
A fourth clock input terminal for receiving a second clock from the programmable logic circuit;
A third signal input terminal for receiving a signal or test data from a scan cell arranged in the preceding stage of the output cell;
A fourth signal input terminal for receiving a signal from the programmable logic circuit;
A fourth selector that selects a clock applied to one of the third and fourth clock input terminals according to a test mode signal included in the control signal;
A fifth selector for selecting a signal applied to one of the third and fourth signal input terminals according to the test mode signal;
A second holding unit that holds the signal selected by the fifth selector in synchronization with the clock selected by the fourth selector;
According to the selector signal and the configuration information, one of the signal from the second holding unit and the signal selected by the fifth selector is selected, and the signal is used as the output of the output cell. A semiconductor integrated circuit comprising: a sixth selector for outputting.
請求項3〜請求項5のいずれか1項において、
前記専用回路は、
直列に配置され前記制御信号に応じて第2のスキャンチェーンを構成する複数のフリップフロップと、
前記複数のフリップフロップからなる第2のスキャンチェーンと前記複数のスキャンセルとの間に挟まれた論理回路とを含む
ことを特徴とする半導体集積回路。
In any one of Claims 3-5,
The dedicated circuit is
A plurality of flip-flops arranged in series and constituting a second scan chain in response to the control signal;
A semiconductor integrated circuit comprising: a second scan chain composed of the plurality of flip-flops; and a logic circuit sandwiched between the plurality of scan cells.
請求項6において、
前記複数のスキャンセルのうち初段のスキャンセルは、前記複数のフリップフロップのうち最後段のフリップフロップの出力を受ける
ことを特徴とする半導体集積回路。
In claim 6,
The first stage scan cell among the plurality of scan cells receives the output of the last stage flip-flop among the plurality of flip-flops.
請求項1に記載の半導体集積回路を検査する方法であって、
前記プログラマブル入出力インターフェイスを前記通常状態から前記テスト状態にするステップ(a)と、
前記ステップ(a)においてテスト状態された前記プログラマブル入出力インターフェイスにテストデータをシフトインし、当該プログラマブル入出力インターフェスにテストデータをセットするステップ(b)と、
前記プログラマブル入出力インターフェイスに前記ステップ(b)においてセットされたテストデータを出力させ、当該プログラマブル入出力インターフェイスに演算結果をキャプチャさせるステップ(c)と、
前記プログラマブル入出力インターフェイスに前記ステップ(c)においてキャプチャしたテスト結果をシフトアウトさせるステップ(d)とを備える
ことを特徴とする半導体集積回路の検査方法。
A method for inspecting a semiconductor integrated circuit according to claim 1, comprising:
Changing the programmable input / output interface from the normal state to the test state;
(B) shifting test data into the programmable input / output interface tested in step (a) and setting the test data in the programmable input / output interface;
(C) causing the programmable input / output interface to output the test data set in step (b), and causing the programmable input / output interface to capture a calculation result;
And (d) shifting the test result captured in the step (c) to the programmable input / output interface.
JP2007065510A 2007-03-14 2007-03-14 Semiconductor integrated circuit and its inspection method Pending JP2008224535A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007065510A JP2008224535A (en) 2007-03-14 2007-03-14 Semiconductor integrated circuit and its inspection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007065510A JP2008224535A (en) 2007-03-14 2007-03-14 Semiconductor integrated circuit and its inspection method

Publications (1)

Publication Number Publication Date
JP2008224535A true JP2008224535A (en) 2008-09-25

Family

ID=39843333

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007065510A Pending JP2008224535A (en) 2007-03-14 2007-03-14 Semiconductor integrated circuit and its inspection method

Country Status (1)

Country Link
JP (1) JP2008224535A (en)

Similar Documents

Publication Publication Date Title
US8108744B2 (en) Locally synchronous shared BIST architecture for testing embedded memories with asynchronous interfaces
JP4802139B2 (en) Semiconductor integrated circuit module
US5809039A (en) Semiconductor integrated circuit device with diagnosis function
US20110060952A1 (en) Semiconductor integrated circuit
US20110175638A1 (en) Semiconductor integrated circuit and core test circuit
US7380183B2 (en) Semiconductor circuit apparatus and scan test method for semiconductor circuit
JP2000009799A (en) Semiconductor device
JP4693526B2 (en) Semiconductor integrated circuit and test method for semiconductor integrated circuit
JP2007205933A (en) Semiconductor integrated circuit
JP2010223672A (en) Scan test circuit
JP2001267511A (en) Semiconductor integrated circuit
US6591388B1 (en) High speed sink/source register to reduce level sensitive scan design test time
JP6832787B2 (en) Semiconductor devices and semiconductor device test methods
JP2006234512A (en) Semiconductor integrated circuit and method of testing semiconductor integrated circuit
JP2003121497A (en) Scan path circuit for logic circuit test and integrated circuit device provided with it
JPH10197603A (en) Semiconductor integrated circuit and inspection method therefor
JP2006058273A (en) Semiconductor integrated circuit
JP4610919B2 (en) Semiconductor integrated circuit device
JP2008224535A (en) Semiconductor integrated circuit and its inspection method
EP1367404A2 (en) Scan-path flip-flop circuit for integrated circuit memory
JP2005024410A (en) Semiconductor integrated circuit device
JP2004004047A (en) Input/output characterization chain for integrated circuit
US20050289421A1 (en) Semiconductor chip
JP5796404B2 (en) Semiconductor circuit and test method
JP3983356B2 (en) Accelerated scanning test by reusing response data as stimulus data