JP2007178160A - Scan flip-flop circuit - Google Patents
Scan flip-flop circuit Download PDFInfo
- Publication number
- JP2007178160A JP2007178160A JP2005374231A JP2005374231A JP2007178160A JP 2007178160 A JP2007178160 A JP 2007178160A JP 2005374231 A JP2005374231 A JP 2005374231A JP 2005374231 A JP2005374231 A JP 2005374231A JP 2007178160 A JP2007178160 A JP 2007178160A
- Authority
- JP
- Japan
- Prior art keywords
- scan
- terminal
- circuit
- data
- signal
- 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
Links
Images
Landscapes
- Tests Of Electronic Circuits (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
Description
この発明は、スキャンフリップフロップ(以下、「スキャンFF」と略する)を有するスキャンFF回路に関する。 The present invention relates to a scan FF circuit having a scan flip-flop (hereinafter abbreviated as “scan FF”).
図43は従来のスキャンFF回路の内部構成を示す回路図である。同図に示すように、従来のスキャンFF回路51はフリップフロップ61及び2to1セレクタ62から構成され、入力部にクロック端子P11、データ入力端子P12、スキャンイン端子P13及びスキャンイネーブル端子P14を有し、出力部にデータ出力端子P21、スキャンアウト端子P22及びデータ出力反転端子P23を有する。
FIG. 43 is a circuit diagram showing an internal configuration of a conventional scan FF circuit. As shown in the figure, the conventional
クロック端子P11はクロックCLOCKを受け、データ入力端子P12はデータDATAを受け、スキャンイン端子P13はスキャンイン信号SINを受け、スキャンイネーブル端子P14はスキャンイネーブル信号SENを受け、データ出力端子P21からデータ出力Q、スキャンアウト端子P22からスキャンアウト信号SOUT、データ出力反転端子P23から反転データ出力QBが出力される。 The clock terminal P11 receives the clock CLOCK, the data input terminal P12 receives the data DATA, the scan-in terminal P13 receives the scan-in signal SIN, the scan enable terminal P14 receives the scan enable signal SEN, and outputs data from the data output terminal P21. Q, a scan-out signal SOUT is output from the scan-out terminal P22, and an inverted data output QB is output from the data output inversion terminal P23.
2to1セレクタ62の“0”入力及び“1”入力はデータ入力端子P12及びスキャンイン端子P13に接続され、制御入力がスキャンイネーブル端子P14に接続され、フリップフロップ61のクロック端子Cはクロック端子P11に接続され、データ入力端子Dは2to1セレクタ62の出力に接続され、データ出力端子Qinはデータ出力端子P21及びスキャンアウト端子P22に共通に接続され、反転データ出力端子QBinはデータ出力反転端子P23に接続される。
The “0” input and “1” input of the
このような構成において、フリップフロップ61はクロック端子P11より得られるクロックCLOCKに同期して動作し、通常動作時にスキャンイネーブル信号SENを“L”(“0”)にしてデータ入力端子P12より得られるデータDATAを付与データとしてフリップフロップ61のデータ入力端子Dに出力し、スキャンシフト時はスキャンイネーブル信号SENを“H”(“1”)にしてスキャンイン端子P13より得られるスキャンイン信号SINを付与データとしてフリップフロップ61のデータ入力端子Dに出力する。そして、格納データをデータ出力端子P21及びスキャンアウト端子P22よりデータ出力Q及びスキャンアウト信号SOUTとして出力し、格納データの反転データをデータ出力反転端子P23から反転データ出力QBとして出力する。このようなスキャンFF回路51と同様な回路が例えば特許文献1に開示されている。
In such a configuration, the flip-
プロセステクノロジの微細化に伴うトランジスタ集積度の向上により、LSIの回路規模が増大してきている。そのような大規模回路を効率よくテストするためにスキャンFF回路を使用することが必須となってきている。 The LSI circuit scale is increasing due to the improvement in the degree of transistor integration accompanying the miniaturization of process technology. In order to efficiently test such a large-scale circuit, it has become essential to use a scan FF circuit.
しかし、図43で示したようなスキャンFF回路の構成は、フリップフロップ61とデータ入力端子P12との間に2to1セレクタ62が挿入される回路構成となっており、2to1セレクタ62一段分の遅延時間が生じることに起因して、固定値設定等の信号処理後のデータDATAについてのセットアップタイミング条件が厳しくなり、逆に前段のスキャンFF回路51のスキャンアウト端子P22と後段のスキャンFF回路51のスキャンイン端子P13とが直結されるのが一般的なため、スキャンイン信号SINついてのホールドタイミング条件が厳しくなくという問題点があった。
However, the configuration of the scan FF circuit as shown in FIG. 43 is a circuit configuration in which the
この発明は上記問題点を解決するためになされたもので、固定値入力機能を有し、かつ、入力されるデータについてのセットアップタイミング条件の緩和、及び入力されるスキャンイン信号ついてのホールドタイミング条件の緩和を図ったスキャンFF回路を得ることを目的とする。 The present invention has been made to solve the above-described problems, has a fixed value input function, relaxes the setup timing condition for the input data, and holds the timing condition for the input scan-in signal. An object of the present invention is to obtain a scan FF circuit in which the above-described relaxation is achieved.
この発明に係る請求項1記載のスキャンFF回路は、クロック端子、データ入力端子、スキャンイン端子、データ出力端子、及びスキャンアウト端子を有するスキャンフリップフロップ回路(スキャンFF回路)であって、前記クロック端子を介して入力されるクロックに同期して、付与されたデータを格納データとして取り込み、該格納データを前記データ出力端子及び前記スキャンアウト端子の少なくとも一方より出力するフリップフロップと、所定の固定値及び前記スキャンイン端子より得られるスキャンイン信号のうち一方を選択して出力する第1の選択動作を実行する第1のセレクタと、前記データ入力端子より得られる入力データ及び前記第1のセレクタの出力のうち一方を選択して、前記フリップフロップへの付与データとして出力する第2の選択動作を実行する第2のセレクタとを備えている。
The scan FF circuit according to
この発明に係る請求項12記載のスキャンFF回路は、クロック端子、データ入力端子、スキャンイン端子、データ出力端子、及びスキャンアウト端子を有するスキャンフリップフロップ回路(スキャンFF回路)であって、前記クロック端子を介して入力されるクロックに同期して、付与されたデータを格納データとして取り込み、該格納データを前記データ出力端子を介して出力するフリップフロップと、前記データ入力端子より得られる入力データ及び前記スキャンイン端子より得られるスキャンイン信号のうち、一方を選択して、前記フリップフロップへの付与データとして出力する第1の選択動作を実行する第1のセレクタと、所定の固定値及び前記フリップフロップの前記格納データのうち一方を選択して前記スキャンアウト端子から出力する、第2の選択動作を実行する第2のセレクタとを備えている。 A scan FF circuit according to a twelfth aspect of the present invention is a scan flip-flop circuit (scan FF circuit) having a clock terminal, a data input terminal, a scan-in terminal, a data output terminal, and a scan-out terminal. A flip-flop that captures the given data as stored data in synchronization with a clock input via the terminal, and outputs the stored data via the data output terminal; and input data obtained from the data input terminal; A first selector that executes a first selection operation of selecting one of scan-in signals obtained from the scan-in terminal and outputting the selected data as data to be provided to the flip-flop, a predetermined fixed value, and the flip-flop Select one of the stored data of the scan and select the scan out end Output from, and a second selector for executing the second selection operation.
この発明に係る請求項26記載のスキャンFF回路は、クロック端子、第1及び第2のデータ入力端子、スキャンイン端子、スキャンイネーブル端子、データ出力端子、及びスキャンアウト端子を有するスキャンフリップフロップ回路(スキャンFF回路)であって、前記クロック端子を介して入力されるクロックに同期して、付与されたデータを格納データとして取り込み、該格納データを前記データ出力端子及び前記スキャンアウト端子の少なくとも一方より出力するフリップフロップと、前記スキャンイネーブル端子より得られるスキャンイネーブル信号及び前記第2のデータ入力端子より得られる第2の入力データに基づき、前記第1のデータ入力端子より得られる第1の入力データ、所定の固定値及び前記スキャンイン端子より得られるスキャンイン信号のうちの一つを選択して、前記フリップフロップへの付与データとして出力する選択動作を実行するセレクタとを備えている。 A scan FF circuit according to a twenty-sixth aspect of the present invention is a scan flip-flop circuit having a clock terminal, first and second data input terminals, a scan-in terminal, a scan enable terminal, a data output terminal, and a scan-out terminal ( A scan FF circuit) that captures the given data as storage data in synchronization with a clock input via the clock terminal, and stores the storage data from at least one of the data output terminal and the scan-out terminal. First input data obtained from the first data input terminal based on a flip-flop to be output, a scan enable signal obtained from the scan enable terminal, and second input data obtained from the second data input terminal Obtained from a predetermined fixed value and the scan-in terminal. Select one of the scan-in signal, and a selector for performing a selection operation to output as the application data to the flip-flop.
この発明における請求項1記載のスキャンFF回路は、第1のセレクタの第1の選択動作により所定の固定値を選択し、第2のセレクタの第2の選択動作により第1のセレクタの出力を選択することにより、フリップフロップのデータ入力に所定の固定値を入力する固定値入力機能を有する。
The scan FF circuit according to
そして、第2のセレクタのみを介してデータ入力端子より得られる入力データをフリップフロップへ付与データとして出力するため、上記固定値入力機能を有し、かつ入力データに対するセットアップタイミイング条件の緩和を図ることができる。 Since the input data obtained from the data input terminal is output to the flip-flop as the added data only through the second selector, the fixed value input function is provided and the setup timing condition for the input data is eased. be able to.
さらに、2段の第1及び第2のセレクタを介してスキャンイン信号をフリップフロップのデータ入力として出力するため、スキャンイン信号に対するホールドタイミイング条件を緩和を図ることができる。 Further, since the scan-in signal is output as the data input of the flip-flop via the two-stage first and second selectors, the hold timing condition for the scan-in signal can be relaxed.
この発明における請求項10記載のスキャンFF回路は、第2のセレクタの第2の選択動作により所定の固定値の出力を選択することにより、次段のスキャンFF回路の第1のセレクタを介してフリップフロップへの付与データとして所定の固定値を入力する固定値入力機能を有する。 According to a tenth aspect of the present invention, the scan FF circuit selects the output of a predetermined fixed value by the second selection operation of the second selector, and passes through the first selector of the next-stage scan FF circuit. It has a fixed value input function for inputting a predetermined fixed value as data to be given to the flip-flop.
そして、第1のセレクタのみを介してデータ入力端子より得られる入力データをフリップフロップへの付与データとして出力するため、上記固定値入力機能を有し、かつ入力データに対するセットアップタイミイング条件の緩和を図ることができる。 Since the input data obtained from the data input terminal only through the first selector is output as the data to be given to the flip-flop, the above-mentioned fixed value input function is provided, and the setup timing conditions for the input data are relaxed. Can be planned.
さらに、請求項10記載のスキャンFF回路が複数段用いられ、前段のスキャンFF回路のスキャンアウト端子が後段のスキャンFF回路のスキャンイン端子に接続される場合、前段のスキャンFF回路の第2のセレクタ及び後段のスキャンFF回路の第1のセレクタを介して、前段のスキャンFF回路のフリップフロップのデータ出力が後段のスキャンFF回路のフリップフロップへの付与データとして取り込まれることになり、後段のスキャンFF回路のスキャンイン信号に対するホールドタイミイング条件の緩和を図ることができる。
Furthermore, when the scan FF circuit according to
この発明における請求項20記載のスキャンFF回路は、セレクタの選択動作により所定の固定値を選択することにより、フリップフロップへの付与データとして所定の固定値を入力する固定値入力機能を有する。 According to a twentieth aspect of the present invention, the scan FF circuit has a fixed value input function of inputting a predetermined fixed value as data to be given to the flip-flop by selecting a predetermined fixed value by the selection operation of the selector.
そして、セレクタのみを介してデータ入力端子より得られる入力データをフリップフロップへの付与データとして出力するため、上記固定値入力機能を有し、かつ入力データに対するセットアップタイミイング条件の緩和を図ることができる。 Since the input data obtained from the data input terminal is output as the data to be given to the flip-flop only through the selector, the fixed value input function is provided and the setup timing condition for the input data can be relaxed. it can.
<実施の形態1>
(回路構成)
図1はこの発明の実施の形態1である同期リセット端子付きスキャンFF回路の回路構成を示す回路図である。同図に示すように、実施の形態1のスキャンFF回路1はフリップフロップ11及び2to1セレクタ12,13から構成され、入力部にクロック端子P11、データ入力端子P12、スキャンイン端子P13、スキャンイネーブル端子P14及び同期リセット端子P15(同期固定値設定端子)を有し、出力部にデータ出力端子P21、スキャンアウト端子P22及びデータ出力反転端子P23を有する。
<
(Circuit configuration)
1 is a circuit diagram showing a circuit configuration of a scan FF circuit with a synchronous reset terminal according to a first embodiment of the present invention. As shown in the figure, the
クロック端子P11はクロックCLOCKを受け、データ入力端子P12はデータDATA(入力データ)を受け、スキャンイン端子P13はスキャンイン信号SINを受け、スキャンイネーブル端子P14はスキャンイネーブル信号SENを受け、同期リセット端子P15に同期リセット信号RBを受ける。一方、データ出力端子P21からデータ出力Q、スキャンアウト端子P22からスキャンアウト信号SOUT、データ出力反転端子P23から反転データ出力QBがそれぞれ出力される。 The clock terminal P11 receives a clock CLOCK, the data input terminal P12 receives data DATA (input data), the scan-in terminal P13 receives a scan-in signal SIN, the scan enable terminal P14 receives a scan enable signal SEN, and a synchronous reset terminal P15 receives a synchronous reset signal RB. On the other hand, a data output Q is output from the data output terminal P21, a scan-out signal SOUT is output from the scan-out terminal P22, and an inverted data output QB is output from the data output inversion terminal P23.
2to1セレクタ13(第1のセレクタ)の“0”入力及び“1”入力は接地レベル(所定の固定値)及びスキャンイン端子P13に接続され、制御入力はスキャンイネーブル端子P14に接続される。そして、2to1セレクタ13はスキャンイネーブル端子P14より得られるスキャンイネーブル信号SENに基づき、接地レベル及びスキャンイン端子P13より得られるスキャンイン信号SINのうち一方を選択して出力する第1の選択動作を実行する。
The “0” input and “1” input of the 2to1 selector 13 (first selector) are connected to the ground level (predetermined fixed value) and the scan-in terminal P13, and the control input is connected to the scan enable terminal P14. Based on the scan enable signal SEN obtained from the scan enable terminal P14, the
2to1セレクタ12(第2のセレクタ)の“1”入力及び“0”入力はデータ入力端子P12及び2to1セレクタ13の出力に接続され、制御入力は同期リセット端子P15に接続される。そして、2to1セレクタ12は、同期リセット端子P15より得られる同期リセット信号RBに基づき、データ入力端子P12より得られるデータDATA及び2to1セレクタ13の出力のうち一方を選択してフリップフロップ11への付与データとしてデータ入力端子Dに出力する第2の選択動作を実行する。
The “1” input and the “0” input of the 2to1 selector 12 (second selector) are connected to the data input terminal P12 and the output of the
このように、実施の形態1のスキャンFF回路1は、スキャンイネーブル信号SEN及び同期リセット信号RBに基づき、2to1セレクタ13及び12を制御することができる。
As described above, the
フリップフロップ11のクロック端子Cはクロック端子P11に接続され、データ入力端子Dは2to1セレクタ12の出力に接続され、データ出力端子Qinはデータ出力端子P21及びスキャンアウト端子P22に共通に接続され、反転データ出力端子QBinはデータ出力反転端子P23に接続される。
The clock terminal C of the flip-
図2はフリップフロップ11の内部構成を示す回路図である。同図に示すように、フリップフロップ11は、インバータG1〜G6、トランスファゲートTF1〜TF4から構成される。
FIG. 2 is a circuit diagram showing the internal configuration of the flip-
インバータG1の入力はクロック端子Cに接続され、インバータG2の入力はインバータG1の出力に接続される。そして、インバータG2の出力がクロック信号CK1となり、インバータG1の出力が反転クロック信号CK1Bとなる。 The input of the inverter G1 is connected to the clock terminal C, and the input of the inverter G2 is connected to the output of the inverter G1. The output of the inverter G2 becomes the clock signal CK1, and the output of the inverter G1 becomes the inverted clock signal CK1B.
一方、インバータG3の入力はトランスファゲートTF1を介してデータ入力端子Dに接続され、その出力がトランスファゲートTF3を介してインバータG5の入力に接続されるとともに、インバータG4及びトランスファゲートTF2を介して自身の入力に帰還する。 On the other hand, the input of the inverter G3 is connected to the data input terminal D through the transfer gate TF1, and the output is connected to the input of the inverter G5 through the transfer gate TF3, and also through the inverter G4 and the transfer gate TF2. Return to the input.
インバータG6の入力はインバータG5の出力に接続され、インバータG6の出力が反転データ出力端子QBinに接続されるとともに、トランスファゲートTF4を介してインバータG5の入力に接続される。インバータG5の出力がデータ出力端子Qinとなる。 The input of the inverter G6 is connected to the output of the inverter G5, the output of the inverter G6 is connected to the inverted data output terminal QBin, and is connected to the input of the inverter G5 via the transfer gate TF4. The output of the inverter G5 becomes the data output terminal Qin.
トランスファゲートTF1及びTF4は共にNMOSゲートに反転クロック信号CK1Bを受け、PMOSゲートにクロック信号CK1を受ける。トランスファゲートTF2及びTF3は共にNMOSゲートにクロック信号CK1を受け、PMOSゲートに反転クロック信号CK1Bを受ける。 Both transfer gates TF1 and TF4 receive the inverted clock signal CK1B at the NMOS gate and the clock signal CK1 at the PMOS gate. Both transfer gates TF2 and TF3 receive the clock signal CK1 at the NMOS gate and the inverted clock signal CK1B at the PMOS gate.
このような構成のフリップフロップ11は、インバータG3及びG4のループ接続によりなる第1のラッチと、インバータG5及びG6のループ接続によりなる第2のラッチとを、トランスファゲートTF1〜TF4のオン/オフ動作によって、フリップフロップ動作を行う。具体的には、クロックCLOCKの“H”立ち上がりをトリガとして、データ入力端子Dに入力される付与データを格納データとして上記第1のラッチに取り込み、“L”立ち下がりをトリガとして上記第1のラッチの格納データが上記第2のラッチに取り込まれる。以降、同様にして、上記第1のラッチ及び第2のラッチを用いたフリップフロップ動作が行われる。
The flip-
(動作)
図3は図1及び図2で示した実施の形態1のスキャンFF回路の動作を真理値表形式で示した説明図である。以下、図3を参照しつつ、実施の形態1のスキャンFF回路の動作を説明する。
(Operation)
FIG. 3 is an explanatory diagram showing the operation of the scan FF circuit of the first embodiment shown in FIGS. 1 and 2 in the form of a truth table. Hereinafter, the operation of the scan FF circuit according to the first embodiment will be described with reference to FIG.
フリップフロップ11はクロック端子P11より得られるクロックCLOCKに同期して動作し、通常動作時に同期リセット信号RBを“H”(“1”)にしてデータ入力端子P12より得られるデータDATAを2to1セレクタ12を介して、フリップフロップ11への付与データとしてデータ入力端子Dに出力する。
The flip-
一方、スキャンシフト時はスキャンイネーブル信号SENを“H”、同期リセット信号RBを“L”(“0”)にしてスキャンイン端子P13より得られるスキャンイン信号SINを2to1セレクタ13及び2to1セレクタ12を介して、フリップフロップ11への付与データとしてデータ入力端子Dに出力する。
On the other hand, at the time of scan shift, the scan enable signal SEN is set to “H”, the synchronous reset signal RB is set to “L” (“0”), and the scan-in signal SIN obtained from the scan-in terminal P13 is changed to the
また、リセット時には、スキャンイネーブル信号SENを“L”、同期リセット信号RBを“L”にして、接地レベルの信号を2to1セレクタ13及び2to1セレクタ12を介して、フリップフロップ11への付与データとしてデータ入力端子Dに出力する。
At the time of reset, the scan enable signal SEN is set to “L”, the synchronous reset signal RB is set to “L”, and the ground level signal is supplied as data to be given to the flip-
このように、実施の形態1のスキャンFF回路1は、リセット時に論理値“0”である接地レベルをフリップフロップ11への付与データとしてデータ入力端子Dに出力する固定値入力機能を有している。
As described above, the
そして、フリップフロップ11の格納データをデータ出力端子P21及びスキャンアウト端子P22よりデータ出力Q及びスキャンアウト信号SOUTとして出力し、格納データの反転データをデータ出力反転端子P23から反転データ出力QBとして出力する。
Then, the data stored in the flip-
図3に示すように、例えば、通常動作時(同期リセット信号RBが“H”の時)にはデータDATAの“L”/“H”によってデータ出力Qの“L”/“H”が決定し、スキャンシフト時(スキャンイネーブル信号SENが“H”、同期リセット信号RBが“L”の時)にはスキャンイン信号SINの“L”/“H”によってデータ出力Qの“L”/“H”が決定し、リセット時(スキャンイネーブル信号SENが“L”、同期リセット信号RBが“L”の時)には、スキャンイン信号SIN及びデータDATAの値に関係なく、データ出力Qは“L”に決定される。 As shown in FIG. 3, for example, during normal operation (when the synchronous reset signal RB is “H”), “L” / “H” of the data output Q is determined by “L” / “H” of the data DATA. At the time of scan shift (when the scan enable signal SEN is “H” and the synchronous reset signal RB is “L”), the data output Q is “L” / “H” by the scan-in signal SIN “L” / “H”. At the time of resetting (when the scan enable signal SEN is “L” and the synchronous reset signal RB is “L”), the data output Q is “0” regardless of the values of the scan-in signal SIN and the data DATA. L ".
図4は同期リセット信号発生回路の内部構成を示す説明図である。同図で示す同期リセット信号発生回路を信号設定機能として実施の形態1のスキャンFF回路1は具備する。
FIG. 4 is an explanatory diagram showing the internal configuration of the synchronous reset signal generating circuit. The
図4に示すように、同期リセット生成回路21より同期リセット信号RBの基となる原同期リセット信号S21が生成され、ANDゲートG7の一方入力となる。ANDゲートG7の他方入力にはスキャンイネーブル信号SENがインバータG27を介して入力される。なお、スキャンイネーブル信号SENに代えて同様にテスト時に“H”となるテストモード信号TESTMODEを用いても良い。なお、同期リセット生成回路21の内部構成に関しては本願発明との関係は希薄であるため説明を省略する。
As shown in FIG. 4, the synchronous
このような構成の同期リセット信号発生回路は、スキャンイネーブル信号SENが“H”とき、同期リセット信号RBは強制的に“L”とされるため、図3で示した、スキャンイネーブル信号SENが“H”、同期リセット信号RBが“H”の組合せは実施の形態1のスキャンFF回路に対して入力されることはなく、スキャンイネーブル信号SENのみの制御下でスキャンイン信号SINをフリップフロップ11への付与データとしてデータ入力端子Dに出力することができる。
In the synchronous reset signal generating circuit having such a configuration, when the scan enable signal SEN is “H”, the synchronous reset signal RB is forcibly set to “L”. Therefore, the scan enable signal SEN shown in FIG. The combination of “H” and the synchronous reset signal RB “H” is not input to the scan FF circuit of the first embodiment, and the scan-in signal SIN is supplied to the flip-
(効果)
図5及び図6は実施の形態1の効果説明用の回路図である。図5は従来のスキャンFF回路51a,51bを用いて同期リセットを行う集積回路を想定している。なお、スキャンFF回路51a,51bの構成は図43で示したスキャンFF回路51の構成と同様であるため、説明を省略する。
(effect)
5 and 6 are circuit diagrams for explaining the effect of the first embodiment. FIG. 5 assumes an integrated circuit that performs synchronous reset using conventional
図5に示すように、スキャンFF回路51aのデータ出力端子P21が組合せ回路31の入力の一つに接続され、スキャンアウト端子P22がスキャンFF回路51bのスキャンイン端子P13に接続される。そして、組合せ回路31の出力の一つである出力信号S31がANDゲートG8の一方入力となり、ANDゲートG8の他方入力が同期リセット信号RBとなり、ANDゲートG8の出力がスキャンFF回路51bのデータ入力端子P12に接続される。
As shown in FIG. 5, the data output terminal P21 of the
このような構成の集積回路において、出力信号S31はANDゲートG8を経由してスキャンFF回路51bのデータ入力端子P12に付与される。すなわち、スキャンFF回路51bのフリップフロップ61のデータ入力端子Dへの出力信号S31に基づく信号入力は、ANDゲートG8及びスキャンFF回路51bの2to1セレクタ62からなる第1のデータ入力信号伝搬経路の通過を要することになる。
In the integrated circuit having such a configuration, the output signal S31 is applied to the data input terminal P12 of the
図6は実施の形態1のスキャンFF回路1a,1bを用いて同期リセットを行う集積回路を想定している。なお、スキャンFF回路1a,1bの構成は図1で示したスキャンFF回路1の構成と同様であるため、説明を省略する。
FIG. 6 assumes an integrated circuit that performs synchronous reset using the scan FF circuits 1a and 1b of the first embodiment. The configuration of the scan FF circuits 1a and 1b is the same as that of the
スキャンFF回路1aのデータ出力端子P21が組合せ回路31の入力の一つに接続され、スキャンアウト端子P22がスキャンFF回路1bのスキャンイン端子P13に接続される。そして、組合せ回路31の出力の一つである出力信号S31がスキャンFF回路1bのデータ入力端子P12に接続される。すなわち、出力信号S31はスキャンFF回路1bのデータDATAとして直接入力される。
The data output terminal P21 of the scan FF circuit 1a is connected to one of the inputs of the
このような構成の集積回路において、出力信号S31はデータDATAとして直接にスキャンFF回路1bのデータ入力端子P12に付与される。すなわち、スキャンFF回路1bのフリップフロップ11のデータ入力端子Dへの出力信号S31に基づく信号入力は、スキャンFF回路1bの2to1セレクタ62のみからなる第2のデータ入力信号伝搬経路の通過を要することになる。
In the integrated circuit having such a configuration, the output signal S31 is directly applied to the data input terminal P12 of the scan FF circuit 1b as data DATA. That is, the signal input based on the output signal S31 to the data input terminal D of the flip-
このように、図5及び図6の比較(上記第1及び第2のデータ入力信号伝搬経路の比較)から明らかなように、リセット機能を付加された場合データDATA入力のセットアップタイミング条件に関し、ANDゲートG8を設ける必要がない分、実施の形態1のスキャンFF回路1a,1bによって構成される集積回路の方が緩和されるため、ANDゲートG8の信号伝搬遅延分の高速化を図ることができる効果を奏する。 Thus, as is clear from the comparison of FIG. 5 and FIG. 6 (comparison of the first and second data input signal propagation paths), the AND timing is related to the setup timing condition of the data DATA input when the reset function is added. Since there is no need to provide the gate G8, the integrated circuit constituted by the scan FF circuits 1a and 1b of the first embodiment is relaxed, so that the speed of the signal propagation delay of the AND gate G8 can be increased. There is an effect.
また、図5及び図6に示すように、スキャンFF回路51aのスキャンアウト端子P22とスキャンFF回路51bのスキャンイン端子P13は直結され、スキャンFF回路1aのスキャンアウト端子P22とスキャンFF回路1bのスキャンイン端子P13間は直結されており、信号伝搬遅延時間は小さいため、スキャンイン信号SINのホールドタイミング条件は厳しくなる。
Further, as shown in FIGS. 5 and 6, the scan-out terminal P22 of the
このため、図5の集積回路の場合、スキャンFF回路51aのスキャンアウト端子P22,スキャンFF回路51bのスキャンイン端子P13との間にバッファを挿入する必要があった。
Therefore, in the integrated circuit of FIG. 5, it is necessary to insert a buffer between the scan-out terminal P22 of the
しかしながら、図5の集積回路において、スキャンFF回路51bは1段の2to1セレクタ62を介してスキャンイン信号SINをフリップフロップ11のデータ入力端子D取り込んでいるのに対し、図6の集積回路では、スキャンFF回路1bは2段の2to1セレクタ13及び12を介してスキャンイン信号SINをフリップフロップ11のデータ入力端子Dに取り込んでいるため、2to1セレクタ1個分の信号伝搬時間が図5の集積回路以上に要することになる。
However, in the integrated circuit of FIG. 5, the
このように、図5及び図6の比較から明らかなように、スキャンイン信号SINのホールドタイミング条件に関し、図5の構成より1段多い、2段の2to1セレクタ13及び12を設ける分、実施の形態1のスキャンFF回路1a,1bによって構成される集積回路の方が緩和されるという効果を奏する。
As is apparent from the comparison between FIG. 5 and FIG. 6, regarding the hold timing condition of the scan-in signal SIN, the two-
(他の態様)
図7は実施の形態1のスキャンFF回路の他の態様を示す回路図である。同図に示すように、図1で示したスキャンFF回路1に比べ、図7で示す他の態様のスキャンFF回路1Xは、2to1セレクタ13に代えてANDゲートG9を設けた点が異なる。以下、異なる点を中心に説明する。
(Other aspects)
FIG. 7 is a circuit diagram showing another aspect of the scan FF circuit of the first embodiment. As shown in the figure, the
ANDゲートG9は一方入力がスキャンイネーブル端子P14に接続され、他方入力がスキャンイン端子P13に接続され、出力が2to1セレクタ12の“0”入力に接続される。
The AND gate G9 has one input connected to the scan enable terminal P14, the other input connected to the scan-in terminal P13, and the output connected to the “0” input of the
ANDゲートG9は、スキャンイネーブル信号SENが“H”のとき、スキャンイン信号SINを2to1セレクタ12の“0”入力に付与し、スキャンイネーブル信号SENが“L”のときはスキャンイン信号SINに関係なく固定値“L”を2to1セレクタ12の“0”入力に出力する。したがって、スキャンFF回路1Xは図3で示した真理値表と同様の振る舞い、すなわち、スキャンFF回路1と等価な動作を行うことができる。
The AND gate G9 applies the scan-in signal SIN to the “0” input of the
さらに、図6のスキャンFF回路1a,1bに代えて、スキャンFF回路1Xを用いた場合も、リセット機能を付加させた場合のデータDATA入力のセットアップタイミング条件の緩和及びスキャンイン信号SINのホールドタイミング条件の緩和効果も同様に発揮することができる。
Further, even when the
さらに、スキャン回路1Xは、スキャンFF回路1の2to1セレクタ13をANDゲートG9により構成することにより、回路構成の簡略化を図ることができる効果を奏する。
Further, the
<実施の形態2>
(回路構成)
図8はこの発明の実施の形態2である同期セット端子付きスキャンFF回路の回路構成を示す回路図である。同図に示すように、実施の形態2のスキャンFF回路2はフリップフロップ11及び2to1セレクタ14,15から構成され、入力部にクロック端子P11、データ入力端子P12、スキャンイン端子P13、スキャンイネーブル端子P14及び同期セット端子P16(同期固定値設定端子)を有し、出力部にデータ出力端子P21、スキャンアウト端子P22及びデータ出力反転端子P23を有する。
<
(Circuit configuration)
FIG. 8 is a circuit diagram showing a circuit configuration of a scan FF circuit with a synchronous set terminal according to the second embodiment of the present invention. As shown in the figure, the
クロック端子P11はクロックCLOCKを受け、データ入力端子P12はデータDATAを受け、スキャンイン端子P13はスキャンイン信号SINを受け、スキャンイネーブル端子P14はスキャンイネーブル信号SENを受け、同期セット端子P16に同期セット信号SBを受ける。一方、データ出力端子P21からデータ出力Q、スキャンアウト端子P22からスキャンアウト信号SOUT、データ出力反転端子P23から反転データ出力QBがそれぞれ出力される。 The clock terminal P11 receives the clock CLOCK, the data input terminal P12 receives the data DATA, the scan-in terminal P13 receives the scan-in signal SIN, the scan enable terminal P14 receives the scan enable signal SEN, and is synchronously set to the synchronous set terminal P16. Receives signal SB. On the other hand, a data output Q is output from the data output terminal P21, a scan-out signal SOUT is output from the scan-out terminal P22, and an inverted data output QB is output from the data output inversion terminal P23.
2to1セレクタ15(第1のセレクタ)の“0”入力及び“1”入力は電源電位(所定の固定値)及びスキャンイン端子P13に接続され、制御入力はスキャンイネーブル端子P14に接続される。そして、2to1セレクタ15はスキャンイネーブル端子P14より得られるスキャンイネーブル信号SENに基づき、電源電位及びスキャンイン端子P13より得られるスキャンイン信号SINのうち一方を選択して出力する第1の選択動作を実行する。
The “0” input and “1” input of the 2to1 selector 15 (first selector) are connected to the power supply potential (predetermined fixed value) and the scan-in terminal P13, and the control input is connected to the scan enable terminal P14. Based on the scan enable signal SEN obtained from the scan enable terminal P14, the
2to1セレクタ14(第2のセレクタ)の“1”入力及び“0”入力はデータ入力端子P12及び2to1セレクタ15の出力に接続され、制御入力は同期セット端子P16に接続される。そして、2to1セレクタ14は、同期セット端子P16より得られる同期セット信号SBに基づき、データ入力端子P12より得られるデータDATA及び2to1セレクタ15の出力のうち一方を選択して、フリップフロップ11への付与データとしてデータ入力端子Dに出力する第2の選択動作を実行する。
The “1” input and “0” input of the 2to1 selector 14 (second selector) are connected to the data input terminal P12 and the output of the
このように、実施の形態2のスキャンFF回路2は、スキャンイネーブル信号SEN及び同期セット信号SBに基づき、2to1セレクタ15及び14を制御することができる。
As described above, the
フリップフロップ11のクロック端子Cはクロック端子P11に接続され、データ入力端子Dは2to1セレクタ14の出力に接続され、データ出力端子Qinはデータ出力端子P21及びスキャンアウト端子P22に共通に接続され、反転データ出力端子QBinはデータ出力反転端子P23に接続される。なお、フリップフロップ11の内部構成は図2で示した構成と同様である。
The clock terminal C of the flip-
(動作)
図9は図8で示した実施の形態2のスキャンFF回路の動作を真理値表形式で示した説明図である。以下、図9を参照しつつ、実施の形態2のスキャンFF回路の動作を説明する。
(Operation)
FIG. 9 is an explanatory diagram showing the operation of the scan FF circuit of the second embodiment shown in FIG. 8 in the form of a truth table. Hereinafter, the operation of the scan FF circuit according to the second embodiment will be described with reference to FIG.
フリップフロップ11はクロック端子P11より得られるクロックCLOCKに同期して動作し、通常動作時に同期セット信号SBを“H”にしてデータ入力端子P12より得られるデータDATAを2to1セレクタ14を介してフリップフロップ11への付与データとしてデータ入力端子Dに出力する。
The flip-
一方、スキャンシフト時はスキャンイネーブル信号SENを“H”、同期セット信号SBを“L”にしてスキャンイン端子P13より得られるスキャンイン信号SINを2to1セレクタ15及び14を介してフリップフロップ11への付与データとしてデータ入力端子Dに出力する。
On the other hand, at the time of scan shift, the scan enable signal SEN is set to “H”, the synchronization set signal SB is set to “L”, and the scan-in signal SIN obtained from the scan-in terminal P13 is sent to the flip-
また、セット時には、スキャンイネーブル信号SENを“L”、同期セット信号SBを“L”にして、電源電位の信号を2to1セレクタ15及び14を介して、フリップフロップ11への付与データとしてデータ入力端子Dに出力する。
At the time of setting, the scan enable signal SEN is set to “L”, the synchronous set signal SB is set to “L”, and the signal of the power supply potential is supplied to the flip-
このように、実施の形態2のスキャンFF回路2は、セット時に論理値“1”である電源電位をフリップフロップ11への付与データとしてデータ入力端子Dに出力する固定値入力機能を有している。
As described above, the
そして、格納データをデータ出力端子P21及びスキャンアウト端子P22よりデータ出力Q及びスキャンアウト信号SOUTとして出力し、格納データの反転データをデータ出力反転端子P23から反転データ出力QBとして出力する。 Then, the stored data is output as the data output Q and the scan-out signal SOUT from the data output terminal P21 and the scan-out terminal P22, and the inverted data of the stored data is output from the data output inversion terminal P23 as the inverted data output QB.
図9に示すように、例えば、通常動作時(同期セット信号SBが“H”の時)にはデータDATAの“L”/“H”によってデータ出力Qの“L”/“H”が決定し、スキャンシフト時(スキャンイネーブル信号SENが“H”、同期セット信号SBが“L”の時)にはスキャンイン信号SINの“L”/“H”によってデータ出力Qの“L”/“H”が決定し、セット時(スキャンイネーブル信号SENが“L”、同期セット信号SBが“L”の時)には、スキャンイン信号SIN及びデータDATAの値に関係なく、データ出力Qは“H”に決定される。 As shown in FIG. 9, for example, during normal operation (when the synchronization set signal SB is “H”), “L” / “H” of the data output Q is determined by “L” / “H” of the data DATA. At the time of scan shift (when the scan enable signal SEN is “H” and the synchronization set signal SB is “L”), the data output Q is “L” / “H” by the scan-in signal SIN “L” / “H”. When “H” is determined and set (when the scan enable signal SEN is “L” and the synchronous set signal SB is “L”), the data output Q is “regardless of the values of the scan-in signal SIN and the data DATA”. H ".
図10は同期セット信号発生回路の内部構成を示す説明図である。同図で示す同期セット信号発生回路を信号設定機能として実施の形態2のスキャンFF回路2は具備する。
FIG. 10 is an explanatory diagram showing the internal configuration of the synchronous set signal generating circuit. The
図10に示すように、同期セット生成回路22より同期セット信号SBの基となる原同期セット信号S22が生成され、ANDゲートG11の一方入力となる。ANDゲートG11の他方入力にはスキャンイネーブル信号SENがインバータG10を介して入力される。なお、スキャンイネーブル信号SENに代えて同様にテスト時に“H”となるテストモード信号TESTMODEを用いても良い。なお、同期セット生成回路22の内部構成に関しては本願発明との関係は希薄であるため説明を省略する。
As shown in FIG. 10, the synchronization set
このような構成の同期セット信号発生回路は、スキャンイネーブル信号SENが“H”とき、同期セット信号SBは強制的に“L”とされるため、図9で示した、スキャンイネーブル信号SENが“H”、同期セット信号SBが“H”の組合せは実施の形態2のスキャンFF回路に対して入力されることはなく、スキャンイネーブル信号SENのみの制御下でスキャンイン信号SINをフリップフロップ11への付与データとしてデータ入力端子Dに出力することができる。
In the synchronous set signal generation circuit having such a configuration, when the scan enable signal SEN is “H”, the synchronous set signal SB is forcibly set to “L”. Therefore, the scan enable signal SEN shown in FIG. The combination of “H” and the synchronization set signal SB “H” is not input to the scan FF circuit of the second embodiment, and the scan-in signal SIN is supplied to the flip-
(効果)
図11及び図12は実施の形態2の効果説明用の回路図である。図11は従来のスキャンFF回路51a,51bを用いて同期セットを行う集積回路を想定している。
(effect)
11 and 12 are circuit diagrams for explaining the effect of the second embodiment. FIG. 11 assumes an integrated circuit that performs synchronous set using conventional
図11に示すように、スキャンFF回路51aのデータ出力端子P21が組合せ回路31の入力の一つに接続され、スキャンアウト端子P22がスキャンFF回路51bのスキャンイン端子P13に接続される。そして、組合せ回路31の出力の一つである出力信号S31がORゲートG24の一方入力となり、ORゲートG24の他方入力が同期セット信号SBがインバータG23を介して得られる信号となり、ORゲートG24の出力がスキャンFF回路51bのデータ入力端子P12に接続される。
As shown in FIG. 11, the data output terminal P21 of the
このような構成の集積回路において、出力信号S31はORゲートG24を経由してスキャンFF回路51bのデータ入力端子P12に付与される。すなわち、スキャンFF回路51bのフリップフロップ61のデータ入力端子Dへの出力信号S31に基づく信号入力は、ORゲートG24及びスキャンFF回路51bの2to1セレクタ62からなる第1のデータ入力信号伝搬経路の通過を要することになる。
In the integrated circuit having such a configuration, the output signal S31 is applied to the data input terminal P12 of the
図12は実施の形態2のスキャンFF回路2a,2bを用いて同期セットを行う集積回路を想定している。なお、スキャンFF回路2a,2bの構成は図8で示したスキャンFF回路2の構成と同様であるため、説明を省略する。
FIG. 12 assumes an integrated circuit that performs synchronous set using the
スキャンFF回路2aのデータ出力端子P21が組合せ回路31の入力の一つに接続され、スキャンアウト端子P22がスキャンFF回路2bのスキャンイン端子P13に接続される。そして、組合せ回路31の出力の一つである出力信号S31がスキャンFF回路2bのデータ入力端子P12に接続される。すなわち、出力信号S31はスキャンFF回路1bのデータDATAとして直接入力される。
The data output terminal P21 of the
このような構成の集積回路において、出力信号S31はデータDATAとして直接にスキャンFF回路2bのデータ入力端子P12に付与される。すなわち、スキャンFF回路2bのフリップフロップ11のデータ入力端子Dへの出力信号S31に基づく信号入力は、スキャンFF回路2bの2to1セレクタ62のみからなる第2のデータ入力信号伝搬経路の通過を要することになる。
In the integrated circuit having such a configuration, the output signal S31 is directly applied to the data input terminal P12 of the scan FF circuit 2b as data DATA. That is, the signal input based on the output signal S31 to the data input terminal D of the flip-
このように、図11及び図12の比較(第1及び第2のデータ入力信号伝搬経路の比較)から明らかなように、セット機能を付加された場合データDATA入力のセットアップタイミング条件に関し、ORゲートG24を設ける必要がない分、実施の形態2のスキャンFF回路2a,2bによって構成される集積回路の方が緩和されるため、ORゲートG24の信号伝搬遅延分の高速化を図ることができる効果を奏する。
Thus, as apparent from the comparison of FIG. 11 and FIG. 12 (comparison of the first and second data input signal propagation paths), the OR gate is related to the setup timing condition of the data DATA input when the set function is added. Since the integrated circuit constituted by the
また、図11及び図12に示すように、スキャンFF回路51aのスキャンアウト端子P22とスキャンFF回路51bのスキャンイン端子P13は直結され、スキャンFF回路2aのスキャンアウト端子P22とスキャンFF回路2bのスキャンイン端子P13間は直結されており、信号伝搬遅延時間は小さいため、スキャンイン信号SINのホールドタイミング条件は厳しくなる。
Also, as shown in FIGS. 11 and 12, the scan-out terminal P22 of the
このため、図11の集積回路の場合、スキャンFF回路51aのスキャンアウト端子P22,スキャンFF回路51bのスキャンイン端子P13との間にバッファを挿入する必要があった。
For this reason, in the integrated circuit of FIG. 11, it is necessary to insert a buffer between the scan-out terminal P22 of the
しかしながら、図11の集積回路において、スキャンFF回路51bは1段の2to1セレクタ62を介してスキャンイン信号SINをフリップフロップ11のデータ入力端子D取り込んでいるのに対し、図12の集積回路では、スキャンFF回路2bは2段の2to1セレクタ15及び14を介してスキャンイン信号SINをフリップフロップ11のデータ入力端子Dに取り込んでいるため、2to1セレクタ1個分の信号伝搬時間が図11の集積回路以上に要することになる。
However, in the integrated circuit of FIG. 11, the
このように、図11及び図12の比較から明らかなように、スキャンイン信号SINのホールドタイミング条件に関し、図11の構成より1段多い、2段の2to1セレクタ15及び14を設ける分、実施の形態2のスキャンFF回路2a,2bによって構成される集積回路の方が緩和されるという効果を奏する。
Thus, as is apparent from the comparison between FIGS. 11 and 12, the hold timing condition of the scan-in signal SIN is one stage higher than the structure of FIG. The integrated circuit constituted by the
(他の態様)
図13は実施の形態2のスキャンFF回路の他の態様を示す回路図である。同図に示すように、図8で示したスキャンFF回路2に比べ、図13で示す他の態様のスキャンFF回路2Xは、2to1セレクタ15に代えてORゲートG12を設けた点が異なる。以下、異なる点を中心に説明する。
(Other aspects)
FIG. 13 is a circuit diagram showing another aspect of the scan FF circuit of the second embodiment. As shown in the figure, the
ORゲートG12は反転一方入力がスキャンイネーブル端子P14に接続され、他方入力がスキャンイン端子P13に接続され、出力が2to1セレクタ14の“0”入力に接続される。
One input of the OR gate G12 is connected to the scan enable terminal P14, the other input is connected to the scan-in terminal P13, and the output is connected to the “0” input of the
ORゲートG12は、スキャンイネーブル信号SENが“H”のとき、スキャンイン信号SINを2to1セレクタ14の“0”入力に付与し、スキャンイネーブル信号SENが“L”のときはスキャンイン信号SINに関係なく固定値“H”を2to1セレクタ14の“0”入力に出力する。したがって、スキャンFF回路2Xは図9で示した真理値表と同様の振る舞い、すなわち、スキャンFF回路2と等価な動作を行うことができる。
The OR gate G12 applies the scan-in signal SIN to the “0” input of the
さらに、図12のスキャンFF回路2a,2bに代えて、スキャンFF回路2Xを用いた場合も、セット機能を付加させた場合のデータDATA入力のセットアップタイミングの緩和及びスキャンイン信号SINのホールドタイミング条件の緩和効果も同様に発揮することができる。
Further, even when the
加えて、スキャンFF回路2Xは、スキャンFF回路2の2to1セレクタ15をORゲートG12により構成することにより、回路構成の簡略化を図ることができる。
In addition, the
<実施の形態3>
(回路構成)
図14はこの発明の実施の形態3である同期リセット端子付きスキャンFF回路の回路構成を示す回路図である。同図に示すように、実施の形態3のスキャンFF回路3はフリップフロップ11及び2to1セレクタ16,17から構成され、実施の形態1と同様、入力部にクロック端子P11、データ入力端子P12、スキャンイン端子P13、スキャンイネーブル端子P14及び同期リセット端子P15を有し、出力部にデータ出力端子P21、スキャンアウト端子P22及びデータ出力反転端子P23を有する。
<
(Circuit configuration)
FIG. 14 is a circuit diagram showing a circuit configuration of a scan FF circuit with a synchronous reset terminal according to the third embodiment of the present invention. As shown in the figure, the
2to1セレクタ17(第1のセレクタ)の“0”入力及び“1”入力は接地レベル及びスキャンイン端子P13に接続され、制御入力は同期リセット端子P15に接続される。そして、2to1セレクタ17は同期リセット端子P15より得られる同期リセット信号RBに基づき、接地レベル及びスキャンイン端子P13より得られるスキャンイン信号SINのうち一方を選択して出力する第1の選択動作を実行する。
The “0” input and “1” input of the 2to1 selector 17 (first selector) are connected to the ground level and scan-in terminal P13, and the control input is connected to the synchronous reset terminal P15. The
2to1セレクタ16(第2のセレクタ)の“0”入力及び“1”入力はデータ入力端子P12及び2to1セレクタ17の出力に接続され、制御入力はスキャンイネーブル端子P14に接続される。そして、2to1セレクタ16は、スキャンイネーブル端子P14より得られるスキャンイネーブル信号SENに基づき、データ入力端子P12より得られるデータDATA及び2to1セレクタ17の出力のうち一方を選択してフリップフロップ11への付与データとしてデータ入力端子Dに出力する第2の選択動作を実行する。
The “0” input and “1” input of the 2to1 selector 16 (second selector) are connected to the data input terminal P12 and the output of the
このように、実施の形態3のスキャンFF回路3は、同期リセット信号RB及びスキャンイネーブル信号SENに基づき、2to1セレクタ17及び16を制御することができる。
As described above, the
フリップフロップ11のクロック端子Cはクロック端子P11に接続され、データ入力端子Dは2to1セレクタ16の出力に接続され、データ出力端子Qinはデータ出力端子P21及びスキャンアウト端子P22に共通に接続され、反転データ出力端子QBinはデータ出力反転端子P23に接続される。
The clock terminal C of the flip-
(動作)
図15は図14で示した実施の形態3のスキャンFF回路の動作を真理値表形式で示した説明図である。また、図16はスキャンイネーブル信号SENと同期リセット信号RBとの関係を表形式で示す説明図である。
(Operation)
FIG. 15 is an explanatory diagram showing the operation of the scan FF circuit of the third embodiment shown in FIG. 14 in the form of a truth table. FIG. 16 is an explanatory diagram showing the relationship between the scan enable signal SEN and the synchronous reset signal RB in a table format.
以下、図15及び図16を参照しつつ、実施の形態3のスキャンFF回路の動作を説明する。 Hereinafter, the operation of the scan FF circuit according to the third embodiment will be described with reference to FIGS. 15 and 16.
フリップフロップ11はクロック端子P11より得られるクロックCLOCKに同期して動作し、通常モードのリセット期間中はスキャンイネーブル信号SENを“H”、同期リセット信号RBを“L”にして、接地レベルの信号を2to1セレクタ17及び2to1セレクタ16を介してフリップフロップ11への付与データとしてデータ入力端子Dに出力する。
The flip-
通常モードのリセット解除期間中(通常動作時)は、スキャンイネーブル信号SENを“L”にしてデータ入力端子P12より得られるデータDATAを2to1セレクタ16を介してフリップフロップ11への付与データとしてデータ入力端子Dに出力する。
During the reset release period of the normal mode (during normal operation), the scan enable signal SEN is set to “L”, and the data DATA obtained from the data input terminal P12 is input as data to be given to the flip-
一方、テストモードのスキャンシフト時はスキャンイネーブル信号SENを“H”、同期リセット信号RBを“H”にしてスキャンイン端子P13より得られるスキャンイン信号SINを2to1セレクタ17及び16を介してフリップフロップ11への付与データとしてデータ入力端子Dに出力する。
On the other hand, at the time of scan shift in the test mode, the scan enable signal SEN is set to “H”, the synchronous reset signal RB is set to “H”, and the scan-in signal SIN obtained from the scan-in terminal P13 is flip-flops via the
なお、テストモードのスキャンテスト時は、通常動作時と同様、スキャンイネーブル信号SENを“L”にして、データ入力端子P12より得られるデータDATAを、2to1セレクタ16を介してフリップフロップ11への付与データとしてデータ入力端子Dに出力する。
Note that, during the scan test in the test mode, as in the normal operation, the scan enable signal SEN is set to “L”, and the data DATA obtained from the data input terminal P12 is applied to the flip-
そして、格納データをデータ出力端子P21及びスキャンアウト端子P22よりデータ出力Q及びスキャンアウト信号SOUTとして出力し、格納データの反転データをデータ出力反転端子P23から反転データ出力QBとして出力する。 Then, the stored data is output as the data output Q and the scan-out signal SOUT from the data output terminal P21 and the scan-out terminal P22, and the inverted data of the stored data is output from the data output inversion terminal P23 as the inverted data output QB.
図15に示すように、例えば、通常動作時(スキャンイネーブル信号SENが“L”の時)にはデータDATAの“L”/“H”によってデータ出力Qの“L”/“H”が決定し、スキャンシフト時(スキャンイネーブル信号SENが“H”、同期リセット信号RBが“H”の時)にはスキャンイン信号SINの“L”/“H”によってデータ出力Qの“L”/“H”が決定し、リセット時(スキャンイネーブル信号SENが“H”、同期リセット信号RBが“L”の時)には、スキャンイン信号SIN及びデータDATAの値に関係なく、データ出力Qは“L”に決定される。 As shown in FIG. 15, for example, during normal operation (when the scan enable signal SEN is “L”), “L” / “H” of the data output Q is determined by “L” / “H” of the data DATA. At the time of scan shift (when the scan enable signal SEN is “H” and the synchronous reset signal RB is “H”), the data output Q is “L” / “H” according to the scan-in signal SIN “L” / “H”. When “H” is determined and reset (when the scan enable signal SEN is “H” and the synchronous reset signal RB is “L”), the data output Q is “0” regardless of the values of the scan-in signal SIN and the data DATA. L ".
図17は同期リセット信号及びスキャンイネーブル信号発生回路の内部構成を示す説明図である。同図で示す信号発生回路を信号設定機能として実施の形態3のスキャンFF回路3は具備する。
FIG. 17 is an explanatory diagram showing the internal configuration of the synchronous reset signal and scan enable signal generation circuit. The
同図に示すように、リセット信号RESETを受けるリセット端子P31と、テスト信号TESTを受けるテスト端子P32と、スキャン信号SCANを受けるスキャン端子P33を有している。 As shown in the figure, it has a reset terminal P31 that receives a reset signal RESET, a test terminal P32 that receives a test signal TEST, and a scan terminal P33 that receives a scan signal SCAN.
テスト信号TESTは“0”のとき通常モードを指示し、“1”のときテストモードを指示する。リセット信号RESETは“0”のときリセット中を指示し、“1”のときリセット解除を指示し、スキャン信号SCANはスキャンシフト時は“0”を指示し、スキャンテスト時は“1”を指示する。 When the test signal TEST is “0”, the normal mode is instructed, and when it is “1”, the test mode is instructed. Reset signal RESET indicates “0” to indicate resetting, “1” indicates reset release, scan signal SCAN indicates “0” during scan shift, and “1” during scan test To do.
ORゲートG22は一方入力がリセット端子P31に接続され、他方入力がテスト端子P32に接続され、ANDゲートG19は反転一方入力がリセット端子P31に接続され、反転他方入力がテスト端子P32に接続され、ANDゲートG20は一方入力がテスト端子P32に接続され、反転他方入力がスキャン端子P33に接続され、ORゲートG21の一方入力がANDゲートG19の出力に接続され、他方入力がANDゲートG20の出力に接続される。 The OR gate G22 has one input connected to the reset terminal P31, the other input connected to the test terminal P32, the AND gate G19 has an inverted one input connected to the reset terminal P31, and an inverted other input connected to the test terminal P32. The AND gate G20 has one input connected to the test terminal P32, the other input connected to the scan terminal P33, one input of the OR gate G21 connected to the output of the AND gate G19, and the other input connected to the output of the AND gate G20. Connected.
そして、ORゲートG22の出力が同期リセット信号RBとなり、ORゲートG21の出力がスキャンイネーブル信号SENとなる。 The output of the OR gate G22 becomes the synchronous reset signal RB, and the output of the OR gate G21 becomes the scan enable signal SEN.
したがって、図17に示す回路は、図16で示す関係の信号を出力する。なお、スキャンテスト時とは、テスト時にデータ入力端子P12より得られるデータDATAをフリップフロップ11に取り込ませることを意味し、スキャンシフト時とは、スキャンイン信号SINをフリップフロップ11に取り込ませ、スキャンアウト信号SOUTを外部に出力することを意味する。
Therefore, the circuit shown in FIG. 17 outputs a signal having the relationship shown in FIG. The scan test means that the data DATA obtained from the data input terminal P12 at the time of the test is taken into the flip-
実施の形態3のスキャンFF回路3は、スキャンシフト時はスキャンイネーブル信号SENが“H”、同期リセット信号RBが“H”に設定されるため、同期リセット信号RBに基づき2to1セレクタ17からスキャンイン信号SINが選択された場合は、必ず、スキャンイネーブル信号SENに基づき2to1セレクタ16からスキャンイン信号SINが選択されるため、同期リセット信号RB及びスキャンイネーブル信号SENの制御下でスキャンイン信号SINをフリップフロップ11への付与データとし入力することができる。
In the
(効果)
図6のスキャンFF回路1a,1bに代えて、実施の形態3のスキャンFF回路3を用いた場合も、実施の形態1と同様、リセット機能を付加させた場合のデータDATA入力のセットアップタイミング条件の緩和及びスキャンイン信号SINのホールドタイミング条件の緩和効果も同様に発揮することができる。
(effect)
When the
(他の態様)
図18は実施の形態3のスキャンFF回路の他の態様を示す回路図である。同図に示すように、図14で示したスキャンFF回路3に比べ、図18で示す他の態様のスキャンFF回路3Xは、2to1セレクタ17に代えてANDゲートG31を設けた点が異なる。以下、異なる点を中心に説明する。
(Other aspects)
FIG. 18 is a circuit diagram showing another aspect of the scan FF circuit of the third embodiment. As shown in the figure, the scan FF circuit 3X of another mode shown in FIG. 18 is different from the
ANDゲートG31は一方入力が同期リセット端子P15に接続され、他方入力がスキャンイン端子P13に接続され、出力が2to1セレクタ16の“1”入力に接続される。
The AND gate G31 has one input connected to the synchronous reset terminal P15, the other input connected to the scan-in terminal P13, and the output connected to the “1” input of the
ANDゲートG31は、同期リセット信号RBが“H”のとき、スキャンイン信号SINを2to1セレクタ16の“1”入力に付与し、同期リセット信号RBが“L”のときはスキャンイン信号SINに関係なく固定値“L”を2to1セレクタ16の“1”入力に付与する。したがって、スキャンFF回路3Xは図15で示した真理値表と同様の振る舞い、すなわち、スキャンFF回路3と等価な動作を行うことができる。
The AND gate G31 applies the scan-in signal SIN to the “1” input of the
さらに、図6のスキャンFF回路1a,1bに代えて、実施の形態3の他の態様のスキャンFF回路3Xを用いた場合も、実施の形態1と同様、リセット機能を付加させた場合のデータDATA入力のセットアップタイミング条件の緩和及びスキャンイン信号SINのホールドタイミング条件の緩和効果も同様に発揮することができる。 Further, when the scan FF circuit 3X according to another aspect of the third embodiment is used in place of the scan FF circuits 1a and 1b in FIG. 6, the data when the reset function is added as in the first embodiment. The relaxation effect of the setup timing condition of the DATA input and the hold timing condition of the scan-in signal SIN can be similarly exhibited.
加えて、スキャンFF回路3Xは、スキャンFF回路3の2to1セレクタ17をANDゲートG31により構成することにより、回路構成の簡略化を図ることができる。
In addition, the scan FF circuit 3X can simplify the circuit configuration by configuring the
<実施の形態4>
(回路構成)
図19はこの発明の実施の形態4である同期セット端子付きスキャンFF回路の回路構成を示す回路図である。同図に示すように、実施の形態4のスキャンFF回路2はフリップフロップ11及び2to1セレクタ18,19から構成され、実施の形態2と同様、入力部にクロック端子P11、データ入力端子P12、スキャンイン端子P13、スキャンイネーブル端子P14及び同期セット端子P16を有し、出力部にデータ出力端子P21、スキャンアウト端子P22及びデータ出力反転端子P23を有する。
<Embodiment 4>
(Circuit configuration)
FIG. 19 is a circuit diagram showing a circuit configuration of a scan FF circuit with a synchronous set terminal according to the fourth embodiment of the present invention. As shown in the figure, the
2to1セレクタ19(第1のセレクタ)の“0”入力及び“1”入力は電源電位及びスキャンイン端子P13に接続され、制御入力は同期セット端子P16に接続される。そして、2to1セレクタ19は同期セット端子P16より得られる同期セット信号SBに基づき、電源電位及びスキャンイン端子P13より得られるスキャンイン信号SINのうち一方を選択して出力する第1の選択動作を実行する。
The “0” input and “1” input of the 2to1 selector 19 (first selector) are connected to the power supply potential and the scan-in terminal P13, and the control input is connected to the synchronous set terminal P16. The
2to1セレクタ18(第2のセレクタ)の“0”入力及び“1”入力はデータ入力端子P12及び2to1セレクタ19の出力に接続され、制御入力はスキャンイネーブル端子P14に接続される。そして、2to1セレクタ18は、スキャンイネーブル端子P14より得られるスキャンイネーブル信号SENに基づき、データ入力端子P12より得られるデータDATA及び2to1セレクタ19の出力のうち一方を選択してフリップフロップ11への付与データとしてデータ入力端子Dに出力する第2の選択動作を実行する。
The “0” input and “1” input of the 2to1 selector 18 (second selector) are connected to the data input terminal P12 and the output of the
このように、実施の形態4のスキャンFF回路4は、同期セット信号SB及びスキャンイネーブル信号SENに基づき、2to1セレクタ19及び18を制御することができる。
As described above, the scan FF circuit 4 according to the fourth embodiment can control the
フリップフロップ11のクロック端子Cはクロック端子P11に接続され、データ入力端子Dは2to1セレクタ18の出力に接続され、データ出力端子Qinはデータ出力端子P21及びスキャンアウト端子P22に共通に接続され、反転データ出力端子QBinはデータ出力反転端子P23に接続される。なお、フリップフロップ11の内部構成は図2で示した構成と同様である。
The clock terminal C of the flip-
(動作)
図20は図19で示した実施の形態4のスキャンFF回路の動作を真理値表形式で示した説明図である。また、図21はスキャンイネーブル信号SENと同期セット信号SBとの関係を表形式で示す説明図である。
(Operation)
FIG. 20 is an explanatory diagram showing the operation of the scan FF circuit of the fourth embodiment shown in FIG. 19 in the form of a truth table. FIG. 21 is an explanatory diagram showing the relationship between the scan enable signal SEN and the synchronization set signal SB in a tabular form.
以下、図20を及び図21参照しつつ、実施の形態4のスキャンFF回路の動作を説明する。 Hereinafter, the operation of the scan FF circuit according to the fourth embodiment will be described with reference to FIGS.
フリップフロップ11はクロック端子P11より得られるクロックCLOCKに同期して動作し、通常モードのセット解除中(通常動作時)にスキャンイネーブル信号SENを“L”にしてデータ入力端子P12より得られるデータDATAを、2to1セレクタ18を介してフリップフロップ11への付与データとしてデータ入力端子Dに出力する。
The flip-
一方、テストモードのスキャンシフト時はスキャンイネーブル信号SENを“H”、同期セット信号SBを“H”にしてスキャンイン端子P13より得られるスキャンイン信号SINを2to1セレクタ19及び18を介してフリップフロップ11への付与データとしてデータ入力端子Dに出力する。
On the other hand, at the time of scan shift in the test mode, the scan enable signal SEN is set to “H”, the synchronization set signal SB is set to “H”, and the scan-in signal SIN obtained from the scan-in terminal P13 is flip-flops via the
また、通常モードのセット期間中であるセット時には、スキャンイネーブル信号SENを“H”、同期セット信号SBを“L”にして、電源電位の信号を2to1セレクタ19及び18を介してフリップフロップ11への付与データとしてデータ入力端子Dに出力する。
At the time of setting during the normal mode setting period, the scan enable signal SEN is set to “H”, the synchronous set signal SB is set to “L”, and the signal of the power supply potential is sent to the flip-
なお、テストモードのスキャンテスト時は、通常動作時と同様、スキャンイネーブル信号SENを“L”にして、データ入力端子P12より得られるデータDATAを2to1セレクタ16を介してフリップフロップ11への付与データとしてデータ入力端子Dに出力する。
During the scan test in the test mode, as in the normal operation, the scan enable signal SEN is set to “L”, and the data DATA obtained from the data input terminal P12 is applied to the flip-
そして、格納データをデータ出力端子P21及びスキャンアウト端子P22よりデータ出力Q及びスキャンアウト信号SOUTとして出力し、格納データの反転データをデータ出力反転端子P23から反転データ出力QBとして出力する。 Then, the stored data is output as the data output Q and the scan-out signal SOUT from the data output terminal P21 and the scan-out terminal P22, and the inverted data of the stored data is output from the data output inversion terminal P23 as the inverted data output QB.
図20に示すように、例えば、通常動作時(スキャンイネーブル信号SENが“L”の時)にはデータDATAの“L”/“H”によってデータ出力Qの“L”/“H”が決定し、スキャンシフト時(スキャンイネーブル信号SENが“H”、同期セット信号SBが“H”の時)にはスキャンイン信号SINの“L”/“H”によってデータ出力Qの“L”/“H”が決定し、セット時(スキャンイネーブル信号SENが“H”、同期セット信号SBが“L”の時)には、スキャンイン信号SIN及びデータDATAの値に関係なく、データ出力Qは“H”に決定される。 As shown in FIG. 20, for example, during normal operation (when the scan enable signal SEN is “L”), “L” / “H” of the data output Q is determined by “L” / “H” of the data DATA. At the time of scan shift (when the scan enable signal SEN is “H” and the synchronization set signal SB is “H”), the data output Q is “L” / “H” by the scan-in signal SIN “L” / “H”. When “H” is determined and set (when the scan enable signal SEN is “H” and the synchronous set signal SB is “L”), the data output Q is “irrespective of the values of the scan-in signal SIN and the data DATA”. H ".
なお、実施の形態4のスキャンFF回路4も、実施の形態3のスキャンFF回路3と同様、図21で示す関係を満足する図17相当の信号発生回路を信号設定機能として実施の形態4のスキャンFF回路4は具備する。
Note that, similarly to the
(効果)
図12のスキャンFF回路2a,2bに代えて、実施の形態4のスキャンFF回路4を用いた場合も、実施の形態2と同様、セット機能を付加させた場合のデータDATA入力のセットアップタイミング条件の緩和及びスキャンイン信号SINのホールドタイミング条件の緩和効果も同様に発揮することができる。
(effect)
When the scan FF circuit 4 according to the fourth embodiment is used in place of the
(他の態様)
図22は実施の形態4のスキャンFF回路の他の態様を示す回路図である。同図に示すように、図19で示したスキャンFF回路4に比べ、図22で示す他の態様のスキャンFF回路4Xは、2to1セレクタ19に代えてORゲートG32を設けた点が異なる。以下、異なる点を中心に説明する。
(Other aspects)
FIG. 22 is a circuit diagram showing another aspect of the scan FF circuit of the fourth embodiment. As shown in the figure, the
ORゲートG32は反転一方入力が同期セット端子P16に接続され、他方入力がスキャンイン端子P13に接続され、出力が2to1セレクタ18の“1”入力に接続される。
One of the inverted inputs of the OR gate G32 is connected to the synchronous set terminal P16, the other input is connected to the scan-in terminal P13, and the output is connected to the “1” input of the
ORゲートG32は、同期セット信号SBが“H”のとき、スキャンイン信号SINを2to1セレクタ18の“1”入力に付与し、同期セット信号SBが“L”のときはスキャンイン信号SINに関係なく固定値“H”を2to1セレクタ18の“1”入力に付与する。したがって、スキャンFF回路4Xは図20で示した真理値表と同様の振る舞い、すなわち、スキャンFF回路4と等価な動作を行うことができる。
The OR gate G32 applies the scan-in signal SIN to the “1” input of the
さらに、図12のスキャンFF回路2a,2bに代えて、実施の形態4のスキャンFF回路4Xを用いた場合も、実施の形態2と同様、セット機能を付加させた場合のデータDATA入力のセットアップタイミング条件の緩和及びスキャンイン信号SINのホールドタイミング条件の緩和効果も同様に発揮することができる。
Further, when the
加えて、スキャンFF回路4Xは、スキャンFF回路4の2to1セレクタ19をORゲートG32により構成することにより、回路構成の簡略化を図ることができる。
In addition, the
<実施の形態5>
(回路構成)
図23はこの発明の実施の形態5である同期リセット端子付きスキャンFF回路の回路構成を示す回路図である。同図に示すように、実施の形態5のスキャンFF回路5はフリップフロップ11及び2to1セレクタ23,24から構成され、実施の形態1と同様、入力部にクロック端子P11、データ入力端子P12、スキャンイン端子P13、スキャンイネーブル端子P14及び同期リセット端子P15を有し、出力部にデータ出力端子P21及びスキャンアウト端子P22を有する。
<Embodiment 5>
(Circuit configuration)
FIG. 23 is a circuit diagram showing a circuit configuration of a scan FF circuit with a synchronous reset terminal according to the fifth embodiment of the present invention. As shown in the figure, the scan FF circuit 5 of the fifth embodiment is composed of a flip-
2to1セレクタ23(第1のセレクタ)の“1”入力及び“0”入力はデータ入力端子P12及びスキャンイン端子P13に接続され、制御入力は同期リセット端子P15が接続される。そして、2to1セレクタ23は、同期リセット端子P15より得られる同期リセット信号RBに基づき、データ入力端子P12より得られるデータDATA及びスキャンイン端子P13より得られるスキャンイン信号SINのうち一方を選択して、フリップフロップ11への付与データとしてデータ入力端子Dに出力する第1の選択動作を実行する。
The “1” input and “0” input of the 2to1 selector 23 (first selector) are connected to the data input terminal P12 and the scan-in terminal P13, and the control input is connected to the synchronous reset terminal P15. Then, the
2to1セレクタ24(第2のセレクタ)の“0”入力及び“1”入力は接地レベル及びフリップフロップ11のデータ出力端子Qinに接続され、制御入力はスキャンイネーブル端子P14に接続され、2to1セレクタ24の出力がスキャンアウト端子P22に接続される。そして、2to1セレクタ24はスキャンイネーブル端子P14より得られるスキャンイネーブル信号SENに基づき、接地レベル及びデータ出力端子Qinより得られるフリップフロップ11のデータ出力Qのうち一方を選択してスキャンアウト端子P22からスキャンアウト信号SOUTとして出力する第2の選択動作を実行する。
The “0” input and “1” input of the 2to1 selector 24 (second selector) are connected to the ground level and the data output terminal Qin of the flip-
このように、実施の形態5のスキャンFF回路5は、同期リセット信号RB及びスキャンイネーブル信号SENに基づき、2to1セレクタ23及び24を制御することができる。
As described above, the scan FF circuit 5 according to the fifth embodiment can control the
フリップフロップ11のクロック端子Cはクロック端子P11に接続され、データ入力端子Dは2to1セレクタ23の出力に接続され、データ出力端子Qinは2to1セレクタ24の“1”入力と共にデータ出力端子P21に接続される。
The clock terminal C of the flip-
(動作)
このような構成において、フリップフロップ11はクロック端子P11より得られるクロックCLOCKに同期して動作する。そして、リセット時は前段のスキャンFF回路5のスキャンイネーブル信号SENを“L”にして、接地レベルの信号を2to1セレクタ24を介してスキャンアウト端子P22からスキャンアウト信号SOUTとして出力する。一方、後段のスキャンFF回路5は同期リセット信号RBを“L”にして、スキャンイン信号SIN(前段のスキャンアウト信号SOUT)を選択する。
(Operation)
In such a configuration, the flip-
その結果、後段のスキャンFF回路4は、スキャンイン端子P13及び2to1セレクタ23を介して接地レベルをフリップフロップ11への付与データとして入力するリセット動作を行うことができる。
As a result, the post-stage scan FF circuit 4 can perform a reset operation in which the ground level is input to the flip-
このように、実施の形態5のスキャンFF回路5は、リセット時に論理値“0”である接地レベルを、後段のスキャンFF回路5のスキャンイン端子P13に入力する固定値入力機能を有している。 As described above, the scan FF circuit 5 according to the fifth embodiment has a fixed value input function for inputting the ground level that is the logical value “0” to the scan-in terminal P13 of the subsequent-stage scan FF circuit 5 at the time of reset. Yes.
通常動作時は、同期リセット信号RBを“H”、スキャンイネーブル信号SENを“H”にしてデータ入力端子P12より得られるデータDATAを2to1セレクタ23を介してフリップフロップ11への付与データとしてデータ入力端子Dに出力し、2to1セレクタ24を介してデータ出力端子Qinをスキャンアウト端子P22に接続する。
During normal operation, the synchronous reset signal RB is set to “H”, the scan enable signal SEN is set to “H”, and data DATA obtained from the data input terminal P12 is input as data to be given to the flip-
一方、スキャンシフト時はスキャンイネーブル信号SENを“H”、同期リセット信号RBを“L”にしてスキャンイン端子P13より得られるスキャンイン信号SINを2to1セレクタ23を介してフリップフロップ11への付与データとしてデータ入力端子Dに出力し、2to1セレクタ24を介してデータ出力端子Qinをスキャンアウト端子P22に接続する。
On the other hand, at the time of scan shift, the scan enable signal SEN is set to “H”, the synchronous reset signal RB is set to “L”, and the scan-in signal SIN obtained from the scan-in terminal P13 is applied to the flip-
そして、格納データをデータ出力端子P21よりデータ出力Qとして出力するとともに、通常動作時及びスキャンシフト時にはスキャンアウト端子P22よりスキャンアウト信号SOUTとして出力する。 The stored data is output as the data output Q from the data output terminal P21, and is output as the scan-out signal SOUT from the scan-out terminal P22 during the normal operation and the scan shift.
(効果)
図6のスキャンFF回路1a,1bに代えて、実施の形態5のスキャンFF回路5を用いた場合は、実施の形態1と同様、2to1セレクタ23のみを介してデータDATAをフリップフロップ11への付与データとしてデータ入力端子Dに出力することができるため、リセット機能を付加させた場合のデータDATA入力のセットアップタイミング条件の緩和を図ることができる。
(effect)
When the scan FF circuit 5 according to the fifth embodiment is used instead of the scan FF circuits 1a and 1b in FIG. 6, the data DATA is transferred to the flip-
さらに、図6のスキャンFF回路1a,1bに代えて、実施の形態5のスキャンFF回路5を用いた場合は、前段のスキャンFF回路5(スキャンFF回路1aの置き換え)のスキャンアウト端子P22が直接に後段のスキャンFF回路5(スキャンFF回路1bの置き換え)のスキャンイン端子P13に接続される場合、前段のスキャンFF回路5の2to1セレクタ24及び後段のスキャンFF回路5の2to1セレクタ23を介して、前段のスキャンFF回路5のフリップフロップ11のデータ出力Qが後段のスキャンFF回路5のフリップフロップ11への付与データとしてとして取り込まれることになり、後段のスキャンFF回路5のスキャンイン信号に対するホールドタイミイング条件の緩和を図ることができる。
Further, when the scan FF circuit 5 according to the fifth embodiment is used in place of the scan FF circuits 1a and 1b in FIG. 6, the scan-out terminal P22 of the preceding scan FF circuit 5 (replacement of the scan FF circuit 1a) is When directly connected to the scan-in terminal P13 of the subsequent scan FF circuit 5 (replacement of the scan FF circuit 1b), the 2 to 1
(他の態様)
図24は実施の形態5のスキャンFF回路の他の態様を示す回路図である。同図に示すように、図23で示したスキャンFF回路5に比べ、図24で示す他の態様のスキャンFF回路5Xは、2to1セレクタ24に代えてANDゲートG33を設けた点が異なる。以下、異なる点を中心に説明する。
(Other aspects)
FIG. 24 is a circuit diagram showing another aspect of the scan FF circuit of the fifth embodiment. As shown in FIG. 23, the
ANDゲートG33は一方入力がフリップフロップ11のデータ出力端子Qinに接続され、他方入力がスキャンイネーブル端子P14に接続され、出力がスキャンアウト端子P22に接続される。
The AND gate G33 has one input connected to the data output terminal Qin of the flip-
ANDゲートG33は、スキャンイネーブル信号SENが“H”のとき、データ出力端子Qinより得られる信号をスキャンアウト端子P22よりスキャンアウト信号SOUTとして出力する。一方、スキャンイネーブル信号SENが“L”のときは、データ出力端子Qinより得られる信号に関係なく固定値“L”をスキャンアウト端子P22からスキャンアウト信号SOUTとして出力する。したがって、スキャンFF回路5XはスキャンFF回路5と等価な動作(リセット動作、通常動作及びスキャンシフト動作)を行うことができる。
When the scan enable signal SEN is “H”, the AND gate G33 outputs a signal obtained from the data output terminal Qin as the scan-out signal SOUT from the scan-out terminal P22. On the other hand, when the scan enable signal SEN is “L”, the fixed value “L” is output as the scan-out signal SOUT from the scan-out terminal P22 regardless of the signal obtained from the data output terminal Qin. Therefore, the
さらに、図6のスキャンFF回路1a,1bに代えて、実施の形態5の他の態様のスキャンFF回路5Xを用いた場合も、スキャンFF回路5を用いた場合と同様、リセット機能を付加させた場合のデータDATA入力のセットアップタイミング条件の緩和及びスキャンイン信号SINのホールドタイミング条件の緩和効果も同様に発揮することができる。
Further, when the
加えて、スキャンFF回路5Xは、スキャンFF回路5の2to1セレクタ24をANDゲートG33により構成することにより、回路構成の簡略化を図ることができる。
In addition, the
<実施の形態6>
(回路構成)
図25はこの発明の実施の形態6である同期セット端子付きスキャンFF回路の回路構成を示す回路図である。同図に示すように、実施の形態6のスキャンFF回路6はフリップフロップ11及び2to1セレクタ25,26から構成され、実施の形態2と同様、入力部にクロック端子P11、データ入力端子P12、スキャンイン端子P13、スキャンイネーブル端子P14及び同期セット端子P16を有し、出力部にデータ出力端子P21及びスキャンアウト端子P22を有する。
<Embodiment 6>
(Circuit configuration)
FIG. 25 is a circuit diagram showing a circuit configuration of a scan FF circuit with a synchronous set terminal according to the sixth embodiment of the present invention. As shown in the figure, the scan FF circuit 6 of the sixth embodiment is composed of a flip-
2to1セレクタ25(第1のセレクタ)の“1”入力及び“0”入力はデータ入力端子P12及びスキャンイン端子P13に接続され、制御入力は同期セット端子P16が接続される。そして、2to1セレクタ25は、同期セット端子P16より得られる同期セット信号SBに基づき、データ入力端子P12より得られるデータDATA及びスキャンイン端子P13より得られるスキャンイン信号SINのうち一方を選択して、フリップフロップ11への付与データとしてデータ入力端子Dに出力する第1の選択動作を実行する。
The “1” input and “0” input of the 2to1 selector 25 (first selector) are connected to the data input terminal P12 and the scan-in terminal P13, and the control input is connected to the synchronous set terminal P16. The
2to1セレクタ26(第2のセレクタ)の“0”入力及び“1”入力は電源電位及びフリップフロップ11のデータ出力端子Qinに接続され、制御入力はスキャンイネーブル端子P14に接続され、2to1セレクタ26の出力がスキャンアウト端子P22に接続される。そして、2to1セレクタ26はスキャンイネーブル端子P14より得られるスキャンイネーブル信号SENに基づき、電源電位及びデータ出力端子Qinより得られるフリップフロップ11のデータ出力Qのうち一方を選択してスキャンアウト端子P22からスキャンアウト信号SOUTとして出力する第2の選択動作を実行する。
The “0” input and “1” input of the 2to1 selector 26 (second selector) are connected to the power supply potential and the data output terminal Qin of the flip-
このように、実施の形態6のスキャンFF回路6は、同期セット信号SB及びスキャンイネーブル信号SENに基づき、2to1セレクタ25及び26を制御することができる。
As described above, the scan FF circuit 6 according to the sixth embodiment can control the
フリップフロップ11のクロック端子Cはクロック端子P11に接続され、データ入力端子Dは2to1セレクタ25の出力に接続され、データ出力端子Qinは2to1セレクタ26の“1”入力と共にデータ出力端子P21に接続される。
The clock terminal C of the flip-
(動作)
このような構成において、フリップフロップ11はクロック端子P11より得られるクロックCLOCKに同期して動作する。そして、セット時は前段のスキャンFF回路6のスキャンイネーブル信号SENを“L”にして、電源電位の信号を2to1セレクタ26を介してスキャンアウト端子P22からスキャンアウト信号SOUTとして入力する。一方、後段のスキャンFF回路6の同期セット信号SBを“L”にしてデータ入力端子P12より得られるスキャンイン信号SIN(前段のスキャンアウト信号SOUT)を選択する。
(Operation)
In such a configuration, the flip-
その結果、後段のスキャンFF回路6のフリップフロップ11への付与データとしてして電源電位を入力するというセット動作を実行することができる。
As a result, it is possible to execute a set operation in which a power supply potential is input as data to be applied to the flip-
このように、実施の形態6のスキャンFF回路6は、セット時に論理値“1”である電源電位を、次段のスキャンFF回路のスキャンイン端子P13に入力する固定値入力機能を有している。 As described above, the scan FF circuit 6 of the sixth embodiment has a fixed value input function for inputting the power supply potential having the logical value “1” to the scan-in terminal P13 of the next-stage scan FF circuit at the time of setting. Yes.
通常動作時は、同期セット信号SBを“H”、スキャンイネーブル信号SENを“H”にしてデータ入力端子P12より得られるデータDATAを2to1セレクタ25を介してフリップフロップ11への付与データとしてデータ入力端子Dに出力し、2to1セレクタ26を介してデータ出力端子Qinをスキャンアウト端子P22に接続する。
During normal operation, the synchronization set signal SB is set to “H”, the scan enable signal SEN is set to “H”, and data DATA obtained from the data input terminal P12 is input as data to be given to the flip-
一方、スキャンシフト時はスキャンイネーブル信号SENを“H”、同期セット信号SBを“L”にしてスキャンイン端子P13より得られるスキャンイン信号SINを2to1セレクタ25を介してフリップフロップ11への付与データとしてデータ入力端子Dに出力し、2to1セレクタ26を介してデータ出力端子Qinをスキャンアウト端子P22に接続する。
On the other hand, at the time of scan shift, the scan enable signal SEN is set to “H”, the synchronization set signal SB is set to “L”, and the scan-in signal SIN obtained from the scan-in terminal P13 is applied to the flip-
そして、格納データをデータ出力端子P21よりデータ出力Qとして出力するとともに、通常動作時及びスキャンシフト時にはスキャンアウト端子P22よりスキャンアウト信号SOUTとして出力する。 The stored data is output as the data output Q from the data output terminal P21, and is output as the scan-out signal SOUT from the scan-out terminal P22 during the normal operation and the scan shift.
(効果)
図12のスキャンFF回路2a,2bに代えて、実施の形態6のスキャンFF回路6を用いた場合は、実施の形態2と同様、2to1セレクタ25のみを介してデータDATAをフリップフロップ11への付与データとしてデータ入力端子Dに出力することができるため、セット機能を付加させた場合のデータDATA入力のセットアップタイミング条件の緩和を図ることができる。
(effect)
When the scan FF circuit 6 according to the sixth embodiment is used instead of the
さらに、図12のスキャンFF回路2a,2bに代えて、実施の形態6のスキャンFF回路6を用いた場合は、前段のスキャンFF回路6(スキャンFF回路2aの置き換え)のスキャンアウト端子P22が直接に後段のスキャンFF回路6(スキャンFF回路2bの置き換え)のスキャンイン端子P13に接続される場合、前段のスキャンFF回路6の2to1セレクタ26及び後段のスキャンFF回路6の2to1セレクタ25を介して、前段のスキャンFF回路6のフリップフロップ11のデータ出力Qが後段のスキャンFF回路6のフリップフロップ11への付与データとして取り込まれることになり、後段のスキャンFF回路6のスキャンイン信号に対するホールドタイミイング条件の緩和を図ることができる。
Furthermore, when the scan FF circuit 6 according to the sixth embodiment is used instead of the
(他の態様)
図26は実施の形態6のスキャンFF回路の他の態様を示す回路図である。同図に示すように、図25で示したスキャンFF回路6に比べ、図26で示す他の態様のスキャンFF回路6Xは、2to1セレクタ26に代えてORゲートG34を設けた点が異なる。以下、異なる点を中心に説明する。
(Other aspects)
FIG. 26 is a circuit diagram showing another aspect of the scan FF circuit of the sixth embodiment. As shown in FIG. 25, the
ORゲートG34は一方入力がフリップフロップ11のデータ出力端子Qinに接続され、反転他方入力がスキャンイネーブル端子P14に接続され、出力がスキャンアウト端子P22に接続される。
The OR gate G34 has one input connected to the data output terminal Qin of the flip-
ORゲートG34は、スキャンイネーブル信号SENが“H”のとき、データ出力端子Qinより得られる信号をスキャンアウト端子P22よりスキャンアウト信号SOUTとして出力する。一方、スキャンイネーブル信号SENが“L”のときは、データ出力端子Qinより得られる信号に関係なく固定値“H”をスキャンアウト端子P22からスキャンアウト信号SOUTとして出力する。したがって、スキャンFF回路6XはスキャンFF回路6と等価な動作(セット動作、通常動作及びスキャンシフト動作)を行うことができる。
The OR gate G34 outputs a signal obtained from the data output terminal Qin as the scan-out signal SOUT from the scan-out terminal P22 when the scan enable signal SEN is “H”. On the other hand, when the scan enable signal SEN is “L”, the fixed value “H” is output as the scan-out signal SOUT from the scan-out terminal P22 regardless of the signal obtained from the data output terminal Qin. Accordingly, the
さらに、図12のスキャンFF回路2a,2bに代えて、実施の形態6の他の態様のスキャンFF回路6Xを用いた場合も、スキャンFF回路6を用いた場合と同様、セット機能を付加させた場合のデータDATA入力のセットアップタイミング条件の緩和及びスキャンイン信号SINのホールドタイミング条件の緩和効果も同様に発揮することができる。
Further, in place of the
加えて、スキャンFF回路6Xは、スキャンFF回路6の2to1セレクタ26をORゲートG34により構成することにより、回路構成の簡略化を図ることができる。
In addition, the
<実施の形態7>
(回路構成)
図27はこの発明の実施の形態7である同期リセット端子付きスキャンFF回路の回路構成を示す回路図である。同図に示すように、実施の形態7のスキャンFF回路7はフリップフロップ11及び2to1セレクタ27,28から構成され、実施の形態5と同様、入力部にクロック端子P11、データ入力端子P12、スキャンイン端子P13、スキャンイネーブル端子P14及び同期リセット端子P15を有し、出力部にデータ出力端子P21及びスキャンアウト端子P22を有する。
<
(Circuit configuration)
FIG. 27 is a circuit diagram showing a circuit configuration of a scan FF circuit with a synchronous reset terminal according to the seventh embodiment of the present invention. As shown in the figure, the
2to1セレクタ27(第1のセレクタ)の“0”入力及び“1”入力はデータ入力端子P12及びスキャンイン端子P13に接続され、制御入力はスキャンイネーブル端子P14が接続される。そして、2to1セレクタ27はスキャンイネーブル端子P14より得られるスキャンイネーブル信号SENに基づき、データ入力端子P12により得られるデータDATA及びスキャンイン端子P13より得られるスキャンイン信号SINのうち一方を選択してフリップフロップ11への付与データとしてデータ入力端子Dに出力する第1の選択動作を実行する。
The “0” input and “1” input of the 2to1 selector 27 (first selector) are connected to the data input terminal P12 and the scan-in terminal P13, and the scan enable terminal P14 is connected to the control input. The
2to1セレクタ28(第2のセレクタ)の“0”入力及び“1”入力は接地レベル及びフリップフロップ11のデータ出力端子Qinに接続され、制御入力は同期リセット端子P15に接続され、2to1セレクタ28の出力がスキャンアウト端子P22に接続される。そして、2to1セレクタ28は、同期リセット端子P15より得られる同期リセット信号RBに基づき、フリップフロップ11のデータ出力端子Qin12より得られるデータ出力Q及び接地レベルのうち一方を選択してスキャンアウト端子P22からスキャンアウト信号SOUTとして出力する第2の選択動作を実行する。
The “0” input and “1” input of the 2to1 selector 28 (second selector) are connected to the ground level and the data output terminal Qin of the flip-
このように、実施の形態7のスキャンFF回路7は、スキャンイネーブル信号SEN及び同期リセット信号RBに基づき、2to1セレクタ27及び28を制御することができる。
As described above, the
フリップフロップ11のクロック端子Cはクロック端子P11に接続され、データ入力端子Dは2to1セレクタ27の出力に接続され、データ出力端子Qinは2to1セレクタ28の“1”入力とともにデータ出力端子P21に接続される。
The clock terminal C of the flip-
(動作)
このような構成において、フリップフロップ11はクロック端子P11より得られるクロックCLOCKに同期して動作する。そして、リセット時は前段のスキャンFF回路7は同期リセット信号RBを“L”にして、接地レベルの信号を2to1セレクタ28を介してスキャンアウト端子P22からスキャンアウト信号SOUTとして入力する。一方、後段のスキャンFF回路7はスキャンイネーブル信号SENを“H”にしてスキャンイン信号SIN(前段のスキャンFF回路7のスキャンアウト信号SOUT)を選択する。
(Operation)
In such a configuration, the flip-
その結果、後段のスキャンFF回路7のフリップフロップ11への付与データとして接地レベルを付与することができるリセット動作が行える。
As a result, it is possible to perform a reset operation that can provide a ground level as data to be applied to the flip-
通常動作時は、同期リセット信号RBを“H”、スキャンイネーブル信号SENを“L”にしてデータ入力端子P12より得られるデータDATAを2to1セレクタ27を介してフリップフロップ11への付与データとしてデータ入力端子Dに出力し、2to1セレクタ28を介してデータ出力端子Qinをスキャンアウト端子P22に接続する。
During normal operation, the synchronous reset signal RB is set to “H”, the scan enable signal SEN is set to “L”, and the data DATA obtained from the data input terminal P12 is input as data to be given to the flip-
一方、スキャンシフト時はスキャンイネーブル信号SENを“H”、同期リセット信号RBを“H”にしてスキャンイン端子P13より得られるスキャンイン信号SINを2to1セレクタ27を介してフリップフロップ11への付与データとしてデータ入力端子Dに出力し、2to1セレクタ28を介してデータ出力端子Qinをスキャンアウト端子P22に接続する。
On the other hand, at the time of scan shift, the scan enable signal SEN is set to “H”, the synchronous reset signal RB is set to “H”, and the scan-in signal SIN obtained from the scan-in terminal P13 is applied to the flip-
そして、格納データをデータ出力端子P21よりデータ出力Qとして出力するとともに、通常動作時及びスキャンシフト時にはスキャンアウト端子P22よりスキャンアウト信号SOUTとして出力する。 The stored data is output as the data output Q from the data output terminal P21, and is output as the scan-out signal SOUT from the scan-out terminal P22 during the normal operation and the scan shift.
(効果)
図6のスキャンFF回路1a,1bに代えて、実施の形態7のスキャンFF回路7を用いた場合も、実施の形態5と同様、リセット機能を付加させた場合のデータDATA入力のセットアップタイミング条件の緩和及びスキャンイン信号SINのホールドタイミング条件の緩和効果も同様に発揮することができる。
(effect)
When the
(他の態様)
図28は実施の形態7のスキャンFF回路の他の態様を示す回路図である。同図に示すように、図27で示したスキャンFF回路7に比べ、図28で示す他の態様のスキャンFF回路7Xは、2to1セレクタ28に代えてANDゲートG35を設けた点が異なる。以下、異なる点を中心に説明する。
(Other aspects)
FIG. 28 is a circuit diagram showing another aspect of the scan FF circuit of the seventh embodiment. As shown in FIG. 27, the
ANDゲートG35は一方入力がフリップフロップ11のデータ出力端子Qinに接続され、他方入力が同期リセット端子P15に接続され、出力がスキャンアウト端子P22に接続される。
The AND gate G35 has one input connected to the data output terminal Qin of the flip-
ANDゲートG35は、同期リセット信号RBが“H”のとき、データ出力端子Qinより得られる信号をスキャンアウト端子P22よりスキャンアウト信号SOUTとして出力する。一方、同期リセット信号RBが“L”のときは、データ出力端子Qinより得られる信号に関係なく固定値“L”をスキャンアウト端子P22からスキャンアウト信号SOUTとして出力する。したがって、スキャンFF回路7XはスキャンFF回路7と等価な動作(リセット動作、通常動作及びスキャンシフト動作)を行うことができる。
The AND gate G35 outputs a signal obtained from the data output terminal Qin as the scan-out signal SOUT from the scan-out terminal P22 when the synchronous reset signal RB is “H”. On the other hand, when the synchronous reset signal RB is “L”, the fixed value “L” is output as the scan-out signal SOUT from the scan-out terminal P22 regardless of the signal obtained from the data output terminal Qin. Accordingly, the
さらに、図6のスキャンFF回路1a,1bに代えて、実施の形態7の他の態様のスキャンFF回路7Xを用いた場合も、スキャンFF回路7を用いた場合と同様、リセット機能を付加させた場合のデータDATA入力のセットアップタイミング条件の緩和及びスキャンイン信号SINのホールドタイミング条件の緩和効果も同様に発揮することができる。
Further, when the
加えて、スキャンFF回路7Xは、スキャンFF回路7の2to1セレクタ28をANDゲートG35により構成することにより、回路構成の簡略化を図ることができる。
In addition, the
<実施の形態8>
(回路構成)
図29はこの発明の実施の形態8である同期セット端子付きスキャンFF回路の回路構成を示す回路図である。同図に示すように、実施の形態8のスキャンFF回路8はフリップフロップ11及び2to1セレクタ29,30から構成され、実施の形態6と同様、入力部にクロック端子P11、データ入力端子P12、スキャンイン端子P13、スキャンイネーブル端子P14及び同期セット端子P16を有し、出力部にデータ出力端子P21及びスキャンアウト端子P22を有する。
<Eighth embodiment>
(Circuit configuration)
FIG. 29 is a circuit diagram showing a circuit configuration of a scan FF circuit with a synchronous set terminal according to an eighth embodiment of the present invention. As shown in the figure, the
2to1セレクタ29(第1のセレクタ)の“0”入力及び“1”入力はデータ入力端子P12及びスキャンイン端子P13に接続され、制御入力はスキャンイネーブル端子P14が接続される。そして、2to1セレクタ29はスキャンイネーブル端子P14より得られるスキャンイネーブル信号SENに基づき、データ入力端子P12により得られるデータDATA及びスキャンイン端子P13より得られるスキャンイン信号SINのうち一方を選択してフリップフロップ11への付与データとしてデータ入力端子Dに出力する第1の選択動作を実行する。
The “0” input and “1” input of the 2to1 selector 29 (first selector) are connected to the data input terminal P12 and the scan-in terminal P13, and the scan enable terminal P14 is connected to the control input. The
2to1セレクタ30(第2のセレクタ)の“0”入力及び“1”入力は電源電位及びフリップフロップ11のデータ出力端子Qinに接続され、制御入力は同期セット端子P16に接続され、2to1セレクタ30の出力がスキャンアウト端子P22に接続される。そして、2to1セレクタ30は、同期セット端子P16より得られる同期セット信号SBに基づき、フリップフロップ11のデータ出力端子Qinより得られるデータ出力Q及び電源電位のうち一方を選択してスキャンアウト端子P22からスキャンアウト信号SOUTとして出力する第2の選択動作を実行する。
The “0” input and “1” input of the 2to1 selector 30 (second selector) are connected to the power supply potential and the data output terminal Qin of the flip-
このように、実施の形態8のスキャンFF回路8は、スキャンイネーブル信号SEN及び同期セット信号SBに基づき、2to1セレクタ29及び30を制御することができる。
As described above, the
フリップフロップ11のクロック端子Cはクロック端子P11に接続され、データ入力端子Dは2to1セレクタ29の出力に接続され、データ出力端子Qinは2to1セレクタ30の“1”入力とともにデータ出力端子P21に接続される。
The clock terminal C of the flip-
(動作)
このような構成において、フリップフロップ11はクロック端子P11より得られるクロックCLOCKに同期して動作する。そして、セット時は前段のスキャンFF回路8は同期セット信号SBを“L”にして、電源電位の信号を2to1セレクタ30を介してスキャンアウト端子P22からスキャンアウト信号SOUTとして入力する。一方、後段のスキャンFF回路8はスキャンイネーブル信号SENを“H”にして、スキャンイン信号SIN(前段のスキャンアウト信号SOUT)を選択する。
(Operation)
In such a configuration, the flip-
その結果、後段のスキャンFF回路8のフリップフロップ11への付与データとして電源電位を付与するセット動作を行うことができる。
As a result, it is possible to perform a setting operation in which a power supply potential is applied as applied data to the flip-
通常動作時は、同期セット信号SBを“H”、スキャンイネーブル信号SENを“L”にしてデータ入力端子P12より得られるデータDATAを2to1セレクタ29を介してフリップフロップ11への付与データとしてデータ入力端子Dに出力し、2to1セレクタ30を介してデータ出力端子Qinをスキャンアウト端子P22に接続する。
During normal operation, the synchronization set signal SB is set to “H”, the scan enable signal SEN is set to “L”, and data DATA obtained from the data input terminal P12 is input as data to be given to the flip-
一方、スキャンシフト時はスキャンイネーブル信号SENを“H”、同期セット信号SBを“H”にしてスキャンイン端子P13より得られるスキャンイン信号SINを2to1セレクタ29を介してフリップフロップ11への付与データとしてデータ入力端子Dに出力し、2to1セレクタ30を介してデータ出力端子Qinをスキャンアウト端子P22に接続する。
On the other hand, at the time of scan shift, the scan enable signal SEN is set to “H”, the synchronization set signal SB is set to “H”, and the scan-in signal SIN obtained from the scan-in terminal P13 is applied to the flip-
そして、格納データをデータ出力端子P21よりデータ出力Qとして出力するとともに、通常動作時及びスキャンシフト時にはスキャンアウト端子P22よりスキャンアウト信号SOUTとして出力する。 The stored data is output as the data output Q from the data output terminal P21, and is output as the scan-out signal SOUT from the scan-out terminal P22 during the normal operation and the scan shift.
(効果)
図12のスキャンFF回路2a,2bに代えて、実施の形態8のスキャンFF回路8を用いた場合も、実施の形態6と同様、セット機能を付加させた場合のデータDATA入力のセットアップタイミング条件の緩和及びスキャンイン信号SINのホールドタイミング条件の緩和効果も同様に発揮することができる。
(effect)
When the
(他の態様)
図30は実施の形態8のスキャンFF回路の他の態様を示す回路図である。同図に示すように、図29で示したスキャンFF回路8に比べ、図30で示す他の態様のスキャンFF回路8Xは、2to1セレクタ30に代えてORゲートG36を設けた点が異なる。以下、異なる点を中心に説明する。
(Other aspects)
FIG. 30 is a circuit diagram showing another aspect of the scan FF circuit according to the eighth embodiment. As compared to the
ORゲートG36は一方入力がフリップフロップ11のデータ出力端子Qinに接続され、反転他方入力が同期セット端子P16に接続され、出力がスキャンアウト端子P22に接続される。
The OR gate G36 has one input connected to the data output terminal Qin of the flip-
ORゲートG36は、同期セット信号SBが“H”のとき、データ出力端子Qinより得られる信号をスキャンアウト端子P22よりスキャンアウト信号SOUTとして出力する。一方、同期セット信号SBが“L”のときは、データ出力端子Qinより得られる信号に関係なく固定値“H”をスキャンアウト端子P22からスキャンアウト信号SOUTとして出力する。したがって、スキャンFF回路8XはスキャンFF回路8と等価な動作(セット動作、通常動作及びスキャンシフト動作)を行うことができる。
When the synchronization set signal SB is “H”, the OR gate G36 outputs a signal obtained from the data output terminal Qin as the scan-out signal SOUT from the scan-out terminal P22. On the other hand, when the synchronization set signal SB is “L”, the fixed value “H” is output as the scan-out signal SOUT from the scan-out terminal P22 regardless of the signal obtained from the data output terminal Qin. Therefore, the
さらに、図12のスキャンFF回路2a,2bに代えて、実施の形態8の他の態様のスキャンFF回路8Xを用いた場合も、スキャンFF回路8を用いた場合と同様、セット機能を付加させた場合のデータDATA入力のセットアップタイミング条件の緩和及びスキャンイン信号SINのホールドタイミング条件の緩和効果も同様に発揮することができる。
Further, when the
加えて、スキャンFF回路8Xは、スキャンFF回路8の2to1セレクタ30をORゲートG36により構成することにより、回路構成の簡略化を図ることができる。
In addition, the
<実施の形態9>
(回路構成)
図31はこの発明の実施の形態9である同期リセット端子付きスキャンFF回路の回路構成を示す回路図である。同図に示すように、実施の形態9のスキャンFF回路9はフリップフロップ11及び3to1セレクタ33(セレクタ)から構成され、入力部にクロック端子P11、データ入力端子P120,P121(第1及び第2のデータ入力端子)、スキャンイン端子P13及びスキャンイネーブル端子P14を有し、出力部にデータ出力端子P21、スキャンアウト端子P22及びデータ出力反転端子P23を有する。
<Embodiment 9>
(Circuit configuration)
FIG. 31 is a circuit diagram showing a circuit configuration of a scan FF circuit with a synchronous reset terminal according to the ninth embodiment of the present invention. As shown in the figure, the scan FF circuit 9 of the ninth embodiment is composed of a flip-
クロック端子P11はクロックCLOCKを受け、データ入力端子P120はデータDATA0(第1の入力データ)を受け、データ入力端子P121はデータDATA1(第2の入力データ)を受け、スキャンイン端子P13はスキャンイン信号SINを受け、スキャンイネーブル端子P14はスキャンイネーブル信号SENを受ける。一方、データ出力端子P21からデータ出力Q、スキャンアウト端子P22からスキャンアウト信号SOUT、データ出力反転端子P23から反転データ出力QBがそれぞれ出力される。 The clock terminal P11 receives the clock CLOCK, the data input terminal P120 receives data DATA0 (first input data), the data input terminal P121 receives data DATA1 (second input data), and the scan-in terminal P13 scan-in. In response to the signal SIN, the scan enable terminal P14 receives the scan enable signal SEN. On the other hand, a data output Q is output from the data output terminal P21, a scan-out signal SOUT is output from the scan-out terminal P22, and an inverted data output QB is output from the data output inversion terminal P23.
3to1セレクタ33“01の”入力、“00”入力及び“1X”入力はデータ入力端子P120、接地レベル及びスキャンイン端子P13に接続され、2つの制御入力はスキャンイネーブル端子P14及びデータ入力端子P121に接続される。
The
フリップフロップ11のクロック端子Cはクロック端子P11に接続され、データ入力端子Dは3to1セレクタ33の出力に接続され、データ出力端子Qinはデータ出力端子P21及びスキャンアウト端子P22に共通に接続され、反転データ出力端子QBinはデータ出力反転端子P23に接続される。
The clock terminal C of the flip-
(動作)
図32は図31で示した実施の形態9のスキャンFF回路の動作を真理値表形式で示した説明図である。以下、図32を参照しつつ、実施の形態9のスキャンFF回路の動作を説明する。
(Operation)
FIG. 32 is an explanatory diagram showing the operation of the scan FF circuit of the ninth embodiment shown in FIG. 31 in the form of a truth table. Hereinafter, the operation of the scan FF circuit according to the ninth embodiment will be described with reference to FIG.
フリップフロップ11はクロック端子P11より得られるクロックCLOCKに同期して動作し、通常動作時にスキャンイネーブル信号SENを“L”、データDATA1を“H”(“01”の制御入力)にしてデータ入力端子P120より得られるデータDATA0を3to1セレクタ33を介してフリップフロップ11への付与データとしてデータ入力端子Dに出力する。
The flip-
一方、スキャンシフト時はスキャンイネーブル信号SENを“H”(“1X”の制御入力)にしてスキャンイン端子P13より得られるスキャンイン信号SINを3to1セレクタ33を介してフリップフロップ11への付与データとしてデータ入力端子Dに出力する。
On the other hand, at the time of scan shift, the scan enable signal SEN is set to “H” (control input of “1X”), and the scan-in signal SIN obtained from the scan-in terminal P13 is provided as data to be given to the flip-
また、リセット時には、スキャンイネーブル信号SENを“L”、データDATA1を“L”(“00”の制御入力)にして、接地レベルの信号を3to1セレクタ33を介してフリップフロップ11への付与データとしてデータ入力端子Dに出力する。
Further, at the time of reset, the scan enable signal SEN is set to “L”, the data DATA1 is set to “L” (control input of “00”), and a ground level signal is provided as data to be given to the flip-
そして、フリップフロップ11の格納データをデータ出力端子P21及びスキャンアウト端子P22よりデータ出力Q及びスキャンアウト信号SOUTとして出力し、格納データの反転データをデータ出力反転端子P23から反転データ出力QBとして出力する。
Then, the data stored in the flip-
図32に示すように、例えば、通常動作時(スキャンイネーブル信号SENが“L”、データDATA1が“H”の時)にはデータDATA0の“L”/“H”によってデータ出力Qの“L”/“H”が決定し、スキャンシフト時(スキャンイネーブル信号SENが“H”の時)にはスキャンイン信号SINの“L”/“H”によってデータ出力Qの“L”/“H”が決定し、リセット時(スキャンイネーブル信号SENが“L”、データDATA1が“L”の時)には、スキャンイン信号SIN及びデータDATAの値に関係なく、データ出力Qは“L”に決定される。 As shown in FIG. 32, for example, in the normal operation (when the scan enable signal SEN is “L” and the data DATA1 is “H”), the data output Q is “L” by “L” / “H” of the data DATA0. "/" H is determined, and at the time of scan shift (when the scan enable signal SEN is "H"), the data output Q is "L" / "H" by the scan-in signal SIN "L" / "H". When reset (when the scan enable signal SEN is “L” and the data DATA1 is “L”), the data output Q is determined to be “L” regardless of the values of the scan-in signal SIN and the data DATA. Is done.
(効果)
図33及び図34は実施の形態9の効果説明用の回路図である。図33は従来のスキャンFF回路51a,51bを用いて同期リセットを行う集積回路を想定している。なお、スキャンFF回路51a,51bの構成は図43で示したスキャンFF回路51の構成と同様であるため、説明を省略する。
(effect)
33 and 34 are circuit diagrams for explaining the effect of the ninth embodiment. FIG. 33 assumes an integrated circuit that performs synchronous reset using conventional
図33に示すように、スキャンFF回路51aのデータ出力端子P21が組合せ回路31の入力の一つに接続され、スキャンアウト端子P22がスキャンFF回路51bのスキャンイン端子P13に接続される。
As shown in FIG. 33, the data output terminal P21 of the
そして、組合せ回路31の出力の一つである出力信号S31がANDゲートG13の他方入力となり、ANDゲートG13の一方入力が別の組合せ回路32の出力の一つである出力信号S32となる。ANDゲートG13の出力がスキャンFF回路51bのデータ入力端子P12に接続される。
An output signal S31 that is one of the outputs of the
このような構成の集積回路において、出力信号S31はANDゲートG13を経由してスキャンFF回路51bのデータ入力端子P12に付与される。すなわち、スキャンFF回路51bのフリップフロップ61のデータ入力端子Dへの出力信号S31に基づく信号入力は、ANDゲートG13及びスキャンFF回路51bの2to1セレクタ62からなる第1のデータ入力信号伝搬経路の通過を要することになる。
In the integrated circuit having such a configuration, the output signal S31 is applied to the data input terminal P12 of the
図34は従来のスキャンFF回路51aと実施の形態9のスキャンFF回路9を用いて同期リセットを行う集積回路を想定している。
FIG. 34 assumes an integrated circuit that performs synchronous reset using the conventional
図35はスキャンFF回路9内の3to1セレクタ33の詳細を示す回路図である。同図に示すように、3to1セレクタ33は2to1セレクタ42(第1のセレクタ)と,インバータG14、ANDゲートG15及び2to1セレクタ41からなる第2のセレクタとから構成される。
FIG. 35 is a circuit diagram showing details of the
インバータG14の入力はスキャンイネーブル端子P14に接続され、ANDゲートG15の一方入力はインバータG14の出力に接続され、他方入力はデータ入力端子P121に接続される。 The input of the inverter G14 is connected to the scan enable terminal P14, one input of the AND gate G15 is connected to the output of the inverter G14, and the other input is connected to the data input terminal P121.
2to1セレクタ42の“0”入力は接地レベルに接続され、“1”入力はスキャンイン端子P13に接続され、制御入力はスキャンイネーブル端子P14に接続される。そして、2to1セレクタ42はスキャンイネーブル端子P14より得られるスキャンイネーブル信号SENに基づき、接地レベル及びスキャンイン端子P13より得られるスキャンイン信号SINのうち一方を選択して出力する第1の選択動作を実行する。
The “0” input of the
2to1セレクタ41の“1”入力はデータ入力端子P120に接続され、“0”入力は2to1セレクタ42の出力に接続され、制御入力はANDゲートG15の出力に接続される。そして、2to1セレクタ41は、ANDゲートG15の出力に基づき、データ入力端子P120より得られるデータDATA0及び2to1セレクタ42の出力のうち一方を選択してフリップフロップ11への付与データとしてデータ入力端子Dに出力する第2の選択動作を実行する。
The “1” input of the
このように構成される3to1セレクタ33は、図32で示した審理値表に従い、スキャンイネーブル信号SEN及びデータDATA1に基づく選択動作を行う。
The
このように、実施の形態9のスキャンFF回路9は、スキャンイネーブル信号SENに基づき2to1セレクタ42を制御することができ、スキャンイネーブル信号SEN及びデータDATA1の組合せに基づき2to1セレクタ41、インバータG14及びANDゲートG15よりなる第2のセレクタを制御することができる。
As described above, the scan FF circuit 9 according to the ninth embodiment can control the
加えて、実施の形態9のスキャンFF回路9は、スキャンイネーブル信号SENが論理値“0”(“L”)を指示するとき、図32に示すように、データDATA0とデータDATA1との論理積を2to1セレクタ41から出力することができる。
In addition, when the scan enable signal SEN indicates a logical value “0” (“L”), the scan FF circuit 9 according to the ninth embodiment performs a logical product of data DATA0 and data DATA1, as shown in FIG. Can be output from the
図34に戻って、スキャンFF回路51aのデータ出力端子P21が組合せ回路31の入力の一つに接続され、スキャンアウト端子P22がスキャンFF回路9のスキャンイン端子P13に接続される。そして、組合せ回路31の出力の一つである出力信号S31がデータ入力端子P121に接続され、別の組合せ回路32の出力の一つである出力信号S32がスキャンFF回路9のデータ入力端子P120に接続される。すなわち、出力信号S32はスキャンFF回路9のデータDATA0として直接入力される。
Returning to FIG. 34, the data
このような構成の集積回路において、出力信号S32はデータDATA0として直接にスキャンFF回路9のデータ入力端子P12に付与される。すなわち、スキャンFF回路9のフリップフロップ11のデータ入力端子Dへの出力信号S31に基づく信号入力は、3to1セレクタ33内の2to1セレクタ41のみからなる第2のデータ入力信号伝搬経路の通過を要することになる。
In the integrated circuit having such a configuration, the output signal S32 is directly applied to the data input terminal P12 of the scan FF circuit 9 as data DATA0. That is, the signal input based on the output signal S31 to the data input terminal D of the flip-
このように、図33及び図34の比較(第1及び第2のデータ入力信号伝搬経路の比較)から明らかなように、リセット機能を付加された場合、データDATA0の入力に関するセットアップタイミング条件に関し、ANDゲートG13を設ける必要がない分、実施の形態9のスキャンFF回路9によって構成される集積回路の方が緩和されるため、ANDゲートG13の信号伝搬遅延分の高速化を図ることができる効果を奏する。 Thus, as is clear from the comparison of FIG. 33 and FIG. 34 (comparison of the first and second data input signal propagation paths), when the reset function is added, regarding the setup timing condition regarding the input of the data DATA0, Since there is no need to provide the AND gate G13, the integrated circuit constituted by the scan FF circuit 9 according to the ninth embodiment is relaxed, so that the signal propagation delay of the AND gate G13 can be increased. Play.
また、3to1セレクタ33が、図35で示したような構成でなく、データDATA0、接地レベル及びスキャンイン信号SINをそれぞれ一のトランスファゲート等を介して選択的にフリップフロップ11にデータ入力端子Dに接続する1段の構成であっても、データDATA0に関してANDゲートG13を設ける必要がないため、セットアップタイミング条件を緩和することができる。
Further, the
また、図33及び図34に示すように、スキャンFF回路51aのスキャンアウト端子P22とスキャンFF回路51bのスキャンイン端子P13は直結され、スキャンFF回路51aのスキャンアウト端子P22とスキャンFF回路9のスキャンイン端子P13間は直結されており、信号伝搬遅延時間は小さいため、スキャンイン信号SINのホールドタイミング条件は厳しくなる。
33 and 34, the scan-out terminal P22 of the
このため、図33の集積回路の場合、スキャンFF回路51aのスキャンアウト端子P22,スキャンFF回路51bのスキャンイン端子P13との間にバッファを挿入する必要があった。
Therefore, in the case of the integrated circuit of FIG. 33, it is necessary to insert a buffer between the scan-out terminal P22 of the
しかしながら、図33の集積回路において、スキャンFF回路51bは1段の2to1セレクタ62を介してスキャンイン信号SINをフリップフロップ11のデータ入力端子D取り込んでいるのに対し、図34の集積回路では、スキャンFF回路9は2段の2to1セレクタ42及び41を介してスキャンイン信号SINをフリップフロップ11への付与データとしてデータ入力端子Dに取り込んでいるため、2to1セレクタ1個分の信号伝搬時間が図33の集積回路以上に要することになる。
However, in the integrated circuit of FIG. 33, the
このように、図33及び図34の比較から明らかなように、スキャンイン信号SINのホールドタイミング条件に関し、2段の2to1セレクタ42及び41を設ける分、実施の形態9のスキャンFF回路9を用いて構成される集積回路の方が緩和されるという効果を奏する。
As can be seen from the comparison between FIG. 33 and FIG. 34, the scan FF circuit 9 of the ninth embodiment is used because the two-stage 2-to-1
(他の態様)
図36は実施の形態9のスキャンFF回路の他の態様を示す回路図である。同図に示すように、図35で示したスキャンFF回路9に比べ、図36で示す他の態様のスキャンFF回路9Xは、2to1セレクタ42に代えてANDゲートG16を設けた点が異なる。以下、異なる点を中心に説明する。
(Other aspects)
FIG. 36 is a circuit diagram showing another aspect of the scan FF circuit of the ninth embodiment. As shown in FIG. 35, the
ANDゲートG16は一方入力がスキャンイン端子P13に接続され、他方入力がスキャンイネーブル端子P14に接続され、出力が2to1セレクタ413の“0”入力に接続される。 The AND gate G16 has one input connected to the scan-in terminal P13, the other input connected to the scan enable terminal P14, and the output connected to the “0” input of the 2to1 selector 413.
ANDゲートG16は、スキャンイネーブル信号SENが“H”のとき、スキャンイン信号SINを2to1セレクタ41の“0”入力に付与し、スキャンイネーブル信号SENが“L”のときはスキャンイン信号SINに関係なく固定値“L”を2to1セレクタ41の“0”入力に出力する。したがって、スキャンFF回路9Xは図32で示した真理値表と同様の振る舞い、すなわち、スキャンFF回路9と等価な動作を行うことができる。
The AND gate G16 applies the scan-in signal SIN to the “0” input of the
さらに、図34のスキャンFF回路9に代えて、スキャンFF回路9Xを用いた場合も、リセット機能を付加させた場合のデータDATA0の入力のセットアップタイミング条件の緩和及びスキャンイン信号SINのホールドタイミング条件の緩和効果も同様に発揮することができる。
Further, when the
さらに、スキャン回路9Xは、スキャンFF回路9の2to1セレクタ42をANDゲートG16により構成することにより、回路構成の簡略化を図ることができる。
Further, the
<実施の形態10>
(回路構成)
図37はこの発明の実施の形態10である同期セット端子付きスキャンFF回路の回路構成を示す回路図である。同図に示すように、実施の形態10のスキャンFF回路10はフリップフロップ11及び3to1セレクタ34(セレクタ)から構成され、入力部にクロック端子P11、データ入力端子P120,P121、スキャンイン端子P13及びスキャンイネーブル端子P14を有し、出力部にデータ出力端子P21、スキャンアウト端子P22及びデータ出力反転端子P23を有する。
<
(Circuit configuration)
FIG. 37 is a circuit diagram showing a circuit configuration of a scan FF circuit with a synchronous set terminal according to the tenth embodiment of the present invention. As shown in the figure, the
クロック端子P11はクロックCLOCKを受け、データ入力端子P120はデータDATA0を受け、データ入力端子P121はデータDATA1を受け、スキャンイン端子P13はスキャンイン信号SINを受け、スキャンイネーブル端子P14はスキャンイネーブル信号SENを受ける。一方、データ出力端子P21からデータ出力Q、スキャンアウト端子P22からスキャンアウト信号SOUT、データ出力反転端子P23から反転データ出力QBがそれぞれ出力される。 The clock terminal P11 receives the clock CLOCK, the data input terminal P120 receives the data DATA0, the data input terminal P121 receives the data DATA1, the scan-in terminal P13 receives the scan-in signal SIN, and the scan enable terminal P14 receives the scan enable signal SEN. Receive. On the other hand, a data output Q is output from the data output terminal P21, a scan-out signal SOUT is output from the scan-out terminal P22, and an inverted data output QB is output from the data output inversion terminal P23.
3to1セレクタ34の“01”入力、“00”入力及び“1X”入力は、電源電位、データ入力端子P120及びスキャンイン端子P13に接続され、2つの制御入力はスキャンイネーブル端子P14及びデータ入力端子P121に接続される。
The “01” input, “00” input and “1X” input of the
フリップフロップ11のクロック端子Cはクロック端子P11に接続され、データ入力端子Dは3to1セレクタ34の出力に接続され、データ出力端子Qinはデータ出力端子P21及びスキャンアウト端子P22に共通に接続され、反転データ出力端子QBinはデータ出力反転端子P23に接続される。
The clock terminal C of the flip-
(動作)
図38は図37で示した実施の形態10のスキャンFF回路の動作を真理値表形式で示した説明図である。以下、図38を参照しつつ、実施の形態10のスキャンFF回路の動作を説明する。
(Operation)
FIG. 38 is an explanatory diagram showing the operation of the scan FF circuit of the tenth embodiment shown in FIG. 37 in the form of a truth table. Hereinafter, the operation of the scan FF circuit according to the tenth embodiment will be described with reference to FIG.
フリップフロップ11はクロック端子P11より得られるクロックCLOCKに同期して動作し、通常動作時にスキャンイネーブル信号SENを“L”、データDATA1を“L”(制御入力“00”)にしてデータ入力端子P120より得られるデータDATA0を3to1セレクタ34を介してフリップフロップ11への付与データとしてデータ入力端子Dに出力する。
The flip-
一方、スキャンシフト時はスキャンイネーブル信号SENを“H”にして(制御入力“1X”)スキャンイン端子P13より得られるスキャンイン信号SINを3to1セレクタ34を介してフリップフロップ11への付与データとしてデータ入力端子Dに出力する。
On the other hand, at the time of scan shift, the scan enable signal SEN is set to “H” (control input “1X”), and the scan-in signal SIN obtained from the scan-in terminal P13 is supplied as data to be given to the flip-
また、セット時には、スキャンイネーブル信号SENを“L”、データDATA1を“H”(制御入力“01”)にして、電源電位の信号を3to1セレクタ34を介してフリップフロップ11への付与データとしてデータ入力端子Dに出力する。
At the time of setting, the scan enable signal SEN is set to “L”, the data DATA1 is set to “H” (control input “01”), and the signal of the power supply potential is supplied as data to be given to the flip-
そして、フリップフロップ11の格納データをデータ出力端子P21及びスキャンアウト端子P22よりデータ出力Q及びスキャンアウト信号SOUTとして出力し、格納データの反転データをデータ出力反転端子P23から反転データ出力QBとして出力する。
Then, the data stored in the flip-
図38に示すように、例えば、通常動作時(スキャンイネーブル信号SENが“L”、データDATA1が“L”の時)にはデータDATA0の“L”/“H”によってデータ出力Qの“L”/“H”が決定し、スキャンシフト時(スキャンイネーブル信号SENが“H”の時)にはスキャンイン信号SINの“L”/“H”によってデータ出力Qの“L”/“H”が決定し、セット時(スキャンイネーブル信号SENが“L”、データDATA1が“H”の時)には、スキャンイン信号SIN及びデータDATAの値に関係なく、データ出力Qは“H”に決定される。 As shown in FIG. 38, for example, in normal operation (when the scan enable signal SEN is “L” and the data DATA1 is “L”), the data output Q is “L” by the “L” / “H” of the data DATA0. "/" H is determined, and at the time of scan shift (when the scan enable signal SEN is "H"), the data output Q is "L" / "H" by the scan-in signal SIN "L" / "H". When set (when the scan enable signal SEN is “L” and the data DATA1 is “H”), the data output Q is determined to be “H” regardless of the values of the scan-in signal SIN and the data DATA. Is done.
(効果)
図39及び図40は実施の形態10の効果説明用の回路図である。図39は従来のスキャンFF回路51a,51bを用いて同期セットを行う集積回路を想定している。なお、スキャンFF回路51a,51bの構成は図43で示したスキャンFF回路51の構成と同様であるため、説明を省略する。
(effect)
39 and 40 are circuit diagrams for explaining the effect of the tenth embodiment. FIG. 39 assumes an integrated circuit that performs synchronous setting using conventional
図39に示すように、スキャンFF回路51aのデータ出力端子P21が組合せ回路31の入力の一つに接続され、スキャンアウト端子P22がスキャンFF回路51bのスキャンイン端子P13に接続される。
As shown in FIG. 39, the data output terminal P21 of the
そして、組合せ回路31の出力の一つである出力信号S31がORゲートG17の他方入力となり、ORゲートG17の一方入力が別の組合せ回路32の出力の一つである出力信号S32となる。ORゲートG17の出力がスキャンFF回路51bのデータ入力端子P12に接続される。
An output signal S31 that is one of the outputs of the
このような構成の集積回路において、出力信号S31はORゲートG17を経由してスキャンFF回路51bのデータ入力端子P12に付与される。すなわち、スキャンFF回路51bのフリップフロップ61のデータ入力端子Dへの出力信号S31に基づく信号入力は、ORゲートG17及びスキャンFF回路51bの2to1セレクタ62からなる第1のデータ入力信号伝搬経路の通過を要することになる。
In the integrated circuit having such a configuration, the output signal S31 is applied to the data input terminal P12 of the
図40は従来のスキャンFF回路51aと実施の形態10のスキャンFF回路10を用いて同期セットを行う集積回路を想定している。
FIG. 40 assumes an integrated circuit that performs a synchronous set using the conventional
図41はスキャンFF回路10内の3to1セレクタ34の詳細を示す回路図である。同図に示すように、3to1セレクタ34は2to1セレクタ44(第1のセレクタ)と、ORゲートG25及び2to1セレクタ43とからなる第2のセレクタとから構成される。
FIG. 41 is a circuit diagram showing details of the
ORゲートG25の一方入力はスキャンイネーブル端子P14に接続され、他方入力はデータ入力端子P121に接続される。 One input of the OR gate G25 is connected to the scan enable terminal P14, and the other input is connected to the data input terminal P121.
2to1セレクタ44の“0”入力は電源電位に接続され、“1”入力はスキャンイン端子P13に接続され、制御入力はスキャンイネーブル端子P14に接続される。そして、2to1セレクタ44はスキャンイネーブル端子P14より得られるスキャンイネーブル信号SENに基づき、電源電位及びスキャンイン端子P13より得られるスキャンイン信号SINのうち一方を選択して出力する第1の選択動作を実行する。
The “0” input of the
2to1セレクタ43の“1”入力はデータ入力端子P120に接続され、“0”入力は2to1セレクタ44の出力に接続され、制御入力はORゲートG25の出力に接続される。そして、2to1セレクタ43は、ORゲートG25の出力に基づき、データ入力端子P120より得られるデータDATA0及び2to1セレクタ42の出力のうち一方を選択してフリップフロップ11への付与データとしてデータ入力端子Dに出力する第2の選択動作を実行する。
The “1” input of the
このように構成される3to1セレクタ34は、図38で示した審理値表に従い、スキャンイネーブル信号SEN及びデータDATA1に基づく選択動作を行う。
The
このように、実施の形態10のスキャンFF回路10は、スキャンイネーブル信号SENに基づき2to1セレクタ44を制御することができ、スキャンイネーブル信号SEN及びデータDATA1の組合せに基づき2to1セレクタ43及びORゲートG25よりなる第2のセレクタを制御することができる。
As described above, the
図40に戻って、スキャンFF回路51aのデータ出力端子P21が組合せ回路31の入力の一つに接続され、スキャンアウト端子P22がスキャンFF回路10のスキャンイン端子P13に接続される。そして、組合せ回路31の出力の一つである出力信号S31がデータ入力端子P121に接続され、別の組合せ回路32の出力の一つである出力信号S32がスキャンFF回路10のデータ入力端子P120に接続される。すなわち、出力信号S32はスキャンFF回路10のデータDATA0として直接入力される。
Returning to FIG. 40, the data output terminal P <b> 21 of the
このような構成の集積回路において、出力信号S32はデータDATA0として直接にスキャンFF回路10のデータ入力端子P12に付与される。すなわち、スキャンFF回路10のフリップフロップ11のデータ入力端子Dへの出力信号S31に基づく信号入力は、3to1セレクタ34内の2to1セレクタ43のみからなる第2のデータ入力信号伝搬経路の通過を要することになる。
In the integrated circuit having such a configuration, the output signal S32 is directly applied to the data input terminal P12 of the
このように、図39及び図40の比較(第1及び第2のデータ入力信号伝搬経路の比較)から明らかなように、セット機能を付加された場合データDATA0の入力に関するセットアップタイミング条件に関し、ORゲートG17を設ける必要がない分、実施の形態10のスキャンFF回路10によって構成される集積回路の方が緩和されるため、ORゲートG17の信号伝搬遅延分の高速化を図ることができる効果を奏する。
Thus, as is clear from the comparison of FIG. 39 and FIG. 40 (comparison of the first and second data input signal propagation paths), the OR is related to the setup timing condition regarding the input of the data DATA0 when the set function is added. Since there is no need to provide the gate G17, the integrated circuit constituted by the
また、3to1セレクタ34が、図41で示したような構成でなく、データDATA0、電源電位及びスキャンイン信号SINをそれぞれ一のトランスファゲート等を介して選択的にフリップフロップ11にデータ入力端子Dに接続する1段の構成であっても、データDATA0に関してORゲートG17を設ける必要がないため、セットアップタイミング条件を緩和することができる。
Further, the
加えて、実施の形態10のスキャンFF回路10は、スキャンイネーブル信号SENが論理値“0”を指示するとき、図38に示すように、データDATA0とデータDATA1との論理和を2to1セレクタ43から出力することができる。
In addition, when the scan enable signal SEN indicates the logical value “0”, the
また、図39及び図40に示すように、スキャンFF回路51aのスキャンアウト端子P22とスキャンFF回路51bのスキャンイン端子P13は直結され、スキャンFF回路51aのスキャンアウト端子P22とスキャンFF回路10のスキャンイン端子P13間は直結されており、信号伝搬遅延時間は小さいため、スキャンイン信号SINのホールドタイミング条件は厳しくなる。
As shown in FIGS. 39 and 40, the scan-out terminal P22 of the
このため、図39の集積回路の場合、スキャンFF回路51aのスキャンアウト端子P22,スキャンFF回路51bのスキャンイン端子P13との間にバッファを挿入する必要があった。
Therefore, in the integrated circuit of FIG. 39, it is necessary to insert a buffer between the scan-out terminal P22 of the
しかしながら、図39の集積回路において、スキャンFF回路51bは1段の2to1セレクタ62を介してスキャンイン信号SINをフリップフロップ11のデータ入力端子Dに取り込んでいるのに対し、図40の集積回路では、スキャンFF回路10は2段の2to1セレクタ44及び43を介してスキャンイン信号SINをフリップフロップ11のデータ入力端子Dに取り込んでいるため、2to1セレクタ1個分の信号伝搬時間が図39の集積回路以上に要することになる。
However, in the integrated circuit of FIG. 39, the
このように、図39及び図40の比較から明らかなように、スキャンイン信号SINのホールドタイミング条件に関し、2段の2to1セレクタ44及び43を設ける分、実施の形態10のスキャンFF回路10を用いて構成される集積回路の方が緩和されるという効果を奏する。
As is apparent from the comparison between FIGS. 39 and 40, the
(他の態様)
図42は実施の形態10のスキャンFF回路の他の態様を示す回路図である。同図に示すように、図41で示したスキャンFF回路10に比べ、図42で示す他の態様のスキャンFF回路10Xは、2to1セレクタ44に代えてORゲートG18を設けた点が異なる。以下、異なる点を中心に説明する。
(Other aspects)
FIG. 42 is a circuit diagram showing another aspect of the scan FF circuit of the tenth embodiment. As shown in FIG. 41, the
ORゲートG18は一方入力がスキャンイン端子P13に接続され、反転他方入力がスキャンイネーブル端子P14に接続され、出力が2to1セレクタ433の“0”入力に接続される。 The OR gate G18 has one input connected to the scan-in terminal P13, the other input connected to the scan enable terminal P14, and the output connected to the “0” input of the 2to1 selector 433.
ORゲートG18は、スキャンイネーブル信号SENが“H”のとき、スキャンイン信号SINを2to1セレクタ43の“0”入力に付与し、スキャンイネーブル信号SENが“L”のときはスキャンイン信号SINに関係なく固定値“H”を2to1セレクタ43の“0”入力に出力する。したがって、スキャンFF回路10Xは図38で示した真理値表と同様の振る舞い、すなわち、スキャンFF回路10と等価な動作を行うことができる。
The OR gate G18 applies the scan-in signal SIN to the “0” input of the
さらに、図40のスキャンFF回路10に代えて、スキャンFF回路10Xを用いた場合も、セット機能を付加させた場合のデータDATA0の入力のセットアップタイミング条件の緩和及びスキャンイン信号SINのホールドタイミング条件の緩和効果も同様に発揮することができる。
Furthermore, when the
さらに、スキャン回路10Xは、スキャンFF回路10の2to1セレクタ44をORゲートG18により構成することにより、回路構成の簡略化を図ることができる。
Further, the
1〜10,1a,1b,1X,2a,2b,2X〜10X スキャンFF回路、11 フリップフロップ、12〜19,23〜30,41〜44 2to1セレクタ、33,34 3to1セレクタ、G9,G15,G16,G31,G33,G35 ANDゲート、G12,G17,G18,G32,G34,G36 ORゲート、G14 インバータ。
1-10, 1a, 1b, 1X, 2a, 2b, 2X-10X scan FF circuit, 11 flip-flop, 12-19, 23-30, 41-442 2to1 selector, 33, 34 3to1 selector, G9, G15, G16 , G31, G33, G35 AND gate, G12, G17, G18, G32, G34, G36 OR gate, G14 inverter.
Claims (26)
前記クロック端子を介して入力されるクロックに同期して、付与されたデータを格納データとして取り込み、該格納データを前記データ出力端子及び前記スキャンアウト端子の少なくとも一方より出力するフリップフロップと、
所定の固定値及び前記スキャンイン端子より得られるスキャンイン信号のうち一方を選択して出力する第1の選択動作を実行する第1のセレクタと、
前記データ入力端子より得られる入力データ及び前記第1のセレクタの出力のうち一方を選択して、前記フリップフロップへの付与データとして出力する第2の選択動作を実行する第2のセレクタとを備える、
スキャンFF回路。 A scan flip-flop circuit (scan FF circuit) having a clock terminal, a data input terminal, a scan-in terminal, a data output terminal, and a scan-out terminal,
A flip-flop that captures the given data as stored data in synchronization with a clock input via the clock terminal, and outputs the stored data from at least one of the data output terminal and the scan-out terminal;
A first selector that performs a first selection operation of selecting and outputting one of a predetermined fixed value and a scan-in signal obtained from the scan-in terminal;
A second selector that selects one of the input data obtained from the data input terminal and the output of the first selector, and executes a second selection operation that outputs the selected data as data to be given to the flip-flop. ,
Scan FF circuit.
スキャンイネーブル端子及び同期固定値設定端子をさらに有し、
前記第1のセレクタは、前記スキャンイネーブル端子より得られるスキャンイネーブル信号に基づき、前記第1の選択動作を実行し、
前記第2のセレクタは、前記同期固定値設定端子より得られる固定値指示信号に基づき、前記第2の選択動作を実行する、
スキャンFF回路。 The scan FF circuit according to claim 1,
A scan enable terminal and a synchronous fixed value setting terminal;
The first selector performs the first selection operation based on a scan enable signal obtained from the scan enable terminal;
The second selector performs the second selection operation based on a fixed value instruction signal obtained from the synchronous fixed value setting terminal;
Scan FF circuit.
前記スキャンイネーブル信号が前記スキャンイン信号の選択を指示するとき、前記固定値指示信号が前記第1のセレクタの出力の選択を指示する値に強制的に設定される信号設定機能を有する、
スキャンFF回路。 The scan FF circuit according to claim 2,
A signal setting function in which, when the scan enable signal instructs selection of the scan-in signal, the fixed value instruction signal is forcibly set to a value instructing selection of an output of the first selector;
Scan FF circuit.
スキャンイネーブル端子及び同期固定値設定端子をさらに有し、
前記第1のセレクタは、前記同期固定値設定端子より得られる固定値指示信号に基づき、前記第1の選択動作を実行し、
前記第2のセレクタは、前記スキャンイネーブル端子より得られるスキャンイネーブル信号に基づき、前記第2の選択動作を実行する、
スキャンFF回路。 The scan FF circuit according to claim 1,
A scan enable terminal and a synchronous fixed value setting terminal;
The first selector performs the first selection operation based on a fixed value instruction signal obtained from the synchronous fixed value setting terminal;
The second selector performs the second selection operation based on a scan enable signal obtained from the scan enable terminal.
Scan FF circuit.
スキャンシフト時において、前記固定値指示信号は前記スキャンイン信号の選択を指示し、前記スキャンイネーブル信号は前記第1のセレクタの出力の選択を指示する信号設定機能をさらに備える、
スキャンFF回路。 The scan FF circuit according to claim 4,
At the time of scan shift, the fixed value instruction signal instructs selection of the scan-in signal, and the scan enable signal further includes a signal setting function that instructs selection of the output of the first selector.
Scan FF circuit.
前記同期固定値設定端子は同期リセット信号を入力する同期リセット端子を含み、
前記所定の固定値は論理値“0”を指示する固定値を含む、
スキャンFF回路。 A scan FF circuit according to any one of claims 2 to 5,
The synchronous fixed value setting terminal includes a synchronous reset terminal for inputting a synchronous reset signal,
The predetermined fixed value includes a fixed value indicating a logical value “0”.
Scan FF circuit.
前記同期固定値設定端子は同期セット信号を入力する同期セット端子を含み、
前記所定の固定値は論理値“1”を指示する固定値を含む、
スキャンFF回路。 A scan FF circuit according to any one of claims 2 to 5,
The synchronous fixed value setting terminal includes a synchronous set terminal for inputting a synchronous set signal,
The predetermined fixed value includes a fixed value indicating a logical value “1”.
Scan FF circuit.
前記同期固定値設定端子は同期リセット信号を入力する同期リセット端子を含み、
前記所定の固定値は論理値“0”を指示する固定値を含み、
前記スキャンイネーブル信号はスキャンシフト時に論理値“1”を示す信号を含み、
前記第1のセレクタは前記スキャンイン端子及び前記スキャンイネーブル端子を一方及び他方入力とするANDゲートを含む、
スキャンFF回路。 The scan FF circuit according to claim 2,
The synchronous fixed value setting terminal includes a synchronous reset terminal for inputting a synchronous reset signal,
The predetermined fixed value includes a fixed value indicating a logical value “0”;
The scan enable signal includes a signal indicating a logical value “1” at the time of scan shift,
The first selector includes an AND gate having the scan-in terminal and the scan enable terminal as one input and the other input,
Scan FF circuit.
前記同期固定値設定端子は同期セット信号を入力する同期セット端子を含み、
前記所定の固定値は論理値“1”を指示する固定値を含み、
前記スキャンイネーブル信号はスキャンシフト時に論理値“1”を示す信号を含み、
前記第1のセレクタは前記スキャンイン端子及び前記スキャンイネーブル端子を一方入力及び反転他方入力とするORゲートを含む、
スキャンFF回路。 The scan FF circuit according to claim 2,
The synchronous fixed value setting terminal includes a synchronous set terminal for inputting a synchronous set signal,
The predetermined fixed value includes a fixed value indicating a logical value “1”;
The scan enable signal includes a signal indicating a logical value “1” at the time of scan shift,
The first selector includes an OR gate having the scan-in terminal and the scan enable terminal as one input and an inverted other input,
Scan FF circuit.
前記同期固定値設定端子は同期リセット信号を入力する同期リセット端子を含み、
前記所定の固定値は論理値“0”を指示する固定値を含み、
前記同期リセット信号はリセット時に論理値“0”を示す信号を含み、
前記第1のセレクタは前記スキャンイン端子及び前記同期リセット端子を一方及び他方入力とするANDゲートを含む、
スキャンFF回路。 The scan FF circuit according to claim 4,
The synchronous fixed value setting terminal includes a synchronous reset terminal for inputting a synchronous reset signal,
The predetermined fixed value includes a fixed value indicating a logical value “0”;
The synchronous reset signal includes a signal indicating a logical value “0” at the time of resetting;
The first selector includes an AND gate having the scan-in terminal and the synchronous reset terminal as one and the other inputs,
Scan FF circuit.
前記同期固定値設定端子は同期セット信号を入力する同期セット端子を含み、
前記所定の固定値は論理値“1”を指示する固定値を含み、
前記同期セット信号はセット時に論理値“0”を示す信号を含み、
前記第1のセレクタは前記スキャンイン端子及び前記同期セット端子を一方入力及び反転他方入力とするORゲートを含む、
スキャンFF回路。 The scan FF circuit according to claim 4,
The synchronous fixed value setting terminal includes a synchronous set terminal for inputting a synchronous set signal,
The predetermined fixed value includes a fixed value indicating a logical value “1”;
The synchronous set signal includes a signal indicating a logical value “0” when set,
The first selector includes an OR gate having the scan-in terminal and the synchronous set terminal as one input and an inverted other input,
Scan FF circuit.
前記クロック端子を介して入力されるクロックに同期して、付与されたデータを格納データとして取り込み、該格納データを前記データ出力端子を介して出力するフリップフロップと、
前記データ入力端子より得られる入力データ及び前記スキャンイン端子より得られるスキャンイン信号のうち、一方を選択して、前記フリップフロップへの付与データとして出力する第1の選択動作を実行する第1のセレクタと、
所定の固定値及び前記フリップフロップの前記格納データのうち一方を選択して前記スキャンアウト端子から出力する、第2の選択動作を実行する第2のセレクタとを備える、
スキャンFF回路。 A scan flip-flop circuit (scan FF circuit) having a clock terminal, a data input terminal, a scan-in terminal, a data output terminal, and a scan-out terminal,
A flip-flop that captures the given data as storage data in synchronization with a clock input via the clock terminal and outputs the storage data via the data output terminal;
A first selection operation is performed in which one of the input data obtained from the data input terminal and the scan-in signal obtained from the scan-in terminal is selected and output as data to be given to the flip-flop. A selector,
A second selector that selects one of a predetermined fixed value and the stored data of the flip-flop and outputs the selected data from the scan-out terminal;
Scan FF circuit.
スキャンイネーブル端子及び同期固定値設定端子をさらに有し、
前記第1のセレクタは、前記同期固定値設定端子より得られる固定値指示信号に基づき、前記第1の選択動作を実行し、
前記第2のセレクタは、前記スキャンイネーブル端子より得られるスキャンイネーブル信号に基づき、前記第2の選択動作を実行する、
スキャンFF回路。 The scan FF circuit according to claim 12,
A scan enable terminal and a synchronous fixed value setting terminal;
The first selector performs the first selection operation based on a fixed value instruction signal obtained from the synchronous fixed value setting terminal;
The second selector performs the second selection operation based on a scan enable signal obtained from the scan enable terminal.
Scan FF circuit.
スキャンイネーブル端子及び同期固定値設定端子をさらに有し、
前記第1のセレクタは、前記スキャンイネーブル端子より得られるスキャンイネーブル信号に基づき、前記第1の選択動作を実行し、
前記第2のセレクタは、前記同期固定値設定端子より得られる固定値指示信号に基づき、前記第2の選択動作を実行する、
スキャンFF回路。 The scan FF circuit according to claim 12,
A scan enable terminal and a synchronous fixed value setting terminal;
The first selector performs the first selection operation based on a scan enable signal obtained from the scan enable terminal;
The second selector performs the second selection operation based on a fixed value instruction signal obtained from the synchronous fixed value setting terminal;
Scan FF circuit.
前記同期固定値設定端子は同期リセット信号を入力する同期リセット端子を含み、
前記所定の固定値は論理値“0”を指示する固定値を含む、
スキャンFF回路。 The scan FF circuit according to claim 13 or 14,
The synchronous fixed value setting terminal includes a synchronous reset terminal for inputting a synchronous reset signal,
The predetermined fixed value includes a fixed value indicating a logical value “0”.
Scan FF circuit.
前記同期固定値設定端子は同期セット信号を入力する同期セット端子を含み、
前記所定の固定値は論理値“1”を指示する固定値を含む、
スキャンFF回路。 The scan FF circuit according to claim 13 or 14,
The synchronous fixed value setting terminal includes a synchronous set terminal for inputting a synchronous set signal,
The predetermined fixed value includes a fixed value indicating a logical value “1”.
Scan FF circuit.
前記同期固定値設定端子は同期リセット信号を入力する同期リセット端子を含み、
前記所定の固定値は論理値“0”を指示する固定値を含み、
前記スキャンイネーブル信号はスキャンシフト時に論理値“1”を示す信号を含み、
前記第1のセレクタは前記フリップフロップの前記格納データ及び前記スキャンイネーブル端子を一方及び他方入力とするANDゲートを含む、
スキャンFF回路。 The scan FF circuit according to claim 13,
The synchronous fixed value setting terminal includes a synchronous reset terminal for inputting a synchronous reset signal,
The predetermined fixed value includes a fixed value indicating a logical value “0”;
The scan enable signal includes a signal indicating a logical value “1” at the time of scan shift,
The first selector includes an AND gate having the stored data and the scan enable terminal of the flip-flop as one and the other inputs,
Scan FF circuit.
前記同期固定値設定端子は同期セット信号を入力する同期セット端子を含み、
前記所定の固定値は論理値“1”を指示する固定値を含み、
前記スキャンイネーブル信号はスキャンシフト時に論理値“1”を示す信号を含み、
前記第1のセレクタは前記フリップフロップの前記格納データ及び前記スキャンイネーブル端子を一方入力及び反転他方入力とするORゲートを含む、
スキャンFF回路。 The scan FF circuit according to claim 13,
The synchronous fixed value setting terminal includes a synchronous set terminal for inputting a synchronous set signal,
The predetermined fixed value includes a fixed value indicating a logical value “1”;
The scan enable signal includes a signal indicating a logical value “1” at the time of scan shift,
The first selector includes an OR gate having the storage data and the scan enable terminal of the flip-flop as one input and an inverted other input,
Scan FF circuit.
前記同期固定値設定端子は同期リセット信号を入力する同期リセット端子を含み、
前記所定の固定値は論理値“0”を指示する固定値を含み、
前記同期リセット信号はリセット時に論理値“0”を示す信号を含み、
前記第1のセレクタは前記フリップフロップの前記格納データ及び前記同期リセット端子を一方及び他方入力とするANDゲートを含む、
スキャンFF回路。 The scan FF circuit according to claim 14,
The synchronous fixed value setting terminal includes a synchronous reset terminal for inputting a synchronous reset signal,
The predetermined fixed value includes a fixed value indicating a logical value “0”;
The synchronous reset signal includes a signal indicating a logical value “0” at the time of resetting;
The first selector includes an AND gate having the stored data and the synchronous reset terminal of the flip-flop as one and the other inputs,
Scan FF circuit.
前記同期固定値設定端子は同期セット信号を入力する同期セット端子を含み、
前記所定の固定値は論理値“1”を指示する固定値を含み、
前記同期セット信号はセット時に論理値“0”を示す信号を含み、
前記第1のセレクタは前記フリップフロップの前記格納データ及び前記同期セット端子を一方入力及び反転他方入力とするORゲートを含む、
スキャンFF回路。 The scan FF circuit according to claim 14,
The synchronous fixed value setting terminal includes a synchronous set terminal for inputting a synchronous set signal,
The predetermined fixed value includes a fixed value indicating a logical value “1”;
The synchronous set signal includes a signal indicating a logical value “0” when set,
The first selector includes an OR gate having the stored data and the synchronous set terminal of the flip-flop as one input and an inverted other input,
Scan FF circuit.
前記データ入力端子は第1の入力データを受ける第1のデータ入力端子を含み、
スキャンイネーブル端子及び第2のデータ入力端子をさらに有し、
前記第1のセレクタは、前記スキャンイネーブル端子より得られるスキャンイネーブル信号に基づき、前記第1の選択動作を実行し、
前記第2のセレクタは、前記スキャンイネーブル信号及び前記第2のデータ入力端子より得られる第2の入力データに基づき、前記第2の選択動作を実行する、
スキャンFF回路。 The scan FF circuit according to claim 1,
The data input terminal includes a first data input terminal for receiving first input data;
A scan enable terminal and a second data input terminal;
The first selector performs the first selection operation based on a scan enable signal obtained from the scan enable terminal;
The second selector executes the second selection operation based on the scan enable signal and second input data obtained from the second data input terminal;
Scan FF circuit.
前記所定の固定値は論理値“0”を指示する固定値を含み、
前記スキャンイネーブル信号はスキャンシフト時に論理値“1”を示す信号を含み、
前記第1のセレクタは前記スキャンイネーブル信号が論理値“0”を指示するとき、前記所定の固定値を出力し、
前記第2のセレクタは前記スキャンイネーブル信号が論理値“0”を指示するとき、前記第2の入力データの“1”/“0”に基づき、前記第1の入力データ/前記所定の固定値を出力する、
スキャンFF回路。 The scan FF circuit according to claim 21,
The predetermined fixed value includes a fixed value indicating a logical value “0”;
The scan enable signal includes a signal indicating a logical value “1” at the time of scan shift,
The first selector outputs the predetermined fixed value when the scan enable signal indicates a logical value “0”;
When the scan enable signal indicates a logical value “0”, the second selector selects the first input data / the predetermined fixed value based on “1” / “0” of the second input data. Output,
Scan FF circuit.
前記第1のセレクタは前記スキャンイン信号及び前記スキャンイネーブル信号を一方入力及び他方入力とするANDゲートを含む、
スキャンFF回路。 The scan FF circuit according to claim 22,
The first selector includes an AND gate having the scan-in signal and the scan enable signal as one input and the other input,
Scan FF circuit.
前記所定の固定値は論理値“1”を指示する固定値を含み、
前記スキャンイネーブル信号はスキャンシフト時に論理値“1”を示す信号を含み、
前記第1のセレクタは前記スキャンイネーブル信号が論理値“0”を指示するとき、前記所定の固定値を出力し、
前記第2のセレクタは前記スキャンイネーブル信号が論理値“0”を指示するとき、前記第2の入力データの“0”/“1”に基づき、前記第1の入力データ/前記所定の固定値を出力する、
スキャンFF回路。 The scan FF circuit according to claim 21,
The predetermined fixed value includes a fixed value indicating a logical value “1”;
The scan enable signal includes a signal indicating a logical value “1” at the time of scan shift,
The first selector outputs the predetermined fixed value when the scan enable signal indicates a logical value “0”;
When the scan enable signal indicates a logical value “0”, the second selector selects the first input data / the predetermined fixed value based on “0” / “1” of the second input data. Output,
Scan FF circuit.
前記第1のセレクタは前記スキャンイン信号及び前記スキャンイネーブル信号を一方入力及び反転他方入力とするORゲートを含む、
スキャンFF回路。 The scan FF circuit according to claim 24,
The first selector includes an OR gate having the scan-in signal and the scan enable signal as one input and an inverted other input,
Scan FF circuit.
前記クロック端子を介して入力されるクロックに同期して、付与されたデータを格納データとして取り込み、該格納データを前記データ出力端子及び前記スキャンアウト端子の少なくとも一方より出力するフリップフロップと、
前記スキャンイネーブル端子より得られるスキャンイネーブル信号及び前記第2のデータ入力端子より得られる第2の入力データに基づき、前記第1のデータ入力端子より得られる第1の入力データ、所定の固定値及び前記スキャンイン端子より得られるスキャンイン信号のうちの一つを選択して、前記フリップフロップへの付与データとして出力する選択動作を実行するセレクタとを備える、
スキャンFF回路。
A scan flip-flop circuit (scan FF circuit) having a clock terminal, first and second data input terminals, a scan-in terminal, a scan enable terminal, a data output terminal, and a scan-out terminal;
A flip-flop that captures the given data as stored data in synchronization with a clock input via the clock terminal, and outputs the stored data from at least one of the data output terminal and the scan-out terminal;
Based on a scan enable signal obtained from the scan enable terminal and second input data obtained from the second data input terminal, first input data obtained from the first data input terminal, a predetermined fixed value, and A selector that selects one of the scan-in signals obtained from the scan-in terminal and performs a selection operation that outputs the selected signal as data to be given to the flip-flop;
Scan FF circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005374231A JP2007178160A (en) | 2005-12-27 | 2005-12-27 | Scan flip-flop circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005374231A JP2007178160A (en) | 2005-12-27 | 2005-12-27 | Scan flip-flop circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007178160A true JP2007178160A (en) | 2007-07-12 |
Family
ID=38303515
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005374231A Pending JP2007178160A (en) | 2005-12-27 | 2005-12-27 | Scan flip-flop circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007178160A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014502043A (en) * | 2010-11-11 | 2014-01-23 | クアルコム,インコーポレイテッド | Feedback scan separation and scan bypass structure |
KR20160005464A (en) * | 2014-07-07 | 2016-01-15 | 삼성전자주식회사 | Scan chain circuit and integrated circuit including the same |
-
2005
- 2005-12-27 JP JP2005374231A patent/JP2007178160A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014502043A (en) * | 2010-11-11 | 2014-01-23 | クアルコム,インコーポレイテッド | Feedback scan separation and scan bypass structure |
KR20160005464A (en) * | 2014-07-07 | 2016-01-15 | 삼성전자주식회사 | Scan chain circuit and integrated circuit including the same |
KR102222643B1 (en) * | 2014-07-07 | 2021-03-04 | 삼성전자주식회사 | Scan chain circuit and integrated circuit including the same |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5041694B2 (en) | Flip-flop circuit with scan function | |
US7712002B2 (en) | Test circuit for semiconductor integrated circuit | |
US6570407B1 (en) | Scannable latch for a dynamic circuit | |
JP5275136B2 (en) | Semiconductor integrated circuit | |
JP2007187458A (en) | Scan flip-flop circuit and semiconductor integrated circuit device | |
US20070252583A1 (en) | Semiconductor integrated circuit device, measurement method therefore and measurement system for measuring AC characteristics thereof | |
US20110060952A1 (en) | Semiconductor integrated circuit | |
JP2002289776A (en) | Semiconductor device | |
JP2010223672A (en) | Scan test circuit | |
JP2005303464A (en) | Flip-flop | |
US20090240996A1 (en) | Semiconductor integrated circuit device | |
JP2007178160A (en) | Scan flip-flop circuit | |
US8803581B2 (en) | Fast flip-flop structure with reduced set-up time | |
JP2768910B2 (en) | Scan test circuit in semiconductor integrated device | |
JP5136043B2 (en) | Logic circuit and recording medium | |
JP2007263756A (en) | Flip-flop for scan test | |
JP3363691B2 (en) | Semiconductor logic integrated circuit | |
JP6534592B2 (en) | Scan test circuit and scan test apparatus | |
US7155649B2 (en) | Scan test control method and scan test circuit | |
JP7354807B2 (en) | semiconductor integrated circuit | |
JPH11194152A (en) | Semiconductor integrated circuit | |
JP2006258694A (en) | Method for resolving hold error of scan chain | |
JP4416469B2 (en) | Semiconductor integrated circuit and design method thereof | |
JP2009175154A (en) | Semiconductor integrated circuit and its design method | |
TW594030B (en) | Low-power, high efficiency and accurate cycle testing apparatus |