JPH0537332A - Buffer circuit - Google Patents

Buffer circuit

Info

Publication number
JPH0537332A
JPH0537332A JP3214370A JP21437091A JPH0537332A JP H0537332 A JPH0537332 A JP H0537332A JP 3214370 A JP3214370 A JP 3214370A JP 21437091 A JP21437091 A JP 21437091A JP H0537332 A JPH0537332 A JP H0537332A
Authority
JP
Japan
Prior art keywords
buffer
circuit
output
level
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.)
Pending
Application number
JP3214370A
Other languages
Japanese (ja)
Inventor
Mare Tandai
希 丹代
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP3214370A priority Critical patent/JPH0537332A/en
Publication of JPH0537332A publication Critical patent/JPH0537332A/en
Pending legal-status Critical Current

Links

Landscapes

  • Logic Circuits (AREA)
  • Electronic Switches (AREA)
  • Metal-Oxide And Bipolar Metal-Oxide Semiconductor Integrated Circuits (AREA)

Abstract

PURPOSE:To prevent a breakdown of a buffer by providing a circuit for detecting an error state that logic of an input side and an output side of the buffer is inconsistent, and controlling its buffer to a distble state. CONSTITUTION:An output of an error detecting circuit 4 is inputted to an enable terminal 11 of a buffer 1, and when the output of the circuit 4 becomes an H level, the buffer 1 becomes a disable (invalid) state. The moment a power source is turned on, even if each part of the circuit is executing any operation, as the case may be, the output of the circuit 4 becomes an H level, the buffer 1 becomes a disable state, and in order to prevent it, a pull-up resistance 7 is provided. As a result, the circuit 4 outputs an L level. Accordingly, the buffer 1 becomes an enable state, and when an input of the buffer 1 is an H level, outputs of the buffers 1, 2 and 3 all output an H level, and thereafter, the level is varied in accordance with the input of the buffer 1.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【技術分野】本発明はバッファ回路に関し、特に通信
機、コンピュータ等に用いるバッファ回路に関する。
TECHNICAL FIELD The present invention relates to a buffer circuit, and more particularly to a buffer circuit used in a communication device, a computer, or the like.

【0002】[0002]

【従来技術】一般に、ディジタル論理回路を応用する通
信機、ディジタルコンピュータ等にはバッファが用いら
れる。また、個々の電気部品を用いて構成する論理回路
の他、集積回路として構成する論理回路を用いたパッケ
ージ実装状態を必要とするディジタル機器を設計する場
合にもバッファが用いられる。
2. Description of the Related Art Generally, a buffer is used in a communication device, a digital computer or the like which applies a digital logic circuit. A buffer is also used when designing a digital device that requires a package mounting state using a logic circuit configured as an integrated circuit, in addition to a logic circuit configured using individual electric components.

【0003】従来、電源が互いに異なるゲートアレイ間
に用いられる出力用及び受信用のCMOSバッファ回路で
は、受信側のゲートアレイの電源が落ちたとき、そのバ
ッファはローインピーダンス状態となり、大電流が流れ
てしまう。その電流により出力側のバッファが壊れてし
まう等の障害が発生するという欠点があった。また、こ
れを防止するため、受信側のゲートアレイには、TTL の
バッファを外付けする必要があるという欠点があった。
Conventionally, in a CMOS buffer circuit for output and reception, which is used between gate arrays having different power supplies, when the power supply of the gate array on the receiving side is turned off, the buffer becomes a low impedance state and a large current flows. Will end up. There is a drawback in that the current causes a failure such as the buffer on the output side being broken. In addition, in order to prevent this, there is a drawback that it is necessary to externally attach a TTL buffer to the gate array on the receiving side.

【0004】[0004]

【発明の目的】本発明は、上述した従来の欠点を解決す
るためになされたものであり、その目的は外付け回路を
設けずに出力バッファの破壊を防止することのできるバ
ッファ回路を提供することである。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned conventional drawbacks, and an object thereof is to provide a buffer circuit capable of preventing the destruction of an output buffer without providing an external circuit. That is.

【0005】[0005]

【発明の構成】本発明によるバッファ回路は、第1のバ
ッファと、前記第1のバッファの出力を入力とし前記第
1のバッファとは異なる電源により動作する第2のバッ
ファと、前記電源が断状態になった際、前記第1のバッ
ファの出力ラインが低レベルでかつ該出力ラインを高レ
ベルとする信号が前記第1のバッファに入力されたとき
前記第1のバッファをディセーブル状態にせしめる制御
回路とを有することを特徴とする。
According to the buffer circuit of the present invention, the power supply is cut off from a first buffer, a second buffer which receives an output of the first buffer and operates by a power supply different from the first buffer. When a signal that causes the output line of the first buffer to have a low level and the output line to have a high level is input to the first buffer, the first buffer is disabled. And a control circuit.

【0006】[0006]

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.

【0007】図1は本発明によるバッファ回路の一実施
例の概略構成図である。図において、本実施例のバッフ
ァ回路は、ゲートアレイ5内に設けられたトライステー
ト型のCMOSバッファ1と、このバッファ1の出力を入力
とし、ゲートアレイ6内に設けられたトライステート型
CMOSバッファ3とを含んで構成されている。これらゲー
トアレイ5と6とは、その電源の供給元が互いに異なる
ものであり、よってバッファ1とバッファ3とは、互い
に異なる電源の供給により動作をする。
FIG. 1 is a schematic configuration diagram of an embodiment of a buffer circuit according to the present invention. In the figure, the buffer circuit of the present embodiment is a tri-state type CMOS buffer 1 provided in the gate array 5, and a tri-state type CMOS buffer 1 provided in the gate array 6 with the output of the buffer 1 as an input.
It is configured to include a CMOS buffer 3. The gate arrays 5 and 6 are different from each other in the source of power supply, and thus the buffer 1 and the buffer 3 operate by the supply of different power.

【0008】通常動作時においては、バッファ1からバ
ッファ3へ信号がそのまま伝達される。ところがゲート
アレイ6の電源のみが断状態になる場合がある。かかる
場合には、バッファ3の入力側がローインピーダンスに
なり、バッファ1が壊れるおそれがある。
In the normal operation, the signal is transmitted as it is from the buffer 1 to the buffer 3. However, there is a case where only the power supply of the gate array 6 is cut off. In such a case, the input side of the buffer 3 becomes low impedance, and the buffer 1 may be damaged.

【0009】そこで、本実施例では、エラー検出回路4
が設けられている。このエラー検出回路4は、バッファ
1の入力がハイレベルで、かつバッファ2の出力、すな
わちバッファ1の出力がローレベルのときのみ出力がハ
イレベルとなる回路である。例えば、図2に示されてい
るように、アンド回路40及びその一方の入力に設けら
れたインバータ41からなる構成とし、バッファ2の出
力をインバータ41に入力し、バッファ1の入力をその
ままアンド回路40に入力すれば良い。
Therefore, in the present embodiment, the error detection circuit 4
Is provided. The error detection circuit 4 is a circuit in which the output is high only when the input of the buffer 1 is high and the output of the buffer 2, that is, the output of the buffer 1 is low. For example, as shown in FIG. 2, the AND circuit 40 and an inverter 41 provided at one input of the AND circuit 40 are provided, the output of the buffer 2 is input to the inverter 41, and the input of the buffer 1 is directly input to the AND circuit. Enter in 40.

【0010】図1に戻り、エラー検出回路4の出力は、
バッファ1のイネーブル端子11に入力されており、エ
ラー検出回路4の出力がハイレベルになると、バッファ
1はディセーブル(無効)状態となる。なお、トライス
テート型のバッファ2及び3のイネーブル端子は常にロ
ーレベルとする。
Returning to FIG. 1, the output of the error detection circuit 4 is
When the error detection circuit 4 is input to the enable terminal 11 of the buffer 1 and the output of the error detection circuit 4 becomes high level, the buffer 1 is disabled (disabled). The enable terminals of the tristate buffers 2 and 3 are always at low level.

【0011】かかる構成とされた本実施例の回路の動作
について図3をも参照して説明する。図3は、図1の各
部の動作を示すタイムチャートである。まず、ゲートア
レイ5及び6の電源がオフ状態からオン状態に変化した
時(時刻A)、プルアップ抵抗7によってバッファ2の
出力はハイレベルとなる。
The operation of the circuit of this embodiment having such a configuration will be described with reference to FIG. FIG. 3 is a time chart showing the operation of each unit in FIG. First, when the power supplies of the gate arrays 5 and 6 change from the off state to the on state (time A), the output of the buffer 2 becomes high level by the pull-up resistor 7.

【0012】すなわち、電源がオンとなった瞬間は回路
の各部がどのように動作するかわからず、場合によって
はエラー検出回路の出力がハイレベルとなってバッファ
1がディセーブル状態となってしまう。これを防止する
ためにプルアップ抵抗7が設けられているのである。な
お、その抵抗値は、例えばバッファ1のドライブ能力が
20[mA]程度の場合、250 [Ω]以上とすれば良い。
That is, it is not known how each part of the circuit operates at the moment when the power is turned on, and in some cases, the output of the error detection circuit becomes high level and the buffer 1 is disabled. .. The pull-up resistor 7 is provided to prevent this. The resistance value may be set to 250 [Ω] or more when the drive capacity of the buffer 1 is about 20 [mA].

【0013】これにより、エラー検出回路4は、ローレ
ベルを出力する。従って、バッファ1は、イネーブル状
態になり、バッファ1の入力をハイレベルとすると、バ
ッファ1,2及び3の出力は全てハイレベルを出力す
る。その後は、バッファ1の入力に応じてレベルが変化
する。
As a result, the error detection circuit 4 outputs a low level. Therefore, the buffer 1 is enabled, and when the input of the buffer 1 is set to the high level, the outputs of the buffers 1, 2, and 3 all output the high level. After that, the level changes according to the input of the buffer 1.

【0014】ここで、ゲートアレイ6の電源のみがオフ
状態になった時(時刻B)、バッファ3の入力はローイ
ンピーダンス状態になり、それによりバッファ2の出力
はローレベルとなる。エラー検出回路4はこれを検出
し、ハイレベルを出力する。これにより、バッファ1の
イネーブル端子11にハイレベルが入力され、バッファ
1の出力が閉じられた状態となり、電流は流れない。
Here, when only the power source of the gate array 6 is turned off (time B), the input of the buffer 3 is in the low impedance state, and the output of the buffer 2 is in the low level. The error detection circuit 4 detects this and outputs a high level. As a result, a high level is input to the enable terminal 11 of the buffer 1, the output of the buffer 1 is closed, and no current flows.

【0015】その後、ゲートアレイ6の電源が復活する
と(時刻C)、バッファ2の出力はハイレベルとなり、
バッファ1は再びイネーブル状態になる。
After that, when the power source of the gate array 6 is restored (time C), the output of the buffer 2 becomes high level,
Buffer 1 is enabled again.

【0016】なお、破壊からの保護の対象となるバッフ
ァがインバータバッファである場合においても、エラー
検出回路の内部構成を変更すれば同様に破壊を防止でき
る。つまり、保護対象となるバッファの出力ラインがロ
ーレベル(低レベル)で、かつその出力ラインをハイレ
ベル(高レベル)とする信号がそのバッファに入力され
たとき、そのバッファをディセーブル状態に制御するエ
ラー検出回路を設ければ良いのである。
Even when the buffer to be protected from destruction is an inverter buffer, the destruction can be similarly prevented by changing the internal configuration of the error detection circuit. In other words, when the output line of the buffer to be protected is at low level (low level) and a signal that makes the output line at high level (high level) is input to that buffer, the buffer is controlled to the disable state. It is only necessary to provide an error detection circuit that does this.

【0017】[0017]

【発明の効果】以上説明したように本発明は、バッファ
の入力側と出力側との論理が矛盾するエラー状態を検出
しそのバッファをディセーブル状態に制御する回路を設
けることにより、バッファの破壊を防止することができ
るという効果がある。
As described above, according to the present invention, the buffer is destroyed by providing a circuit for detecting an error state in which the logics of the input side and the output side of the buffer are inconsistent and controlling the buffer in the disabled state. The effect is that it can be prevented.

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

【図1】本発明の実施例によるバッファ接続回路の概略
構成図である。
FIG. 1 is a schematic configuration diagram of a buffer connection circuit according to an embodiment of the present invention.

【図2】図1中のエラー検出回路の内部構成例を示すブ
ロック図である。
FIG. 2 is a block diagram showing an internal configuration example of an error detection circuit in FIG.

【図3】図中の各部の動作を示すタイムチャートであ
る。
FIG. 3 is a time chart showing the operation of each part in the figure.

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

1,2,3 バッファ 4 エラー検出回路 5,6 ゲートアレイ 1,2,3 buffer 4 error detection circuit 5,6 gate array

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 H03K 19/0175 ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 5 Identification code Office reference number FI technical display location H03K 19/0175

Claims (1)

【特許請求の範囲】 【請求項1】 第1のバッファと、前記第1のバッファ
の出力を入力とし前記第1のバッファとは異なる電源に
より動作する第2のバッファと、前記電源が断状態にな
った際、前記第1のバッファの出力ラインが低レベルで
かつ該出力ラインを高レベルとする信号が前記第1のバ
ッファに入力されたとき前記第1のバッファをディセー
ブル状態にせしめる制御回路とを有することを特徴とす
るバッファ回路。
Claim: What is claimed is: 1. A first buffer, a second buffer that receives an output of the first buffer as an input, and operates by a power supply different from that of the first buffer, and the power supply is in a disconnected state. When the output line of the first buffer is at a low level and a signal that makes the output line at a high level is input to the first buffer, the control for disabling the first buffer And a buffer circuit.
JP3214370A 1991-07-31 1991-07-31 Buffer circuit Pending JPH0537332A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3214370A JPH0537332A (en) 1991-07-31 1991-07-31 Buffer circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3214370A JPH0537332A (en) 1991-07-31 1991-07-31 Buffer circuit

Publications (1)

Publication Number Publication Date
JPH0537332A true JPH0537332A (en) 1993-02-12

Family

ID=16654668

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3214370A Pending JPH0537332A (en) 1991-07-31 1991-07-31 Buffer circuit

Country Status (1)

Country Link
JP (1) JPH0537332A (en)

Similar Documents

Publication Publication Date Title
US4698582A (en) Power driver having short circuit protection
US5598110A (en) Detector circuit for use with tri-state logic devices
KR960042413A (en) Data processing system
US6147537A (en) Reset circuit for flipflop
JPH0537332A (en) Buffer circuit
JPH01253315A (en) Bidirectional buffer
JPH07325780A (en) Input/output device of microcomputer
JPH08106345A (en) Interface device between different voltage elements
JP2644111B2 (en) I / O circuit
JPH0962649A (en) Signal input/output circuit
JP2500100Y2 (en) Output data control circuit
KR100727570B1 (en) Tristate circuit for power up conditions
US6369607B2 (en) Digital circuit
JPH05184066A (en) Output drive circuit
JPH05291932A (en) Electronic circuit
JP2938589B2 (en) Semiconductor integrated circuit
JPH036122A (en) Tri-state buffer
JPH06149429A (en) Pull-up resistor switching circuit
US6084445A (en) Power on/reset strap for a high speed circuit
JP2560558B2 (en) Exclusive control method when package is erroneously mounted
JPS60242724A (en) Integrated logic circuit
JP2708497B2 (en) Misplacement detection device for electrical components
JP2648026B2 (en) Bus driver circuit
JP2002108842A (en) Mode switching circuit
JP2002351751A (en) Port control method