JPH0288979A - Logic circuit of scanning system - Google Patents

Logic circuit of scanning system

Info

Publication number
JPH0288979A
JPH0288979A JP63241301A JP24130188A JPH0288979A JP H0288979 A JPH0288979 A JP H0288979A JP 63241301 A JP63241301 A JP 63241301A JP 24130188 A JP24130188 A JP 24130188A JP H0288979 A JPH0288979 A JP H0288979A
Authority
JP
Japan
Prior art keywords
scan
terminal
flip
logic circuit
circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP63241301A
Other languages
Japanese (ja)
Inventor
Noriko Araki
紀子 荒木
Taku Mizokawa
溝川 卓
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP63241301A priority Critical patent/JPH0288979A/en
Publication of JPH0288979A publication Critical patent/JPH0288979A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To constitute a logic circuit of a scanning system without increasing the number of scanned data output terminals by constituting the logic circuit in such way that scan-in/scan-out can be performed between flip flops respectively provided with scan access terminals and data output terminals of scan lines can also work as output terminals other than bi-directional terminals. CONSTITUTION:A flip flop SFF3, the output of which is directly connected with an external terminal, is positioned to the final stage of scan lines. When such flip flop does not exist on a scan line, a flip flop SFF9 for scanning is inserted between a combination circuit 6 and output terminal DO4. Therefore, a scan data output terminal can also work as an ordinary data output terminals. Therefore, a logic circuit of a scanning system can be realized without increasing the number of pins as a whole.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、組み合わせ回路及び順序回路を含んだスキャ
ン方式論理回路に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to scan logic circuits including combinational circuits and sequential circuits.

従来の技術 近年、集積回路技術の発達に伴い論理回路は大規模にな
り、また複雑な論理機能が高密度に集積化されるように
なった。反面、論理回路に対する故障テストは非常に困
難で時間がかかるため、故障検査率の高いテストパター
ンをいかに短期間で効率よく作成するか、すなわちテス
ト時間の短縮が重要な課題となっている。
BACKGROUND OF THE INVENTION In recent years, with the development of integrated circuit technology, logic circuits have become larger in scale, and complex logic functions have become more densely integrated. On the other hand, fault testing for logic circuits is extremely difficult and time-consuming, so how to efficiently create test patterns with a high fault inspection rate in a short period of time, that is, how to shorten test time, has become an important issue.

従来、このテスト時の有力な手段にスキャン方式がある
。スキャン方式では順序回路を組み合わせ回路に変換し
て検査することができるため、テスト時間を大幅に短縮
することが可能となる。
Conventionally, a scanning method has been used as an effective means for this test. With the scan method, sequential circuits can be converted into combinational circuits for testing, making it possible to significantly shorten test time.

第3図は従来のスキャン方式を用いた論理回路図である
。■は第1のスキャンブロック、2は第2のスキャンブ
ロック、3は組み合わせ回路、4はスキャンラインを太
い実線で表わしたものである。SFF 1〜8はスキャ
ンテスト用フリップ70ツブ、N/Tはスキャンテスト
時と通常動作時の切り換え信号入力端子、CLKは基本
りaツク信号入力端子である。SIl〜2はスキャンデ
ータ入力端子、801〜2はスキャンデータ出力端子、
D11〜4は通常データ入力端子、DO1〜4は通常デ
ータ出力端子である。
FIG. 3 is a logic circuit diagram using the conventional scan method. 3 is a first scan block, 2 is a second scan block, 3 is a combinational circuit, and 4 is a scan line, which are each represented by a thick solid line. SFF 1 to 8 are flip 70 blocks for scan testing, N/T is a switching signal input terminal for scan testing and normal operation, and CLK is basically a switching signal input terminal. SI1~2 are scan data input terminals, 801~2 are scan data output terminals,
D11-4 are normal data input terminals, and DO1-4 are normal data output terminals.

第4図はスキャンテスト用フリップフ口ップ5FFI〜
8の個々の内部回路図である。Dは通常動作時のデータ
入力端子、DTはスキャンテスト時のデータ入力端子、
Qはデータ出力端子である。N/T、CLKは第3図の
記述と同じである。7は通常1スキヤンモ一ド切換回路
で、入力端子N/Tを通じてコントロール信号端子SE
Lより“H′が入力された場合は、データ入力端子Aか
らのデータが選択され、一方、入力端子N/TにL′が
入力された場合は、データ入力端子Bからのデータが選
択される。8はD型フリップ70ツブである。
Figure 4 shows the flip-flop 5FFI for scan test.
8 is an individual internal circuit diagram. D is the data input terminal during normal operation, DT is the data input terminal during scan test,
Q is a data output terminal. N/T and CLK are the same as described in FIG. 7 is a normal 1 scan mode switching circuit, which connects the control signal terminal SE through the input terminal N/T.
When "H' is inputted from L, data from data input terminal A is selected. On the other hand, when L' is inputted to input terminal N/T, data from data input terminal B is selected. 8 is a D-type flip 70 tube.

第4図において、入力端子N/Tのスキャンモード切換
信号を“H′にすると、入力端子DTのスキャンデータ
がD型フリップフロップ8の入力信号となり、クロック
入力端子CLKの基本クロック信号に従ってQ端子にス
キャンデータが出力される。
In FIG. 4, when the scan mode switching signal of the input terminal N/T is set to "H", the scan data of the input terminal DT becomes the input signal of the D-type flip-flop 8, and the Q terminal is input according to the basic clock signal of the clock input terminal CLK. The scan data will be output.

第3図では、5FFI〜4及び5FF5〜8の各スキャ
ンテスト用フリップフロップのデータ出力端子Qとスキ
ャンデータ入力端子DTを接続して、スキャンライン4
とする。まず、N/T端子にハイレベル信号I Hlを
入力し、CL K端子より基本クロックを入力すると、
Sll−2のスキャンデータがスキャンテスト用フリッ
プフロップ5FFI及び5FF5の各データ出力端子Q
に設定される。次の基本クロックを入力すると。
In FIG. 3, the data output terminals Q of the scan test flip-flops 5FFI to 4 and 5FF5 to 8 are connected to the scan data input terminals DT, and the scan line 4 is
shall be. First, input the high level signal I Hl to the N/T terminal, and input the basic clock from the CL K terminal.
The scan data of Sll-2 is sent to each data output terminal Q of the scan test flip-flops 5FFI and 5FF5.
is set to When you enter the next basic clock.

Sll〜2端子から次めスキャンデータが5FFI及び
5FF5に設定され、前のデータは5FF2及び5FF
6に設定される。同様にCLK端子からの基本クロック
を入力するとS11〜2端子のスキャンデータが5FF
I〜4及び5FF5〜8に順番に設定される。この状態
において、N/T端子にL′を入力し、各フリップフロ
ップをスキャンモードから通常動作に変更する。さらに
D11〜4端子より、組み合わせ回路3への入力信号を
設定し、CL K端子より1基本タロツクを入力する。
The next scan data from the Sll~2 terminal is set to 5FFI and 5FF5, and the previous data is set to 5FF2 and 5FF.
Set to 6. Similarly, when the basic clock from the CLK terminal is input, the scan data of the S11-2 terminals becomes 5FF.
It is set in order to I-4 and 5FF5-8. In this state, L' is input to the N/T terminal to change each flip-flop from scan mode to normal operation. Furthermore, input signals to the combinational circuit 3 are set from the D11 to D4 terminals, and one basic tarok is input from the CLK terminal.

これにより、回路が動作し、動作結果が5FF1〜8の
フリップフロップ及びD01〜4端子に出力される。
As a result, the circuit operates, and the operation results are output to the flip-flops of 5FF1-8 and the terminals D01-4.

ここで再びN/T端子より“H′を入力して各フリップ
フロップをスキャンモードにもどす。さらにSll−2
より、前記と同様に、各フリップフロップに設定する新
しいデータを順次入力し、5FFI〜8に新しいデータ
を設定する。またこのデータ設定とともにSol端子に
は5FFI〜4の回路動作後のデータが、SO2端子に
は5FF5〜8の回路動作後のデータがデータのシフト
とともに出力される。
Here, input "H" again from the N/T terminal to return each flip-flop to the scan mode.Furthermore, Sll-2
Therefore, in the same manner as described above, new data to be set in each flip-flop is input in sequence, and new data is set in 5FFI to 8. Further, along with this data setting, the data after the circuit operation of 5FFI to 4 is output to the Sol terminal, and the data after the circuit operation of 5FF5 to 8 is output to the SO2 terminal together with the data shift.

このようにスキャン方式論理回路では、スキャンライン
によって回路中のフリップフロップに任意のデータを設
定したり取り出すことができ、同期式順序回路を組み合
わせ回路として取り扱うことが可能である。
In this way, in a scan type logic circuit, arbitrary data can be set in or retrieved from flip-flops in the circuit using scan lines, and a synchronous sequential circuit can be treated as a combinational circuit.

発明が解決しようとする課題 しかしながら、上記の構成では、スキャンデータ入力端
子は通常入力端子と兼用できるが、スキャンデータ出力
端子は兼用できないため、スキャンラインに対応してス
キャンデータ出力端子が必要となり、全体のビン数が増
加する。
Problems to be Solved by the Invention However, in the above configuration, the scan data input terminal can be used commonly as an input terminal, but the scan data output terminal cannot be used also, so a scan data output terminal is required corresponding to the scan line. The total number of bins increases.

本発明は、上記の問題点を解決するもので、スキャンデ
ータ出力端子の本数を増やさずにスキャン方式論理回路
を提供することを目的とする。
The present invention solves the above problems, and aims to provide a scan type logic circuit without increasing the number of scan data output terminals.

課題を解決するための手段 この目的を達成するために、本発明のスキャン方式論理
回路は、組み合わせ回路の他に同期式順序回路を含む論
理回路において、スキャンアクセス端子を有するフリッ
プフロップ間をシフト方式によりスキャンイン・スキャ
ンアウトを行う構成と、スキャンラインのデータ出力端
子が双方向端子以外の出力端子と兼用する構成を有する
Means for Solving the Problems In order to achieve this object, the scan type logic circuit of the present invention uses a shift type between flip-flops having scan access terminals in a logic circuit including a synchronous sequential circuit in addition to a combinational circuit. The present invention has a configuration in which scan-in and scan-out are performed by using a scan line, and a configuration in which the data output terminal of the scan line is also used as an output terminal other than a bidirectional terminal.

作用 上記の構成によって、順序回路を含む論理回路において
、スキャンデータ出力端子の本数を増やさずにスキャン
方式論理回路を構成することができる。
Effect: With the above configuration, a scan type logic circuit can be configured without increasing the number of scan data output terminals in a logic circuit including a sequential circuit.

実施例 以下、本発明の一実施例について図面を参照しながら説
明する。
EXAMPLE Hereinafter, an example of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例におけるスキャン方式論理回
路の回路図を示すものである。DO3゜DO4は通常デ
ータ及びスキャンデータ出力端子、5FF9はスキャン
テスト用フリップフロップである。なお、1は第1のス
キャンブロック、2は第2のスキャンブロック、3は組
み合わせ回路、4はスキャンライン、5FFI〜8はス
キャンテスト用フリップ70ツブであり、また、N/T
端子、CLK端子、D11〜4端子は従来例の構成と同
じである。
FIG. 1 shows a circuit diagram of a scan type logic circuit in one embodiment of the present invention. DO3 and DO4 are normal data and scan data output terminals, and 5FF9 is a scan test flip-flop. In addition, 1 is a first scan block, 2 is a second scan block, 3 is a combinational circuit, 4 is a scan line, 5FFI to 8 are flip 70 blocks for scan test, and N/T
The terminals, CLK terminal, and D11 to D4 terminals have the same structure as the conventional example.

第1のブロック1では、第3図の従来回路図と同様に5
FFI〜4でスキャンラインを構成しているが、フリッ
プフロップの出力が直接外部端子に接続しているスキャ
ン用フリップフロップ5FF3が存在する場合である。
In the first block 1, 5
FFI4 constitutes a scan line, but this is a case where there is a scan flip-flop 5FF3 whose output is directly connected to an external terminal.

スキャンラインの最終段に5FF4のかわりに5FF3
を配置すると、フリップフロップの出力Qが直接外部端
子DO2に接続しているので、スキャンデータ出力端子
と通常データ出力端子と兼用することができ、従来のよ
うにスキャンデータ出力端子を別に設けな(でよい。こ
のようにすれば、D02端子にはスキャンモード時には
スキャンデータ、通常動作時には通常データが出力され
る。
5FF3 instead of 5FF4 at the last stage of the scan line
, the output Q of the flip-flop is directly connected to the external terminal DO2, so it can be used as both the scan data output terminal and the normal data output terminal. By doing so, scan data is output to the D02 terminal in the scan mode, and normal data is output in the normal operation.

第2のブロック2では、第3図の従来図と同様に5FF
5〜8でスキャンラインを構成しているが、第1のブロ
ック1のようにフリップフロップの出力が直接外部端子
に接続しているスキャン用フリップフロップが存在しな
い場合である。
In the second block 2, 5FF is used as in the conventional diagram of FIG.
5 to 8 constitute a scan line, but this is a case where there is no scan flip-flop whose output is directly connected to an external terminal like in the first block 1.

第2図に示すように、5FF8が組み合わせ回路5を介
して通常データ出力端子DO4に接続しているとすると
、組み合わせ回路最終段ゲート6とDO4端子の間にス
キャン用フリップフロップ5FF9を挿入し、5FF8
の出力Qと5FF9のスキャンデータ入力DTとをつな
ぎスキャンラインを生成する。またN/T及びCLK入
力は5FF8のそれぞれの対応入力ラインを接続する。
As shown in FIG. 2, assuming that 5FF8 is connected to the normal data output terminal DO4 via the combinational circuit 5, a scan flip-flop 5FF9 is inserted between the final stage gate 6 of the combinational circuit and the DO4 terminal, 5FF8
The output Q of the FF9 is connected to the scan data input DT of the 5FF9 to generate a scan line. Further, the N/T and CLK inputs connect respective corresponding input lines of 5FF8.

全体の図にまとめると第1図のように、5FF5から5
FF9でスキャンライン4を構成し、5FF9の出力が
直接外部端子DO4に接続しており、第1のブロック1
と同様にD○4端子とスキャンデータ出力端子を兼用す
ることができる。
When summarized in the overall diagram, as shown in Figure 1, 5FF5 to 5
FF9 constitutes scan line 4, and the output of 5FF9 is directly connected to external terminal DO4, and the first block 1
Similarly, the D○4 terminal can also be used as the scan data output terminal.

ただし、この場合は、フリップフロップが1個挿入され
るので、通常動作時及びスキャンモード時に1基本タロ
ツク遅れてDO4端子よりデータが出力される。
However, in this case, since one flip-flop is inserted, data is output from the DO4 terminal with a delay of one basic tarok during normal operation and scan mode.

発明の効果 本発明は、フリップフロップの出力が直接外部端子に接
続しているフリップフロップをスキャンラインの最終段
に配置することにより、またこのようなフリップフロッ
プがスキャンライン上に存在しない場合は、組み合わせ
回路と出力端子の間にスキャン用フリップフロップを挿
入することにより、スキャンデータ出力端子と通常デー
タ出力端子を兼用することができ、全体のビン数が増加
せずにスキャン方式論理回路を実現するものである。
Effects of the Invention The present invention provides a flip-flop whose output is directly connected to an external terminal by arranging it at the final stage of the scan line. By inserting a scan flip-flop between the combinational circuit and the output terminal, the scan data output terminal can be used as the normal data output terminal, realizing a scan type logic circuit without increasing the overall number of bins. It is something.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例におけるスキャン方式論理回
路図、第2図はフリップフロップ挿入後回路図、第3図
は従来のスキャン方式論理回路図、第4図はスキャン用
フリップフロップSFFの内部回路図である。 1・・・・・・第1のスキャンブロック、2・・・・・
・第2のスキャンブロック、3・・・・・・組み合わせ
回路、4・・・・・・スキャンライン、5・・・・・・
組み合わせ回路、6・・・・・・組み合わせ回路最終段
ゲート、7・・・・・・通常/スキャンモード切換回路
、8・・・・・・D型フリップフロップ。 代理人の氏名 弁理士 粟野重孝 ほか1名!・・−8
1のスキ!ンラロック 2− 第2のスキマソラロqり 3−@ H合わ亡!i]路 牛−スキャンライン 4−スキャンライン 5−腫与会わ℃回路 6−g部会わ亡回路量外Rケート 第 図 !++のスキマンラロヴク sどのスキヤソラロツク 菖み合Ihで回路 ス千マツライン 7− 通常/スキVソモード切#回路 a  −−−oqフリップフロ・ツブ 弔 図 し−−〜−+               JFF
FIG. 1 is a scan method logic circuit diagram according to an embodiment of the present invention, FIG. 2 is a circuit diagram after inserting a flip-flop, FIG. 3 is a conventional scan method logic circuit diagram, and FIG. 4 is a diagram of a scan flip-flop SFF. It is an internal circuit diagram. 1...First scan block, 2...
・Second scan block, 3...Combination circuit, 4...Scan line, 5...
Combinational circuit, 6... Combinational circuit final stage gate, 7... Normal/scan mode switching circuit, 8... D-type flip-flop. Name of agent: Patent attorney Shigetaka Awano and 1 other person! ...-8
1 likes! Nrarock 2-2nd Sukimasoraroqri 3-@H meeting death! i] Road cow - Scan line 4 - Scan line 5 - Tumor meeting ℃ circuit 6 - G section meeting Lost circuit quantity outside R Kate diagram! ++'s Sukimanralovuku s Which Sukiyasorarotsuku Arimai Ih circuit 1000 pine line 7- Normal/Suki V mode off #Circuit a ---Oq Flip Flo Tsubu funeral plan -----+ JFF

Claims (1)

【特許請求の範囲】[Claims] 組み合わせ回路の他に順序回路(フリップフロップなど
)を含む論理回路において、スキャンアクセス端子を有
するフリップフロップ(スキャンテスト用フリップフロ
ップ)間をシフト方式によりスキャンイン・スキャンア
ウトを行なう手段と、スキャンラインのデータ出力端子
が双方向端子以外の出力端子と兼用する構成を有するス
キャン方式論理回路。
In a logic circuit including sequential circuits (flip-flops, etc.) in addition to combinational circuits, a means for performing scan-in/scan-out between flip-flops (scan test flip-flops) having scan access terminals by a shift method, and a scan line A scan type logic circuit having a configuration in which a data output terminal also serves as an output terminal other than a bidirectional terminal.
JP63241301A 1988-09-27 1988-09-27 Logic circuit of scanning system Pending JPH0288979A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63241301A JPH0288979A (en) 1988-09-27 1988-09-27 Logic circuit of scanning system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63241301A JPH0288979A (en) 1988-09-27 1988-09-27 Logic circuit of scanning system

Publications (1)

Publication Number Publication Date
JPH0288979A true JPH0288979A (en) 1990-03-29

Family

ID=17072245

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63241301A Pending JPH0288979A (en) 1988-09-27 1988-09-27 Logic circuit of scanning system

Country Status (1)

Country Link
JP (1) JPH0288979A (en)

Similar Documents

Publication Publication Date Title
US5463338A (en) Dual latch clocked LSSD and method
EP0254981A2 (en) Diagnostic circuit
US20050005217A1 (en) Test standard interfaces and architectures
JP2946658B2 (en) Flip-flop circuit
JPH07202645A (en) Technology and method of asynchronous scan design
JP3207245B2 (en) Circuit for JTAG architecture
JPH0288979A (en) Logic circuit of scanning system
JPS59211146A (en) Scan-in method
JPH02234087A (en) Test circuit for digital logical block
JPS63255672A (en) Test circuit for circuit block
JPH0389178A (en) Semiconductor integrated circuit
JPH10307167A (en) Testing device for logic integrated circuit
JPS62235818A (en) Integrated circuit
JPS6161428B2 (en)
JP2723676B2 (en) Semiconductor integrated circuit
JPS63132185A (en) Input circuit device
JPS62239071A (en) Semiconductor integrated circuit
JPH06148288A (en) Semiconductor integrated circuit
JPH01119775A (en) Bidirectional shift register
JPH0293736A (en) Semiconductor integrated circuit logic circuit
JPS608764A (en) Test facilitating logic circuit
JPS6236573A (en) Clock signal input system
JPS59175099A (en) Memory circuit
JPS63159773A (en) Test system for highly integrated circuit
JPS62132346A (en) Standard cell