JP3691144B2 - Scan campus configuration circuit - Google Patents

Scan campus configuration circuit Download PDF

Info

Publication number
JP3691144B2
JP3691144B2 JP33212395A JP33212395A JP3691144B2 JP 3691144 B2 JP3691144 B2 JP 3691144B2 JP 33212395 A JP33212395 A JP 33212395A JP 33212395 A JP33212395 A JP 33212395A JP 3691144 B2 JP3691144 B2 JP 3691144B2
Authority
JP
Japan
Prior art keywords
circuit
control
terminal
input
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.)
Expired - Fee Related
Application number
JP33212395A
Other languages
Japanese (ja)
Other versions
JPH09171054A (en
Inventor
▲徳▼哉 大澤
秀史 前野
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.)
Renesas Technology Corp
Original Assignee
Renesas Technology Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Renesas Technology Corp filed Critical Renesas Technology Corp
Priority to JP33212395A priority Critical patent/JP3691144B2/en
Priority to TW085105949A priority patent/TW301713B/en
Priority to US08/653,471 priority patent/US5903579A/en
Priority to DE19633700A priority patent/DE19633700A1/en
Priority to CNB961115319A priority patent/CN1138279C/en
Priority to KR1019960035056A priority patent/KR100201041B1/en
Publication of JPH09171054A publication Critical patent/JPH09171054A/en
Application granted granted Critical
Publication of JP3691144B2 publication Critical patent/JP3691144B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/317Testing of digital circuits
    • G01R31/3181Functional testing
    • G01R31/3185Reconfiguring for testing, e.g. LSSD, partitioning
    • G01R31/318533Reconfiguring for testing, e.g. LSSD, partitioning using scanning techniques, e.g. LSSD, Boundary Scan, JTAG
    • G01R31/318541Scan latches or cell details

Description

【0001】
【発明の属する技術分野】
本発明は試験回路に関するものであり、詳しくは半導体装置に備えられる論理回路を試験するために論理回路周辺に設けられるスキャンパスを構成する、スキャンパス構成回路に関する。
【0002】
【従来の技術】
従来から、半導体装置に備えられる論理回路の動作試験のために、試験容易化回路を設けるという設計が半導体装置に施されてきた。
【0003】
試験容易化設計によるスキャンテストについての説明を行う前に、まず論理回路であるデータ回路及びデータ回路の入出力動作について図30を用いて説明を行う。
【0004】
図30はデータ回路1及びデータ回路1のデータの入出力を行う回路を示す回路図である。
【0005】
以下、本明細書中においては、データまたは信号及び端子を表す英字の参照符を兼用するものとする。例えば、IN[0]は入力データを表すこともあればデータ入力端子を表すこともある。
【0006】
まずデータ回路1について説明する。データ回路1は入力端子DI[0]〜[3]及び出力端子DO[0]〜[3]を備える。データ回路1は入力端子DI[0]〜[3]に与えられる入力データDI[0]〜[3]に対して固有の出力データDO[0]〜[3]を出力端子DO[0]〜[3]から出力する回路である。データ回路1として組み合わせ回路またはRAM(Random Access Memory)のような記憶回路を挙げることができる。データ入力端子IN[0]〜[3]は入力端子DI[0]〜[3]に、データ出力端子OUT[0]〜[3]は出力端子DO[0]〜[3]に、後述のセレクタ102[0]〜[3]及びフリップフロップ4[0]〜[3]を介してそれぞれ接続される。ここで、データあるいは端子に付加されている[番号]はデータのビット番号を表す。上述のように、端子に入力されるデータあるいは端子から出力されるデータはそれぞれビット番号によって対応づけられている。従って、データあるいは端子等を総称するとき、またはビット番号による違いを考慮しなくても良いときには、ビット番号を以後省略する。ビット番号が省略されるときにも、それぞれのデータはそれぞれのビット番号の端子に対応する。
【0007】
次にデータの入出力に関する回路について説明を行う。データ回路1の入力端子DIとデータ入力端子INとの間に、また出力端子DOとデータ出力端子OUTとの間には入力あるいは出力データを保持するためにセレクタ102とフリップフロップ4がそれぞれ挿入される。全てのセレクタ102は保持端子HLD0から入力される保持制御信号HLD0によって同時に制御される。フリップフロップ4はDフリップフロップあるいはDフリップフロップと同様の働きを有するフリップフロップである。セレクタ102とフリップフロップ4の働きはどのビット番号においても同様であり、入力側と出力側でその働きは変わらない。よって入力側のセレクタ102とフリップフロップ4について以下に説明を行うが、出力側についても入力側と同様である。
【0008】
接続の状態について説明する。セレクタ102は二つのデータ入力端子を備える。一方は保持制御信号HLD0が“0”のときに選択され接続されるデータ入力0端子であり、他方は保持制御信号HLD0が“1”のときに選択され接続されるデータ入力1端子である。データ入力0端子にはデータ入力端子INが接続され、データ入力1端子にはフリップフロップ4の出力端子が接続される。セレクタ102の出力端子はフリップフロップ4の入力端子に接続される。フリップフロップ4の出力端子は入力端子DI及び前述のようにセレクタ102のデータ入力1端子に共通に接続される。
【0009】
上述の接続状態における回路動作について説明する。保持制御信号HLD0が“0”のとき、セレクタ102のデータ入力0端子に入力されるデータがセレクタ102の出力端子に接続される。従って、入力データINがセレクタ102、フリップフロップ4を介して入力端子DIに与えられる。保持制御信号HLD0が“1”のとき、データ入力1端子が選択されるので、フリップフロップ4の出力端子から出力されるデータがセレクタ102を介してフリップフロップ4の入力端子に与えられる。従って、フリップフロップ4のデータは保持される。
【0010】
図30に示される回路における回路動作を入力側及び出力側についてまとめると以下のようになる。保持制御信号HLD0が“0”のときに入力データINは入力端子DIに入力され、出力データDOがデータ出力端子OUTから出力される。すなわち入力と出力は同期している。保持制御信号HLD0が“1”のときには、セレクタ102及びフリップフロップ4によって入力データDI及び出力データDOはそれぞれ保持される。
【0011】
次にスキャンテストについての説明を行う。
【0012】
スキャンテストとは、
1.テストが行われる回路にスキャンパスを設け、
2.スキャンパスから回路にテストパターンを与え、
3.テストパターンに対して回路が出力する出力データを再びスキャンパスにて取り込み、
4.結果を解析する
というものである。スキャンテストとはテスト容易化設計の一手法である。スキャンパスはテストされる回路の入力あるいは出力端子に接続されるフリップフロップをスキャンフリップフロップに変換することによって実現される。
【0013】
図31はフリップフロップ4をスキャンフリップフロップSFFに変換する様子を示す回路図である。この場合のスキャン変換とは、フリップフロップ4の入力端子にセレクタ103を接続することである。セレクタ103の出力はシフトモード信号SMによって切替えられる。セレクタ103のデータ入力0端子にはデータDが入力され、データ入力1端子にはスキャンインデータSIが入力される。シフトモード信号SMが“0”のときにはデータDが選択され、“1”のときにはスキャンインデータSIが選択されてフリップフロップ4に入力される。
【0014】
図32はスキャンパスが設けられるデータ回路1を示す回路図である。セレクタ102,103及びフリップフロップ4からなる、接続回路PCC[0]〜[3]が入力側においてデータ入力端子IN[0]〜[3]と入力端子DI[0]〜[3]との間にそれぞれ接続される。また出力側においても同様に、出力端子DO[0]〜[3]とデータ出力端子OUT[0]〜[3]との間に接続回路PCC[0]〜[3]がそれぞれ挿入される。接続回路PCCを図33に示す。
【0015】
接続回路PCCの働きは入力側と出力側とでは同様であるので、図30と同様に入力側を例として図33に示される接続回路PCCの接続状態についての説明を行う。
【0016】
セレクタ102のデータ入力0端子にはデータ入力端子INが接続され、データ入力1端子にはフリップフロップ4の出力端子が接続される。セレクタ102の出力端子はセレクタ103のデータ入力0端子に接続される。セレクタ103のデータ入力1端子にはスキャンイン端子SIが接続される。セレクタ103の出力端子はフリップフロップ4の入力端子に接続され、フリップフロップ4の出力データは前述の如くセレクタ102のデータ入力1端子に入力され、さらに接続回路PCCのスキャンアウトデータSOあるいはシリアル入力データQとして出力される。
【0017】
ここで図32に示されるとおり、スキャンアウトデータSOは次のビット番号を有する接続回路PCCのスキャンインデータSIとなり、接続回路PCCのスキャンイン端子SIに入力される。ここで入力側の接続回路PCC[3]のスキャンアウトデータSOは出力側の接続回路PCC[0]のスキャンインデータSIとなり、出力側の接続回路PCC[3]のスキャンアウトデータSOはスキャンパス全体のスキャンアウトデータSOとして出力される。
【0018】
次に回路動作について説明を行う。図32に示される回路の動作として通常動作とスキャンテスト動作が存在する。
【0019】
まず通常動作について説明する。図32に示される回路の通常動作は図30に示される回路の動作と同様である。
【0020】
通常動作時にはシフトモード制御信号SMを“0”とする。このとき、保持制御信号HLD0が“0”ならば入力側では入力データINが接続回路PCCを介してデータ回路1の入力端子DIに取り込まれる。出力側では出力データDOが接続回路PCCを介してデータ出力端子OUTに出力される。保持制御信号HLD0が“1”ならば、入力データIN及び出力データDOは接続回路PCCにおいてそれぞれ保持される。
【0021】
次にスキャンテスト動作について説明する。スキャンテスト時には、テストパターンのシフトイン、実行、テスト結果のシフトアウトを順に行う。
【0022】
1.テストパターンのシフトイン
データ回路1にテストパターンを入力する準備として、入力側の接続回路PCCにテストパターンをシフトインする。シフトモード制御信号SMを“1”とすると、データ回路1に入力するテストパターンをスキャンイン端子SIからシフトインすることが可能である。本従来例のデータ回路1は4ビットであるので、4ビットのテストパターンがシフトインされる。テストパターンは入力側の接続回路PCC[0]→PCC[1]→PCC[2]→PCC[3]の順でシフトされ、入力側の接続回路PCC[0]〜[3]にテストパターンが入力される。
【0023】
2.実行
シフトモード制御信号SMを“0”とする。このとき、保持制御信号HLD0が“1”ならば、入力側の接続回路PCCにおいてはテストパターンのシフトイン終了後のデータ、すなわちテストパターンが保持される。出力側の接続回路PCCにおいてはテストパターンのシフトイン終了後のデータが保持される。シフトモード制御信号SMを“0”とするときに、保持制御信号HLD0が“0”ならば、入力データINが入力端子DIに取り込まれ、データ回路1のテスト結果である出力データDOはデータ出力端子OUTに出力される。この後、保持制御信号HLD0を“0”から“1に変えると、入力側の接続回路PCCにおいては入力データINが保持され、出力側の接続回路PCCにおいてはテスト結果である出力データDOが保持される。
【0024】
3.テスト結果のシフトアウト
シフトモード制御信号SMを“1”とする。このときテスト結果を順にスキャンアウト端子SOからシフトアウトする。
【0025】
以上が図32に示される回路の回路動作である。
【0026】
【発明が解決しようとする課題】
図32に示されるように、従来技術によるスキャンパス回路では、通常動作のためのデータ入力端子INとデータ回路1の入力端子DIとの間に二つのセレクタ102,103が含まれていた。同様に、データ回路1の出力端子DOと通常動作のためのデータ出力端子OUTとの間に二つのセレクタ102,103が含まれていた。したがって、セットアップが大きくなり、通常動作時の回路速度が低下するという問題点があった。
【0027】
本発明は以上の点に鑑み、通常動作時に高速動作が得られる、論理回路の動作試験のためのスキャンパス構成回路を提供することを目的とする。
【0028】
【課題を解決するための手段】
請求項1に記載のスキャンパス構成回路は、第1及び第2切替回路ならびに記憶回路を含んでなり、接続回路用入力端子、接続回路用試験入力端子、接続回路用出力端子、ならびに接続回路用第1及び第2制御端子を備え、接続回路用第1制御端子に入力される接続回路用第1制御信号及び接続回路用第2制御端子に入力される接続回路用第2制御信号はそれぞれ、互いに異なる第1論理及び第2論理からなる2値論理をとり、第1切替回路は、第1切替回路用一方入力端子、第1切替回路用他方入力端子、第1切替回路用出力端子及び第1切替回路用制御端子を有し、第2切替回路は、第2切替回路用一方入力端子、第2切替回路用他方入力端子、第2切替回路用出力端子及び第2切替回路用制御端子を有し、記憶回路は記憶回路用入力端子及び記憶回路用出力端子を有し、第1切替回路用制御端子は接続回路用第1制御端子を構成し、第1切替回路用一方入力端子は接続回路用入力端子を構成し、接続回路用第1制御信号が第1論理をとるときに第1切替回路用一方入力端子は第1切替回路用出力端子に接続され、接続回路用第1制御信号が第2論理をとるときに第1切替回路用他方入力端子は第1切替回路用出力端子に接続され、第2切替回路用制御端子は接続回路用第2制御端子を構成し、第2切替回路用一方入力端子は接続回路用試験入力端子を構成し、接続回路用第2制御信号が第1論理をとるときに第2切替回路用一方入力端子は第2切替回路用出力端子に接続され、接続回路用第2制御信号が第2論理をとるときに第2切替回路用他方入力端子は第2切替回路用出力端子に接続され、第2切替回路用出力端子は第1切替回路用他方入力端子に接続され、第1切替回路用出力端子は記憶回路用入力端子に接続され、記憶回路用出力端子は接続回路用出力端子を構成するとともに第2切替回路用他方入力端子に接続されることを特徴とする接続回路と、制御回路用第1及び第2制御入力端子、制御回路用第1及び第2制御出力端子、ならびに制御回路用試験端子を備え、制御回路用第1及び第2制御入力端子ならびに制御回路用試験端子にはそれぞれ制御回路用第1及び第2制御入力信号ならびに制御回路用試験信号が入力され、制御回路用第1及び第2制御出力端子からはそれぞれ制御回路用第1及び第2制御出力信号が出力され、制御回路用第1及び第2制御入力信号、制御回路用第1及び第2制御出力信号、ならびに制御回路用試験信号はそれぞれ2値論理をとり、制御回路用試験信号が2値論理のいずれか一方をとるとき、制御回路用第1及び第2制御出力信号の論理は制御回路用第2制御入力信号の論理に等しく、制御回路用試験信号が2値論理の他方をとるとき、制御回路用第制御出力信号の論理は制御回路用第1制御入力信号の反転論理に等しく、制御回路用第制御出力信号の論理は制御回路用第1制御入力信号の論理に等しく、制御回路用第1制御出力端子は接続回路用第1制御端子に接続され、制御回路用第2制御出力端子は接続回路用第2制御端子に接続されることによって接続回路を制御する制御回路とを含んでなることを特徴とする。
【0029】
請求項2に記載のスキャンパス構成回路は、第1及び第2切替回路ならびに記憶回路を含んでなり、接続回路用入力端子、接続回路用試験入力端子、接続回路用出力端子、ならびに接続回路用第1及び第2制御端子を備え、接続回路用第1制御端子に入力される接続回路用第1制御信号及び接続回路用第2制御端子に入力される接続回路用第2制御信号はそれぞれ、互いに異なる第1論理及び第2論理からなる2値論理をとり、第1切替回路は、第1切替回路用一方入力端子、第1切替回路用他方入力端子、第1切替回路用出力端子及び第1切替回路用制御端子を有し、第2切替回路は、第2切替回路用一方入力端子、第2切替回路用他方入力端子、第2切替回路用出力端子及び第2切替回路用制御端子を有し、記憶回路は記憶回路用入力端子及び記憶回路用出力端子を有し、第1切替回路用制御端子は接続回路用第1制御端子を構成し、第1切替回路用一方入力端子は接続回路用入力端子を構成し、接続回路用第1制御信号が第1論理をとるときに第1切替回路用一方入力端子は第1切替回路用出力端子に接続され、接続回路用第1制御信号が第2論理をとるときに第1切替回路用他方入力端子は第1切替回路用出力端子に接続され、第2切替回路用制御端子は接続回路用第2制御端子を構成し、第2切替回路用一方入力端子は接続回路用試験入力端子を構成し、接続回路用第2制御信号が第1論理をとるときに第2切替回路用一方入力端子は第2切替回路用出力端子に接続され、接続回路用第2制御信号が第2論理をとるときに第2切替回路用他方入力端子は第2切替回路用出力端子に接続され、第2切替回路用出力端子は第1切替回路用他方入力端子に接続され、第1切替回路用出力端子は記憶回路用入力端子に接続され、記憶回路用出力端子は接続回路用出力端子を構成するとともに第2切替回路用他方入力端子に接続されることを特徴とする接続回路と、制御回路用第1及び第2制御入力端子ならびに制御回路用第1及び第2制御出力端子を備え、制御回路用第1及び第2制御入力端子にはそれぞれ制御回路用第1及び第2制御入力信号が入力され、制御回路用第1及び第2制御出力端子からはそれぞれ制御回路用第1及び第2制御出力信号が出力され、制御回路用第1及び第2制御入力信号、ならびに制御回路用第1及び第2制御出力信号はそれぞれ2値論理をとり、制御回路用第1制御入力信号が第1論理をとるとき、制御回路用第1及び第2制御出力信号の論理は制御回路用第2制御入力信号の論理に等しく、制御回路用第1制御入力信号が第2論理をとるとき、制御回路用第制御出力信号の論理は制御回路用第1制御入力信号の反転論理に等しく、制御回路用第制御出力信号の論理は制御回路用第1制御入力信号の論理に等しく、制御回路用第1制御出力端子が接続回路用第1制御端子に接続され、制御回路用第2制御出力端子が接続回路用第2制御端子に接続されることによって接続回路を制御する制御回路とを含んでなることを特徴とする。
【0030】
請求項3に記載のスキャンパス構成回路は、第1及び第2切替回路ならびに記憶回路を含んでなり、接続回路用入力端子、接続回路用試験入力端子、接続回路用出力端子、ならびに接続回路用第1及び第2制御端子を備え、接続回路用第1制御端子に入力される接続回路用第1制御信号及び接続回路用第2制御端子に入力される接続回路用第2制御信号はそれぞれ、互いに異なる第1論理及び第2論理からなる2値論理をとり、第1切替回路は、第1切替回路用一方入力端子、第1切替回路用他方入力端子、第1切替回路用出力端子及び第1切替回路用制御端子を有し、第2切替回路は、第2切替回路用一方入力端子、第2切替回路用他方入力端子、第2切替回路用出力端子及び第2切替回路用制御端子を有し、記憶回路は記憶回路用入力端子及び記憶回路用出力端子を有し、第1切替回路用制御端子は接続回路用第1制御端子を構成し、第1切替回路用一方入力端子は接続回路用入力端子を構成し、接続回路用第1制御信号が第1論理をとるときに第1切替回路用一方入力端子は第1切替回路用出力端子に接続され、接続回路用第1制御信号が第2論理をとるときに第1切替回路用他方入力端子は第1切替回路用出力端子に接続され、第2切替回路用制御端子は接続回路用第2制御端子を構成し、第2切替回路用一方入力端子は接続回路用試験入力端子を構成し、接続回路用第2制御信号が第1論理をとるときに第2切替回路用一方入力端子は第2切替回路用出力端子に接続され、接続回路用第2制御信号が第2論理をとるときに第2切替回路用他方入力端子は第2切替回路用出力端子に接続され、第2切替回路用出力端子は第1切替回路用他方入力端子に接続され、第1切替回路用出力端子は記憶回路用入力端子に接続され、記憶回路用出力端子は接続回路用出力端子を構成するとともに第2切替回路用他方入力端子に接続されることを特徴とする接続回路と、制御回路用第1乃至第3制御入力端子、制御回路用第1及び第2制御出力端子、ならびに制御回路用試験端子を備え、制御回路用第1乃至第3制御入力端子ならびに制御回路用試験端子にはそれぞれ制御回路用第1乃至第3制御入力信号ならびに制御回路用試験信号が入力され、制御回路用第1及び第2制御出力端子からはそれぞれ制御回路用第1及び第2制御出力信号が出力され、制御回路用第1乃至第3制御入力信号、制御回路用第1及び第2制御出力信号、ならびに制御回路用試験信号はそれぞれ2値論理をとり、制御回路用試験信号が2値論理のいずれか一方をとるとき、制御回路用第1及び第2制御出力信号の論理は制御回路用第2制御入力信号の論理に等しく、制御回路用試験信号が2値論理の他方をとるとき、制御回路用第1制御出力信号の論理は制御回路用第1制御入力信号の論理に等しく、制御回路用第2制御出力信号の論理は制御回路用第3制御入力信号の論理に等しく、制御回路用第1制御出力端子は接続回路用第1制御端子に接続され、制御回路用第2制御出力端子は接続回路用第2制御端子に接続されることによって接続回路を制御する制御回路とを含んでなることを特徴とする。
【0031】
請求項4に記載のスキャンパス構成回路は、第1及び第2切替回路ならびに記憶回路を含んでなり、接続回路用入力端子、接続回路用試験入力端子、接続回路用出力端子、ならびに接続回路用第1及び第2制御端子を備え、接続回路用第1制御端子に入力される接続回路用第1制御信号及び接続回路用第2制御端子に入力される接続回路用第2制御信号はそれぞれ、互いに異なる第1論理及び第2論理からなる2値論理をとり、第1切替回路は、第1切替回路用一方入力端子、第1切替回路用他方入力端子、第1切替回路用出力端子及び第1切替回路用制御端子を有し、第2切替回路は、第2切替回路用一方入力端子、第2切替回路用他方入力端子、第2切替回路用出力端子及び第2切替回路用制御端子を有し、記憶回路は記憶回路用入力端子及び記憶回路用出力端子を有し、第1切替回路用制御端子は接続回路用第1制御端子を構成し、第1切替回路用一方入力端子は接続回路用入力端子を構成し、接続回路用第1制御信号が第1論理をとるときに第1切替回路用一方入力端子は第1切替回路用出力端子に接続され、接続回路用第1制御信号が第2論理をとるときに第1切替回路用他方入力端子は第1切替回路用出力端子に接続され、第2切替回路用制御端子は接続回路用第2制御端子を構成し、第2切替回路用一方入力端子は接続回路用試験入力端子を構成し、接続回路用第2制御信号が第1論理をとるときに第2切替回路用一方入力端子は第2切替回路用出力端子に接続され、接続回路用第2制御信号が第2論理をとるときに第2切替回路用他方入力端子は第2切替回路用出力端子に接続され、第2切替回路用出力端子は第1切替回路用他方入力端子に接続され、第1切替回路用出力端子は記憶回路用入力端子に接続され、記憶回路用出力端子は接続回路用出力端子を構成するとともに第2切替回路用他方入力端子に接続されることを特徴とする接続回路と、制御回路用第1乃至第3制御入力端子、制御回路用第1及び第2制御出力端子、ならびに制御回路用試験端子を備え、制御回路用第1乃至第3制御入力端子ならびに制御回路用試験端子にはそれぞれ制御回路用第1乃至第3制御入力信号ならびに制御回路用試験信号が入力され、制御回路用第1及び第2制御出力端子からはそれぞれ制御回路用第1及び第2制御出力信号が出力され、制御回路用第1乃至第3制御入力信号、制御回路用第1及び第2制御出力信号、ならびに制御回路用試験信号はそれぞれ2値論理をとり、制御回路用試験信号が2値論理のいずれか一方をとり、かつ制御回路用第1及び第3制御入力信号がそれぞれ第1論理をとるとき、制御回路用第1及び第2制御出力信号の論理は制御回路用第2制御入力信号の論理に等しく、制御回路用試験信号が2値論理の他方をとるとき、前記制御回路用第3制御入力信号が前記第2論理をとる場合には前記制御回路用第1制御入力信号も前記第2論理をとり、制御回路用第1制御出力信号の論理は制御回路用第1制御入力信号の論理に等しく、制御回路用第2制御出力信号の論理は制御回路用第3制御入力信号の論理に等しく、制御回路用第1制御出力端子は接続回路用第1制御端子に接続され、制御回路用第2制御出力端子は接続回路用第2制御端子に接続されることによって接続回路を制御する制御回路とを含んでなることを特徴とする。
【0032】
請求項5に記載のスキャンパス構成回路は、第1及び第2切替回路ならびに記憶回路を含んでなり、接続回路用入力端子、接続回路用試験入力端子、接続回路用出力端子、ならびに接続回路用第1及び第2制御端子を備え、接続回路用第1制御端子に入力される接続回路用第1制御信号及び接続回路用第2制御端子に入力される接続回路用第2制御信号はそれぞれ、互いに異なる第1論理及び第2論理からなる2値論理をとり、第1切替回路は、第1切替回路用一方入力端子、第1切替回路用他方入力端子、第1切替回路用出力端子及び第1切替回路用制御端子を有し、第2切替回路は、第2切替回路用一方入力端子、第2切替回路用他方入力端子、第2切替回路用出力端子及び第2切替回路用制御端子を有し、記憶回路は記憶回路用入力端子及び記憶回路用出力端子を有し、第1切替回路用制御端子は接続回路用第1制御端子を構成し、第1切替回路用一方入力端子は接続回路用入力端子を構成し、接続回路用第1制御信号が第1論理をとるときに第1切替回路用一方入力端子は第1切替回路用出力端子に接続され、接続回路用第1制御信号が第2論理をとるときに第1切替回路用他方入力端子は第1切替回路用出力端子に接続され、第2切替回路用制御端子は接続回路用第2制御端子を構成し、第2切替回路用一方入力端子は接続回路用試験入力端子を構成し、接続回路用第2制御信号が第1論理をとるときに第2切替回路用一方入力端子は第2切替回路用出力端子に接続され、接続回路用第2制御信号が第2論理をとるときに第2切替回路用他方入力端子は第2切替回路用出力端子に接続され、第2切替回路用出力端子は第1切替回路用他方入力端子に接続され、第1切替回路用出力端子は記憶回路用入力端子に接続され、記憶回路用出力端子は接続回路用出力端子を構成するとともに第2切替回路用他方入力端子に接続されることを特徴とする接続回路と、制御回路用第1乃至第3制御入力端子ならびに制御回路用第1及び第2制御出力端子を備え、制御回路用第1乃至第3制御入力端子にはそれぞれ制御回路用第1乃至第3制御入力信号が入力され、制御回路用第1及び第2制御出力端子からはそれぞれ制御回路用第1及び第2制御出力信号が出力され、制御回路用第1乃至第3制御入力信号ならびに制御回路用第1及び第2制御出力信号はそれぞれ2値論理をとり、制御回路用第1制御入力信号が第1論理をとるとき、制御回路用第1及び第2制御出力信号の論理は制御回路用第2制御入力信号の論理に等しく、制御回路用第1制御入力信号が第2論理をとるとき、制御回路用第1制御出力信号の論理は制御回路用第1制御入力信号の論理に等しく、制御回路用第2制御出力信号の論理は制御回路用第3制御入力信号の論理に等しく、制御回路用第1制御出力端子は接続回路用第1制御端子に接続され、制御回路用第2制御出力端子は接続回路用第2制御端子に接続されることによって接続回路を制御する制御回路とを含んでなることを特徴とする。
【0033】
請求項6に記載のスキャンパス構成回路は、第1及び第2切替回路ならびに記憶回路を含んでなり、接続回路用入力端子、接続回路用試験入力端子、接続回路用出力端子、ならびに接続回路用第1及び第2制御端子を備え、接続回路用第1制御端子に入力される接続回路用第1制御信号及び接続回路用第2制御端子に入力される接続回路用第2制御信号はそれぞれ、互いに異なる第1論理及び第2論理からなる2値論理をとり、第1切替回路は、第1切替回路用一方入力端子、第1切替回路用他方入力端子、第1切替回路用出力端子及び第1切替回路用制御端子を有し、第2切替回路は、第2切替回路用一方入力端子、第2切替回路用他方入力端子、第2切替回路用出力端子及び第2切替回路用制御端子を有し、記憶回路は記憶回路用入力端子及び記憶回路用出力端子を有し、第1切替回路用制御端子は接続回路用第1制御端子を構成し、第1切替回路用一方入力端子は接続回路用入力端子を構成し、接続回路用第1制御信号が第1論理をとるときに第1切替回路用一方入力端子は第1切替回路用出力端子に接続され、接続回路用第1制御信号が第2論理をとるときに第1切替回路用他方入力端子は第1切替回路用出力端子に接続され、第2切替回路用制御端子は接続回路用第2制御端子を構成し、第2切替回路用一方入力端子は接続回路用試験入力端子を構成し、接続回路用第2制御信号が第1論理をとるときに第2切替回路用一方入力端子は第2切替回路用出力端子に接続され、接続回路用第2制御信号が第2論理をとるときに第2切替回路用他方入力端子は第2切替回路用出力端子に接続され、第2切替回路用出力端子は第1切替回路用他方入力端子に接続され、第1切替回路用出力端子は記憶回路用入力端子に接続され、記憶回路用出力端子は接続回路用出力端子を構成するとともに第2切替回路用他方入力端子に接続されることを特徴とする接続回路と、制御回路用第1乃至第3制御入力端子ならびに制御回路用第1及び第2制御出力端子を備え、制御回路用第1乃至第3制御入力端子にはそれぞれ制御回路用第1乃至第3制御入力信号が入力され、制御回路用第1及び第2制御出力端子からはそれぞれ制御回路用第1及び第2制御出力信号が出力され、制御回路用第1乃至第3制御入力信号ならびに制御回路用第1及び第2制御出力信号はそれぞれ2値論理をとり、制御回路用第1制御入力信号が第1論理をとり、かつ制御回路用第3制御入力信号が第1論理をとるとき、制御回路用第1及び第2制御出力信号の論理は制御回路用第2制御入力信号の論理に等しく、制御回路用第1制御入力信号が第2論理をとるとき、制御回路用第1制御出力信号の論理は制御回路用第1制御入力信号の論理に等しく、制御回路用第2制御出力信号の論理は制御回路用第3制御入力信号の論理に等しく、制御回路用第1制御出力端子は接続回路用第1制御端子に接続され、制御回路用第2制御出力端子は接続回路用第2制御端子に接続されることによって接続回路を制御する制御回路とを含んでなることを特徴とする。
【0034】
請求項7に記載のスキャンパス構成回路は、接続回路用入力端子、接続回路用試験入力端子、接続回路用出力端子、接続回路用第1及び第2制御端子、ならびに期待端子を備え、接続回路用第1制御端子に入力される接続回路用第1制御信号と接続回路用第2制御端子に入力される接続回路用第2制御信号とはそれぞれ、互いに異なる第1論理及び第2論理からなる2値論理をとり、接続回路用第1制御信号が第1論理をとるとき、接続回路用入力端子に入力される信号を接続回路用出力端子から出力し、接続回路用第1制御信号が第2論理をとり、かつ接続回路用第2制御信号が第1論理をとるとき、接続回路用試験入力端子に入力される信号を接続回路用出力端子から出力し、接続回路用第1及び第2制御信号がそれぞれ第2論理をとるときには、期待端子に入力される信号の論理と接続回路用入力端子に入力される信号の論理とが一致する場合には接続回路用出力端子から出力していた信号を接続回路用出力端子から出力し続け、一致しない場合には第1論理を接続回路用出力端子から出力し続けることを特徴とする接続回路と、制御回路用第1乃至第3制御入力端子ならびに制御回路用第1及び第2制御出力端子を備え、制御回路用第1乃至第3制御入力端子にはそれぞれ制御回路用第1乃至第3制御入力信号が入力され、制御回路用第1及び第2制御出力端子からはそれぞれ制御回路用第1及び第2制御出力信号が出力され、制御回路用第1乃至第3制御入力信号ならびに制御回路用第1及び第2制御出力信号はそれぞれ2値論理をとり、制御回路用第1制御入力信号が第1論理をとり、かつ制御回路用第3制御入力信号が第1論理をとるとき、制御回路用第1及び第2制御出力信号の論理は制御回路用第2制御入力信号の論理に等しく、制御回路用第1制御入力信号が第2論理をとるとき、制御回路用第1制御出力信号の論理は制御回路用第1制御入力信号の論理に等しく、制御回路用第2制御出力信号の論理は制御回路用第3制御入力信号の論理に等しく、制御回路用第1制御出力端子は接続回路用第1制御端子に接続され、制御回路用第2制御出力端子は接続回路用第2制御端子に接続されることによって接続回路を制御する制御回路とを含んでなることを特徴とする。
請求項8に記載のスキャンパス構成回路は、接続回路用入力端子、接続回路用試験入力端子、接続回路用出力端子、接続回路用第1及び第2制御端子、ならびに期待端子を備え、前記接続回路用第1制御端子に入力される接続回路用第1制御信号と前記接続回路用第2制御端子に入力される接続回路用第2制御信号とはそれぞれ、互いに異なる第1論理及び第2論理からなる2値論理をとり、前記接続回路用第1制御信号が前記第1論理をとるとき、前記接続回路用入力端子に入力される信号を前記接続回路用出力端子から出力し、前記接続回路用第1制御信号が前記第2論理をとり、かつ前記接続回路用第2制御信号が前記第1論理をとるとき、前記接続回路用試験入力端子に入力される信号を前記接続回路用出力端子から出力し、前記接続回路用第1及び第2制御信号がそれぞれ前記第2論理をとるときには、前記期待端子に入力される信号の論理と前記接続回路用入力端子に入力される信号の論理とが一致する場合には前記接続回路用出力端子から出力していた信号を該接続回路用出力端子から出力し続け、一致しない場合には前記第1論理を該接続回路用出力端子から出力し続けることを特徴とする接続回路と、制御回路用第1乃至第3制御入力端子、制御回路用第1及び第2制御出力端子、ならびに制御回路用試験端子を備え、前記制御回路用第1乃至第3制御入力端子ならびに前記制御回路用試験端子にはそれぞれ制御回路用第1乃至第3制御入力信号ならびに制御回路用試験信号が入力され、前記制御回路用第1及び第2制御出力端子からはそれぞれ制御回路用第1及び第2制御出力信号が出力され、前記制御回路用第1乃至第3制御入力信号、前記制御回路用第1及び第2制御出力信号、ならびに前記制御回路用試験信号はそれぞれ前記2値論理をとり、前記制御回路用試験信号が前記2値論理のいずれか一方をとるとき、前記制御回路用第1及び第2制御出力信号の論理は前記制御回路用第2制御入力信号の論理に等しく、前記制御回路用試験信号が前記2値論理の他方をとるとき、前記制御回路用第1制御出力信号の論理は前記制御回路用第1制御入力信号の論理に等しく、前記制御回路用第2制御出力信号の論理は前記制御回路用第3制御入力信号の論理に等しく、前記制御回路用第1制御出力端子は前記接続回路用第1制御端子に接続され、前記制御回路用第2制御出力端子は前記接続回路用第 2制御端子に接続されることによって前記接続回路を制御する制御回路とを含んでなることを特徴とする。
【0035】
請求項に記載のスキャンパス構成回路は、接続回路はさらに、比較端子及び期待端子を備え、排他的論理和素子、否定論理積素子及び論理積素子を含んでなり、比較端子に入力される比較信号は2値論理をとり、排他的論理和素子は排他的論理和素子用出力端子及び二つの排他的論理和素子用入力端子を備え、否定論理積素子は否定論理積素子用出力端子及び二つの否定論理積素子用入力端子を備え、論理積素子は論理積素子用出力端子及び二つの論理積素子用入力端子を備え、記憶回路用出力端子と第2切替回路用他方入力端子との接続は論理積素子を介する接続であり、排他的論理和素子用入力端子のいずれか一方は期待端子を構成し、排他的論理和素子用入力端子の他方と第1切替回路用一方入力端子とが共通に接続され、排他的論理和素子用出力端子は否定論理積素子用入力端子のいずれか一方に接続され、否定論理積素子用入力端子の他方が比較端子を構成し、否定論理積素子用出力端子は論理積素子用入力端子の一方に接続され、記憶回路用出力端子は論理積素子用入力端子の他方に接続されることを特徴とする。
【0036】
請求項10に記載のスキャンパス構成回路は、接続回路はさらに、比較端子及び期待端子を備え、排他的論理和素子及び否定論理積素子を含んでなり、記憶回路はさらに記憶回路用初期化端子を備え、比較端子に入力される比較信号は2値論理をとり、排他的論理和素子は排他的論理和素子用出力端子及び二つの排他的論理和素子用入力端子を備え、否定論理積素子は否定論理積素子用出力端子及び二つの否定論理積素子用入力端子を備え、排他的論理和素子用入力端子のいずれか一方は期待端子を構成し、排他的論理和素子用入力端子の他方と第1切替回路用一方入力端子とが共通に接続され、排他的論理和素子用出力端子は否定論理積素子用入力端子のいずれか一方に接続され、否定論理積素子用入力端子の他方が比較端子を構成し、否定論理積素子用出力端子は記憶回路用初期化端子に接続されることを特徴とする。
【0037】
請求項11に記載のスキャンパス構成回路は、書き込み用端子及び読み出し用端子を備えるRAMに設けられるスキャンパス構成回路であり、接続回路が書き込み用端子毎に、及び読み出し用端子毎に用意され、書き込み用端子に用意される接続回路の接続回路用出力端子には書き込み用端子がそれぞれ接続され、読み出し用端子に用意される接続回路の接続回路用入力端子には読み出し用端子がそれぞれ接続され、書き込み用端子毎に用意される接続回路を制御する書き込み用制御回路とは制御回路であり、読み出し用端子毎に用意される接続回路を制御する読み出し用制御回路とは制御回路であり、書き込み用制御回路による制御と読み出し用制御回路による制御とはそれぞれ独立であることを特徴とする。
【0038】
請求項12に記載のスキャンパス構成回路は、書き込み用端子及び読み出し用端子を備え、読書き込み用端子は書き込み用アドレス端子と書き込み用入力端子とからなり、読み出し用端子は読み出し用アドレス端子と読み出し用出力端子とからなるRAMに設けられるスキャンパス構成回路であり、接続回路が書き込み用アドレス端子毎に、書き込み用入力端子毎に、読み出し用アドレス端子毎に、及び読み出し用出力端子毎にそれぞれ用意され、書き込み用アドレス端子に用意される接続回路の接続回路用出力端子には書き込み用アドレス端子がそれぞれ接続され、書き込み用入力端子に用意される接続回路の接続回路用出力端子には書き込み用入力端子がそれぞれ接続され、読み出し用アドレス端子に用意される接続回路の接続回路用入力端子には読み出し用アドレス端子がそれぞれ接続され、読み出し用出力端子に用意される接続回路の接続回路用入力端子には読み出し用出力端子がそれぞれ接続され、書き込み用アドレス端子毎に用意される接続回路を制御する書き込みアドレス用制御回路とは制御回路であり、書き込み用入力端子毎に用意される接続回路を制御する書き込み入力用制御回路とは制御回路であり、読み出し用アドレス端子毎に用意される接続回路を制御する読み出しアドレス用制御回路とは制御回路であり、読み出し用出力端子毎に用意される接続回路を制御する読み出し出力用制御回路とは制御回路であり、書き込みアドレス用制御回路による制御と、書き込み入力用制御回路による制御と、読み出しアドレス用制御回路による制御と、読み出し出力用制御回路による制御とはそれぞれ独立であることを特徴とする。
【0039】
【発明の実施の形態】
実施の形態1.
図1は本実施の形態に従う制御回路及び試験回路の備えられる、論理回路の回路図である。従来の技術にて示された回路等と同一の構成、働き等を有するものに対しては同一の参照符号を付けるものとする。
【0040】
同図に示されるとおり、試験回路であるテスト回路TCによって論理回路であるデータ回路1は入出力の制御を行われる。
【0041】
まずデータ回路1について説明する。データ回路1は入力端子DI[0]〜[3]及び出力端子DO[0]〜[3]を備える。データ回路1は入力端子DI[0]〜[3]に与えられる入力データDI[0]〜[3]に対して固有の出力データDO[0]〜[3]を出力端子DO[0]〜[3]から出力する回路である。データ回路1として組み合わせ回路またはRAMのような記憶回路を挙げることができる。
【0042】
本実施の形態において示されるデータ回路1は4ビットであるが、本発明に従う試験回路の適用は4ビットの論理回路に限定されるものではなく、どのようなビット数の論理回路に対しても本発明の試験回路を適用することは可能である。データあるいは端子に付加されている[番号]はデータのビット番号を表す。上述のように、端子に入力されるデータあるいは端子から出力されるデータはそれぞれビット番号によって対応づけられている。従って、データあるいは端子等を総称するとき、またはビット番号による違いを考慮しなくて良いときには、ビット番号を以下省略する。ビット番号が省略されるときにも、それぞれのデータはそれぞれビット番号の端子に対応する。特にビット毎の対応を明確にしたいときには、DI[N]のように記述する。特にことわらない限り、Nは0,1,2,3のうちの任意の数字を表す。
【0043】
次にデータの入出力に関する回路について説明を行う。データ回路1の入力端子DIとデータ入力端子INとの間に、また出力端子DOとデータ出力端子OUTとの間にはテスト回路TCがそれぞれ挿入される。テスト回路TCは入力端子d[0]〜[3]、出力端子q[0]〜[3]、スキャンイン端子si、テスト保持端子thld、シフトモード端子sm及びスキャンアウト端子soを備える回路である。
【0044】
テスト保持端子thld及びシフトモード端子smにそれぞれ入力されるテスト保持制御信号thld及びシフトモード制御信号smによるテスト回路TCの動作について説明する。シフトモード制御信号smが“0”のとき、テスト回路TCは入力端子dに入力されるデータ取り込み、そのまま出力端子qから出力する。シフトモード制御信号smが“1”であり、かつテスト保持制御信号thldが“0”のとき、テスト回路TCはスキャンイン端子siに入力されるデータを取り込んでスキャンアウト端子soから出力する。シフトモード制御信号smが“1”であり、かつテスト保持制御信号thldが“1”のとき、テスト回路TC中に備えられる後述の接続回路CCにてデータが保持される。
【0045】
以上のような回路動作を行うテスト回路TCは図2に示される接続回路CCを用いることによって得られる。接続回路CCについて説明を行う。セレクタ2,3及びフリップフロップ4によって接続回路CCは構成される。セレクタ2,3はデータ入力0端子及びデータ入力1端子、出力端子ならびに制御端子をそれぞれ有するセレクタである。セレクタの制御端子にはセレクタを切替えるための制御信号が入力される。データ入力0端子は制御信号が“0”のときに選択され出力端子に接続される。一方、データ入力1端子は制御信号が“1”のときに選択され出力端子に接続される。よって、セレクタに入力される制御信号の“1”,“0”を切替えることによって、セレクタから出力されるデータを選択することが可能となる。セレクタ2はテスト保持制御信号thldによって、セレクタ3はシフトモード制御信号smによって切替の制御が行われる。セレクタ2のデータ入力0端子にはスキャンイン端子siが接続され、データ入力1端子にはフリップフロップ4の出力端子が接続される。セレクタ2の出力端子はセレクタ3のデータ入力1端子に接続される。セレクタ3のデータ入力0端子には入力端子dが接続される。セレクタ3の出力端子はフリップフロップ4の入力端子に接続される。フリップフロップ4の出力データは前述の如くセレクタ2のデータ入力1端子に入力され、さらに接続回路CCのスキャンアウトデータsoあるいはシリアル入力データqとして出力される。シリアル入力データとは、通常動作時に出力されるデータのことである。フリップフロップ4はDフリップフロップあるいはDフリップフロップと同様の働きを有するフリップフロップである。
【0046】
接続回路CCの回路動作について説明を行う。接続回路CCは、シフトモード制御信号smが“0”のとき、入力端子dに入力される信号を出力する回路である。シフトモード制御信号smが“1”であり、かつテスト保持制御信号thldが“0”のとき、接続回路CCはスキャンイン端子siに入力されるデータを出力する。シフトモード制御信号smが“1”であり、かつテスト保持制御信号thldが“1”のとき、接続回路CCはスキャンフリップフロップ4のデータを保持する。データ入力端子d[0]〜[3]と出力端子q[0]〜[3]との間に接続回路CC[0]〜[3]がそれぞれ挿入され接続されて4ビットのテスト回路TCが構成される。
【0047】
図3はテスト回路TCの構成を示す回路図である。接続回路CCが順に接続されてテスト回路TCは構成される。接続回路CC同士の接続について説明を行う。接続回路CC[0]のセレクタ2[0]のデータ入力0端子はテスト回路TCのスキャンイン端子siに接続される。N=1〜3に関しては、接続回路CC[N]のセレクタ2[N]のデータ入力0端子には接続回路CC[N−1]のスキャンアウトデータso[N−1]が入力される。接続回路CC[3]のフリップフロップ4[3]の出力端子はテスト回路TCのスキャンアウト端子soに接続される。以上のように接続されることに加えて、接続回路CC[N]のそれぞれのスキャンアウト端子so[N]はテスト回路TCの出力端子q[N]をも構成する。
【0048】
次にデータ回路1及び本実施の形態に従うスキャンパスを含む回路について図1を用いて説明を行う。
【0049】
まず通常動作に必要である、データ入力端子IN及びデータ出力端子OUTならびにデータ回路1とテスト回路TCとの接続について説明を行う。データ回路1の入力側においては、テスト回路TCの入力端子d[N]及び出力端子q[N]がデータ入力端子IN[N]及びデータ回路1の入力端子DI[N]とそれぞれ接続される。出力側においても同様に、テスト回路TCの入力端子d[N]及び出力端子q[N]がデータ回路1の出力端子DO[N]及びデータ出力端子OUT[N]と接続される。
【0050】
次にスキャンテストを行う際に用いられるスキャンイン端子SI,si及びスキャンアウト端子SO,soについて説明を行う。スキャンイン端子SIは入力側のテスト回路TCのスキャンイン端子siに接続される。入力側のテスト回路TCのスキャンアウト端子soは出力側のテスト回路TCのスキャンイン端子siに接続される。出力側のテスト回路TCのスキャンアウト端子soはスキャンパスの最終の出力端子であるスキャンアウト端子SOに接続される。
【0051】
次にテスト回路TCにテスト保持制御信号thld及びシフトモード制御信号smを与える、本実施例に従う制御回路CTL1について説明を行う。制御回路CTL1はテスト制御信号TEST、シフトモード制御信号SM及び保持制御信号HLD0を入力され、テスト回路TCにテスト保持制御信号thld及びシフトモード制御信号smを出力する回路である。
【0052】
制御回路CTL1は、テスト制御信号TESTが“0”のとき、テスト保持制御信号thld及びシフトモード制御信号smとして保持制御信号HLD0を出力する。テスト制御信号TESTが“1”のとき、テスト保持制御信号thldとしてシフトモード制御信号SMの論理反転信号を、シフトモード制御信号smとしてシフトモード制御信号SMを制御回路CTLは出力する。ここで、論理反転信号について説明する。入力信号が“0”のときには論理反転信号は“1”であり、入力信号が“1”のときには論理反転信号は“0”となる。
【0053】
制御回路CTL1の接続について説明を行う。セレクタ5,6及びインバータ10によって制御回路CTL1は構成される。セレクタ5,6はデータ入力0端子及びデータ入力1端子、出力端子ならびに制御端子をそれぞれ有するセレクタである。セレクタ5,6の制御端子にはセレクタ5,6を同時に切替えるためのテスト制御信号TESTが入力される。データ入力0端子はテスト制御信号TESTが“0”のときに選択され出力端子に接続される。一方、データ入力1端子はテスト制御信号TESTが“1”のときに選択され出力端子に接続される。よって、セレクタ5,6に入力されるテスト制御信号TESTの“1”,“0”を切替えることによって、セレクタ5,6からそれぞれ出力されるデータを選択することが可能となる。セレクタ5及び6のそれぞれのデータ入力0端子には保持端子HLD0が共通に接続される。セレクタ5のデータ入力1端子にはインバータ10を介してシフトモード端子SMが接続され、セレクタ6のデータ入力1端子は何も介さずにシフトモード端子SMが接続される。セレクタ5の出力端子はテスト回路TCのテスト保持端子thldに接続される。セレクタ6の出力端子はテスト回路TCのシフトモード端子smに接続される。
【0054】
図1に示される回路の回路動作を以下にまとめる。回路動作としては、通常動作及びスキャンテスト動作が存在する。通常動作及びスキャンテストにおける、それぞれの信号及びデータの最適な設定値を表1に示す。表において、“DC”とは“Don’t Care”の意味であり、信号あるいはデータが動作に関与しないことを示す。
【0055】
【表1】

Figure 0003691144
【0056】
まず通常動作について説明を行う。通常動作時にはテスト制御信号TESTを“0”とする。テスト制御信号TESTが“0”のとき、セレクタ5,6はデータ入力0端子に入力されるデータを出力するので、保持制御信号HLD0がテスト保持制御信号thld及びシフトモード制御信号smとして入力側及び出力側のテスト回路TCに与えられる。このとき、保持制御信号HLD0が“0”ならば、入力側では入力データINが入力側の接続回路CCを介してデータ回路1の入力端子DIに取り込まれる。出力側では出力データDOが出力側の接続回路CCを介してデータ出力端子OUTに出力される。保持制御信号HLD0が“1”ならば、入力データIN及び出力データDOは接続回路CCにおいてそれぞれ保持される。
【0057】
次にスキャンテスト動作について説明する。スキャンテスト時には、テストパターンのシフトイン、実行、テスト結果のシフトアウトを順に行う。スキャンテスト時にはテスト制御信号TESTを“1”とする。テスト制御信号TESTが“1”のとき、シフトモード制御信号SMの反転論理及びシフトモード制御信号SMがそれぞれテスト保持制御信号thld及びシフトモード制御信号smとして、入力側及び出力側のテスト回路TCに与えられる。
【0058】
1.テストパターンのシフトイン
データ回路1にテストパターンを入力する準備として、入力側の接続回路CCにテストパターンをシフトインする。シフトモード制御信号SMを“1”とすると、データ回路1に入力するテストパターンをスキャンイン端子SIからシフトインすることが可能である。本実施の形態のデータ回路1は4ビットであるので、4ビットのテストパターンがシフトインされる。テストパターンは入力側の接続回路CC[0]→CC[1]→CC[2]→CC[3]の順でシフトされ、入力側の接続回路CC[0]〜[3]にテストパターンが入力される。シフトモード制御信号SMによって入力側及び出力側のテスト回路TCは同時に制御されるので、出力側の接続回路CC[0]〜CC[3]においてもデータのシフトが起こる。
【0059】
2.実行
シフトモード制御信号SMを“0”とする。このとき、入力側あるいは出力側のそれぞれの接続回路CCを介して、入力データINが入力端子DIに取り込まれ、データ回路1のテスト結果である出力データDOはデータ出力端子OUTに出力される。
【0060】
3.テスト結果のシフトアウト
シフトモード制御信号SMを“1”とする。このときテスト結果を順にスキャンアウト端子SOからシフトアウトする。
【0061】
以上が図1に示される回路の回路動作である。図2に示されるセレクタ2,3のデータ入力0端子とデータ入力1端子をそれぞれ入れ替え、かつセレクタ2,3のそれぞれの制御端子に入力されるテスト保持制御信号thld及びシフトモード制御信号smの“0”と”1”をそれぞれ入れ換えても、本発明の試験回路の回路動作は変わらない。
【0062】
図1に示される制御回路CTL1を用いると、以下に記す利点が生ずる。
【0063】
図4はデータ回路1,1a及び1bの入力側及び出力側においてテスト回路TCがそれぞれ設けられスキャンパスが構成される回路を示す回路図である。データ回路1a及び1bは論理回路であり、データ回路1は図示されない制御回路CTL1によって制御される。データ回路1の入力側及び出力側のTCに入力される保持制御信号HLD0はデータ回路1aから出力される
データ回路1a,1及び1bが順に並べられ、スキャンパスは、スキャンイン端子SI→データ回路1aの入力側のテスト回路TC→データ回路1aの出力側のテスト回路TC→データ回路1の入力側のテスト回路TC→データ回路1出力側のテスト回路TC→データ回路1bの入力側のテスト回路TC→データ回路1bの出力側のテスト回路TC→スキャンアウト端子SO、のように構成されている。
【0064】
上述のように、図4に示される回路においては保持制御信号HLD0がデータ回路1aからデータ回路1の入力側及び出力側のテスト回路TCにそれぞれ与えられる。制御回路CTL1においては、テスト制御信号TESTによって保持端子HLD0とシフトモード端子SMのどちらが選択されるかが制御される。従って、データ回路1の入力側及び出力側のテスト回路TCを制御回路CTL1によって制御することによって、データ回路1のスキャンテストをデータ回路1aから与えられる保持制御信号HLD0とは独立に行うことができ、テストパターンの生成が単純となる。
【0065】
図5に示されるように、スキャンイン端子SIをスキャンフリップフロップHSFFを介して入力側のテスト回路TCのスキャンイン端子siに接続することも可能である。
【0066】
図6はスキャンフリップフロップHSFFを示す回路図である。スキャンフリップフロップHSFFはセレクタ14及びフリップフロップ15から成る回路である。テスト回路TCを制御する制御回路に入力される保持制御信号HLDを確認するためにスキャンフリップフロップHFSSは設けられる。保持制御信号HLDは保持制御信号HLD0を含む信号である。セレクタ14はデータ入力0端子及びデータ入力1端子、出力端子ならびに制御端子を有する。制御端子にはセレクタ14を切替えるためのシフトモード制御信号SMが入力される。データ入力0端子はシフトモード制御信号SMが“0”のときに選択され出力端子に接続される。一方、データ入力1端子はシフトモード制御信号SMが“1”のときに選択され出力端子に接続される。よって、セレクタ14に入力されるシフトモード制御信号SMの“1”,“0”を切替えることによって、セレクタ14から出力されるデータを選択することが可能となる。セレクタ14のデータ入力1端子にはスキャンイン端子SIが接続され、データ入力0端子には保持端子HLDが接続される。セレクタ14の出力端子はフリップフロップ15の入力端子に接続される。フリップフロップ15の出力端子はスキャンフリップフロップHSFFのスキャンアウト端子SOとなる。フリップフロップ15はDフリップフロップあるいはDフリップフロップと同様の働きを有するフリップフロップである。
【0067】
保持制御信号HLDは制御回路に入力される信号である。制御回路に入力される保持制御信号HLDはテスト回路TCの制御を行う信号であり、詳しくはテスト回路TCに含まれるセレクタ2の接続を切り換えるための信号であるので、保持制御信号HLD自体が出力データとしてデータ回路1から、あるいはスキャンパスから出力されることはない。従って、スキャンフリップフロップHSFFを設けない場合には直接的に保持制御信号HLDを観察することは困難である。保持制御信号HLDが所望の論理をとらないならば、保持制御信号HLDによって制御されるテスト回路TCは所望の動作を行わず、論理回路の動作試験を信頼することは不可能となる。従って、保持制御信号HLDを直接観察する必要が生ずる。スキャンフリップフロップHSFFを用いることによって、保持制御信号HLDを直接観察することが可能となる。
【0068】
スキャンフリップフロップHSFFのデータ入力0端子に保持制御信号HLDを入力し、シフトモード制御信号SMを“0”とすることによって、フリップフロップ15に保持制御信号HLDの値を記憶させることが可能となる。前述の通り、セレクタ14はシフトモード制御信号SMによって制御される。しかし、テスト回路TCの制御に関係しない制御端子を新たに設け、この制御端子から出力される制御信号によってセレクタ14を制御することも可能である。
【0069】
スキャンフリップフロップHSFFのフリップフロップ15に記憶された値を観察する方法について説明する。図5において、スキャンフリップフロップHSFFのセレクタ14のデータ入力0端子に入力される保持制御信号HLDは保持制御信号HLD0である。図5に示される構成では、スキャンフリップフロップHFSSに保持されたデータが入力側のテスト回路TCのスキャンイン端子siに入力されるので、保持制御信号HLD0をスキャンパスからスキャンアウトデータSOとして取りだした後に観察することが可能となる。
【0070】
図5においてスキャンフリップフロップHSFFはスキャンイン端子SIと入力側のテスト回路TCのスキャンイン端子siとの間に挿入されるが、入力側のテスト回路TCのスキャンアウト端子soと出力側のテスト回路TCのスキャンイン端子siとの間に挿入されても同じ作用が得られ、保持制御信号HLDの観察が可能となる。また、出力側のテスト回路TCのスキャンアウト端子soとスキャンアウト端子SOとの間に挿入されても同じ作用が得られる。
【0071】
以上の記述から明らかなように、スキャンフリップフロップHFSSはデータ回路1の動作試験のために直接必要となるものではない。以後、本実施の形態及び他の実施の形態において、特に必要とされない限りスキャンフリップフロップHSFFは図示及び説明を省略されるものとする。
【0072】
次に、本実施の形態に従う別の制御回路についての説明を行う。図7は図にて示される制御回路CTL1の代わりに用いられる制御回路CTL2を示す回路図である。
【0073】
制御回路CTL2について説明を行う。制御回路CTL2はシフトモード制御信号SM及び保持制御信号HLD0を入力され、テスト回路TCにテスト保持制御信号thld及びシフトモード制御信号smを出力する回路である。
【0074】
制御回路CTL2は、シフトモード制御信号SMが“0”のとき、テスト保持制御信号thld及びシフトモード制御信号smとして保持制御信号HLD0を出力する。シフトモード制御信号SMが“1”のとき、テスト保持制御信号thldとして“0”を、シフトモード制御信号smとして“1”を制御回路CTL2は出力する。
【0075】
制御回路CTL2の構成について図7に基づき説明を行う。制御回路CTL2は二つのゲートを用いて構成可能である。それぞれのゲートは二つの入力端子と一つの出力端子を有する。一方のゲートはゲート20であり、他方のゲートはORゲート21である。ゲート20は反転入力端子reに入力される入力信号reの反転論理と入力端子geに入力される入力信号geとの論理積を取るゲートである。ORゲート21はORゲート21に入力される二つの入力信号の論理和を取るゲートである。
【0076】
制御回路CTL2の接続状態について説明を行う。保持端子HLD0はゲート20の入力端子ge及びORゲート21の一方の入力端子に共通に接続される。シフトモード端子SMはゲート20の反転入力端子re及びORゲート21の他方の入力端子に共通に接続される。ゲート20の出力端子はテスト回路TCにテスト保持制御信号thldを出力し、ORゲート21の出力端子はテスト回路TCにシフトモード制御信号smを出力する。制御回路CTL1と異なる点とは、制御回路CTL2にはテスト端子TESTが備えられないことである。
【0077】
図7に示される制御回路の回路動作を以下にまとめる。回路動作としては、通常動作の制御及びスキャンテスト動作の制御が存在する。通常動作及びスキャンテストにおける制御回路CTL2に関するそれぞれの信号及びデータの最適な設定値を表2に示す。
【0078】
【表2】
Figure 0003691144
【0079】
まず通常動作について説明を行う。通常動作時にはシフトモード制御信号SMを“0”とする。シフトモード制御信号SMが“0”のとき、ゲート20及びORゲート21は、保持制御信号HLD0の論理をテスト保持制御信号thld及びシフトモード制御信号smとして入力側及び出力側のテスト回路TCに与える。このとき、保持制御信号HLD0が“0”ならば入力側では入力データINが入力側の接続回路CCを介してデータ回路1の入力端子DIに取り込まれる。出力側では出力データDOが出力側の接続回路CCを介してデータ出力端子OUTに出力される。保持制御信号HLD0が“1”ならば、入力データIN及び出力データDOは接続回路CCにおいてそれぞれ保持される。
【0080】
次にスキャンテスト動作について説明する。スキャンテスト時には、テストパターンのシフトイン、実行、テスト結果のシフトアウトを順に行う。
【0081】
1.テストパターンのシフトイン
シフトモード制御信号SMを“1”とすると、データ回路1に入力するテストパターンをスキャンイン端子SIからシフトインすることが可能である。
【0082】
2.実行
シフトモード制御信号SMを“0”とする。シフトモード制御信号SMが“0”なので、回路動作は通常動作と等しい。このとき、入力側あるいは出力側のそれぞれの接続回路CCを介して、入力データINが入力端子DIに取り込まれ、データ回路1のテスト結果である出力データDOはデータ出力端子OUTに出力される。
【0083】
3.テスト結果のシフトアウト
シフトモード制御信号SMを“1”とする。このときテスト結果を順にスキャンアウト端子SOからシフトアウトする。
【0084】
以上が図7に示される回路の回路動作である。
【0085】
図7に示される制御回路CTL2を、図9に示されるCTL2aと交換しても同一の回路動作が得られる。制御回路CTL2aについて説明を行う。制御回路CTL2と同様に、制御回路CTL2aはシフトモード制御信号SM及び保持制御信号HLD0を入力され、テスト回路TCにテスト保持制御信号thld及びシフトモード制御信号smを出力する回路である。
【0086】
制御回路CTL2aは、シフトモード制御信号SMが“0”のとき、テスト保持制御信号thld及びシフトモード制御信号smとして保持制御信号HLD0を出力する。シフトモード制御信号SMが“1”のとき、テスト保持制御信号thldとして“0”を、シフトモード制御信号smとして“1”を制御回路CTL2aは出力する。
【0087】
制御回路CTL2aの構成について図9に基づき説明を行う。制御回路CTL2aは二つのゲートを用いて構成可能である。それぞれのゲートは二つの入力端子と一つの出力端子を有する。一方のゲートはゲート20aであり、他方のゲートはORゲート21aである。ゲート20a及びORゲート21はそれぞれゲート20及びORゲート21と同一の構成及び働きを有するゲートである。
【0088】
制御回路CTL2aの接続状態について説明を行う。保持端子HLD0はゲート20aの入力端子geに接続される。シフトモード端子SMはゲート20aの反転入力端子re及びORゲート21aの一方の入力端子に共通に接続される。ゲート20aの出力端子はテスト回路TCのテスト保持端子thld及びゲート21aの他方の入力端子に共通に接続される。ORゲート21aの出力端子はテスト回路TCのシフトモード端子smに接続される。
【0089】
テスト制御信号TESTを受けない制御回路CTL2及び2aを用いると、図4に示される回路において、データ回路1のスキャンテストをデータ回路1aから与えられる保持制御信号HLD0とは独立に行うことが不可能となる。しかし、制御回路CTL1においてはセレクタ5,6という二つのセレクタが用いられている。二入力のセレクタは図8に示されるように、三つのゲートによって構成される。三つのゲートのうち、一つはANDゲートG1であり、一つはORゲートG2であり、残る一つは反転入力端子re及び入力端子geを有するゲートG3である。従って、セレクタ5,6をゲート20及びORゲート21という二つのゲートに交換することによって、回路面積が縮小される。
【0090】
実施の形態2.
本実施の形態においては、試験結果を保持して圧縮する機能が付加される、論理回路の試験回路を示す。また、本実施の形態においては、論理回路の動作試験時にデータの保持を可能とする制御回路を示す。さらに、本実施の形態においては、入力側の試験回路と出力側の試験回路とを独立に制御する試験回路を示す。
【0091】
図10は論理回路及び本実施の形態に従う試験回路を示す回路図である。実施の形態1にて示された回路等と同一の構成、働き等を有するものに対しては同一の参照符号を付け、説明は省略するものとする。
【0092】
同図に示されるとおり、データ回路1はテスト回路TCによって入力の制御が行われ、テスト回路CTCによって出力の制御が行われる。
【0093】
テスト回路CTCについて説明を行う。テスト回路CTCはデータ出力端子OUTとデータ回路1の出力端子DOとの間に挿入される。テスト回路CTCは、テスト回路TCと同様に入力端子d[0]〜[3]、出力端子q[0]〜[3]、スキャンイン端子si、テスト保持端子thld、シフトモード端子sm及び、スキャンアウト端子soを備え、さらに期待データ端子exp及び比較端子cmpenを備える回路である。テスト回路CTCは、実際にデータ回路1がテストパターンに対して出力するデータDOと期待データとEXPを比較する機能を有し、さらに比較結果を保持してテスト結果を圧縮する機能を有する。ここで期待データEXPとは、正常に動作するデータ回路1がデータ回路1に入力されるテストパターンに対して固有に出力する出力データパターンのことである。期待データEXPは期待データ端子expに入力される。
【0094】
ここでテスト結果の圧縮について説明する。テスト開始前に、テスト回路CTCにおいて“0”が保持されないように設定しておく。比較されるデータが一致しないとテスト回路CTCにおいて一度も判定されなければ、テスト回路CTC内にて“0”は保持されない。テスト回路CTCにおいて比較されるデータが一致しないと一度でも判定されたならば、テスト回路CTC内にて“0”が保持される。一旦“0”が保持されると、“0”が続いて保持される。以上がテスト結果の圧縮である。
【0095】
また、圧縮テストとはテスト結果の圧縮を利用する試験を表す。テスト終了後にテスト回路CTC内に“0”が保持されていないことが確認されたならば、全ての期待される出力データと同一のデータをデータ回路1が出力したことが観察され、データ回路1が正常に動作したことが確認される。テスト回路CTC内に“0”が保持されていることが確認されたならば、データ回路1が期待される出力データとは異なるデータを少なくとも一度は出力したことが観察され、データ回路1が正常に動作しなかったことが確認される。従って、テストパターンをデータ回路1に入力する度にテスト結果を観察する必要がなくなる。複数のテストパターンを順にデータ回路1に入力すると同時にテスト回路CTCにてテスト結果を圧縮させ、圧縮されたテスト結果を圧縮テスト終了後に観察することのみによって、データ回路1の動作試験を行うことが可能となる。
【0096】
テスト保持端子thld、シフトモード端子sm、比較端子cmpen及び期待データ端子expにそれぞれ入力される、テスト保持制御信号thld、シフトモード制御信号sm、比較イネーブル信号CMPEN及び期待データEXPによるテスト回路CTCの動作について説明する。
【0097】
テスト回路CTCは期待データEXPと入力データdとを比較する機能を有する回路である。シフトモード制御信号smが“0”のとき、テスト回路CTCは入力端子dに入力されるデータを取り込み、そのまま出力端子qから出力する。シフトモード制御信号smが“1”であり、かつテスト保持制御信号thldが“0”のとき、テスト回路CTCはスキャンイン端子siからデータを取り込み、スキャンアウト端子soからデータを出力する。シフトモード制御信号smが“1”、テスト保持制御信号thldが“1”であり、かつ比較イネーブル信号CMPENが“0”のとき、テスト回路CTCは圧縮されたテスト結果を保持する。シフトモード制御信号smが“1”、テスト保持制御信号thldが“1”であり、かつ比較イネーブル信号CMPENが“1”のとき、テスト回路CTCは入力される期待データEXPと入力データdとの比較結果を圧縮して保持する。
【0098】
以上のような動作を行うテスト回路CTCは、図11に示される接続回路CCCを用いることによって得られる。接続回路CCCについて説明を行う。接続回路CCCは、入力端子cd、スキャンイン端子csi、テスト保持端子cthld、シフトモード端子csm、スキャンアウト端子cso、期待データ端子cexp及び比較端子ccmpenを備える回路である。セレクタ2,3、フリップフロップ4、Ex−ORゲート30、NANDゲート31及びANDゲート32によって接続回路CCCは構成される。
【0099】
セレクタ2,3はデータ入力0端子及びデータ入力1端子、出力端子ならびに制御端子をそれぞれ有するセレクタである。セレクタ2はテスト保持制御信号cthldによって、セレクタ3はシフトモード制御信号csmによって切替の制御が行われる。入力端子cdはEx−ORゲート30の一方の入力端子及びセレクタ3のデータ入力0端子に共通に接続される。期待データ端子cexpはEx−ORゲート30の他方の入力端子に接続される。Ex−ORゲート30の出力端子はNANDゲート31の一方の入力端子に接続され、NANDゲート31の他方の入力端子には比較端子ccmpenが接続される。NANDゲート31の出力端子はANDゲート32の一方の入力端子に接続され、フリップフロップ4の出力端子がANDゲート32の他方の入力端子に接続される。ANDゲート32の出力端子はセレクタ2のデータ入力1端子に接続され、スキャンイン端子csiはセレクタ2のデータ入力0端子に接続される。セレクタ2の出力端子はセレクタ3のデータ入力1端子に接続され、前述のように入力端子cdがセレクタ3のデータ入力0端子に接続される。セレクタ3の出力端子はフリップフロップ4の入力端子に接続される。フリップフロップ4の出力データは前述の如くANDゲート32の他方の入力端子に入力され、また接続回路CCCのスキャンアウト端子csoに接続される。
【0100】
接続回路CCCの回路動作について説明を行う。
【0101】
1.接続回路CCCは、シフトモード制御信号csmが“0”のとき、入力端子cdに入力される信号をセレクタ3及びフリップフロップ4を介して出力する。
【0102】
2.シフトモード制御信号csmが“1”であり、かつテスト保持制御信号cthldが“0”のとき、接続回路CCCはスキャンイン端子csiに入力されるデータをセレクタ2,3及びフリップフロップ4を介してスキャンアウト端子csoから出力する。
【0103】
3.シフトモード制御信号csmが“1”であり、テスト保持制御信号cthldが“1”のときの回路動作について以下に説明を行う。
【0104】
比較端子ccmpenから入力される比較イネーブル信号ccmpenが“0”のとき、NANDゲート31はEx−ORゲート30からの出力データに関わりなく“1”をANDゲート32に出力する。このときゲート32はフリップフロップ4の出力データをセレクタ2,3を介してフリップフロップ4に出力する。従って、接続回路CCCはフリップフロップ4のデータを保持し続ける。
【0105】
比較端子ccmpenから入力される比較イネーブル信号ccmpenが“1”のとき、NANDゲート31はEx−ORゲート30の出力データの反転論理を出力する。Ex−ORゲート30は期待データexpと入力データcdが一致するときには“0”を出力し、一致しないときには“1”を出力する。従って、Ex−ORゲート30において期待データexpと入力データcdが一致するときには、NANDゲート31は“1”をANDゲート32に出力する。このときゲート32はフリップフロップ4の出力データをセレクタ2,3を介してフリップフロップ4に出力する。従って、接続回路CCCはフリップフロップ4のデータを保持し続ける。Ex−ORゲート30において期待データexpと入力データcdが一致しないときには、NANDゲート31は“0”をANDゲート32に出力する。このとき、ANDゲート32は“0”をセレクタ2,3を介してフリップフロップ4に出力し、フリップフロップ4はANDゲート32に“0”を出力する。これによって、ANDゲート32、セレクタ2,3及びフリップフロップ4において“0”が保持される状態が続く。
【0106】
接続回路CCCを用いることによって、上述のテスト回路CTCの回路動作が得られる。
【0107】
データ入力端子d[0]〜[3]と出力端子q[0]〜[3]との間に接続回路CCC[0]〜[3]がそれぞれ挿入され接続されて4ビットのテスト回路CTCが構成される。テスト回路CTCを図13に示す。
【0108】
テスト回路CTCの構成について詳細に述べると以下のようになる。接続回路CCC[N]の入力端子cd[N]、テスト保持端子cthld[N]、シフトモード端子csm[N]、スキャンアウト端子cso[N]、期待データ端子cexp[N]及び比較端子ccmpen[N]はそれぞれテスト回路CTCの入力端子d[N]、テスト保持端子thld、シフトモード端子sm、出力端子q[N]、期待データ端子exp及び比較端子cmpenに接続される。さらに、接続回路CCC[N]のスキャンアウト端子cso[N]は接続回路CCC[N+1]のスキャンイン端子csi[N+1]に接続される。但しN=3のとき、接続回路CCC[3]のスキャンアウト端子csi[3]はテスト回路CTCのスキャンアウト端子soに接続される。また、接続回路CCC[0]のスキャンイン端子csi[0]はテスト回路CTCのスキャンイン端子siに接続される。
【0109】
論理回路及び本実施の形態に従う試験回路を含んで成る回路について、図10を用いて説明を行う。
【0110】
まず通常動作に必要である、データ入力端子IN及びデータ出力端子OUTならびにデータ回路1とテスト回路TC,CTCとの接続について説明を行う。データ回路1の入力側においては、テスト回路TCの入力端子d[N]及び出力端子q[N]がデータ入力端子IN[N]及びデータ回路1の入力端子DI[N]とそれぞれ接続される。出力側においても同様に、テスト回路CTCの入力端子d[N]及び出力端子q[N]がデータ回路1の出力端子DO[N]及びデータ出力端子OUT[N]と接続される。
【0111】
次にスキャンテストを行う際に用いられる、スキャンイン端子SI及びテスト回路TC,CTCのそれぞれのスキャンイン端子siならびにスキャンアウト端子SO及びテスト回路TC,CTCのそれぞれのスキャンアウト端子soの接続について説明を行う。スキャンイン端子SIはテスト回路TCのスキャンイン端子siに接続される。テスト回路TCのスキャンアウト端子soはテスト回路CTCのスキャンイン端子siに接続される。テスト回路CTCのスキャンアウト端子soはスキャンパスの最終の出力端子であるスキャンアウト端子SOに接続される。
【0112】
本実施の形態においては、図10にて示されるように、テスト回路TCのシフトモード端子smに保持制御信号HLD0及びシフトモード制御信号SMのうちのいずれかが与えられる。テスト回路CTCのシフトモード端子smに保持制御信号HLD1及びシフトモード制御信号SMのうちのいずれかが与えられる。また、テスト回路TCのテスト保持端子thldには保持制御信号HLD0及びテスト保持制御信号THLD0のうちのいずれかが与えられる。テスト回路CTCのテスト保持端子thldには保持制御信号HLD1及びテスト保持制御信号THLD1のうちのいずれかが与えられる。テスト回路CTCの期待データ端子exp及び比較端子cmpenにはそれぞれ期待データEXP及び比較イネーブル信号CMPENを与えて制御を行う。
【0113】
以上記述したような制御信号を与える制御回路を図14に示す。図14はテスト回路TCを制御する制御回路CTL3及びテスト回路CTCを制御する制御回路CCTL3の設けられる回路を示す回路図である。
【0114】
制御回路CTL3は、保持制御信号HLD0、テスト保持制御信号THLD0、シフトモード制御信号SM及びテスト制御信号TESTを受けて、テスト保持制御信号thld及びシフトモード制御信号smをテスト回路TCに与える。制御回路CTL3と同様に、制御回路CCTL3は、保持制御信号HLD1、テスト保持制御信号THLD1、シフトモード制御信号SM及びテスト制御信号TESTを受けて、テスト保持制御信号thld及びシフトモード制御信号smをテスト回路CTCに与える。シフトモード制御信号SM及びテスト制御信号TESTは共通に制御回路CTL3及びCCTL3に与えられる。また、制御回路CCTL3とは独立に、期待データEXP及び比較イネーブル信号CMPENがテスト回路CTCに与えられる。
【0115】
まず、制御回路CTL3の回路動作について説明を行う。制御回路CTL3は、テスト制御信号TESTが“0”のとき、テスト保持制御信号thld及びシフトモード制御信号smとして保持制御信号HLD0を出力する。テスト制御信号TESTが“1”のとき、テスト保持制御信号thldとしてテスト保持制御信号THLD0を、シフトモード制御信号smとしてシフトモード制御信号SMを制御回路CTL3は出力する。
【0116】
次に、制御回路CCTL3の回路動作について説明を行う。制御回路CCTL3の回路動作は制御回路CTL3の回路動作と同様である。制御回路CCTL3は、テスト制御信号TESTが“0”のとき、テスト保持制御信号thld及びシフトモード制御信号smとして保持制御信号HLD1を出力する。テスト制御信号TESTが“1”のとき、テスト保持制御信号thldとしてテスト保持制御信号THLD1を、シフトモード制御信号smとしてシフトモード制御信号SMを制御回路CCTL3は出力する。
【0117】
制御回路CTL3の構成について図14に基づき説明を行う。セレクタ5,6によって制御回路CTL3は構成される。セレクタ5,6はデータ入力0端子及びデータ入力1端子、出力端子ならびに制御端子をそれぞれ有するセレクタである。セレクタ5,6の制御端子にはセレクタ5,6を同時に切替えるためのテスト制御信号TESTが入力される。データ入力0端子はテスト制御信号TESTが“0”のときに選択され出力端子に接続される。一方、データ入力1端子はテスト制御信号TESTが“1”のときに選択され出力端子に接続される。よって、セレクタ5,6に入力されるテスト制御信号TESTの“1”,“0”を切替えることによって、セレクタ5,6からそれぞれ出力されるデータを選択することが可能となる。セレクタ5,6のそれぞれのデータ入力0端子には保持端子HLD0が共通に接続される。セレクタ5のデータ入力1端子にはテスト保持端子THLD0が接続され、セレクタ6のデータ入力1端子にはシフトモード端子SMが接続される。セレクタ5の出力端子はテスト回路TCのテスト保持端子thldに接続される。セレクタ6の出力端子はテスト回路TCのシフトモード端子smに接続される。
【0118】
制御回路CCTL3の構成について図14に基づき説明を行う。制御回路CCTL3の接続は制御回路CTL3の接続と同様である。制御回路CTL3を
セレクタ5,6→セレクタ7,8
保持端子HLD0→保持端子HLD1
テスト保持端子THLD0→テスト保持端子THLD
のように変換して制御回路CCTL3は構成される。
【0119】
図14に示される制御回路の回路動作を以下にまとめる。回路動作としては、通常動作、通常のスキャンテスト動作及びテスト結果の圧縮機能を用いるスキャンテスト動作が存在する。通常のスキャンテスト動作とは、実施の形態1において示されるスキャンテスト動作である。テスト結果の圧縮機能を用いるスキャンテスト動作とは、実際の論理回路の出力データと期待される論理回路の出力データとを論理回路の出力側において比較し、比較結果を保持する事によってテスト結果を圧縮し、圧縮した後にデータをスキャンアウトするという動作である。通常動作、通常のスキャンテスト及びテスト結果の圧縮機能を用いるスキャンテストにおける、それぞれの信号及びデータの最適な設定値を表3に示す。
【0120】
【表3】
Figure 0003691144
【0121】
まず通常動作について説明を行う。通常動作時にはテスト制御信号TESTを“0”とし、比較イネーブル信号CMPENを“0”とする。めに入力側について説明を行う。テスト制御信号TESTが“0”のときにセレクタ5,6はデータ入力0端子に入力されるデータを出力するので、保持制御信号HLD0がテスト保持制御信号thld及びシフトモード制御信号smとしてテスト回路TCに与えられる。このとき、保持制御信号HLD0が“0”ならば、入力データINがテスト回路TCを構成する接続回路CCを介してデータ回路1の入力端子DIに取り込まれる。保持制御信号HLD0が“1”ならば、入力データINは接続回路CCにおいて保持される。出力側においては、セレクタ7,8がデータ入力0端子に入力されるデータを出力するので、保持制御信号HLD1がテスト保持制御信号thld及びシフトモード制御信号smとしてテスト回路CTCに与えられる。このとき、保持制御信号HLD1が“0”ならば、出力データDOがテスト回路CTCを構成する接続回路CCCを介してデータ出力端子OUTに出力される。保持制御信号HLD1が“1”ならば、比較イネーブル信号CMPENが“0”なので、出力データDOは接続回路CCCにおいて保持される。
【0122】
通常動作、通常のスキャンテスト及びテスト結果の圧縮機能を用いるスキャンテストにおいては、テスト制御信号TESTを“1”とする。テスト制御信号TESTが“1”のとき、制御回路CTL3を構成するセレクタ5,6及び制御回路CCTL3を構成するセレクタ7,8はデータ入力1端子に入力されるデータをそれぞれ出力する。このとき、入力側においては、テスト保持制御信号THLD0及びシフトモード制御信号SMがそれぞれテスト保持制御信号thld及びシフトモード制御信号smとしてテスト回路TCに出力される。出力側においては、テスト保持制御信号THLD1及びシフトモード制御信号SMがそれぞれテスト保持制御信号thld及びシフトモード制御信号smとしてテスト回路CTCに出力される。
【0123】
次に通常のスキャンテスト動作について説明する。通常のスキャンテスト時には比較イネーブル信号CMPENを“0”とする。通常のスキャンテスト時には、テストパターンのシフトイン、実行、テスト結果のシフトアウトを順に行う。また、接続回路CC,CCCにおいてデータの保持を行うことが可能である。
【0124】
1.テストパターンのシフトイン
データ回路1にテストパターンを入力する準備として、入力側の接続回路CCにテストパターンをシフトインする。テスト保持制御信号THLD0を“0”、かつシフトモード制御信号SMを“1”とすると、データ回路1に入力するテストパターンをスキャンイン端子SIからシフトインすることが可能である。本実施の形態のデータ回路1は4ビットであるので、4ビットのテストパターンがシフトインされる。テストパターンは入力側の接続回路CC[0]→CC[1]→CC[2]→CC[3]の順でシフトされ、入力側の接続回路CC[0]〜[3]にテストパターンが入力される。
【0125】
2.実行
シフトモード制御信号SMを“0”とする。このとき、入力側では接続回路CCを介して入力データINが入力端子DIに取り込まれ、出力側では接続回路CCCを介してデータ回路1のテスト結果である出力データDOがデータ出力端子OUTに出力される。
【0126】
3.テスト結果のシフトアウト
テスト保持制御信号THLD1を“0”、かつシフトモード制御信号SMを“1”とする。このときテスト結果を順にスキャンアウト端子SOからシフトアウトする。
【0127】
スキャンテストの途中でデータの保持を行いたいときには、シフトモード制御信号SMを“1”とする。保持制御信号THLD0が“1”ならば、入力側において接続回路CCがデータを保持する。保持制御信号THLD1が“1”ならば、出力側において接続回路CCCがデータを保持する。
【0128】
もちろん、出力側のテスト回路CTCをテスト回路TCに置き換えても、上述の通常動作及び通常のスキャンテストを行うことは可能である。また、通常動作時のデータの保持及び通常のスキャンテスト時のデータの保持を接続回路CCあるいはCCCにて兼用して行うので、回路のオーバーヘッドを縮小し、回路面積を小さくすることが可能である。
【0129】
スキャンテスト動作における実行時に、入力端子DIに取り込まれた入力データINを保持することによって、一つのスキャンパスで複数の論理回路のスキャンテストを行うことが可能となる。以下に説明を行う。
【0130】
図15はデータ回路1inの入力側、データ回路1inの出力側とデータ回路1の入力側との間、データ回路1の出力側とデータ回路1outの入力側との間及びデータ回路1outの出力側においてテスト回路TCa,TC,TCb及びTCcがそれぞれ設けられ、スキャンパスが構成される回路を示す回路図である。データ回路1in及び1outはそれぞれ論理回路である。データ回路1inはデータ回路1に入力データINを与える。データ回路1はデータ回路outに出力データOUTを与える。テスト回路TCa,TC,TCb及びTCcはそれぞれ、図示されない制御回路CTLTCa,CTL3,CTLTCb及びCTLTCcによって制御される。テスト回路TCaはテスト回路TCと同様の働きを有するテスト回路である。テスト回路TCb及びTCcはテスト回路TCあるいはCTCと同様の構成及び働きを有するテスト回路である。
【0131】
データ回路1in,1及び1outが順に並べられ、スキャンパスは、スキャンイン端子SI→テスト回路TCa→テスト回路TC→テスト回路TCb→テスト回路TCc→スキャンアウト端子SOのように構成されている。
【0132】
データ回路1の入力端子DIに実行時に取り込まれたデータ回路1inからの入力データINをテスト回路TCによって保持する後にシフトアウトしてスキャンアウト端子SOから取り出す。同様の操作をテスト回路TCbあるいはTCcにて行うことが可能である。
【0133】
上述の操作を行えば、一つのスキャンパスで複数の論理回路のスキャンテストを行うことが可能となる。
【0134】
通常のスキャンテストにおいては、テストパターンの数だけ1〜3に記述される動作を繰り返さねばならない。次に、全てのパターンに対して一回のシフトアウトを行えば足りるというスキャンテスト、すなわちテスト結果の圧縮機能を用いるスキャンテスト動作について説明する。
【0135】
テスト結果の圧縮機能を用いるスキャンテスト動作について図14を用いて説明する。テスト結果の圧縮機能を用いるスキャンテスト時には、初期設定の後に、テストパターンのシフトインと比較及び圧縮とを交互に行う。全ての所望のテストパターンに対する比較及び圧縮が済んだ後に、圧縮されたテスト結果のシフトアウトを行う。
【0136】
テスト結果の圧縮機能を用いるスキャンテスト時には比較イネーブル信号CMPENは“0”と“1”の両方の値を採る。
【0137】
1.初期設定
初期設定として、テスト回路CTCを構成する接続回路CCCに含まれる全てのフリップフロップ4に“1”を設定する。シフトモード制御信号SMを“1”、テスト保持制御信号THLD0,THLD1をそれぞれ”0”に設定して、スキャンイン端子SIから“1”をシフトインするとフリップフロップ4に“1”が設定される。比較イネーブル信号CMPENは“0”に設定する。
【0138】
2.テストパターンのシフトインならびに比較及び圧縮
データ回路1にテストパターンを入力する準備として、入力側の接続回路CCにテストパターンをシフトインする。このとき、初期設定において接続回路CCCのフリップフロップ4に設定された“1”を保持するために、テスト保持制御信号THLD1を“1”にする。テスト保持制御信号THLD0及びシフトモード制御信号SMのそれぞれの値は初期設定時の値と等しい。すなわち、テスト保持制御信号THLD0が“0”、テスト保持制御信号THLD1が“1”であり、かつシフトモード制御信号SMが“1”という状態で、データ回路1に入力するテストパターンをスキャンイン端子SIからシフトインする。
【0139】
本実施の形態のデータ回路1は4ビットであるので、4ビットのテストパターンがシフトインされる。テストパターンは入力側の接続回路CC[0]→CC[1]→CC[2]→CC[3]の順でシフトされ、入力側の接続回路CC[0]〜[3]にテストパターンが入力される。例えばテストパターンとして4次の全周期系列を与える。ここで、全周期系列とは、M系列に全てのビットが“0”であるデータを付け加えたものでる。従って、全周期系列は全ての組み合わせのデータを発生する。従って、テストパターンとして全周期系列を与えることによって、全ての組み合わせのテストパターンを効率よく接続回路CCに設定することが可能となる。また、マーチングパターンにおいて順次“0”“1”が繰り返されるように、テスト保持制御信号THLD0が“0”のときにテストパターンをシフトインして、次にテスト保持制御信号THLD0を”1”としてテストパターンを接続回路CCにて保持することを繰り返しながらデータ回路1にテストパターンを入力することによって、データ回路1に効率よくテストパターンを入力することが可能となる。
【0140】
期待データEXPが入力される状態において、テストを行いたいテストパターンに対してのみ比較イネーブル信号CMPENを“1”とする事によってデータ回路1の出力データと期待データEXPを比較する。テスト回路CTCの上述の回路動作によって、比較結果は圧縮される。
【0141】
3.テスト結果のシフトアウト
テスト保持制御信号THLD1を“0”、かつシフトモード制御信号SMを“1”とする。このとき、接続回路CCCにて圧縮されたテスト結果を順にスキャンアウト端子SOからシフトアウトする。
【0142】
以上が図14に示される回路の回路動作である。図11に示される接続回路CCCの代わりに、図12に示される接続回路CCCrを用いても同様の回路動作を得ることが可能である。接続回路CCCrにおいては、フリップフロップに通常備わるリセット端子が有効に活用されることが特徴となっている。接続回路CCCrについて、接続回路CCCとの違いをふまえながら説明を行う。
【0143】
接続回路CCCrは、接続回路CCCの備える端子と同一の働きを有する端子を備え、さらにクロック端子tを備える。すなわち、接続回路CCCrに備わる入力端子cdr、スキャンイン端子csir、テスト保持端子cthldr、シフトモード端子csmr、スキャンアウト端子csor、期待データ端子cexpr及び比較端子ccmpenrはそれぞれ、接続回路CCCに備わる入力端子cd、スキャンイン端子csi、テスト保持端子cthld、シフトモード端子csm、スキャンアウト端子cso、期待データ端子cexp及び比較端子ccmpenと同一の働きを有する。
【0144】
また、接続回路CCCrはセレクタ2,3、フリップフロップ4r、Ex−ORゲート30r、及びゲート31rによって構成される。Ex−ORゲート30rはEx−ORゲート30と同一の構成及び働きを有し、ゲート31rは二つの入力端子にそれぞれ入力される信号と、一つの反転入力端子に入力される信号の反転信号との否定論理積をとり、出力端子から出力する回路である。
【0145】
フリップフロップ4にはリセット端子及びクロック端子が備わっていたがこれまでの実施の形態においては特別な機能を果たす必要はなかった。よって、それらの説明及び図示は省略されていた。接続回路CCCrにおいては、リセット端子を有効に活用し、さらにクロック端子に入力される信号を利用することによって同期をとり、テスト結果の圧縮を行う。従って、接続回路CCCrにおいてのみフリップフロップ4rのリセット端子とクロック端子の図示を特に行う。これに伴い、テスト回路CTCにもクロック端子Tを付け加え、接続回路CCCrのクロック端子tと接続させることが必要となる。しかし、テスト回路CTCに置けるクロック端子Tの図示は省略するものとする。
【0146】
接続回路CCCrと接続回路CCCとの主たる違いとは、
1.ゲート31rとNANDゲート31及びANDゲート32との違い、
2.フリップフロップ4とセレクタ2との接続と、フリップフロップ4rとセレクタ2との接続との違い
3.クロック端子tの存在及び接続から生ずる違い
である。他の接続は同様であるので、説明は省略する。
【0147】
Ex−ORゲート30rの出力端子はゲート31rの一方の入力端子に接続され、ゲート31rの他方の入力端子には比較端子ccmpenrが接続される。ゲート31rの反転入力端子にはクロック端子tが接続され、同時にクロック端子tはフリップフロップ4rのクロック端子にも共通に接続される。ゲート31rの出力端子はフリップフロップ4rのリセット端子に接続される。フリップフロップ4rのリセット端子は“0”を受けたときに、自身の中に記憶されるデータをリセットする。フリップフロップ4rの出力端子はセレクタ2のデータ入力1端子に接続され、また接続回路CCCrのスキャンアウト端子csorに接続される。
【0148】
接続回路CCCrの回路動作について説明を行う。接続回路CCCrを用いても、接続回路CCCの回路動作1,2と全く同一の回路動作が得られ、また接続回路CCCの回路動作3と同様の回路動作が得られる。そこで、接続回路CCCrを用いる場合の回路動作3について、説明を以下に行う。
【0149】
比較イネーブル信号ccmpenrが“0”のとき、ゲート31rはEx−ORゲート30rからの出力データとクロック端子tに入力されるクロック信号tとに関わりなく“1”をフリップフロップ4rのリセット端子に出力する。従ってフリップフロップ4rにおいてデータはリセットされず、接続回路CCCrはフリップフロップ4rのデータを保持し続ける。
【0150】
比較イネーブル信号ccmpenrが“1”であり、かつクロック端子tから入力されるクロック信号tが“0”のとき、ゲート31rはEx−ORゲート30rの出力データの反転論理を出力する。従って、Ex−ORゲート30rにおいて期待データexpと入力データcdが一致する場合には、ゲート31rは“1”をフリップフロップ4rのリセット端子に出力する。従って、接続回路CCCはフリップフロップ4rのデータを保持し続ける。
【0151】
このとき、Ex−ORゲート30rにおいて期待データexprと入力データcdrとが一致しない場合には、ゲート31rは“0”をフリップフロップ4rのリセット端子に出力する。従って、フリップフロップ4rにおいてデータはリセットされるので、セレクタ2,3及びフリップフロップ4rにおいて“0”が保持される状態が続く。
【0152】
すなわち、期待データexprと入力データcdrとが一致するときにはフリップフロップ4rのデータを保持し、一致しないときにはフリップフロップ4rにて“0”を保持し続けるという回路機能を接続回路CCCrは有する。この回路機能は接続回路CCCの回路機能と同一である。しかし、特に接続回路CCCrを用いることによって、以下の利点を得ることが可能となる。
【0153】
接続回路CCCにおいては、データの保持をセレクタ2,3、フリップフロップ4及びANDゲート32によって形成されるループによって行っていた。しかし接続回路CCCrにおいてはセレクタ2,3及びフリップフロップ4rのみによって形成されるループによってデータの保持を行うので、余計なノイズ等によってデータが影響を受ける可能性が低減される。
【0154】
また接続回路CCCrにおいては、クロック信号tによって同期をとっているが、ゲート31rから反転入力端子を取り除くことによってゲート31rをNANDゲートとして、クロック信号による同期をとらないようにしても良い。
【0155】
以上の説明から明らかなように、接続回路CCCを用いる場合と同様に、接続回路CCCrを用いてテスト回路CTCを構成することが可能である。
【0156】
テスト回路CTCをデータ回路1の出力側に設け、テスト結果の圧縮機能を用いるスキャンテストを行うことによって、複数のテストパターンに対するテスト結果のシフトアウトが一回ですむという利点が生ずる。従って、複数のテストパターンに対して通常のスキャンテストを複数回行う為に要する時間よりも、複数のテストパターンに対してテスト結果の圧縮機能を用いるスキャンテストを行うために要する時間の方が短い。すなわち、テスト時間を短縮可能である。
【0157】
図14に示される制御回路CTL3を用いると、実施の形態1にて記述された効果と同様の効果が生ずる。制御回路CTL3においては、テスト制御信号TESTによって保持端子HLD0とテスト保持端子THLD0及びシフトモード端子SMとのうちどちらが選択されるかが制御される。従って、制御回路CTL3を用いることによって、図4に示される回路においてデータ回路1のスキャンテストをデータ回路1aから与えられる保持制御信号HLD0とは独立に行うことが可能となる。
【0158】
制御回路CTL3と制御回路CCTL3との構成の違いとは、入力される制御信号による違いのみであり、テスト制御信号TESTによって同時に制御されるので、セレクタ5,6の動作とセレクタ7,8の動作は同一である。すなわち、制御回路の構成に関する発明に関しては、テスト回路TCを制御する制御回路の説明を行い、この説明をテスト回路CTCを制御する制御回路の説明に替えることが可能である。従って、データ回路1の出力側の回路を省略して、図14に示される回路を図17のように図示することが可能である。今後は特に必要とされるとき以外はデータ回路1の出力側の回路の図示及び説明は省略するものとする。
【0159】
本実施の形態においては、入力側の制御回路に入力される保持制御信号HLD0と、出力側の制御回路に入力される保持制御信号HLD1とは異なる。従って、複数のスキャンフリップフロップを保持制御信号確認のために用いる必要が生ずる。複数の保持制御信号を確認するために用いられるスキャンフリップフロップに関して図16を用いて以下に説明を行う。図16は複数の保持制御信号を確認するために用いられるスキャンフリップフロップの接続の状態を示す図であり、テスト保持端子、期待データ端子及び比較端子等の図示は同図においては省略されている。
【0160】
保持制御信号HLD0,HLD1を確認する場合を考える。スキャンイン端子SIとテスト回路TCのスキャンイン端子siとの間に、スキャンフリップフロップHSFF及びHSFFaを挿入する。スキャンフリップフロップHSFFはセレクタ14及びフリップフロップ15から成る回路である。同様に、スキャンフリップフロップHSFFaはセレクタ14a及びフリップフロップ15aから成る回路である。テスト回路TCを制御する制御回路に入力される保持制御信号HLD0を確認するためにスキャンフリップフロップHFSSは設けられる。同様に、テスト回路CTCを制御する制御回路に入力される保持制御信号HLD1を確認するためにスキャンフリップフロップHFSSaは設けられる。セレクタ14,14aはデータ入力0端子及びデータ入力1端子、出力端子ならびに制御端子をそれぞれ有する。それぞれの制御端子にはセレクタ14,14aを切替えるためのシフトモード制御信号SMが入力される。データ入力0端子はシフトモード制御信号SMが“0”のときに選択され出力端子に接続される。一方、データ入力1端子はシフトモード制御信号SMが“1”のときに選択され出力端子に接続される。よって、セレクタ14,14aに入力されるシフトモード制御信号SMの“1”,“0”を切替えることによって、セレクタ14,14aから出力されるデータを選択することが可能となる。セレクタ14のデータ入力1端子にはスキャンイン端子SIが接続される。セレクタ14のデータ入力0端子には保持端子HLD0が接続される。セレクタ14の出力端子はフリップフロップ15の入力端子に接続される。フリップフロップ15の出力端子はセレクタ14aのデータ入力1端子に接続される。セレクタ14aのデータ入力0端子には保持端子HLD1が接続される。フリップフロップ15の出力端子はテスト回路TCのスキャンイン端子siに接続される。フリップフロップ15,15aはDフリップフロップあるいはDフリップフロップと同様の働きを有するフリップフロップである。
【0161】
以上のようなスキャンフリップフロップHSFF,HSFFaにおいてシフトモード制御信号SMを“0”とすることによって、フリップフロップ15,15aに保持制御信号HLD0,HLD1の値をそれぞれ記憶させることが可能となる。図16に示される構成では、スキャンフリップフロップHSFF,HSFFaの出力端子がテスト回路TCのスキャンイン端子siに接続される。従って、シフトモード制御信号SMを“1”、テスト保持制御信号THLD0,THLD1をそれぞれ“0”として、シフトモード制御信号SMが“0”のときにスキャンフリップフロップHSFF,HSFFaに記憶された保持制御信号HLD0,HLD1の論理をスキャンパスからスキャンアウトデータSOとして取りだした後に観察を行えば良い。例えばテスト保持制御信号THLD0,THLD1のような他の制御信号の観察も、同様の構成を用いることによって可能となる。
【0162】
前述の通り、セレクタ14,14aはシフトモード制御信号SMによって制御されるが、テスト回路TC,CTCの制御に関係しない制御端子を新たに設け、この制御端子から出力される制御信号によってセレクタ14,14aを制御することも可能である。しかし、前述のようにシフトモード制御信号SMを用いてセレクタ14,14aの制御を兼用することによって、以下の利点が生ずる。
【0163】
本実施の形態のテスト回路TC,CTCにおいては、テスト制御信号TESTが“1”のとき、シフトモード制御信号SMを“0”とすることによって、入力側では接続回路CCを介して入力データINが入力端子DIに取り込まれる。このとき、出力側では接続回路CCCを介してデータ回路1のテスト結果である出力データDOがデータ出力端子OUTに出力される。シフトモード制御信号SMが“0”のときには、セレクタ14,14aにおいては制御信号HLD0,HLD1がスキャンフリップフロップHSFF,HSFFaにおいて記憶されるが、テスト回路TCにはシフトインされない。スキャンテストにおいて、テストパターンのシフトインあるいはテスト結果のシフトアウトを行うときには、シフトモード制御信号SMが“1”と設定される。従って、セレクタ14,14aにおいてはスキャンイン端子SIからシフトインされるテストパターンが導通されるので、スキャンフリップフロップHSFF,HSFFaはテストパターンのシフトインあるいはテスト結果のシフトアウトを阻害しない。セレクタ14,14aの制御をシフトモード制御信号SMによって行ってもスキャンテスト動作に悪影響を及ぼすことはないので、シフトモード制御信号SMを兼用することによって、スキャンフリップフロップHSFF,HSFFaに制御信号を与える制御端子を減らすことが可能である。
【0164】
また、図16においてスキャンフリップフロップHSFF,HSFFaはスキャンイン端子SIとテスト回路TCのスキャンイン端子siとの間に挿入されるが、テスト回路TCのスキャンアウト端子soとテスト回路CTCのスキャンイン端子siとの間に挿入されても同じ作用が得られ、保持制御信号HLD0,HLD1の観察が可能となる。また、テスト回路CTCのスキャンアウト端子soとスキャンアウト端子SOとの間に挿入されても同じ作用が得られる。
【0165】
以上の説明においては観察を行う制御信号の数は二つであるが、観察可能な制御信号の数は二つに限られるものではない。観察を行いたい制御信号が複数個存在するときには、同複数個のスキャンフリップフロップを直列に接続すれば良いことは明らかである。
【0166】
本実施の形態に従うテスト回路TC,CTCのホールド機能を兼用して通常動作時とスキャンテスト動作時に用いることが可能であるので、オーバーヘッドを無くすことによって回路面積を小さくすることが可能である。
【0167】
次に、本実施の形態に従う他の制御回路についての説明を行う。図18は図17にて示される制御回路CTL3と同様に構成され同一の働きを持つ制御回路CTL3aを示す回路図である。
【0168】
制御回路CTL3aと制御回路CTL3との違いとは、構成の違いのみである。構成の違いとは、セレクタ6のデータ入力0端子に接続される端子の違いであり、セレクタ6のデータ入力0端子にはセレクタ5の出力端子が接続される。
【0169】
制御回路CTL3aの回路動作について説明を行う。上述の構成の違いを鑑みると、テスト制御信号TESTが“0”のときのみを考えれば良い。テスト制御信号TESTが“0”のとき、セレクタ5の出力をセレクタ6は出力するので、保持制御信号HLD0がセレクタ6の出力端子から出力されることとなる。
【0170】
従って、制御回路CTL3aの回路動作は制御回路CTL3の回路動作と同一である。
【0171】
図17においては、制御回路CTL3は保持端子HLD0,テスト保持端子THLD0及びシフトモード制御信号SMに直接接続されている。セレクタ14の制御端子に入力されるシフトモード制御信号SMを通常動作時に“0”としておくことによって、図19に示される回路のようにスキャンフリップフロップHSFFを介して保持端子HLD0を制御回路CTL3に接続することも可能である。
【0172】
次に、スキャンフリップフロップの構成を変更することによって得ることができる、本実施の形態に従う試験回路について説明を行う。既述の回路等と同一の構成、働き等を有するものに対しては同一の参照符号を付け、説明は省略するものとする。
【0173】
図20は論理回路及び本実施の形態に従う試験回路を示す回路図である。本実施の形態に従うテスト回路TCSは、テスト回路TCの代わりに用いることが可能な回路である。本実施の形態に従う試験回路TCSもテスト回路TCと同様に、フリップフロップ4、保持機能切り換え用のセレクタ2及びスキャンモード切り換え用のセレクタ3によって構成される。セレクタ2はテスト保持制御信号thldによって制御され、セレクタ3はシフトモード制御信号smによって制御される。
【0174】
テスト回路TCとテスト回路TCSとの違いとは、保持機能切り換え用のセレクタ2とスキャンモード切り換え用のセレクタ3との順が入れ替わっていることである。
【0175】
テスト回路TCSについて説明を行う。テスト回路TCSはデータ回路1の入力側及び出力側のいずれにも用いることが可能である。出力側に用いられるテスト回路TCSの動作は入力側に用いられるテスト回路TCSの動作と同様である。従って、同図においては入力側のみ図示されており、また説明も必要とされるときを除いて入力側についてのみ行う。
【0176】
データ回路1はテスト回路TCSによって入力の制御が行われる。テスト回路TCSはデータ入力端子INとデータ回路1の入力端子DIとの間に挿入される。テスト回路TCSは入力データIN[0]〜[3]を入力するための入力端子d[0]〜[3]及びデータ回路1の入力端子DIに出力するための出力端子q[0]〜[3]、ならびにスキャンイン端子si、テスト保持端子thld、シフトモード端子sm及びスキャンアウト端子soを備える回路である。
【0177】
テスト保持端子thld及びシフトモード端子smにそれぞれ入力されるテスト保持制御信号thld及びシフトモード制御信号smによるテスト回路TCSの動作について説明する。シフトモード制御信号smが“0”であり、かつテスト保持制御信号thldが“0”のとき、テスト回路TCSはを入力端子dに入力されるデータ取り込み、そのまま出力端子qから出力する。シフトモード制御信号smが“1”であり、かつテスト保持制御信号thldが“0”のとき、テスト回路TCSはスキャンイン端子siに入力されるデータを取り込んでスキャンアウト端子soから出力する。テスト保持制御信号thldが“1”のとき、テスト回路TCS中にてデータが保持される。
【0178】
以上のような動作を行うテスト回路TCSは以下のように構成される。セレクタ3[N]のデータ入力1端子にはフリップフロップ4の出力端子[N−1]が接続される。但し、特にN=0のときには、セレクタ3[0]のデータ入力1端子にはスキャンイン端子siが接続される。セレクタ3[N]のデータ入力0端子にはデータ入力端子INが接続される。セレクタ3[N]の出力端子はセレクタ2[N]のデータ入力0端子に接続される。セレクタ2[N]のデータ入力1端子にはフリップフロップ4[N]の出力端子が接続される。セレクタ2[N]の出力端子はフリップフロップ4[N]の入力端子に接続される。フリップフロップ4[N]の出力端子は前述の如くセレクタ2[N]のデータ入力1端子に接続され、さらにデータ回路1の入力端子DI[N]及びセレクタ3[N+1]に共通に接続される。但し、特にN=3のときには、フリップフロップ4[3]の出力端子はセレクタ2[3]のデータ入力1端子、入力端子DI[3]及びテスト回路TCSのスキャンアウト端子soに共通に接続される。
【0179】
データ回路1の出力側にテスト回路TCSを設けるときには、以上の説明において、
データ入力端子IN → 出力端子DO
入力端子DI → データ出力端子OUT
のように変換して考えれば良い。
【0180】
上述のテスト回路TCSによっても、通常動作及びスキャンテスト動作を行うことが可能である。
【0181】
次にテスト回路TCSにテスト保持制御信号thld及びシフトモード制御信号smを与える、本実施例に従う制御回路CTL4について説明を行う。制御回路CTL4はテスト制御信号TEST、シフトモード制御信号SM、テスト保持制御信号THLD0及び保持制御信号HLD0を入力され、テスト回路TCSにテスト保持制御信号thld及びシフトモード制御信号smを出力する回路である。
【0182】
制御回路CTL4は、シフトモード制御信号smとしてシフトモード制御信号SMを常時出力する。テスト制御信号TESTが“0”のとき、制御回路CTL4はテスト保持制御信号thldとして保持制御信号HLD0を出力する。テスト制御信号TESTが“1”のとき、テスト保持制御信号thldとしてテスト保持制御信号THLD0を出力する。
【0183】
制御回路CTL4の接続について図20に基づき説明を行う。制御回路CTL4はセレクタ5という一つのセレクタを含んで構成される。セレクタ5の制御端子にはテスト制御信号TESTが入力される。
【0184】
セレクタ5のデータ入力0端子には保持端子HLD0が接続される。セレクタ5のデータ入力1端子にはテスト保持制御端子THLD0が接続される。セレクタ5の出力端子はテスト回路TCSのテスト保持端子thldに接続される。シフトモード制御信号SMはテスト回路TCSのシフトモード端子smに直接接続される。
【0185】
データ回路1の出力側に用いられる制御回路CTL4に関しては、以上の説明において、
保持端子HLD0 → 保持端子HLD1
テスト保持端子THLD0 → テスト保持端子THLD1
のように変換して考えれば良い。
【0186】
上述のテスト回路TCSによっても、通常動作及びスキャンテスト動作を行うことが可能である。
【0187】
図20に示される回路の回路動作を以下にまとめる。データ回路1の入力側及び出力側にテスト回路TCSを設ける場合について説明を行う。回路動作としては、通常動作及びスキャンテスト動作が存在する。
【0188】
通常動作時の回路動作は制御回路CTL1,CTL2あるいはCTL3とテスト回路TCとからなる回路の回路動作と同一である。
【0189】
次にスキャンテスト動作について説明する。実行時とデータの保持時においてのみ、制御回路CTL4とテスト回路TCSとからなる回路の操作は制御回路CTL3とテスト回路TCとからなる回路の操作と異なる。従って、実行時とデータの保持時についてのみ説明を行う。
【0190】
1.実行時
シフトモード制御信号SMを“0”、テスト保持制御信号THLD1を“0”とすることによって、制御回路CTL3とテスト回路TCとからなる回路と同一の回路動作が得られる。
【0191】
2.保持時
スキャンテストの途中でデータの保持を入力側にて行いたいときには、テスト保持制御信号THLD0を“1”とすれば良い。データの保持を出力側にて行いたいときには、テスト保持制御信号THLD1を“1”とする。
【0192】
以上が図20に示される制御回路の回路動作である。データ回路1の入力側及び出力側にテスト回路TCSをそれぞれ設けるとき、入力側と出力側のテスト回路TCSをシフトモード制御信号SMで同時に制御可能である。
【0193】
上述のテスト回路TCSにて構成されるスキャンパスについて述べる。データ回路1の入力側においてテスト回路TCSを設ける場合には、データ入力端子INと論理回路の入力端子DIとの間にはセレクタ2,3という二つのセレクタが含まれる。同様に、データ回路1の出力側においてテスト回路TCSを設ける場合には、出力端子DOとデータ出力端子OUTとの間にはセレクタ2,3という二つのセレクタが含まれる。従って通常動作時において、従来技術に従う試験回路と同様の動作速度しか得られない。
【0194】
しかし、テスト回路TCSを制御する制御回路CTL4にはセレクタ5という一つのセレクタしか含まれないので、回路面積を縮小することは可能である。また、テスト回路TCSにおいても、テスト回路TCSのホールド機能を兼用して通常動作時とスキャンテスト動作時に用いることが可能であるので、オーバーヘッドを無くすことによって回路面積を小さくすることは可能である。
【0195】
実施の形態3.
本実施の形態に従う発明は、試験回路を制御する制御回路に関する。
【0196】
本実施の形態に従う制御回路はテスト回路TCあるいはCTCの制御を行う制御回路であり、実施の形態1,2において示される制御回路よりも構成の簡単な制御回路である。テスト回路TCあるいはCTCの制御を行う制御回路は、テスト回路TCあるいはCTCにテスト保持制御信号thld及びシフトモード制御信号smを与える回路である。以下、テスト回路TCにおいてもテスト回路CTCにおいても、制御回路の有する構成及び働きは変わらないので、制御される回路をテスト回路TCに限って説明を行うこととする。データ回路1の入力側に関して以下の説明を行うが、出力側に関しても同様である。
【0197】
図21は本実施の形態に従う制御回路CTL5を示す回路図である。制御回路CTL5は、保持制御信号HLD0、テスト保持制御信号THLD0、シフトモード制御信号SM及びテスト制御信号TESTを受けて、テスト保持制御信号thld及びシフトモード制御信号smをテスト回路TCに与える。通常動作時にテスト保持制御信号THLD0を“0”とすることによって、制御回路CTL5は実施の形態2に示される制御回路よりも回路面積が少なくなっている。出力側のテスト回路TCに制御回路CTL5を設けるときには、
保持制御信号HLD0 → 保持制御信号HLD1
テスト保持制御信号THLD0 → テスト保持制御信号THLD1
のように変換すれば良い。
【0198】
制御回路CTL5の構成について図21に基づき説明を行う。制御回路CTL5は三つのゲートを用いて構成可能である。それぞれのゲートは二つの入力端子と一つの出力端子を有する。一つのゲートはゲート41であり、残る二つはORゲート42,43である。
【0199】
ゲート41は入力端子ge及び反転入力端子reを有する。ゲート4は反転入力端子reに入力される入力信号reの反転論理と入力端子geに入力される入力信号geとの論理積を取るゲートである。ORゲート42,43はそれぞれ、入力される二つの入力信号の論理和を取るゲートである。
【0200】
制御回路CTL5の接続状態について説明を行う。ゲート41の反転入力端子にはテスト端子TESTが接続される。ゲート41の入力端子geには保持端子HLD0が接続される。ゲート41の出力端子はORゲート42,43のそれぞれの一方の入力端子に共通に接続される。ORゲート42の他方の入力端子にはテスト保持端子THLD0が接続される。ORゲート43の他方の入力端子にはシフトモード端子SMが接続される。ORゲート42の出力端子はテスト回路TCにテスト保持制御信号thldを出力し、ORゲート43の出力端子はテスト回路TCにシフトモード制御信号smを出力する。
【0201】
図21に示される制御回路の回路動作を以下にまとめる。回路動作としては、通常動作の制御及びスキャンテスト動作の制御が存在する。通常動作及びスキャンテストにおける、制御回路CTL5に関するそれぞれの信号及びデータの最適な設定値を表4に示す。
【0202】
【表4】
Figure 0003691144
【0203】
通常動作における制御回路CTL5の回路動作と制御回路CTL3の回路動作の違いについて説明を行う。通常動作時には制御回路CTL3における設定と同様にテスト制御信号TESTを“0”と設定するが、とくに制御回路CTL5ではシフトモード制御信号SM及びテスト保持制御信号THLD0をそれぞれ“0”とする。以上の設定によって、通常動作時における制御回路CTL5の回路動作は制御回路CTL3の回路動作と同一となる。
【0204】
スキャンテスト動作における制御回路CTL5の回路動作は制御回路CTL3の回路動作と同一であるので、説明は省略する。
【0205】
制御回路CTL5を用いてテスト回路TCの制御を行っても、実施の形態2において示される通常動作の制御及びスキャンテスト動作の制御を得ることが可能である。
【0206】
制御回路CTL5は三つのゲートから構成されるので、テスト保持制御信号を“0”として制御回路CTL5を用いて制御を行うことによって、半導体装置の回路面積を縮小することが可能である。
【0207】
制御回路CTL5と同様に構成され、同一の働きを持つ制御回路CTL5aを図22に示す。
【0208】
制御回路CTL5aの構成及び接続についての説明を、制御回路CTL5の構成との違いをふまえて行う。制御回路CTL5aは制御回路CTL5と同様に、ゲート41a及びORゲート42a,43aという三つのゲートを用いて構成可能である。ゲート41a及びORゲート42a,43aはそれぞれ、ゲート41及びORゲート42,43と同一の構成及び働きを有する。
【0209】
制御回路CTL5においてはORゲート43の一方の入力端子にはゲート41の出力端子が接続されていたが、制御回路CTL5aにおいてはORゲート43aの一方の入力端子にはORゲート42aの出力端子が接続される。
【0210】
以上の接続の違いによって制御回路CTL5の回路動作と制御回路CTL5aの回路動作に違いは生じないので、回路動作に関する説明は省略する。
【0211】
制御回路CTL5aは制御回路CTL5と同様に構成され、制御回路CTL5aの回路動作は制御回路CTL5の回路動作と同一である。従って、制御回路CTL5aを用いることによって、制御回路CTL5と同様の効果を得ることが可能である。
【0212】
次に、実施の形態1において示される制御回路CTL2と同様に、テスト制御信号TESTを受けずにテスト回路TC,CTCを制御できる制御回路CTL6について説明を行う。
【0213】
図23は本実施の形態に従う制御回路CTL6を示す回路図である。制御回路CTL5においてはシフトモード制御信号SMを“0”と設定したが、さらにスキャンテスト動作時に保持制御信号HLD0を“0”とすることによって、制御回路CTL6においてはテスト端子TESTが省略されている。
【0214】
出力側のテスト回路TCに制御回路CTL6を設けるときには、
保持制御信号HLD0 → 保持制御信号HLD1
テスト保持制御信号THLD0 → テスト保持制御信号THLD1
のように変換すれば良い。
【0215】
制御回路CTL6の構成について図23に基づき説明を行う。制御回路CTL6はセレクタ5とORゲート45によって構成される。
【0216】
制御回路CTL6の接続状態について説明を行う。セレクタ5はデータ入力0端子及びデータ入力1端子、出力端子ならびに制御端子を有するセレクタである。保持端子HLD0はセレクタ5のデータ入力0端子及びORゲート45の一方の入力端子に共通に接続される。セレクタ5のデータ入力1端子にはテスト保持端子THLD0が接続される。シフトモード端子SMはセレクタ5の制御端子及びORゲート45の他方の入力端子に共通に接続される。セレクタ5の出力端子はテスト回路TCにテスト保持制御信号thldを出力し、ORゲート45の出力端子はテスト回路TCにシフトモード制御信号smを出力する。
【0217】
図23に示される制御回路の回路動作を以下にまとめる。回路動作としては、通常動作の制御及びスキャンテスト動作の制御が存在する。通常動作及びスキャンテストにおける、制御回路CTL6に関するそれぞれの信号及びデータの最適な設定値を表5に示す。
【0218】
【表5】
Figure 0003691144
【0219】
通常動作においては、シフトモード制御信号SMを“0”とすることによって、制御回路CTL3,CTL5の回路動作と同一の回路動作を得ることが可能となる。
【0220】
次に、スキャンテスト動作における制御回路CTL6の回路動作について説明を行う。スキャンテスト動作においては、テストパターンのシフトイン、テスト結果のシフトアウト及びデータの保持を行うときには、シフトモード制御信号SMを“1”とする。このときの制御回路CTL6の回路動作は制御回路CTL3,CTL5の回路動作と同一である。スキャンテスト動作において、実行を行うときには、シフトモード制御信号SMを“0”、かつ保持制御信号HLD0を“0”とすることによって、制御回路CTL6の回路動作は制御回路CTL3,CTL5の回路動作と同一となる。
【0221】
従って、制御回路CTL6を用いてテスト回路TCの制御を行っても、実施の形態2において示される通常動作の制御及びスキャンテスト動作の制御を得ることが可能である。
【0222】
スキャンテスト動作時に保持制御信号HLD0を“0”と設定することによって、テスト端子TESTを用いることなく制御回路CTL6はテスト回路TCの制御を行うことが可能である。テスト端子TESTを省くことができるので、本実施の形態に従う制御回路を用いると半導体装置の回路面積が縮小される。
【0223】
制御回路CTL6と同様に構成され、同一の働きを持つ制御回路CTL6aを図2に示す。
【0224】
制御回路CTL6aの構成について図24に基づき説明を行う。制御回路CTL6を構成するセレクタ5とORゲート45と同一の構成及び働きを有するセレクタ5aとORゲート45aによって制御回路CTL6aは構成される。
【0225】
制御回路CTL6では、OR回路45の一方の入力端子には保持端子HLD0が接続されていたが、制御回路CTL6aではセレクタ45aの一方の入力端子にはセレクタ5aの出力端子が接続されている。この接続状態の違いによっては回路動作の違いは生じず、制御回路CTL6aの回路動作は制御回路CTL6の回路動作と同一であり、制御回路CTL6aを用いても制御回路CTL6と同様の動作を行うことが可能である。
【0226】
従って、制御回路CTL6aを用いてテスト回路TCの制御を行っても、実施の形態2において示される通常動作の制御及びスキャンテスト動作の制御を得ることが可能である。また、制御回路CTL6による効果と同一の効果を制御回路CTL6aを用いることによって得ることが可能である。
【0227】
次に、本実施の形態にて示される制御回路の構成をさらに簡易化する事によって得られる制御回路を示す。
【0228】
図25は本実施の形態に従う制御回路CTL7を示す回路図である。制御回路CTL7に備えられる端子は制御回路CTL6に備えられる端子と同一である。また、制御回路CTL7の回路構成は制御回路CTL5の回路構成と酷似している。通常動作及びスキャンテストにおける、制御回路CTL7に関するそれぞれの信号及びデータの最適な設定値を表6に示す。
【0229】
【表6】
Figure 0003691144
【0230】
制御回路CTL7においては、通常動作時にシフトモード制御信号SM及びテスト保持制御信号THLD0をそれぞれ“0”とし、スキャンテスト動作時には保持制御信号HLD0を“0”と設定することによって、少ない回路構成でも制御回路CTL5,CTL6と同一の回路動作が得られる。
【0231】
制御回路CTL7の構成及び接続状態について図25に基づき説明を行う。制御回路CTL7は制御回路CTL5と同様に、ゲート50及びORゲート51,52という三つのゲートを用いて構成可能である。ゲート50は制御回路CTL5を構成するゲート41と同一の構成及び働きを有する。
【0232】
制御回路CTL7の接続状態について、制御回路CTL5との違いをふまえて説明を行う。制御回路CTL5においては、ゲート41の反転入力端子reにテスト端子TESTが接続され、ORゲート43の一方の入力端子に保持端子HLD0が接続されていた。ゲート50の反転入力端子にはシフトモード端子SMが接続され、ORゲート52の一方の入力端子に保持端子HLD0が接続される。他の端子の接続は制御回路CTL5と制御回路CTL7において同様である。
【0233】
制御回路CTL7の回路動作を理解するためには、テスト保持端子TESTの代わりにシフトモード制御端子SM反転入力端子reに接続されるゲート50の動作と、また一方の入力端子に保持端子HLD0接続されるORゲート52の動作について理解をすれば足りる。
【0234】
まずゲート50の動作について説明を行う。制御回路CTL5を用いる制御動作においては、通常動作及びスキャンテスト動作時にテスト制御信号TESTとシフトモード制御信号SMの値が異なるのは、スキャンテストの実行時のみである。そこで、反転入力端子reにシフトモード端子SMが接続されるゲート50については、スキャンテストの実行時のみを考えれば良い。しかし、スキャンテスト実行時には、セレクタ3の制御端子に出力端子が接続されるORゲート52が“0”を出力すれば良いだけであり、制御回路CTL7においてはスキャンテスト動作時に保持制御信号HLD0が“0”、スキャンテストの実行時にはシフトモード制御信号SMが“0”と設定されるので、この条件は満足される。従って、ゲート50の動作はスキャンテストの実行には影響を与えない。
【0235】
次にORゲート52の動作について説明を行う。シフトモード制御信号SMが“1”ならば必ずORゲート52は“1”を出力し、ORゲート43の動作と同一である。よって、シフトモード制御信号SMが“0”となる通常動作時とスキャンテストの実行時についてのみ理解すれば良い。スキャンテストの実行時に関する説明については既にゲート50の動作の説明時に成されている。通常動作時にはORゲート52は“0”を出力すれば良く、通常動作時に保持制御信号HLD0は“0”と設定されるのでこの条件は満足される。
【0236】
上述の説明より、制御回路CTL7の回路動作と制御回路CTL5の回路動作は同一であることがわかる。
【0237】
従って、制御回路CTL7を用いてテスト回路TCの制御を行っても、実施の形態2において示される通常動作の制御及びスキャンテスト動作の制御を得ることが可能である。
【0238】
制御回路CTL7は三つのゲートから構成されるので、テスト保持制御信号THLD0を“0”として制御回路CTL7を用いて制御を行うことによって、制御回路CTL6を用いて制御する場合よりも半導体装置の回路面積を縮小することが可能である。
【0239】
また、スキャンテスト動作時に保持制御信号HLD0を“0”と設定することによって、テスト端子TESTを用いることなく制御回路CTL7はテスト回路TCの制御を行うことが可能である。テスト端子TESTを省くことができるので、本実施の形態に従う制御回路を用いると半導体装置の回路面積がさらに縮小される。
【0240】
制御回路CTL7と同様に構成され同一の働きを持つ、制御回路CTL7aを図26に、制御回路CTL7bを図27に示す。図26は本実施の形態に従う制御回路CTL7aを示す回路図であり、図27は本実施の形態に従う制御回路CTL7bを示す回路図である。
【0241】
制御回路CTL7a,CTL7bの構成と制御回路CTL7の構成との違いについて図26,2に基づき説明を行う。ゲート50a及びORゲート51a,52aによって制御回路CTL7aは構成され、ゲート50b及びORゲート51b,52bによって制御回路CTL7bは構成される。ゲート50a,50b、ORゲート51a,51b及びORゲート52a,52bはそれぞれ、ゲート50、ORゲート51及びORゲート52と同一の働き及び構成を有する。
【0242】
制御回路CTL7a,CTL7bの接続状態について、制御回路CTL7との違いをふまえながら説明を行う。制御回路CTL7においては、OR回路52の一方の入力端子には保持端子HLD0が接続されている。制御回路CTL7aにおいては、ORゲート52aの一方の入力端子にはゲート50aの出力端子が接続されている。制御回路CTL7bにおいては、ORゲート52bの一方の入力端子にはORゲート51bの出力端子が接続されている。
【0243】
上述の接続の違いによって、制御回路CTL7,CTL7a,CTL7bの回路動作には違いは生じず、制御回路CTL7a,CTL7bを制御回路CTL7の代わりに用いてテスト回路TCの制御を行うことが可能である。
【0244】
本実施の形態にて示される様々な制御回路を用いることによって、テスト回路TCの制御が可能となる。
【0245】
実施の形態4.
本実施の形態においては、実施の形態2において示されるテスト回路TCとテスト回路CTCを用いてスキャンパスを構成し、RAMの動作試験に用いる。
【0246】
図28は試験回路を設けられるRAMを示す回路図である。実施の形態1〜3にて示された回路等と同一の構成、働き等を有するものに対しては同一の参照符号を付けるものとする。
【0247】
同図に示されるとおり、試験回路であるテスト回路TCA0,TCDI,TCA1,CTCによって論理回路であるRAM11は入出力の制御を行われる。
【0248】
まずRAM11について説明する。RAM11への書き込みのために、アドレス書き込みのためのアドレス入力端子A0[0]〜[2]及びデータ入力のための入力端子DI0[0]〜[2]をRAM11は備える。さらに、RAM11からの読み出しのために、アドレス書き込みのためのアドレス入力端子A1[0]〜[2]及びデータ出力のための入力端子DO1[0]〜[2]をRAM11は備える。
【0249】
RAM11はアドレス入力端子A0[0]〜[2]に与えられる入力データA0[0]〜[2]に対する固有の番地に入力端子DI0[0]〜[2]に与えられる入力データDI0[0]〜[2]を書き込む回路である。また、RAM11はアドレス入力端子A1[0]〜[2]に与えられる入力データA1[0]〜[2]に対応する固有の番地に入力されているデータを出力端子DO1[0]〜[2]から出力する回路である。本実施の形態において示されるRAM11は3ビットであるが、どのようなビット数のRAMに対しても本実施の形態に従う試験回路を適用することは可能である。
【0250】
アドレス入力端子A0[0]〜[2]にデータを入力するための端子はデータ入力端子INA0[0]〜[2]であり、入力端子DI0[0]〜[2]にデータを入力するための端子はデータ入力端子INDI[0]〜[2]である。アドレス入力端子A1[0]〜[2]にデータを入力するための端子はデータ入力端子INA1[0]〜[2]である。出力端子DO1[0]〜[2]から出力するデータを出力するための端子はデータ出力端子OUT[0]〜[2]である。
【0251】
次にテスト回路TCA0,TCDI,TCA1,CTCに関する説明を行う。テスト回路TCA0,TCDI,TCAは、テスト回路TCと同様の構成を持ち、同様の動作を行う試験回路である。アドレス入力端子A0[0]〜[2]とINA0[0]〜[2]との間にはテスト回路TCA0が挿入される。入力端子DI0[0]〜[2]とINDI[0]〜[2]との間にはテスト回路TCDIが挿入される。アドレス入力端子A1[0]〜[2]とINA1[0]〜[2]との間にはテスト回路TCA1が挿入される。出力端子DO1[0]〜[2]とOUT[0]〜[2]との間にはテスト回路CTCが挿入される。
【0252】
次にスキャンテストを行う際に用いられるスキャンイン端子SI及びスキャンアウト端子SOとテスト回路TCA0,TCDI,TCA1,CTCとの接続について説明を行う。
【0253】
図28においては、スキャンイン端子SI→スキャンフリップフロップ70,71→テスト回路TCA0のスキャンイン端子si→テスト回路TCA0のスキャンアウト端子so→テスト回路TCDIのスキャンイン端子si→テスト回路TCDIのスキャンアウト端子so→テスト回路TCA1のスキャンイン端子si→テスト回路TCA1のスキャンアウト端子so→テスト回路CTCのスキャンイン端子si→テスト回路CTCのスキャンアウト端子so→スキャンアウト端子SOのようにスキャンパスは構成されている。スキャンフリップフロップ70,71はテスト回路TCA0とテスト回路TCDIとの間、テスト回路TCDIとテスト回路TCA1との間、テスト回路TCA1とテスト回路CTCとの間、及びテスト回路CTCとスキャンアウト端子SOとの間のうちのいずれに設けられても良い。
【0254】
スキャンフリップフロップ70,71について説明を行う。スキャンフリップフロップ70,71はそれぞれ、保持制御信号HLD0,HLD1を観察するために用いられるスキャンフリップフロップである。スキャンフリップフロップ70,71は図6に示されるスキャンフリップフロップHSFFと同様に、一つのセレクタと一つのフリップフロップによって構成される。スキャンフリップフロップHSFFを構成するセレクタ14のデータ入力端子0端子、データ入力1端子及び制御端子をスキャンフリップフロップHSFF自体のデータ入力端子0端子、データ入力1端子及び制御端子とみなすことが可能である。同様に、スキャンフリップフロップ70,71はデータ入力0端子及びデータ入力1端子、出力端子ならびに制御端子をそれぞれ備える。制御端子に入力される信号に応じて、スキャンフリップフロップ70,71はそれぞれ、データ入力0端子に入力される信号とデータ入力1端子に入力される信号とのうちからいずれか一方を出力する。
【0255】
テスト回路TCA0,TCDI,TCA1,CTCにはそれぞれテスト保持端子thld及びシフトモード端子smが備えられ、テスト保持制御信号thld及びシフトモード制御信号smがそれぞれ与えられる。また、テスト回路CTCには比較端子cmpen及び期待端子exp[0]〜[2]がさらに備えられ、比較イネーブル信号CMPEN及び期待データEXP[0]〜[2]がそれぞれ与えられる。
【0256】
テスト回路TCA0,TCDI,TCA1,CTCにそれぞれテスト保持制御信号thld及びシフトモード制御信号smを与える回路について説明を行う。セレクタ60〜65を用いて、テスト保持制御信号thld及びシフトモード制御信号smを与える回路を構成する。
【0257】
セレクタ60〜65はそれぞれ、データ入力0端子、データ入力1端子、出力端子及び制御端子を備えるセレクタである。セレクタ60〜65の制御端子にはテスト端子TESTが共通に接続される。
【0258】
セレクタ60,61の出力端子はそれぞれテスト回路TCA0,TCDIのそれぞれのテスト保持端子thldに接続され、テスト保持制御信号thldを互いに独立に与える。セレクタ62の出力端子はテスト回路TCA0,TCDIのそれぞれのシフトモード端子smに共通に接続され、シフトモード制御信号smを共通に与える。同様に、セレクタ63,64の出力端子はそれぞれテスト回路TCA1,CTCのそれぞれのテスト保持端子thldに接続され、テスト保持制御信号thldを互いに独立に与える。セレクタ65の出力端子はテスト回路TCA1,CTCのそれぞれのシフトモード端子smに共通に接続され、シフトモード制御信号smを共通に与える。
【0259】
次に保持端子について説明を行う。保持端子HLD0はスキャンフリップフロップ70及びセレクタ60〜62のそれぞれのデータ入力0端子に共通に接続される。同様に、保持端子HLD1はスキャンフリップフロップ71及びセレクタ63〜65のそれぞれのデータ入力0端子に共通に接続される。シフトモード端子SMはセレクタ62,65のそれぞれのデータ入力1端子及びスキャンフリップフロップ70,71のそれぞれの制御端子に共通に接続される。セレクタ60,61のそれぞれのデータ入力1端子にはテスト保持端子THLDA0,THLDDI0がそれぞれ接続される。セレクタ63,64のそれぞれのデータ入力1端子にはテスト保持端子THLDA1,THLDDO1がそれぞれ接続される。
【0260】
図28に示される回路の回路動作について説明を行う。回路動作としては、通常動作及びテスト動作が存在する。テスト動作とは通常のスキャンテスト動作及びテスト結果の圧縮機能を用いるスキャンテスト動作を含む動作である。
【0261】
まず、通常動作について説明を行う。通常動作時にはテスト制御信号TESTを“0”とし、比較イネーブル信号CMPENを“0”とする。テスト制御信号TESTが“0”のときにセレクタ60〜65はデータ入力0端子に入力されるデータをそれぞれ出力する。従って、保持制御信号HLD0がテスト保持制御信号thld及びシフトモード制御信号smとしてテスト回路TCA0,TCDIに与えられる。保持制御信号HLD1はテスト保持制御信号thld及びシフトモード制御信号smとしてテスト回路TCA1,CTCに与えられる。このとき、保持制御信号HLD0が“0”ならば、入力データINA0,INDIがそれぞれテスト回路TCA0,TCDIを介してRAM11のアドレス入力端子A0及び入力端子DIに取り込まれる。保持制御信号HLD0が“1”ならば、入力データINA0,INDIがテスト回路TCA0,TCDIにて保持される。同様に、保持制御信号HLD1が“0”ならば、入力データINA1がテスト回路TCA1を介してRAM11のアドレス入力端子A1に取り込まれる。出力データDO1はテスト回路CTCを介してデータ出力端子OUTに出力される。保持制御信号HLD1が“1”ならば、入力データINA1及び出力データDO1がテスト回路TCA1,CTCにて保持される。
【0262】
すなわち、通常動作においては、保持制御信号HLD0によってテスト回路TCA0,TCDIにおけるデータの保持を同時に制御する。また、保持制御信号HLD1によってテスト回路TCA1,CTCにおけるデータの保持を同時に制御する。従って、書き込み用のアドレス入力端子A0及び入力端子DI0におけるデータの保持と、読み出し用のアドレス入力端子A1及び出力端子DO1におけるデータの保持とが独立に制御される。
【0263】
次にテスト動作について説明する。テスト動作時にはテスト制御信号TESTを“1”とし、比較イネーブル信号CMPENを“0”とする。テスト制御信号TESTが“1”のとき、セレクタ60〜65はデータ入力1端子に入力されるデータをそれぞれ出力する。このとき、テスト保持制御信号THLDA0及びシフトモード制御信号SMがそれぞれテスト保持制御信号thld及びシフトモード制御信号smとしてテスト回路TCA0に入力される。テスト保持制御信号THLDDI0及びシフトモード制御信号SMがそれぞれテスト保持制御信号thld及びシフトモード制御信号smとしてテスト回路TCDIに入力される。また、テスト保持制御信号THLDA1及びシフトモード制御信号SMがそれぞれテスト保持制御信号thld及びシフトモード制御信号smとしてテスト回路TCA1に入力される。テスト保持制御信号THLDDO1及びシフトモード制御信号SMがそれぞれテスト保持制御信号thld及びシフトモード制御信号smとしてテスト回路CTCに入力される。
【0264】
テスト動作における制御をまとめる。シフトモード制御信号SMがテスト回路TCA0,TCDI,TCA1,CTCに共通にシフトモード制御信号smとして入力され、テスト回路TCA0,TCDI,TCA1,CTCにおいて入力されるデータの選択が制御される。テスト回路TCA0,TCDI,TCA1,CTCにおけるデータの保持は、テスト保持制御信号THLDA0,THLDDI0,THLDA1,THLDDO1によってそれぞれ独立に成される。
【0265】
それぞれのテスト回路におけるデータの保持を独立に行うことによって、以下に述べる利点が生ずる。
【0266】
RAM11のアドレス入力端子A0,A1及び入力端子DIから出力端子DOまでのパスには、入力端子側の一つのフリップフロップ及び出力端子側の一つのフリップフロップから成る合計2個のフリップフロップが含まれると考える。ここで、RAM11を同期させなければならない論理回路12が存在する場合を考える。論理回路12の入力端子と出力端子の間のパスに、例えば三つのフリップフロップが含まれるとする。RAM11と論理回路12との同期をとるためには、一個のフリップフロップをデータが通過するのに要する時間分だけRAM11においてデータを保持すると良い。すなわち、パスに含まれるフリップフロップの数の違う分だけデータを保持することによって同期をとることが可能である。
【0267】
図28に示される回路では、通常動作時において、書き込み用のアドレス入力端子A0及び入力端子DIにおけるデータの保持と、読み出し用のアドレス入力端子A1及び出力端子DOにおけるデータの保持とが独立に制御される。従って、同期をとらねばならない論理回路12に含まれパスを形成するフリップフロップの数に柔軟に対応して、RAM11の出力を同期させることが可能である。
【0268】
試験動作時には、アドレス入力端子A0におけるデータの保持と、入力端子DIにおけるデータの保持と、アドレス入力端子A1におけるデータの保持と、出力端子DOにおけるデータの保持とが、それぞれ独立に制御される。従って、効率よくRAM11の動作試験を行うことが可能である。
【0269】
次に、通常動作時においても、アドレス入力端子A0におけるデータの保持と、入力端子DIにおけるデータの保持と、アドレス入力端子A1におけるデータの保持と、出力端子DOにおけるデータの保持とを、それぞれ独立に制御することが可能な回路を図29に示す。
【0270】
図29は試験回路が設けられるRAMを示す回路図である。図28において示される回路と同様に、同図においては、試験回路であるテスト回路TCA0,TCDI,TCA1,CTCによって論理回路であるRAM11は入出力の制御を行われる。
【0271】
通常動作時においてデータの保持を独立に制御するために、図28に示される保持端子を、
保持端子HLD0→保持端子HLDA0,HLDDI0
保持端子HLD1→保持端子HLDA1,HLDDO1
のように変換している。保持端子の変換に伴い、セレクタ及びスキャンフリップフロップに関しても、
セレクタ62→セレクタ62a,62b
セレクタ65→セレクタ65a,65b
スキャンフリップフロップ70→スキャンフリップフロップ70a,70b
スキャンフリップフロップ71→スキャンフリップフロップ71a,71b
のような変換が施されている。セレクタ62a,62b,65a,65bはセレクタ62,65と同一の構成及び働きをそれぞれ有するセレクタである。同様に、スキャンフリップフロップ70a,70b,71a,71bはスキャンフリップフロップ70,71と同一の構成及び働きをそれぞれ有するスキャンフリップフロップである。図28に示される回路と異なる部分についてのみ、図29に示される回路について以下に説明を行う。
【0272】
スキャンフリップフロップ70a,70b,71a,71bについて説明を行う。スキャンフリップフロップ70a,70b,71a,71bはそれぞれ、保持制御信号HLDA0,HLDDI0,HLDA1,HLDDO1を観察するために用いられるスキャンフリップフロップである。スキャンフリップフロップ70a,70b,71a,71bはデータ入力0端子及びデータ入力1端子、出力端子ならびに制御端子をそれぞれ備える。制御端子に入力される信号に応じて、スキャンフリップフロップ70a,70b,71a,71bはそれぞれ、データ入力0端子に入力される信号とデータ入力1端子に入力される信号とのうちからいずれか一方を出力する。
【0273】
テスト回路TCA0,TCDI,TCA1,CTCにそれぞれテスト保持制御信号thld及びシフトモード制御信号smを与える回路について説明を行う。セレクタ60,61,62a,62b,63,64,65a,65bを用いて、テスト保持制御信号thld及びシフトモード制御信号smを与える回路を構成する。
【0274】
セレクタ60,61,62a,62b,63,64,65a,65bはそれぞれ、データ入力0端子、データ入力1端子、出力端子及び制御端子を備えるセレクタである。これらのセレクタの制御端子にはテスト端子TESTが共通に接続される。
【0275】
セレクタ60,62aのそれぞれの出力端子はテスト回路TCA0のテスト保持端子thld及びシフトモード端子smに接続され、テスト保持制御信号thld及びシフトモード制御信号smを与える。同様の接続によって、セレクタ61,62bはテスト回路TCDIにテスト保持制御信号thld及びシフトモード制御信号smを与える。セレクタ63,65aはテスト回路TCA1にテスト保持制御信号thld及びシフトモード制御信号smを与える。セレクタ64,65bはテスト回路CTCにテスト保持制御信号thld及びシフトモード制御信号smを与える。
【0276】
次に保持端子について説明を行う。保持端子HLDA0はスキャンフリップフロップ70a及びセレクタ60,62aのそれぞれのデータ入力0端子に共通に接続される。保持端子HLDDI0はスキャンフリップフロップ70b及びセレクタ61,62bのそれぞれのデータ入力0端子に共通に接続される。同様に、保持端子HLDA1はスキャンフリップフロップ71a及びセレクタ63,65aのそれぞれのデータ入力0端子に共通に接続される。保持端子HLDDO1はスキャンフリップフロップ71b及びセレクタ63,65bのそれぞれのデータ入力0端子に共通に接続される。シフトモード端子SMはセレクタ62a,62b,65a,65bのそれぞれのデータ入力1端子及びスキャンフリップフロップ70a,70b,71a,71bのそれぞれの制御端子に共通に接続される。セレクタ60,61のそれぞれのデータ入力1端子にはテスト保持端子THLDA0,THLDDI0がそれぞれ接続される。セレクタ63,64のそれぞれのデータ入力1端子にはテスト保持端子THLDA1,THLDDO1がそれぞれ接続される。
【0277】
図29に示される回路の回路動作について説明を行う。図28に示される回路と同じく、回路動作としては通常動作及びテスト動作が存在する。
【0278】
まず、通常動作について説明を行う。通常動作時にはテスト制御信号TESTを“0”とし、比較イネーブル信号CMPENを“0”とする。テスト制御信号TESTが“0”のときにセレクタ60,61,62a,62b,63,64,65a,65bはデータ入力0端子に入力されるデータをそれぞれ出力する。従って、保持制御信号HLDA0がテスト保持制御信号thld及びシフトモード制御信号smとしてテスト回路TCA0に与えられる。保持制御信号HLDDI0がテスト保持制御信号thld及びシフトモード制御信号smとしてテスト回路TCDIに与えられる。同様に、保持制御信号HLDA1がテスト保持制御信号thld及びシフトモード制御信号smとしてテスト回路TCA1に与えられる。保持制御信号HLDDO1がテスト保持制御信号thld及びシフトモード制御信号smとしてテスト回路CTCに与えられる。
【0279】
従って、保持制御信号HLDA0,HLDDI0,HLDA1,HLDDO1の“0”,“1”をそれぞれ切り換えることによって、テスト回路TCA0,TCDI,TCA1,CTCにおける入力データINA0,INDI,INA1の入力及びOUTの出力とデータの保持との切替を互いに独立に制御することが可能となる。
【0280】
次にテスト動作について説明する。テスト動作時にはテスト制御信号TESTを“1”とし、比較イネーブル信号CMPENを“0”とする。テスト制御信号TESTが“1”のとき、セレクタ60,61,62a,62b,63,64,65a,65bはデータ入力1端子に入力されるデータをそれぞれ出力する。前述のように、シフトモード端子SMがセレクタ62a,62b,65a,65bのそれぞれのデータ入力1端子に共通に接続される。また、図28に示される回路と同様に、セレクタ60,61のそれぞれのデータ入力1端子にはテスト保持端子THLDA0,THLDDI0がそれぞれ接続され、セレクタ63,64のそれぞれのデータ入力1端子にはテスト保持端子THLDA1,THLDDO1がそれぞれ接続される。従って、テスト動作時における回路動作は、図28に示される回路の回路動作と同一である。
【0281】
すなわち、図29に示される回路においては、テスト動作時には図28に示される回路の回路動作と同一の回路動作が得られる。通常動作時には、アドレス入力端子A0におけるデータの保持と、入力端子DIにおけるデータの保持と、アドレス入力端子A1におけるデータの保持と出力端子DOにおけるデータの保持とをそれぞれ独立に制御することが可能であり、さらに優れた効果が得られる。
【0282】
【発明の効果】
請求項1〜6に記載の構成によると、接続回路用入力端子と接続回路用出力端子との間に含まれる切替回路は一つである。従って、通常動作用の端子を接続回路用入力端子に接続することによってセットアップが小さくなり、通常動作時の回路速度が向上する。
【0283】
また、請求項1に記載の構成によると、制御回路用第1制御入力信号と制御回路用第2制御入力信号とのいずれか一方の論理を、制御回路用試験信号を受けることによって接続回路の制御において無視する制御回路が用いられる。従って、無視される制御入力信号の論理とは独立に接続回路の制御を行うことが可能となる。
【0284】
また、請求項2に記載の構成によると、制御回路用第1制御入力信号と制御回路用第2制御入力信号とを受けることによって接続回路を制御する制御回路が用いられる。従って、請求項1に記載される制御信号よりも少ない制御信号によって接続回路の制御を行うことが可能となる。
【0285】
また、請求項3に記載の構成によると、制御回路用第1及び第3制御入力信号と制御回路用第2制御入力信号とのいずれか一方を、制御回路用試験信号を受けることによって接続回路の制御において無視する制御回路が用いられる。従って、無視される制御入力信号の論理とは独立に接続回路の制御を行うことが可能となる。
【0286】
また、請求項4に記載の構成によると、制御回路用試験信号が第1論理をとるときには制御回路用第1及び第3制御入力信号も第1論理をとるという設定の元で、制御回路用第1及び第3制御入力信号と制御回路用第2制御入力信号とのいずれか一方を、制御回路用試験信号を受けることによって接続回路の制御において無視する制御回路が用いられる。従って、無視される制御入力信号の論理とは独立に接続回路の制御を行うことが可能となる。
【0287】
また、請求項5に記載の構成によると、通常動作時には制御回路用第1制御入力信号が第1論理をとるという設定の元で、制御回路用第1及び第3制御入力信号と制御回路用第2制御入力信号とのいずれか一方を、制御回路用第1制御入力信号を受けることによって接続回路の制御において無視する制御回路が用いられる。従って、無視される制御入力信号の論理とは独立に接続回路の制御を行うことが可能となる。
【0288】
また、請求項6に記載の構成によると、通常動作時には制御回路用第1及び第3制御入力信号がそれぞれ第1論理をとるという設定の元で、制御回路用第1及び第3制御入力信号と制御回路用第2制御入力信号とのいずれか一方を、制御回路用第1制御入力信号を受けることによって接続回路の制御において無視する制御回路が用いられる。従って、無視される制御入力信号の論理とは独立に接続回路の制御を行うことが可能となる。
【0289】
請求項7及び8に記載の構成によると、接続回路用第1及び第2制御入力信号が第2論理をとるときに、接続回路は信号の保持と試験結果の圧縮とを行う。従って、試験結果を圧縮することによって試験結果の観察回数を減少させることが可能となる。
【0290】
請求項及び10に記載の構成によると、接続回路用第1及び第2制御入力信号が第2論理をとるときに、比較信号の論理を切り換えることによって記憶回路に記憶されるデータの保持と試験結果の圧縮とを行う。従って、試験結果を圧縮することによって試験結果の観察回数を減少させることが可能となる。
【0291】
請求項11に記載の構成によると、書き込み用制御回路による制御と読み出し用制御回路による制御は独立である。従って、書き込み用端子における同期動作と読み出し用端子における同期動作とを独立に制御することが可能となる。
【0292】
請求項12に記載の構成によると、書き込みアドレス用制御回路による制御、書き込み入力用制御回路による制御、読み出しアドレス用制御回路による制御及び読み出し出力用制御回路による制御はそれぞれ独立である。従って、書き込み用アドレス端子における同期動作、書き込み用入力端子における同期動作、読み出し用アドレス端子における同期動作及び読み出し用出力端子における同期動作とをそれぞれ独立に制御することが可能となる。
【図面の簡単な説明】
【図1】 本発明の実施の形態1に従う、テスト回路TCからなる試験回路及び制御回路CTL1の備えられる論理回路を示す回路図である。
【図2】 接続回路CCを示す回路図である。
【図3】 本発明に従うテスト回路TCを示す回路図である。
【図4】 テスト回路TCからなるスキャンパスが備えられる複数の論理回路を示す回路図である。
【図5】 スキャンフリップフロップHSFFが備えられる回路を示す回路図である。
【図6】 本発明に従うスキャンフリップフロップHSFFを示す回路図である。
【図7】 制御回路CTL2を示す回路図である。
【図8】 2入力のセレクタの構成を示す回路図である。
【図9】 制御回路CTL2aを示す回路図である。
【図10】 実施の形態2に従うテスト回路CTCを含んでなる試験回路が備えられる論理回路を示す回路図である。
【図11】 接続回路CCCを示す回路図である。
【図12】 接続回路CCCrを示す回路図である。
【図13】 接続回路CCCによって構成されるテスト回路CTCを示す回路図である。
【図14】 試験回路TC,CTCをそれぞれ制御する制御回路CTL3,CCTL3を示す回路図である。
【図15】 複数の論理回路にスキャンパスが備えられる構成を持つ回路を示す回路図である。
【図16】 スキャンフリップフロップHSFF,HSFFaの備えられる回路を示す回路図である。
【図17】 図14に示される回路を入力側においてのみ示す回路図である。
【図18】 制御回路CTL3と同一の働きを有する制御回路CTL3aを示す回路図である。
【図19】 スキャンフリップフロップHSFFを介して保持端子HLD0が制御回路CTL3に接続される構成を持つ回路を示す回路図である
【図20】 実施の形態2に従うテスト回路TCSを示す回路図である。
【図21】 実施の形態3に従う制御回路CTL5を示す回路図である。
【図22】 制御回路CTL5aを示す回路図である。
【図23】 制御回路CTL6を示す回路図である。
【図24】 制御回路CTL6aを示す回路図である
【図25】 制御回路CTL7を示す回路図である。
【図26】 制御回路CTL7aを示す回路図である。
【図27】 制御回路CTL7bを示す回路図である。
【図28】 実施の形態4に従うスキャンパスが設けられるRAMを示す回路図である。
【図29】 図28に示される回路がさらに改良されて構成される回路を示す回路図である。
【図30】 保持機能付きの論理回路を示す回路図である。
【図31】 フリップフロップ4をスキャン変換する様子を示す回路図である。
【図32】 図30に示されるフリップフロップがスキャン変換されて構成される回路を示す回路図である。
【図33】 接続回路PCCを示す回路図である。
【符号の説明】
2,3,60〜65 セレクタ、4,4r フリップフロップ、11 RAM、30,30r Ex−ORゲート、31 NANDゲート、31r ゲート、32 ANDゲート、A0,1 アドレス入力端子、CC,CCC,CCCr 接続回路、CMPEN,ccmpen,ccmpenr 比較端子,比較イネーブル信号、CTL1〜7 制御回路、DI,d,cd,cdr 入力端子,入力データ、DO 出力端子,出力データ、EXP,exp,cexp,cexpr 期待端子,期待データ、HLD0,HLD1 保持端子,保持制御信号、q 出力端子,シリアル入力データ、SI,si,csi,csir スキャンイン端子、SM,sm,csm,csmr シフトモード端子,シフトモード制御信号、SO,so,cso,csor スキャンアウト端子、T,t クロック端子、TC,TCA0,TCA1,TCDI,CTC テスト回路、TEST テスト端子,テスト制御信号、THLD0,THLD1,thld,cthld,cthldr テスト保持端子,テスト保持制御信号。[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a test circuit, and more particularly to a scan path configuration circuit that configures a scan path provided around a logic circuit in order to test a logic circuit provided in a semiconductor device.
[0002]
[Prior art]
Conventionally, a design for providing a test facilitating circuit has been applied to a semiconductor device for an operation test of a logic circuit provided in the semiconductor device.
[0003]
Before describing the scan test based on the design for testability, first, the data circuit as the logic circuit and the input / output operation of the data circuit will be described with reference to FIG.
[0004]
FIG. 30 is a circuit diagram showing the data circuit 1 and a circuit for inputting / outputting data of the data circuit 1.
[0005]
Hereinafter, in the present specification, alphabetical reference marks representing data or signals and terminals are also used. For example, IN [0] may represent input data or a data input terminal.
[0006]
First, the data circuit 1 will be described. The data circuit 1 includes input terminals DI [0] to [3] and output terminals DO [0] to [3]. The data circuit 1 outputs unique output data DO [0] to [3] to the output terminals DO [0] to [3] with respect to the input data DI [0] to [3] given to the input terminals DI [0] to [3]. This is a circuit that outputs from [3]. Examples of the data circuit 1 include a combinational circuit or a storage circuit such as a RAM (Random Access Memory). Data input terminals IN [0] to [3] are connected to input terminals DI [0] to [3], data output terminals OUT [0] to [3] are connected to output terminals DO [0] to [3], which will be described later. The selectors 102 [0] to [3] and the flip-flops 4 [0] to [3] are connected to each other. Here, [number] added to data or a terminal represents a bit number of data. As described above, the data input to the terminal or the data output from the terminal is associated with the bit number. Therefore, when data or terminals are collectively called, or when it is not necessary to consider the difference due to the bit number, the bit number is omitted hereinafter. Even when the bit number is omitted, each data corresponds to a terminal of each bit number.
[0007]
Next, a circuit related to data input / output will be described. A selector 102 and a flip-flop 4 are inserted between the input terminal DI and the data input terminal IN of the data circuit 1 and between the output terminal DO and the data output terminal OUT in order to hold input or output data. The All the selectors 102 are simultaneously controlled by a holding control signal HLD0 input from the holding terminal HLD0. The flip-flop 4 is a D flip-flop or a flip-flop having the same function as the D flip-flop. The functions of the selector 102 and the flip-flop 4 are the same regardless of the bit number, and the functions do not change between the input side and the output side. Therefore, the selector 102 and the flip-flop 4 on the input side will be described below, but the output side is the same as the input side.
[0008]
The connection state will be described. The selector 102 has two data input terminals. One is a data input 0 terminal selected and connected when the holding control signal HLD0 is “0”, and the other is a data input 1 terminal selected and connected when the holding control signal HLD0 is “1”. A data input terminal IN is connected to the data input 0 terminal, and an output terminal of the flip-flop 4 is connected to the data input 1 terminal. The output terminal of the selector 102 is connected to the input terminal of the flip-flop 4. The output terminal of the flip-flop 4 is commonly connected to the input terminal DI and the data input 1 terminal of the selector 102 as described above.
[0009]
The circuit operation in the above connection state will be described. When the holding control signal HLD0 is “0”, data input to the data input 0 terminal of the selector 102 is connected to the output terminal of the selector 102. Accordingly, the input data IN is given to the input terminal DI via the selector 102 and the flip-flop 4. Since the data input 1 terminal is selected when the holding control signal HLD0 is “1”, data output from the output terminal of the flip-flop 4 is applied to the input terminal of the flip-flop 4 via the selector 102. Therefore, the data of the flip-flop 4 is retained.
[0010]
The circuit operations in the circuit shown in FIG. 30 are summarized as follows for the input side and the output side. When the holding control signal HLD0 is “0”, the input data IN is input to the input terminal DI, and the output data DO is output from the data output terminal OUT. That is, the input and output are synchronized. When the holding control signal HLD0 is “1”, the selector 102 and the flip-flop 4 hold the input data DI and the output data DO, respectively.
[0011]
Next, the scan test will be described.
[0012]
What is a scan test?
1. Provide a scan path in the circuit to be tested,
2. A test pattern is given to the circuit from the scan path,
3. The output data output by the circuit for the test pattern is captured again in the scan path,
4). Analyze the results
That's it. A scan test is a method for design for testability. Scan campus is realized by converting a flip-flop connected to an input or output terminal of a circuit to be tested into a scan flip-flop.
[0013]
FIG. 31 is a circuit diagram showing how the flip-flop 4 is converted into a scan flip-flop SFF. The scan conversion in this case is to connect the selector 103 to the input terminal of the flip-flop 4. The output of the selector 103 is switched by a shift mode signal SM. Data D is input to the data input 0 terminal of the selector 103, and scan-in data SI is input to the data input 1 terminal. When the shift mode signal SM is “0”Data DIs selected and when it is “1”Scan-in data SIIs selected and input to the flip-flop 4.
[0014]
FIG. 32 is a circuit diagram showing the data circuit 1 provided with a scan path. A connection circuit PCC [0] to [3] composed of the selectors 102 and 103 and the flip-flop 4 is connected between the data input terminals IN [0] to [3] and the input terminals DI [0] to [3] on the input side. Connected to each. Similarly, on the output side, connection circuits PCC [0] to [3] are inserted between the output terminals DO [0] to [3] and the data output terminals OUT [0] to [3], respectively. The connection circuit PCC is shown in FIG.
[0015]
Since the function of the connection circuit PCC is the same between the input side and the output side, the connection state of the connection circuit PCC shown in FIG. 33 will be described by taking the input side as an example as in FIG.
[0016]
The data input terminal IN of the selector 102 is connected to the data input terminal IN, and the data input 1 terminal is connected to the output terminal of the flip-flop 4. The output terminal of the selector 102 is connected to the data input 0 terminal of the selector 103. A scan-in terminal SI is connected to the data input 1 terminal of the selector 103. The output terminal of the selector 103 is connected to the input terminal of the flip-flop 4, the output data of the flip-flop 4 is input to the data input 1 terminal of the selector 102 as described above, and the scan-out data SO or serial input data of the connection circuit PCC. Q is output.
[0017]
Here, as shown in FIG. 32, the scan-out data SO becomes the scan-in data SI of the connection circuit PCC having the next bit number, and is applied to the scan-in terminal SI of the connection circuit PCC.inputIs done. Here, the scan-out data SO of the input-side connection circuit PCC [3] becomes the scan-in data SI of the output-side connection circuit PCC [0], and the scan-out data SO of the output-side connection circuit PCC [3] is the scan path. It is output as the entire scan-out data SO.
[0018]
Next, circuit operation will be described. As the operation of the circuit shown in FIG. 32, there are a normal operation and a scan test operation.
[0019]
First, the normal operation will be described. The normal operation of the circuit shown in FIG. 32 is the same as the operation of the circuit shown in FIG.
[0020]
During normal operation, the shift mode control signal SM is set to “0”. At this time, if the holding control signal HLD0 is “0”, the input data IN is taken into the input terminal DI of the data circuit 1 via the connection circuit PCC on the input side. On the output side, the output data DO is output to the data output terminal OUT via the connection circuit PCC. If the holding control signal HLD0 is “1”, the input data IN and the output data DO are held in the connection circuit PCC, respectively.
[0021]
Next, the scan test operation will be described. During the scan test, the test pattern is shifted in, executed, and the test result is shifted out in order.
[0022]
1. Test pattern shift-in
As a preparation for inputting a test pattern to the data circuit 1, the test pattern is shifted into the connection circuit PCC on the input side. When the shift mode control signal SM is “1”, the test pattern input to the data circuit 1 can be shifted in from the scan-in terminal SI. Since the conventional data circuit 1 has 4 bits, a 4-bit test pattern is shifted in. The test pattern is shifted in the order of the input side connection circuits PCC [0] → PCC [1] → PCC [2] → PCC [3], and the test patterns are input to the input side connection circuits PCC [0] to [3]. Entered.
[0023]
2. Execution
The shift mode control signal SM is set to “0”. At this time, if the holding control signal HLD0 is “1”, the data after the shift-in of the test pattern, that is, the test pattern is held in the connection circuit PCC on the input side. In the output side connection circuit PCC, the data after the completion of the test pattern shift-in is held. If the hold control signal HLD0 is “0” when the shift mode control signal SM is set to “0”, the input data IN is taken into the input terminal DI, and the output data DO which is the test result of the data circuit 1 is output as data. Output to the terminal OUT. Thereafter, when the holding control signal HLD0 is changed from “0” to “1”, the input data IN is held in the input side connection circuit PCC, and the output data DO which is the test result is held in the output side connection circuit PCC. Is done.
[0024]
3. Shift out test results
The shift mode control signal SM is set to “1”. At this time, the test results are sequentially shifted out from the scan-out terminal SO.
[0025]
The above is the circuit operation of the circuit shown in FIG.
[0026]
[Problems to be solved by the invention]
As shown in FIG. 32, the conventional scan path circuit includes two selectors 102 and 103 between the data input terminal IN for normal operation and the input terminal DI of the data circuit 1. Similarly, two selectors 102 and 103 are included between the output terminal DO of the data circuit 1 and the data output terminal OUT for normal operation. Therefore, there is a problem in that the setup becomes large and the circuit speed during normal operation decreases.
[0027]
SUMMARY OF THE INVENTION In view of the above, it is an object of the present invention to provide a scan path configuration circuit for an operation test of a logic circuit, which can obtain a high speed operation during a normal operation.
[0028]
[Means for Solving the Problems]
  The scan path configuration circuit according to claim 1 includes first and second switching circuits and a memory circuit, and includes a connection circuit input terminal, a connection circuit test input terminal, a connection circuit output terminal, and a connection circuit The first control signal for connection circuit input to the first control terminal for connection circuit and the second control signal for connection circuit input to the second control terminal for connection circuit are provided with the first and second control terminals, respectively. The first switching circuit includes a first switching circuit, one input terminal for the first switching circuit, the other input terminal for the first switching circuit, an output terminal for the first switching circuit, and a second switching logic. 1 switching circuit control terminal, the second switching circuit has a second switching circuit one input terminal, a second switching circuit other input terminal, a second switching circuit output terminal and a second switching circuit control terminal. And the memory circuit is an input terminal for the memory circuit. And the output terminal for the memory circuit, the control terminal for the first switching circuit constitutes the first control terminal for the connection circuit, the one input terminal for the first switching circuit constitutes the input terminal for the connection circuit, and When the first control signal takes the first logic, the one input terminal for the first switching circuit is connected to the output terminal for the first switching circuit, and when the first control signal for the connecting circuit takes the second logic, the first switching is made. The other input terminal for the circuit is connected to the output terminal for the first switching circuit, the control terminal for the second switching circuit constitutes the second control terminal for the connection circuit, and the one input terminal for the second switching circuit is the test input for the connection circuit When the second control signal for the connection circuit takes the first logic, the one input terminal for the second switching circuit is connected to the output terminal for the second switching circuit, and the second control signal for the connection circuit is the second When taking logic, the other input terminal for the second switching circuit is connected to the output for the second switching circuit. The second switching circuit output terminal is connected to the first switching circuit other input terminal, the first switching circuit output terminal is connected to the memory circuit input terminal, and the memory circuit output terminal is the connection circuit. And a control circuit first and second control input terminal, and a control circuit first and second control output. Control circuit test terminal, control circuit first and second control input terminals and control circuit test terminals are input with control circuit first and second control input signals and control circuit test signals, respectively. The first and second control output signals for the control circuit are output from the first and second control output terminals for the control circuit, respectively, and the first and second control input signals for the control circuit and the first and second control circuit signals are output. 2 Control output signal And the control circuit test signal each take binary logic, and when the control circuit test signal takes either binary logic, the logic of the control circuit first and second control output signals is for the control circuit. When the control circuit test signal takes the other of the binary logic and is equal to the logic of the second control input signal,2The logic of the control output signal is equal to the inverted logic of the first control input signal for the control circuit.1The logic of the control output signal is equal to the logic of the first control input signal for the control circuit, the first control output terminal for the control circuit is connected to the first control terminal for the connection circuit, and the second control output terminal for the control circuit is the connection circuit. And a control circuit that controls the connection circuit by being connected to the second control terminal.
[0029]
  The scan path configuration circuit according to claim 2 includes first and second switching circuits and a memory circuit, and includes a connection circuit input terminal, a connection circuit test input terminal, a connection circuit output terminal, and a connection circuit The first control signal for connection circuit input to the first control terminal for connection circuit and the second control signal for connection circuit input to the second control terminal for connection circuit are provided with the first and second control terminals, respectively. The first switching circuit includes a first switching circuit, one input terminal for the first switching circuit, the other input terminal for the first switching circuit, an output terminal for the first switching circuit, and a second switching logic. 1 switching circuit control terminal, the second switching circuit has a second switching circuit one input terminal, a second switching circuit other input terminal, a second switching circuit output terminal and a second switching circuit control terminal. And the memory circuit is an input terminal for the memory circuit. And the output terminal for the memory circuit, the control terminal for the first switching circuit constitutes the first control terminal for the connection circuit, the one input terminal for the first switching circuit constitutes the input terminal for the connection circuit, and When the first control signal takes the first logic, the one input terminal for the first switching circuit is connected to the output terminal for the first switching circuit, and when the first control signal for the connecting circuit takes the second logic, the first switching is made. The other input terminal for the circuit is connected to the output terminal for the first switching circuit, the control terminal for the second switching circuit constitutes the second control terminal for the connection circuit, and the one input terminal for the second switching circuit is the test input for the connection circuit When the second control signal for the connection circuit takes the first logic, the one input terminal for the second switching circuit is connected to the output terminal for the second switching circuit, and the second control signal for the connection circuit is the second When taking logic, the other input terminal for the second switching circuit is connected to the output for the second switching circuit. The second switching circuit output terminal is connected to the first switching circuit other input terminal, the first switching circuit output terminal is connected to the memory circuit input terminal, and the memory circuit output terminal is the connection circuit. A connection circuit comprising an output terminal for the second switching circuit and connected to the other input terminal for the second switching circuit, the first and second control input terminals for the control circuit, and the first and second control outputs for the control circuit The first and second control input terminals for the control circuit are respectively input with the first and second control input signals for the control circuit, and the first and second control output terminals for the control circuit are respectively for the control circuit. First and second control output signals are output, and the first and second control input signals for the control circuit and the first and second control output signals for the control circuit each take binary logic, and the first control for the control circuit Input signal is first logic The logic of the first and second control output signals for the control circuit is equal to the logic of the second control input signal for the control circuit, and when the first control input signal for the control circuit takes the second logic,2The logic of the control output signal is equal to the inverted logic of the first control input signal for the control circuit.1The logic of the control output signal is equal to the logic of the control circuit first control input signal, the control circuit first control output terminal is connected to the connection circuit first control terminal, and the control circuit second control output terminal is connected to the connection circuit. And a control circuit that controls the connection circuit by being connected to the second control terminal.
[0030]
The scan path configuration circuit according to claim 3 includes first and second switching circuits and a memory circuit, and includes a connection circuit input terminal, a connection circuit test input terminal, a connection circuit output terminal, and a connection circuit use. The first control signal for connection circuit input to the first control terminal for connection circuit and the second control signal for connection circuit input to the second control terminal for connection circuit are provided with the first and second control terminals, respectively. The first switching circuit includes a first switching circuit, one input terminal for the first switching circuit, the other input terminal for the first switching circuit, an output terminal for the first switching circuit, and a second switching logic. 1 switching circuit control terminal, the second switching circuit has a second switching circuit one input terminal, a second switching circuit other input terminal, a second switching circuit output terminal and a second switching circuit control terminal. And the memory circuit is an input terminal for the memory circuit. And the output terminal for the memory circuit, the control terminal for the first switching circuit constitutes the first control terminal for the connection circuit, the one input terminal for the first switching circuit constitutes the input terminal for the connection circuit, and When the first control signal takes the first logic, the one input terminal for the first switching circuit is connected to the output terminal for the first switching circuit, and when the first control signal for the connecting circuit takes the second logic, the first switching is made. The other input terminal for the circuit is connected to the output terminal for the first switching circuit, the control terminal for the second switching circuit constitutes the second control terminal for the connection circuit, and the one input terminal for the second switching circuit is the test input for the connection circuit When the second control signal for the connection circuit takes the first logic, the one input terminal for the second switching circuit is connected to the output terminal for the second switching circuit, and the second control signal for the connection circuit is the second When taking logic, the other input terminal for the second switching circuit is connected to the output for the second switching circuit. The second switching circuit output terminal is connected to the first switching circuit other input terminal, the first switching circuit output terminal is connected to the memory circuit input terminal, and the memory circuit output terminal is the connection circuit. And a control circuit first to third control input terminals, first and second control outputs for the control circuit, and an output terminal for the control circuit and connected to the other input terminal for the second switching circuit And control circuit test terminals. The control circuit first to third control input signals and the control circuit test signals are input to the control circuit first to third control input terminals and the control circuit test terminal, respectively. The control circuit first and second control output signals are output from the control circuit first and second control output terminals, respectively, and the control circuit first to third control input signals and the control circuit first and second control output signals are output. 2 Control output signal And the control circuit test signal each take binary logic, and when the control circuit test signal takes either binary logic, the logic of the control circuit first and second control output signals is for the control circuit. When the control circuit test signal takes the other of the binary logic, the logic of the first control output signal for the control circuit is equal to the logic of the first control input signal for the control circuit and is equal to the logic of the second control input signal. The logic of the second control output signal for circuit is equal to the logic of the third control input signal for control circuit, the first control output terminal for control circuit is connected to the first control terminal for connection circuit, and the second control output for control circuit The terminal includes a control circuit for controlling the connection circuit by being connected to the second control terminal for connection circuit.
[0031]
  The scan path configuration circuit according to claim 4 includes first and second switching circuits and a memory circuit, and includes a connection circuit input terminal, a connection circuit test input terminal, a connection circuit output terminal, and a connection circuit use. The first control signal for connection circuit input to the first control terminal for connection circuit and the second control signal for connection circuit input to the second control terminal for connection circuit are provided with the first and second control terminals, respectively. The first switching circuit includes a first switching circuit, one input terminal for the first switching circuit, the other input terminal for the first switching circuit, an output terminal for the first switching circuit, and a second switching logic. 1 switching circuit control terminal, the second switching circuit has a second switching circuit one input terminal, a second switching circuit other input terminal, a second switching circuit output terminal and a second switching circuit control terminal. And the memory circuit is an input terminal for the memory circuit. And the output terminal for the memory circuit, the control terminal for the first switching circuit constitutes the first control terminal for the connection circuit, the one input terminal for the first switching circuit constitutes the input terminal for the connection circuit, and When the first control signal takes the first logic, the one input terminal for the first switching circuit is connected to the output terminal for the first switching circuit, and when the first control signal for the connecting circuit takes the second logic, the first switching is made. The other input terminal for the circuit is connected to the output terminal for the first switching circuit, the control terminal for the second switching circuit constitutes the second control terminal for the connection circuit, and the one input terminal for the second switching circuit is the test input for the connection circuit When the second control signal for the connection circuit takes the first logic, the one input terminal for the second switching circuit is connected to the output terminal for the second switching circuit, and the second control signal for the connection circuit is the second When taking logic, the other input terminal for the second switching circuit is connected to the output for the second switching circuit. The second switching circuit output terminal is connected to the first switching circuit other input terminal, the first switching circuit output terminal is connected to the memory circuit input terminal, and the memory circuit output terminal is the connection circuit. And a control circuit first to third control input terminals, first and second control outputs for the control circuit, and an output terminal for the control circuit and connected to the other input terminal for the second switching circuit And control circuit test terminals. The control circuit first to third control input signals and the control circuit test signals are input to the control circuit first to third control input terminals and the control circuit test terminal, respectively. The control circuit first and second control output signals are output from the control circuit first and second control output terminals, respectively, and the control circuit first to third control input signals and the control circuit first and second control output signals are output. 2 Control output signal And the control circuit test signal each take binary logic, the control circuit test signal takes either binary logic, and the control circuit first and third control input signals each take first logic. The logic of the first and second control output signals for the control circuit is equal to the logic of the second control input signal for the control circuit, and when the test signal for the control circuit takes the other of the binary logic,When the third control input signal for the control circuit takes the second logic, the first control input signal for the control circuit also takes the second logic,The logic of the first control output signal for the control circuit is equal to the logic of the first control input signal for the control circuit, the logic of the second control output signal for the control circuit is equal to the logic of the third control input signal for the control circuit, and the control circuit A first control output terminal for connection is connected to the first control terminal for connection circuit, and a second control output terminal for control circuit is connected to the second control terminal for connection circuit, thereby controlling the connection circuit. It is characterized by the following.
[0032]
The scan path configuration circuit according to claim 5 includes first and second switching circuits and a memory circuit, and includes a connection circuit input terminal, a connection circuit test input terminal, a connection circuit output terminal, and a connection circuit The first control signal for connection circuit input to the first control terminal for connection circuit and the second control signal for connection circuit input to the second control terminal for connection circuit are provided with the first and second control terminals, respectively. The first switching circuit includes a first switching circuit, one input terminal for the first switching circuit, the other input terminal for the first switching circuit, an output terminal for the first switching circuit, and a second switching logic. 1 switching circuit control terminal, the second switching circuit has a second switching circuit one input terminal, a second switching circuit other input terminal, a second switching circuit output terminal and a second switching circuit control terminal. And the memory circuit is an input terminal for the memory circuit. And the output terminal for the memory circuit, the control terminal for the first switching circuit constitutes the first control terminal for the connection circuit, the one input terminal for the first switching circuit constitutes the input terminal for the connection circuit, and When the first control signal takes the first logic, the one input terminal for the first switching circuit is connected to the output terminal for the first switching circuit, and when the first control signal for the connecting circuit takes the second logic, the first switching is made. The other input terminal for the circuit is connected to the output terminal for the first switching circuit, the control terminal for the second switching circuit constitutes the second control terminal for the connection circuit, and the one input terminal for the second switching circuit is the test input for the connection circuit When the second control signal for the connection circuit takes the first logic, the one input terminal for the second switching circuit is connected to the output terminal for the second switching circuit, and the second control signal for the connection circuit is the second When taking logic, the other input terminal for the second switching circuit is connected to the output for the second switching circuit. The second switching circuit output terminal is connected to the first switching circuit other input terminal, the first switching circuit output terminal is connected to the memory circuit input terminal, and the memory circuit output terminal is the connection circuit. And a control circuit first to third control input terminal and control circuit first and second control outputs, wherein the connection circuit is configured to be connected to the other input terminal for the second switching circuit. Control circuit first to third control input terminals are input to control circuit first to third control input signals, respectively, and control circuit first and second control output terminals are respectively used to control circuit First and second control output signals are output, and the first to third control input signals for the control circuit and the first and second control output signals for the control circuit each take binary logic, and the first control input for the control circuit The signal has the first logic The logic of the first and second control output signals for the control circuit is equal to the logic of the second control input signal for the control circuit, and when the first control input signal for the control circuit takes the second logic, The logic of one control output signal is equal to the logic of the first control input signal for the control circuit, the logic of the second control output signal for the control circuit is equal to the logic of the third control input signal for the control circuit, and the first control for the control circuit. The output terminal is connected to the connection circuit first control terminal, and the control circuit second control output terminal is connected to the connection circuit second control terminal to control the connection circuit. Features.
[0033]
The scan path configuration circuit according to claim 6 includes first and second switching circuits and a memory circuit, and includes a connection circuit input terminal, a connection circuit test input terminal, a connection circuit output terminal, and a connection circuit use. The first control signal for connection circuit input to the first control terminal for connection circuit and the second control signal for connection circuit input to the second control terminal for connection circuit are provided with the first and second control terminals, respectively. The first switching circuit includes a first switching circuit, one input terminal for the first switching circuit, the other input terminal for the first switching circuit, an output terminal for the first switching circuit, and a second switching logic. 1 switching circuit control terminal, the second switching circuit has a second switching circuit one input terminal, a second switching circuit other input terminal, a second switching circuit output terminal and a second switching circuit control terminal. And the memory circuit is an input terminal for the memory circuit. And the output terminal for the memory circuit, the control terminal for the first switching circuit constitutes the first control terminal for the connection circuit, the one input terminal for the first switching circuit constitutes the input terminal for the connection circuit, and When the first control signal takes the first logic, the one input terminal for the first switching circuit is connected to the output terminal for the first switching circuit, and when the first control signal for the connecting circuit takes the second logic, the first switching is made. The other input terminal for the circuit is connected to the output terminal for the first switching circuit, the control terminal for the second switching circuit constitutes the second control terminal for the connection circuit, and the one input terminal for the second switching circuit is the test input for the connection circuit When the second control signal for the connection circuit takes the first logic, the one input terminal for the second switching circuit is connected to the output terminal for the second switching circuit, and the second control signal for the connection circuit is the second When taking logic, the other input terminal for the second switching circuit is connected to the output for the second switching circuit. The second switching circuit output terminal is connected to the first switching circuit other input terminal, the first switching circuit output terminal is connected to the memory circuit input terminal, and the memory circuit output terminal is the connection circuit. And a control circuit first to third control input terminal and control circuit first and second control outputs, wherein the connection circuit is configured to be connected to the other input terminal for the second switching circuit. Control circuit first to third control input terminals are input to control circuit first to third control input signals, respectively, and control circuit first and second control output terminals are respectively used to control circuit First and second control output signals are output, and the first to third control input signals for the control circuit and the first and second control output signals for the control circuit each take binary logic, and the first control input for the control circuit The signal has the first logic And third control for the control circuitinputWhen the signal takes the first logic, the logic of the first and second control output signals for the control circuit is equal to the logic of the second control input signal for the control circuit, and the first control input signal for the control circuit takes the second logic. The logic of the first control output signal for the control circuit is equal to the logic of the first control input signal for the control circuit, the logic of the second control output signal for the control circuit is equal to the logic of the third control input signal for the control circuit, A control circuit for controlling the connection circuit by connecting the first control output terminal for the control circuit to the first control terminal for the connection circuit, and connecting the second control output terminal for the control circuit to the second control terminal for the connection circuit; It is characterized by comprising.
[0034]
  8. The scan path configuration circuit according to claim 7, comprising a connection circuit input terminal, a connection circuit test input terminal, a connection circuit output terminal, a connection circuit first and second control terminal, and an expectation terminal, and a connection circuit. The first control signal for connection circuit input to the first control terminal for connection and the second control signal for connection circuit input to the second control terminal for connection circuit are composed of different first logic and second logic, respectively. When the first control signal for the connection circuit takes the first logic, the signal input to the input terminal for the connection circuit is output from the output terminal for the connection circuit, and the first control signal for the connection circuit is When the second control signal for the connection circuit takes the first logic, the signal input to the test input terminal for the connection circuit is output from the output terminal for the connection circuit, and the first and second connection circuit signals are output. Each control signal takes second logic If the logic of the signal input to the expected terminal matches the logic of the signal input to the connection circuit input terminal, the signal output from the connection circuit output terminal is output to the connection circuit output terminal. The first and third control input terminals for the control circuit, the first and third control input terminals for the control circuit, and the first and third control input terminals for the control circuit. A second control output terminal, and control circuit first to third control input signals are respectively input to the control circuit first to third control input terminals; First and second control output signals for the control circuit are output, respectively, and the first to third control input signals for the control circuit and the first and second control output signals for the control circuit take binary logic, respectively. The first control input signal is When the control circuit third control input signal takes the first logic, the control circuit first and second control output signals have the same logic as the control circuit second control input signal. When the circuit first control input signal takes the second logic, the logic of the control circuit first control output signal is equal to the logic of the control circuit first control input signal, and the logic of the control circuit second control output signal is The first control output terminal for the control circuit is connected to the first control terminal for the connection circuit, and the second control output terminal for the control circuit is connected to the second control terminal for the connection circuit. And a control circuit that controls the connection circuit by being connected.
The scan path configuration circuit according to claim 8, comprising a connection circuit input terminal, a connection circuit test input terminal, a connection circuit output terminal, a connection circuit first and second control terminal, and an expectation terminal, and the connection A first control signal for connection circuit input to the first control terminal for circuit and a second control signal for connection circuit input to the second control terminal for connection circuit are different from each other in first logic and second logic, respectively. When the first control signal for connection circuit takes the first logic, the signal input to the input terminal for connection circuit is output from the output terminal for connection circuit, and the connection circuit When the first control signal for the circuit takes the second logic and the second control signal for the connection circuit takes the first logic, the signal input to the test input terminal for the connection circuit is the output terminal for the connection circuit Output from When the circuit first and second control signals each take the second logic, the logic of the signal input to the expected terminal matches the logic of the signal input to the connection circuit input terminal. The signal output from the connection circuit output terminal is continuously output from the connection circuit output terminal, and when the signals do not match, the first logic is continuously output from the connection circuit output terminal. A control circuit first to third control input terminal, a control circuit first and second control output terminal, and a control circuit test terminal, the control circuit first to third control input terminal and the control circuit The control circuit test terminals are supplied with first to third control input signals for the control circuit and a test signal for the control circuit, respectively, and the first and second control output terminals for the control circuit respectively receive the first control circuit test signal. And a second control output signal, the control circuit first to third control input signals, the control circuit first and second control output signals, and the control circuit test signal each have the binary logic. When the control circuit test signal takes one of the binary logic, the logic of the control circuit first and second control output signals is equal to the logic of the control circuit second control input signal, When the control circuit test signal takes the other of the binary logic, the logic of the first control output signal for the control circuit is equal to the logic of the first control input signal for the control circuit, and the second control for the control circuit The logic of the output signal is equal to the logic of the third control input signal for the control circuit, the first control output terminal for the control circuit is connected to the first control terminal for the connection circuit, and the second control output terminal for the control circuit Is for the connection circuit And a control circuit for controlling the connection circuit by being connected to two control terminals.
[0035]
  Claim9In the scan path configuration circuit described in (1), the connection circuit further includes a comparison terminal and an expectation terminal, and includes an exclusive OR element, a NOT AND element, and a comparison signal input to the comparison terminal. Takes binary logic, the exclusive OR element has an exclusive OR element output terminal and two exclusive OR element input terminals, and the negative AND element has a negative AND element output terminal and two negation elements An AND element input terminal is provided. The AND element includes an AND element output terminal and two AND element input terminals. The connection between the memory circuit output terminal and the second input terminal for the second switching circuit is logical. One of the input terminals for the exclusive OR element constitutes an expected terminal, and the other input terminal for the exclusive OR element and the one input terminal for the first switching circuit are shared. Connected and exclusive OR element The output terminal is connected to one of the input terminals for the negative AND element, the other input terminal for the negative AND element constitutes a comparison terminal, and the output terminal for the negative AND element is one of the input terminals for the AND element The memory circuit output terminal is connected to the other one of the AND element input terminals.
[0036]
  Claim10In the scan path configuration circuit described in (1), the connection circuit further includes a comparison terminal and an expectation terminal, and includes an exclusive OR element and a negative AND element, and the storage circuit further includes a storage circuit initialization terminal, The comparison signal input to the comparison terminal takes binary logic, the exclusive OR element has an exclusive OR element output terminal and two exclusive OR element input terminals, and the negative AND element has negative logic. An output terminal for the product element and two input terminals for the negative logical product element, and either one of the input terminals for the exclusive OR element constitutes an expected terminal, and the other one of the input terminals for the exclusive OR element One input terminal for the switching circuit is connected in common, the output terminal for the exclusive OR element is connected to one of the input terminals for the negative AND element, and the other input terminal for the negative AND element is the comparison terminal Construct and disjunctive Use output terminal and being connected to the initialization terminal storage circuit.
[0037]
  Claim11The scan path configuration circuit described in 1 is a scan path configuration circuit provided in a RAM having a write terminal and a read terminal, and a connection circuit is prepared for each write terminal and for each read terminal. The connection circuit output terminal of the connection circuit prepared is connected to the write terminal, and the connection circuit input terminal of the connection circuit prepared to the read terminal is connected to the read terminal, respectively. The write control circuit for controlling the connection circuit prepared for each is a control circuit, and the read control circuit for controlling the connection circuit prepared for each read terminal is a control circuit. The control and the control by the reading control circuit are independent of each other.
[0038]
  Claim12The scan path configuration circuit described in 1 includes a write terminal and a read terminal, the read / write terminal includes a write address terminal and a write input terminal, and the read terminal is a read address terminal and a read output terminal. A scan path configuration circuit provided in a RAM comprising: a connection circuit prepared for each write address terminal; for each write input terminal; for each read address terminal; and for each read output terminal; A write address terminal is connected to each of the connection circuit output terminals of the connection circuit prepared for the address terminal for writing, and a write input terminal is respectively connected to the output terminal for the connection circuit of the connection circuit prepared for the input terminal for writing. The connection circuit input terminal of the connection circuit that is connected and prepared for the read address terminal Each read address terminal is connected, and a read output terminal is connected to each connection circuit input terminal of the connection circuit prepared for the read output terminal, and the connection circuit prepared for each write address terminal is controlled. The write address control circuit is a control circuit, and the write input control circuit for controlling the connection circuit prepared for each write input terminal is a control circuit, and the connection circuit prepared for each read address terminal. The read address control circuit that controls the read address control circuit is a control circuit, and the read output control circuit that controls the connection circuit prepared for each read output terminal is a control circuit. Control by write input control circuit, control by read address control circuit, and read output control circuit Characterized in that that control and are each independently.
[0039]
DETAILED DESCRIPTION OF THE INVENTION
Embodiment 1 FIG.
FIG. 1 is a circuit diagram of a logic circuit provided with a control circuit and a test circuit according to the present embodiment. Components having the same configuration, function, etc. as those of the circuits shown in the prior art are given the same reference numerals.
[0040]
As shown in the figure, the data circuit 1 that is a logic circuit is controlled in input / output by a test circuit TC that is a test circuit.
[0041]
First, the data circuit 1 will be described. The data circuit 1 includes input terminals DI [0] to [3] and output terminals DO [0] to [3]. The data circuit 1 outputs unique output data DO [0] to [3] to the output terminals DO [0] to [3] with respect to the input data DI [0] to [3] given to the input terminals DI [0] to [3]. This is a circuit that outputs from [3]. Examples of the data circuit 1 include a combinational circuit or a storage circuit such as a RAM.
[0042]
Although the data circuit 1 shown in the present embodiment is 4 bits, the application of the test circuit according to the present invention is not limited to a 4-bit logic circuit, and can be applied to a logic circuit having any number of bits. It is possible to apply the test circuit of the present invention. [Number] added to data or a terminal represents a bit number of the data. As described above, the data input to the terminal or the data output from the terminal is associated with the bit number. Therefore, when data or terminals are collectively referred to, or when it is not necessary to consider the difference due to the bit number, the bit number is omitted below. Even when the bit number is omitted, each data corresponds to a bit number terminal. In particular, when it is desired to clarify the correspondence for each bit, it is described as DI [N]. Unless otherwise stated, N represents any number among 0, 1, 2, and 3.
[0043]
Next, a circuit related to data input / output will be described. Test circuits TC are inserted between the input terminal DI and the data input terminal IN of the data circuit 1 and between the output terminal DO and the data output terminal OUT, respectively. The test circuit TC is a circuit including input terminals d [0] to [3], output terminals q [0] to [3], a scan-in terminal si, a test holding terminal thld, a shift mode terminal sm, and a scan-out terminal so. .
[0044]
An operation of the test circuit TC by the test holding control signal thld and the shift mode control signal sm input to the test holding terminal thld and the shift mode terminal sm, respectively, will be described. When the shift mode control signal sm is “0”, the test circuit TC takes in the data input to the input terminal d and outputs it directly from the output terminal q. When the shift mode control signal sm is “1” and the test holding control signal thld is “0”, the test circuit TC takes in the data input to the scan-in terminal si and outputs it from the scan-out terminal so. When the shift mode control signal sm is “1” and the test holding control signal thld is “1”, data is held in a connection circuit CC described later provided in the test circuit TC.
[0045]
The test circuit TC performing the circuit operation as described above can be obtained by using the connection circuit CC shown in FIG. The connection circuit CC will be described. The connection circuit CC is configured by the selectors 2 and 3 and the flip-flop 4. The selectors 2 and 3 are selectors each having a data input 0 terminal, a data input 1 terminal, an output terminal, and a control terminal. A control signal for switching the selector is input to the control terminal of the selector. The data input 0 terminal is selected and connected to the output terminal when the control signal is “0”. On the other hand, the data input 1 terminal is selected and connected to the output terminal when the control signal is “1”. Therefore, it is possible to select data output from the selector by switching between “1” and “0” of the control signal input to the selector. The selector 2 is controlled by a test holding control signal thld, and the selector 3 is controlled by a shift mode control signal sm. The data input 0 terminal of the selector 2 is connected to the scan-in terminal si, and the data input 1 terminal is connected to the output terminal of the flip-flop 4. The output terminal of the selector 2 is connected to the data input 1 terminal of the selector 3. An input terminal d is connected to the data input 0 terminal of the selector 3. The output terminal of the selector 3 is connected to the input terminal of the flip-flop 4. The output data of the flip-flop 4 is input to the data input 1 terminal of the selector 2 as described above, and further output as scan-out data so or serial input data q of the connection circuit CC. Serial input data is data output during normal operation. The flip-flop 4 is a D flip-flop or a flip-flop having the same function as the D flip-flop.
[0046]
The circuit operation of the connection circuit CC will be described. The connection circuit CC is a circuit that outputs a signal input to the input terminal d when the shift mode control signal sm is “0”. When the shift mode control signal sm is “1” and the test holding control signal thld is “0”, the connection circuit CC outputs data input to the scan-in terminal si. When the shift mode control signal sm is “1” and the test holding control signal thld is “1”, the connection circuit CC holds the data of the scan flip-flop 4. The connection circuits CC [0] to [3] are inserted and connected between the data input terminals d [0] to [3] and the output terminals q [0] to [3], respectively, and the 4-bit test circuit TC is connected. Composed.
[0047]
FIG. 3 is a circuit diagram showing a configuration of the test circuit TC. The connection circuit CC is connected in order to configure the test circuit TC. The connection between the connection circuits CC will be described. The data input 0 terminal of the selector 2 [0] of the connection circuit CC [0] is connected to the scan-in terminal si of the test circuit TC. For N = 1 to 3, the scan-out data so [N−1] of the connection circuit CC [N−1] is input to the data input 0 terminal of the selector 2 [N] of the connection circuit CC [N]. The output terminal of the flip-flop 4 [3] of the connection circuit CC [3] is connected to the scan-out terminal so of the test circuit TC. In addition to being connected as described above, each scan-out terminal so [N] of the connection circuit CC [N] also constitutes an output terminal q [N] of the test circuit TC.
[0048]
Next, the data circuit 1 and the circuit including the scan path according to the present embodiment will be described with reference to FIG.
[0049]
First, the data input terminal IN, the data output terminal OUT, and the connection between the data circuit 1 and the test circuit TC, which are necessary for normal operation, will be described. On the input side of the data circuit 1, the input terminal d [N] and the output terminal q [N] of the test circuit TC are connected to the data input terminal IN [N] and the input terminal DI [N] of the data circuit 1, respectively. . Similarly, on the output side, the input terminal d [N] and the output terminal q [N] of the test circuit TC are connected to the output terminal DO [N] and the data output terminal OUT [N] of the data circuit 1.
[0050]
Next, the scan-in terminals SI and si and the scan-out terminals SO and so used when performing a scan test will be described. The scan-in terminal SI is connected to the scan-in terminal si of the input side test circuit TC. The scan-out terminal so of the input-side test circuit TC is connected to the scan-in terminal si of the output-side test circuit TC. The scan-out terminal so of the output-side test circuit TC is connected to the scan-out terminal SO which is the final output terminal of the scan path.
[0051]
Next, the control circuit CTL1 according to the present embodiment that gives the test holding control signal thld and the shift mode control signal sm to the test circuit TC will be described. The control circuit CTL1 is a circuit that receives the test control signal TEST, the shift mode control signal SM, and the hold control signal HLD0, and outputs the test hold control signal thld and the shift mode control signal sm to the test circuit TC.
[0052]
When the test control signal TEST is “0”, the control circuit CTL1 outputs the holding control signal HLD0 as the test holding control signal thld and the shift mode control signal sm. When the test control signal TEST is “1”, the control circuit CTL outputs the logically inverted signal of the shift mode control signal SM as the test holding control signal thld and the shift mode control signal SM as the shift mode control signal sm. Here, the logic inversion signal will be described. When the input signal is “0”, the logic inversion signal is “1”, and when the input signal is “1”, the logic inversion signal is “0”.
[0053]
The connection of the control circuit CTL1 will be described. The control circuit CTL1 is configured by the selectors 5 and 6 and the inverter 10. Selectors 5 and 6 have data input 0 terminal, data input 1 terminal, output terminal and control terminal.EndIt is a selector having each child. A test control signal TEST for simultaneously switching the selectors 5 and 6 is input to the control terminals of the selectors 5 and 6. The data input 0 terminal is selected and connected to the output terminal when the test control signal TEST is “0”. On the other hand, the data input 1 terminal is selected and connected to the output terminal when the test control signal TEST is “1”. Therefore, by switching between “1” and “0” of the test control signal TEST input to the selectors 5 and 6, data output from the selectors 5 and 6 can be selected. A holding terminal HLD0 is commonly connected to the data input 0 terminals of the selectors 5 and 6, respectively. The shift mode terminal SM is connected to the data input 1 terminal of the selector 5 via the inverter 10, and the shift mode terminal SM is connected to the data input 1 terminal of the selector 6 without going through anything. The output terminal of the selector 5 is connected to the test holding terminal thld of the test circuit TC. The output terminal of the selector 6 is connected to the shift mode terminal sm of the test circuit TC.
[0054]
The circuit operation of the circuit shown in FIG. 1 is summarized below. As the circuit operation, there are a normal operation and a scan test operation. Table 1 shows the optimum setting values of the respective signals and data in the normal operation and the scan test. In the table, “DC” means “Don't Care” and indicates that no signal or data is involved in the operation.
[0055]
[Table 1]
Figure 0003691144
[0056]
First, normal operation will be described. During normal operation, the test control signal TEST is set to “0”. When the test control signal TEST is “0”, the selectors 5 and 6 output the data input to the data input 0 terminal. Therefore, the holding control signal HLD0 is input as the test holding control signal thld and the shift mode control signal sm. This is given to the test circuit TC on the output side. At this time, if the holding control signal HLD0 is “0”, on the input side, the input data IN is taken into the input terminal DI of the data circuit 1 via the connection circuit CC on the input side. On the output side, the output data DO is output to the data output terminal OUT via the output side connection circuit CC. If the holding control signal HLD0 is “1”, the input data IN and the output data DO are held in the connection circuit CC, respectively.
[0057]
Next, the scan test operation will be described. During the scan test, the test pattern is shifted in, executed, and the test result is shifted out in order. At the time of the scan test, the test control signal TEST is set to “1”. When the test control signal TEST is “1”, the inverted logic of the shift mode control signal SM and the shift mode control signal SM are supplied to the test circuit TC on the input side and the output side as the test holding control signal thld and the shift mode control signal sm, respectively. Given.
[0058]
1. Test pattern shift-in
In preparation for inputting a test pattern to the data circuit 1, the test pattern is shifted into the connection circuit CC on the input side. When the shift mode control signal SM is “1”, the test pattern input to the data circuit 1 can be shifted in from the scan-in terminal SI. Since the data circuit 1 of this embodiment has 4 bits, a 4-bit test pattern is shifted in. The test pattern is shifted in the order of the input side connection circuits CC [0] → CC [1] → CC [2] → CC [3], and the test patterns are input to the input side connection circuits CC [0] to [3]. Entered. Since the input-side and output-side test circuits TC are simultaneously controlled by the shift mode control signal SM, data shift also occurs in the output-side connection circuits CC [0] to CC [3].
[0059]
2. Execution
The shift mode control signal SM is set to “0”. At this time, the input data IN is taken into the input terminal DI via the connection circuits CC on the input side or the output side, and the output data DO which is the test result of the data circuit 1 is output to the data output terminal OUT.
[0060]
3. Shift out test results
The shift mode control signal SM is set to “1”. At this time, the test results are sequentially shifted out from the scan-out terminal SO.
[0061]
The above is the circuit operation of the circuit shown in FIG. The data input 0 terminal and the data input 1 terminal of the selectors 2 and 3 shown in FIG. 2 are interchanged, and the test holding control signal thld and the shift mode control signal sm input to the control terminals of the selectors 2 and 3 are “ Even if each of “0” and “1” is replaced, the circuit operation of the test circuit of the present invention does not change.
[0062]
Use of the control circuit CTL1 shown in FIG. 1 has the following advantages.
[0063]
FIG. 4 is a circuit diagram showing a circuit in which a test path TC is provided on each of the input side and output side of the data circuits 1, 1a and 1b to form a scan path. The data circuits 1a and 1b are logic circuits, and the data circuit 1 is controlled by a control circuit CTL1 (not shown). The holding control signal HLD0 input to the TC on the input side and the output side of the data circuit 1 is output from the data circuit 1a..
The data circuits 1a, 1 and 1b are arranged in order, and the scan path is composed of the scan-in terminal SI → the test circuit TC on the input side of the data circuit 1a → the test circuit TC on the output side of the data circuit 1a → the input side of the data circuit 1 Test circuit TC → Test circuit TC on the output side of data circuit 1 → Test circuit TC on the input side of data circuit 1b → Test circuit TC on the output side of data circuit 1b → Scan-out terminal SO
[0064]
As described above, in the circuit shown in FIG. 4, the holding control signal HLD0 is supplied from the data circuit 1a to the test circuit TC on the input side and output side of the data circuit 1, respectively. In the control circuit CTL1, which of the holding terminal HLD0 and the shift mode terminal SM is selected is controlled by the test control signal TEST. Therefore, by controlling the test circuit TC on the input side and the output side of the data circuit 1 by the control circuit CTL1, the scan test of the data circuit 1 can be performed independently of the holding control signal HLD0 given from the data circuit 1a. Test pattern generation is simplified.
[0065]
As shown in FIG. 5, it is also possible to connect the scan-in terminal SI to the scan-in terminal si of the test circuit TC on the input side via the scan flip-flop HSFF.
[0066]
FIG. 6 is a circuit diagram showing the scan flip-flop HSFF. The scan flip-flop HSFF is a circuit including a selector 14 and a flip-flop 15. A scan flip-flop HFSS is provided to confirm the holding control signal HLD input to the control circuit that controls the test circuit TC. The holding control signal HLD is a signal including the holding control signal HLD0. The selector 14 has a data input 0 terminal, a data input 1 terminal, an output terminal, and a control terminal. A shift mode control signal SM for switching the selector 14 is input to the control terminal. The data input 0 terminal is selected and connected to the output terminal when the shift mode control signal SM is “0”. On the other hand, the data input 1 terminal is selected and connected to the output terminal when the shift mode control signal SM is “1”. Therefore, the data output from the selector 14 can be selected by switching between “1” and “0” of the shift mode control signal SM input to the selector 14. The data input 1 terminal of the selector 14 is connected to the scan-in terminal SI, and the data input 0 terminal is connected to the holding terminal HLD. The output terminal of the selector 14 is connected to the input terminal of the flip-flop 15. The output terminal of the flip-flop 15 becomes the scan-out terminal SO of the scan flip-flop HSFF. The flip-flop 15 is a D flip-flop or a flip-flop having the same function as the D flip-flop.
[0067]
The holding control signal HLD is a signal input to the control circuit. The holding control signal HLD input to the control circuit is a signal for controlling the test circuit TC. Specifically, the holding control signal HLD is a signal for switching the connection of the selector 2 included in the test circuit TC. It is not output as data from the data circuit 1 or from the scan path. Therefore, it is difficult to directly observe the holding control signal HLD when the scan flip-flop HSFF is not provided. If the holding control signal HLD does not take a desired logic, the test circuit TC controlled by the holding control signal HLD does not perform a desired operation, and it becomes impossible to trust the operation test of the logic circuit. Therefore, it is necessary to directly observe the holding control signal HLD. By using the scan flip-flop HSFF, the holding control signal HLD can be directly observed.
[0068]
By inputting the holding control signal HLD to the data input 0 terminal of the scan flip-flop HSFF and setting the shift mode control signal SM to “0”, the value of the holding control signal HLD can be stored in the flip-flop 15. . As described above, the selector 14 is controlled by the shift mode control signal SM. However, it is also possible to newly provide a control terminal not related to the control of the test circuit TC, and to control the selector 14 by a control signal output from this control terminal.
[0069]
A method for observing the value stored in the flip-flop 15 of the scan flip-flop HSFF will be described. In FIG. 5, the holding control signal HLD input to the data input 0 terminal of the selector 14 of the scan flip-flop HSFF is the holding control signal HLD0. In the configuration shown in FIG. 5, since the data held in the scan flip-flop HFSS is inputted to the scan-in terminal si of the input-side test circuit TC, the hold control signal HLD0 is taken out as scan-out data SO from the scan path. It will be possible to observe later.
[0070]
In FIG. 5, the scan flip-flop HSFF is inserted between the scan-in terminal SI and the scan-in terminal si of the input-side test circuit TC, but the scan-out terminal so of the input-side test circuit TC and the output-side test circuit. Even if it is inserted between the TC scan-in terminals si, the same effect is obtained, and the holding control signal HLD can be observed. Further, the same effect can be obtained even if it is inserted between the scan-out terminal so and the scan-out terminal SO of the test circuit TC on the output side.
[0071]
As apparent from the above description, the scan flip-flop HFSS is not directly required for the operation test of the data circuit 1. Hereinafter, in this embodiment and other embodiments, the scan flip-flop HSFF is not shown and described unless it is particularly required.
[0072]
Next, another control circuit according to the present embodiment will be described. Figure 71FIG. 6 is a circuit diagram showing a control circuit CTL2 used in place of the control circuit CTL1 shown in FIG.
[0073]
The control circuit CTL2 will be described. The control circuit CTL2 is a circuit that receives the shift mode control signal SM and the holding control signal HLD0 and outputs the test holding control signal thld and the shift mode control signal sm to the test circuit TC.
[0074]
When the shift mode control signal SM is “0”, the control circuit CTL2 outputs the holding control signal HLD0 as the test holding control signal thld and the shift mode control signal sm. When the shift mode control signal SM is “1”, the control circuit CTL2 outputs “0” as the test holding control signal thld and “1” as the shift mode control signal sm.
[0075]
The configuration of the control circuit CTL2 will be described with reference to FIG. The control circuit CTL2 can be configured using two gates. Each gate has two input terminals and one output terminal. One gate is a gate 20 and the other gate is an OR gate 21. The gate 20 is a gate that takes the logical product of the inverted logic of the input signal re input to the inverting input terminal re and the input signal ge input to the input terminal ge. The OR gate 21 is a gate that takes a logical sum of two input signals input to the OR gate 21.
[0076]
The connection state of the control circuit CTL2 will be described. The holding terminal HLD0 is commonly connected to the input terminal ge of the gate 20 and one input terminal of the OR gate 21. The shift mode terminal SM is commonly connected to the inverting input terminal re of the gate 20 and the other input terminal of the OR gate 21. The output terminal of the gate 20 outputs the test holding control signal thld to the test circuit TC, and the output terminal of the OR gate 21 outputs the shift mode control signal sm to the test circuit TC. The difference from the control circuit CTL1 is that the control circuit CTL2 is not provided with the test terminal TEST.
[0077]
The circuit operation of the control circuit shown in FIG. 7 is summarized below. The circuit operation includes normal operation control and scan test operation control. Control circuit CTL in normal operation and scan test2Table 2 shows the optimum setting values of each signal and data.
[0078]
[Table 2]
Figure 0003691144
[0079]
First, normal operation will be described. During normal operation, the shift mode control signal SM is set to “0”. When the shift mode control signal SM is “0”, the gate 20 and the OR gate 21 supply the logic of the holding control signal HLD0 to the test circuit TC on the input side and the output side as the test holding control signal thld and the shift mode control signal sm. . At this time, if the holding control signal HLD0 is “0”, on the input side, the input data IN is taken into the input terminal DI of the data circuit 1 via the connection circuit CC on the input side. On the output side, the output data DO is output to the data output terminal OUT via the output side connection circuit CC. If the holding control signal HLD0 is “1”, the input data IN and the output data DO are held in the connection circuit CC, respectively.
[0080]
Next, the scan test operation will be described. During the scan test, the test pattern is shifted in, executed, and the test result is shifted out in order.
[0081]
1. Test pattern shift-in
When the shift mode control signal SM is “1”, the test pattern input to the data circuit 1 can be shifted in from the scan-in terminal SI.
[0082]
2. Execution
The shift mode control signal SM is set to “0”. Since the shift mode control signal SM is “0”, the circuit operation is equal to the normal operation. At this time, the input data IN is taken into the input terminal DI via the connection circuits CC on the input side or the output side, and the output data DO which is the test result of the data circuit 1 is output to the data output terminal OUT.
[0083]
3. Shift out test results
The shift mode control signal SM is set to “1”. At this time, the test results are sequentially shifted out from the scan-out terminal SO.
[0084]
The above is the circuit operation of the circuit shown in FIG.
[0085]
Even if the control circuit CTL2 shown in FIG. 7 is replaced with the CTL2a shown in FIG. 9, the same circuit operation can be obtained. The control circuit CTL2a will be described. Similar to the control circuit CTL2, the control circuit CTL2a is a circuit that receives the shift mode control signal SM and the hold control signal HLD0 and outputs the test hold control signal thld and the shift mode control signal sm to the test circuit TC.
[0086]
When the shift mode control signal SM is “0”, the control circuit CTL2a outputs the holding control signal HLD0 as the test holding control signal thld and the shift mode control signal sm. When the shift mode control signal SM is “1”, “0” is set as the test holding control signal thld, and “1” is set as the shift mode control signal sm.2aWill output.
[0087]
The configuration of the control circuit CTL2a will be described with reference to FIG. The control circuit CTL2a can be configured using two gates. Each gate has two input terminals and one output terminal. One gate is the gate 20a, and the other gate is the OR gate 21a. Gate 20a andORGate 21aAre gates having the same configuration and function as the gate 20 and the OR gate 21, respectively.
[0088]
The connection state of the control circuit CTL2a will be described. The holding terminal HLD0 is an input terminal ge of the gate 20a.Close toContinued. The shift mode terminal SM is commonly connected to the inverting input terminal re of the gate 20a and one input terminal of the OR gate 21a. The output terminal of the gate 20a is commonly connected to the test holding terminal thld of the test circuit TC and the other input terminal of the gate 21a. The output terminal of the OR gate 21a is connected to the shift mode terminal sm of the test circuit TC.
[0089]
When the control circuits CTL2 and 2a that do not receive the test control signal TEST are used, the scan test of the data circuit 1 cannot be performed independently of the holding control signal HLD0 supplied from the data circuit 1a in the circuit shown in FIG. It becomes. However, in the control circuit CTL1, two selectors 5 and 6 are used. The two-input selector is composed of three gates as shown in FIG. Of the three gates, one is an AND gate G1, one is an OR gate G2, and the other is a gate G3 having an inverting input terminal re and an input terminal ge. Therefore, the circuit area is reduced by exchanging the selectors 5 and 6 with two gates of the gate 20 and the OR gate 21.
[0090]
Embodiment 2. FIG.
In the present embodiment, a test circuit of a logic circuit to which a function of holding and compressing a test result is added is shown. In this embodiment mode, a control circuit capable of holding data during an operation test of a logic circuit is shown. Further, in the present embodiment, a test circuit for independently controlling an input side test circuit and an output side test circuit is shown.
[0091]
FIG. 10 is a circuit diagram showing a logic circuit and a test circuit according to the present embodiment. Components having the same configuration, function, and the like as those of the circuit shown in Embodiment 1 are denoted by the same reference numerals, and description thereof is omitted.
[0092]
As shown in the figure, the input of the data circuit 1 is controlled by the test circuit TC, and the output of the data circuit 1 is controlled by the test circuit CTC.
[0093]
The test circuit CTC will be described. The test circuit CTC is inserted between the data output terminal OUT and the output terminal DO of the data circuit 1. Similarly to the test circuit TC, the test circuit CTC includes input terminals d [0] to [3], output terminals q [0] to [3], a scan-in terminal si, a test holding terminal thld, a shift mode terminal sm, and a scan The circuit includes an out terminal so, and further includes an expected data terminal exp and a comparison terminal cmpen. The test circuit CTC has a function of comparing the data DO actually output from the data circuit 1 with respect to the test pattern, the expected data, and EXP, and also has a function of holding the comparison result and compressing the test result. Here, the expected data EXP is an output data pattern that is output uniquely by the data circuit 1 operating normally to the test pattern input to the data circuit 1. Expected data EXP is input to expected data terminal exp.
[0094]
Here, compression of test results will be described. Before starting the test, the test circuit CTC is set so that “0” is not held. If the data to be compared do not match, the test circuit CTC will not hold “0” unless it is determined once. If it is once determined that the data compared in the test circuit CTC does not match, “0” is held in the test circuit CTC. Once “0” is held, “0” is subsequently held. This is the compression of the test results.
[0095]
The compression test represents a test that uses compression of a test result. If it is confirmed that “0” is not held in the test circuit CTC after the test is completed, it is observed that the data circuit 1 outputs the same data as all expected output data. Is confirmed to work properly. If it is confirmed that “0” is held in the test circuit CTC, it is observed that the data circuit 1 outputs data different from the expected output data at least once, and the data circuit 1 is normal. It was confirmed that it did not work. Therefore, it is not necessary to observe the test result every time a test pattern is input to the data circuit 1. The operation test of the data circuit 1 can be performed only by inputting a plurality of test patterns in order to the data circuit 1 and simultaneously compressing the test result by the test circuit CTC and observing the compressed test result after the completion of the compression test. It becomes possible.
[0096]
Test holding terminal thld, shift mode terminal sm, ratioComparisonThe operation of the test circuit CTC using the test holding control signal thld, the shift mode control signal sm, the comparison enable signal CMPEN, and the expected data EXP input to the child cmpen and the expected data terminal exp will be described.
[0097]
The test circuit CTC is a circuit having a function of comparing the expected data EXP and the input data d. When the shift mode control signal sm is “0”, the test circuit CTC takes in the data input to the input terminal d and outputs it directly from the output terminal q. When the shift mode control signal sm is “1” and the test holding control signal thld is “0”, the test circuit CTC takes in data from the scan-in terminal si and outputs data from the scan-out terminal so. When the shift mode control signal sm is “1”, the test holding control signal thld is “1”, and the comparison enable signal CMPEN is “0”, the test circuit CTC holds the compressed test result. When the shift mode control signal sm is “1”, the test holding control signal thld is “1”, and the comparison enable signal CMPEN is “1”, the test circuit CTC outputs the expected data EXP and the input data d. The comparison result is compressed and held.
[0098]
The test circuit CTC performing the above operation is obtained by using the connection circuit CCC shown in FIG. The connection circuit CCC will be described. The connection circuit CCC is a circuit including an input terminal cd, a scan-in terminal csi, a test holding terminal cthld, a shift mode terminal csm, a scan-out terminal cso, an expected data terminal cexp, and a comparison terminal cmppen. The selectors 2 and 3, the flip-flop 4, the Ex-OR gate 30, the NAND gate 31, and the AND gate 32 constitute a connection circuit CCC.
[0099]
The selectors 2 and 3 have a data input 0 terminal, a data input 1 terminal, an output terminal, and a control terminal.EndIt is a selector having each child. The selector 2 is switched by the test holding control signal cthld, and the selector 3 is switched by the shift mode control signal csm. The input terminal cd is commonly connected to one input terminal of the Ex-OR gate 30 and the data input 0 terminal of the selector 3. The expected data terminal cexp is connected to the other input terminal of the Ex-OR gate 30. The output terminal of the Ex-OR gate 30 is connected to one input terminal of the NAND gate 31, and the comparison terminal cmppen is connected to the other input terminal of the NAND gate 31. The output terminal of the NAND gate 31 is connected to one input terminal of the AND gate 32, and the output terminal of the flip-flop 4 is connected to the other input terminal of the AND gate 32. The output terminal of the AND gate 32 is connected to the data input 1 terminal of the selector 2, and the scan-in terminal csi is connected to the data input 0 terminal of the selector 2. The output terminal of the selector 2 is connected to the data input 1 terminal of the selector 3, and the input terminal cd is connected to the data input 0 terminal of the selector 3 as described above. The output terminal of the selector 3 is connected to the input terminal of the flip-flop 4. The output data of the flip-flop 4 is input to the other input terminal of the AND gate 32 as described above, and is connected to the scan-out terminal cso of the connection circuit CCC.
[0100]
The circuit operation of the connection circuit CCC will be described.
[0101]
1. The connection circuit CCC outputs a signal input to the input terminal cd via the selector 3 and the flip-flop 4 when the shift mode control signal csm is “0”.
[0102]
2. When the shift mode control signal csm is “1” and the test holding control signal cthld is “0”, the connection circuit CCC passes the data input to the scan-in terminal csi via the selectors 2 and 3 and the flip-flop 4. Output from the scan-out terminal cso.
[0103]
3. The circuit operation when the shift mode control signal csm is “1” and the test holding control signal cthld is “1” will be described below.
[0104]
When the comparison enable signal ccmpen input from the comparison terminal ccmpen is “0”, the NAND gate 31 outputs “1” to the AND gate 32 regardless of the output data from the Ex-OR gate 30. At this time, the gate 32 outputs the output data of the flip-flop 4 to the flip-flop 4 via the selectors 2 and 3. Accordingly, the connection circuit CCC continues to hold the data of the flip-flop 4.
[0105]
When the comparison enable signal ccmpen input from the comparison terminal ccmpen is “1”, the NAND gate 31 outputs the inverted logic of the output data of the Ex-OR gate 30. The Ex-OR gate 30 outputs “0” when the expected data exp and the input data cd match, and outputs “1” when they do not match. Accordingly, the NAND gate 31 outputs “1” to the AND gate 32 when the expected data exp matches the input data cd in the Ex-OR gate 30. At this time, the gate 32 outputs the output data of the flip-flop 4 to the flip-flop 4 via the selectors 2 and 3. Accordingly, the connection circuit CCC continues to hold the data of the flip-flop 4. When the expected data exp does not match the input data cd in the Ex-OR gate 30, the NAND gate 31 outputs “0” to the AND gate 32. At this time, the AND gate 32 outputs “0” to the flip-flop 4 via the selectors 2 and 3, and the flip-flop 4 outputs “0” to the AND gate 32. As a result, “0” is held in the AND gate 32, the selectors 2 and 3, and the flip-flop 4.
[0106]
By using the connection circuit CCC, the circuit operation of the test circuit CTC described above can be obtained.
[0107]
The connection circuits CCC [0] to [3] are inserted and connected between the data input terminals d [0] to [3] and the output terminals q [0] to [3], respectively, so that a 4-bit test circuit CTC is formed. Composed. A test circuit CTC is shown in FIG.
[0108]
The configuration of the test circuit CTC will be described in detail as follows. An input terminal cd [N], a test holding terminal cthld [N], a shift mode terminal csm [N], a scan-out terminal cso [N], an expected data terminal cexp [N], and a comparison terminal cmppen [N] of the connection circuit CCC [N]. N] are connected to the input terminal d [N], test holding terminal thld, shift mode terminal sm, output terminal q [N], expected data terminal exp and comparison terminal cmpen, respectively, of the test circuit CTC. Further, the scan-out terminal cso [N] of the connection circuit CCC [N] is connected to the scan-in terminal csi [N + 1] of the connection circuit CCC [N + 1]. However, when N = 3, the scan-out terminal csi [3] of the connection circuit CCC [3] is connected to the scan-out terminal so of the test circuit CTC. Further, the scan-in terminal csi [0] of the connection circuit CCC [0] is connected to the scan-in terminal si of the test circuit CTC.
[0109]
A circuit including a logic circuit and a test circuit according to this embodiment will be described with reference to FIG.
[0110]
First, data input terminal IN, data output terminal OUT, and connection between data circuit 1 and test circuits TC and CTC, which are necessary for normal operation, will be described. On the input side of the data circuit 1, the input terminal d [N] and the output terminal q [N] of the test circuit TC are connected to the data input terminal IN [N] and the input terminal DI [N] of the data circuit 1, respectively. . Similarly, on the output side, the input terminal d [N] and the output terminal q [N] of the test circuit CTC are connected to the output terminal DO [N] and the data output terminal OUT [N] of the data circuit 1.
[0111]
Next, connection of the scan-in terminal SI and the scan-in terminals si of the test circuits TC and CTC and the scan-out terminal SO and the scan-out terminals so of the test circuits TC and CTC, which are used when performing a scan test, will be described. I do. The scan-in terminal SI is connected to the scan-in terminal si of the test circuit TC. The scan-out terminal so of the test circuit TC is connected to the scan-in terminal si of the test circuit CTC. The scan-out terminal so of the test circuit CTC is connected to the scan-out terminal SO that is the final output terminal of the scan path.
[0112]
In the present embodiment, as shown in FIG. 10, one of the holding control signal HLD0 and the shift mode control signal SM is applied to the shift mode terminal sm of the test circuit TC. One of the holding control signal HLD1 and the shift mode control signal SM is supplied to the shift mode terminal sm of the test circuit CTC. One of the holding control signal HLD0 and the test holding control signal THLD0 is supplied to the test holding terminal thld of the test circuit TC. One of the holding control signal HLD1 and the test holding control signal THLD1 is supplied to the test holding terminal thld of the test circuit CTC. The expected data terminal exp and the comparison terminal cmpen of the test circuit CTC are expected data respectively.TAControl is performed by giving XP and a comparison enable signal CMPEN.
[0113]
FIG. 14 shows a control circuit for supplying the control signal as described above. FIG. 14 is a circuit diagram showing a circuit provided with a control circuit CTL3 for controlling the test circuit TC and a control circuit CCTL3 for controlling the test circuit CTC.
[0114]
The control circuit CTL3 receives the holding control signal HLD0, the test holding control signal THLD0, the shift mode control signal SM and the test control signal TEST, and supplies the test holding control signal thld and the shift mode control signal sm to the test circuit TC. Similar to the control circuit CTL3, the control circuit CCTL3 receives the holding control signal HLD1, the test holding control signal THLD1, the shift mode control signal SM and the test control signal TEST, and tests the test holding control signal thld and the shift mode control signal sm. Is applied to the circuit CTC. Shift mode control signal SM and test control signal TEST are controlled in commoncircuitGiven to CTL3 and CCTL3. In addition, independently of the control circuit CCTL3, the expected data EXP and the comparison enable signal CMPEN are supplied to the test circuit.CTCGiven to.
[0115]
First, the circuit operation of the control circuit CTL3 will be described. When the test control signal TEST is “0”, the control circuit CTL3 outputs the holding control signal HLD0 as the test holding control signal thld and the shift mode control signal sm. When the test control signal TEST is “1”, the control circuit CTL3 outputs the test holding control signal THLD0 as the test holding control signal thld and the shift mode control signal SM as the shift mode control signal sm.
[0116]
Next, the circuit operation of the control circuit CCTL3 will be described. The circuit operation of the control circuit CCTL3 is the same as the circuit operation of the control circuit CTL3. When the test control signal TEST is “0”, the control circuit CCTL3 outputs the holding control signal HLD1 as the test holding control signal thld and the shift mode control signal sm. When the test control signal TEST is “1”, the control circuit CCTL3 outputs the test holding control signal THLD1 as the test holding control signal thld and the shift mode control signal SM as the shift mode control signal sm.
[0117]
The configuration of the control circuit CTL3 will be described with reference to FIG. The control circuit CTL3 is configured by the selectors 5 and 6. Selectors 5 and 6 have data input 0 terminal, data input 1 terminal, output terminal and control terminal.EndIt is a selector having each child. A test control signal TEST for simultaneously switching the selectors 5 and 6 is input to the control terminals of the selectors 5 and 6. The data input 0 terminal is selected and connected to the output terminal when the test control signal TEST is “0”. On the other hand, the data input 1 terminal is selected and connected to the output terminal when the test control signal TEST is “1”. Therefore, by switching between “1” and “0” of the test control signal TEST input to the selectors 5 and 6, data output from the selectors 5 and 6 can be selected. A holding terminal HLD0 is commonly connected to the data input 0 terminals of the selectors 5 and 6, respectively. The test holding terminal THLD0 is connected to the data input 1 terminal of the selector 5, and the shift mode terminal SM is connected to the data input 1 terminal of the selector 6. The output terminal of the selector 5 is connected to the test holding terminal thld of the test circuit TC. The output terminal of the selector 6 is connected to the shift mode terminal sm of the test circuit TC.
[0118]
The configuration of the control circuit CCTL3 will be described with reference to FIG. The connection of the control circuit CCTL3 is the same as the connection of the control circuit CTL3. Control circuit CTL3
Selector 5, 6 → Selector 7, 8
Holding terminal HLD0 → Holding terminal HLD1
Test holding terminal THLD0 → Test holding terminal THLD1
The control circuit CCTL3 is configured by converting as described above.
[0119]
The circuit operation of the control circuit shown in FIG. 14 is summarized below. The circuit operation includes a normal operation, a normal scan test operation, and a scan test operation using a test result compression function. The normal scan test operation is a scan test operation shown in the first embodiment. The scan test operation that uses the test result compression function is the comparison between the actual logic circuit output data and the expected logic circuit output data on the output side of the logic circuit, and the test result is stored by holding the comparison result. This is an operation of compressing and scanning out data after compression. Table 3 shows optimum setting values of the respective signals and data in the normal operation, the normal scan test, and the scan test using the test result compression function.
[0120]
[Table 3]
Figure 0003691144
[0121]
First, normal operation will be described. During normal operation, the test control signal TEST is set to “0”, and the comparison enable signal CMPEN is set to “0”.FirstFor this purpose, the input side will be described. Since the selectors 5 and 6 output data input to the data input 0 terminal when the test control signal TEST is “0”, the holding control signal HLD0 is used as the test holding control signal thld and the shift mode control signal sm as the test circuit TC. Given to. At this time, if the holding control signal HLD0 is “0”, the input data IN is taken into the input terminal DI of the data circuit 1 through the connection circuit CC constituting the test circuit TC. If the holding control signal HLD0 is “1”, the input data IN is held in the connection circuit CC. On the output side, since the selectors 7 and 8 output the data input to the data input 0 terminal, the holding control signal HLD1 is given to the test circuit CTC as the test holding control signal thld and the shift mode control signal sm. At this time, if the holding control signal HLD1 is “0”, the output data DO is output to the data output terminal OUT via the connection circuit CCC constituting the test circuit CTC. If the holding control signal HLD1 is “1”, the output data DO is held in the connection circuit CCC because the comparison enable signal CMPEN is “0”.
[0122]
In the normal operation, the normal scan test, and the scan test using the test result compression function, the test control signal TEST is set to “1”. When the test control signal TEST is “1”, the selectors 5 and 6 constituting the control circuit CTL3 and the selectors 7 and 8 constituting the control circuit CCTL3 respectively output data input to the data input 1 terminal. At this time, on the input side, the test holding control signal THLD0 and the shift mode control signal SM are output to the test circuit TC as the test holding control signal thld and the shift mode control signal sm, respectively. On the output side, the test holding control signal THLD1 and the shift mode control signal SM are output to the test circuit CTC as the test holding control signal thld and the shift mode control signal sm, respectively.
[0123]
Next, a normal scan test operation will be described. In the normal scan test, the comparison enable signal CMPEN is set to “0”. During a normal scan test, test pattern shift-in, execution, and test result shift-out are performed in order. Further, it is possible to hold data in the connection circuits CC and CCC.
[0124]
1. Test pattern shift-in
In preparation for inputting a test pattern to the data circuit 1, the test pattern is shifted into the connection circuit CC on the input side. When the test holding control signal THLD0 is “0” and the shift mode control signal SM is “1”, the test pattern input to the data circuit 1 can be shifted in from the scan-in terminal SI. Since the data circuit 1 of this embodiment has 4 bits, a 4-bit test pattern is shifted in. The test pattern is shifted in the order of the input side connection circuits CC [0] → CC [1] → CC [2] → CC [3], and the test patterns are input to the input side connection circuits CC [0] to [3]. Entered.
[0125]
2. Execution
The shift mode control signal SM is set to “0”. At this time, on the input side, the input data IN is taken into the input terminal DI via the connection circuit CC, and on the output side, the output data DO which is the test result of the data circuit 1 is output to the data output terminal OUT via the connection circuit CCC. Is done.
[0126]
3. Shift out test results
The test holding control signal THLD1 is set to “0”, and the shift mode control signal SM is set to “1”. At this time, the test results are sequentially shifted out from the scan-out terminal SO.
[0127]
When it is desired to hold data during the scan test, the shift mode control signal SM is set to “1”. If the holding control signal THLD0 is “1”, the connection circuit CC holds data on the input side. If the holding control signal THLD1 is “1”, the connection circuit CCC holds data on the output side.
[0128]
Of course, even if the output-side test circuit CTC is replaced with the test circuit TC, the above-described normal operation and normal scan test can be performed. In addition, since the data holding during the normal operation and the data holding during the normal scan test are shared by the connection circuit CC or CCC, the circuit overhead can be reduced and the circuit area can be reduced. .
[0129]
By holding the input data IN fetched into the input terminal DI during execution in the scan test operation, it becomes possible to perform a scan test of a plurality of logic circuits in one scan path. A description will be given below.
[0130]
FIG. 15 shows the input side of the data circuit 1in, the output side of the data circuit 1in and the input side of the data circuit 1, the output side of the data circuit 1 and the input side of the data circuit 1out, and the output side of the data circuit 1out. 2 is a circuit diagram illustrating a circuit in which test circuits TCa, TC, TCb, and TCc are provided and a scan path is configured. Each of the data circuits 1in and 1out is a logic circuit. The data circuit 1in gives input data IN to the data circuit 1. Data circuit 1 is a data circuit1Output data OUT is given to out. The test circuits TCa, TC, TCb, and TCc are controlled by control circuits CTLTCa, CTL3, CTLTCb, and CTLTCc (not shown), respectively. The test circuit TCa is a test circuit having the same function as the test circuit TC. The test circuits TCb and TCc are test circuits having the same configuration and function as the test circuit TC or CTC.
[0131]
The data circuits 1in, 1 and 1out are arranged in order, and the scan path is configured as scan-in terminal SI → test circuit TCa → test circuit TC → test circuit TCb → test circuit TCc → scan-out terminal SO.
[0132]
The input data IN from the data circuit 1in captured at the time of execution at the input terminal DI of the data circuit 1 is held by the test circuit TC and then shifted out and taken out from the scan-out terminal SO. A similar operation can be performed in the test circuit TCb or TCc.
[0133]
If the above operation is performed, a scan test of a plurality of logic circuits can be performed in one scan path.
[0134]
In a normal scan test, the operations described in 1 to 3 must be repeated for the number of test patterns. Next, a scan test in which only one shift-out is required for all patterns, that is, a scan test operation using a test result compression function will be described.
[0135]
The scan test operation using the test result compression function will be described with reference to FIG. In the scan test using the test result compression function, the test pattern shift-in, comparison, and compression are alternately performed after the initial setting. After all the desired test patterns have been compared and compressed, the compressed test results are shifted out.
[0136]
In a scan test using the test result compression function, the comparison enable signal CMPEN takes both values of “0” and “1”.
[0137]
1. Initial setting
As an initial setting, “1” is set to all the flip-flops 4 included in the connection circuit CCC constituting the test circuit CTC. When the shift mode control signal SM is set to "1", the test holding control signals THLD0 and THLD1 are set to "0", and "1" is shifted in from the scan-in terminal SI, "1" is set to the flip-flop 4. . The comparison enable signal CMPEN is set to “0”.
[0138]
2. Test pattern shift-in and comparison and compression
In preparation for inputting a test pattern to the data circuit 1, the test pattern is shifted into the connection circuit CC on the input side. At this time, the test holding control signal THLD1 is set to “1” in order to hold “1” set in the flip-flop 4 of the connection circuit CCC in the initial setting. The values of the test holding control signal THLD0 and the shift mode control signal SM are equal to the values at the initial setting. That is, when the test holding control signal THLD0 is “0”, the test holding control signal THLD1 is “1”, and the shift mode control signal SM is “1”, the test pattern input to the data circuit 1 is scanned in. Shift in from SI.
[0139]
Since the data circuit 1 of this embodiment has 4 bits, a 4-bit test pattern is shifted in. The test pattern is shifted in the order of the input side connection circuits CC [0] → CC [1] → CC [2] → CC [3], and the test patterns are input to the input side connection circuits CC [0] to [3]. Entered. For example, a quaternary full cycle sequence is given as a test pattern. Here, the all period series is obtained by adding data in which all bits are “0” to the M series. Therefore, the entire periodic sequence generates all combinations of data. Therefore, by giving a whole cycle sequence as a test pattern, it becomes possible to efficiently set all combinations of test patterns in the connection circuit CC. Further, the test pattern is shifted in when the test holding control signal THLD0 is “0” so that “0” and “1” are sequentially repeated in the marching pattern, and then the test holding control signal THLD0 is set to “1”. By inputting the test pattern to the data circuit 1 while repeatedly holding the test pattern in the connection circuit CC, the test pattern can be efficiently input to the data circuit 1.
[0140]
Comparison enable signal only for the test pattern to be tested in the state where the expected data EXP is inputCMPENBy setting “1” to “1”, the output data of the data circuit 1 and the expected data EXP are compared. The comparison result is compressed by the above-described circuit operation of the test circuit CTC.
[0141]
3. Shift out test results
The test holding control signal THLD1 is set to “0”, and the shift mode control signal SM is set to “1”. At this time, the test results compressed by the connection circuit CCC are sequentially shifted out from the scan-out terminal SO.
[0142]
The above is the circuit operation of the circuit shown in FIG. Similar circuit operation can be obtained by using the connection circuit CCCr shown in FIG. 12 instead of the connection circuit CCC shown in FIG. The connection circuit CCCr is characterized in that a reset terminal normally provided in a flip-flop is effectively used. The connection circuit CCCr will be described based on the difference from the connection circuit CCC.
[0143]
The connection circuit CCCr includes a terminal having the same function as the terminal included in the connection circuit CCC, and further includes a clock terminal t. That is, the input terminal cdr, the scan-in terminal csir, the test holding terminal cthldr, the shift mode terminal csmr, the scan-out terminal csor, the expected data terminal cexpr, and the comparison terminal ccmprenr provided in the connection circuit CCCr are respectively input terminals cd provided in the connection circuit CCC. The scan-in terminal csi, the test holding terminal cthld, the shift mode terminal csm, the scan-out terminal cso, the expected data terminal cexp, and the comparison terminal cmppen have the same functions.
[0144]
The connection circuit CCCr includes selectors 2 and 3, a flip-flop 4r, an Ex-OR gate 30r, and a gate 31r. The Ex-OR gate 30r has the same configuration and function as the Ex-OR gate 30, and the gate 31r includes a signal input to each of two input terminals and an inverted signal of a signal input to one inverting input terminal. Is a circuit that takes the negative logical product of and outputs from the output terminal.
[0145]
Although the flip-flop 4 has a reset terminal and a clock terminal, it has not been necessary to perform a special function in the previous embodiments. Therefore, those explanations and illustrations have been omitted. In the connection circuit CCCr, the reset terminal is used effectively, and further, the signal input to the clock terminal is used to synchronize and compress the test result. Therefore, the reset terminal and the clock terminal of the flip-flop 4r are particularly illustrated only in the connection circuit CCCr. Accordingly, it is necessary to add the clock terminal T to the test circuit CTC and connect it to the clock terminal t of the connection circuit CCCr. However, the illustration of the clock terminal T placed in the test circuit CTC is omitted.
[0146]
The main difference between the connection circuit CCCr and the connection circuit CCC is:
1. The difference between the gate 31r and the NAND gate 31 and the AND gate 32;
2. Difference between connection between flip-flop 4 and selector 2 and connection between flip-flop 4r and selector 2
3. Differences arising from the presence and connection of clock terminal t
It is. Since other connections are the same, description thereof is omitted.
[0147]
The output terminal of the Ex-OR gate 30r is connected to one input terminal of the gate 31r, and the comparison terminal ccmpenr is connected to the other input terminal of the gate 31r. The clock terminal t is connected to the inverting input terminal of the gate 31r, and at the same time, the clock terminal t is connected in common to the clock terminal of the flip-flop 4r. The output terminal of the gate 31r is connected to the reset terminal of the flip-flop 4r. When the reset terminal of the flip-flop 4r receives "0", it resets the data stored in itself. The output terminal of the flip-flop 4r is connected to the data input 1 terminal of the selector 2, and is also connected to the scan-out terminal csor of the connection circuit CCCr.
[0148]
The circuit operation of the connection circuit CCCr will be described. Even if the connection circuit CCCr is used, the same circuit operation as the circuit operations 1 and 2 of the connection circuit CCC is obtained, and the same circuit operation as the circuit operation 3 of the connection circuit CCC is obtained. Therefore, the circuit operation 3 when the connection circuit CCCr is used will be described below.
[0149]
When the comparison enable signal ccmpenr is “0”, the gate 31r outputs “1” to the reset terminal of the flip-flop 4r regardless of the output data from the Ex-OR gate 30r and the clock signal t input to the clock terminal t. To do. Accordingly, the data is not reset in the flip-flop 4r, and the connection circuit CCCr continues to hold the data in the flip-flop 4r.
[0150]
When the comparison enable signal ccmpenr is “1” and the clock signal t input from the clock terminal t is “0”, the gate 31r outputs the inverted logic of the output data of the Ex-OR gate 30r. Therefore, the expected data exp in the Ex-OR gate 30rrAnd input data cdrIf the two match, the gate 31r outputs “1” to the reset terminal of the flip-flop 4r. Therefore, the connection circuit CCCrKeeps the data of the flip-flop 4r.
[0151]
At this time, if the expected data expr does not match the input data cdr in the Ex-OR gate 30r, the gate 31r outputs “0” to the reset terminal of the flip-flop 4r. Accordingly, since the data is reset in the flip-flop 4r, “0” is held in the selectors 2 and 3 and the flip-flop 4r.
[0152]
That is, the connection circuit CCCr has a circuit function of holding the data of the flip-flop 4r when the expected data expr and the input data cdr match, and holding “0” at the flip-flop 4r when they do not match. This circuit function is the same as the circuit function of the connection circuit CCC. However, the following advantages can be obtained particularly by using the connection circuit CCCr.
[0153]
In the connection circuit CCC, data is held by a loop formed by the selectors 2 and 3, the flip-flop 4 and the AND gate 32. However, in the connection circuit CCCr, data is held by a loop formed only by the selectors 2 and 3 and the flip-flop 4r, so that the possibility that the data is affected by extra noise or the like is reduced.
[0154]
The connection circuit CCCr is synchronized with the clock signal t. However, by removing the inverting input terminal from the gate 31r, the gate 31r may be a NAND gate so as not to be synchronized with the clock signal.
[0155]
As is clear from the above description, the test circuit CTC can be configured using the connection circuit CCCr, as in the case of using the connection circuit CCC.
[0156]
By providing the test circuit CTC on the output side of the data circuit 1 and performing the scan test using the test result compression function, there is an advantage that the test result is shifted out only once for a plurality of test patterns. Accordingly, the time required for performing the scan test using the test result compression function for the plurality of test patterns is shorter than the time required for performing the normal scan test for the plurality of test patterns a plurality of times. . That is, the test time can be shortened.
[0157]
When the control circuit CTL3 shown in FIG. 14 is used, the same effect as that described in the first embodiment is produced. In the control circuit CTL3, the test control signal TEST controls which one of the holding terminal HLD0, the test holding terminal THLD0, and the shift mode terminal SM is selected. Therefore, by using the control circuit CTL3, the scan test of the data circuit 1 in the circuit shown in FIG. 4 can be performed independently of the holding control signal HLD0 supplied from the data circuit 1a.
[0158]
The difference in configuration between the control circuit CTL3 and the control circuit CCTL3 is only a difference depending on the input control signal and is controlled simultaneously by the test control signal TEST. Therefore, the operations of the selectors 5 and 6 and the operations of the selectors 7 and 8 are performed. Are the same. That is, regarding the invention relating to the configuration of the control circuit, it is possible to describe the control circuit that controls the test circuit TC, and to replace this description with the description of the control circuit that controls the test circuit CTC. Therefore, the circuit on the output side of the data circuit 1 can be omitted, and the circuit shown in FIG. 14 can be illustrated as shown in FIG. In the future, illustration and description of the circuit on the output side of the data circuit 1 will be omitted except when particularly required.
[0159]
In the present embodiment, the holding control signal HLD0 input to the input side control circuit is different from the holding control signal HLD1 input to the output side control circuit. Therefore, it is necessary to use a plurality of scan flip-flops for confirming the holding control signal. A scan flip-flop used for confirming a plurality of holding control signals will be described below with reference to FIG. FIG. 16 is a diagram showing a connection state of scan flip-flops used for confirming a plurality of holding control signals, and illustration of a test holding terminal, an expected data terminal, a comparison terminal, and the like is omitted in the figure. .
[0160]
Consider a case where the holding control signals HLD0 and HLD1 are confirmed. Scan flip-flops HSFF and HSFFa are inserted between the scan-in terminal SI and the scan-in terminal si of the test circuit TC. The scan flip-flop HSFF is a circuit including a selector 14 and a flip-flop 15. Similarly, the scan flip-flop HSFFa is a circuit including a selector 14a and a flip-flop 15a. A scan flip-flop HFSS is provided to confirm the holding control signal HLD0 input to the control circuit that controls the test circuit TC. Similarly, a scan flip-flop HFSSa is provided to confirm the holding control signal HLD1 input to the control circuit that controls the test circuit CTC. The selectors 14 and 14a have a data input 0 terminal, a data input 1 terminal, an output terminal and a control terminal.EndEach has a child. A shift mode control signal SM for switching the selectors 14 and 14a is input to each control terminal. The data input 0 terminal is selected and connected to the output terminal when the shift mode control signal SM is “0”. On the other hand, the data input 1 terminal is selected and connected to the output terminal when the shift mode control signal SM is “1”. Therefore, it is possible to select data output from the selectors 14 and 14a by switching between “1” and “0” of the shift mode control signal SM input to the selectors 14 and 14a. A scan-in terminal SI is connected to the data input 1 terminal of the selector 14. A holding terminal HLD0 is connected to the data input 0 terminal of the selector. The output terminal of the selector 14 is connected to the input terminal of the flip-flop 15. The output terminal of the flip-flop 15 is connected to the data input 1 terminal of the selector 14a. The holding terminal HLD1 is connected to the data input 0 terminal of the selector 14a. Flip-flop 15aAre connected to the scan-in terminal si of the test circuit TC. The flip-flops 15 and 15a are D flip-flops or flip-flops having the same function as the D flip-flop.
[0161]
By setting the shift mode control signal SM to “0” in the scan flip-flops HSFF and HSFFa as described above, the values of the holding control signals HLD0 and HLD1 can be stored in the flip-flops 15 and 15a, respectively. In the configuration shown in FIG. 16, the output terminals of the scan flip-flops HSFF and HSFFa are connected to the scan-in terminal si of the test circuit TC. Accordingly, the shift control signal SM is set to “1”, the test holding control signals THLD0 and THLD1 are set to “0”, and the holding control stored in the scan flip-flops HSFF and HSFFa when the shift mode control signal SM is “0”. Observation may be performed after the logic of the signals HLD0 and HLD1 is taken out as scan-out data SO from the scan path. For example, observation of other control signals such as the test holding control signals THLD0 and THLD1 is also possible by using a similar configuration.
[0162]
As described above, the selectors 14 and 14a are controlled by the shift mode control signal SM, but a control terminal not newly related to the control of the test circuits TC and CTC is newly provided, and the selectors 14 and 14a are controlled by the control signal output from the control terminal. It is also possible to control 14a. However, as described above, by using the shift mode control signal SM and also controlling the selectors 14 and 14a, the following advantages arise.
[0163]
In the test circuits TC and CTC of this embodiment, when the test control signal TEST is “1”, the shift mode control signal SM is set to “0”, so that the input data IN is input via the connection circuit CC on the input side. Is taken into the input terminal DI. At this time, on the output side, output data DO, which is a test result of the data circuit 1, is output to the data output terminal OUT via the connection circuit CCC. When shift mode control signal SM is “0”, control signals HLD0 and HLD1 are stored in scan flip-flops HSFF and HSFFa in selectors 14 and 14a, but are not shifted into test circuit TC. In the scan test, when the test pattern is shifted in or the test result is shifted out, the shift mode control signal SM is set to “1”. Therefore, since the test pattern shifted in from the scan-in terminal SI is conducted in the selectors 14 and 14a, the scan flip-flops HSFF and HSFFa do not hinder the test pattern shift-in or the test result shift-out. Even if the selectors 14 and 14a are controlled by the shift mode control signal SM, the scan test operation is not adversely affected. Therefore, by using the shift mode control signal SM, a control signal is given to the scan flip-flops HSFF and HSFFa. It is possible to reduce the number of control terminals.
[0164]
In FIG. 16, the scan flip-flops HSFF and HSFFa are inserted between the scan-in terminal SI and the scan-in terminal si of the test circuit TC, but the scan-out terminal so of the test circuit TC and the scan-in terminal of the test circuit CTC. Even if it is inserted between si, the same effect can be obtained, and the holding control signals HLD0 and HLD1 can be observed. Further, the same effect can be obtained even if it is inserted between the scan-out terminal so and the scan-out terminal SO of the test circuit CTC.
[0165]
In the above description, the number of control signals to be observed is two, but the number of control signals that can be observed is not limited to two. Obviously, when there are a plurality of control signals to be observed, the plurality of scan flip-flops may be connected in series.
[0166]
Since the holding functions of the test circuits TC and CTC according to the present embodiment can also be used during normal operation and scan test operation, the circuit area can be reduced by eliminating overhead.
[0167]
Next, another control circuit according to the present embodiment will be described. FIG. 18 is a circuit diagram showing a control circuit CTL3a having the same function as that of the control circuit CTL3 shown in FIG.
[0168]
The difference between the control circuit CTL3a and the control circuit CTL3 is only the difference in configuration. The difference in configuration is a difference in terminals connected to the data input 0 terminal of the selector 6, and the output terminal of the selector 5 is connected to the data input 0 terminal of the selector 6.
[0169]
The circuit operation of the control circuit CTL3a will be described. In view of the difference in configuration described above, it is only necessary to consider when the test control signal TEST is “0”. When the test control signal TEST is “0”, the selector 6 outputs the output of the selector 5, so that the holding control signal HLD 0 is output from the output terminal of the selector 6.
[0170]
Therefore, the circuit operation of the control circuit CTL3a is the same as the circuit operation of the control circuit CTL3.
[0171]
In FIG. 17, the control circuit CTL3 is directly connected to the holding terminal HLD0, the test holding terminal THLD0, and the shift mode control signal SM. By setting the shift mode control signal SM input to the control terminal of the selector 14 to “0” during normal operation, the holding terminal HLD0 is connected to the control circuit CTL3 via the scan flip-flop HSFF as in the circuit shown in FIG. It is also possible to connect.
[0172]
Next, a test circuit according to the present embodiment that can be obtained by changing the configuration of the scan flip-flop will be described. Components having the same configuration and function as those of the above-described circuits and the like are denoted by the same reference numerals, and description thereof is omitted.
[0173]
FIG. 20 is a circuit diagram showing a logic circuit and a test circuit according to the present embodiment. Test circuit TCS according to the present embodiment is a circuit that can be used in place of test circuit TC. Similarly to the test circuit TC, the test circuit TCS according to the present embodiment is composed of a flip-flop 4, a holding function switching selector 2, and a scan mode switching selector 3. The selector 2 is controlled by the test holding control signal thld, and the selector 3 is controlled by the shift mode control signal sm.
[0174]
The difference between the test circuit TC and the test circuit TCS is that the order of the selector 2 for switching the holding function and the selector 3 for switching the scan mode are switched.
[0175]
The test circuit TCS will be described. The test circuit TCS can be used on either the input side or the output side of the data circuit 1. The operation of the test circuit TCS used on the output side is the same as the operation of the test circuit TCS used on the input side. Accordingly, only the input side is shown in the figure, and only the input side is performed except when the explanation is required.
[0176]
The input of the data circuit 1 is controlled by the test circuit TCS. The test circuit TCS is inserted between the data input terminal IN and the input terminal DI of the data circuit 1. The test circuit TCS has input terminals d [0] to [3] for inputting the input data IN [0] to [3] and output terminals q [0] to [3] for outputting to the input terminal DI of the data circuit 1. 3], and a circuit including a scan-in terminal si, a test holding terminal thld, a shift mode terminal sm and a scan-out terminal so.
[0177]
An operation of the test circuit TCS by the test holding control signal thld and the shift mode control signal sm input to the test holding terminal thld and the shift mode terminal sm, respectively, will be described. When the shift mode control signal sm is “0” and the test holding control signal thld is “0”, the test circuit TCS captures the data input to the input terminal d and outputs it directly from the output terminal q. When the shift mode control signal sm is “1” and the test holding control signal thld is “0”, the test circuit TCS takes in the data input to the scan-in terminal si and outputs it from the scan-out terminal so. When the test holding control signal thld is “1”, data is held in the test circuit TCS.
[0178]
The test circuit TCS performing the above operation is configured as follows. The output terminal [N−1] of the flip-flop 4 is connected to the data input 1 terminal of the selector 3 [N]. However, particularly when N = 0, the scan-in terminal si is connected to the data input 1 terminal of the selector 3 [0]. The data input terminal IN is connected to the data input 0 terminal of the selector 3 [N]. The output terminal of the selector 3 [N] is connected to the data input 0 terminal of the selector 2 [N]. The output terminal of the flip-flop 4 [N] is connected to the data input 1 terminal of the selector 2 [N]. The output terminal of the selector 2 [N] is connected to the input terminal of the flip-flop 4 [N]. As described above, the output terminal of the flip-flop 4 [N] is connected to the data input 1 terminal of the selector 2 [N].ConnectionFurther, the input terminal DI [N] and the selector 3 [N + 1] of the data circuit 1 are connected in common. However, particularly when N = 3, the output terminal of the flip-flop 4 [3] is connected in common to the data input 1 terminal of the selector 2 [3], the input terminal DI [3], and the scan-out terminal so of the test circuit TCS. The
[0179]
When the test circuit TCS is provided on the output side of the data circuit 1, in the above description,
Data input terminal IN → Output terminal DO
Input terminal DI → Data output terminal OUT
You can think by converting like this.
[0180]
The normal operation and the scan test operation can be performed also by the above-described test circuit TCS.
[0181]
Next, the control circuit CTL4 according to the present embodiment that gives the test holding control signal thld and the shift mode control signal sm to the test circuit TCS will be described. The control circuit CTL4 has a test control signal TEST and a shift mode control signal SM., Test holding control signal THLD0The holding control signal HLD0 is input, and the test holding control signal thld and the shift mode control signal sm are output to the test circuit TCS.
[0182]
The control circuit CTL4 always outputs the shift mode control signal SM as the shift mode control signal sm. When the test control signal TEST is “0”, the control circuit CTL4 outputs the holding control signal HLD0 as the test holding control signal thld. When the test control signal TEST is “1”, the test holding control signal THLD0 is output as the test holding control signal thld.
[0183]
The connection of the control circuit CTL4 will be described with reference to FIG. The control circuit CTL4 includes a selector called selector 5. A test control signal TEST is input to the control terminal of the selector 5.
[0184]
A holding terminal HLD 0 is connected to the data input 0 terminal of the selector 5. Test holding control at the data input 1 terminal of the selector 5TerminalTHLD0 is connected. The output terminal of the selector 5 is connected to the test holding terminal thld of the test circuit TCS. The shift mode control signal SM is directly connected to the shift mode terminal sm of the test circuit TCS.
[0185]
Regarding the control circuit CTL4 used on the output side of the data circuit 1, in the above description,
Holding terminal HLD0 → Holding terminal HLD1
Test holding terminal THLD0 → Test holding terminal THLD1
You can think by converting like this.
[0186]
The normal operation and the scan test operation can be performed also by the above-described test circuit TCS.
[0187]
The circuit operation of the circuit shown in FIG. 20 is summarized below. The case where the test circuit TCS is provided on the input side and the output side of the data circuit 1 will be described. As the circuit operation, there are a normal operation and a scan test operation.
[0188]
The circuit operation during the normal operation is the same as the circuit operation of the circuit composed of the control circuit CTL1, CTL2 or CTL3 and the test circuit TC.
[0189]
Next, the scan test operation will be described. Only at the time of execution and at the time of holding data, the operation of the circuit comprising the control circuit CTL4 and the test circuit TCS is different from the operation of the circuit comprising the control circuit CTL3 and the test circuit TC. Therefore, only the execution time and the data holding time will be described.
[0190]
1. runtime
By setting the shift mode control signal SM to “0” and the test holding control signal THLD1 to “0”, the same circuit operation as the circuit composed of the control circuit CTL3 and the test circuit TC can be obtained.
[0191]
2. When holding
When it is desired to hold data on the input side during the scan test, the test holding control signal THLD0 may be set to “1”. When it is desired to hold data on the output side, the test holding control signal THLD1 is set to “1”.
[0192]
The above is the circuit operation of the control circuit shown in FIG. When the test circuits TCS are provided on the input side and the output side of the data circuit 1, the input side and output side test circuits TCS can be simultaneously controlled by the shift mode control signal SM.
[0193]
A scan path configured by the test circuit TCS will be described. When the test circuit TCS is provided on the input side of the data circuit 1, two selectors 2 and 3 are included between the data input terminal IN and the input terminal DI of the logic circuit. Similarly, when the test circuit TCS is provided on the output side of the data circuit 1, two selectors 2 and 3 are included between the output terminal DO and the data output terminal OUT. Accordingly, during normal operation, only the operation speed similar to that of the test circuit according to the prior art can be obtained.
[0194]
However, since the control circuit CTL4 that controls the test circuit TCS includes only one selector, the selector 5, it is possible to reduce the circuit area. The test circuit TCS can also be used during the normal operation and the scan test operation by using the hold function of the test circuit TCS. Therefore, the circuit area can be reduced by eliminating overhead.
[0195]
Embodiment 3 FIG.
The invention according to the present embodiment relates to a control circuit for controlling a test circuit.
[0196]
The control circuit according to the present embodiment is a control circuit that controls the test circuit TC or CTC, and has a simpler configuration than the control circuit shown in the first and second embodiments. The control circuit that controls the test circuit TC or CTC is a circuit that provides the test holding control signal thld and the shift mode control signal sm to the test circuit TC or CTC. Hereinafter, since the configuration and operation of the control circuit are not changed in the test circuit TC and the test circuit CTC, only the test circuit TC will be described as a controlled circuit. The following description will be given regarding the input side of the data circuit 1, but the same applies to the output side.
[0197]
FIG. 21 is a circuit diagram showing a control circuit CTL5 according to the present embodiment. The control circuit CTL5 receives the holding control signal HLD0, the test holding control signal THLD0, the shift mode control signal SM and the test control signal TEST, and supplies the test holding control signal thld and the shift mode control signal sm to the test circuit TC. By setting the test holding control signal THLD0 to “0” during normal operation, the control circuit CTL5 has a smaller circuit area than the control circuit shown in the second embodiment. When providing the control circuit CTL5 in the test circuit TC on the output side,
Holding control signal HLD0 → Holding control signal HLD1
Test holding control signal THLD0 → Test holding control signal THLD1
You can convert as follows.
[0198]
The configuration of the control circuit CTL5 will be described with reference to FIG. The control circuit CTL5 can be configured using three gates. Each gate has two input terminals and one output terminal. One gate is a gate 41 and the remaining two are OR gates 42 and 43.
[0199]
The gate 41 has an input terminal ge and an inverting input terminal re. Gate 41Is a gate that takes the logical product of the inverted logic of the input signal re input to the inverting input terminal re and the input signal ge input to the input terminal ge. Each of the OR gates 42 and 43 is a gate that takes a logical sum of two input signals that are input.
[0200]
The connection state of the control circuit CTL5 will be described. A test terminal TEST is connected to the inverting input terminal of the gate 41. The holding terminal HLD0 is connected to the input terminal ge of the gate 41. The output terminal of the gate 41 is commonly connected to one input terminal of each of the OR gates 42 and 43. The test holding terminal THLD0 is connected to the other input terminal of the OR gate. The shift mode terminal SM is connected to the other input terminal of the OR gate 43. The output terminal of the OR gate 42 outputs the test holding control signal thld to the test circuit TC, and the output terminal of the OR gate 43 outputs the shift mode control signal sm to the test circuit TC.
[0201]
The circuit operation of the control circuit shown in FIG. 21 is summarized below. The circuit operation includes normal operation control and scan test operation control. Table 4 shows the optimum setting values of the respective signals and data related to the control circuit CTL5 in the normal operation and the scan test.
[0202]
[Table 4]
Figure 0003691144
[0203]
The difference between the circuit operation of the control circuit CTL5 and the circuit operation of the control circuit CTL3 in normal operation will be described. In the normal operation, the test control signal TEST is set to “0” similarly to the setting in the control circuit CTL3. In particular, in the control circuit CTL5, the shift mode control signal SM and the test holding control signal THLD0 are set to “0”. With the above settings, the circuit operation of the control circuit CTL5 during normal operation is the same as the circuit operation of the control circuit CTL3.
[0204]
Since the circuit operation of the control circuit CTL5 in the scan test operation is the same as the circuit operation of the control circuit CTL3, description thereof is omitted.
[0205]
Even when the control of the test circuit TC is performed using the control circuit CTL5, the control of the normal operation and the control of the scan test operation shown in the second embodiment can be obtained.
[0206]
Since the control circuit CTL5 is composed of three gates, the circuit area of the semiconductor device can be reduced by performing control using the control circuit CTL5 with the test holding control signal set to “0”.
[0207]
FIG. 22 shows a control circuit CTL5a configured similarly to the control circuit CTL5 and having the same function.
[0208]
The configuration and connection of the control circuit CTL5a will be described based on the difference from the configuration of the control circuit CTL5. Similar to the control circuit CTL5, the control circuit CTL5a can be configured by using three gates of a gate 41a and OR gates 42a and 43a. The gate 41a and the OR gates 42a and 43a have the same configuration and function as the gate 41 and the OR gates 42 and 43, respectively.
[0209]
In the control circuit CTL5, the output terminal of the gate 41 is connected to one input terminal of the OR gate 43. In the control circuit CTL5a, the output terminal of the OR gate 42a is connected to one input terminal of the OR gate 43a. Is done.
[0210]
Since there is no difference between the circuit operation of the control circuit CTL5 and the circuit operation of the control circuit CTL5a due to the difference in connection as described above, the description regarding the circuit operation is omitted.
[0211]
The control circuit CTL5a is configured similarly to the control circuit CTL5, and the circuit operation of the control circuit CTL5a is the same as the circuit operation of the control circuit CTL5. Therefore, the same effect as that of the control circuit CTL5 can be obtained by using the control circuit CTL5a.
[0212]
Next, similarly to the control circuit CTL2 shown in the first embodiment, the control circuit CTL6 that can control the test circuits TC and CTC without receiving the test control signal TEST will be described.
[0213]
FIG. 23 is a circuit diagram showing a control circuit CTL6 according to the present embodiment. Although the shift mode control signal SM is set to “0” in the control circuit CTL5, the test terminal TEST is omitted in the control circuit CTL6 by further setting the holding control signal HLD0 to “0” during the scan test operation. .
[0214]
When providing the control circuit CTL6 in the test circuit TC on the output side,
Holding control signal HLD0 → Holding control signal HLD1
Test holding control signal THLD0 → Test holding control signal THLD1
You can convert as follows.
[0215]
The configuration of the control circuit CTL6 will be described with reference to FIG. The control circuit CTL6 includes a selector 5 and an OR gate 45.
[0216]
The connection state of the control circuit CTL6 will be described. The selector 5 has a data input 0 terminal, a data input 1 terminal, an output terminal, and a control terminal.EndA selector with children. The holding terminal HLD0 is commonly connected to the data input 0 terminal of the selector 5 and one input terminal of the OR gate 45. A test holding terminal THLD0 is connected to the data input 1 terminal of the selector 5. The shift mode terminal SM is commonly connected to the control terminal of the selector 5 and the other input terminal of the OR gate 45. The output terminal of the selector 5 outputs the test holding control signal thld to the test circuit TC, and the output terminal of the OR gate 45 outputs the shift mode control signal sm to the test circuit TC.
[0217]
The circuit operation of the control circuit shown in FIG. 23 is summarized below. The circuit operation includes normal operation control and scan test operation control. Table 5 shows optimum setting values of the respective signals and data related to the control circuit CTL6 in the normal operation and the scan test.
[0218]
[Table 5]
Figure 0003691144
[0219]
In the normal operation, by setting the shift mode control signal SM to “0”, it is possible to obtain the same circuit operation as that of the control circuits CTL3 and CTL5.
[0220]
Next, the circuit operation of the control circuit CTL6 in the scan test operation will be described. In the scan test operation, the shift mode control signal SM is set to “1” when the test pattern is shifted in, the test result is shifted out, and the data is held. The circuit operation of the control circuit CTL6 at this time is the same as that of the control circuits CTL3 and CTL5. When executing the scan test operation, the shift mode control signal SM is set to “0” and the holding control signal HLD0 is set to “0”, whereby the circuit operation of the control circuit CTL6 is the same as the circuit operation of the control circuits CTL3 and CTL5. It will be the same.
[0221]
Therefore, even when the control of the test circuit TC is performed using the control circuit CTL6, it is possible to obtain the control of the normal operation and the control of the scan test operation shown in the second embodiment.
[0222]
By setting the holding control signal HLD0 to “0” during the scan test operation, the control circuit CTL6 can control the test circuit TC without using the test terminal TEST. Since the test terminal TEST can be omitted, when the control circuit according to the present embodiment is used, the circuit area of the semiconductor device is reduced.
[0223]
A control circuit CTL6a having the same function as that of the control circuit CTL6 is shown in FIG.4Shown in
[0224]
The configuration of the control circuit CTL6a will be described with reference to FIG. The control circuit CTL6a is configured by the selector 5a and the OR gate 45a having the same configuration and function as the selector 5 and the OR gate 45 constituting the control circuit CTL6.
[0225]
In the control circuit CTL6, the holding terminal HLD0 is connected to one input terminal of the OR circuit 45. In the control circuit CTL6a, the output terminal of the selector 5a is connected to one input terminal of the selector 45a. The circuit operation does not differ depending on the connection state, the circuit operation of the control circuit CTL6a is the same as the circuit operation of the control circuit CTL6, and the same operation as the control circuit CTL6 is performed even if the control circuit CTL6a is used. Is possible.
[0226]
Therefore, even when the control of the test circuit TC is performed using the control circuit CTL6a, it is possible to obtain the normal operation control and the scan test operation control described in the second embodiment. Further, the same effect as that obtained by the control circuit CTL6 can be obtained by using the control circuit CTL6a.
[0227]
Next, a control circuit obtained by further simplifying the configuration of the control circuit shown in this embodiment will be described.
[0228]
FIG. 25 is a circuit diagram showing a control circuit CTL7 according to the present embodiment. The terminals provided in the control circuit CTL7 are the same as the terminals provided in the control circuit CTL6. The circuit configuration of the control circuit CTL7 is very similar to the circuit configuration of the control circuit CTL5. Table 6 shows optimum setting values of the respective signals and data regarding the control circuit CTL7 in the normal operation and the scan test.
[0229]
[Table 6]
Figure 0003691144
[0230]
In the control circuit CTL7, the shift mode control signal SM and the test holding control signal THLD0 are set to “0” during normal operation, and the holding control signal HLD0 is set to “0” during the scan test operation, thereby controlling even a small circuit configuration. The same circuit operation as the circuits CTL5 and CTL6 is obtained.
[0231]
The configuration and connection state of the control circuit CTL7 will be described with reference to FIG. Similar to the control circuit CTL5, the control circuit CTL7 can be configured using three gates of the gate 50 and the OR gates 51 and 52. The gate 50 is a gate constituting the control circuit CTL541Has the same structure and function.
[0232]
The connection state of the control circuit CTL7 will be described based on the difference from the control circuit CTL5. In the control circuit CTL5, the test terminal TEST is connected to the inverting input terminal re of the gate 41, and the holding terminal HLD0 is connected to one input terminal of the OR gate 43. A shift mode terminal SM is connected to the inverting input terminal of the gate 50, and a holding terminal HLD 0 is connected to one input terminal of the OR gate 52. The connection of the other terminals is the same in the control circuit CTL5 and the control circuit CTL7.
[0233]
In order to understand the circuit operation of the control circuit CTL7, shift mode control is used instead of the test holding terminal TEST.TerminalSMButThe operation of the gate 50 connected to the inverting input terminal re and the holding terminal HLD0 as one input terminalButIt is sufficient to understand the operation of the connected OR gate 52.
[0234]
First, the operation of the gate 50 will be described. In the control operation using the control circuit CTL5, the values of the test control signal TEST and the shift mode control signal SM in the normal operation and the scan test operation differ only when the scan test is executed. Therefore, the gate 50 in which the shift mode terminal SM is connected to the inverting input terminal re need only be considered when the scan test is performed. However, when the scan test is executed, the OR gate 52 whose output terminal is connected to the control terminal of the selector 3 only needs to output “0”. In the control circuit CTL7, the holding control signal HLD0 is “ When the scan test is executed, the shift mode control signal SM is set to “0”, so this condition is satisfied. Therefore, the operation of the gate 50 does not affect the execution of the scan test.
[0235]
Next, the operation of the OR gate 52 will be described. If the shift mode control signal SM is “1”, the OR gate 52 always outputs “1”, which is the same as the operation of the OR gate 43. Therefore, it is only necessary to understand the normal operation time when the shift mode control signal SM is “0” and the scan test execution time. The explanation regarding the execution time of the scan test has already been made when the operation of the gate 50 is explained. The OR gate 52 only needs to output “0” during normal operation, and the holding control signal HLD0 is set to “0” during normal operation, so this condition is satisfied.
[0236]
From the above description, it can be seen that the circuit operation of the control circuit CTL7 and the circuit operation of the control circuit CTL5 are the same.
[0237]
Therefore, even when the control of the test circuit TC is performed using the control circuit CTL7, it is possible to obtain the normal operation control and the scan test operation control shown in the second embodiment.
[0238]
Since the control circuit CTL7 is composed of three gates, the test holding control signal THLD0 is set to “0” and control is performed using the control circuit CTL7, so that the circuit of the semiconductor device is more than the case where control is performed using the control circuit CTL6. It is possible to reduce the area.
[0239]
Also, by setting the holding control signal HLD0 to “0” during the scan test operation, the control circuit CTL7 can control the test circuit TC without using the test terminal TEST. Since the test terminal TEST can be omitted, the use of the control circuit according to the present embodiment further reduces the circuit area of the semiconductor device.
[0240]
FIG. 26 shows a control circuit CTL7a having the same configuration and the same function as the control circuit CTL7, and FIG. 27 shows a control circuit CTL7b. FIG. 26 is a circuit diagram showing a control circuit CTL7a according to the present embodiment, and FIG. 27 is a circuit diagram showing a control circuit CTL7b according to the present embodiment.
[0241]
The difference between the configuration of the control circuits CTL7a and CTL7b and the configuration of the control circuit CTL7 is shown in FIGS.7Based on the explanation. The control circuit CTL7a is configured by the gate 50a and the OR gates 51a and 52a, and the control circuit CTL7b is configured by the gate 50b and the OR gates 51b and 52b. The gates 50a and 50b, the OR gates 51a and 51b, and the OR gates 52a and 52b have the same functions and configurations as the gate 50, the OR gate 51, and the OR gate 52, respectively.
[0242]
The connection state of the control circuits CTL7a and CTL7b will be described based on the difference from the control circuit CTL7. In the control circuit CTL7, the holding terminal HLD0 is connected to one input terminal of the OR circuit 52. In the control circuit CTL7a, the output terminal of the gate 50a is connected to one input terminal of the OR gate 52a. In the control circuit CTL7b, the output terminal of the OR gate 51b is connected to one input terminal of the OR gate 52b.
[0243]
The circuit operation of the control circuits CTL7, CTL7a, and CTL7b does not differ due to the difference in connection described above, and it is possible to control the test circuit TC using the control circuits CTL7a and CTL7b instead of the control circuit CTL7. .
[0244]
By using various control circuits shown in this embodiment, the test circuit TC can be controlled.
[0245]
Embodiment 4 FIG.
In the present embodiment, a scan path is configured using the test circuit TC and the test circuit CTC shown in the second embodiment, and is used for an operation test of the RAM.
[0246]
FIG. 28 is a circuit diagram showing a RAM provided with a test circuit. Components having the same configuration and function as the circuits and the like shown in the first to third embodiments are denoted by the same reference numerals.
[0247]
As shown in the figure, the RAM 11 which is a logic circuit is controlled by the test circuits TCA0, TCDI, TCA1 and CTC which are test circuits.
[0248]
First, the RAM 11 will be described. For writing to the RAM 11, the RAM 11 includes address input terminals A0 [0] to [2] for address writing and input terminals DI0 [0] to [2] for data input. Further, the RAM 11 includes address input terminals A1 [0] to [2] for address writing and input terminals DO1 [0] to [2] for data output for reading from the RAM 11.
[0249]
The RAM 11 receives the input data DI0 [0] given to the input terminals DI0 [0] to [2] at a unique address corresponding to the input data A0 [0] to [2] given to the address input terminals A0 [0] to [2]. This is a circuit for writing to [2]. In addition, the RAM 11 outputs data input to a specific address corresponding to the input data A1 [0] to [2] given to the address input terminals A1 [0] to [2] as output terminals DO1 [0] to [2]. Is output from the circuit. Although the RAM 11 shown in this embodiment has 3 bits, the test circuit according to this embodiment can be applied to any number of bits of RAM.
[0250]
The terminals for inputting data to the address input terminals A0 [0] to [2] are the data input terminals INA0 [0] to [2], and for inputting data to the input terminals DI0 [0] to [2]. These terminals are data input terminals INDI [0] to [2]. The terminals for inputting data to the address input terminals A1 [0] to [2] are the data input terminals INA1 [0] to [2]. Terminals for outputting data output from the output terminals DO1 [0] to [2] are data output terminals OUT [0] to [2].
[0251]
Next, the test circuits TCA0, TCDI, TCA1, and CTC will be described. The test circuits TCA0, TCDI, and TCA are test circuits having the same configuration as the test circuit TC and performing the same operation. A test circuit TCA0 is inserted between the address input terminals A0 [0] to [2] and INA0 [0] to [2]. A test circuit TCDI is inserted between the input terminals DI0 [0] to [2] and INDI [0] to [2]. A test circuit TCA1 is inserted between the address input terminals A1 [0] to [2] and INA1 [0] to [2]. A test circuit CTC is inserted between the output terminals DO1 [0] to [2] and OUT [0] to [2].
[0252]
Next, the connection between the scan-in terminal SI and the scan-out terminal SO and the test circuits TCA0, TCDI, TCA1, and CTC used when performing the scan test will be described.
[0253]
In FIG. 28, scan-in terminal SI → scan flip-flops 70 and 71 → scan-in terminal si of test circuit TCA0 → scan-out terminal so of test circuit TCA0 → scan-in terminal si of test circuit TCDI → scan-out of test circuit TCDI The scan path is configured as follows: terminal so → scan-in terminal si of test circuit TCA1 → scan-out terminal so of test circuit TCA1 → scan-in terminal si of test circuit CTC → scan-out terminal so of test circuit CTC → scan-out terminal SO Has been. The scan flip-flops 70 and 71 are provided between the test circuit TCDI and the test circuit TCDI, between the test circuit TCDI and the test circuit TCA1, between the test circuit TCA1 and the test circuit CTC, and between the test circuit CTC and the scan-out terminal SO. It may be provided at any of the intervals.
[0254]
The scan flip-flops 70 and 71 will be described. The scan flip-flops 70 and 71 are scan flip-flops used for observing the holding control signals HLD0 and HLD1, respectively. Similarly to the scan flip-flop HSFF shown in FIG. 6, the scan flip-flops 70 and 71 are composed of one selector and one flip-flop. The data input terminal 0 terminal, data input 1 terminal and control terminal of the selector 14 constituting the scan flip-flop HSFF can be regarded as the data input terminal 0 terminal, data input 1 terminal and control terminal of the scan flip-flop HSFF itself. . Similarly, the scan flip-flops 70 and 71 have a data input 0 terminal, a data input 1 terminal, an output terminal, and a control terminal.EndProvide each child. In response to a signal input to the control terminal, each of the scan flip-flops 70 and 71 outputs one of a signal input to the data input 0 terminal and a signal input to the data input 1 terminal.
[0255]
Test circuits TCA0, TCDI, TCA1, and CTC are provided with a test holding terminal thld and a shift mode terminal sm, respectively, and are supplied with a test holding control signal thld and a shift mode control signal sm, respectively. The test circuit CTC further includes a comparison terminal cmpen and expected terminals exp [0] to [2], and is supplied with a comparison enable signal CMPEN and expected data EXP [0] to [2], respectively.
[0256]
A description will be given of circuits that provide the test holding control signal thld and the shift mode control signal sm to the test circuits TCA0, TCDI, TCA1, and CTC, respectively. A circuit that provides the test holding control signal thld and the shift mode control signal sm is configured using the selectors 60 to 65.
[0257]
Each of the selectors 60 to 65 is a selector having a data input 0 terminal, a data input 1 terminal, an output terminal, and a control terminal. A test terminal TEST is commonly connected to the control terminals of the selectors 60 to 65.
[0258]
The output terminals of the selectors 60 and 61 are connected to the test holding terminals thld of the test circuits TCA0 and TCDI, respectively, and provide the test holding control signal thld independently of each other. The output terminal of the selector 62 is connected in common to the respective shift mode terminals sm of the test circuits TCA0 and TCDI, and supplies the shift mode control signal sm in common. Similarly, the output terminals of the selectors 63 and 64 are connected to the test holding terminals thld of the test circuits TCA1 and CTC, respectively, and give the test holding control signal thld independently of each other. The output terminal of the selector 65 is connected in common to the shift mode terminals sm of the test circuits TCA1 and CTC, and applies the shift mode control signal sm in common.
[0259]
Next, the holding terminal will be described. The holding terminal HLD0 is connected in common to the data input 0 terminals of the scan flip-flop 70 and the selectors 60-62. Similarly, the holding terminal HLD1 is commonly connected to the data input 0 terminals of the scan flip-flop 71 and the selectors 63 to 65. The shift mode terminal SM is connected in common to the respective data input 1 terminals of the selectors 62 and 65 and the control terminals of the scan flip-flops 70 and 71. Test holding terminals THLDA0 and THLDDI0 are connected to the data input 1 terminals of the selectors 60 and 61, respectively. Test holding terminals THLDA1 and THLDDO1 are connected to the data input 1 terminals of the selectors 63 and 64, respectively.
[0260]
The circuit operation of the circuit shown in FIG. 28 will be described. The circuit operation includes a normal operation and a test operation. The test operation is an operation including a normal scan test operation and a scan test operation using a test result compression function.
[0261]
First, normal operation will be described. During normal operation, the test control signal TEST is set to “0”, and the comparison enable signal CMPEN is set to “0”. When the test control signal TEST is “0”, the selectors 60 to 65 respectively output data input to the data input 0 terminal. Accordingly, the holding control signal HLD0 is supplied to the test circuits TCA0 and TCDI as the test holding control signal thld and the shift mode control signal sm. The holding control signal HLD1 is supplied to the test circuits TCA1 and CTC as the test holding control signal thld and the shift mode control signal sm. At this time, if the holding control signal HLD0 is “0”, the input data INA0 and INDI are taken into the address input terminal A0 and the input terminal DI of the RAM 11 via the test circuits TCA0 and TCDI, respectively. If the holding control signal HLD0 is “1”, the input data INA0 and INDI are held in the test circuits TCA0 and TCDI. Similarly, if the holding control signal HLD1 is “0”, the input data INA1 is taken into the address input terminal A1 of the RAM 11 via the test circuit TCA1. The output data DO1 is output to the data output terminal OUT via the test circuit CTC. If the holding control signal HLD1 is “1”, the input data INA1 and the output data DO1 are held in the test circuits TCA1 and CTC.
[0262]
That is, in the normal operation, the holding of the data in the test circuits TCA0 and TCDI is simultaneously controlled by the holding control signal HLD0. Further, data holding in the test circuits TCA1 and CTC is simultaneously controlled by the holding control signal HLD1. Accordingly, data holding at the address input terminal A0 for writing and the input terminal DI0 and data holding at the address input terminal A1 for reading and the output terminal DO1 are controlled independently.
[0263]
Next, the test operation will be described. During the test operation, the test control signal TEST is set to “1”, and the comparison enable signal CMPEN is set to “0”. When the test control signal TEST is “1”, the selectors 60 to 65 respectively output data input to the data input 1 terminal. At this time, the test holding control signal THLDA0 and the shift mode control signal SM are input to the test circuit TCA0 as the test holding control signal thld and the shift mode control signal sm, respectively. The test holding control signal THLDDI0 and the shift mode control signal SM are input to the test circuit TCDI as the test holding control signal thld and the shift mode control signal sm, respectively. The test holding control signal THLDA1 and the shift mode control signal SM are input to the test circuit TCA1 as the test holding control signal thld and the shift mode control signal sm, respectively. The test holding control signal THLDDO1 and the shift mode control signal SM are used as the test holding control signal thld and the shift mode control signal sm, respectively.CTCIs input.
[0264]
Summarize the control in the test operation. The shift mode control signal SM is input as a shift mode control signal sm in common to the test circuits TCA0, TCDI, TCA1, and CTC, and selection of data input in the test circuits TCA0, TCDI, TCA1, and CTC is controlled. Data holding in the test circuits TCA0, TCDI, TCA1, and CTC is independently performed by test holding control signals THLDA0, THLDDI0, THLDA1, and THLDDO1.
[0265]
By holding data in each test circuit independently, the following advantages are obtained.
[0266]
The path from the address input terminals A0, A1 and the input terminal DI to the output terminal DO of the RAM 11 includes a total of two flip-flops, each consisting of one flip-flop on the input terminal side and one flip-flop on the output terminal side. I think. Here, consider the case where there is a logic circuit 12 that must synchronize the RAM 11. Assume that the path between the input terminal and the output terminal of the logic circuit 12 includes, for example, three flip-flops. In order to synchronize the RAM 11 and the logic circuit 12, it is preferable to hold the data in the RAM 11 for the time required for the data to pass through one flip-flop. That is, synchronization can be achieved by holding data by the number of flip-flops included in the path.
[0267]
In the circuit shown in FIG. 28, the data holding at the address input terminal A0 for writing and the input terminal DI and the data holding at the address input terminal A1 for reading and the output terminal DO are independently controlled during normal operation. Is done. Therefore, it is possible to synchronize the output of the RAM 11 in a flexible manner corresponding to the number of flip-flops included in the logic circuit 12 that must be synchronized to form a path.
[0268]
During the test operation, data holding at the address input terminal A0, data holding at the input terminal DI, data holding at the address input terminal A1, and data holding at the output terminal DO are controlled independently. Therefore, the operation test of the RAM 11 can be performed efficiently.
[0269]
Next, even during normal operation, data holding at the address input terminal A0, data holding at the input terminal DI, data holding at the address input terminal A1, and data holding at the output terminal DO are independent of each other. FIG. 29 shows a circuit that can be controlled.
[0270]
FIG. 29 is a circuit diagram showing a RAM provided with a test circuit. As in the circuit shown in FIG. 28, in this figure, the RAM 11 which is a logic circuit is controlled in input / output by the test circuits TCA0, TCDI, TCA1 and CTC which are test circuits.
[0271]
In order to control data retention independently during normal operation, the holding terminal shown in FIG.
Holding terminal HLD0 → Holding terminals HLDA0, HLDDI0
Holding terminal HLD1 → Holding terminals HLDA1, HLDDO1
It is converted like this. Along with the conversion of the holding terminal, regarding the selector and scan flip-flop,
Selector 62 → selectors 62a, 62b
Selector 65 → selectors 65a, 65b
Scan flip-flop 70 → scan flip-flops 70a and 70b
Scan flip-flop 71 → scan flip-flops 71a and 71b
The conversion like this is given. The selectors 62a, 62b, 65a, 65b are selectors having the same configuration and function as the selectors 62, 65, respectively. Similarly, the scan flip-flops 70a, 70b, 71a, 71b are scan flip-flops having the same configuration and function as the scan flip-flops 70, 71, respectively. Only the parts different from the circuit shown in FIG. 28 will be described below with respect to the circuit shown in FIG.
[0272]
The scan flip-flops 70a, 70b, 71a, 71b will be described. The scan flip-flops 70a, 70b, 71a, 71b are scan flip-flops used for observing the holding control signals HLDA0, HLDDI0, HLDA1, and HLDO1, respectively. Each of the scan flip-flops 70a, 70b, 71a, 71b includes a data input 0 terminal, a data input 1 terminal, an output terminal, and a control terminal. Depending on the signal input to the control terminal, each of the scan flip-flops 70a, 70b, 71a, 71b is either a signal input to the data input 0 terminal or a signal input to the data input 1 terminal. Is output.
[0273]
A description will be given of circuits that provide the test holding control signal thld and the shift mode control signal sm to the test circuits TCA0, TCDI, TCA1, and CTC, respectively. Using the selectors 60, 61, 62a, 62b, 63, 64, 65a, and 65b, a circuit that provides the test holding control signal thld and the shift mode control signal sm is configured.
[0274]
The selectors 60, 61, 62a, 62b, 63, 64, 65a, and 65b are selectors each having a data input 0 terminal, a data input 1 terminal, an output terminal, and a control terminal. A test terminal TEST is commonly connected to the control terminals of these selectors.
[0275]
The output terminals of the selectors 60 and 62a are connected to the test holding terminal thld and the shift mode terminal sm of the test circuit TCA0, and give the test holding control signal thld and the shift mode control signal sm. By the same connection, the selectors 61 and 62b supply the test holding control signal thld and the shift mode control signal sm to the test circuit TCDI. The selectors 63 and 65a supply the test holding control signal thld and the shift mode control signal sm to the test circuit TCA1. The selectors 64 and 65b supply the test holding control signal thld and the shift mode control signal sm to the test circuit CTC.
[0276]
Next, the holding terminal will be described. The holding terminal HLDA0 is commonly connected to the data input 0 terminals of the scan flip-flop 70a and the selectors 60 and 62a. The holding terminal HLDDI0 is commonly connected to the data input 0 terminals of the scan flip-flop 70b and the selectors 61 and 62b. Similarly, the holding terminal HLDA1 is commonly connected to the data input 0 terminals of the scan flip-flop 71a and the selectors 63 and 65a. The holding terminal HLDDO1 is commonly connected to the data input 0 terminals of the scan flip-flop 71b and the selectors 63 and 65b. The shift mode terminal SM is connected in common to the data input 1 terminal of each of the selectors 62a, 62b, 65a, 65b and the control terminals of the scan flip-flops 70a, 70b, 71a, 71b. Test holding terminals THLDA0 and THLDDI0 are connected to the data input 1 terminals of the selectors 60 and 61, respectively. Test holding terminals THLDA1 and THLDDO1 are connected to the data input 1 terminals of the selectors 63 and 64, respectively.
[0277]
The circuit operation of the circuit shown in FIG. 29 will be described. Similar to the circuit shown in FIG. 28, there are a normal operation and a test operation as circuit operations.
[0278]
First, normal operation will be described. During normal operation, the test control signal TEST is set to “0”, and the comparison enable signal CMPEN is set to “0”. When the test control signal TEST is “0”, the selectors 60, 61, 62 a, 62 b, 63, 64, 65 a, 65 b output data input to the data input 0 terminal, respectively. Accordingly, the holding control signal HLDA0 is supplied to the test circuit TCA0 as the test holding control signal thld and the shift mode control signal sm. The holding control signal HLDDI0 is supplied to the test circuit TCDI as the test holding control signal thld and the shift mode control signal sm. Similarly, the holding control signal HLDA1 is supplied to the test circuit TCA1 as the test holding control signal thld and the shift mode control signal sm. The holding control signal HLDDO1 is supplied to the test circuit CTC as the test holding control signal thld and the shift mode control signal sm.
[0279]
Accordingly, by switching between “0” and “1” of the holding control signals HLDA0, HLDDI0, HLDA1, and HLDO1, respectively, the input data INA0, INDI, INA1 and the output of OUT in the test circuits TCA0, TCDI, TCA1, CTC It is possible to control switching of data retention independently of each other.
[0280]
Next, the test operation will be described. During the test operation, the test control signal TEST is set to “1”, and the comparison enable signal CMPEN is set to “0”. When the test control signal TEST is “1”, the selectors 60, 61, 62 a, 62 b, 63, 64, 65 a, 65 b output data input to the data input 1 terminal, respectively. As described above, the shift mode terminal SM is commonly connected to the data input 1 terminals of the selectors 62a, 62b, 65a, and 65b. Similarly to the circuit shown in FIG. 28, the test holding terminals THLDA0 and THLDDI0 are connected to the data input 1 terminals of the selectors 60 and 61, respectively, and the data input 1 terminals of the selectors 63 and 64 are tested. Holding terminals THLDA1 and THLDDO1 are connected to each other. Therefore, the circuit operation during the test operation is the same as the circuit operation of the circuit shown in FIG.
[0281]
That is, in the circuit shown in FIG. 29, the same circuit operation as that of the circuit shown in FIG. 28 can be obtained during the test operation. During normal operation, it is possible to independently control data holding at the address input terminal A0, data holding at the input terminal DI, data holding at the address input terminal A1, and data holding at the output terminal DO. There are even more excellent effects.
[0282]
【The invention's effect】
According to the structure of Claims 1-6, the switching circuit contained between the connection circuit input terminal and the connection circuit output terminal is one. Therefore, the setup is reduced by connecting the terminal for normal operation to the input terminal for connection circuit, and the circuit speed during normal operation is improved.
[0283]
According to the configuration of claim 1, the first control input signal for the control circuit and the second control for the control circuitinputA control circuit is used that ignores one of the logic of the signals in the control of the connection circuit by receiving the control circuit test signal. Therefore, ignored controlinputThe connection circuit can be controlled independently of the signal logic.
[0284]
According to the configuration of the second aspect, the first control input signal for the control circuit and the second control for the control circuitinputA control circuit that controls the connection circuit by receiving the signal is used. Therefore, it is possible to control the connection circuit with a control signal smaller than the control signal described in claim 1.
[0285]
According to the configuration of the third aspect, the control circuit first and third control input signals and the control circuit second control are provided.inputA control circuit that ignores one of the signals in the control of the connection circuit by receiving the control circuit test signal is used. Therefore, ignored controlinputThe connection circuit can be controlled independently of the signal logic.
[0286]
According to a fourth aspect of the present invention, when the control circuit test signal takes the first logic, the first and third control input signals for the control circuit also take the first logic. First and third control input signals and second control for control circuitinputA control circuit that ignores one of the signals in the control of the connection circuit by receiving the control circuit test signal is used. Therefore, ignored controlinputThe connection circuit can be controlled independently of the signal logic.
[0287]
According to the configuration of the fifth aspect, the first and third control input signals for the control circuit and the control circuit are set under the setting that the first control input signal for the control circuit takes the first logic during normal operation. Second controlinputA control circuit that ignores one of the signals in the control of the connection circuit by receiving the control circuit first control input signal is used. Therefore, ignored controlinputThe connection circuit can be controlled independently of the signal logic.
[0288]
According to the configuration of the sixth aspect, the first and third control input signals for the control circuit are set under the setting that the first and third control input signals for the control circuit each take the first logic during normal operation. And second control for control circuitinputA control circuit that ignores one of the signals in the control of the connection circuit by receiving the control circuit first control input signal is used. Therefore, ignored controlinputThe connection circuit can be controlled independently of the signal logic.
[0289]
  Claim 7And 8According to the configuration described above, when the first and second control input signals for the connection circuit take the second logic, the connection circuit holds the signal and compresses the test result. Therefore, the number of observations of the test result can be reduced by compressing the test result.
[0290]
  Claim9as well as10According to the configuration described above, when the first and second control input signals for the connection circuit take the second logic, the data stored in the memory circuit is held and the test result is compressed by switching the logic of the comparison signal. I do. Therefore, the number of observations of the test result can be reduced by compressing the test result.
[0291]
  Claim11According to the configuration described above, the control by the write control circuit and the control by the read control circuit are independent. Therefore, it is possible to independently control the synchronization operation at the write terminal and the synchronization operation at the read terminal.
[0292]
  Claim12According to the configuration described above, the control by the write address control circuit, the control by the write input control circuit, the control by the read address control circuit, and the control by the read output control circuit are independent. Accordingly, the synchronization operation at the write address terminal, the synchronization operation at the write input terminal, the synchronization operation at the read address terminal, and the synchronization operation at the read output terminal can be controlled independently.
[Brief description of the drawings]
FIG. 1 is a circuit diagram showing a logic circuit provided with a test circuit comprising a test circuit TC and a control circuit CTL1 according to a first embodiment of the present invention.
FIG. 2 is a circuit diagram showing a connection circuit CC.
FIG. 3 is a circuit diagram showing a test circuit TC according to the present invention.
FIG. 4 is a circuit diagram showing a plurality of logic circuits provided with a scan path including a test circuit TC.
FIG. 5 is a circuit diagram showing a circuit provided with a scan flip-flop HSFF;
FIG. 6 is a circuit diagram showing a scan flip-flop HSFF according to the present invention.
FIG. 7 is a circuit diagram showing a control circuit CTL2.
FIG. 8 is a circuit diagram showing a configuration of a two-input selector.
FIG. 9 is a circuit diagram showing a control circuit CTL2a.
FIG. 10 is a circuit diagram showing a logic circuit provided with a test circuit including a test circuit CTC according to the second embodiment.
FIG. 11 is a circuit diagram showing a connection circuit CCC.
FIG. 12 is a circuit diagram showing a connection circuit CCCr.
FIG. 13 is a circuit diagram showing a test circuit CTC configured by a connection circuit CCC.
FIG. 14 is a circuit diagram showing control circuits CTL3 and CCTL3 for controlling test circuits TC and CTC, respectively.
FIG. 15 is a circuit diagram showing a circuit having a configuration in which a scan path is provided in a plurality of logic circuits.
FIG. 16 is a circuit diagram showing a circuit provided with scan flip-flops HSFF and HSFFa;
17 is a circuit diagram showing only the circuit shown in FIG. 14 on the input side.
FIG. 18 is a circuit diagram showing a control circuit CTL3a having the same function as that of the control circuit CTL3.
FIG. 19 is a circuit diagram showing a circuit having a configuration in which a holding terminal HLD0 is connected to a control circuit CTL3 via a scan flip-flop HSFF;
20 is a circuit diagram showing a test circuit TCS according to the second embodiment. FIG.
FIG. 21 is a circuit diagram showing a control circuit CTL5 according to the third embodiment.
FIG. 22 is a circuit diagram showing a control circuit CTL5a.
FIG. 23 is a circuit diagram showing a control circuit CTL6.
FIG. 24 is a circuit diagram showing a control circuit CTL6a.
FIG. 25 is a circuit diagram showing a control circuit CTL7.
FIG. 26 is a circuit diagram showing a control circuit CTL7a.
FIG. 27 is a circuit diagram showing a control circuit CTL7b.
FIG. 28 is a circuit diagram showing a RAM provided with a scan path according to the fourth embodiment.
FIG. 29 is a circuit diagram showing a circuit configured by further improving the circuit shown in FIG. 28;
FIG. 30 is a circuit diagram showing a logic circuit with a holding function.
FIG. 31 is a circuit diagram showing how the flip-flop 4 is scan-converted.
32 is a circuit diagram showing a circuit configured by scan-converting the flip-flop shown in FIG. 30;
FIG. 33 is a circuit diagram showing a connection circuit PCC.
[Explanation of symbols]
2, 3, 60 to 65 selector, 4, 4r flip-flop, 11 RAM, 30, 30r Ex-OR gate, 31 NAND gate, 31r gate, 32 AND gate, A0, 1 address input terminal, CC, CCC, CCCr connection Circuit, CMPEN, cmppen, cmppenr comparison terminal, comparison enable signal, CTL1-7 control circuit, DI, d, cd, cdr input terminal, input data, DO output terminal, output data, EXP, exp, cexp, cexpr expectation terminal, Expected data, HLD0, HLD1 holding terminal, holding control signal, q output terminal, serial input data, SI, si, csi, csir scan-in terminal, SM, sm, csm, csmr shift mode terminal, shift mode control signal, SO, so, cso, csor Scanout terminal, T, t clock terminal, TC, TCA0, TCA1, TCDI, CTC test circuit, TEST test terminal, test control signal, THLD0, THLD1, thld, cthld, cthldr Test holding terminal, test holding control signal.

Claims (12)

第1及び第2切替回路ならびに記憶回路を含んでなり、
接続回路用入力端子、接続回路用試験入力端子、接続回路用出力端子、ならびに接続回路用第1及び第2制御端子を備え、
前記接続回路用第1制御端子に入力される接続回路用第1制御信号及び前記接続回路用第2制御端子に入力される接続回路用第2制御信号はそれぞれ、互いに異なる第1論理及び第2論理からなる2値論理をとり、
前記第1切替回路は、第1切替回路用一方入力端子、第1切替回路用他方入力端子、第1切替回路用出力端子及び第1切替回路用制御端子を有し、
前記第2切替回路は、第2切替回路用一方入力端子、第2切替回路用他方入力端子、第2切替回路用出力端子及び第2切替回路用制御端子を有し、
前記記憶回路は記憶回路用入力端子及び記憶回路用出力端子を有し、
前記第1切替回路用制御端子は前記接続回路用第1制御端子を構成し、
前記第1切替回路用一方入力端子は前記接続回路用入力端子を構成し、
前記接続回路用第1制御信号が前記第1論理をとるときに前記第1切替回路用一方入力端子は前記第1切替回路用出力端子に接続され、
前記接続回路用第1制御信号が前記第2論理をとるときに前記第1切替回路用他方入力端子は前記第1切替回路用出力端子に接続され、
前記第2切替回路用制御端子は前記接続回路用第2制御端子を構成し、
前記第2切替回路用一方入力端子は前記接続回路用試験入力端子を構成し、
前記接続回路用第2制御信号が前記第1論理をとるときに前記第2切替回路用一方入力端子は前記第2切替回路用出力端子に接続され、
前記接続回路用第2制御信号が前記第2論理をとるときに前記第2切替回路用他方入力端子は前記第2切替回路用出力端子に接続され、
前記第2切替回路用出力端子は前記第1切替回路用他方入力端子に接続され、
前記第1切替回路用出力端子は前記記憶回路用入力端子に接続され、
前記記憶回路用出力端子は前記接続回路用出力端子を構成するとともに前記第2切替回路用他方入力端子に接続される
ことを特徴とする接続回路と、
制御回路用第1及び第2制御入力端子、制御回路用第1及び第2制御出力端子、ならびに制御回路用試験端子を備え、
前記制御回路用第1及び第2制御入力端子ならびに前記制御回路用試験端子にはそれぞれ制御回路用第1及び第2制御入力信号ならびに制御回路用試験信号が入力され、前記制御回路用第1及び第2制御出力端子からはそれぞれ制御回路用第1及び第2制御出力信号が出力され、
前記制御回路用第1及び第2制御入力信号、前記制御回路用第1及び第2制御出力信号、ならびに前記制御回路用試験信号はそれぞれ前記2値論理をとり、
前記制御回路用試験信号が前記2値論理のいずれか一方をとるとき、前記制御回路用第1及び第2制御出力信号の論理は前記制御回路用第2制御入力信号の論理に等しく、
前記制御回路用試験信号が前記2値論理の他方をとるとき、前記制御回路用第制御出力信号の論理は前記制御回路用第1制御入力信号の反転論理に等しく、前記制御回路用第制御出力信号の論理は前記制御回路用第1制御入力信号の論理に等しく、
前記制御回路用第1制御出力端子は前記接続回路用第1制御端子に接続され、
前記制御回路用第2制御出力端子は前記接続回路用第2制御端子に接続される
ことによって前記接続回路を制御する制御回路とを
含んでなることを特徴とするスキャンパス構成回路。
Comprising first and second switching circuits and a memory circuit;
A connection circuit input terminal, a connection circuit test input terminal, a connection circuit output terminal, and a connection circuit first and second control terminal;
The first control signal for connection circuit input to the first control terminal for connection circuit and the second control signal for connection circuit input to the second control terminal for connection circuit are different from each other in first logic and second Take binary logic consisting of logic,
The first switching circuit has a first switching circuit one input terminal, a first switching circuit other input terminal, a first switching circuit output terminal, and a first switching circuit control terminal,
The second switching circuit includes a second switching circuit one input terminal, a second switching circuit other input terminal, a second switching circuit output terminal, and a second switching circuit control terminal,
The memory circuit has a memory circuit input terminal and a memory circuit output terminal,
The first switching circuit control terminal constitutes the connection circuit first control terminal;
The one input terminal for the first switching circuit constitutes the input terminal for the connection circuit,
When the first control signal for the connection circuit takes the first logic, the one input terminal for the first switching circuit is connected to the output terminal for the first switching circuit,
When the first control signal for connection circuit takes the second logic, the other input terminal for the first switching circuit is connected to the output terminal for the first switching circuit,
The second switching circuit control terminal constitutes the connection circuit second control terminal;
The one input terminal for the second switching circuit constitutes the test input terminal for the connection circuit,
When the second control signal for the connection circuit takes the first logic, the one input terminal for the second switching circuit is connected to the output terminal for the second switching circuit,
When the second control signal for the connection circuit takes the second logic, the other input terminal for the second switching circuit is connected to the output terminal for the second switching circuit,
The output terminal for the second switching circuit is connected to the other input terminal for the first switching circuit,
The first switching circuit output terminal is connected to the storage circuit input terminal;
The storage circuit output terminal constitutes the connection circuit output terminal and is connected to the other input terminal for the second switching circuit; and
First and second control input terminals for control circuit, first and second control output terminals for control circuit, and test terminal for control circuit,
The control circuit first and second control input signals and the control circuit test signal are input to the control circuit first and second control input terminals and the control circuit test terminal, respectively. Control circuit first and second control output signals are output from the second control output terminal,
The control circuit first and second control input signals, the control circuit first and second control output signals, and the control circuit test signal each take the binary logic,
When the control circuit test signal takes one of the binary logic, the logic of the control circuit first and second control output signals is equal to the logic of the control circuit second control input signal;
When the control circuit test signal takes the other of the binary logic, the logic of the control circuit second control output signal is equal to the inverted logic of the control circuit first control input signal, and the control circuit first The logic of the control output signal is equal to the logic of the first control input signal for the control circuit,
The control circuit first control output terminal is connected to the connection circuit first control terminal,
The control path second circuit output terminal includes a control circuit that controls the connection circuit by being connected to the connection circuit second control terminal.
第1及び第2切替回路ならびに記憶回路を含んでなり、
接続回路用入力端子、接続回路用試験入力端子、接続回路用出力端子、ならびに接続回路用第1及び第2制御端子を備え、
前記接続回路用第1制御端子に入力される接続回路用第1制御信号及び前記接続回路用第2制御端子に入力される接続回路用第2制御信号はそれぞれ、互いに異なる第1論理及び第2論理からなる2値論理をとり、
前記第1切替回路は、第1切替回路用一方入力端子、第1切替回路用他方入力端子、第1切替回路用出力端子及び第1切替回路用制御端子を有し、
前記第2切替回路は、第2切替回路用一方入力端子、第2切替回路用他方入力端子、第2切替回路用出力端子及び第2切替回路用制御端子を有し、
前記記憶回路は記憶回路用入力端子及び記憶回路用出力端子を有し、
前記第1切替回路用制御端子は前記接続回路用第1制御端子を構成し、
前記第1切替回路用一方入力端子は前記接続回路用入力端子を構成し、
前記接続回路用第1制御信号が前記第1論理をとるときに前記第1切替回路用一方入力端子は前記第1切替回路用出力端子に接続され、
前記接続回路用第1制御信号が前記第2論理をとるときに前記第1切替回路用他方入力端子は前記第1切替回路用出力端子に接続され、
前記第2切替回路用制御端子は前記接続回路用第2制御端子を構成し、
前記第2切替回路用一方入力端子は前記接続回路用試験入力端子を構成し、
前記接続回路用第2制御信号が前記第1論理をとるときに前記第2切替回路用一方入力端子は前記第2切替回路用出力端子に接続され、
前記接続回路用第2制御信号が前記第2論理をとるときに前記第2切替回路用他方入力端子は前記第2切替回路用出力端子に接続され、
前記第2切替回路用出力端子は前記第1切替回路用他方入力端子に接続され、
前記第1切替回路用出力端子は前記記憶回路用入力端子に接続され、
前記記憶回路用出力端子は前記接続回路用出力端子を構成するとともに前記第2切替回路用他方入力端子に接続される
ことを特徴とする接続回路と、
制御回路用第1及び第2制御入力端子ならびに制御回路用第1及び第2制御出力端子を備え、
前記制御回路用第1及び第2制御入力端子にはそれぞれ制御回路用第1及び第2制御入力信号が入力され、前記制御回路用第1及び第2制御出力端子からはそれぞれ制御回路用第1及び第2制御出力信号が出力され、
前記制御回路用第1及び第2制御入力信号、ならびに前記制御回路用第1及び第2制御出力信号はそれぞれ前記2値論理をとり、
前記制御回路用第1制御入力信号が前記第1論理をとるとき、前記制御回路用第1及び第2制御出力信号の論理は前記制御回路用第2制御入力信号の論理に等しく、
前記制御回路用第1制御入力信号が前記第2論理をとるとき、前記制御回路用第制御出力信号の論理は前記制御回路用第1制御入力信号の反転論理に等しく、前記制御回路用第制御出力信号の論理は前記制御回路用第1制御入力信号の論理に等しく、
前記制御回路用第1制御出力端子が前記接続回路用第1制御端子に接続され、
前記制御回路用第2制御出力端子が前記接続回路用第2制御端子に接続されることによって前記接続回路を制御する制御回路とを
含んでなることを特徴とするスキャンパス構成回路。
Comprising first and second switching circuits and a memory circuit;
A connection circuit input terminal, a connection circuit test input terminal, a connection circuit output terminal, and a connection circuit first and second control terminal;
The first control signal for connection circuit input to the first control terminal for connection circuit and the second control signal for connection circuit input to the second control terminal for connection circuit are different from each other in first logic and second Take binary logic consisting of logic,
The first switching circuit has a first switching circuit one input terminal, a first switching circuit other input terminal, a first switching circuit output terminal, and a first switching circuit control terminal,
The second switching circuit includes a second switching circuit one input terminal, a second switching circuit other input terminal, a second switching circuit output terminal, and a second switching circuit control terminal,
The memory circuit has a memory circuit input terminal and a memory circuit output terminal,
The first switching circuit control terminal constitutes the connection circuit first control terminal;
The one input terminal for the first switching circuit constitutes the input terminal for the connection circuit,
When the first control signal for the connection circuit takes the first logic, the one input terminal for the first switching circuit is connected to the output terminal for the first switching circuit,
When the first control signal for connection circuit takes the second logic, the other input terminal for the first switching circuit is connected to the output terminal for the first switching circuit,
The second switching circuit control terminal constitutes the connection circuit second control terminal;
The one input terminal for the second switching circuit constitutes the test input terminal for the connection circuit,
When the second control signal for the connection circuit takes the first logic, the one input terminal for the second switching circuit is connected to the output terminal for the second switching circuit,
When the second control signal for the connection circuit takes the second logic, the other input terminal for the second switching circuit is connected to the output terminal for the second switching circuit,
The output terminal for the second switching circuit is connected to the other input terminal for the first switching circuit,
The first switching circuit output terminal is connected to the storage circuit input terminal;
The storage circuit output terminal constitutes the connection circuit output terminal and is connected to the other input terminal for the second switching circuit; and
First and second control input terminals for the control circuit and first and second control output terminals for the control circuit,
Control circuit first and second control input signals are input to the control circuit first and second control input terminals, respectively, and control circuit first and second control output terminals respectively receive control circuit first and second control input signals. And a second control output signal is output,
The control circuit first and second control input signals and the control circuit first and second control output signals each take the binary logic,
When the first control input signal for the control circuit takes the first logic, the logic of the first and second control output signals for the control circuit is equal to the logic of the second control input signal for the control circuit,
When the first control input signal for the control circuit takes the second logic, the logic of the second control output signal for the control circuit is equal to the inverted logic of the first control input signal for the control circuit, and The logic of one control output signal is equal to the logic of the first control input signal for the control circuit,
The first control output terminal for the control circuit is connected to the first control terminal for the connection circuit;
And a control circuit that controls the connection circuit by connecting the second control output terminal for the control circuit to the second control terminal for the connection circuit.
第1及び第2切替回路ならびに記憶回路を含んでなり、
接続回路用入力端子、接続回路用試験入力端子、接続回路用出力端子、ならびに接続回路用第1及び第2制御端子を備え、
前記接続回路用第1制御端子に入力される接続回路用第1制御信号及び前記接続回路用第2制御端子に入力される接続回路用第2制御信号はそれぞれ、互いに異なる第1論理及び第2論理からなる2値論理をとり、
前記第1切替回路は、第1切替回路用一方入力端子、第1切替回路用他方入力端子、第1切替回路用出力端子及び第1切替回路用制御端子を有し、
前記第2切替回路は、第2切替回路用一方入力端子、第2切替回路用他方入力端子、第2切替回路用出力端子及び第2切替回路用制御端子を有し、
前記記憶回路は記憶回路用入力端子及び記憶回路用出力端子を有し、
前記第1切替回路用制御端子は前記接続回路用第1制御端子を構成し、
前記第1切替回路用一方入力端子は前記接続回路用入力端子を構成し、
前記接続回路用第1制御信号が前記第1論理をとるときに前記第1切替回路用一方入力端子は前記第1切替回路用出力端子に接続され、
前記接続回路用第1制御信号が前記第2論理をとるときに前記第1切替回路用他方入力端子は前記第1切替回路用出力端子に接続され、
前記第2切替回路用制御端子は前記接続回路用第2制御端子を構成し、
前記第2切替回路用一方入力端子は前記接続回路用試験入力端子を構成し、
前記接続回路用第2制御信号が前記第1論理をとるときに前記第2切替回路用一方入力端子は前記第2切替回路用出力端子に接続され、
前記接続回路用第2制御信号が前記第2論理をとるときに前記第2切替回路用他方入力端子は前記第2切替回路用出力端子に接続され、
前記第2切替回路用出力端子は前記第1切替回路用他方入力端子に接続され、
前記第1切替回路用出力端子は前記記憶回路用入力端子に接続され、
前記記憶回路用出力端子は前記接続回路用出力端子を構成するとともに前記第2切替回路用他方入力端子に接続される
ことを特徴とする接続回路と、
制御回路用第1乃至第3制御入力端子、制御回路用第1及び第2制御出力端子、ならびに制御回路用試験端子を備え、
前記制御回路用第1乃至第3制御入力端子ならびに前記制御回路用試験端子にはそれぞれ制御回路用第1乃至第3制御入力信号ならびに制御回路用試験信号が入力され、前記制御回路用第1及び第2制御出力端子からはそれぞれ制御回路用第1及び第2制御出力信号が出力され、
前記制御回路用第1乃至第3制御入力信号、前記制御回路用第1及び第2制御出力信号、ならびに前記制御回路用試験信号はそれぞれ前記2値論理をとり、
前記制御回路用試験信号が前記2値論理のいずれか一方をとるとき、前記制御回路用第1及び第2制御出力信号の論理は前記制御回路用第2制御入力信号の論理に等しく、
前記制御回路用試験信号が前記2値論理の他方をとるとき、前記制御回路用第1制御出力信号の論理は前記制御回路用第1制御入力信号の論理に等しく、前記制御回路用第2制御出力信号の論理は前記制御回路用第3制御入力信号の論理に等しく、
前記制御回路用第1制御出力端子は前記接続回路用第1制御端子に接続され、
前記制御回路用第2制御出力端子は前記接続回路用第2制御端子に接続される
ことによって前記接続回路を制御する制御回路とを
含んでなることを特徴とするスキャンパス構成回路。
Comprising first and second switching circuits and a memory circuit;
A connection circuit input terminal, a connection circuit test input terminal, a connection circuit output terminal, and a connection circuit first and second control terminal;
The first control signal for connection circuit input to the first control terminal for connection circuit and the second control signal for connection circuit input to the second control terminal for connection circuit are different from each other in first logic and second Take binary logic consisting of logic,
The first switching circuit has a first switching circuit one input terminal, a first switching circuit other input terminal, a first switching circuit output terminal, and a first switching circuit control terminal,
The second switching circuit includes a second switching circuit one input terminal, a second switching circuit other input terminal, a second switching circuit output terminal, and a second switching circuit control terminal,
The memory circuit has a memory circuit input terminal and a memory circuit output terminal,
The first switching circuit control terminal constitutes the connection circuit first control terminal;
The one input terminal for the first switching circuit constitutes the input terminal for the connection circuit,
When the first control signal for the connection circuit takes the first logic, the one input terminal for the first switching circuit is connected to the output terminal for the first switching circuit,
When the first control signal for connection circuit takes the second logic, the other input terminal for the first switching circuit is connected to the output terminal for the first switching circuit,
The second switching circuit control terminal constitutes the connection circuit second control terminal;
The one input terminal for the second switching circuit constitutes the test input terminal for the connection circuit,
When the second control signal for the connection circuit takes the first logic, the one input terminal for the second switching circuit is connected to the output terminal for the second switching circuit,
When the second control signal for the connection circuit takes the second logic, the other input terminal for the second switching circuit is connected to the output terminal for the second switching circuit,
The output terminal for the second switching circuit is connected to the other input terminal for the first switching circuit,
The first switching circuit output terminal is connected to the storage circuit input terminal;
The storage circuit output terminal constitutes the connection circuit output terminal and is connected to the other input terminal for the second switching circuit; and
First to third control input terminals for control circuit, first and second control output terminals for control circuit, and test terminal for control circuit,
Control circuit first to third control input signals and control circuit test signals are input to the control circuit first to third control input terminals and the control circuit test terminals, respectively. Control circuit first and second control output signals are output from the second control output terminal,
The control circuit first to third control input signals, the control circuit first and second control output signals, and the control circuit test signal each take the binary logic,
When the control circuit test signal takes one of the binary logics, the logic of the control circuit first and second control output signals is equal to the logic of the control circuit second control input signal;
When the control circuit test signal takes the other of the binary logic, the logic of the first control output signal for the control circuit is equal to the logic of the first control input signal for the control circuit, and the second control for the control circuit The logic of the output signal is equal to the logic of the third control input signal for the control circuit,
The control circuit first control output terminal is connected to the connection circuit first control terminal,
The scan path configuration circuit, wherein the control circuit second control output terminal includes a control circuit that controls the connection circuit by being connected to the connection circuit second control terminal.
第1及び第2切替回路ならびに記憶回路を含んでなり、
接続回路用入力端子、接続回路用試験入力端子、接続回路用出力端子、ならびに接続回路用第1及び第2制御端子を備え、
前記接続回路用第1制御端子に入力される接続回路用第1制御信号及び前記接続回路用第2制御端子に入力される接続回路用第2制御信号はそれぞれ、互いに異なる第1論理及び第2論理からなる2値論理をとり、
前記第1切替回路は、第1切替回路用一方入力端子、第1切替回路用他方入力端子、第1切替回路用出力端子及び第1切替回路用制御端子を有し、
前記第2切替回路は、第2切替回路用一方入力端子、第2切替回路用他方入力端子、第2切替回路用出力端子及び第2切替回路用制御端子を有し、
前記記憶回路は記憶回路用入力端子及び記憶回路用出力端子を有し、
前記第1切替回路用制御端子は前記接続回路用第1制御端子を構成し、
前記第1切替回路用一方入力端子は前記接続回路用入力端子を構成し、
前記接続回路用第1制御信号が前記第1論理をとるときに前記第1切替回路用一方入力端子は前記第1切替回路用出力端子に接続され、
前記接続回路用第1制御信号が前記第2論理をとるときに前記第1切替回路用他方入力端子は前記第1切替回路用出力端子に接続され、
前記第2切替回路用制御端子は前記接続回路用第2制御端子を構成し、
前記第2切替回路用一方入力端子は前記接続回路用試験入力端子を構成し、
前記接続回路用第2制御信号が前記第1論理をとるときに前記第2切替回路用一方入力端子は前記第2切替回路用出力端子に接続され、
前記接続回路用第2制御信号が前記第2論理をとるときに前記第2切替回路用他方入力端子は前記第2切替回路用出力端子に接続され、
前記第2切替回路用出力端子は前記第1切替回路用他方入力端子に接続され、
前記第1切替回路用出力端子は前記記憶回路用入力端子に接続され、
前記記憶回路用出力端子は前記接続回路用出力端子を構成するとともに前記第2切替回路用他方入力端子に接続される
ことを特徴とする接続回路と、
制御回路用第1乃至第3制御入力端子、制御回路用第1及び第2制御出力端子、ならびに制御回路用試験端子を備え、
前記制御回路用第1乃至第3制御入力端子ならびに前記制御回路用試験端子にはそれぞれ制御回路用第1乃至第3制御入力信号ならびに制御回路用試験信号が入力され、前記制御回路用第1及び第2制御出力端子からはそれぞれ制御回路用第1及び第2制御出力信号が出力され、
前記制御回路用第1乃至第3制御入力信号、前記制御回路用第1及び第2制御出力信号、ならびに前記制御回路用試験信号はそれぞれ前記2値論理をとり、
前記制御回路用試験信号が前記2値論理のいずれか一方をとり、かつ前記制御回路用第1及び第3制御入力信号がそれぞれ前記第1論理をとるとき、前記制御回路用第1及び第2制御出力信号の論理は前記制御回路用第2制御入力信号の論理に等しく、
前記制御回路用試験信号が前記2値論理の他方をとるとき、前記制御回路用第3制御入力信号が前記第2論理をとる場合には前記制御回路用第1制御入力信号も前記第2論理をとり、前記制御回路用第1制御出力信号の論理は前記制御回路用第1制御入力信号の論理に等しく、前記制御回路用第2制御出力信号の論理は前記制御回路用第3制御入力信号の論理に等しく、
前記制御回路用第1制御出力端子は前記接続回路用第1制御端子に接続され、
前記制御回路用第2制御出力端子は前記接続回路用第2制御端子に接続されることによって前記接続回路を制御する制御回路とを
含んでなることを特徴とするスキャンパス構成回路。
Comprising first and second switching circuits and a memory circuit;
A connection circuit input terminal, a connection circuit test input terminal, a connection circuit output terminal, and a connection circuit first and second control terminal;
The first control signal for connection circuit input to the first control terminal for connection circuit and the second control signal for connection circuit input to the second control terminal for connection circuit are different from each other in first logic and second Take binary logic consisting of logic,
The first switching circuit has a first switching circuit one input terminal, a first switching circuit other input terminal, a first switching circuit output terminal, and a first switching circuit control terminal,
The second switching circuit includes a second switching circuit one input terminal, a second switching circuit other input terminal, a second switching circuit output terminal, and a second switching circuit control terminal,
The memory circuit has a memory circuit input terminal and a memory circuit output terminal,
The first switching circuit control terminal constitutes the connection circuit first control terminal;
The one input terminal for the first switching circuit constitutes the input terminal for the connection circuit,
When the first control signal for the connection circuit takes the first logic, the one input terminal for the first switching circuit is connected to the output terminal for the first switching circuit,
When the first control signal for connection circuit takes the second logic, the other input terminal for the first switching circuit is connected to the output terminal for the first switching circuit,
The second switching circuit control terminal constitutes the connection circuit second control terminal;
The one input terminal for the second switching circuit constitutes the test input terminal for the connection circuit,
When the second control signal for the connection circuit takes the first logic, the one input terminal for the second switching circuit is connected to the output terminal for the second switching circuit,
When the second control signal for the connection circuit takes the second logic, the other input terminal for the second switching circuit is connected to the output terminal for the second switching circuit,
The output terminal for the second switching circuit is connected to the other input terminal for the first switching circuit,
The first switching circuit output terminal is connected to the storage circuit input terminal;
The storage circuit output terminal constitutes the connection circuit output terminal and is connected to the other input terminal for the second switching circuit; and
First to third control input terminals for control circuit, first and second control output terminals for control circuit, and test terminal for control circuit,
Control circuit first to third control input signals and control circuit test signals are input to the control circuit first to third control input terminals and the control circuit test terminals, respectively. Control circuit first and second control output signals are output from the second control output terminal,
The control circuit first to third control input signals, the control circuit first and second control output signals, and the control circuit test signal each take the binary logic,
When the control circuit test signal takes one of the binary logic and the control circuit first and third control input signals take the first logic, respectively, the control circuit first and second The logic of the control output signal is equal to the logic of the second control input signal for the control circuit,
When the control circuit test signal takes the other of the binary logic and the third control input signal for the control circuit takes the second logic, the first control input signal for the control circuit also takes the second logic. taken, the logic of the first control output signal for the control circuit is equal to the logic of the first control input signal for the control circuit, the logic of the second control output signal for the control circuit the third control input signals for the control circuit Is equal to the logic of
The control circuit first control output terminal is connected to the connection circuit first control terminal,
The scan path configuration circuit, wherein the control circuit second control output terminal includes a control circuit that controls the connection circuit by being connected to the connection circuit second control terminal.
第1及び第2切替回路ならびに記憶回路を含んでなり、
接続回路用入力端子、接続回路用試験入力端子、接続回路用出力端子、ならびに接続回路用第1及び第2制御端子を備え、
前記接続回路用第1制御端子に入力される接続回路用第1制御信号及び前記接続回路用第2制御端子に入力される接続回路用第2制御信号はそれぞれ、互いに異なる第1論理及び第2論理からなる2値論理をとり、
前記第1切替回路は、第1切替回路用一方入力端子、第1切替回路用他方入力端子、第1切替回路用出力端子及び第1切替回路用制御端子を有し、
前記第2切替回路は、第2切替回路用一方入力端子、第2切替回路用他方入力端子、第2切替回路用出力端子及び第2切替回路用制御端子を有し、
前記記憶回路は記憶回路用入力端子及び記憶回路用出力端子を有し、
前記第1切替回路用制御端子は前記接続回路用第1制御端子を構成し、
前記第1切替回路用一方入力端子は前記接続回路用入力端子を構成し、
前記接続回路用第1制御信号が前記第1論理をとるときに前記第1切替回路用一方入力端子は前記第1切替回路用出力端子に接続され、
前記接続回路用第1制御信号が前記第2論理をとるときに前記第1切替回路用他方入力端子は前記第1切替回路用出力端子に接続され、
前記第2切替回路用制御端子は前記接続回路用第2制御端子を構成し、
前記第2切替回路用一方入力端子は前記接続回路用試験入力端子を構成し、
前記接続回路用第2制御信号が前記第1論理をとるときに前記第2切替回路用一方入力端子は前記第2切替回路用出力端子に接続され、
前記接続回路用第2制御信号が前記第2論理をとるときに前記第2切替回路用他方入力端子は前記第2切替回路用出力端子に接続され、
前記第2切替回路用出力端子は前記第1切替回路用他方入力端子に接続され、
前記第1切替回路用出力端子は前記記憶回路用入力端子に接続され、
前記記憶回路用出力端子は前記接続回路用出力端子を構成するとともに前記第2切替回路用他方入力端子に接続される
ことを特徴とする接続回路と、
制御回路用第1乃至第3制御入力端子ならびに制御回路用第1及び第2制御出力端子を備え、
前記制御回路用第1乃至第3制御入力端子にはそれぞれ制御回路用第1乃至第3制御入力信号が入力され、前記制御回路用第1及び第2制御出力端子からはそれぞれ制御回路用第1及び第2制御出力信号が出力され、
前記制御回路用第1乃至第3制御入力信号ならびに前記制御回路用第1及び第2制御出力信号はそれぞれ前記2値論理をとり、
前記制御回路用第1制御入力信号が前記第1論理をとるとき、前記制御回路用第1及び第2制御出力信号の論理は前記制御回路用第2制御入力信号の論理に等しく、
前記制御回路用第1制御入力信号が前記第2論理をとるとき、前記制御回路用第1制御出力信号の論理は前記制御回路用第1制御入力信号の論理に等しく、前記制御回路用第2制御出力信号の論理は前記制御回路用第3制御入力信号の論理に等しく、
前記制御回路用第1制御出力端子は前記接続回路用第1制御端子に接続され、
前記制御回路用第2制御出力端子は前記接続回路用第2制御端子に接続される
ことによって前記接続回路を制御する制御回路とを
含んでなることを特徴とするスキャンパス構成回路。
Comprising first and second switching circuits and a memory circuit;
A connection circuit input terminal, a connection circuit test input terminal, a connection circuit output terminal, and a connection circuit first and second control terminal;
The first control signal for connection circuit input to the first control terminal for connection circuit and the second control signal for connection circuit input to the second control terminal for connection circuit are different from each other in first logic and second Take binary logic consisting of logic,
The first switching circuit has a first switching circuit one input terminal, a first switching circuit other input terminal, a first switching circuit output terminal, and a first switching circuit control terminal,
The second switching circuit includes a second switching circuit one input terminal, a second switching circuit other input terminal, a second switching circuit output terminal, and a second switching circuit control terminal,
The memory circuit has a memory circuit input terminal and a memory circuit output terminal,
The first switching circuit control terminal constitutes the connection circuit first control terminal;
The one input terminal for the first switching circuit constitutes the input terminal for the connection circuit,
When the first control signal for the connection circuit takes the first logic, the one input terminal for the first switching circuit is connected to the output terminal for the first switching circuit,
When the first control signal for connection circuit takes the second logic, the other input terminal for the first switching circuit is connected to the output terminal for the first switching circuit,
The second switching circuit control terminal constitutes the connection circuit second control terminal;
The one input terminal for the second switching circuit constitutes the test input terminal for the connection circuit,
When the second control signal for the connection circuit takes the first logic, the one input terminal for the second switching circuit is connected to the output terminal for the second switching circuit,
When the second control signal for the connection circuit takes the second logic, the other input terminal for the second switching circuit is connected to the output terminal for the second switching circuit,
The output terminal for the second switching circuit is connected to the other input terminal for the first switching circuit,
The first switching circuit output terminal is connected to the storage circuit input terminal;
The storage circuit output terminal constitutes the connection circuit output terminal and is connected to the other input terminal for the second switching circuit; and
Comprising first to third control input terminals for the control circuit and first and second control output terminals for the control circuit;
The control circuit first to third control input signals are respectively input to the control circuit first to third control input terminals, and the control circuit first and second control output terminals respectively receive the control circuit first. And a second control output signal is output,
The first to third control input signals for the control circuit and the first and second control output signals for the control circuit each take the binary logic,
When the first control input signal for the control circuit takes the first logic, the logic of the first and second control output signals for the control circuit is equal to the logic of the second control input signal for the control circuit,
When the first control input signal for the control circuit takes the second logic, the logic of the first control output signal for the control circuit is equal to the logic of the first control input signal for the control circuit, and the second for the control circuit. The logic of the control output signal is equal to the logic of the third control input signal for the control circuit,
The control circuit first control output terminal is connected to the connection circuit first control terminal,
The scan path configuration circuit, wherein the control circuit second control output terminal includes a control circuit that controls the connection circuit by being connected to the connection circuit second control terminal.
第1及び第2切替回路ならびに記憶回路を含んでなり、
接続回路用入力端子、接続回路用試験入力端子、接続回路用出力端子、ならびに接続回路用第1及び第2制御端子を備え、
前記接続回路用第1制御端子に入力される接続回路用第1制御信号及び前記接続回路用第2制御端子に入力される接続回路用第2制御信号はそれぞれ、互いに異なる第1論理及び第2論理からなる2値論理をとり、
前記第1切替回路は、第1切替回路用一方入力端子、第1切替回路用他方入力端子、第1切替回路用出力端子及び第1切替回路用制御端子を有し、
前記第2切替回路は、第2切替回路用一方入力端子、第2切替回路用他方入力端子、第2切替回路用出力端子及び第2切替回路用制御端子を有し、
前記記憶回路は記憶回路用入力端子及び記憶回路用出力端子を有し、
前記第1切替回路用制御端子は前記接続回路用第1制御端子を構成し、
前記第1切替回路用一方入力端子は前記接続回路用入力端子を構成し、
前記接続回路用第1制御信号が前記第1論理をとるときに前記第1切替回路用一方入力端子は前記第1切替回路用出力端子に接続され、
前記接続回路用第1制御信号が前記第2論理をとるときに前記第1切替回路用他方入力端子は前記第1切替回路用出力端子に接続され、
前記第2切替回路用制御端子は前記接続回路用第2制御端子を構成し、
前記第2切替回路用一方入力端子は前記接続回路用試験入力端子を構成し、
前記接続回路用第2制御信号が前記第1論理をとるときに前記第2切替回路用一方入力端子は前記第2切替回路用出力端子に接続され、
前記接続回路用第2制御信号が前記第2論理をとるときに前記第2切替回路用他方入力端子は前記第2切替回路用出力端子に接続され、
前記第2切替回路用出力端子は前記第1切替回路用他方入力端子に接続され、
前記第1切替回路用出力端子は前記記憶回路用入力端子に接続され、
前記記憶回路用出力端子は前記接続回路用出力端子を構成するとともに前記第2切替回路用他方入力端子に接続される
ことを特徴とする接続回路と、
制御回路用第1乃至第3制御入力端子ならびに制御回路用第1及び第2制御出力端子を備え、
前記制御回路用第1乃至第3制御入力端子にはそれぞれ制御回路用第1乃至第3制御入力信号が入力され、前記制御回路用第1及び第2制御出力端子からはそれぞれ制御回路用第1及び第2制御出力信号が出力され、
前記制御回路用第1乃至第3制御入力信号ならびに前記制御回路用第1及び第2制御出力信号はそれぞれ前記2値論理をとり、
前記制御回路用第1制御入力信号が前記第1論理をとり、かつ前記制御回路用第3制御入力信号が該第1論理をとるとき、前記制御回路用第1及び第2制御出力信号の論理は前記制御回路用第2制御入力信号の論理に等しく、
前記制御回路用第1制御入力信号が前記第2論理をとるとき、前記制御回路用第1制御出力信号の論理は前記制御回路用第1制御入力信号の論理に等しく、前記制御回路用第2制御出力信号の論理は前記制御回路用第3制御入力信号の論理に等しく、
前記制御回路用第1制御出力端子は前記接続回路用第1制御端子に接続され、
前記制御回路用第2制御出力端子は前記接続回路用第2制御端子に接続される
ことによって前記接続回路を制御する制御回路とを
含んでなることを特徴とするスキャンパス構成回路。
Comprising first and second switching circuits and a memory circuit;
A connection circuit input terminal, a connection circuit test input terminal, a connection circuit output terminal, and a connection circuit first and second control terminal;
The first control signal for connection circuit input to the first control terminal for connection circuit and the second control signal for connection circuit input to the second control terminal for connection circuit are different from each other in first logic and second Take binary logic consisting of logic,
The first switching circuit has a first switching circuit one input terminal, a first switching circuit other input terminal, a first switching circuit output terminal, and a first switching circuit control terminal,
The second switching circuit includes a second switching circuit one input terminal, a second switching circuit other input terminal, a second switching circuit output terminal, and a second switching circuit control terminal,
The memory circuit has a memory circuit input terminal and a memory circuit output terminal,
The first switching circuit control terminal constitutes the connection circuit first control terminal;
The one input terminal for the first switching circuit constitutes the input terminal for the connection circuit,
When the first control signal for the connection circuit takes the first logic, the one input terminal for the first switching circuit is connected to the output terminal for the first switching circuit,
When the first control signal for connection circuit takes the second logic, the other input terminal for the first switching circuit is connected to the output terminal for the first switching circuit,
The second switching circuit control terminal constitutes the connection circuit second control terminal;
The one input terminal for the second switching circuit constitutes the test input terminal for the connection circuit,
When the second control signal for the connection circuit takes the first logic, the one input terminal for the second switching circuit is connected to the output terminal for the second switching circuit,
When the second control signal for the connection circuit takes the second logic, the other input terminal for the second switching circuit is connected to the output terminal for the second switching circuit,
The output terminal for the second switching circuit is connected to the other input terminal for the first switching circuit,
The first switching circuit output terminal is connected to the storage circuit input terminal;
The storage circuit output terminal constitutes the connection circuit output terminal and is connected to the other input terminal for the second switching circuit; and
Comprising first to third control input terminals for the control circuit and first and second control output terminals for the control circuit;
The control circuit first to third control input signals are respectively input to the control circuit first to third control input terminals, and the control circuit first and second control output terminals respectively receive the control circuit first. And a second control output signal is output,
The first to third control input signals for the control circuit and the first and second control output signals for the control circuit each take the binary logic,
When the first control input signal for the control circuit takes the first logic and the third control input signal for the control circuit takes the first logic, the logic of the first and second control output signals for the control circuit Is equal to the logic of the second control input signal for the control circuit;
When the first control input signal for the control circuit takes the second logic, the logic of the first control output signal for the control circuit is equal to the logic of the first control input signal for the control circuit, and the second for the control circuit. The logic of the control output signal is equal to the logic of the third control input signal for the control circuit,
The control circuit first control output terminal is connected to the connection circuit first control terminal,
The scan path configuration circuit, wherein the control circuit second control output terminal includes a control circuit that controls the connection circuit by being connected to the connection circuit second control terminal.
接続回路用入力端子、接続回路用試験入力端子、接続回路用出力端子、接続回路用第1及び第2制御端子、ならびに期待端子を備え、
前記接続回路用第1制御端子に入力される接続回路用第1制御信号と前記接続回路用第2制御端子に入力される接続回路用第2制御信号とはそれぞれ、互いに異なる第1論理及び第2論理からなる2値論理をとり、
前記接続回路用第1制御信号が前記第1論理をとるとき、前記接続回路用入力端子に入力される信号を前記接続回路用出力端子から出力し、
前記接続回路用第1制御信号が前記第2論理をとり、かつ前記接続回路用第2制御信号が前記第1論理をとるとき、前記接続回路用試験入力端子に入力される信号を前記接続回路用出力端子から出力し、
前記接続回路用第1及び第2制御信号がそれぞれ前記第2論理をとるときには、前記期待端子に入力される信号の論理と前記接続回路用入力端子に入力される信号の論理とが一致する場合には前記接続回路用出力端子から出力していた信号を該接続回路用出力端子から出力し続け、一致しない場合には前記第1論理を該接続回路用出力端子から出力し続ける
ことを特徴とする接続回路と、
制御回路用第1乃至第3制御入力端子ならびに制御回路用第1及び第2制御出力端子を備え、
前記制御回路用第1乃至第3制御入力端子にはそれぞれ制御回路用第1乃至第3制御入力信号が入力され、前記制御回路用第1及び第2制御出力端子からはそれぞれ制御回路用第1及び第2制御出力信号が出力され、
前記制御回路用第1乃至第3制御入力信号ならびに前記制御回路用第1及び第2制御出力信号はそれぞれ前記2値論理をとり、
前記制御回路用第1制御入力信号が前記第1論理をとり、かつ前記制御回路用第3制御入力信号が該第1論理をとるとき、前記制御回路用第1及び第2制御出力信号の論理は前記制御回路用第2制御入力信号の論理に等しく、
前記制御回路用第1制御入力信号が前記第2論理をとるとき、前記制御回路用第1制御出力信号の論理は前記制御回路用第1制御入力信号の論理に等しく、前記制御回路用第2制御出力信号の論理は前記制御回路用第3制御入力信号の論理に等しく、
前記制御回路用第1制御出力端子は前記接続回路用第1制御端子に接続され、
前記制御回路用第2制御出力端子は前記接続回路用第2制御端子に接続される
ことによって前記接続回路を制御する制御回路とを
含んでなることを特徴とするスキャンパス構成回路。
A connection circuit input terminal, a connection circuit test input terminal, a connection circuit output terminal, a connection circuit first and second control terminal, and an expectation terminal,
The connection circuit first control signal input to the connection circuit first control terminal and the connection circuit second control signal input to the connection circuit second control terminal are different from each other in the first logic and the first logic. Take binary logic consisting of two logics,
When the connection circuit first control signal takes the first logic, a signal input to the connection circuit input terminal is output from the connection circuit output terminal;
When the first control signal for connection circuit takes the second logic and the second control signal for connection circuit takes the first logic, a signal input to the test input terminal for connection circuit is sent to the connection circuit Output from the output terminal for
When the connection circuit first and second control signals each take the second logic, the logic of the signal input to the expected terminal matches the logic of the signal input to the connection circuit input terminal In this case, the signal output from the connection circuit output terminal is continuously output from the connection circuit output terminal, and if they do not match, the first logic is continuously output from the connection circuit output terminal. A connection circuit to
Comprising first to third control input terminals for the control circuit and first and second control output terminals for the control circuit;
The control circuit first to third control input signals are respectively input to the control circuit first to third control input terminals, and the control circuit first and second control output terminals respectively receive the control circuit first. And a second control output signal is output,
The first to third control input signals for the control circuit and the first and second control output signals for the control circuit each take the binary logic,
When the first control input signal for the control circuit takes the first logic and the third control input signal for the control circuit takes the first logic, the logic of the first and second control output signals for the control circuit Is equal to the logic of the second control input signal for the control circuit;
When the first control input signal for the control circuit takes the second logic, the logic of the first control output signal for the control circuit is equal to the logic of the first control input signal for the control circuit, and the second for the control circuit. The logic of the control output signal is equal to the logic of the third control input signal for the control circuit,
The control circuit first control output terminal is connected to the connection circuit first control terminal,
The scan path configuration circuit, wherein the control circuit second control output terminal includes a control circuit that controls the connection circuit by being connected to the connection circuit second control terminal.
接続回路用入力端子、接続回路用試験入力端子、接続回路用出力端子、接続回路用第1及び第2制御端子、ならびに期待端子を備え、  A connection circuit input terminal, a connection circuit test input terminal, a connection circuit output terminal, a connection circuit first and second control terminal, and an expectation terminal,
前記接続回路用第1制御端子に入力される接続回路用第1制御信号と前記接続回路用第2制御端子に入力される接続回路用第2制御信号とはそれぞれ、互いに異なる第1論理及び第2論理からなる2値論理をとり、  The connection circuit first control signal input to the connection circuit first control terminal and the connection circuit second control signal input to the connection circuit second control terminal are different from each other in the first logic and the first logic. Take binary logic consisting of two logics,
前記接続回路用第1制御信号が前記第1論理をとるとき、前記接続回路用入力端子に入力される信号を前記接続回路用出力端子から出力し、  When the connection circuit first control signal takes the first logic, a signal input to the connection circuit input terminal is output from the connection circuit output terminal;
前記接続回路用第1制御信号が前記第2論理をとり、かつ前記接続回路用第2制御信号が前記第1論理をとるとき、前記接続回路用試験入力端子に入力される信号を前記接続回路用出力端子から出力し、  When the first control signal for connection circuit takes the second logic and the second control signal for connection circuit takes the first logic, a signal input to the test input terminal for connection circuit is sent to the connection circuit Output from the output terminal for
前記接続回路用第1及び第2制御信号がそれぞれ前記第2論理をとるときには、前記期待端子に入力される信号の論理と前記接続回路用入力端子に入力される信号の論理とが一致する場合には前記接続回路用出力端子から出力していた信号を該接続回路用出力端子から出力し続け、一致しない場合には前記第1論理を該接続回路用出力端子から出力し続ける  When the connection circuit first and second control signals each take the second logic, the logic of the signal input to the expected terminal matches the logic of the signal input to the connection circuit input terminal Continuously outputs the signal output from the connection circuit output terminal from the connection circuit output terminal, and continues to output the first logic from the connection circuit output terminal if they do not match.
ことを特徴とする接続回路と、A connection circuit characterized by:
制御回路用第1乃至第3制御入力端子、制御回路用第1及び第2制御出力端子、ならびに制御回路用試験端子を備え、  First to third control input terminals for control circuit, first and second control output terminals for control circuit, and test terminal for control circuit,
前記制御回路用第1乃至第3制御入力端子ならびに前記制御回路用試験端子にはそれぞれ制御回路用第1乃至第3制御入力信号ならびに制御回路用試験信号が入力され、前記制御回路用第1及び第2制御出力端子からはそれぞれ制御回路用第1及び第2制御出力信号が出力され、  The first to third control input signals for the control circuit and the test signal for the control circuit are input to the first to third control input terminals for the control circuit and the test terminal for the control circuit, respectively. Control circuit first and second control output signals are output from the second control output terminal,
前記制御回路用第1乃至第3制御入力信号、前記制御回路用第1及び第2制御出力信号、ならびに前記制御回路用試験信号はそれぞれ前記2値論理をとり、  The control circuit first to third control input signals, the control circuit first and second control output signals, and the control circuit test signal each take the binary logic,
前記制御回路用試験信号が前記2値論理のいずれか一方をとるとき、前記制御回路用第1及び第2制御出力信号の論理は前記制御回路用第2制御入力信号の論理に等しく、  When the control circuit test signal takes one of the binary logic, the logic of the control circuit first and second control output signals is equal to the logic of the control circuit second control input signal;
前記制御回路用試験信号が前記2値論理の他方をとるとき、前記制御回路用第1制御出力信号の論理は前記制御回路用第1制御入力信号の論理に等しく、前記制御回路用第2制御出力信号の論理は前記制御回路用第3制御入力信号の論理に等しく、  When the control circuit test signal takes the other of the binary logic, the logic of the control circuit first control output signal is equal to the logic of the control circuit first control input signal, and the control circuit second control The logic of the output signal is equal to the logic of the third control input signal for the control circuit,
前記制御回路用第1制御出力端子は前記接続回路用第1制御端子に接続され、  The control circuit first control output terminal is connected to the connection circuit first control terminal;
前記制御回路用第2制御出力端子は前記接続回路用第2制御端子に接続される  The control circuit second control output terminal is connected to the connection circuit second control terminal.
ことによって前記接続回路を制御する制御回路とをA control circuit for controlling the connection circuit
含んでなることを特徴とするスキャンパス構成回路。A scan path constituting circuit comprising:
上記接続回路はさらに、比較端子及び期待端子を備え、排他的論理和素子、否定論理積素子及び論理積素子を含んでなり、
前記比較端子に入力される比較信号は上記2値論理をとり、
前記排他的論理和素子は排他的論理和素子用出力端子及び二つの排他的論理和素子用入力端子を備え、
前記否定論理積素子は否定論理積素子用出力端子及び二つの否定論理積素子用入力端子を備え、
前記論理積素子は論理積素子用出力端子及び二つの論理積素子用入力端子を備え、
上記記憶回路用出力端子と上記第2切替回路用他方入力端子との接続は前記論理積素子を介する接続であり、
前記排他的論理和素子用入力端子のいずれか一方は前記期待端子を構成し、
前記排他的論理和素子用入力端子の他方と上記第1切替回路用一方入力端子とが共通に接続され、
前記排他的論理和素子用出力端子は前記否定論理積素子用入力端子のいずれか一方に接続され、
前記否定論理積素子用入力端子の他方が前記比較端子を構成し、
前記否定論理積素子用出力端子は前記論理積素子用入力端子の一方に接続され、
前記記憶回路用出力端子は前記論理積素子用入力端子の他方に接続される
ことを特徴とする請求項3乃至6のいずれか一つに記載のスキャンパス構成回路。
The connection circuit further includes a comparison terminal and an expectation terminal, and includes an exclusive OR element, a NOT AND element, and an AND element.
The comparison signal input to the comparison terminal takes the above binary logic,
The exclusive OR element comprises an exclusive OR element output terminal and two exclusive OR element input terminals,
The negative AND element includes a negative AND element output terminal and two negative AND element input terminals,
The AND element includes an AND element output terminal and two AND element input terminals,
The connection between the output terminal for the memory circuit and the other input terminal for the second switching circuit is a connection through the AND element,
Any one of the input terminals for the exclusive OR element constitutes the expected terminal,
The other input terminal for the exclusive OR element and the one input terminal for the first switching circuit are connected in common,
The exclusive OR element output terminal is connected to either one of the negative AND element input terminals;
The other of the input terminals for the negative AND element constitutes the comparison terminal,
The negative AND element output terminal is connected to one of the AND element input terminals,
7. The scan path configuration circuit according to claim 3, wherein the storage circuit output terminal is connected to the other one of the AND element input terminals.
上記接続回路はさらに、比較端子及び期待端子を備え、排他的論理和素子及び否定論理積素子を含んでなり、
上記記憶回路はさらに記憶回路用初期化端子を備え、
前記比較端子に入力される比較信号は上記2値論理をとり、
前記排他的論理和素子は排他的論理和素子用出力端子及び二つの排他的論理和素子用入力端子を備え、
前記否定論理積素子は否定論理積素子用出力端子及び二つの否定論理積素子用入力端子を備え、
前記排他的論理和素子用入力端子のいずれか一方は前記期待端子を構成し、
前記排他的論理和素子用入力端子の他方と上記第1切替回路用一方入力端子とが共通に接続され、
前記排他的論理和素子用出力端子は前記否定論理積素子用入力端子のいずれか一方に接続され、
前記否定論理積素子用入力端子の他方が前記比較端子を構成し、
前記否定論理積素子用出力端子は前記記憶回路用初期化端子に接続される
ことを特徴とする請求項3乃至6のいずれか一つに記載のスキャンパス構成回路。
The connection circuit further includes a comparison terminal and an expectation terminal, and includes an exclusive OR element and a negative AND element,
The memory circuit further includes a memory circuit initialization terminal,
The comparison signal input to the comparison terminal takes the above binary logic,
The exclusive OR element comprises an exclusive OR element output terminal and two exclusive OR element input terminals,
The negative AND element includes a negative AND element output terminal and two negative AND element input terminals,
Any one of the input terminals for the exclusive OR element constitutes the expected terminal,
The other input terminal for the exclusive OR element and the one input terminal for the first switching circuit are connected in common,
The exclusive OR element output terminal is connected to either one of the negative AND element input terminals;
The other of the input terminals for the negative AND element constitutes the comparison terminal,
7. The scan path configuration circuit according to claim 3, wherein the output terminal for the negative AND element is connected to the initialization terminal for the memory circuit.
書き込み用端子及び読み出し用端子を備えるRAMに設けられるスキャンパス構成回路であり、
上記接続回路が前記書き込み用端子毎に、及び前記読み出し用端子毎に用意され、
前記書き込み用端子に用意される前記接続回路の上記接続回路用出力端子には該書き込み用端子がそれぞれ接続され、
前記読み出し用端子に用意される前記接続回路の上記接続回路用入力端子には該読み出し用端子がそれぞれ接続され、
前記書き込み用端子毎に用意される前記接続回路を制御する書き込み用制御回路とは上記制御回路であり、
前記読み出し用端子毎に用意される前記接続回路を制御する読み出し用制御回路とは上記制御回路であり、
前記書き込み用制御回路による制御と前記読み出し用制御回路による制御とはそれぞれ独立である
ことを特徴とする請求項3乃至10のいずれか一つに記載のスキャンパス構成回路。
A scan path configuration circuit provided in a RAM having a write terminal and a read terminal;
The connection circuit is prepared for each of the write terminals and for each of the read terminals,
The write terminal is connected to the connection circuit output terminal of the connection circuit prepared for the write terminal,
The readout terminal is connected to the connection circuit input terminal of the connection circuit prepared for the readout terminal,
The write control circuit for controlling the connection circuit prepared for each write terminal is the control circuit,
The readout control circuit that controls the connection circuit prepared for each readout terminal is the control circuit,
Scan path forming circuit according to any one of claims 3 to 10, wherein the the control by the write control circuit and the control by the read control circuit are each independently.
書き込み用端子及び読み出し用端子を備え、
上記読書き込み用端子は書き込み用アドレス端子と書き込み用入力端子とからなり、
上記読み出し用端子は読み出し用アドレス端子と読み出し用出力端子とからなる
RAMに設けられるスキャンパス構成回路であり、
上記接続回路が前記書き込み用アドレス端子毎に、前記書き込み用入力端子毎に、前記読み出し用アドレス端子毎に、及び前記読み出し用出力端子毎にそれぞれ用意され、
前記書き込み用アドレス端子に用意される前記接続回路の上記接続回路用出力端子には該書き込み用アドレス端子がそれぞれ接続され、
前記書き込み用入力端子に用意される前記接続回路の上記接続回路用出力端子には該書き込み用入力端子がそれぞれ接続され、
前記読み出し用アドレス端子に用意される前記接続回路の上記接続回路用入力端子には該読み出し用アドレス端子がそれぞれ接続され、
前記読み出し用出力端子に用意される前記接続回路の上記接続回路用入力端子には該読み出し用出力端子がそれぞれ接続され、
前記書き込み用アドレス端子毎に用意される前記接続回路を制御する書き込みアドレス用制御回路とは上記制御回路であり、
前記書き込み用入力端子毎に用意される前記接続回路を制御する書き込み入力用制御回路とは上記制御回路であり、
前記読み出し用アドレス端子毎に用意される前記接続回路を制御する読み出しアドレス用制御回路とは上記制御回路であり、
前記読み出し用出力端子毎に用意される前記接続回路を制御する読み出し出力用制御回路とは上記制御回路であり、
前記書き込みアドレス用制御回路による制御と、前記書き込み入力用制御回路による制御と、前記読み出しアドレス用制御回路による制御と、前記読み出し出力用制御回路による制御とはそれぞれ独立である
ことを特徴とする請求項3乃至10のいずれか一つに記載のスキャンパス構成回路。
It has a writing terminal and a reading terminal,
The read / write terminal comprises a write address terminal and a write input terminal.
The read terminal is a scan path configuration circuit provided in a RAM including a read address terminal and a read output terminal.
The connection circuit is prepared for each of the write address terminals, for each of the write input terminals, for each of the read address terminals, and for each of the read output terminals,
The write address terminal is connected to the connection circuit output terminal of the connection circuit prepared for the write address terminal, respectively.
The input terminal for writing is connected to the output terminal for the connection circuit of the connection circuit prepared for the input terminal for writing, respectively.
The read address terminal is connected to the connection circuit input terminal of the connection circuit prepared for the read address terminal,
The output terminal for readout is connected to the input terminal for connection circuit of the connection circuit prepared for the output terminal for readout, respectively.
The write address control circuit for controlling the connection circuit prepared for each write address terminal is the control circuit,
The write input control circuit for controlling the connection circuit prepared for each of the write input terminals is the control circuit,
The read address control circuit for controlling the connection circuit prepared for each read address terminal is the control circuit,
A readout output control circuit that controls the connection circuit prepared for each readout output terminal is the control circuit,
The control by the write address control circuit, the control by the write input control circuit, the control by the read address control circuit, and the control by the read output control circuit are independent of each other. Item 11. The scan path configuration circuit according to any one of Items 3 to 10 .
JP33212395A 1995-12-20 1995-12-20 Scan campus configuration circuit Expired - Fee Related JP3691144B2 (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP33212395A JP3691144B2 (en) 1995-12-20 1995-12-20 Scan campus configuration circuit
TW085105949A TW301713B (en) 1995-12-20 1996-05-20 Scanning path forming circuit
US08/653,471 US5903579A (en) 1995-12-20 1996-05-24 Scan path forming circuit
DE19633700A DE19633700A1 (en) 1995-12-20 1996-08-21 Scanning path forming circuit supplying logic circuit as testing circuit
CNB961115319A CN1138279C (en) 1995-12-20 1996-08-22 Circuit for producing scan path
KR1019960035056A KR100201041B1 (en) 1995-12-20 1996-08-23 Scan path circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33212395A JP3691144B2 (en) 1995-12-20 1995-12-20 Scan campus configuration circuit

Publications (2)

Publication Number Publication Date
JPH09171054A JPH09171054A (en) 1997-06-30
JP3691144B2 true JP3691144B2 (en) 2005-08-31

Family

ID=18251413

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33212395A Expired - Fee Related JP3691144B2 (en) 1995-12-20 1995-12-20 Scan campus configuration circuit

Country Status (6)

Country Link
US (1) US5903579A (en)
JP (1) JP3691144B2 (en)
KR (1) KR100201041B1 (en)
CN (1) CN1138279C (en)
DE (1) DE19633700A1 (en)
TW (1) TW301713B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10160805A (en) * 1996-11-29 1998-06-19 Nec Corp External scan path circuit
US8099642B2 (en) * 2008-11-03 2012-01-17 Texas Instruments Incorporated Formatter selectively outputting scan stimulus data from scan response data
JPH11153650A (en) * 1997-11-20 1999-06-08 Mitsubishi Electric Corp Semiconductor integrated circuit device
JP2001165999A (en) * 1999-12-14 2001-06-22 Mitsubishi Electric Corp Semiconductor integrated circuit and semiconductor integrated circuit device using the same
JP4315775B2 (en) * 2002-12-16 2009-08-19 株式会社ルネサステクノロジ Semiconductor integrated circuit device
US20080133175A1 (en) * 2006-12-03 2008-06-05 Lobuono Mark Anthony Test interface for software-based sequence of event recording systems

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63135880A (en) * 1986-11-28 1988-06-08 Sony Corp Integrated circuit
JP2676169B2 (en) * 1989-12-27 1997-11-12 三菱電機株式会社 Scan path circuit
JP2627464B2 (en) * 1990-03-29 1997-07-09 三菱電機株式会社 Integrated circuit device
JP2770617B2 (en) * 1991-09-05 1998-07-02 日本電気株式会社 Test circuit
JPH06102327A (en) * 1992-09-18 1994-04-15 Sony Corp Memory built-in type semiconductor integrated circuit and logical design method therefor
US5621740A (en) * 1993-05-14 1997-04-15 Matsushita Electric Industrial Co., Ltd. Output pad circuit for detecting short faults in integrated circuits

Also Published As

Publication number Publication date
CN1152782A (en) 1997-06-25
DE19633700A1 (en) 1997-07-03
JPH09171054A (en) 1997-06-30
CN1138279C (en) 2004-02-11
KR100201041B1 (en) 1999-06-15
TW301713B (en) 1997-04-01
KR970051459A (en) 1997-07-29
US5903579A (en) 1999-05-11

Similar Documents

Publication Publication Date Title
US5463338A (en) Dual latch clocked LSSD and method
US5257223A (en) Flip-flop circuit with controllable copying between slave and scan latches
JP2868213B2 (en) Logic circuit with individually testable logic module
US4540903A (en) Scannable asynchronous/synchronous CMOS latch
US5130647A (en) Scan test circuit and semiconductor integrated circuit device using the same
US5173904A (en) Logic circuits systems, and methods having individually testable logic modules
JP3291350B2 (en) Equipment for testing digital systems
JP2725258B2 (en) Integrated circuit device
JP3691170B2 (en) Test circuit
US5809039A (en) Semiconductor integrated circuit device with diagnosis function
JPH0431931A (en) Test facilitating circuit for information processor
US5495486A (en) Method and apparatus for testing integrated circuits
JPS63243890A (en) Semiconductor integrated circuit device
US5077740A (en) Logic circuit having normal input/output data paths disabled when test data is transferred during macrocell testing
JPS6338181A (en) Semiconductor integrated circuit device
JP3691144B2 (en) Scan campus configuration circuit
US4856002A (en) Semiconductor integrated circuit apparatus
EP0454052B1 (en) Data processing device with test circuit
US5425034A (en) Semiconductor integrated logic circuit with internal circuit to be examined by scan path test method
US6629277B1 (en) LSSD interface
US4802133A (en) Logic circuit
US20020199145A1 (en) Semiconductor integrated circuits built therein scan paths
JPH01110274A (en) Test circuit
US5737341A (en) Method of generating test sequence and apparatus for generating test sequence
JP4308530B2 (en) Integrated circuit

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040810

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041109

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050106

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050614

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050615

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080624

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090624

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100624

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110624

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110624

Year of fee payment: 6

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110624

Year of fee payment: 6

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120624

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120624

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130624

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees