JPS62151024A - Integrated circuit device - Google Patents

Integrated circuit device

Info

Publication number
JPS62151024A
JPS62151024A JP29429985A JP29429985A JPS62151024A JP S62151024 A JPS62151024 A JP S62151024A JP 29429985 A JP29429985 A JP 29429985A JP 29429985 A JP29429985 A JP 29429985A JP S62151024 A JPS62151024 A JP S62151024A
Authority
JP
Japan
Prior art keywords
circuit
oscillation
signal
counter
oscillation circuit
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
JP29429985A
Other languages
Japanese (ja)
Inventor
Hiroyuki Yanaka
谷中 宏行
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 JP29429985A priority Critical patent/JPS62151024A/en
Publication of JPS62151024A publication Critical patent/JPS62151024A/en
Pending legal-status Critical Current

Links

Landscapes

  • Manipulation Of Pulses (AREA)
  • Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)

Abstract

PURPOSE:To set an optimum oscillation stable time in response to a vibrator by providing an oscillation circuit using a crystal or ceramic resonator, the 1st control means operating a timing generating circuit and the oscillation circuit and the 2nd control means operating a timer counter and the timing generation circuit so as to constitute the titled device. CONSTITUTION:After an optimum value in response to the vibrator is set to a comparison register 70 by a main program normally, a standby instruction signal 31 is outputted to cause the standby state. When a standby release signal 41 goes to '1' at a time t21, the oscillation circuit 10 is in the operation enable state, the reset of the counter 60 is released to count the oscillation circuit output signal 11. A coincidence detection circuit 80 compares the coincidence between the counter 60 and the comparison register 70, the output signal of the coincidence detection circuit 80 resets the flip-flop 50, the timing generation circuit 20 is in the operation enable state and the LSI operation is restarted. That is, the oscillation frequency and the oscillation stable time in response to the oscillation characteristic of the vibrator are obtained.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、水晶もしくはセラミック共振子用発振回路を
有し、これにより各種タイミング信号を 。
[Detailed Description of the Invention] [Industrial Field of Application] The present invention has an oscillation circuit for a crystal or ceramic resonator, which generates various timing signals.

得る集積回路装置(以下LSIと略す)に関し、特にス
タンバイ解除時における発振安定時間を得ることができ
るLSIに関する。
The present invention relates to an integrated circuit device (hereinafter abbreviated as LSI) that can be obtained, and particularly relates to an LSI that can obtain an oscillation stabilization time when exiting standby.

〔従来の技術〕[Conventional technology]

従来、振動子として水晶もしくはセラミック共振子を使
用するLSIのスタンバイを解除し動作を再開させる場
合、発振安定時間を得るために、発振器からの出力信号
をカウンタに入力し、そのオーバー・フロー信号により
動作を再開するよう構成されたLSIが知られている。
Conventionally, when canceling standby and restarting an LSI that uses a crystal or ceramic resonator as a resonator, the output signal from the oscillator is input to a counter in order to obtain the oscillation stabilization time, and the overflow signal is used to LSIs configured to resume operation are known.

以下に図面を用いて従来例を説明する。A conventional example will be described below with reference to the drawings.

第3図は従来例を示すブロック図である。第3図におい
て10は発振回路、20は分周回路及びその他の論理回
路より構成されるタイミング信号発生回路、21はタイ
ミング信号である。30゜50はフリップ・フロップ(
以下F/Fと称す)、40は信号41のエツジ検出回路
、90はF/F30によりリセットされ、発振器10か
らの信号を計数するカウンタ、31はスタンバイ命令信
号であシ、41はスタンバイ解除信号である。
FIG. 3 is a block diagram showing a conventional example. In FIG. 3, 10 is an oscillation circuit, 20 is a timing signal generation circuit composed of a frequency dividing circuit and other logic circuits, and 21 is a timing signal. 30°50 is a flip-flop (
40 is an edge detection circuit for the signal 41, 90 is a counter that is reset by the F/F 30 and counts the signal from the oscillator 10, 31 is a standby command signal, 41 is a standby release signal It is.

次にスタンバイ命令信号31によるスタンバイについて
説明する。通常メイン・プログラムでスタンバイ命令の
実行によりスタンバイ命令信号31が出力されF/F3
0.F/F50がセットされる。これにより発振回路1
0.タイミング発生回路20が停止し、カウンタ90が
リセットされスタンバイ状態となる。次にスタンバイ解
除信号41が1”になるとエツジ検出回路40からワン
ショット・パルス信号が出力されF/F30はリセット
される。とれにより発振回路10が動作可能状態となシ
、かつ、カウンタ90はリセットが解除され、発振回路
出力信号11を計数する。
Next, standby by the standby command signal 31 will be explained. Normally, standby command signal 31 is output by executing a standby command in the main program, and F/F3
0. F/F50 is set. As a result, the oscillation circuit 1
0. The timing generation circuit 20 stops, the counter 90 is reset, and enters a standby state. Next, when the standby release signal 41 becomes 1'', a one-shot pulse signal is output from the edge detection circuit 40 and the F/F 30 is reset. The reset is released and the oscillation circuit output signal 11 is counted.

カウンタ90のオーバー・フロー信号によ!りF/F5
0をリセットし、タイミング発生回路20が動作可能状
態となfiLsIの動作が再開される。
Due to the overflow signal of counter 90! riF/F5
0 is reset, the timing generation circuit 20 becomes operational, and the operation of fiLsI is restarted.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来の発振安定時間を得る回路を備えたLSI
は、カウンターのオーバー・フロー信号によりスタンバ
イ解除信号を出力するため、発振器の周波数が遅い場合
に必要以上に発振安定時間を設定してしまう。また発振
安定時間が異る振動子においても同一の発振安定時間を
設定してしまうため振動子に応じた最適な発振安定時間
を設定することができないという欠点があった。
LSI equipped with the above-mentioned conventional circuit for obtaining oscillation stabilization time
Since the standby release signal is output by the overflow signal of the counter, the oscillation stabilization time is set longer than necessary when the oscillator frequency is slow. Furthermore, since the same oscillation stabilization time is set even for vibrators with different oscillation stabilization times, there is a drawback that it is not possible to set the optimum oscillation stabilization time depending on the vibrator.

〔問題点を解決するための手段〕[Means for solving problems]

本発明のLSIは、水晶もしくはセラミック共 “振子
を用いる発振回路と、該発振回路からの出力信号に基づ
いて各種制御タイミング信号を発生するタイミング発生
回路と第1の信号により前記発振回路の動作を停止させ
第2の信号により前記発振回路を動作させる第1制御手
段と前記発振回路からの出力信号を計数し、任意時間信
号を得るタイマカウンタと前記第1制御手段により前記
タイマカウンタを初期化し、前記第1制御手段により前
記タイミング発生回路の動作を停止させ、前記タイマカ
ウンタの出力により前記タイミング発生回路を動作させ
る第2制御手段とを有し、前記タイマカウンタは前記発
振回路からの出力信号を計数するカウンタと前記カウン
タのカウント値との比較値を記憶する比較レジスタと前
記カウンタと比較レジスタとの比較回路によ)構成して
いる。
The LSI of the present invention includes an oscillation circuit using a crystal or ceramic resonator, a timing generation circuit that generates various control timing signals based on an output signal from the oscillation circuit, and a first signal that controls the operation of the oscillation circuit. a first control means for stopping the oscillation circuit and operating the oscillation circuit with a second signal; a timer counter that counts output signals from the oscillation circuit to obtain an arbitrary time signal; and the first control means initializes the timer counter; and second control means for causing the first control means to stop the operation of the timing generation circuit and for causing the timing generation circuit to operate according to the output of the timer counter, the timer counter receiving the output signal from the oscillation circuit. (a comparison register for storing a comparison value between a counter for counting and a count value of the counter; and a comparison circuit between the counter and the comparison register).

〔実施例〕〔Example〕

次K、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の実施例を示すブロック図である。第1
図において10は発振回路、20は分周回路及びその他
の論理回路より構成されるタイミング信号発生回路、2
1はタイミング信号である。
FIG. 1 is a block diagram showing an embodiment of the present invention. 1st
In the figure, 10 is an oscillation circuit, 20 is a timing signal generation circuit composed of a frequency divider circuit and other logic circuits, and 2
1 is a timing signal.

30.50はF/F、40は信号41のエツジ検出回路
60はF/F 30によりリセットされ、発振器10か
らの信号を計数するカラ/り、70は任意値を設定する
比較レジスタ、80はカウンタ60と比較レジスタ70
の一致を検出する一致検出回路、41はスタンバイ解除
信号である。
30. 50 is an F/F, 40 is a color circuit that resets the edge detection circuit 60 of the signal 41 and counts the signal from the oscillator 10, 70 is a comparison register for setting an arbitrary value, and 80 is a comparison register for setting an arbitrary value. Counter 60 and comparison register 70
41 is a standby release signal.

次に、第1図及び動作波形を示す第2図を用いてスタン
バイ命令信号によるスタンバイについて説明する。通常
メイン・プログラムで比較レジスタ70に振動子に応じ
た最適値を設定した後、スタンバイ命令の実行によりス
タンバイ命令信号31が出力され、50がセットされこ
れにより発振回路10、タイミング発生回路20が停止
しカウンタ60がリセットされスタンバイ状態となる。
Next, standby by a standby command signal will be explained using FIG. 1 and FIG. 2 showing operating waveforms. Normally, after setting the optimum value according to the oscillator in the comparison register 70 in the main program, the standby command signal 31 is output by executing the standby command, and 50 is set, thereby stopping the oscillation circuit 10 and timing generation circuit 20. Then, the counter 60 is reset and enters a standby state.

次に時刻t21においてスタンバイ解除信号41が″1
”Kなるとエツジ検出回路40からワンショット・パル
ス信号が出力され、F/F30はリセットされる。これ
により発振回路10が動作可能状態となシ、かつ、カウ
ンタ60はリセットが解除され、発振回路出力信号11
を計数する。−散積出回路80によりカウンタ60と比
較レジスタ70の一致が検出され一致検出回路80の出
力信号によfi F/F 50がリセットされ、タイミ
ング発生回路20が動作可能状態とな!0、LSIの動
作が再開される。
Next, at time t21, the standby release signal 41 is set to "1".
When "K" is reached, a one-shot pulse signal is output from the edge detection circuit 40, and the F/F 30 is reset.As a result, the oscillation circuit 10 becomes operable, and the counter 60 is released from reset, and the oscillation circuit Output signal 11
Count. - The coincidence between the counter 60 and the comparison register 70 is detected by the scatter product output circuit 80, the fi F/F 50 is reset by the output signal of the coincidence detection circuit 80, and the timing generation circuit 20 becomes operational! 0, LSI operation is restarted.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によればスタンバイモード
解除時、任意値の設定が可能な比較レジスタと発振器か
らの信号を計数するカウンタとの一致検出信号で、LS
Iのタイミング信号を発生する構成により発振周波数や
、発振子の発振特性に応じた発振安定時間を得ることが
できるため、汎用性の高いLSIを提供することが可能
となる。
As explained above, according to the present invention, when the standby mode is released, the LS is
Since the configuration for generating the timing signal I can obtain the oscillation frequency and the oscillation stabilization time according to the oscillation characteristics of the oscillator, it is possible to provide a highly versatile LSI.

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

第1図は本発明のブロック図、第2図は第1図を説明す
るための波形図、第3図は従来例を示すブロック図。1
0・・・・・・発振回路、11・・・・・・10の出力
、20・・・・・・タイミング信号発生回路、21・・
・・・・20の出力、31・・・・・・スタンバイ命令
信号、41・・・・・・スタンバイ解除信号、40・・
・・・・ワンショット回路、30,50・・・・・・フ
リップ・70ツブ、60・・・・・・カウンタ、70・
・・・・・コンベアレジスタ、C 牟 / 凹 第2 図 牟3 図
FIG. 1 is a block diagram of the present invention, FIG. 2 is a waveform diagram for explaining FIG. 1, and FIG. 3 is a block diagram showing a conventional example. 1
0...Oscillation circuit, 11...Output of 10, 20...Timing signal generation circuit, 21...
...Output of 20, 31...Standby command signal, 41...Standby release signal, 40...
...One-shot circuit, 30, 50...Flip, 70 tube, 60...Counter, 70...
...Conveyor register, C / Concave Fig. 2 Fig. 3

Claims (1)

【特許請求の範囲】[Claims] 水晶もしくは、セラミック共振子を用いる発振回路と、
該発振回路からの出力信号に基づいて、各種制御タイミ
ング信号を発生するタイミング信号発生回路と第1の信
号により前記発振回路の動作を停止させ、第2の信号に
より前記発振回路を動作させる第1制御手段と、前記発
振回路からの出力信号を計数し、任意時間信号を得るタ
イマカウンタと、前記第1制御手段により前記タイマカ
ウンタを初期化し、前記第1制御手段により前記タイミ
ング発生回路の動作を停止させ、前記タイマカウンタの
出力により前記タイミング発生回路を動作させる第2制
御手段とを有し、前記タイマカウンタは、前記発振回路
からの出力信号を計数するカウンタと前記カウンタのカ
ウント値との比較値を記憶する比較レジスタと前記カウ
ンタと比較レジスタとの比較回路により成ることを特徴
とする集積回路装置。
An oscillation circuit using a crystal or ceramic resonator,
a timing signal generation circuit that generates various control timing signals based on output signals from the oscillation circuit; and a first signal that stops the operation of the oscillation circuit with a first signal and operates the oscillation circuit with a second signal. a timer counter that counts output signals from the oscillation circuit to obtain an arbitrary time signal; the first control means initializes the timer counter; the first control means controls the operation of the timing generation circuit; and a second control means for operating the timing generation circuit according to the output of the timer counter, the timer counter comparing the count value of the counter with a counter that counts the output signal from the oscillation circuit. An integrated circuit device comprising: a comparison register for storing a value; and a comparison circuit between the counter and the comparison register.
JP29429985A 1985-12-25 1985-12-25 Integrated circuit device Pending JPS62151024A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29429985A JPS62151024A (en) 1985-12-25 1985-12-25 Integrated circuit device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29429985A JPS62151024A (en) 1985-12-25 1985-12-25 Integrated circuit device

Publications (1)

Publication Number Publication Date
JPS62151024A true JPS62151024A (en) 1987-07-06

Family

ID=17805898

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29429985A Pending JPS62151024A (en) 1985-12-25 1985-12-25 Integrated circuit device

Country Status (1)

Country Link
JP (1) JPS62151024A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1996037960A3 (en) * 1995-05-26 1997-02-06 Nat Semiconductor Corp Configurable power management scheme

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60141003A (en) * 1983-12-28 1985-07-26 Nec Corp Timing signal generator

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60141003A (en) * 1983-12-28 1985-07-26 Nec Corp Timing signal generator

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1996037960A3 (en) * 1995-05-26 1997-02-06 Nat Semiconductor Corp Configurable power management scheme

Similar Documents

Publication Publication Date Title
JPS6240886B2 (en)
JPS62151024A (en) Integrated circuit device
JPH04348410A (en) Microcomputer
JP2959223B2 (en) Clock oscillator
JPH0681041B2 (en) Integrated circuit device
JP2716386B2 (en) Clock output circuit
JPS6348203B2 (en)
JP2540544Y2 (en) Counter circuit
JP2653654B2 (en) Computer system runaway monitoring device
JPS63185121A (en) Oscillation stop preventing circuit
JPS61123916A (en) Microcomputer
JPS6359017A (en) Pulse generating circuit
JPH02180428A (en) Reset circuit
JP2830216B2 (en) Standby circuit
JPH0326112A (en) Integrated circuit device
JPH0321076Y2 (en)
JPH039413A (en) Oscillation clock switching circuit for microcomputer
JPH04105108A (en) Clock generating circuit
JPH049336B2 (en)
JPS60249427A (en) System clock generator
JPS61288259A (en) Microcomputer
JPS60250445A (en) Watchdog timer
JPS59146353A (en) Detector of trouble of microprocessor
JPH03274810A (en) Semiconductor integrated circuit
JPH01236732A (en) Reset circuit