JPH02263247A - Scan path controller - Google Patents

Scan path controller

Info

Publication number
JPH02263247A
JPH02263247A JP1084469A JP8446989A JPH02263247A JP H02263247 A JPH02263247 A JP H02263247A JP 1084469 A JP1084469 A JP 1084469A JP 8446989 A JP8446989 A JP 8446989A JP H02263247 A JPH02263247 A JP H02263247A
Authority
JP
Japan
Prior art keywords
signal
scan
input
output
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP1084469A
Other languages
Japanese (ja)
Inventor
Takashi Inoue
隆 井上
Takahiro Watabe
隆弘 渡部
Tokuzo Kiyohara
督三 清原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP1084469A priority Critical patent/JPH02263247A/en
Publication of JPH02263247A publication Critical patent/JPH02263247A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To attain a scanning action even in an enable state of a data fetch grant signal in a scan mode by preparing a load signal control circuit which controls the data load signal in the scan mode. CONSTITUTION:A shift signal control circuit 4 and a load signal control circuit 5 hold the system clock signals K1 and CK2 in a disable state and an enable state respectively and controls in a scan mode a 1st control signal 43, i.3., a data shift signal of an output register 3 and a 3rd control signal 51, i.e., a data load signal of the register 3 respectively. Thus it is possible to obtain a scan path controller which can perform a scan action even though a data fetch grant signal CK2 is kept in an enable state.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は大規模な論理回路に備わり、その論理回路を診
断を行うためのスキャンパス制御装置に関するものであ
る。
DETAILED DESCRIPTION OF THE INVENTION FIELD OF INDUSTRIAL APPLICATION The present invention relates to a scan path control device included in a large-scale logic circuit and for diagnosing the logic circuit.

従来の技術 従来のこの種のスキャンパス制御装置の1例のブロック
図を第5図に示す。
BACKGROUND OF THE INVENTION A block diagram of an example of a conventional scan path control device of this type is shown in FIG.

1は組み合わせ回路であり、2は前記組み合わせ回路1
への入力データを保持するnビットのトランスペアレン
トの入力レジスタで2相のシステムクロックであるCK
Iが入力される。3はスキャンモード時には、スキャン
パス入力である第一の入力31を入力としスキャンパス
出力である第1の出力32を出力とするシフトレジスタ
として機能し、通常動作時には前記組合せ回路からの第
二の入力33を保持し、第二の出力34として出力する
nビットのトランスペアレントのラッチとしての機能を
持つ出力レジスタで2相のシステムクロックCK2が入
力される。
1 is a combinational circuit; 2 is the combinational circuit 1;
An n-bit transparent input register that holds input data to CK, which is a two-phase system clock.
I is input. 3 functions as a shift register in which the first input 31, which is the scan path input, is the input and the first output 32, which is the scan path output, is the output in the scan mode, and in normal operation, the second input from the combinational circuit is A two-phase system clock CK2 is input to an output register that functions as an n-bit transparent latch that holds an input 33 and outputs it as a second output 34.

以上のように構成された従来のスキャンパス制御装置に
おいて動作を説明する。
The operation of the conventional scan path control device configured as described above will be explained.

通常動作の場合はシステムクロックCKIのタイミング
で入力レジスタ2に取り込まれたnビットのデータが組
合せ回路1へと出力され、出力レジスタ3はシステムク
ロックGK2のタイミングで組み合わせ回路1から第二
の入力33を受は取り、第二の出力34として出力する
。その場合にスキャンクロック42は変化しないように
しておく。
In normal operation, the n-bit data taken into the input register 2 is output to the combinational circuit 1 at the timing of the system clock CKI, and the output register 3 is output from the second input 33 from the combinational circuit 1 at the timing of the system clock GK2. The receiver takes it and outputs it as a second output 34. In that case, the scan clock 42 is kept unchanged.

次にスキャンモード時の動作を説明する。スキャンモー
ド時のタイミング図を第6図に示す。スキャンモード時
には出力レジスタ3はシフトレジスタとして機能するた
め、システムクロックCK1をイネーブル、システムク
ロックCK2をディスネーブルの状態で保持し、第二の
入力33を無効にする。第二の入力33を無効にした後
、スキャンクロック42をイネーブルにすると出力レジ
スタ3は第一の入力31からデータを取り込み、スキャ
ンクロック42の立上りに同期してシフトされていき、
第一の出力32からシフトデータが出力される。
Next, the operation in scan mode will be explained. A timing diagram in scan mode is shown in FIG. In the scan mode, the output register 3 functions as a shift register, so it keeps the system clock CK1 enabled and the system clock CK2 disabled, and disables the second input 33. After disabling the second input 33, when the scan clock 42 is enabled, the output register 3 takes in data from the first input 31 and is shifted in synchronization with the rising edge of the scan clock 42.
Shift data is output from the first output 32.

発明が解決しようとする課題 しかしながら上記のような構成ではスキャンモード時に
第二の入力3色の取込み許可信号であるシステムクロッ
クCK2がイネーブル状態では、出力レジスタ3におい
て第一の入力31と第二の入力33とが衝突し、データ
シフトが行なえず、第一の出力32より出力レジスタ3
の内容を出力することもできず、第一の入力31より出
力レジスタ3に値を設定することもできないという課題
を有していた。
Problems to be Solved by the Invention However, in the above configuration, when the system clock CK2, which is the capture permission signal for the second input three colors, is enabled in the scan mode, the first input 31 and the second input in the output register 3 are There is a collision with the input 33, data cannot be shifted, and the output register 3 is transferred from the first output 32 to the output register 3.
The problem is that it is not possible to output the contents of , and it is also not possible to set a value in the output register 3 from the first input 31.

本発明はかかる点に鑑み、データ取込み許可信号がイネ
ーブル状態であってもスキャン動作が行なえるスキャン
パス制御装置を提供することを目的とする。
SUMMARY OF THE INVENTION In view of the above, an object of the present invention is to provide a scan path control device that can perform a scan operation even when a data acquisition permission signal is in an enabled state.

課題を解決するための手段 本発明は、データを入力し、それを処理する組合せ回路
と、スキャンモード時にはスキャンパス入力を第一の入
力とし、スキャンパス出力を第一の出力とするシフトレ
ジスタとしての機能と、スキャンモード時でない通常動
作時には前記組合せ回路からの入力を第二の入力とし、
保持した後それを第二の出力として出力するトランスペ
アレントラッチとしての機能を持つ出力レジスタと、ス
キャンモードか通常動作時かを示すモード制御信号とス
キャンモード時のシフトクロックであるスキャンクロッ
クを入力とし、前記出力レジスタのデータシフト信号を
第一の制御信号として前記出力レジスタに出力するシフ
ト信号制御回路と、前記モード制御信号と前記シフト信
号制御回路からの第二の制御信号と通常動作時のデータ
取込み許可信号を入力として前記出力レジスタのデータ
ロード信号である第三の制御信号を前記出力レジスタに
出力するロード信号制御回路を備えたことを特徴とする
スキャンパス制御装置である。
Means for Solving the Problems The present invention provides a combinational circuit that inputs data and processes it, and a shift register that uses a scan path input as a first input and a scan path output as a first output in a scan mode. function, and during normal operation not in scan mode, the input from the combinational circuit is used as a second input,
It has an output register that functions as a transparent latch that holds it and then outputs it as a second output, a mode control signal that indicates whether it is in scan mode or normal operation, and a scan clock that is a shift clock in scan mode. a shift signal control circuit that outputs a data shift signal of the output register as a first control signal to the output register; and a mode control signal, a second control signal from the shift signal control circuit, and data acquisition during normal operation. The scan path control device is characterized by comprising a load signal control circuit that receives a permission signal as an input and outputs a third control signal, which is a data load signal of the output register, to the output register.

作   用 本発明は前記した構成により、システムクロックCKI
をディスエーブル状態、システムクロックCK2をイネ
ーブル状態で保持し、スキャンモード時に出力レジスタ
のデータシフト信号である第一の制御信号と出力レジス
タのデータロード信号である第三の制御信号を制御する
回路を設けることでことでデータ取込み許可信号がイネ
ーブル状態であってもスキャン動作が行なえることをを
可能とした。
Operation The present invention has the above-described configuration, so that the system clock CKI
A circuit is provided that maintains the system clock CK2 in a disabled state and the system clock CK2 in an enabled state, and controls a first control signal that is a data shift signal of the output register and a third control signal that is a data load signal of the output register in the scan mode. By providing this, it is possible to perform a scan operation even when the data acquisition permission signal is in the enabled state.

実施例 第1図は本発明の装置の構成図である。 第1図におい
て1は組み合わせ回路であり、2は前記組み合わせ回路
1への入力データを保持するnビットのトランスペアレ
ントの入力レジスタでデータ取込み許可信号である2相
システムクロツクCK1が入力される。
Embodiment FIG. 1 is a block diagram of the apparatus of the present invention. In FIG. 1, 1 is a combinational circuit, and 2 is an n-bit transparent input register for holding input data to the combinational circuit 1, into which a two-phase system clock CK1, which is a data acquisition permission signal, is input.

3はスキャンモード時には、スキャンパス入力である第
一の入力31を入力とし、スキャンパス出力である第1
の出力32を出力とするシフトレジスタとして機能し、
通常動作時には前記組合せ回路1からの第二の入力33
を保持し、出力を第二の出力34とするnビットのトラ
ンスペアレントのラッチとしての機能を持つ出力レジス
タ。4はスキャンモード時であることを示すモード制御
信号41とスキャンモード時のシフトクロックであるス
キャンクロック42を入力とし、出力レジスタ3のデー
タシフト信号である第一の制御信号43を出力するシフ
ト信号制御回路。5は2相のシステムクロックであるC
K2とモード制御信号41とシフト信号制御回路4から
の出力である第二の制御信号44を入力として出力レジ
スタ3のデータロード信号である第三の制御信号51を
出力するロード信号制御回路である。
3, in the scan mode, the first input 31 which is the scan path input is input, and the first input 31 which is the scan path output is input.
functions as a shift register with the output 32 of
During normal operation, the second input 33 from said combinational circuit 1
an output register that functions as an n-bit transparent latch that holds and outputs as a second output 34; A shift signal 4 inputs a mode control signal 41 indicating that the scan mode is in effect and a scan clock 42 which is a shift clock in the scan mode, and outputs a first control signal 43 which is a data shift signal for the output register 3. control circuit. 5 is a two-phase system clock C
This is a load signal control circuit which inputs K2, a mode control signal 41, and a second control signal 44 which is an output from the shift signal control circuit 4, and outputs a third control signal 51 which is a data load signal for the output register 3. .

第2図はシフト信号制御回路4を実現する回路の一例で
ある。第2図において6はANDゲートであり、7はイ
ンバータであり、8はモード制御信号41をスキャンク
ロック42により遅延させる遅延回路である。
FIG. 2 shows an example of a circuit realizing the shift signal control circuit 4. In FIG. In FIG. 2, 6 is an AND gate, 7 is an inverter, and 8 is a delay circuit that delays the mode control signal 41 by the scan clock 42.

第3図はロード信号制御回路5を実現する回路の一例で
ある。第3図において6はANDゲートであり、7はイ
ンバータであり、9.はフィリップフロップである。
FIG. 3 is an example of a circuit realizing the load signal control circuit 5. In FIG. In FIG. 3, 6 is an AND gate, 7 is an inverter, and 9. is Philip Flop.

以上のように構成された本実施例のスキャンパス制御装
置について、以下その動作を説明する。
The operation of the scan path control device of this embodiment configured as described above will be described below.

データシフトを行わない通常動作時には入力レジスタ2
にデータ取込み許可信号であるCKIでデータが取り込
まれ、その出力が組合せ回路1に入力される。そのとき
、第一の制御信号43はモード制御信号41によりディ
スエーブルとなり、第三の制御信号51がイネーブルと
なる。そのため出力レジスタ3は、第二の入力33をシ
ステムクロックCK2のタイミングで取り込み保持し、
第二の出力34から出力する。
Input register 2 during normal operation without data shifting
Data is fetched using CKI, which is a data fetch permission signal, and its output is input to the combinational circuit 1. At that time, the first control signal 43 is disabled by the mode control signal 41 and the third control signal 51 is enabled. Therefore, the output register 3 receives and holds the second input 33 at the timing of the system clock CK2, and
Output from the second output 34.

次にデータシフトを行うスキャンモード時の動作につい
て説明する。
Next, the operation in the scan mode in which data is shifted will be explained.

第4図はスキャンモード時のタイミング図を示すもので
ある。
FIG. 4 shows a timing diagram in scan mode.

モード制御信号41をイネーブル状態にするとスキャン
モードに切り替わる。その結果、シフト信号制御回路4
において第一の制御信号43がイネーブルとなる。しか
しスキャンモード時にシステムクロックCKIをディス
エーブル、システムクロックCK2をイネーブルの状態
で保持すると第一の入力31と第二の入力33との間で
データの衝突が発生する。そのため、出力レジスタ3の
データロード信号である第三の制御信号51を制御する
ことによりそれを防ぐ。第2図においてスキャンモード
に入るとモード制御信号41がスキャンクロック42に
より遅延され、第一の制御信号43の最初の1サイクル
のみがイネーブルとなる第二の制御信号44が生成され
る。また第3図において第二の制御信号44がイネーブ
ルとなるとその立上りで第三の制御信号51をディスエ
ーブルとし、第二の入力33を無効にし、第一の入力3
1のみを有効とする。またスキャンモードの終了を示す
モード制御信号41の信号の立下りで第三の制御信号5
1は再びイネーブルとなる。その結果、スキャンモード
時には、出力レジスタ3の値が第一の制御信号43のタ
イミングセ順次第一の出力32より出力され、また第一
の゛入力31からのデータを第一の制御信号43のタイ
ミングで順次取り込み、出力レジスタ3に値が設定され
る。
When the mode control signal 41 is enabled, the mode is switched to scan mode. As a result, shift signal control circuit 4
At this point, the first control signal 43 is enabled. However, if the system clock CKI is kept disabled and the system clock CK2 is kept enabled during the scan mode, a data collision occurs between the first input 31 and the second input 33. Therefore, this can be prevented by controlling the third control signal 51, which is the data load signal of the output register 3. In FIG. 2, when the scan mode is entered, the mode control signal 41 is delayed by the scan clock 42, and a second control signal 44 is generated in which only the first cycle of the first control signal 43 is enabled. Further, in FIG. 3, when the second control signal 44 is enabled, the third control signal 51 is disabled at the rising edge of the second control signal 44, the second input 33 is disabled, and the first input 3
Only 1 is valid. Further, at the falling edge of the mode control signal 41 indicating the end of the scan mode, the third control signal 5 is activated.
1 is enabled again. As a result, in the scan mode, the value of the output register 3 is output from the first output 32 in the timing sequence of the first control signal 43, and the data from the first input 31 is output from the first control signal 43. The data is taken in sequentially at the timing and the value is set in the output register 3.

以上のように本実施例によれば出力レジスタ3のデータ
ロード信号である第三の制御信号51を制御する回路、
ロード信号制御回路5を設けることにより、スキャンモ
ード時にデータ取込み許可信号がイネーブル状態であっ
てもスキャン動作をおこなうことができる。
As described above, according to this embodiment, the circuit that controls the third control signal 51 which is the data load signal of the output register 3;
By providing the load signal control circuit 5, a scan operation can be performed even when the data acquisition permission signal is enabled in the scan mode.

発明の詳細 な説明したように、本発明によれば、スキャンモード時
のデータロード信号である第三の制御信号を制御するロ
ード信号制御回路を設けることにより出力レジスタのデ
ータ取込み許可信号がイネーブル、入力レジスタのデー
タ取込み許可信号がディスネーブルであってもスキャン
動作がおこなえるため出力レジスタに入力レジスタのデ
ータ取込み許可信号で変化する回路が接続されている場
合であってもその状態を変化させずスキャン動作を可能
とし、スキャンモード後にはスキャンモ−ド前と同じ状
態で再開することができ、その実用的効果は大きい。
DETAILED DESCRIPTION OF THE INVENTION According to the present invention, by providing a load signal control circuit that controls the third control signal that is the data load signal in the scan mode, the data capture permission signal of the output register is enabled. Scanning can be performed even if the input register's data acquisition permission signal is disabled, so even if a circuit that changes depending on the input register's data acquisition permission signal is connected to the output register, the scan can be performed without changing its state. The operation can be resumed after the scan mode in the same state as before the scan mode, which has a great practical effect.

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

第1図は本発明の一実施例のスキャンパス制御装置の構
成を示すブロック図、第2図は同実施例におけるシフト
信号制御回路の一例を示す回路図、第3図は同実施例に
おけるロード信号制御回路の一例を示す回路図、第4図
は同実施例の動作を説明するタイミング図、第5図は従
来のスキャンパス制御装置の構放慄すブロック図、第6
図はこの動作を説明するタイミング図である。 1・・・組合せ回路、2・・・入力レジスタ、3・・・
出力レジスタ、4・・・シフト信号制御回路、5・・・
ロード信号制御回路、31・・・第一の入力、32・・
・第一の出力、33・・・第二の入力、34・・・第二
の出力、41・・・モード制御信号、42・・・スキャ
ンクロック、 43・・・第一の制御信号、44・・・第二の制御信号
、51・・・第三の制御信号、8・・・ANDゲート、
7・・・インバータ、8・・・遅延回路、9・・・フィ
リップ
FIG. 1 is a block diagram showing the configuration of a scan path control device according to an embodiment of the present invention, FIG. 2 is a circuit diagram showing an example of a shift signal control circuit in the same embodiment, and FIG. FIG. 4 is a circuit diagram showing an example of a signal control circuit, FIG. 4 is a timing diagram explaining the operation of the same embodiment, FIG. 5 is a block diagram showing the structure of a conventional scan path control device, and FIG.
The figure is a timing diagram explaining this operation. 1...Combination circuit, 2...Input register, 3...
Output register, 4...Shift signal control circuit, 5...
Load signal control circuit, 31...first input, 32...
- First output, 33... Second input, 34... Second output, 41... Mode control signal, 42... Scan clock, 43... First control signal, 44 ... second control signal, 51 ... third control signal, 8 ... AND gate,
7... Inverter, 8... Delay circuit, 9... Philip

Claims (1)

【特許請求の範囲】[Claims] データを入力し、それを処理する組合せ回路と、スキャ
ンモード時にはスキャンパス入力を第一の入力とし、ス
キャンパス出力を第一の出力とするシフトレジスタとし
ての機能と、スキャンモード時でない通常動作時には前
記組合せ回路からの入力を第二の入力とし、保持した後
それを第二の出力として出力するトランスペアレットラ
ッチとしての機能を持つ出力レジスタと、スキャンモー
ドか通常動作時かを示すモード制御信号とスキャンモー
ド時のシフトクロックであるスキャンクロックを入力と
し、前記出力レジスタのデータシフト信号を第一の制御
信号として前記出力レジスタに出力するシフト信号制御
回路と、前記モード制御信号と前記シフト信号制御回路
からの第二の制御信号と通常動作時のデータ取込み許可
信号を入力として前記出力レジスタのデータロード信号
である第三の制御信号を前記出力レジスタに出力するロ
ード信号制御回路を備えたことを特徴とするスキャンパ
ス制御装置。
A combinational circuit that inputs data and processes it, functions as a shift register with the scan path input as the first input in scan mode and the scan path output as the first output, and in normal operation not in scan mode. an output register that functions as a transparent latch that takes the input from the combinational circuit as a second input, holds it and then outputs it as a second output; and a mode control signal that indicates whether it is in scan mode or normal operation. and a shift signal control circuit that receives a scan clock that is a shift clock in a scan mode and outputs a data shift signal of the output register as a first control signal to the output register, and the mode control signal and the shift signal control circuit. The present invention further includes a load signal control circuit that receives a second control signal from the circuit and a data acquisition permission signal during normal operation and outputs a third control signal, which is a data load signal of the output register, to the output register. Characteristic scan path control device.
JP1084469A 1989-04-03 1989-04-03 Scan path controller Pending JPH02263247A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1084469A JPH02263247A (en) 1989-04-03 1989-04-03 Scan path controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1084469A JPH02263247A (en) 1989-04-03 1989-04-03 Scan path controller

Publications (1)

Publication Number Publication Date
JPH02263247A true JPH02263247A (en) 1990-10-26

Family

ID=13831497

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1084469A Pending JPH02263247A (en) 1989-04-03 1989-04-03 Scan path controller

Country Status (1)

Country Link
JP (1) JPH02263247A (en)

Similar Documents

Publication Publication Date Title
US4740891A (en) Asynchronous state machine
JPH07147573A (en) Dynamic clock switching circuit
JP2550837B2 (en) Scan path test control circuit
US5901321A (en) Apparatus and method for interrupt processing in a code division multiple access switching apparatus
JPH04319693A (en) Timer input controlling circuit and counter controlling circuit
JPH02263247A (en) Scan path controller
JPH06348507A (en) Microcomputer
US6205192B1 (en) Clock input control circuit
US5940599A (en) Data processor
JPH0334617A (en) Flip-flop circuit
JP2567119B2 (en) Bus arbitration circuit
JPH10124455A (en) Serial communication circuit
JPH01302459A (en) High-speed synchronous system data transferring system
JP2741194B2 (en) LCD drive circuit
JP2000227456A (en) Scan flip-flop
JPH0767070B2 (en) Select circuit
JPH076152A (en) Input circuit for external control signal
JPH01290013A (en) Asynchronous clock selecting/synchronizing circuit
JPH03171234A (en) Clock synchronous storage circuit
JPH04111558A (en) Serial input/output device
JPH0799434A (en) Low power consumption circuit
JP2668215B2 (en) Micro computer
JPH0333962A (en) Serial interface circuit
JPH0983307A (en) Logic circuit and its test method
JPH02201515A (en) Initial data reset control circuit