JPH05291932A - Electronic circuit - Google Patents

Electronic circuit

Info

Publication number
JPH05291932A
JPH05291932A JP4092805A JP9280592A JPH05291932A JP H05291932 A JPH05291932 A JP H05291932A JP 4092805 A JP4092805 A JP 4092805A JP 9280592 A JP9280592 A JP 9280592A JP H05291932 A JPH05291932 A JP H05291932A
Authority
JP
Japan
Prior art keywords
output
circuit
buffer
state
level
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
JP4092805A
Other languages
Japanese (ja)
Inventor
Tetsuya Kawasaki
哲哉 川崎
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.)
Olympus Corp
Original Assignee
Olympus Optical 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 Olympus Optical Co Ltd filed Critical Olympus Optical Co Ltd
Priority to JP4092805A priority Critical patent/JPH05291932A/en
Publication of JPH05291932A publication Critical patent/JPH05291932A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Logic Circuits (AREA)

Abstract

PURPOSE:To externally attain initial setting by holding a bi-directional external buffer to the input state for a prescribed period after the transition from an active period of an initializing signal to an inactive period and setting the buffer to the output state to eliminate the addition of any external terminal. CONSTITUTION:An initializing signal (regarded to be initialized at an L level) is delayed by a time DELTAt at a delay circuit 1. While an output of the circuit 1 is at an L level, the state of the bi-directional external buffer 3 is controlled by an output from the circuit 1. That is, while an output of the circuit 1 is at an L level, the buffer 3 is set to the input state and when the output of the circuit 1 is at an H level, the buffer 3 is set to the output state. Then the buffer 3 is switched from the input state into the output state being delayed by DELTAt time after the level of the initializing signal changes from an L to an H level. Since an output from the buffer 3 is latched in an FF 4 by a leading edge of the initializing signal, the initial setting data set externally when the buffer 3 is set to the input state are surely fetched when the time DELTAt is set to be a sufficient time.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、電子回路に関し、特に
集積化された電子回路に関する。
FIELD OF THE INVENTION The present invention relates to electronic circuits, and more particularly to integrated electronic circuits.

【0002】[0002]

【従来の技術】小型化が要求される集積回路の開発にお
いて、入出力端子の数はパッケージのサイズやコストな
どに大きく影響するため、できる限り少なくすることが
理想である。
2. Description of the Related Art In the development of an integrated circuit which is required to be miniaturized, the number of input / output terminals has a great influence on the size and cost of the package.

【0003】ところが、回路が集積され高機能になれば
なるほど入出力信号の数が増えることが多い、また、回
路に汎用性を持たせて外部から動作モード等を設定でき
るようにすることで設計変更のリスクを減らすようなこ
とも行われているが、このような場合は設定用の外部端
子の追加が必要となる。
However, as the circuits are integrated and have higher functions, the number of input / output signals often increases, and the circuits are designed to have versatility so that operation modes and the like can be set from the outside. It is also attempted to reduce the risk of changes, but in such cases it is necessary to add an external terminal for setting.

【0004】そのため、外部端子の数を最小限にとどめ
るために、動作モード等の初期設定データはCPU(中
央処理装置)やメモリなどからシリアルに設定すること
が一般的である。
Therefore, in order to keep the number of external terminals to a minimum, the initial setting data such as the operation mode is generally set serially from a CPU (central processing unit) or a memory.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、初期設
定データをシリアルに設定する場合、少なくとも2本
(シリアルデータとシリアルクロック)の外部端子は必
要で、更にCPUやメモリなどの部品追加が必要とな
る。また、データ設定に要する時間だけ回路の起動が遅
れるという欠点もある。
However, when the initial setting data is set to be serial, at least two (serial data and serial clock) external terminals are required, and it is also necessary to add parts such as a CPU and a memory. . Further, there is a drawback that the circuit startup is delayed by the time required for data setting.

【0006】本発明の電子回路はこのような課題に着目
してなされたものであり、その目的とするところは、外
部端子の追加を必要とせずに外部からの初期設定が可能
な電子回路を提供することにある。
The electronic circuit of the present invention has been made in view of such a problem, and an object thereof is to provide an electronic circuit which can be initialized from the outside without requiring the addition of an external terminal. To provide.

【0007】[0007]

【課題を解決するための手段】上記の目的を達成するた
めに、本発明の電子回路は、所定の初期化信号によって
初期化される内部回路と、この内部回路の出力に接続さ
れ、入力状態と出力状態の2つの状態をとる双方向外部
バッファと、この双方向外部バッファの入力状態におい
て、前記双方向外部バッファの出力端子に外部設定され
る論理レベルを、前記初期化信号のアクティブ期間から
インアクティブ期間への遷移エッジでデータとしてラッ
チし、前記内部回路へ出力するラッチ回路と、前記初期
化信号のアクティブ期間及びアクティブ期間からインア
クティブ期間への遷移後所定の期間は前記双方向外部バ
ッファを入力状態に保持し、その後、出力状態に切り換
える切り換え手段とを具備する。
In order to achieve the above object, an electronic circuit of the present invention is connected to an internal circuit initialized by a predetermined initialization signal and an output of the internal circuit, and has an input state. And an output state, and a logic level externally set to the output terminal of the bidirectional external buffer in the input state of the bidirectional external buffer from the active period of the initialization signal. A latch circuit that latches as data at the transition edge to the inactive period and outputs it to the internal circuit, and the bidirectional external buffer for a predetermined period after the active period of the initialization signal and the transition from the active period to the inactive period. To an input state and then to an output state.

【0008】[0008]

【作用】すなわち、本発明の電子回路においては、双方
向外部バッファを用い、初期化信号のアクティブ期間及
びアクティブ期間からインアクティブ期間への遷移後所
定の期間は前記双方向外部バッファを入力状態に保持
し、その後、出力状態に切り換える。
That is, in the electronic circuit of the present invention, the bidirectional external buffer is used, and the bidirectional external buffer is kept in the input state for a predetermined period after the active period of the initialization signal and the transition from the active period to the inactive period. Hold and then switch to the output state.

【0009】[0009]

【実施例】以下に本発明の電子回路の一実施例を図面を
参照して説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the electronic circuit of the present invention will be described below with reference to the drawings.

【0010】図1は一実施例を示すブロック図である。
同図において、初期化信号は内部回路2の初期化を目的
とする信号で、外部から入力するか、内部において自己
発生する。
FIG. 1 is a block diagram showing an embodiment.
In the figure, an initialization signal is a signal for the purpose of initializing the internal circuit 2 and is either input from the outside or internally generated internally.

【0011】初期化信号は、内部回路2に入力され内部
回路2の初期化を行うと同時に、切り換え手段としての
遅延回路1を介して双方向外部バッファ3の入出力の切
り換えを行う。すなわち、双方向外部バッファ3は、遅
延回路1によって遅延された初期化信号のアクティブ・
レベルで入力、インアクティブ・レベルで出力状態とさ
れる。すなわち、双方向外部バッファ3は、初期化後の
所定の時間(遅延回路1の遅延時間で決定する)までは
入力状態で、その後、出力状態に切り換わる。双方向外
部バッファ3が入力状態にある場合、出力信号はハイイ
ンピーダンス状態となるため、プルアップ抵抗5もしく
はプルダウン抵抗6などを用いて、外部から出力信号を
ハイ・レベルかロー・レベルに固定することができる。
The initialization signal is input to the internal circuit 2 to initialize the internal circuit 2 and, at the same time, to switch the input / output of the bidirectional external buffer 3 via the delay circuit 1 as a switching means. That is, the bidirectional external buffer 3 has the active signal of the initialization signal delayed by the delay circuit 1.
It is input at level and output at inactive level. That is, the bidirectional external buffer 3 is in the input state until a predetermined time after initialization (determined by the delay time of the delay circuit 1), and then switched to the output state. When the bidirectional external buffer 3 is in the input state, the output signal is in a high impedance state, so that the output signal is externally fixed to a high level or a low level by using the pull-up resistor 5 or the pull-down resistor 6. be able to.

【0012】外部で設定されたレベルは双方向外部バッ
ファ3を介して回路内に取り込まれ、初期化信号の立ち
上がりエッジでラッチ手段としてのフリップフロップ4
にラッチされて、初期設定データとして内部回路2の制
御に用いる。以下に図1の回路の動作を図2のタイミン
グチャートを参照して説明する。
The level set externally is taken into the circuit via the bidirectional external buffer 3, and the flip-flop 4 as a latch means at the rising edge of the initialization signal.
And is used for controlling the internal circuit 2 as initial setting data. The operation of the circuit of FIG. 1 will be described below with reference to the timing chart of FIG.

【0013】この実施例では、初期化信号はロー・アク
ティブ(ロー・レベルで初期化)とする。図2に示すよ
うに、初期化信号は遅延回路1によってΔtだけ遅延さ
れる。この遅延回路1からの出力によって双方向外部バ
ッファ3の状態が制御される。すなわち、遅延回路1の
出力がロー・レベルの期間は双方向外部バッファ3が入
力状態に、遅延回路1の出力がハイ・レベルの期間は双
方向外部バッファ3が出力状態に切り換えられる。
In this embodiment, the initialization signal is low active (initialization at low level). As shown in FIG. 2, the initialization signal is delayed by the delay circuit 1 by Δt. The output of the delay circuit 1 controls the state of the bidirectional external buffer 3. That is, the bidirectional external buffer 3 is switched to the input state while the output of the delay circuit 1 is low level, and the bidirectional external buffer 3 is switched to the output state while the output of the delay circuit 1 is high level.

【0014】従って、双方向外部バッファ3は、初期化
信号がロー・レベルからハイ・レベルに変化してΔt遅
れて入力状態から出力状態に切り換わる。双方向外部バ
ッファ3からの出力は、初期化信号の立ち上がりエッジ
でフリップフロップ4にラッチされるため、Δtが十分
であれば、双方向外部バッファ3が入力状態の期間に外
部設定される初期設定データを確実に取り込むことがで
きる。
Therefore, in the bidirectional external buffer 3, the initialization signal changes from the low level to the high level and is switched from the input state to the output state with a delay of Δt. The output from the bidirectional external buffer 3 is latched by the flip-flop 4 at the rising edge of the initialization signal. Therefore, if Δt is sufficient, the bidirectional external buffer 3 is externally set during the input state. Data can be captured reliably.

【0015】すなわち、Δtはフリップフロップ4のデ
ータ・ホールド時間を満足するものであればよく(一般
的には数ナノ〜数十ナノ秒)、初期化信号による回路初
期化後、直ちに双方向外部バッファ3は出力状態とな
り、回路を起動することができる。上記実施例におい
て、初期化信号はロー・アクティブとして説明したが、
ハイ・アクティブとした場合も同様である。
That is, Δt has only to satisfy the data hold time of the flip-flop 4 (generally, a few nanoseconds to a few tens of nanoseconds), and immediately after the circuit is initialized by the initialization signal, the bidirectional external signal is output. The buffer 3 is in the output state and can start the circuit. Although the initialization signal is described as low active in the above embodiment,
The same applies to the case of high active.

【0016】その場合、双方向外部バッファ3は、遅延
回路1の出力がハイ・レベルのとき入力状態、遅延回路
1の出力がロー・レベルの期間で出力状態に切り換わ
る。また、フリップフロップ4は、初期化信号の立ち下
がりでデータをラッチする。
In this case, the bidirectional external buffer 3 switches to the input state when the output of the delay circuit 1 is at the high level and to the output state when the output of the delay circuit 1 is at the low level. The flip-flop 4 latches data at the falling edge of the initialization signal.

【0017】[0017]

【発明の効果】以上詳述したように、本発明において
は、出力端子と初期設定データ用の入力端子を共用する
ことによって、外部端子の追加を必要とせずに外部から
の初期設定を可能としている。また、設定されるデータ
は初期化完了後直ちに有効となるため、初期化完了後速
やかに回路を起動できるという効果をもつ。
As described in detail above, according to the present invention, by sharing the output terminal and the input terminal for the initialization data, it is possible to perform the external initialization without adding an external terminal. There is. Further, since the data to be set becomes valid immediately after the initialization is completed, there is an effect that the circuit can be activated immediately after the initialization is completed.

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

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

【図2】図1に示す回路の動作を説明するためのタイミ
ングチャートである。
FIG. 2 is a timing chart for explaining the operation of the circuit shown in FIG.

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

1…遅延回路、2…内部回路、3…双方向外部バッフ
ァ、4…フリップフロップ、5…プルアップ抵抗、6…
プルダウン抵抗。
1 ... Delay circuit, 2 ... Internal circuit, 3 ... Bidirectional external buffer, 4 ... Flip-flop, 5 ... Pull-up resistor, 6 ...
Pull-down resistance.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 所定の初期化信号によって初期化される
内部回路と、 この内部回路の出力に接続され、入力状態と出力状態の
2つの状態をとる双方向外部バッファと、 この双方向外部バッファの入力状態において、前記双方
向外部バッファの出力端子に外部設定される論理レベル
を、前記初期化信号のアクティブ期間からインアクティ
ブ期間への遷移エッジでデータとしてラッチして前記内
部回路へ出力するラッチ回路と、 前記初期化信号のアクティブ期間及びアクティブ期間か
らインアクティブ期間への遷移後所定の期間は前記双方
向外部バッファを入力状態に保持し、その後、出力状態
に切り換える切り換え手段とを具備することを特徴とす
る電子回路。
1. An internal circuit initialized by a predetermined initialization signal, a bidirectional external buffer connected to the output of the internal circuit and having two states of an input state and an output state, and the bidirectional external buffer. In the input state, a latch for latching the logic level externally set to the output terminal of the bidirectional external buffer as data at the transition edge from the active period to the inactive period of the initialization signal and outputting it to the internal circuit A circuit and switching means for holding the bidirectional external buffer in an input state for a predetermined period after the active period of the initialization signal and a transition from the active period to the inactive period, and thereafter switching to the output state. An electronic circuit characterized by.
【請求項2】 前記初期化信号は回路内で発生されるこ
とを特徴とする請求項1記載の電子回路。
2. The electronic circuit according to claim 1, wherein the initialization signal is generated in the circuit.
JP4092805A 1992-04-13 1992-04-13 Electronic circuit Withdrawn JPH05291932A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4092805A JPH05291932A (en) 1992-04-13 1992-04-13 Electronic circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4092805A JPH05291932A (en) 1992-04-13 1992-04-13 Electronic circuit

Publications (1)

Publication Number Publication Date
JPH05291932A true JPH05291932A (en) 1993-11-05

Family

ID=14064632

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4092805A Withdrawn JPH05291932A (en) 1992-04-13 1992-04-13 Electronic circuit

Country Status (1)

Country Link
JP (1) JPH05291932A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100377625B1 (en) * 2001-01-09 2003-03-26 엘지이노텍 주식회사 Two way latch circuit for data processing
JP2010153994A (en) * 2008-12-24 2010-07-08 Alps Electric Co Ltd Tuner, tuner system, and method of controlling same
WO2021075264A1 (en) * 2019-10-18 2021-04-22 ローム株式会社 Audio circuit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100377625B1 (en) * 2001-01-09 2003-03-26 엘지이노텍 주식회사 Two way latch circuit for data processing
JP2010153994A (en) * 2008-12-24 2010-07-08 Alps Electric Co Ltd Tuner, tuner system, and method of controlling same
WO2021075264A1 (en) * 2019-10-18 2021-04-22 ローム株式会社 Audio circuit

Similar Documents

Publication Publication Date Title
US6438060B1 (en) Method of reducing standby current during power down mode
US5459421A (en) Dynamic-static master slave flip-flop circuit
US20040119520A1 (en) Setup/hold time control device
US5305277A (en) Data processing apparatus having address decoder supporting wide range of operational frequencies
JPH11224144A (en) Signal variation acceleration bus driving circuit
US5148052A (en) Recirculating transparent latch employing a multiplexing circuit
KR960042413A (en) Data processing system
JPH05291932A (en) Electronic circuit
US5495196A (en) User controlled reset circuit with fast recovery
US6731137B1 (en) Programmable, staged, bus hold and weak pull-up for bi-directional I/O
US20100023648A1 (en) Method for input output expansion in an embedded system utilizing controlled transitions of first and second signals
KR960011208B1 (en) Semiconductor memory device
JP2001228936A (en) Microcomputer provided with internal reset signal generation circuit
JP2644111B2 (en) I / O circuit
US6075750A (en) Method and circuit for generating an ATD signal to regulate the access to a non-volatile memory
JP2500100Y2 (en) Output data control circuit
JP2776157B2 (en) Oscillation circuit
JPH10256488A (en) Operation mode setting circuit
KR970013728A (en) Data output buffer
JP3266111B2 (en) Clock input buffer circuit
KR200270628Y1 (en) Standby driving circuit of synchronous semiconductor memory
KR970001286Y1 (en) Register initiallized circuits
JP2722920B2 (en) Clock oscillation stop control circuit
JP2528219B2 (en) Status register device
JP2001022479A (en) Information processor

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990706