JPS6120143A - Scannable latch circuit - Google Patents

Scannable latch circuit

Info

Publication number
JPS6120143A
JPS6120143A JP59140290A JP14029084A JPS6120143A JP S6120143 A JPS6120143 A JP S6120143A JP 59140290 A JP59140290 A JP 59140290A JP 14029084 A JP14029084 A JP 14029084A JP S6120143 A JPS6120143 A JP S6120143A
Authority
JP
Japan
Prior art keywords
latch circuit
data
circuit
signal
scan
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.)
Granted
Application number
JP59140290A
Other languages
Japanese (ja)
Other versions
JPH0463415B2 (en
Inventor
Yasuhiro Nakai
康博 中井
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.)
NEC Corp
Original Assignee
NEC Corp
Nippon Electric 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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP59140290A priority Critical patent/JPS6120143A/en
Publication of JPS6120143A publication Critical patent/JPS6120143A/en
Publication of JPH0463415B2 publication Critical patent/JPH0463415B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2236Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test CPU or processors

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Tests Of Electronic Circuits (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To make it possible to mix a latch circuit simply with a flip-flop (FF) by latching a main latch circuit and a sub-latch circuit at the leading edge and trailing edge of a data set pulse, delaying input data to the main latch circuit and outputting the data from the sub-latch circuit. CONSTITUTION:The main latch circuit 1 stores input data 104 at the leading edge of a data set pulse 103, and after holding the data 104 until the succeeding leading edge, outputs data 105. The circuit 1 outputs the output signal 105 to the sub-latch circuit 2 at the trailing edge of the pulse 103 to make the circuit 2 latch the signal 105 until the succeeding trailing edge and inputs a scan data signal 101 or a data signal as input data 104 in accordance with the ''1'' of ''0'' of a scan specifying signal 100. When the signal 100 is ''1'', the circuit 1 inputs the signal 101 and outputs the output data 105 to the circuit 2 at the leading edge of the pulse 103 and the circuit 2 sets up the input signal 105 at the trailing edge of the pulse 103, and after holding the contents until the succeeding trailing edge of the pulse 103, outputs a signal to a scan data output terminal 107.

Description

【発明の詳細な説明】 発明の属する技術分野 本発明は、データ処理装置におけるラッチ回路をスキャ
ンパス中に挿入できるようにしたスキャン可能なラッチ
回路に関する。
TECHNICAL FIELD The present invention relates to a scannable latch circuit that can be inserted into a scan path in a data processing device.

従来技術 フリップフロップ回路とラッチ回路が混在するデータ処
理装置においてスキャンパスを構成する場合は、処理装
置内のフリップフロップ回路とラッチ回路とで、それぞ
れ別にスキャンバスを構成し、ト記2つのスキャンパス
間をレーシングを防止するための別回路によって接続す
る必要がある。これは、ラッチ回路の出力をフリップフ
ロップ回路に接続すると、ラッチ出力が直ちに次段のフ
リップフロップにセットされてレーシングを起すからで
あり、一般にはラッチ回路とフリップフロップとが混在
されたスキャンバスを構成することは許されていない、
このため、スキャンバスの構成が制限され、複雑となる
という欠点がある。
Conventional technology When configuring a scan path in a data processing device in which flip-flop circuits and latch circuits coexist, the flip-flop circuit and latch circuit in the processing device configure separate scan paths, and the two scan paths described in It is necessary to connect between them by a separate circuit to prevent racing. This is because when the output of a latch circuit is connected to a flip-flop circuit, the latch output is immediately set to the flip-flop in the next stage, causing racing. It is not allowed to configure
Therefore, there is a drawback that the structure of the scan canvas is restricted and becomes complicated.

発明の目的 本発明の目的は、上述の従来の欠点を解決し、レーシン
グ防IE用の別回路を付加することなく。
OBJECTS OF THE INVENTION It is an object of the present invention to overcome the above-mentioned drawbacks of the prior art without adding a separate circuit for anti-racing IE.

簡単にラッチ回路をフリップフロップに混在させること
ができるスキャン可能なラッチ回路を提供することにあ
る。
To provide a scannable latch circuit in which a latch circuit can be easily mixed with a flip-flop.

発明の構成 本発明のスキャン可能なラッチ回路は、入力データまた
はスキャンデータをデータセットパルスの前縁によって
ラッチする主ラッチ回路と、該主ラッチ回路の出力デー
タを前記データセットパルスの後縁によってラッチする
副ラッチ回路とを備えて、前記主ラッチ回路に入力され
たスキャンデータを遅延させて前記副ラッチ回路から出
力することを特徴とする。
Structure of the Invention The scannable latch circuit of the present invention includes a main latch circuit that latches input data or scan data by the leading edge of the data set pulse, and latches the output data of the main latch circuit by the trailing edge of the data set pulse. and a sub latch circuit, the scan data input to the main latch circuit is delayed and outputted from the sub latch circuit.

発明の実施例 次に、本発明について、図面を参照して詳細に説明する
Embodiments of the Invention Next, the present invention will be described in detail with reference to the drawings.

第1図は、本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.

すなわち、データセットパルス103の立下り(前縁)
によって入力データ104を格納出力し、データセット
パルス103の次の立下りまで入力データを保持出力す
る主ラッチ回路1と、主ラッチ回路lの出力データ10
5を入力し、前記データセットパルス+03の立上り(
後縁)によってスキャンデータ出力端子107に出力し
、データセットパルス103の次の立上りまでラッチす
る副ラッチ回路2と、スキャン指示信号100によって
開かれてスキャンデータ信号+01を通過させるアンド
ゲート11と、スキャン指示信号100を反転回路10
によって反転させた信号によって開かれてデータ信号1
02を通過させるアン1ゲート12と、アンドゲート1
1または12の出力を主ラッチ回路1への入力データ!
04として主ラッチ回路lに供給するオア回路13とか
ら構成される。
That is, the falling edge (leading edge) of the data set pulse 103
The main latch circuit 1 stores and outputs the input data 104, and holds and outputs the input data until the next falling edge of the data set pulse 103, and the output data 10 of the main latch circuit l.
5 and the rising edge of the data set pulse +03 (
a sub-latch circuit 2 which outputs data to the scan data output terminal 107 according to the trailing edge) and latches it until the next rising edge of the data set pulse 103; an AND gate 11 which is opened by the scan instruction signal 100 and allows the scan data signal +01 to pass through; The scan instruction signal 100 is inverted by an inverting circuit 10.
Data signal 1 is opened by a signal inverted by
An 1 gate 12 that allows 02 to pass through, and an AND gate 1
The output of 1 or 12 is the input data to the main latch circuit 1!
04 and an OR circuit 13 which supplies the main latch circuit l.

スキャン指示信号+00が0”であるときは、アントゲ
−)11は閉じ、アンドゲート12が開かれていて、デ
ータ信号102はアンドゲート12およびオア回路13
を通って主ラッチ回路lに入力され。
When the scan instruction signal +00 is 0'', the AND gate 11 is closed, the AND gate 12 is open, and the data signal 102 is connected to the AND gate 12 and the OR circuit 13.
It is input to the main latch circuit l through.

データセットパルス+03の立下りによって主ラッチ回
路lにセットされてデータ出力端子10Bに出力される
という通常のラッチ動作を行なう。
A normal latch operation is performed in which the data set pulse +03 is set in the main latch circuit 1 and output to the data output terminal 10B at the fall of the data set pulse +03.

スキャン指示信号100が°゛1nのときは、アンドゲ
ート11が開き、アンドゲート12は閉じるから、スキ
ャンデータ信号+01がアンドゲート11およびオア回
路13を介して主ラッチ回路lに入力され、主ラッチ回
路lはデータセットパルス103の立下りによって入力
データ104を…カデータ105としてデータ出力端子
108に出力し、かつ副ラッチ回路2に入力させる。副
ラッチ回路2は、データセットパルス103の立上りで
、主ラッチ回路の出力データ105をセットしてスキャ
ンデータ出力端子+07に出力し、その内容はデータセ
ットパルス103の次の立上りまで保持される。
When the scan instruction signal 100 is °1n, the AND gate 11 opens and the AND gate 12 closes, so the scan data signal +01 is input to the main latch circuit l via the AND gate 11 and the OR circuit 13, and the main latch When the data set pulse 103 falls, the circuit 1 outputs the input data 104 as data 105 to the data output terminal 108 and inputs it to the sub latch circuit 2. At the rising edge of the data set pulse 103, the sub latch circuit 2 sets the output data 105 of the main latch circuit and outputs it to the scan data output terminal +07, and its contents are held until the next rising edge of the data set pulse 103.

第2図(A)は、データセットパルス103を示すタイ
ムチャートであり、同図(B)および(C)はそれぞれ
主ラッチ回路lおよび副ラッチ回路2の状態を示すタイ
ムチャートである。すなわち、データセットパルス+0
3がローレベルの状態では主ラッチ回路lはスルー状態
であり、入力データをそのまま出力するが、データセッ
トパルス103がハイレベルのときは保持状態となって
、上記入力データをそのまま保持出力する。この間に主
ラッチ回路lに入力されるデータは無視され、データセ
ットパルス103の次の立下りによって、時点Sで主ラ
ッチ回路lがスルー状態となったとき出力データ105
として出力され、スルー状態の期間taおよび保持状態
の期間tAを通じて時点Sの入力データが保持出力され
る。
FIG. 2(A) is a time chart showing the data set pulse 103, and FIG. 2(B) and (C) are time charts showing the states of the main latch circuit 1 and the sub latch circuit 2, respectively. That is, data set pulse +0
When the data set pulse 103 is at a low level, the main latch circuit I is in a through state and outputs the input data as it is, but when the data set pulse 103 is at a high level, it is in a holding state and outputs the input data as it is. During this period, the data input to the main latch circuit l is ignored, and when the main latch circuit l enters the through state at time S due to the next fall of the data set pulse 103, the output data 105
The input data at time S is held and output through the period ta in the through state and the period tA in the holding state.

一方、副ラッチ回路2は同図(C)に示すように、デー
タセットパルス103のローレベルでは保持状態であり
、データセットパルス103のハイレベルでスルー状態
となる。従って、時点s−1におけるデータセットパル
ス103の後縁の立上りから時点Sの立下りまでのスル
ー状態およびそれに続く保持状態の期間上〇′では、時
点s−1に主ラッチ回路lに保持出力されたデータをス
ルーまたは保持出力し、時点S後のデータセットパルス
+03の立上りでスルー状態となってから、主ラッチ回
路lの出力データをスキャンデータ出力端子107に出
力し、データセットパルス103の次の立上りまでの期
間tB中その状態を保持する。従って、副ラッチ回路2
は主ラッチ回路lの山方信号をデータセットパルス10
3のパルス幅だけ遅延させてスキャンデータ出力端子1
07に出力することになる。従って、スキャンデータ出
力端子107を次段の同様なラッチ回路またはフリップ
フロップ回路に入力させることによりスキャンパスを構
成すれば、レーシングを起すことはない。これは、時点
Sで主ラッチ回路lがスルー状態となった時には、副ラ
ッチ回路2は保持状態であって、時点s−1で主ラッチ
回路lに入力され時点Sまで主ラッチ回路lに保持され
ていた1つ前のスキャンデータ信号を保持出力している
からであり、次段のフリップフロップまたはラッチ回路
は、時点Sのデータセットパルス103の立下りでは、
時点s−1のデータセットパルス103によって主ラッ
チ回路lが保持したデータを保持するからである。
On the other hand, as shown in FIG. 2C, the sub latch circuit 2 is in a holding state when the data set pulse 103 is at a low level, and enters a through state when the data set pulse 103 is at a high level. Therefore, in the through state from the rising edge of the trailing edge of the data set pulse 103 at time s-1 to the falling edge at time S and the subsequent holding state period 〇', a holding output is output to the main latch circuit l at time s-1. The output data of the main latch circuit l is outputted to the scan data output terminal 107, and the output data of the main latch circuit l is outputted to the scan data output terminal 107. This state is maintained during the period tB until the next rise. Therefore, the sub latch circuit 2
is the data set pulse 10 for the peak signal of the main latch circuit l.
The scan data output terminal 1 is delayed by the pulse width of 3.
It will be output on 07. Therefore, if a scan path is configured by inputting the scan data output terminal 107 to a similar latch circuit or flip-flop circuit in the next stage, racing will not occur. This means that when the main latch circuit l enters the through state at time S, the sub latch circuit 2 is in the holding state, and is input to the main latch circuit l at time s-1 and held in the main latch circuit l until time S. This is because the previous scan data signal that was being held is held and outputted, and the flip-flop or latch circuit at the next stage, at the falling edge of the data set pulse 103 at time S,
This is because the data held by the main latch circuit l is held by the data set pulse 103 at time s-1.

複数のデータ入力端子とデータセット端子を持つラッチ
回路や、リセット端子を持つラッチ回路に対しても、同
様な副ラッチ回路を接続することにより、スキャンパス
に挿入することができる。
A latch circuit having a plurality of data input terminals and a data set terminal, or a latch circuit having a reset terminal can also be inserted into the scan path by connecting a similar sub-latch circuit.

発明の効果 以上のように、本発明においては、主ラッチ回路の出力
を副ラッチ回路の入力に接続し、上記副ラッチ回路は前
記主ラッチ回路の出力データをデータセットパルスの後
縁によって保持出力するように構成したから、データセ
ットパルスの前縁では1つ前のデータセットパルスによ
って前記主ラッチ回路に保持されたスキャンデータを保
持出力している。従って、上記副ラッチ回路の出力を後
段のフリップフロップまたは同様なラッチ回路の入力に
接続することにより1通常のラッチ回路の機能を失うこ
となく、又レーシング防II−用の別口路を設けないで
、簡単にフリップフロップ回路とラッチ回路の混在した
スキャンパスを形成することが可能となるという効果が
ある。
Effects of the Invention As described above, in the present invention, the output of the main latch circuit is connected to the input of the sub latch circuit, and the sub latch circuit holds and outputs the output data of the main latch circuit according to the trailing edge of the data set pulse. Therefore, at the leading edge of the data set pulse, the scan data held in the main latch circuit by the previous data set pulse is held and output. Therefore, by connecting the output of the sub-latch circuit to the input of a subsequent flip-flop or similar latch circuit, the function of the normal latch circuit is not lost, and a separate path for racing protection II is not provided. This has the effect that it is possible to easily form a scan path in which flip-flop circuits and latch circuits are mixed.

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

第1図は本発明の一実施例を示す回路図、第2図(A)
、(B)、(C)はそれぞれ上記実施例のデータセット
パルスおよび主、副ラッチ回路の状態を示すタイムチャ
ートである。 図において、1:主ラッチ回路、2:副ラッチ回路、l
O:反転回路、100ニスキヤン指示信号、101ニス
キヤンデータ信号、102:データ信号、IO2:デー
タセットパルス、104:入力データ、105:出力デ
ータ、106:データ出力端子、107:スキャンデー
タ出力端子。
Figure 1 is a circuit diagram showing an embodiment of the present invention, Figure 2 (A)
, (B) and (C) are time charts showing the data set pulse and the states of the main and sub latch circuits, respectively, in the above embodiment. In the figure, 1: main latch circuit, 2: sub latch circuit, l
O: inversion circuit, 100 Niscan instruction signal, 101 Niscan data signal, 102: data signal, IO2: data set pulse, 104: input data, 105: output data, 106: data output terminal, 107: scan data output terminal.

Claims (1)

【特許請求の範囲】[Claims] 入力データまたはスキャンデータをデータセットパルス
の前縁によってラッチする主ラッチ回路と、該主ラッチ
回路の出力データを前記データセットパルスの後縁によ
ってラッチする副ラッチ回路とを備えて、前記主ラッチ
回路に入力されたスキャンデータを遅延させて前記副ラ
ッチ回路から出力することを特徴とするスキャン可能な
ラッチ回路。
The main latch circuit comprises a main latch circuit that latches input data or scan data by a leading edge of a data set pulse, and a sub latch circuit that latches output data of the main latch circuit by a trailing edge of the data set pulse. 1. A scannable latch circuit, wherein scan data inputted to the sub latch circuit is delayed and outputted from the sub latch circuit.
JP59140290A 1984-07-06 1984-07-06 Scannable latch circuit Granted JPS6120143A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59140290A JPS6120143A (en) 1984-07-06 1984-07-06 Scannable latch circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59140290A JPS6120143A (en) 1984-07-06 1984-07-06 Scannable latch circuit

Publications (2)

Publication Number Publication Date
JPS6120143A true JPS6120143A (en) 1986-01-28
JPH0463415B2 JPH0463415B2 (en) 1992-10-09

Family

ID=15265349

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59140290A Granted JPS6120143A (en) 1984-07-06 1984-07-06 Scannable latch circuit

Country Status (1)

Country Link
JP (1) JPS6120143A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7146549B2 (en) 2002-05-29 2006-12-05 Nec Electronics Corporation Scan-path flip-flop circuit for integrated circuit memory

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57106238A (en) * 1980-12-23 1982-07-02 Toshiba Corp Semiconductor logical integrated circuit device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57106238A (en) * 1980-12-23 1982-07-02 Toshiba Corp Semiconductor logical integrated circuit device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7146549B2 (en) 2002-05-29 2006-12-05 Nec Electronics Corporation Scan-path flip-flop circuit for integrated circuit memory

Also Published As

Publication number Publication date
JPH0463415B2 (en) 1992-10-09

Similar Documents

Publication Publication Date Title
US5004933A (en) Phase-selectable flip-flop
US5565808A (en) Latch control circuit
US5892372A (en) Creating inversions in ripple domino logic
US3612906A (en) Pulse synchronizer
KR880000862A (en) Data transmission circuit
KR950012058B1 (en) Register control circuit
JPS6120143A (en) Scannable latch circuit
US5187385A (en) Latch circuit including filter for metastable prevention
ATE28770T1 (en) SIMPLE TIMED LOCKING CIRCUIT.
US6301188B1 (en) Method and apparatus for registering free flow information
KR860009550A (en) Logic circuit with test data load
JP2735268B2 (en) LSI output buffer
JPS59211317A (en) Flip-flop
JPS63103512A (en) Flip-flop circuit
JPS63830B2 (en)
JPS59133627A (en) Input and output circuit of microcomputer
JPS60254740A (en) Scanning circuit
KR890005160B1 (en) The integrated circuits of d-flip flop and buffer
JPS583140Y2 (en) Bidirectional signal bus buffer device
KR950004369Y1 (en) Modul-3 counter
KR930004892Y1 (en) Latching circuit
JPS62296636A (en) Phase selectable flip-flop
JPS6166571A (en) Gate pulse controller of thyristor inverter
JPS6419822A (en) Delay circuit
JPH06296140A (en) Parallel serial converter