JP2998501B2 - Clock signal / synchronous reset signal generation circuit - Google Patents

Clock signal / synchronous reset signal generation circuit

Info

Publication number
JP2998501B2
JP2998501B2 JP5185693A JP18569393A JP2998501B2 JP 2998501 B2 JP2998501 B2 JP 2998501B2 JP 5185693 A JP5185693 A JP 5185693A JP 18569393 A JP18569393 A JP 18569393A JP 2998501 B2 JP2998501 B2 JP 2998501B2
Authority
JP
Japan
Prior art keywords
reset signal
signal
clock signal
reset
rest
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.)
Expired - Fee Related
Application number
JP5185693A
Other languages
Japanese (ja)
Other versions
JPH0746119A (en
Inventor
達男 増田
ボグストロム トーマス
明 薮田
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 Electric Works Co Ltd
Original Assignee
Matsushita Electric Works 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 Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to JP5185693A priority Critical patent/JP2998501B2/en
Publication of JPH0746119A publication Critical patent/JPH0746119A/en
Application granted granted Critical
Publication of JP2998501B2 publication Critical patent/JP2998501B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、順序論理回路等に用い
られるクロック信号・同期リセット信号発生回路に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a clock signal / synchronous reset signal generating circuit used for a sequential logic circuit or the like.

【0002】[0002]

【従来の技術】システムクロックを分周して任意に同期
のクロック信号を得るためのクロック信号発生回路とし
ては従来図11のようなカウンタ1を用いたものがあ
る。ここで使用されるカウンタ1はその内部に適当なb
it長のレジスタを持ち、外部から入る”H”のリセッ
ト信号RESTが図12(b)に示すように入力されるとそ
のレジスタをクリアし、RST端子に”L”が入力され
ている時にはCLK端子に入力する図12(a)に示す
システムクロック信号SCLKの値が”L”から”H”に変
化するとレジスタの値をインクリメントするカウンタで
あり、内部レジスタの適当な位置のbitの値をOUT
端子より図12(c)に示すように出力する。
2. Description of the Related Art As a clock signal generating circuit for dividing a system clock to obtain an arbitrarily synchronized clock signal, there is a conventional one using a counter 1 as shown in FIG. The counter 1 used here has an appropriate b
When a reset signal REST of "H" is input as shown in FIG. 12B from the outside, the register is cleared. When "L" is input to the RST terminal, CLK is reset. When the value of the system clock signal SCLK input to the terminal shown in FIG. 12A changes from "L" to "H", this is a counter that increments the value of the register.
The signal is output from the terminal as shown in FIG.

【0003】これでシステムクロック信号SCLKを望む回
数だけ分周した信号がカウンタ1より得られるが、リセ
ット信号RESTが”H”の時にはカウンタ1が動かないた
めカウンタ1の出力は変化せず、そのためリセット時に
もクロック信号が変化している必要があるブロックにカ
ウンタ1の出力をクロック信号として供給することがで
きない。そこでセレクタ2を用いてリセット信号REST
が”H”の時にはシステムクロック信号SCLKを、そうで
ない時にはカウンタ1の出力を選択した図12(d)に
示すセレクタ2の出力をクロック信号CLK として他のブ
ロックに供給するようになっている。図12はシステム
クロック信号SCLKを1回分周してクロック信号CLK 出力
を作る場合のタイムチャートを示す。
A signal obtained by dividing the system clock signal SCLK by a desired number of times is obtained from the counter 1. However, when the reset signal REST is "H", the output of the counter 1 does not change because the counter 1 does not operate. Even at the time of reset, the output of the counter 1 cannot be supplied as a clock signal to a block in which the clock signal needs to change. Therefore, the reset signal REST is used by using the selector 2.
Is "H", the system clock signal SCLK is supplied to the other blocks as the clock signal CLK, and the output of the selector 2 shown in FIG. FIG. 12 is a time chart when the clock signal CLK is generated by dividing the system clock signal SCLK once.

【0004】[0004]

【発明が解決しようとする課題】ところで上記従来例で
はリセット信号RESTが入力されるタイミングによっては
誤動作する虞れがあるという問題がある。図13にシス
テムクロック信号SCLKを2回分周してセレクタ2を経て
クロック信号CLK を作る場合のタイムチャートを示す。
図13(d)の(イ)、(ロ)および(ハ)の領域は図
13(b)に示すようにリセット信号RESTが”H”であ
るため、セレクタ2が図13(a)に示すシステムクロ
ック信号SCLKを選択してクロック信号CLK として出力し
ている部分で、(ニ)の領域はリセット信号RESTが”
L”であるため、セレクタ2がカウンタ1の出力を選択
してクロック信号CLK として出力している部分である。
ここでリセット信号RESTが”L”から”H”に変化す
る(イ)の部分や”H”から”L”に変化する(ハ)の
部分では、システムクロック信号SCLKが”H”の時にリ
セット信号RESTが変化していて、その結果セレクタ2か
ら出力されるクロック信号CLK には”H”になっている
時間がシステムクロック信号SCLKよりも短い信号となっ
て現れる。次に従来例の回路をある論理手順回路を構成
するLSIのクロック信号発生ブロックとして用いる場
合を考える。
However, in the above-mentioned conventional example, there is a problem that a malfunction may occur depending on the timing at which the reset signal REST is input. FIG. 13 shows a time chart in the case where the system clock signal SCLK is frequency-divided twice to generate the clock signal CLK via the selector 2.
In the regions (a), (b) and (c) of FIG. 13 (d), the reset signal REST is “H” as shown in FIG. 13 (b), so that the selector 2 is shown in FIG. 13 (a). In the part where the system clock signal SCLK is selected and output as the clock signal CLK, the area (d) shows that the reset signal REST is “
L ”, the selector 2 selects the output of the counter 1 and outputs it as the clock signal CLK.
Here, in the portion (a) where the reset signal REST changes from "L" to "H" and the portion (c) where the reset signal REST changes from "H" to "L", the reset is performed when the system clock signal SCLK is "H". The signal REST is changing, and as a result, the clock signal CLK output from the selector 2 appears as a signal that is "H" for a time shorter than the system clock signal SCLK. Next, consider a case where the circuit of the conventional example is used as a clock signal generation block of an LSI constituting a certain logic procedure circuit.

【0005】図14は図11に示すクロック信号発生回
路が同じLSI中の別のブロックにクロック信号を供給
している様子を示したものである。クロック発生回路C
Gはシステムクロック信号SCLKとリセット信号RESTが与
えられ、クロック信号CLK を出力する。このクロック信
号CLK がLSI内部のブロックBのCLK端子に入力さ
れるのだが、クロック発生回路CGのクロック信号CLK
からブロックBの間には遅延時間が存在するため、クロ
ック信号CLK を遅延要素D1を介してブロックBのCL
K端子に入力されるものとする。リセット信号RESTも同
様に遅延要素D2を介してブロックBのRST端子に入
力される。
FIG. 14 shows a state where the clock signal generating circuit shown in FIG. 11 supplies a clock signal to another block in the same LSI. Clock generation circuit C
G receives a system clock signal SCLK and a reset signal REST and outputs a clock signal CLK. This clock signal CLK is input to the CLK terminal of the block B inside the LSI.
And the block B, the clock signal CLK is supplied to the CL of the block B via the delay element D1.
It is assumed that the signal is input to the K terminal. Similarly, the reset signal REST is input to the RST terminal of the block B via the delay element D2.

【0006】図15は遅延要素D1の遅延時間が遅延要
素D2の遅延時間よりも大きい時のタイムチャートを示
しており、この例では遅延要素D1の遅延時間を図15
(a)に示すシステムクロック信号SCLKの1周期分と
し、遅延素子D2の遅延時間をシステムクロック信号SC
LKの半周期分としている。このような場合、ブロックB
に入力される図15(e)に示すクロック信号CLK ’と
図15(d)に示すリセット信号REST’とを比べると、
遅延要素D2のリセット信号REST’の方が早く入力され
ることになり、リセット信号REST’が”L”になった後
で不正なクロック信号(ホ)が入力されることになる。
ブロックBがリセット解除後に用いる本来のクロック信
号は(ヘ)の部分であり、クロック信号(ホ)が入力さ
れると誤動作の原因になる。また、このクロック信号
(ホ)が”H”になっている期間はリセット信号RESTが
変化するタイミングに依存しており、前以て予測するこ
とはできない。従って上記の例では誤動作するのかどう
かということも事前に知ることはできない。図15
(b),(c)はそれぞれクロック発生回路CGに入力
するリセット信号RESTと、出力するクロック信号CLK を
示す。
FIG. 15 is a time chart when the delay time of the delay element D1 is longer than the delay time of the delay element D2. In this example, the delay time of the delay element D1 is shown in FIG.
(A) is one cycle of the system clock signal SCLK, and the delay time of the delay element D2 is set to the system clock signal SC.
It is set to the half cycle of LK. In such a case, block B
When the clock signal CLK ′ shown in FIG. 15 (e) and the reset signal REST ′ shown in FIG.
The reset signal REST 'of the delay element D2 is input earlier, and an incorrect clock signal (e) is input after the reset signal REST' becomes "L".
The original clock signal used by the block B after the reset is released is (f), and the input of the clock signal (e) causes a malfunction. The period during which the clock signal (e) is "H" depends on the timing at which the reset signal REST changes, and cannot be predicted in advance. Therefore, in the above example, it is not possible to know in advance whether a malfunction will occur. FIG.
(B) and (c) show a reset signal REST input to the clock generation circuit CG and a clock signal CLK output, respectively.

【0007】本発明は上述の点に鑑みて為されたもの
で、その目的とするところは、クロック信号及びリセッ
ト信号を与えるLSI内のブロックがリセット解除時に
誤動作する可能性を無くしたクロック信号・同期リセッ
ト信号発生回路を提供するにある。
SUMMARY OF THE INVENTION The present invention has been made in view of the above points, and an object of the present invention is to provide a clock signal which eliminates the possibility that a block in an LSI for supplying a clock signal and a reset signal malfunctions when reset is released. A synchronous reset signal generating circuit is provided.

【0008】[0008]

【課題を解決するための手段】請求項1記載のクロック
信号・同期リセット信号発生回路は、上述の目的を達成
するために、LSI外部から入力されるシステムクロッ
ク信号を分周して任意の周期のクロック信号出力を発生
させる同期カウンタと、LSI外部から入力されるリセ
ット信号に適切な遅延を施して内部リセット信号を発生
させ且つ上記リセット信号の出力が変化する時に上記ク
ロック信号の発生を停止させるための同期カウンタ用リ
セット信号を発生させるリセット信号発生回路とを備え
たものである。
According to a first aspect of the present invention, a clock signal / synchronous reset signal generating circuit divides a system clock signal input from outside of an LSI to an arbitrary period to achieve the above object. A synchronous counter for generating a clock signal output, and an appropriate delay applied to a reset signal input from outside of the LSI to generate an internal reset signal and to stop generating the clock signal when the output of the reset signal changes. And a reset signal generating circuit for generating a reset signal for a synchronous counter.

【0009】また、請求項2記載のクロック信号・同期
リセット信号発生回路は、請求項1記載のクロック信号
・同期リセット信号発生回路で、前期リセット信号に、
前記リセット信号が解除された一定時間後に所定期間リ
セット状態となる信号を付加して前記リセット信号発生
回路に出力する初期化回路を具備したことを特徴とする
ものである。
A clock signal / synchronous reset signal generating circuit according to a second aspect of the present invention is the clock signal / synchronous reset signal generating circuit according to the first aspect, wherein
An initialization circuit for adding a signal to be in a reset state for a predetermined period after a predetermined time after the reset signal is released, and outputting the signal to the reset signal generation circuit.

【0010】[0010]

【作用】本発明の構成によれば、LSI外部から入力さ
れるリセット信号の入力のタイミングに関わらず、LS
I内の他のブロックに対してクロック信号が停止してい
る時に変化するような内部リセット信号を与えることが
でき、ブロックがリセット解除時に誤動作を起こす可能
性を無くすことができるのである。
According to the structure of the present invention, the LS signal can be output regardless of the input timing of the reset signal input from outside the LSI.
An internal reset signal that changes when the clock signal is stopped can be given to other blocks in I, and the possibility that a block malfunctions when reset is released can be eliminated.

【0011】[0011]

【実施例】以下本発明を実施例により説明する。The present invention will be described below with reference to examples.

【0012】図1は本発明の実施例のブロック図を示
し、図1において、10の同期カウンタは、LSI外部
から入力するシステムクロック信号SCLKを所望の周期に
分周したクロック信号CLK を出力する。一方11のリセ
ット信号発生回路はLSI外部からのリセット信号REST
をリセット信号入力端子RSTIN に入力し、同期カウンタ
用リセット信号CREST と内部リセット信号REST' を出力
する。
FIG. 1 is a block diagram of an embodiment of the present invention. In FIG. 1, a synchronous counter 10 outputs a clock signal CLK obtained by dividing a system clock signal SCLK inputted from outside the LSI into a desired period. . On the other hand, 11 reset signal generation circuits are provided with a reset signal REST from outside the LSI.
To the reset signal input terminal RSTIN to output the reset signal CREST for the synchronous counter and the internal reset signal REST '.

【0013】上記クロック信号CLK 及び内部リセット信
号REST' はLSI内の他のブロックに与えられるもので
ある。
The clock signal CLK and the internal reset signal REST 'are supplied to other blocks in the LSI.

【0014】図2は上記実施例のタイムチャートを示し
ており、図示例では図2(a)に示すシステムクロック
信号SCLKを同期カウンタ10で1回分周して、2倍の周
期のクロック信号CLK を図2(d)に示すように出力す
る。図2(b)に示すリセット信号RESTが変化した後の
しばらくの期間だけ図2(c)に示すように同期カウン
タ用リセット信号CREST が”L”から”H”に変化す
る。その結果クロック信号CLK が停止しているときに、
変化するように、リセット信号RESTに適当な遅延を施し
て図2(e)に示す内部リセット信号REST' として出力
する。LSI中に存在する他のブロックはクロック信号
CLK と、内部リセット信号REST' をクロック信号とリセ
ット信号として使うので、従来例のような不正なクロッ
ク信号による誤動作は発生しないのである。
FIG. 2 is a time chart of the above embodiment. In the illustrated example, the system clock signal SCLK shown in FIG. Is output as shown in FIG. As shown in FIG. 2C, the reset signal CREST for the synchronous counter changes from "L" to "H" for a while after the reset signal REST shown in FIG. 2B changes. As a result, when the clock signal CLK is stopped,
The reset signal REST is appropriately delayed so as to change, and output as an internal reset signal REST 'shown in FIG. Other blocks present in the LSI are clock signals
Since the CLK and the internal reset signal REST 'are used as a clock signal and a reset signal, a malfunction due to an incorrect clock signal as in the conventional example does not occur.

【0015】図3は上記実施例の具体例を示しており、
同期カウンタ10は内部に1bit長のレジスタを持つ
カウンタで構成され、同期カウンタ10はRST端子
に”H”の同期カウンタ用リセット信号CREST が入力さ
れるとレジスタの値を0にし、そうでない時はCLK端
子に図4(a)に示すシステムクロック信号SCLKの立ち
上がりエッジがきた時にレジスタの値をインクリメント
する。レジスタの値が”1”の時にさらに立ち上がりエ
ッジが入力されると、レジスタの値は”0”になる。O
UT端子にはこのレジスタの値が出力され、これにより
同期カウンタ10は入力されたシステムクロック信号SC
LKの2倍の周期を持つ図4(e)に示すクロック信号CL
K に変換する働きをする。
FIG. 3 shows a specific example of the above embodiment.
The synchronous counter 10 is internally constituted by a counter having a register of 1 bit length. When the synchronous counter reset signal CREST of "H" is input to the RST terminal, the synchronous counter 10 sets the value of the register to 0. When the rising edge of the system clock signal SCLK shown in FIG. 4A comes to the CLK terminal, the value of the register is incremented. If a rising edge is further input when the value of the register is "1", the value of the register becomes "0". O
The value of this register is output to the UT terminal, whereby the synchronous counter 10 receives the input system clock signal SC.
The clock signal CL shown in FIG.
Works to convert to K.

【0016】リセット信号発生回路11はカウンタC
1、C2と、比較器CMP1、CMP2、フリップフロ
ップF1〜F4、オアゲートOR、ノットゲートNTか
ら構成され、カウンタC1、C2は、3bit幅のレジ
スタを持ち、夫々のRST端子が”H”の時にレジスタ
の値を0にし、RST端子が”L”で且つレジスタの値
が4以下のときはレジスタの値をインクリメントするよ
うなカウンタであり、3bit幅のレジスタの値をその
まま出力する。比較器CMP1、CMP2は入力される
データが1以上4以下の時に”H”を出力し、そうでな
い時に”L”を出力する。そしてこれらのカウンタC
1、C2と比較器CMP1、CMP2により、オアゲー
トORの入力端aには図4(b)に示すリセット信号RE
STが”L”から”H”に変化した時からシステムクロッ
ク信号SCLKの1周期後〜5周期後の間だけ図4(c)に
示すように”H”が入力され、入力端bにはリセット信
号RESTが”H”から”L”に変化した時からシステムク
ロック信号SCLKの1周期後〜5周期後の間だけ図4
(d)に示すように”H”が入力される。そして両入力
信号の論理和演算の結果が同期カウンタ用リセット信号
CREST となる。またフリップフロップF1〜F4はリセ
ット信号RESTをシステムクロック信号SCLKの4周期の時
間だけ遅らせて図4(f)に示す内部リセット信号RES
T’として出力する。上記具体例においては同期カウン
タ10の設定やリセット信号発生回路11内のカウンタ
C1,C2の設定、内部リセット信号用のシフトレジス
タの段数を変更することにより容易に必要な特性を持つ
クロック信号CLK と内部リセット信号REST' を得ること
ができる。
The reset signal generation circuit 11 has a counter C
1 and C2, comparators CMP1 and CMP2, flip-flops F1 to F4, an OR gate OR, and a NOT gate NT. Each of the counters C1 and C2 has a register having a width of 3 bits. When each of the RST terminals is "H", When the value of the register is set to 0, the value of the register is incremented when the RST terminal is "L" and the value of the register is 4 or less, the value of the register having a width of 3 bits is output as it is. The comparators CMP1 and CMP2 output “H” when the input data is 1 or more and 4 or less, and output “L” otherwise. And these counters C
1 and C2 and the comparators CMP1 and CMP2, the reset signal RE shown in FIG.
As shown in FIG. 4 (c), "H" is input only during a period of one to five cycles of the system clock signal SCLK from the time when ST changes from "L" to "H". Only during a period from one cycle to five cycles of the system clock signal SCLK from the time when the reset signal REST changes from “H” to “L”, FIG.
"H" is input as shown in FIG. The result of the OR operation of both input signals is the reset signal for the synchronous counter.
CREST. Further, the flip-flops F1 to F4 delay the reset signal REST by the time of four cycles of the system clock signal SCLK, and set the internal reset signal RES shown in FIG.
Output as T '. In the above specific example, the clock signal CLK having the necessary characteristics can be easily changed by changing the setting of the synchronous counter 10, the setting of the counters C1 and C2 in the reset signal generating circuit 11, and the number of shift registers for the internal reset signal. An internal reset signal REST 'can be obtained.

【0017】図3に示した構成では、リセット信号発生
回路11のカウンタC1は、RST端子が”L”になっ
た時にリセットされ”H”になった時にインクリメント
されるカウンタであり、カウンタC2はRST端子が”
H”になった時にリセットされ”L”になった時にイン
クリメントされるカウンタである。パワーオンリセット
時、カウンタC1,C2のレジスタ値は図5に示すよう
になる。図において、(a)はパワーオン時のリセット
信号RESTの一例を示すもので、”H”から”L”にのみ
変化する信号である、(b)はカウンタC1のレジスタ
値、(c)はカウンタC2のレジスタ値を示している。
図に示すように、リセット信号RESTが”H”の状態でカ
ウンタC2はリセットされて正常に動作するが、(b)
に示すように、カウンタC1はリセットされていないた
め、そのレジスト値は不定となり、正常な同期カウンタ
用リセット信号を出力できない可能性がある。よってこ
の回路をパワーオンリセット時に、外部から与えるリセ
ット信号RESTが”H”から”L”にしか変化しない回路
に適用すると、カウンタC1を正しく初期化することが
できず誤動作の原因となる。このような回路に本発明の
クロック信号・同期リセット信号発生回路を適用する場
合は、例えば、図6のブロック図に示すように構成する
とよい。
In the configuration shown in FIG. 3, the counter C1 of the reset signal generation circuit 11 is a counter which is reset when the RST terminal goes "L" and is incremented when it goes "H", and the counter C2 is RST terminal is "
The counter is reset when the signal becomes H, and is incremented when the signal becomes L. At the time of power-on reset, the register values of the counters C1 and C2 are as shown in Fig. 5. In Fig. 5, (a) is a diagram. It shows an example of a reset signal REST at power-on, which is a signal that changes only from "H" to "L". (B) shows the register value of the counter C1, and (c) shows the register value of the counter C2. ing.
As shown in the figure, the counter C2 is reset and operates normally when the reset signal REST is "H".
As shown in (1), since the counter C1 has not been reset, the registration value thereof is undefined, and there is a possibility that a normal synchronous counter reset signal cannot be output. Therefore, if this circuit is applied to a circuit in which a reset signal REST supplied from the outside only changes from "H" to "L" at the time of power-on reset, the counter C1 cannot be initialized properly, causing a malfunction. When the clock signal / synchronous reset signal generation circuit of the present invention is applied to such a circuit, the circuit may be configured, for example, as shown in the block diagram of FIG.

【0018】図6に示す異なる実施例は、図3に示した
クロック信号・同期リセット信号発生回路に、初期化回
路21を付加したものである。初期化回路21は、図7
(a)に示すようなリセット信号RESTを入力して、その
リセット信号RESTに、図7(b)に示すように、リセッ
ト信号RESTが”H”から”L”に変化した一定時間後
に、”H”を所定時間出力した後”L”に変化する信号
を付加した初期化信号RTEST'' をリセット信号発生回路
11に供給する回路である。図7(c)はカウンタC1
のレジスト値、図7(d)はカウンタC2のレジスタ値
を示している。このように、リセット信号RESTを”L”
にしてカウンタC1をリセットした後、所定期間、リセ
ット信号RESTを”H”にしてやることで正常にカウンタ
C1、C2をリセットすることができる。
In a different embodiment shown in FIG. 6, an initialization circuit 21 is added to the clock signal / synchronous reset signal generation circuit shown in FIG. The initialization circuit 21 is configured as shown in FIG.
As shown in FIG. 7B, a reset signal REST as shown in FIG. 7A is input, and as shown in FIG. 7B, after a certain time when the reset signal REST changes from "H" to "L", " This circuit supplies the reset signal generation circuit 11 with an initialization signal RTEST '' to which a signal that changes to "L" after outputting "H" for a predetermined time. FIG. 7C shows the counter C1.
FIG. 7D shows the register value of the counter C2. Thus, the reset signal REST is set to “L”.
After resetting the counter C1, the counter C1 and C2 can be normally reset by setting the reset signal REST to "H" for a predetermined period.

【0019】図8に基づいて上記に示した実施例の具体
回路を説明する。図に示したクロック信号・同期リセッ
ト信号発生回路は、内部に1bit長のレジスタを有
し、システムクロックSCLKを2倍に分周してクロック信
号CLK を出力する同期カウンタ10と、リセット信号発
生回路11と、リセット信号発生回路11の前段に接続
された初期化回路21で構成されている。システムクロ
ック信号SCLKを、同期カウンタ10と、リセット信号発
生回路11と初期化回路21に供給すると共に、リセッ
ト信号RESTを、初期化回路21に入力しリセット信号発
生回路11を正常に初期化する機能を有する初期化信号
REST''に変換してリセット信号発生回路11供給する。
A specific circuit of the embodiment shown above will be described with reference to FIG. The clock signal / synchronous reset signal generation circuit shown in the figure has a register of 1 bit length internally, synchronizes the system clock SCLK by two times and outputs a clock signal CLK, and a reset signal generation circuit. 11 and an initialization circuit 21 connected before the reset signal generation circuit 11. A function of supplying the system clock signal SCLK to the synchronization counter 10, the reset signal generation circuit 11, and the initialization circuit 21, and inputting the reset signal REST to the initialization circuit 21 to normally initialize the reset signal generation circuit 11. Initialization signal having
The signal is converted to REST '' and supplied to the reset signal generation circuit 11.

【0020】初期化回路21で、C3は4bit長のレ
ジスタを有するカウンタで、リセット信号RESTが”H”
の時はデータをリセットしリセット信号RESTが”L”で
且つデータが14以下の場合に、そのデータをインクリ
メントするもので、4bit長のレジスタに保持された
値をデータDATAとしてそのまま出力する。CMP3はカ
ウンタC3から入力された4bit長のデータDATAが0
以上6以下、または15の場合には”L”を出力し、そ
れ以外の場合は”H”を出力する比較器で、S1はリセ
ット信号RESTと比較器CMP3の出力を入力し、リセッ
ト信号RESTが”H”の時はリセット信号REST(”H”)
を出力し、リセット信号RESTが”L”の時は、比較器C
MP3の出力を出力するセレクタである。上記のように
構成した初期化回路21のタイムチャートを図9に示
す。図9(b)に示すように、リセット信号RESTが”
H”である場合は、カウンタC3の出力であるデータDA
TA(図9(c))はリセットされて0となっていると共
に、図9(d)に示すように、初期化信号REST''とし
て”H”であるリセット信号RESTがそのまま出力されて
いる。リセット信号RESTが”H”から”L”に変化した
時、データDATAは0であるので、”L”である比較器C
MP3の出力が初期化信号REST''として出力される。カ
ウンタC3のRST端子は”L”の状態となったのでカ
ウンタC3のデータDATAはインクリメントされ、そのデ
ータDATAが1から6までの間、比較器CMP3は”L”
を出力し、そのデータDATAが7から14までの間、比較
器CMP3は”H”を出力する。その後、データDATA
は、15となった時点でそれ以上インクリメントされな
くなり、初期化信号REST''として比較器CMP3から”
L”状態が出力される。
In the initialization circuit 21, C3 is a counter having a register of 4-bit length, and the reset signal REST is "H".
In the case of (1), when the reset signal REST is "L" and the data is 14 or less, the data is incremented, and the value held in the 4-bit length register is output as it is as data DATA. In CMP3, the 4-bit length data DATA input from the counter C3 is 0.
A comparator which outputs "L" in the case of 6 or less or 15 or "H" in other cases. S1 receives the reset signal REST and the output of the comparator CMP3, and outputs the reset signal REST. Is “H”, the reset signal REST (“H”)
And when the reset signal REST is “L”, the comparator C
This is a selector that outputs the output of MP3. FIG. 9 shows a time chart of the initialization circuit 21 configured as described above. As shown in FIG. 9B, the reset signal REST is “
H ", the data DA which is the output of the counter C3
TA (FIG. 9C) is reset to 0, and as shown in FIG. 9D, the reset signal REST of "H" is output as it is as the initialization signal REST ". . When the reset signal REST changes from “H” to “L”, since the data DATA is 0, the comparator C which is “L”
The output of MP3 is output as an initialization signal REST ″. Since the RST terminal of the counter C3 is in the "L" state, the data DATA of the counter C3 is incremented, and while the data DATA is from 1 to 6, the comparator CMP3 is in the "L" state.
And the comparator CMP3 outputs "H" while the data DATA is between 7 and 14. After that, the data DATA
Is no longer incremented when it reaches 15, and the comparator CMP3 outputs "" as the initialization signal REST ".
An L "state is output.

【0021】図8に示したクロック信号・同期リセット
信号発生回路の、パワーオンリセット時のタイムチャー
トを図10に示す。図において、(a)はシステムクロ
ック信号SCLK、(b)は外部から与えられるリセット信
号REST、(c)は比較器CMP1の出力、(d)は比較
器CMP2の出力、(e)はクロック信号 CLK、(f)
は内部リセット信号REST' 、(g)は初期化信号REST''
である。図に示すように、初期化信号REST''が”L”で
ある(ト)の部分でカウンタC1は初めてリセットさ
れ、初期化信号REST''が”H”の期間の(チ)の部分で
そのレジスタはインクリメントされて、正常な比較器C
MP1の出力(c)が得られる。また、カウンタC2も
初期化信号REST''の(チ)の部分で再びリセットされる
ので、正常な比較器CMP2の出力(d)が得られる。
これにより、内部リセット信号REST' の(リ)の部分の
立上がり及び立ち下がり時にはクロック信号CLKは”
L”となっており、LSIの他のブロックは内部リセッ
ト信号REST' の(リ)の部分で正常にリセットされるこ
とになる。
FIG. 10 is a time chart at the time of power-on reset of the clock signal / synchronous reset signal generation circuit shown in FIG. In the figure, (a) is a system clock signal SCLK, (b) is an externally applied reset signal REST, (c) is an output of the comparator CMP1, (d) is an output of the comparator CMP2, and (e) is a clock signal. CLK, (f)
Is the internal reset signal REST ', and (g) is the initialization signal REST''
It is. As shown in the figure, the counter C1 is reset for the first time at the portion (g) where the initialization signal REST "is" L ", and at the portion (h) during the period when the initialization signal REST" is "H". The register is incremented and the correct comparator C
The output (c) of MP1 is obtained. Also, the counter C2 is reset again at the portion (h) of the initialization signal REST ″, so that the normal output (d) of the comparator CMP2 is obtained.
As a result, the clock signal CLK is set to “” at the time of the rise and fall of the portion (i) of the internal reset signal REST ′.
L ", and the other blocks of the LSI are normally reset at the (R) portion of the internal reset signal REST '.

【0022】以上のように、初期化回路21を図3に示
したクロック信号・同期リセット信号発生回路に付加す
ることにより、LSI外部から入力されるリセット信号
が”H”から”L”に変化するだけの回路の場合でも、
クロック信号・同期リセット信号発生回路を正しく初期
化することができ誤動作を防止することができる。な
お、初期化回路は実施例の回路に限定されるものではな
い。
As described above, by adding the initialization circuit 21 to the clock signal / synchronous reset signal generation circuit shown in FIG. 3, the reset signal input from outside the LSI changes from "H" to "L". Even if the circuit is just
The clock signal / synchronous reset signal generation circuit can be correctly initialized, and malfunction can be prevented. Note that the initialization circuit is not limited to the circuit of the embodiment.

【0023】[0023]

【発明の効果】本発明は、LSI外部から入力されるシ
ステムクロック信号を分周して任意の周期のクロック信
号出力を発生させる同期カウンタと、LSI外部から入
力されるリセット信号に適切な遅延を施して内部リセッ
ト信号を発生させ且つ上記内部リセット信号の出力が変
化する時に上記クロック信号の発生を停止させるための
同期カウンタ用リセット信号を発生させるリセット信号
発生回路とを備えたから、LSI外部から入力されるリ
セット信号の入力のタイミングに関わらず、LSI内の
他のブロックに対してクロック信号が停止している時に
変化するような内部リセット信号を与えることができ、
LSIの他のブロックがリセット解除時に誤動作を起こ
す可能性を無くすことができるという効果がある。
The present invention provides a synchronous counter which divides a system clock signal input from outside the LSI to generate a clock signal output of an arbitrary period, and an appropriate delay for a reset signal input from the outside of the LSI. And a reset signal generating circuit for generating a reset signal for a synchronous counter for generating an internal reset signal and stopping the generation of the clock signal when the output of the internal reset signal changes. Regardless of the input timing of the reset signal, an internal reset signal that changes when the clock signal is stopped can be given to other blocks in the LSI,
There is an effect that it is possible to eliminate the possibility that another block of the LSI may malfunction when reset is released.

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

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

【図2】同上の動作説明用タイムチャートである。FIG. 2 is a time chart for explaining the above operation.

【図3】同上の具体回路図である。FIG. 3 is a specific circuit diagram of the above.

【図4】同上の具体回路の動作説明用タイムチャートで
ある。
FIG. 4 is a time chart for explaining the operation of the above specific circuit.

【図5】同上の具体回路の誤動作説明用タイムチャート
である。
FIG. 5 is a time chart for explaining a malfunction of the concrete circuit according to the embodiment.

【図6】本発明の異なる実施例を示す回路ブロック図で
ある。
FIG. 6 is a circuit block diagram showing another embodiment of the present invention.

【図7】本発明の異なる実施例の動作説明用タイムチャ
ートである。
FIG. 7 is a time chart for explaining the operation of another embodiment of the present invention.

【図8】本発明の異なる実施例の具体回路図である。FIG. 8 is a specific circuit diagram of another embodiment of the present invention.

【図9】本発明の異なる実施例の初期化回路のタイムチ
ャートである。
FIG. 9 is a time chart of an initialization circuit according to another embodiment of the present invention.

【図10】本発明の異なる実施例の動作説明用タイムチ
ャートである。
FIG. 10 is a time chart for explaining the operation of another embodiment of the present invention.

【図11】従来例の回路ブロック図である。FIG. 11 is a circuit block diagram of a conventional example.

【図12】同上の動作説明用タイムチャートである。FIG. 12 is a time chart for explaining the above operation.

【図13】同上の誤動作説明用タイムチャートである。FIG. 13 is a time chart for explaining the malfunction of the above.

【図14】同上をLSI内に組み込んだ場合のブロック
図である。
FIG. 14 is a block diagram when the above is incorporated in an LSI.

【図15】同上の動作説明用タイムチャートである。FIG. 15 is a time chart for explaining the above operation.

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

10 同期カウンタ 11 リセット信号発生回路 21 初期化回路 SCLK システムクロック信号 CLK クロック信号 REST リセット信号 REST' 内部リセット信号 REST'' 初期化信号 CREST 同期カウンタ用リセット信号 10 Synchronous counter 11 Reset signal generation circuit 21 Initialization circuit SCLK System clock signal CLK Clock signal REST Reset signal REST 'Internal reset signal REST' 'Initialization signal CREST Reset signal for synchronous counter

フロントページの続き (56)参考文献 特開 昭63−169826(JP,A) 特開 平2−256321(JP,A)Continuation of the front page (56) References JP-A-63-169826 (JP, A) JP-A-2-256321 (JP, A)

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】LSI外部から入力されるシステムクロッ
ク信号を分周して任意の周期のクロック信号出力を発生
させる同期カウンタと、LSI外部から入力されるリセ
ット信号に適切な遅延を施して内部リセット信号を発生
させ且つ上記内部リセット信号の出力が変化する時に上
記クロック信号の発生を停止させるための同期カウンタ
用リセット信号を発生させるリセット信号発生回路とを
備えたことを特徴とするクロック信号・同期リセット信
号発生回路。
1. A synchronous counter for dividing a system clock signal input from the outside of an LSI to generate a clock signal output of an arbitrary period, and an internal reset by applying an appropriate delay to a reset signal input from the outside of the LSI A reset signal generating circuit for generating a reset signal for a synchronous counter for generating a signal and stopping the generation of the clock signal when the output of the internal reset signal changes. Reset signal generation circuit.
【請求項2】前期リセット信号に、前記リセット信号が
解除された一定時間後に所定期間リセット状態となる信
号を付加して前記リセット信号発生回路に出力する初期
化回路を具備したことを特徴とする請求項1記載のクロ
ック信号・同期リセット信号発生回路。
2. An initialization circuit for adding a signal to be in a reset state for a predetermined period after a predetermined time from when the reset signal is released to the reset signal and outputting the reset signal to the reset signal generation circuit. The clock signal / synchronous reset signal generation circuit according to claim 1.
JP5185693A 1993-07-28 1993-07-28 Clock signal / synchronous reset signal generation circuit Expired - Fee Related JP2998501B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5185693A JP2998501B2 (en) 1993-07-28 1993-07-28 Clock signal / synchronous reset signal generation circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5185693A JP2998501B2 (en) 1993-07-28 1993-07-28 Clock signal / synchronous reset signal generation circuit

Publications (2)

Publication Number Publication Date
JPH0746119A JPH0746119A (en) 1995-02-14
JP2998501B2 true JP2998501B2 (en) 2000-01-11

Family

ID=16175215

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5185693A Expired - Fee Related JP2998501B2 (en) 1993-07-28 1993-07-28 Clock signal / synchronous reset signal generation circuit

Country Status (1)

Country Link
JP (1) JP2998501B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5912570A (en) * 1997-01-08 1999-06-15 Nokia Mobile Phones Limited Application specific integrated circuit (ASIC) having improved reset deactivation

Also Published As

Publication number Publication date
JPH0746119A (en) 1995-02-14

Similar Documents

Publication Publication Date Title
JP4504581B2 (en) Register-controlled delay lock loop using ring delay and counter
US7675797B2 (en) CAS latency circuit and semiconductor memory device including the same
JPH11110065A (en) Internal clock signal generating circuit
JP4824274B2 (en) Method for generating output control signal of synchronous semiconductor memory device and synchronous semiconductor memory device
KR100514414B1 (en) Delay locked loop
US6895523B2 (en) Generation of pulse signals from a clock signal
US7157953B1 (en) Circuit for and method of employing a clock signal
US5578945A (en) Methods and apparatus for providing a negative delay on an IC chip
JP2998501B2 (en) Clock signal / synchronous reset signal generation circuit
JPH10208472A (en) Semiconductor memory generating burst mode control signal
US6667638B1 (en) Apparatus and method for a frequency divider with an asynchronous slip
JP3192225B2 (en) Clock signal / synchronous reset signal generation circuit
US6628155B2 (en) Internal clock generating circuit of semiconductor memory device and method thereof
JP2906966B2 (en) Pulse switching circuit
US7328229B2 (en) Clock divider with glitch free dynamic divide-by change
JP2004037332A (en) Data delay circuit
JP4518377B2 (en) DLL circuit
JP2006254451A (en) Frequency divider with slip
JP4112699B2 (en) Integrated circuit
JPS60146315A (en) Clock signal producing system
JPS6316318A (en) Clock switching circuit
JP2590838B2 (en) Pulse oscillation circuit
KR100399968B1 (en) 2 phase variable delay circuit
JP3236235B2 (en) Toggle flip-flop
JPH06152347A (en) Multi-phase clock generating circuit

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees