JPH02205109A - Scan latch circuit - Google Patents

Scan latch circuit

Info

Publication number
JPH02205109A
JPH02205109A JP1023841A JP2384189A JPH02205109A JP H02205109 A JPH02205109 A JP H02205109A JP 1023841 A JP1023841 A JP 1023841A JP 2384189 A JP2384189 A JP 2384189A JP H02205109 A JPH02205109 A JP H02205109A
Authority
JP
Japan
Prior art keywords
input
selector
clock gate
scan
path
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
JP1023841A
Other languages
Japanese (ja)
Inventor
Fumio Arakawa
文男 荒川
Katsuaki Takagi
高木 克明
Kazuhiko Iwasaki
一彦 岩崎
Ikuya Kawasaki
川崎 郁也
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP1023841A priority Critical patent/JPH02205109A/en
Publication of JPH02205109A publication Critical patent/JPH02205109A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent waste circuit delay from being generated on an ordinary data path by a scan path by setting a path to scan-in/out by separating from the ordinary path. CONSTITUTION:Ordinary data is inputted to an input terminal D, and is latched at a closed loop formed with a selector 3 and a clock gate 4. Scan data is inputted from a terminal SDin. To latch the value of the terminal SDin at the closed loop, it is necessary to set Sin, C0, and C1 at a low level, a high level, and the low level, respectively. As a result, the value of the SDin is latched at a node 6. The signal level of output F is set at polarity opposite to that applied on the terminal SDin. Therefore, no waste circuit delay is generated on the ordinary path even when an inverter 2 and the selector 3 which form the scan path is added. Thereby, it is possible to perform scan in/out on a part sensitive to the delay time of a critical path, etc.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、マイクロプロセッサ等の集積回路のテスティ
ングに係り、特に遅延時間に敏感な部分へのスキャンイ
ン/アウトに好適なスキャンラッチ回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to testing of integrated circuits such as microprocessors, and particularly relates to a scan latch circuit suitable for scan-in/out to a portion sensitive to delay time. .

〔従来の技術〕[Conventional technology]

従来、スキャン可能なレジスタとして、例えば米国特許
筒4,669,061号に示されるフリップフロップが
挙げられる。
Conventional scannable registers include, for example, flip-flops as shown in U.S. Pat. No. 4,669,061.

〔発明が解決し・ようとする課題〕[Problem that the invention attempts to solve]

上記従来技術では、ラッチの入力部分にセレクタを設け
、テスト信号によって、通常パスとスキャンバスを選択
するものであり1通常パスであってもセレクタを通過す
る。このため、セレクタの分だけ時間遅延が生じ、遅延
時間に敏感な部分への適用が困難であった。
In the above-mentioned conventional technology, a selector is provided at the input portion of the latch, and a normal path and a scan path are selected based on a test signal, and even one normal path passes through the selector. Therefore, a time delay occurs due to the selector, making it difficult to apply to areas sensitive to delay time.

本発明の目的は、ラッチに対しスキャンの経路を設けて
も、通常パスのスキャンバスによる回路遅延が生じない
スキャンラッチ回路を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a scan latch circuit that does not cause circuit delay due to the scan path of the normal path even if a scan path is provided for the latch.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的は、スキャンイン/アウトする経路を通常のデ
ータバスから離して、帰還バス上に設定することにより
達成される。
The above objective is achieved by setting the scan-in/out path away from the normal data bus and onto the feedback bus.

〔作用〕[Effect]

スキャンラッチの通常パスの遅延時間は、通常パス上で
入力データが確定してから出力データが確定するまでの
時間である。一方、ラッチの帰還パスは通常パスに影響
を与えることはない0以上のことから、帰還バス上にス
キャンイン/アウトの経路を設けることにより、スキャ
ンバスによって通常パスに余分の回路遅延が生じること
はなくなる。
The delay time of the normal path of the scan latch is the time from when the input data is determined on the normal path until the output data is determined. On the other hand, since the latch feedback path has a value greater than 0 that does not affect the normal path, by providing a scan-in/out path on the feedback bus, extra circuit delay will be caused by the scan canvas on the normal path. will disappear.

〔実施例〕〔Example〕

以下、本発明の一実施例を、第1図を用いて説明する。 An embodiment of the present invention will be described below with reference to FIG.

第1図は1本発明によるスキャンラッチを示す論理図で
ある。この回路は、クロックゲート1、インバータ2.
セレクタ3、クロックゲート4、インバータ5が相互に
接続されている。この回路の入力端子は、D e S 
Dlme S inw Cot Ciであり、出力端子
はFである。
FIG. 1 is a logic diagram illustrating a scan latch according to the present invention. This circuit consists of a clock gate 1, an inverter 2.
A selector 3, a clock gate 4, and an inverter 5 are interconnected. The input terminal of this circuit is D e S
Dlme S inw Cot Ci, and the output terminal is F.

入力端子りはクロックゲート1の入力に接続される。ク
ロックゲート1の出力はノード6に接続される。ノード
6はセレクタ3の第1の入力端子とクロックゲート4の
出力とインバータ5の入力に接続される。セレクタ3の
出力はクロックゲート4の入力に接続される。入力端子
5Di−はセレクタ3の第4の入力端子に接続される。
The input terminal is connected to the input of the clock gate 1. The output of clock gate 1 is connected to node 6. Node 6 is connected to the first input terminal of selector 3 , the output of clock gate 4 and the input of inverter 5 . The output of selector 3 is connected to the input of clock gate 4. Input terminal 5Di- is connected to the fourth input terminal of selector 3.

入力端子S1+aはセレクタ3の第2の入p端子とイン
バータ2に接続される。インバータ2の出力はセレクタ
3の第3の入力端子に接続される。
The input terminal S1+a is connected to the second input p-terminal of the selector 3 and the inverter 2. The output of inverter 2 is connected to the third input terminal of selector 3.

クロックゲート1の動作を説明する。クロックゲート1
の第1および第2の入力端子には、それぞれGO,C1
が入力される。入力GO,C1の信号極性は逆でなけれ
ばならない。入力Co、Cxがそれぞれハイレベル、ロ
ーレベルのとき、クロックゲート1はカットオフ状態と
なる。すなわちクロックゲートの出力は高インピーダン
ス状態となる。
The operation of clock gate 1 will be explained. clock gate 1
The first and second input terminals of
is input. The signal polarities of inputs GO and C1 must be opposite. When the inputs Co and Cx are at high level and low level, respectively, the clock gate 1 is in a cutoff state. In other words, the output of the clock gate is in a high impedance state.

入力Co、Cxがそれぞれローレベル、ハイレベルのと
き、ゲート1は導通状態となり、入力信号の反転値を出
力する。クロックゲート4も同じ動作をおこなうが、第
1および第2の入力端子には、クロックゲート1と逆の
、Cx、Caが入力されている。
When inputs Co and Cx are at low level and high level, respectively, gate 1 becomes conductive and outputs the inverted value of the input signal. Clock gate 4 also performs the same operation, but Cx and Ca, which are opposite to clock gate 1, are input to the first and second input terminals.

入力端子りは通常(テスト用ではない)のデータが入力
され、セレクタ3とクロックゲート4が形成する閉ルー
プにラッチされる。入力端子りの値を前記の閉ループに
ラッチするためには、まず入力端子5t11e Coo
 C1を干れぞれ、ハイレベル。
Normal data (not for testing) is input to the input terminal, and is latched into a closed loop formed by the selector 3 and the clock gate 4. In order to latch the value of the input terminal 5t11e Coo into the closed loop described above, first
High level for each C1.

ローレベルハイレベルにしなければならない、このとき
、クロックゲート1は導通状態となり、セレクタ3の出
力はクロックゲートlの反転出力、すなわち入力端子り
の値となり、クロックゲート4はカットオフとなる。こ
の結果、ノード6は入力りの反転極性となる。
The low level must be set to the high level. At this time, the clock gate 1 becomes conductive, the output of the selector 3 becomes the inverted output of the clock gate 1, that is, the value of the input terminal, and the clock gate 4 becomes cut-off. As a result, node 6 has the inverted polarity of the input.

次に、5fill入力をハイ4レベルにしたまま、G 
o 。
Next, while keeping the 5fill input at high 4 level,
o.

CL入力をそれぞれハイレベル、ローレベルにする。こ
のとき、クロックゲート1はカットオフ状態、セレクタ
3の出力はノード6の反転出力、クロックゲート4は導
通状態となる。この結果、ノード6は、入力端子りに加
えられた反転値を保持する。出力端子Fには、インバー
タ5を通して。
Set the CL input to high level and low level, respectively. At this time, clock gate 1 is in a cut-off state, the output of selector 3 is an inverted output of node 6, and clock gate 4 is in a conductive state. As a result, node 6 holds the inverted value applied to the input terminal. Pass the inverter 5 through the output terminal F.

ノード6の反転値、すなわち端子りに加えられた値が出
力される。
The inverted value of node 6, ie, the value added to the terminal, is output.

スキャンデータは、SD、から入力される。Scan data is input from SD.

SDl、1の値を前記閉ループにラッチするためには。To latch the value of SDl,1 into the closed loop.

入力5ins co、 Ctをそれぞれローレベル、ハ
イレベル、ローレベルにしなければならない、このとき
、セレクタ3は5Dillの反転値を出力し、クロック
ゲート4は導通状態、クロックゲート1はカットオフ状
態となる。この結果ノード6にはSDi。の値がラッチ
される。出力Fの信号レベルは、S D * nに加え
られた極性の逆極性となる。
Inputs 5insco and Ct must be set to low level, high level, and low level, respectively.At this time, selector 3 outputs the inverted value of 5Dill, clock gate 4 is in a conductive state, and clock gate 1 is in a cutoff state. . As a result, node 6 has SDi. The value of is latched. The signal level of the output F has the opposite polarity to that added to S D *n.

第1図において、通常バスは、入力端子D、クロックゲ
ート1、ノード6、インバータ5、出力端子Fである。
In FIG. 1, the normal bus includes input terminal D, clock gate 1, node 6, inverter 5, and output terminal F.

スキャンラッチでないラッチでは、ノード6とクロック
ゲート4がノード6を入力とするインバータで接続され
る。従って、スキャン経路を形成するインバータ2およ
びセレクタ3を付加しても、通常パスには余分な回路遅
延は生じない。
In a latch that is not a scan latch, node 6 and clock gate 4 are connected by an inverter that receives node 6 as an input. Therefore, even if the inverter 2 and selector 3 forming the scan path are added, no extra circuit delay will occur in the normal path.

第2図は、本発明の別の一実施例を示す図である第1図
との相違は、セレクタ3の出力にトライステートバッフ
ァ7が付加された点である。
FIG. 2 is a diagram showing another embodiment of the present invention. The difference from FIG. 1 is that a tri-state buffer 7 is added to the output of the selector 3.

ラッチされているデータをスキャンアウトする場合、S
 outをハイレベルにすると5Doutにセレクタ3
の出力値が出力される。5outがローレベルのとき、
5Doutは高インピーダンス状態である。従って、複
数のスキャンラッチ回路に対し、5Dout を共通パ
スに接続し、一つのスキャンラッチ回路の5out入力
のみをハイレベルにする使用法もある。
When scanning out latched data, S
When out is set to high level, selector 3 is set to 5Dout.
The output value of is output. When 5out is low level,
5Dout is in a high impedance state. Therefore, there is also a method of connecting 5Dout to a common path for a plurality of scan latch circuits, and setting only the 5out input of one scan latch circuit to a high level.

第2図においても、通常バスは、入力端子D、クロック
ゲート1、ノード6、インバータ5、出力端子Fである
。トライステートバッファ7を付加することによって、
通常バスに余分の回路遅延が生じることはない。
Also in FIG. 2, the normal bus includes input terminal D, clock gate 1, node 6, inverter 5, and output terminal F. By adding tri-state buffer 7,
There is usually no extra circuit delay on the bus.

第3図は、本発明による別の一実施例を示す図である。FIG. 3 is a diagram showing another embodiment according to the present invention.

第1図との相違は、セレクタ3にリセット入力端子Rか
らの信号が付加された点である。
The difference from FIG. 1 is that a signal from the reset input terminal R is added to the selector 3.

リセット端子Rにハイレベルが加えられると、セレクタ
3の出力はローレベルとなり、Co、C工がそれぞれハ
イレベル、ローレベルのとき、ノード6はハイレベルを
保時する。チップのリセット時には、通常、GO,C1
はそれぞれハイレベル、ローレベルに設定される。
When a high level is applied to the reset terminal R, the output of the selector 3 becomes a low level, and when Co and C are at a high level and a low level, respectively, the node 6 maintains a high level. When resetting the chip, typically GO, C1
are set to high level and low level, respectively.

第3図においても、通常バスは、入力端子D、クロック
ゲート1.ノード6、インバータ5、出力端子Fである
。リセット信号Rを付加することによって、通常バスに
余分の回路遅延が生じることはない。
Also in FIG. 3, the normal bus includes input terminal D, clock gate 1. These are the node 6, the inverter 5, and the output terminal F. Adding the reset signal R normally does not introduce any extra circuit delay on the bus.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、ラッチにスキャンイン/アウトの回路
を付加しても、通常バスに余分の回路遅延が生じること
はない。これによって、クリティカルパス等の遅延時間
に敏感な部分へのスキャンイン/アウトが可能となり、
テスト回路の設計や、テスト方式の作成が容易になる。
According to the present invention, adding a scan-in/out circuit to a latch does not normally cause extra circuit delay on the bus. This makes it possible to scan in and out of areas that are sensitive to delay time, such as critical paths.
It becomes easier to design test circuits and create test methods.

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

第1図、第2図、第3図はそれぞれ本発明の実施例の回
路図である。 1.4・・・クロックゲート、2,5・・・インバータ
、3・・・セレクタ、6・・・ノード、7・・・トライ
ステートバッファ。 第 112] 第2閉
1, 2, and 3 are circuit diagrams of embodiments of the present invention, respectively. 1.4... Clock gate, 2, 5... Inverter, 3... Selector, 6... Node, 7... Tri-state buffer. 112th] 2nd close

Claims (1)

【特許請求の範囲】 1、データをラッチする回路であつて、データ入力信号
Dを第1のクロックゲートに接続し、前記第1のクロッ
クゲートをセレクタの第1入力と第2のクロックゲート
の出力と第1のインバータに接続し、スキャンデータ入
力を前記セレクタの第4の入力に接続し、入力C_0を
前記第1のクロックゲートの第1の入力と、前記第2の
クロックゲートの第2の入力に接続し、入力C_1を前
記第1のクロックゲートの第2の入力と前記第2のクロ
ックゲートの第1の入力に接続し、入力S_i_nを前
記セレクタの第2の入力と第2のインバータの入力に接
続し、前記第2のインバータの出力を前記セレクタの第
3の入力に接続し、前記セレクタの出力を前記第2のク
ロックゲートの入力に接続するように構成され、前記2
個のクロックゲートは、その第1、第2入力がそれぞれ
ハイレベル、ローレベルのとき、クロックゲートがカッ
トオフ状態となり、逆極性のとき導通状態となる回路で
あつて、前記セレクタは、第1および第2入力の論理積
を生成する部分と第3、第4入力の論理積を生成する部
分と前記2つの論理積のNORを生成する部分から成る
スキャンラッチ回路。 2、セレクタの出力にトライステートバッファを付加し
た請求項第1項記載のスキャンラッチ回路。 3、セレクタの入力にリセット信号を付加した請求項第
1項記載のスキャンラッチ回路。
[Claims] 1. A circuit for latching data, which connects a data input signal D to a first clock gate, and connects the first clock gate to a first input of a selector and a second clock gate. output and a first inverter, a scan data input to a fourth input of said selector, and an input C_0 to a first input of said first clock gate and a second input of said second clock gate. , an input C_1 is connected to a second input of said first clock gate and a first input of said second clock gate, and an input S_i_n is connected to a second input of said selector and a second input of said selector. the output of the second inverter is connected to the input of the second clock gate, the output of the second inverter is connected to the third input of the selector, the output of the selector is connected to the input of the second clock gate;
The selector is a circuit in which the clock gate is in a cutoff state when its first and second inputs are at a high level and a low level, respectively, and is in a conductive state when the polarity is reversed. and a scan latch circuit comprising a section that generates an AND of the second input, a section that generates an AND of the third and fourth inputs, and a section that generates a NOR of the two ANDs. 2. The scan latch circuit according to claim 1, further comprising a tri-state buffer added to the output of the selector. 3. The scan latch circuit according to claim 1, wherein a reset signal is added to the input of the selector.
JP1023841A 1989-02-03 1989-02-03 Scan latch circuit Pending JPH02205109A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1023841A JPH02205109A (en) 1989-02-03 1989-02-03 Scan latch circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1023841A JPH02205109A (en) 1989-02-03 1989-02-03 Scan latch circuit

Publications (1)

Publication Number Publication Date
JPH02205109A true JPH02205109A (en) 1990-08-15

Family

ID=12121628

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1023841A Pending JPH02205109A (en) 1989-02-03 1989-02-03 Scan latch circuit

Country Status (1)

Country Link
JP (1) JPH02205109A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6181179B1 (en) 1998-06-17 2001-01-30 Nec Corporation Scan flip-flop circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6181179B1 (en) 1998-06-17 2001-01-30 Nec Corporation Scan flip-flop circuit

Similar Documents

Publication Publication Date Title
KR100257415B1 (en) Scanable ff circuit and escanable ff circuit using method
US4698830A (en) Shift register latch arrangement for enhanced testability in differential cascode voltage switch circuit
WO1985001825A1 (en) A scannable asynchronous/synchronous cmos latch
JP2946658B2 (en) Flip-flop circuit
EP0010599A1 (en) Shift register latch circuit operable as a D-type edge trigger and counter comprising a plurality of such latch circuits
JPH04232699A (en) Scannable register having delay test capacity
US5197070A (en) Scan register and testing circuit using the same
JPH0273173A (en) Scan path circuit
JPH06230075A (en) Detection of defective flip-flop in serial scan chain
JPH02205109A (en) Scan latch circuit
JP4610919B2 (en) Semiconductor integrated circuit device
JP2927095B2 (en) Test circuit for semiconductor integrated circuits
JPH04231885A (en) Digital/analogue hybrid lsi
JP2006258718A (en) Inspection circuit
JP2723676B2 (en) Semiconductor integrated circuit
JP3312569B2 (en) Semiconductor integrated circuit device
EP1536244A1 (en) Dynamically configurable scan chain testing
JPH0560844A (en) Semiconductor integrated circuit
JPH039428B2 (en)
JP2944325B2 (en) Scan path diagnostic circuit
JPS6095370A (en) Integrated circuit device
JPH01265608A (en) Flip-flop circuit
JPS61128622A (en) Logical circuit constituting system
JP2002082146A (en) Scan test circuit
JP2003287563A (en) Scan test circuit