JPH04280384A - Operating mode designating system - Google Patents

Operating mode designating system

Info

Publication number
JPH04280384A
JPH04280384A JP3068696A JP6869691A JPH04280384A JP H04280384 A JPH04280384 A JP H04280384A JP 3068696 A JP3068696 A JP 3068696A JP 6869691 A JP6869691 A JP 6869691A JP H04280384 A JPH04280384 A JP H04280384A
Authority
JP
Japan
Prior art keywords
signal
mode
circuit
system clock
input
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.)
Withdrawn
Application number
JP3068696A
Other languages
Japanese (ja)
Inventor
Hideo Yamazaki
英男 山崎
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP3068696A priority Critical patent/JPH04280384A/en
Publication of JPH04280384A publication Critical patent/JPH04280384A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Microcomputers (AREA)

Abstract

PURPOSE:To use in common an input terminal for both a normal mode and a test mode and to reduce the number of pins by fixing the level of a system clock input terminal, and using this level as a mode switching signal for announcing the start of the test mode. CONSTITUTION:Signals S1 and S2 are inputted from pins 1 and 2. In the normal mode, the signal S1 is a system clock signal CK. In the test mode, this signal is the signal of logic '1'. A delay circuit 3 delays the input signal S1 of the pin 1 only for the half cycle of the system clock signal CK. The output terminal of the delay circuit 3 is connected to one input terminal of an AND circuit 4. The output terminal of the AND circuit 4 is connected to the input terminal of a delay circuit 5 and one input terminal of an AND circuit 6. When the system clock signal is supplied to a terminal C, a synchronous order circuit 8 is turned to the normal mode and when the signal from the pin 2 is supplied, this circuit 8 is turned to the test mode.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、LSIにおいて動作モ
ードを切替えるための信号用の特別なピンを設けること
なく、動作モードを指定することができる方式に関する
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for specifying an operating mode in an LSI without providing a special pin for a signal for switching the operating mode.

【0002】0002

【従来の技術】最近、LSI回路の複雑化に伴い、端子
(またはピン)の増設の必要性が増大し、多ピン化する
傾向にある。しかし、LSIの物理的な大きさによりピ
ンの数には自ずから制約があるため、設計上、いかにピ
ン数を少なくして所望のLSI回路を実現するかが重要
な課題の一つとなっている。従来、LSIの動作を通常
モードとテストモードとの間で切り換えるための方法と
して、モード切り換え信号を外部から供給するための特
別なモード切り換え用端子(ピン)を設けている。この
ような従来例を図3に示す。
2. Description of the Related Art Recently, as LSI circuits have become more complex, the need for additional terminals (or pins) has increased, and there is a trend toward increasing the number of pins. However, since there are restrictions on the number of pins due to the physical size of the LSI, one of the important design issues is how to reduce the number of pins to realize a desired LSI circuit. Conventionally, as a method for switching the operation of an LSI between a normal mode and a test mode, a special mode switching terminal (pin) is provided for externally supplying a mode switching signal. FIG. 3 shows such a conventional example.

【0003】図3において、11、12および13はL
SIに設けられた入力端子(ピン)を示す。ピン11か
らはシステムクロック信号CKが入力する。ピン12か
らは、モード切り換え信号SWが入力する。ピン13は
信号Sを入力する。同期式順序回路15は、通常モード
ではシステムクロック信号CKによって動作し、テスト
モードでは信号Sによって動作する。他の回路16は、
同期式順序回路15と異なる系統の回路で、信号Sを入
力して動作する。モード切換回路14の入力端子A、M
およびBは、それぞれ、ピン11、12および13に接
続され、出力端子Xは同期式順序回路15に接続されて
いる。
In FIG. 3, 11, 12 and 13 are L
Input terminals (pins) provided on SI are shown. A system clock signal CK is input from pin 11. A mode switching signal SW is input from pin 12. Pin 13 inputs signal S. The synchronous sequential circuit 15 operates according to the system clock signal CK in the normal mode, and operates according to the signal S in the test mode. The other circuit 16 is
It is a circuit of a different system from the synchronous sequential circuit 15, and operates by inputting the signal S. Input terminals A and M of mode switching circuit 14
and B are connected to pins 11, 12 and 13, respectively, and the output terminal X is connected to a synchronous sequential circuit 15.

【0004】モード切換回路14は、M端子に入力する
モード切り換え信号SWが通常モードを示す信号、例え
ば、論理1(“H”)のときはA端子に入力するクロッ
ク信号CKを出力端子Xからは同期式順序回路15へ出
力し、モード切り換え信号SWがテストモードを示す信
号、例えば、論理0(“L”)のときは、B端子に入力
する信号Sを出力端子Xから同期式順序回路15へ出力
する。上記のように、同期式順序回路15の動作モード
は、ピン12から入力するモード切り換え信号SWのレ
ベルによって、通常モードあるいはテストモードに切り
換えられるわけであるが、モードの切り換え動作は頻繁
に行われるものでなく、従って、ピン12の使用効率は
他のピンに比して低い。
The mode switching circuit 14 outputs the clock signal CK input to the A terminal from the output terminal X when the mode switching signal SW input to the M terminal is a signal indicating the normal mode, for example, logic 1 (“H”). is output to the synchronous sequential circuit 15, and when the mode switching signal SW is a signal indicating the test mode, for example, logic 0 (“L”), the signal S input to the B terminal is output from the output terminal X to the synchronous sequential circuit. Output to 15. As mentioned above, the operation mode of the synchronous sequential circuit 15 is switched between the normal mode and the test mode depending on the level of the mode switching signal SW input from the pin 12, and the mode switching operation is performed frequently. Therefore, the usage efficiency of pin 12 is lower than that of other pins.

【0005】[0005]

【発明が解決しようとする課題】LSI回路が複雑化し
多ピン化するに伴い、重要度の高い入出力信号に対して
は独立なピンを割り当て、比較的重要度の低い、例えば
、図3のピン12のような使用効率の低いピンは回路構
成の工夫によってなるべく設置しなくともよいようにす
ることが要求される。本発明は、上記要求に応じ、LS
Iの動作モード切り換え用端子を設けることなく回路の
動作モードの切り換えを可能とする動作モード指定方式
を提供することを目的とする。
[Problem to be Solved by the Invention] As LSI circuits become more complex and have more pins, independent pins are assigned to input/output signals of high importance, and signals of relatively low importance, such as those shown in FIG. 3, are assigned independent pins. It is required that pins such as pin 12, which have low usage efficiency, be provided as little as possible by devising a circuit configuration. The present invention, in response to the above requirements,
An object of the present invention is to provide an operation mode designation method that enables switching of the operation mode of a circuit without providing an operation mode switching terminal.

【0006】[0006]

【課題を解決するための手段】本発明による動作モード
指定方式は、LSIにおいて、通常第1の信号が入力す
る端子に、第2の信号を入力することにより、内部回路
の動作を第1のモードから第2のモードに移行させるよ
うに構成される。第1の信号はシステムクロック、第2
の信号は論理1あるいは論理0に保持された信号である
。本発明による動作モード指定方式は具体的には、LS
Iにおいて、システムクロック信号により通常モードで
動作し、他の信号によってテストモードで動作する内部
回路と、システムクロック入力用端子にシステムクロッ
ク信号が入力したとき、システムクロック信号を内部回
路へ供給して通常モードで動作させ、システムクロック
入力用端子に論理1または論理0に保持されたモード切
り換え信号が入力したとき、内部回路へ他の信号を供給
してテストモードで動作させる手段とを備えて構成され
る。
[Means for Solving the Problems] The operation mode designation method according to the present invention changes the operation of an internal circuit to a first signal by inputting a second signal to a terminal to which a first signal is normally input in an LSI. mode to a second mode. The first signal is the system clock, the second
The signal is held at logic 1 or logic 0. Specifically, the operation mode designation method according to the present invention is based on the LS
In I, the internal circuit operates in normal mode by the system clock signal and operates in test mode by other signals, and when the system clock signal is input to the system clock input terminal, the system clock signal is supplied to the internal circuit. and means for operating in the test mode by supplying other signals to the internal circuit when a mode switching signal held at logic 1 or logic 0 is input to the system clock input terminal while operating in the normal mode. be done.

【0007】[0007]

【作用】上記構成により、LSIの内部回路は、通常第
1の信号、例えば、システムクロック信号によって第1
の動作モードで動作している。このとき、システムクロ
ック入力用端子にシステムクロック信号の代りに第2の
信号、すなわちモード切り換え信号を入力することによ
り内部回路を第2の動作モード、例えばテストモードに
移行させる。テストモードでは、内部回路は他の信号を
入力して動作する。上記のように、LSIの内部回路が
、システムクロック信号で通常動作を行い、テストモー
ドでは他の信号で動作する場合、システムクロック入力
端子のレベルを論理1あるいは論理0に固定してしまう
ことにより、これをテストモードに入ったことを知らせ
るモード切り換え信号として使用する。従って、システ
ムクロック入力端子を通常モードとテストモードの両方
に兼用することができ、モード切り換え用として特別に
端子を設ける必要がなくなる。
[Operation] With the above configuration, the internal circuit of the LSI is normally activated by the first signal, for example, the system clock signal.
operating in the operating mode. At this time, by inputting a second signal, that is, a mode switching signal, instead of the system clock signal to the system clock input terminal, the internal circuit is shifted to the second operation mode, for example, the test mode. In test mode, the internal circuit operates by inputting other signals. As mentioned above, when the internal circuit of an LSI normally operates with a system clock signal and operates with other signals in test mode, the level of the system clock input terminal is fixed to logic 1 or logic 0. , this is used as a mode switching signal to notify that test mode has been entered. Therefore, the system clock input terminal can be used for both the normal mode and the test mode, and there is no need to provide a special terminal for mode switching.

【0008】[0008]

【実施例】以下、本発明の実施例について、図面を参照
して詳細に説明する。図1は、本発明による動作モード
指定方式の実施例の構成を示す。図1において、1およ
び2はLSIの入力端子(ピン)を示す。ピン1および
2からは、信号S1およびS2がそれぞれ入力される。 信号S1は通常モードにおいてはシステムクロック信号
CKであり、テストモードのときは論理1(“H”)の
信号である。信号S2は信号S1と関係のない信号であ
る。遅延回路3は、ピン1の入力信号S1を、システム
クロック信号CKのほぼ半周期分だけ遅延させる。遅延
回路4の出力端子はAND回路4の一方の入力端子に接
続される。AND回路4の他方の入力端子はピン1に接
続される。
Embodiments Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 shows the configuration of an embodiment of the operation mode designation method according to the present invention. In FIG. 1, 1 and 2 indicate input terminals (pins) of the LSI. Signals S1 and S2 are input from pins 1 and 2, respectively. The signal S1 is the system clock signal CK in the normal mode, and is a logic 1 (“H”) signal in the test mode. Signal S2 is a signal unrelated to signal S1. Delay circuit 3 delays input signal S1 at pin 1 by approximately half a cycle of system clock signal CK. The output terminal of the delay circuit 4 is connected to one input terminal of the AND circuit 4. The other input terminal of AND circuit 4 is connected to pin 1.

【0009】AND回路4の出力端子は、遅延回路5の
入力端子およびAND回路6の一方の入力端子に接続さ
れる。遅延回路5の出力端子は、AND回路6他方の入
力端子に接続される。セレクタ7は、入力端子A、Bお
よびSELおよび出力端子Xを有し、SEL端子の入力
信号が“L”のとき、A端子の入力信号をX端子から出
力し、SEL端子の入力信号が“H”のときB端子の入
力信号をX端子から出力する機能を有する。
The output terminal of the AND circuit 4 is connected to the input terminal of the delay circuit 5 and one input terminal of the AND circuit 6. The output terminal of the delay circuit 5 is connected to the other input terminal of the AND circuit 6. The selector 7 has input terminals A, B and SEL, and an output terminal X. When the input signal of the SEL terminal is "L", the input signal of the A terminal is output from the X terminal, and the input signal of the SEL terminal is " It has a function of outputting the input signal of the B terminal from the X terminal when it is "H".

【0010】セレクタ7の入力端子A、BおよびSEL
は、それぞれ、ピン1、ピン2、およびAND回路6の
出力端子に接続され、出力端子Xは同期式順序回路8の
クロック端子Cに接続される。同期式順序回路8は、端
子Cにシステムクロック信号CKが供給されているとき
は、通常モードとなり通常の動作を行なう。同期式順序
回路8のテストを行うときは、端子Cはピン2からの信
号S2を供給する。このとき、同期式順序回路8はテス
トモードとなる。他の回路9は、ピン2に接続され、信
号S2により通常動作を行う。
Input terminals A, B and SEL of selector 7
are connected to pin 1, pin 2, and the output terminal of the AND circuit 6, respectively, and the output terminal X is connected to the clock terminal C of the synchronous sequential circuit 8. When the system clock signal CK is supplied to the terminal C, the synchronous sequential circuit 8 enters the normal mode and performs normal operations. When testing the synchronous sequential circuit 8, terminal C supplies the signal S2 from pin 2. At this time, the synchronous sequential circuit 8 enters the test mode. The other circuit 9 is connected to pin 2 and operates normally with signal S2.

【0011】以下、図1の回路の動作について説明する
。図2は、図1の回路の各部の信号の関係を示すタイム
チャートである。図2において、(1)、(2)、(3
)、(4)、(5)、(6)、(7)、および(8)は
、それぞれ、ピン1の入力信号S1、ピン2の入力信号
S2、遅延回路3の出力信号S3、AND回路4の出力
信号S4、遅延回路5の出力信号S5、AND回路6の
出力信号S6、セレクタ7の出力信号S7、および時刻
tを示す。
The operation of the circuit shown in FIG. 1 will be explained below. FIG. 2 is a time chart showing the relationship of signals in each part of the circuit shown in FIG. In Figure 2, (1), (2), (3
), (4), (5), (6), (7), and (8) are the input signal S1 of pin 1, the input signal S2 of pin 2, the output signal S3 of delay circuit 3, and the AND circuit, respectively. 4, an output signal S5 of the delay circuit 5, an output signal S6 of the AND circuit 6, an output signal S7 of the selector 7, and time t.

【0012】まず、通常モードにおいて、ピン1の入力
信号S1は周期Tのシステムクロック信号CKである。 遅延回路3は、入力信号S1に対して、システムクロッ
ク信号CKのほぼ半周期分((T/2)+△T1)の遅
延を与えるものとする。そのような遅延を与えられた信
号S3と元の信号S1との論理積は図2の(4)のよう
になる。もし、遅延回路3が、正確にT/2の遅延を与
えるものとすれば、信号S4は“L”の信号となる。遅
延回路5が入力信号に与える遅延時間が△T2であると
すれば、遅延された出力信号S5は図2の(5)のよう
になる。従って、AND回路6の出力信号S6は、S4
とS5の論理積となり、システムクロック信号CKが入
力している間、すなわち、通常モードの間は常に“L”
になる。この間、セレクタ7のSEL端子には“L”信
号が供給されるから、セレクタ7は端子Aを選択し、従
って信号S1、すなわち、システムクロック信号CKが
同期式順序回路8に供給される。
First, in the normal mode, the input signal S1 at pin 1 is the system clock signal CK with period T. It is assumed that the delay circuit 3 delays the input signal S1 by approximately half the period of the system clock signal CK ((T/2)+ΔT1). The AND of the signal S3 given such a delay and the original signal S1 is as shown in (4) in FIG. If the delay circuit 3 provides an accurate delay of T/2, the signal S4 becomes an "L" signal. If the delay time given to the input signal by the delay circuit 5 is ΔT2, the delayed output signal S5 will be as shown in (5) in FIG. Therefore, the output signal S6 of the AND circuit 6 is S4
and S5, and is always "L" while the system clock signal CK is input, that is, during normal mode.
become. During this time, since the "L" signal is supplied to the SEL terminal of the selector 7, the selector 7 selects the terminal A, and therefore the signal S1, that is, the system clock signal CK is supplied to the synchronous sequential circuit 8.

【0013】つぎに、時刻t2において、テストモード
とするために、ピン1の入力信号S1を論理1に保持さ
れた“H”信号にする。遅延回路3の出力信号S3は(
T/2)+△T1だけ遅れた時刻t3で“H”信号とな
り、同時に信号S4も“H”信号となる。更に△T2遅
れて時刻t4で信号S5は“H”信号となり、同時にモ
ード選択信号S6が“L”信号から“H”信号に変る。 そこで、セレクタ7は入力端子をAからBに切り換え、
これによって、同期式順序回路8へは、ピン2からの信
号S2が送られる。
Next, at time t2, in order to enter the test mode, the input signal S1 at pin 1 is set to an "H" signal held at logic 1. The output signal S3 of the delay circuit 3 is (
At time t3, which is delayed by T/2)+ΔT1, the signal becomes an "H" signal, and at the same time, the signal S4 also becomes an "H" signal. Further delayed by ΔT2, at time t4, the signal S5 becomes an "H" signal, and at the same time, the mode selection signal S6 changes from an "L" signal to an "H" signal. Therefore, selector 7 switches the input terminal from A to B,
As a result, the signal S2 from pin 2 is sent to the synchronous sequential circuit 8.

【0014】上記のように同期式順序回路8は、入力信
号S1がシステムクロックCKであるときはこのシステ
ムクロックを入力して通常動作を行い、入力信号S1が
論理1に保持されたときはテストモードとなり、無関係
な回路9の入力信号S2によってテストされる。なお、
セレクタ7の入力端子AおよびBを逆にすることにより
、入力信号S1が論理0に保持された場合をテストモー
ドとすることができる。
As described above, when the input signal S1 is the system clock CK, the synchronous sequential circuit 8 inputs this system clock and performs normal operation, and when the input signal S1 is held at logic 1, it performs a test operation. mode and is tested by the input signal S2 of the extraneous circuit 9. In addition,
By reversing the input terminals A and B of the selector 7, the test mode can be set when the input signal S1 is held at logic 0.

【0015】[0015]

【発明の効果】本発明によれば、LSI回路の動作モー
ド指定のために特別な端子(ピン)を設ける必要がなく
、LSIの多ピン化に対応することができる。
According to the present invention, there is no need to provide a special terminal (pin) for specifying the operation mode of an LSI circuit, and it is possible to cope with an increase in the number of pins of an LSI.

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

【図1】本発明の実施例の構成を示す図である。FIG. 1 is a diagram showing the configuration of an embodiment of the present invention.

【図2】図1の回路の信号のタイムチャートである。FIG. 2 is a time chart of signals in the circuit of FIG. 1;

【図3】従来の技術を説明するための図である。FIG. 3 is a diagram for explaining a conventional technique.

【符号の説明】[Explanation of symbols]

1、2    ピン 3、5    遅延回路 4、6    AND回路 7    セレクタ 8    同期式順序回路 9    他の回路 11、12、13    ピン 14    モード切換回路 15    同期式順序回路 16    他の回路 S1、S2、S3、S4、S5、S6、S7CK、S、
SW    信号
1, 2 Pins 3, 5 Delay circuits 4, 6 AND circuit 7 Selector 8 Synchronous sequential circuit 9 Other circuits 11, 12, 13 Pin 14 Mode switching circuit 15 Synchronous sequential circuit 16 Other circuits S1, S2, S3, S4, S5, S6, S7CK, S,
SW signal

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】  LSIにおいて、通常第1の信号が入
力する端子に第2の信号を入力することにより、内部回
路の動作を第1のモードから第2のモードに移行させる
ことを特徴とする動作モード指定方式。
[Claim 1] In an LSI, the operation of the internal circuit is shifted from the first mode to the second mode by inputting a second signal to a terminal to which the first signal is normally input. Operation mode specification method.
【請求項2】  第1の信号はシステムクロックであり
、第2の信号は、論理1に保持された信号であることを
特徴とする請求項1の動作モード指定方式。
2. The operation mode designation method according to claim 1, wherein the first signal is a system clock, and the second signal is a signal held at logic 1.
【請求項3】  第1の信号はシステムクロックであり
、第2の信号は、論理0に保持された信号であることを
特徴とする請求項1の動作モード指定方式。
3. The operating mode designation system according to claim 1, wherein the first signal is a system clock and the second signal is a signal held at logic 0.
【請求項4】  LSIにおいて、システムクロック信
号により通常モードで動作し、他の信号によってテスト
モードで動作する内部回部と、システムクロック入力用
端子にシステムクロック信号が入力したとき、システム
クロック信号を前記内部回路へ供給して通常モードで動
作させ、前記システムクロック入力用端子にモード切り
換え信号が入力したとき、前記内部回路へ前記他の信号
を供給してテストモードで動作させる手段とを備えるこ
とを特徴とする動作モード指定方式。
4. In an LSI, when the system clock signal is input to the system clock input terminal, the internal circuit operates in the normal mode by the system clock signal and in the test mode by other signals, and when the system clock signal is input to the system clock input terminal. and means for supplying the internal circuit with the other signal to cause the internal circuit to operate in a normal mode and, when a mode switching signal is input to the system clock input terminal, to supply the other signal to the internal circuit to cause the internal circuit to operate in a test mode. An operation mode specification method characterized by:
【請求項5】  前記モード切り換え信号は論理1に保
持された信号であることを特徴とする請求項4のモード
指定方式。
5. The mode designation method according to claim 4, wherein the mode switching signal is a signal held at logic 1.
JP3068696A 1991-03-08 1991-03-08 Operating mode designating system Withdrawn JPH04280384A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3068696A JPH04280384A (en) 1991-03-08 1991-03-08 Operating mode designating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3068696A JPH04280384A (en) 1991-03-08 1991-03-08 Operating mode designating system

Publications (1)

Publication Number Publication Date
JPH04280384A true JPH04280384A (en) 1992-10-06

Family

ID=13381188

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3068696A Withdrawn JPH04280384A (en) 1991-03-08 1991-03-08 Operating mode designating system

Country Status (1)

Country Link
JP (1) JPH04280384A (en)

Similar Documents

Publication Publication Date Title
JP2632731B2 (en) Integrated circuit device
JPS63263480A (en) Semiconductor integrated logic circuit
JPH07147573A (en) Dynamic clock switching circuit
US5337321A (en) Scan path circuit with clock signal feedback, for skew avoidance
GB2210171A (en) Test overlay circuit
JPH11145786A (en) Flip-flop reset circuit
JPH04280384A (en) Operating mode designating system
US20060156114A1 (en) Semiconductor device for accurate measurement of time parameters in operation
JP2001108727A (en) Circuit and method for controlling clock
JP2508427B2 (en) IC circuit
JP3045002B2 (en) Mode setting circuit for integrated circuits
JPH09311160A (en) Integrated circuit
JP2005062081A (en) Semiconductor circuit device and test method thereof
JP2538074B2 (en) Logic integrated circuit
JP2001257566A (en) Latch circuit with enable
JPH10307167A (en) Testing device for logic integrated circuit
JPH05257564A (en) Semiconductor integrated circuit
JPH11344534A (en) Semiconductor integrated circuit capable of full scan test and test data generation method
JPH0690657B2 (en) Clock switching circuit
JPH0754348B2 (en) Test circuit
JPH0666896A (en) Logic integrated circuit
JPH10125085A (en) Semiconductor integrated circuit
JPH1090362A (en) Semiconductor integrated device
JPH05252039A (en) Multi-channel d/a converter of 3-line serial data transfer system
JP2000163173A (en) Output simultaneous operation reducing circuit

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19980514