JPH08203280A - Semiconductor device - Google Patents

Semiconductor device

Info

Publication number
JPH08203280A
JPH08203280A JP7011474A JP1147495A JPH08203280A JP H08203280 A JPH08203280 A JP H08203280A JP 7011474 A JP7011474 A JP 7011474A JP 1147495 A JP1147495 A JP 1147495A JP H08203280 A JPH08203280 A JP H08203280A
Authority
JP
Japan
Prior art keywords
clock
external clock
circuit
pulse
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
JP7011474A
Other languages
Japanese (ja)
Inventor
Koji Takeshita
浩司 竹下
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP7011474A priority Critical patent/JPH08203280A/en
Publication of JPH08203280A publication Critical patent/JPH08203280A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE: To generate an optimum internal clock in accordance with the frequency of an external clock. CONSTITUTION: An output from a delay circuit is delayed by a delay time of the delay circuit in regard to an external clock CLK. In the case where the frequency of the external clock CLK is small, the delay circuit has already risen to an 'H' level at the time of a fall of the external clock CLK since the time of a pulse width of the external clock CLK is longer than the delay time, and an enable signal becomes to be at 'H' level and 'L' level at that time. Therefore a timing circuit 21 for a low speed operation becomes 'enable' and generates an internal clock CLK1. In the case where the frequency of the external clock CLK is large, the enable signal becomes to be at 'L' level and 'H' level and a timing circuit 22 for a high speed operation generates an internal clock CLK2.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、外部クロックに同期し
て内部クロックを発生する半導体装置に関するものであ
り、特に同期型メモリ回路に用いられる。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a semiconductor device which generates an internal clock in synchronization with an external clock, and is particularly used in a synchronous memory circuit.

【0002】[0002]

【従来の技術】従来、このような分野の技術としては、
例えば、次のような文献に記載されるものがあった。 文献;IEEE 1991 CUSTOM INTEG
RATED CIRCUIT CONFERENCE、
1991年、(米)、Shinagawa 他著、「A Multi-Speed Digital Cross-Connect Switch
VLSI UsingNew Circuit Technique in Dual Port RAMs
」、P.3.4.1〜3.4.4 従来、同期型メモリ回路には、高速動作あるいは低消費
電力のために、センスタイミングやライトパルス等の内
部クロックを生成するタイミング回路を備えた回路が一
般化している。同期型メモリ回路としては、外部クロッ
クに同期して、メモリのR/Wする場合と、アドレスの
変化を察知してこれに同期して、R/Wする場合があ
る。図2は、前記文献に記載された従来の同期型メモリ
回路の回路図である。図2に示すように、外部クロック
(システムクロック)CLKを使用して、タイミング回
路1により、外部クロックの立上がりあるいは立ち下が
りに同期して内部クロックS1を生成する。内部クロッ
クS1に基づいて、読み出し・書き込み回路2、デコー
ダ3が動作して、メモリセル4をアクセスする。ADm
はアドレス、Dn はデータである。
2. Description of the Related Art Conventionally, techniques in such a field include:
For example, some documents were described in the following documents. Literature; IEEE 1991 CUSTOM INTEG
RATED CIRCUIT CONFERENCE,
1991, (US), Shinagawa et al., "A Multi-Speed Digital Cross-Connect Switch"
VLSI UsingNew Circuit Technique in Dual Port RAMs
, "P. 3.4.1 to 3.4.4 Conventionally, a synchronous memory circuit is generally provided with a timing circuit that generates an internal clock such as a sense timing or a write pulse for high-speed operation or low power consumption. It has become. As the synchronous memory circuit, there are a case where R / W of the memory is performed in synchronization with an external clock, and a case where an address change is detected and R / W is performed in synchronization with this. FIG. 2 is a circuit diagram of a conventional synchronous memory circuit described in the above document. As shown in FIG. 2, the timing circuit 1 uses the external clock (system clock) CLK to generate the internal clock S1 in synchronization with the rising or falling of the external clock. The read / write circuit 2 and the decoder 3 operate based on the internal clock S1 to access the memory cell 4. AD m
Is an address and D n is data.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来の
同期型メモリ回路においては、次のような課題があっ
た。内部クロックは、外部クロックの立ち上がりあるい
は立ち下がりに同期して生成されているが、外部クロッ
クの周波数に対しては無関係に生成されるものであり、
外部クロックの周波数に応じて、内部クロックのタイミ
ングを変化させることは不可能であった。ところが、メ
モリ回路には、高速対応に設計されたものと低速対応に
設計されたものとがある。高速対応のメモリ回路と低速
対応のメモリ回路とでは、メモリ回路に確実にR/Wす
るためには、内部クロックの周波数あるいはパルス幅な
どにおいて、最適なものがそれぞれ異なる(例えば、電
源電圧VDDマージン等)。しかし、高速対応に設計され
たメモリ回路は、低速に動作させる場合でも内部クロッ
クのタイミングは、高速動作時と同じであり、電源電圧
DDマージン等を考慮した場合、低速動作も高速動作も
ほぼ同等となってしまい、例えば高速では5V±10%
で動作して、低速では1.5V±10%で動作させたい
場合に、それぞれ最適な動作タイミングが求められるの
で、実現上が困難になる。
However, the conventional synchronous memory circuit has the following problems. The internal clock is generated in synchronization with the rising or falling of the external clock, but it is generated regardless of the frequency of the external clock.
It is impossible to change the timing of the internal clock according to the frequency of the external clock. However, some memory circuits are designed for high speed and some are designed for low speed. In order to surely perform R / W on the memory circuit, the high-speed compatible memory circuit and the low-speed compatible memory circuit differ in optimum one in terms of the frequency or pulse width of the internal clock (for example, the power supply voltage V DD Margin etc.). However, even if the memory circuit designed for high speed operation is operated at low speed, the internal clock timing is the same as during high speed operation. Considering the power supply voltage VDD margin and the like, both low speed operation and high speed operation are almost the same. It becomes equal, for example, 5V ± 10% at high speed
When it is desired to operate at 1.5 V ± 10% at low speed, the optimum operation timing is required for each, so that it is difficult to realize.

【0004】[0004]

【課題を解決するための手段】第1の発明は、前記課題
を解決するために、外部クロックの周波数を判定するク
ロック周波数判定手段と、前記クロック周波数判定手段
による判定結果に基づいて、内部クロックを生成するタ
イミング信号発生手段とを備えている。
In order to solve the above problems, a first invention is directed to a clock frequency judging means for judging the frequency of an external clock, and an internal clock based on the judgment result by the clock frequency judging means. And a timing signal generating means for generating.

【0005】[0005]

【作用】第1の発明によれば、以上のように半導体装置
を構成したので、クロック周波数判定手段により外部ク
ロックが高速・低速であるかを判別して、高速用のイネ
ーブル信号、低速用のイネーブル信号のうちいずれかを
イネーブル信号をイネーブルにする。タイミング信号発
生手段は、イネーブルになったイネーブル信号に基づい
て、それに応じたタイミングの内部クロックを発生す
る。この内部クロックは、例えば、メモリ回路では読み
出し・書き込みの制御信号を生成するタイミングに使用
される。従って、前記課題を解決できるのである。
According to the first aspect of the present invention, since the semiconductor device is configured as described above, the clock frequency determining means determines whether the external clock is high speed or low speed, and the enable signal for high speed and the enable signal for low speed are used. One of the enable signals enables the enable signal. The timing signal generating means generates an internal clock having a timing according to the enable signal based on the enabled enable signal. This internal clock is used, for example, at the timing of generating a read / write control signal in a memory circuit. Therefore, the above problem can be solved.

【0006】[0006]

【実施例】第1の実施例 図1は、本発明の第1の実施例の半導体メモリ回路を示
す回路図である。本第1の実施例の半導体メモリ回路が
従来の半導体メモリ回路と異なる点は、外部クロックの
周波数を判定するクロック周波数判定回路10を設け
て、その周波数に応じて低速動作用タイミング回路2
1、高速動作用タイミング回路22のいずれかひとつの
タイミング回路21,22を有効にするようにしたこと
である。この半導体メモリ回路は、クロック周波数判定
回路10、低速動作用タイミング回路21、高速動作用
タイミング回路22、読み出し・書き出し回路30、デ
コーダ40、メモリセル50により構成されている。ク
ロック周波数判定回路10には、外部クロックCLKが
入力されて、低速動作用タイミング回路21にイネーブ
ル信号EN1、高速動作用タイミング回路22にイネー
ブル信号EN2を与える。低速動作用タイミング回路2
1、又は高速用タイミング回路22は、イネーブル信号
EN1、又はEN2がイネーブルの時、低速動作用内部
クロックCLK1、又は高速動作用内部クロックCLK
2を生成して、これを読み出し・書き込み回路30、及
びデコーダ40に与える。
First Embodiment FIG. 1 is a circuit diagram showing a semiconductor memory circuit according to a first embodiment of the present invention. The semiconductor memory circuit of the first embodiment is different from the conventional semiconductor memory circuit in that a clock frequency determination circuit 10 for determining the frequency of an external clock is provided and the low speed operation timing circuit 2 is provided according to the frequency.
First, one of the timing circuits 21 and 22 of the high-speed operation timing circuit 22 is made effective. This semiconductor memory circuit includes a clock frequency determination circuit 10, a low speed operation timing circuit 21, a high speed operation timing circuit 22, a read / write circuit 30, a decoder 40, and a memory cell 50. An external clock CLK is input to the clock frequency determination circuit 10, and an enable signal EN1 is applied to the low speed operation timing circuit 21 and an enable signal EN2 is applied to the high speed operation timing circuit 22. Timing circuit for low speed operation 2
1 or the high-speed timing circuit 22, the low-speed operation internal clock CLK1 or the high-speed operation internal clock CLK when the enable signal EN1 or EN2 is enabled.
2 is generated and given to the read / write circuit 30 and the decoder 40.

【0007】読み出し・書き込み回路30は、低速用タ
イミング回路21又は高速用タイミング回路22より内
部クロックCLK1又はCLK2を入力して、メモリセ
ル15に読み出し又は書き出し用の制御信号、及び書き
込みの際にはデータDn を与える。デコーダ40は、低
速用タイミング回路21又は高速用タイミング回路22
より内部クロックCLK1又はCLK2を入力し、図示
しないアドレス信号線よりアドレス信号ADm を入力し
て、メモリセル50のワード線及びビット線にアドレス
信号を与える。メモリセル50は、読み出し・書き込み
回路30より制御信号及び書き込みの際にはデータを入
力して、デコーダ40よりアドレス信号を入力して、読
み出しの場合には、読み出し・書き込み回路30にデー
タDn を与える。
The read / write circuit 30 receives the internal clock CLK1 or CLK2 from the low-speed timing circuit 21 or the high-speed timing circuit 22 to read or write the control signal to the memory cell 15, and to write the control signal. Data D n is given. The decoder 40 includes a low speed timing circuit 21 or a high speed timing circuit 22.
Further, the internal clock CLK1 or CLK2 is input, and the address signal AD m is input from an address signal line (not shown) to apply the address signal to the word line and bit line of the memory cell 50. The memory cell 50 receives a control signal from the read / write circuit 30 and data at the time of writing, receives an address signal from the decoder 40, and inputs data D n to the read / write circuit 30 at the time of reading. give.

【0008】図3は、図1中のクロック周波数判定回路
10の回路図である。図3に示すように、クロック周波
数判定回路10は、遅延回路11、インバータ12、1
3とにより構成されている。遅延回路11は、偶数個の
インバータより構成されおり、高速クロックと低速クロ
ックとを判別する閾値のパルス幅に相当する遅延時間T
11を有する。この遅延回路11は、外部クロックCL
Kを入力して、その遅延時間T11だけ遅れた外部クロ
ックCLKを出力する。インバータ12は、遅延回路1
1より入力して、高速動作用タイミング回路22及びイ
ンバータ13にその反転信号を与える。インバータ13
は、低速動作用タイミング回路21にイネーブル信号E
N1を与える。図4及び図5は、図3のクロック周波数
判定回路10のタイムチャートであり、特に図4は、外
部クロックのパルス幅が動作スペックを満足する場合で
あり、図5は、外部クロックのパルス幅が動作スペック
を満足しない場合である。外部クロック周波数が低速で
あるか高速であるかはある基準となる閾値と比較して判
定を行う。以下、これらの図を参照しつつ、図3のクロ
ック周波数判定回路10の動作の説明をする。
FIG. 3 is a circuit diagram of the clock frequency determination circuit 10 in FIG. As shown in FIG. 3, the clock frequency determination circuit 10 includes a delay circuit 11, an inverter 12, and an inverter 12.
3 and 3. The delay circuit 11 is composed of an even number of inverters, and has a delay time T corresponding to a pulse width of a threshold value for discriminating between a high speed clock and a low speed clock.
Have 11. This delay circuit 11 uses the external clock CL
K is input and the external clock CLK delayed by the delay time T11 is output. The inverter 12 is the delay circuit 1
1 and inputs the inverted signal to the high-speed operation timing circuit 22 and the inverter 13. Inverter 13
Enables the enable signal E to the timing circuit 21 for low speed operation.
Give N1. 4 and 5 are time charts of the clock frequency determination circuit 10 of FIG. 3, particularly FIG. 4 shows the case where the pulse width of the external clock satisfies the operation specifications, and FIG. 5 shows the pulse width of the external clock. Is a case where the operation specifications are not satisfied. Whether the external clock frequency is low speed or high speed is determined by comparing it with a certain threshold value. Hereinafter, the operation of the clock frequency determination circuit 10 of FIG. 3 will be described with reference to these drawings.

【0009】まず、図4を参照して、外部クロックCL
Kの周波数が、ある基準よりも低速の場合の動作の説明
をする。ここでは、高速用内部クロック、低速用内部ク
ロックとも、外部クロックの立ち下がりエッジに同期し
て生成されるものとする。遅延回路11より、外部クロ
ックCLKに対して、遅延回路11の遅延時間T11だ
け遅れて出力される。遅延回路11の出力信号S11は
インバータ12より反転されて、その反転信号は高速動
作用タイミング回路22のイネーブル信号EN2及びイ
ンバータ13に与えられる。外部クロックCLKの周波
数が低速な場合、外部クロックCLKの“H”レベルの
パルス幅の期間が遅延時間T11よりも長いので、外部
クロックCLKの立ち下がり時には、遅延回路11の出
力S11が“H”レベルであり、イネーブル信号EN1
が“H”レベルとなり、イネーブル信号EN2は、
“L”レベルとなる。このように、外部クロックが低速
の場合には、外部クロックCLKの立ち下がり時は、必
ずイネーブル信号EN1は“H”レベル、イネーブル信
号EN2は“L”レベルになる。よって、低速動作用タ
イミング回路21がイネーブルとなり、低速動作用内部
クロック(例えば、パルス幅が比較的長く、立上がりの
遅延時間をそれほど要求されないクロック)を生成し
て、読み込み・書き込み回路30、及びデコーダ40に
出力する。
First, referring to FIG. 4, the external clock CL
The operation when the frequency of K is lower than a certain standard will be described. Here, it is assumed that both the high-speed internal clock and the low-speed internal clock are generated in synchronization with the falling edge of the external clock. The output from the delay circuit 11 is delayed by the delay time T11 of the delay circuit 11 with respect to the external clock CLK. The output signal S11 of the delay circuit 11 is inverted by the inverter 12, and the inverted signal is given to the enable signal EN2 of the high speed operation timing circuit 22 and the inverter 13. When the frequency of the external clock CLK is low, the period of the pulse width of the “H” level of the external clock CLK is longer than the delay time T11. Therefore, when the external clock CLK falls, the output S11 of the delay circuit 11 is “H”. Level and enable signal EN1
Becomes "H" level, and the enable signal EN2 becomes
It becomes the "L" level. Thus, when the external clock is low speed, the enable signal EN1 is always at "H" level and the enable signal EN2 is at "L" level when the external clock CLK falls. Therefore, the low-speed operation timing circuit 21 is enabled, an internal clock for low-speed operation (for example, a clock having a relatively long pulse width and a rising delay time not required so much) is generated, and the read / write circuit 30 and the decoder are generated. Output to 40.

【0010】次に、図5を参照して、外部クロックCL
Kの周波数がある基準より高速の場合を説明する。外部
クロックCLKの周波数が高速な場合、外部クロックC
LKの“H”レベルのパルス幅の時間が遅延時間T11
よりも短いので、外部クロックCLKの立ち下がり時
は、遅延回路11の出力S11が“L”レベルのままで
あり、イネーブル信号EN1は“L”レベルに、イネー
ブル信号EN2は“H”レベルになる、よって、高速動
作用タイミング回路22は、イネーブルとなり高速動作
用内部クロック(例えば、パルス幅が短く、立上がり遅
延時間の短いクロック)を生成して、読み込み・書き込
み回路30及びデコーダ40に出力する。読み込み・書
き込み回路30では、低速用又は高速用内部クロックC
LK1、又はCLK2に基づいて、読み出し又は書き出
しのための制御信号と書き出しの場合には、データ信号
を所定のタイミングでメモリセル50に出力する。デコ
ーダ40では、低速用又は高速用内部クロックCLK1
又はCLK2に基づいて、アドレス信号ADm をデコー
ドして、ワード線及びビット線にアドレス信号を与え
る。
Next, referring to FIG. 5, the external clock CL
A case where the frequency of K is faster than a certain standard will be described. When the frequency of the external clock CLK is high, the external clock C
The time of the pulse width of the “H” level of LK is the delay time T11.
Therefore, when the external clock CLK falls, the output S11 of the delay circuit 11 remains at "L" level, the enable signal EN1 becomes "L" level, and the enable signal EN2 becomes "H" level. Therefore, the high-speed operation timing circuit 22 is enabled and generates an internal clock for high-speed operation (for example, a clock having a short pulse width and a short rise delay time) and outputs it to the read / write circuit 30 and the decoder 40. In the read / write circuit 30, the low-speed or high-speed internal clock C
Based on LK1 or CLK2, in the case of a control signal for reading or writing and writing, a data signal is output to the memory cell 50 at a predetermined timing. In the decoder 40, the low-speed or high-speed internal clock CLK1
Alternatively, the address signal AD m is decoded based on CLK2, and the address signal is applied to the word line and the bit line.

【0011】メモリセル50では、読み出しの場合に
は、立ち上げられたワード線に接続されたメモリの情報
をビット線より読み出して、書き込み・読み出し回路3
0にデータDn を出力し、書き込みの際には、立ち上げ
られたワード線に接続されたメモリセルにビット線よ
り、書き込み・読み出し回路30から出力されたデータ
を書き込む。以上、説明したように本第1の実施例によ
れば、外部クロックCLKの周波数がある基準よりも低
速の場合は、低速動作用内部クロックによって、メモリ
回路は動作する。また、外部クロックCLKの周波数が
ある基準より高速の場合、高速動作用内部クロックによ
ってメモリ回路は動作する。したがって、高速・低速に
応じて、最適な内部クロックが発生でき、メモリ回路の
動作条件の範囲を容易に広くできるという利点がある。
例えば、外部クロックを高速用と低速用で切り換えるこ
とにより、高速対応のメモリ回路を高速では5V±10
%で動作して、低速では1.5V±10%で動作すると
いう動作保証したメモリ回路の設計を容易にする。ま
た、信号線の数を余計に増やすことなく実現できるとい
う利点がある。
In the memory cell 50, in the case of reading, the writing / reading circuit 3 reads the information of the memory connected to the raised word line from the bit line.
The data D n is output to 0, and at the time of writing, the data output from the writing / reading circuit 30 is written from the bit line to the memory cell connected to the raised word line. As described above, according to the first embodiment, when the frequency of the external clock CLK is lower than a certain reference, the memory circuit operates with the internal clock for low speed operation. Further, when the frequency of the external clock CLK is higher than a certain reference, the memory circuit operates by the internal clock for high speed operation. Therefore, there is an advantage that an optimum internal clock can be generated according to high speed and low speed, and the range of operating conditions of the memory circuit can be easily widened.
For example, by switching the external clock between high-speed and low-speed, a high-speed compatible memory circuit can operate at 5V ± 10
%, And facilitates the design of a memory circuit whose operation is guaranteed to operate at 1.5 V ± 10% at low speed. Further, there is an advantage that it can be realized without increasing the number of signal lines.

【0012】第2の実施例 図6は、本発明の第2の実施例の半導体メモリ回路の回
路構成図である。本第2の実施例の半導体メモリ回路が
従来の半導体メモリ回路と異なる点は、外部クロックの
周波数がメモリ回路のスペックより速くなったり、ある
いは外部クロックのデューティ(“H”レベルと“L”
レベルのパルス幅の比率)が極端にアンバランスにな
り、外部クロックのパルス幅がメモリ回路のスペックよ
りも短くなった場合を判定するクロックパルス幅判定回
路100を設けて、外部クロックのパルス幅が動作スペ
ックを満足しない場合、外部クロックの立ち下がりにお
いて、イネーブル信号ENを“L”レベルにして、内部
クロックCLK1を生成しないようにしたことである。
この半導体メモリ回路は、クロックパルス幅判定回路1
00、タイミング回路120、読み出し・書き出し回路
130、デコーダ140、メモリセル150により構成
されている。クロックパルス幅判定回路100は、外部
クロックCLKを入力して、タイミング回路120にイ
ネーブル信号ENを与える。タイミング回路120は、
外部クロックCLK及びイネーブル信号ENを入力し
て、内部クロックCLK1を読み出し・書き込み回路1
30及びデコーダ140に与える。読み出し・書き込み
回路130は、タイミング回路120より内部クロック
CLK1を入力して、メモリセル150に読み出し又は
書き出し用の制御信号、及び書き込みの際にはデータを
与える。デコーダ140は、タイミング回路120より
内部クロックCLK1を入力し、図示しないアドレス信
号線よりアドレス信号ADm を入力して、メモリセル1
50のワード線及びビット線にアドレス信号を与える。
メモリセル150は、読み出し・書き込み回路130よ
り制御信号及び書き込みの際にはデータDn を入力し、
デコーダ140よりアドレス信号を入力し、読み出しの
場合には、読み出し・書き込み回路130にデータDn
を与える。
Second Embodiment FIG. 6 is a circuit configuration diagram of a semiconductor memory circuit according to a second embodiment of the present invention. The semiconductor memory circuit of the second embodiment is different from the conventional semiconductor memory circuit in that the frequency of the external clock becomes faster than the specifications of the memory circuit or the duty of the external clock (“H” level and “L”).
The pulse width of the level) is extremely unbalanced and the pulse width of the external clock becomes shorter than the spec of the memory circuit. When the operation specifications are not satisfied, the enable signal EN is set to the “L” level at the falling edge of the external clock so that the internal clock CLK1 is not generated.
This semiconductor memory circuit includes a clock pulse width determination circuit 1
00, timing circuit 120, read / write circuit 130, decoder 140, and memory cell 150. The clock pulse width determination circuit 100 inputs the external clock CLK and gives an enable signal EN to the timing circuit 120. The timing circuit 120 is
External clock CLK and enable signal EN are input to read / write internal clock CLK1.
30 and the decoder 140. The read / write circuit 130 inputs the internal clock CLK1 from the timing circuit 120, and supplies a control signal for reading or writing to the memory cell 150 and data at the time of writing. The decoder 140 receives the internal clock CLK1 from the timing circuit 120 and the address signal AD m from an address signal line (not shown ) to input the memory cell 1
Address signals are applied to 50 word lines and 50 bit lines.
The memory cell 150 receives the control signal from the read / write circuit 130 and the data D n at the time of writing,
When the address signal is input from the decoder 140 and reading is performed, the data D n is input to the read / write circuit 130.
give.

【0013】図7は、図6中のクロックパルス幅判定回
路100の回路図である。図7に示すように、クロック
パルス幅判定回路100は、遅延回路101、インバー
タ102、103により構成される。遅延回路101
は、外部クロックCLKが満足すべきパルス幅の期間を
閾値とする遅延時間T101を有している。遅延回路1
01は、外部クロックCLKを入力して、インバータ1
02に信号S101を出力する。インバータ102は、
インバータ103に出力する。インバータ103は、イ
ネーブル信号ENを図8中のタイミング回路120に出
力する。図8(a),(b)は、図7のタイムチャート
であり、特に同図(a)は、外部クロックのパルス幅が
メモリ回路の動作スペックを満足する場合であり、同図
(b)は、外部クロックのデューティがアンバランスに
なり、外部クロックの“H”期間のパルス幅が短くな
り、スペックを満足しない場合である。図8(a)に示
すように、外部クロックCLKのパルス幅が動作スペッ
クを満足する場合、そのパルス幅が遅延時間T101よ
りも長いので、外部クロックCLKの立ち下がりにおい
て、遅延回路101の出力S101が“H”レベルとな
る。それにより、イネーブル信号ENが“H”レベルと
なり、タイミング回路120より外部クロックCLKの
立ち下がりに同期して、内部クロックCLK1を生成し
て、読み出し・書き込み回路120、及びデコーダ13
0に出力する。
FIG. 7 is a circuit diagram of the clock pulse width determination circuit 100 shown in FIG. As shown in FIG. 7, the clock pulse width determination circuit 100 includes a delay circuit 101 and inverters 102 and 103. Delay circuit 101
Has a delay time T101 whose threshold is a period of a pulse width that the external clock CLK should satisfy. Delay circuit 1
01 receives the external clock CLK and inputs the inverter 1
A signal S101 is output to 02. The inverter 102 is
Output to the inverter 103. The inverter 103 outputs the enable signal EN to the timing circuit 120 in FIG. 8A and 8B are time charts of FIG. 7, and in particular, FIG. 8A shows the case where the pulse width of the external clock satisfies the operation specifications of the memory circuit, and FIG. In this case, the duty of the external clock becomes unbalanced, the pulse width of the “H” period of the external clock becomes short, and the specifications are not satisfied. As shown in FIG. 8A, when the pulse width of the external clock CLK satisfies the operation specifications, the pulse width is longer than the delay time T101. Therefore, at the falling edge of the external clock CLK, the output S101 of the delay circuit 101 is output. Becomes "H" level. As a result, the enable signal EN becomes "H" level, the internal clock CLK1 is generated from the timing circuit 120 in synchronization with the falling of the external clock CLK, and the read / write circuit 120 and the decoder 13 are generated.
Output to 0.

【0014】また、図8(b)に示すように、外部クロ
ックCLKのパルス幅が動作スペックよりも短い場合、
そのパルス幅が遅延時間T111よりも短いので、外部
クロックCLKの立ち下がりにおいて、遅延回路101
の出力S101が“L”レベルとなる。それにより、イ
ネーブル信号ENが“L”レベルとなり、タイミング回
路120より外部クロックCLKの立ち下がりにおい
て、内部クロックCLK1は生成されず、その外部クロ
ックCLKの立ち下がりのタイミングにおいては、メモ
リ回路は、読み出し及び書き込みの動作をしない。外部
クロックCLKの“H”レベルのパルス幅が短いと、こ
の外部クロックCLKに基づいて生成される内部クロッ
クの“H”レベルのパルス幅も短くなり、アドレス信号
が安定していない時にR/W動作を起こし、またR/W
が完了せずに次のアドレス信号を入力してしまうといっ
た誤動作を起こす。そこで、このように外部クロックC
LKの“H”レベルのパルス幅が短い場合は、メモリ回
路は動作せず現状を維持するため、メモリセル140に
誤書き込みすることを未然に防ぐ。以上説明したよう
に、本第2の実施例によれば、外部クロックCLKの周
波数がメモリ回路のスペックよりも速かったり、外部ク
ロックCLKのパルス幅がメモリ回路のスペックより短
かった場合、誤書き込み等のメモリのデータ破壊を未然
に防ぐという利点がある。
Further, as shown in FIG. 8B, when the pulse width of the external clock CLK is shorter than the operation specification,
Since the pulse width thereof is shorter than the delay time T111, the delay circuit 101 is provided at the falling edge of the external clock CLK.
Output S101 of "1" becomes "L" level. As a result, the enable signal EN becomes “L” level, the internal clock CLK1 is not generated at the fall of the external clock CLK from the timing circuit 120, and the memory circuit reads at the fall timing of the external clock CLK. And the writing operation is not performed. When the "H" level pulse width of the external clock CLK is short, the "H" level pulse width of the internal clock generated based on the external clock CLK also becomes short, and when the address signal is unstable, the R / W Cause movement, R / W
Will not be completed and the next address signal will be input, causing a malfunction. Therefore, the external clock C
When the pulse width of the “H” level of LK is short, the memory circuit does not operate and maintains the current state, so that erroneous writing to the memory cell 140 is prevented. As described above, according to the second embodiment, when the frequency of the external clock CLK is faster than the specifications of the memory circuit or the pulse width of the external clock CLK is shorter than the specifications of the memory circuit, erroneous writing, etc. This has the advantage of preventing data corruption in the memory of the.

【0015】第3の実施例 図9は、本発明の第3の実施例を示す図6中のクロック
パルス幅判定回路100の回路図である。このクロック
パルス幅判定回路100は、遅延回路111、インバー
タ112、S−RNOR型ラッチ回路(以下、S−Rラ
ッチ回路と呼ぶ)113、D型フリップフロップ(以
下、DFFと呼ぶ)114により構成されている。遅延
回路111は、外部クロックCLKを入力して、S−R
ラッチ回路113のR端子及びDFF114のクロック
端子CNに信号S111を出力する。遅延回路111の
遅延時間T111は、外部クロックCLKのデューティ
がアンバランスになり、外部クロックCLKの“L”レ
ベルの期間のパルス幅がスペックよりも短くなると、そ
の直後の外部クロックの“H”レベルの期間において、
その“L”レベルへの立ち下がりを出力するように設定
してある。また、外部クロックCLKのデューティが正
常であれば、“L”レベルへの立ち下がりを、その
“L”レベルの期間で出力するように遅延時間T111
を設定してある。インバータ112は、外部クロックC
LKを入力して、S−Rラッチ回路113のS端子に出
力する。S−Rラッチ回路113は、Q端子よりDFF
114のD端子に信号S113を出力する。DFF11
4のQ端子より、イネーブル信号ENを出力する。
Third Embodiment FIG. 9 is a circuit diagram of the clock pulse width determination circuit 100 in FIG. 6 showing a third embodiment of the present invention. The clock pulse width determination circuit 100 includes a delay circuit 111, an inverter 112, an S-RNOR type latch circuit (hereinafter, referred to as SR latch circuit) 113, and a D type flip-flop (hereinafter, referred to as DFF) 114. ing. The delay circuit 111 inputs the external clock CLK and outputs SR
The signal S111 is output to the R terminal of the latch circuit 113 and the clock terminal CN of the DFF 114. When the duty of the external clock CLK becomes unbalanced and the pulse width of the “L” level period of the external clock CLK becomes shorter than the specification, the delay time T111 of the delay circuit 111 is immediately after the “H” level of the external clock. In the period of
It is set to output the fall to the “L” level. If the duty of the external clock CLK is normal, the delay time T111 is set so that the fall to the “L” level is output during the “L” level period.
Has been set. The inverter 112 uses the external clock C
LK is input and output to the S terminal of the SR latch circuit 113. The S-R latch circuit 113 outputs DFF from the Q terminal.
The signal S113 is output to the D terminal of 114. DFF11
The enable signal EN is output from the Q terminal of No. 4.

【0016】図10は、図9のタイムチャートである。
以下、図10を参照して、図9の動作の説明をする。ま
ず、外部クロックCLKのデューティが正常な場合は、
遅延回路111の立ち下がり時点では、外部クロックC
LKが“L”レベルとなり、インバータ112とS−R
ラッチ回路112のNOR論理をとることにより、その
出力S113は“H”レベルとなる。それにより、DF
F114では、遅延回路111の立ち下がりで、“H”
レベルを出力して、イネーブル信号ENは“H”レベル
となり、タイミング回路120では、外部クロックCL
Kの立ち下がりで、内部クロックCLK1を発生する。
一方、外部クロックCLKのデューティがアンバランス
になり、外部クロックCLKのロー期間のパルス幅がス
ペックよりも短くなると、外部クロックCLKの“H”
レベルの期間が長くなり、遅延回路111の立ち下がり
時点では、外部クロックCLKは“H”レベルとなって
いる。S−Rラッチ回路113は、遅延回路11の立ち
下がり時点では、インバータ112の“H”レベルの出
力と遅延回路111の“H”レベルの出力とのNORを
とり、“L”レベルをDFF114に出力している。
FIG. 10 is a time chart of FIG.
The operation of FIG. 9 will be described below with reference to FIG. First, when the duty of the external clock CLK is normal,
When the delay circuit 111 falls, the external clock C
LK becomes “L” level, and the inverter 112 and SR
By taking the NOR logic of the latch circuit 112, its output S113 becomes "H" level. Thereby, DF
In F114, "H" is generated at the fall of the delay circuit 111.
The level is output, the enable signal EN becomes the “H” level, and the timing circuit 120 outputs the external clock CL.
At the fall of K, the internal clock CLK1 is generated.
On the other hand, when the duty of the external clock CLK becomes unbalanced and the pulse width of the low period of the external clock CLK becomes shorter than the specification, the external clock CLK becomes “H”.
The level period becomes longer, and the external clock CLK is at the “H” level at the time of the fall of the delay circuit 111. When the delay circuit 11 falls, the SR latch circuit 113 NORs the “H” level output of the inverter 112 and the “H” level output of the delay circuit 111, and sets the “L” level to the DFF 114. It is outputting.

【0017】DFF114は、遅延回路111の立ち下
がりでデータS113をラッチして、“L”レベルを出
力して、イネーブル信号ENを“L”レベルにする。そ
れにより、外部クロックCLKの次の立ち下がり時点で
は、イネーブル信号ENがアンイネーブル状態を示す
“L”レベルであるため、内部クロックCLK1は生成
されない。よって、次の周期はメモリは動作せず、現周
期のメモリの動作は完動する。以上のように、本第3の
実施例によれば、外部クロックCLKのロー期間のパル
ス幅がスペックより短いと、データの書き込みあるいは
データの読み込みが不十分のまま次の周期がくるが、次
の周期の外部クロックCLKの立ち下がり時、イネーブ
ル信号ENは“L”レベルとするので、次の周期はメモ
リ回路は動作せず、現周期のメモリ回路の動作は完了す
るので、誤書き込み等のメモリのデータ破壊を未然に防
ぐという利点がある。
The DFF 114 latches the data S113 at the fall of the delay circuit 111, outputs the "L" level, and sets the enable signal EN to the "L" level. As a result, at the next fall of the external clock CLK, the enable signal EN is at the “L” level indicating the unenable state, and therefore the internal clock CLK1 is not generated. Therefore, the memory does not operate in the next cycle, and the operation of the memory in the current cycle is completed. As described above, according to the third embodiment, if the pulse width of the external clock CLK in the low period is shorter than the specification, the next cycle comes while the data writing or the data reading is insufficient. Since the enable signal EN is set to the “L” level at the fall of the external clock CLK in the cycle of, the memory circuit does not operate in the next cycle, and the operation of the memory circuit in the current cycle is completed. There is an advantage that data destruction of the memory can be prevented.

【0018】第4の実施例 図11は、本発明の第4の実施例を示す半導体メモリ回
路の回路図である。この半導体メモリ回路は、クロック
判定回路200、読み出し・書き出し回路210、デコ
ーダ220、メモリセル230とにより構成されてい
る。クロック判定回路200には、外部クロックCLK
が入力されて、読み出し・書き込み回路210、及びデ
コーダ220にワード線の立ち下げ信号WLを与える。
読み出し・書き込み回路210は、メモリセル230に
読み出し又は書き出し用の制御信号、及び書き込みの際
にはデータを与える。デコーダ220は、クロック周波
数判定回路200よりワード線の立ち下げ信号WLを入
力し、図示しないアドレス信号線よりアドレス信号AD
m を入力して、メモリセル230のワード線及びビット
線にアドレス信号又はワード線の立ち下げ信号を与え
る。メモリセル230は、読み出し・書き込み回路21
0より制御信号及び書き込みの際にはデータDn を入力
して、デコーダ220よりアドレス信号を入力して、読
み出しの場合には、読み出し・書き込み回路210にデ
ータDn を与える。クロック判定回路200は、外部ク
ロックの応答が途絶えたことを感知する手段であり、読
み出し・着込み回路210、及びデコーダ220は、ク
ロック判定回路200の判定結果であるワード線立ち下
げ信号WLに基づいて、メモリセル230の動作制御を
する手段である。
Fourth Embodiment FIG. 11 is a circuit diagram of a semiconductor memory circuit showing a fourth embodiment of the present invention. This semiconductor memory circuit includes a clock determination circuit 200, a read / write circuit 210, a decoder 220, and a memory cell 230. The clock determination circuit 200 has an external clock CLK.
Is input, and the read / write circuit 210 and the decoder 220 are supplied with the falling signal WL of the word line.
The read / write circuit 210 gives a read or write control signal to the memory cell 230 and data at the time of writing. The decoder 220 receives the falling signal WL of the word line from the clock frequency determination circuit 200 and receives the address signal AD from the address signal line (not shown).
By inputting m , an address signal or a word line falling signal is applied to the word line and the bit line of the memory cell 230. The memory cell 230 has a read / write circuit 21.
A control signal is input from 0, data D n is input at the time of writing, an address signal is input from the decoder 220, and data D n is given to the read / write circuit 210 at the time of reading. The clock determination circuit 200 is a means for sensing that the response of the external clock is interrupted, and the read / load circuit 210 and the decoder 220 are based on the word line falling signal WL which is the determination result of the clock determination circuit 200. , A means for controlling the operation of the memory cell 230.

【0019】図12は、図11中のクロック判定回路2
00の回路図である。図12に示すように、クロック判
定回路200は、遅延回路201、インバータ202、
DFF203とにより構成されている。遅延回路201
は、外部クロックCLKを入力して、その遅延時間T2
01だけ遅れた出力S201をDFF202のクロック
端子CNに出力する。遅延時間T201は、外部クロッ
クCLKが正常なパルスであれば、そのパルスの直後の
パルスの出力期間において、外部クロックCLKのパル
スの立ち下がりが出力されるように、(例えば、外部ク
ロックCLKの周期の1/2よりも大きく、3/2より
小さく)設定してある。インバータ202は、外部クロ
ックCLKを入力して、DFF203のD端子に出力す
る。DFF203は、Q端子よりワード線の立ち下げ信
号WLを出力する。
FIG. 12 shows the clock decision circuit 2 in FIG.
It is a circuit diagram of 00. As shown in FIG. 12, the clock determination circuit 200 includes a delay circuit 201, an inverter 202,
It is configured by the DFF 203. Delay circuit 201
Receives the external clock CLK and delays the delay time T2.
The output S201 delayed by 01 is output to the clock terminal CN of the DFF 202. If the external clock CLK is a normal pulse, the delay time T201 is such that the falling edge of the pulse of the external clock CLK is output during the pulse output period immediately after the pulse (for example, the cycle of the external clock CLK. Of less than 3/2). The inverter 202 receives the external clock CLK and outputs it to the D terminal of the DFF 203. The DFF 203 outputs the word line falling signal WL from the Q terminal.

【0020】図13は、図12のタイムチャートであ
る。以下、図13を参照して、図11の動作の説明をす
る。外部クロックCLKが何らかの原因でメモリ回路の
動作中(ここでは、外部クロックCLKのロー期間にあ
たる)に応答が途絶えた場合、遅延回路201の立ち下
がりにおいて、外部クロックCLKが“L”レベルのま
まである。DFF203は、遅延回路201の立ち下が
りでラッチする。この時点において、外部クロックCL
Kが“L”レベルのままであるので、インバータ202
のハイレベルの出力がDFF203によりラッチされ
て、ワード線の立ち下げ信号WLを“H”レベルにす
る。このワード線の立ち下げ信号WLは、読み出し・書
き込み回路210及びデコーダ220に入力されて、こ
れらの回路によりデータの読み出し中又はデータの書き
出し中のメモリセル230のワード線を閉じる。このた
め、外部クロックCLKが原因でメモリ回路の動作中に
応答が途絶えた場合は、ワード線の立ち下げ信号WLに
よりワード線は閉じられる。よって、アドレス信号AD
m とデータ信号Dn との同期がずれることなどによる誤
書き込みを防止したり、消費電流をカットすることがで
きる。また、外部クロックCLKの供給が再開された場
合、メモリ回路は2サイクル目から動作が可能となる。
以上、説明したように本第4の実施例によれば、メモリ
回路が動作中に外部クロックCLKが途絶えた場合、メ
モリセルのワード線を立ち下げてライト動作又はリード
動作しない状態を維持するので、データの保護が保証さ
れ、消費電流が低減される。なお、本発明は上記実施例
に限定されず、種々の変形が可能である。その変形例と
しては、例えば次のようなものがある。
FIG. 13 is a time chart of FIG. The operation of FIG. 11 will be described below with reference to FIG. If the response is interrupted during the operation of the memory circuit (here, it corresponds to the low period of the external clock CLK) for some reason, the external clock CLK remains at the “L” level at the fall of the delay circuit 201. is there. The DFF 203 latches at the falling edge of the delay circuit 201. At this point, the external clock CL
Since K remains at "L" level, the inverter 202
Of the high level is latched by the DFF 203, and the fall signal WL of the word line is set to the “H” level. The falling signal WL of the word line is input to the read / write circuit 210 and the decoder 220 to close the word line of the memory cell 230 during data reading or data writing by these circuits. Therefore, when the response is interrupted during the operation of the memory circuit due to the external clock CLK, the word line is closed by the falling signal WL of the word line. Therefore, the address signal AD
It is possible to prevent erroneous writing due to a shift in the synchronization between m and the data signal D n, and to cut the current consumption. Further, when the supply of the external clock CLK is restarted, the memory circuit can operate from the second cycle.
As described above, according to the fourth embodiment, when the external clock CLK is interrupted during the operation of the memory circuit, the word line of the memory cell is lowered to maintain the state where the write operation or the read operation is not performed. , Data protection is guaranteed and current consumption is reduced. The present invention is not limited to the above embodiment, and various modifications can be made. The following are examples of such modifications.

【0021】第1の変形例 図14は、本発明の第1の実施例における第1の変形例
を示す半導体メモリ回路の回路図である。本第1の変形
例が第1の実施例と異なる点は、外部クロックCLKの
周波数に応じて、4種類のイネーブル信号EN1〜EN
4を生成するようにして、各イネーブル信号EN1〜E
N4に基づいて、タイミング回路321〜324により
内部クロックを生成するようにしたことである。この半
導体メモリ回路は、クロック周波数判定回路310、タ
イミング回路321〜324、読み出し・書き出し回路
330、デコーダ340、メモリセル350により構成
されている。クロック周波数判定回路310は、外部ク
ロックCLKを入力して、タイミング回路321〜32
4にイネーブル信号EN1〜EN4をそれぞれ与える。
タイミング回路321〜324は、イネーブル信号EN
1〜EN4をそれぞれ入力して、読み出し・書き込み回
路330、及びデコーダ340に内部クロックCLK1
〜CLK4を与える。読み出し・書き込み回路330
は、タイミング回路321〜324より内部クロックC
LK1〜CLK4を入力して、メモリセル350に読み
出し又は書き出し用の制御信号、及び書き込みの際には
データDn を与える。デコーダ340は、タイミング回
路321〜324より内部クロックCLK1〜CLK4
を入力し、図示しないアドレス信号線よりアドレス信号
ADm を入力して、メモリセル350のワード線及びビ
ット線にアドレス信号を与える。メモリセル350は、
読み出し・書き込み回路330より制御信号及び書き込
みの際にはデータDn 入力して、デコーダ340より
アドレス信号を入力して、読み出しの場合には、読み出
し・書き込み回路330にデータを与える。
First Modification FIG. 14 is a circuit diagram of a semiconductor memory circuit showing a first modification of the first embodiment of the present invention. The difference between the first modification and the first embodiment is that four types of enable signals EN1 to EN are provided according to the frequency of the external clock CLK.
4 to generate enable signals EN1 to E
The timing circuits 321 to 324 generate the internal clock based on N4. This semiconductor memory circuit includes a clock frequency determination circuit 310, timing circuits 321 to 324, a read / write circuit 330, a decoder 340, and a memory cell 350. The clock frequency determination circuit 310 inputs the external clock CLK and inputs the timing circuits 321 to 32.
4 to the enable signals EN1 to EN4, respectively.
The timing circuits 321 to 324 use the enable signal EN.
1 to EN4 are input to the read / write circuit 330 and the decoder 340 to input the internal clock CLK1.
~ Give CLK4. Read / write circuit 330
Is an internal clock C from the timing circuits 321 to 324.
By inputting LK1 to CLK4, a control signal for reading or writing and a data D n at the time of writing are given to the memory cell 350. The decoder 340 receives the internal clocks CLK1 to CLK4 from the timing circuits 321 to 324.
And an address signal AD m is input from an address signal line (not shown) to apply the address signal to the word line and the bit line of the memory cell 350. The memory cell 350 is
The read / write circuit 330 inputs a control signal and data Dn at the time of writing, an address signal from the decoder 340, and gives data to the read / write circuit 330 at the time of reading.

【0022】図15は、図14中のクロック周波数判定
回路310の回路図である。図15に示すように、クロ
ック周波数判定回路310は、遅延回路311−1、3
11−3、インバータ312−1〜312−3、313
−1〜313−3、4入力ANDゲート314−1〜3
14−4とにより構成されている。遅延回路311−1
〜311−3には、外部クロックCLKが入力される。
遅延回路311−1〜311−3は、それぞれの遅延時
間T311−1〜T311−3が、 T311−1<T311−2<T311−3 となるように設定されている。外部クロックCLKは、
このクロック周波数判定回路310により4段階に分類
され、イネーブル信号EN1〜EN4のどれか一つが
“H”レベルとなり、それに応じたタイミング回路32
1〜324のいずれかひとつがイネーブルとなる。イン
バータ312−i(i=1〜3)には、遅延回路311
−iの出力S311−iが入力されて、インバータ31
3−iに出力する。ANDゲート314−1には、イン
バータ312−1〜312−3より入力されて、イネー
ブル信号EN1を出力する。ANDゲート314−2に
は、インバータ312−2、313−2、312−3よ
り入力されて、イネーブル信号EN2を出力する。AN
Dゲート314−3には、インバータ313−1、31
3−2、312−3より入力されて、イネーブル信号E
N3を出力する。ANDゲート314−4には、インバ
ータ313−1、313−2、313−3より入力され
て、イネーブル信号EN4を出力する。
FIG. 15 is a circuit diagram of the clock frequency determination circuit 310 shown in FIG. As shown in FIG. 15, the clock frequency determination circuit 310 includes delay circuits 311-1 and 3-3.
11-3, inverters 312-1 to 312-3, 313
−1 to 313-3, 4-input AND gates 314-1 to 314-1
14-4 and. Delay circuit 311-1
An external clock CLK is input to 311-3.
The delay circuits 311-1 to 311-3 are set so that the respective delay times T311-1 to T311-3 are T311-1 <T311-2 <T311-3. The external clock CLK is
The clock frequency determination circuit 310 classifies the signal into four stages, and any one of the enable signals EN1 to EN4 becomes the “H” level, and the timing circuit 32 corresponding thereto is generated.
Any one of 1 to 324 is enabled. The inverter 312-i (i = 1 to 3) includes a delay circuit 311.
-I output S311-i is input to the inverter 31
Output to 3-i. The AND gate 314-1 receives the enable signals EN1 from the inverters 312-1 to 312-3. The AND gate 314-2 is input from the inverters 312-2, 313-2, 312-3 and outputs the enable signal EN2. AN
The D gate 314-3 has inverters 313-1 and 31.
3-2, 312-3 are input to enable signal E.
Output N3. The AND gate 314-4 is input from the inverters 313-1, 313-2 and 313-3 and outputs the enable signal EN4.

【0023】図16は、図15のクロック周波数判定回
路310のタイムチャートである。以下、図16を参照
しつつ図15の動作の説明をする。図16中の外部クロ
ックCLKの周波数は、3番目に速い分類の周波数に対
応するものとしている。第1の実施例と同様に内部クロ
ックは、外部クロックCLKの立ち下がりに同期して生
成されるものとする。外部クロックCLKの周波数で
は、外部クロックの立ち下がり時、インバータ312−
1、312−2の出力は“L”レベル、インバータ31
2−3の出力は、“H”レベルとなる。ANDゲート3
14−3から“H”レベル、ANDゲート314−1、
314−2、314−4から“L”レベルが出力され
る。それにより、イネーブル信号EN3のみが“H”レ
ベル、それ以外のEN1,EN2,EN4が“L”レベ
ルとなる。よって、イネーブル信号EN3に接続されて
いるタイミング回路323がイネーブルとなる内部クロ
ックCLK3を生成する。この内部クロックCLK3
は、この場合の外部クロックCLKの周波数においてメ
モリ回路にとって最適なクロックであり、この内部クロ
ックによりメモリセル350が安定的にアクセスされ
る。外部クロックCLKの周波数の他の場合において
も、外部クロックCLKの周波数に応じて、最適な内部
クロックを発生するタイミング回路321〜324のい
ずれかひとつがイネーブルになる。以上説明したよう
に、本第1の変形例によれば、外部クロックCLKの周
波数を高速、中速、低速あるいはそれ以上に分類して、
最適な内部クロックを生成して、メモリ回路の動作条件
の範囲を更に容易に広くできるという利点がある。
FIG. 16 is a time chart of the clock frequency determination circuit 310 shown in FIG. The operation of FIG. 15 will be described below with reference to FIG. The frequency of the external clock CLK in FIG. 16 corresponds to the frequency of the third highest classification. As in the first embodiment, the internal clock is generated in synchronization with the falling edge of the external clock CLK. At the frequency of the external clock CLK, the inverter 312-
The outputs of 1, 312-2 are "L" level, and the inverter 31
The output of 2-3 becomes "H" level. AND gate 3
14-3 to "H" level, AND gate 314-1,
The "L" level is output from 314-2 and 314-4. As a result, only the enable signal EN3 becomes "H" level, and the other EN1, EN2, EN4 become "L" level. Therefore, the internal clock CLK3 that enables the timing circuit 323 connected to the enable signal EN3 is generated. This internal clock CLK3
Is an optimum clock for the memory circuit at the frequency of the external clock CLK in this case, and the memory cell 350 is stably accessed by this internal clock. In any other case of the frequency of the external clock CLK, any one of the timing circuits 321 to 324 that generates the optimum internal clock is enabled according to the frequency of the external clock CLK. As described above, according to the first modification, the frequency of the external clock CLK is classified into high speed, medium speed, low speed, or higher,
There is an advantage that an optimum internal clock can be generated and the range of operating conditions of the memory circuit can be widened more easily.

【0024】第2の変形例 図17は、本発明の第4の実施例の変形例(第2の変形
例)を示す半導体メモリ回路の回路図である。この半導
体メモリ回路は、クロック判定回路410−A、410
−B、読み出し・書き込み回路420−A、420−
B、デコーダ430−A、430−B、2ポートメモリ
セル440とにより構成されている。クロック判定回路
410−Aは、Aポート外部クロックCLKが入力さ
れ、図12のクロック判定回路200と同様の構成であ
る。クロック判定回路410−Bは、Bポート外部クロ
ックCLKが入力され、図12のクロック判定回路20
0と同様の構成である。読み出し・書き込み回路420
−A、及びデコーダ430−Aは、クロック判定回路4
10−Aより出力されるワード線立ち下げ信号WL−A
に基づいて動作する。読み出し・書き込み回路420−
B、及びデコーダ430−Bは、クロック判定回路41
0−Bより出力されるワード線立ち下げ信号WL−Bに
基づいて動作する。ADAm はAポートのアドレス信
号、DAn はAポートのデータ信号、ADBm はBポー
トのアドレス信号、DBn はBポートのデータ信号であ
る。以下、図17の動作の説明をする。
Second Modification Example FIG. 17 is a circuit diagram of a semiconductor memory circuit showing a modification example (second modification example) of the fourth embodiment of the present invention. This semiconductor memory circuit includes clock determination circuits 410-A and 410-A.
-B, read / write circuits 420-A, 420-
B, a decoder 430-A, 430-B, and a 2-port memory cell 440. The clock determination circuit 410-A receives the A port external clock CLK and has the same configuration as the clock determination circuit 200 in FIG. The clock determination circuit 410-B receives the B-port external clock CLK and receives the clock determination circuit 20 of FIG.
It has the same configuration as 0. Read / write circuit 420
-A and the decoder 430-A include the clock determination circuit 4
10-A output word line falling signal WL-A
Work based on. Read / write circuit 420-
B and the decoder 430-B are the clock determination circuit 41.
It operates based on the word line falling signal WL-B output from 0-B. ADA m is an A port address signal, DA n is an A port data signal, ADB m is a B port address signal, and DB n is a B port data signal. The operation of FIG. 17 will be described below.

【0025】Aポート外部クロックCLKA、及びBポ
ート外部クロックCLKBがいずれも正常の場合には、
クロック判定回路410−A,410−Bより出力され
るワード線立ち下げ信号WL−A,WL−Bが“L”レ
ベルのままであり、2ポートメモリセル440は、Aポ
ート系及びBポート系の外部クロックCLKA、及びC
LKBにしたがってアクセスされる。また、Aポート外
部クロックCLKA又はBポート外部クロックCLKB
のいずれかのクロックの供給が停止した時は、例えば、
Aポート外部クロックCLKAが停止した時には、クロ
ック判定回路410−Aより“H”レベルのワード線の
立ち下げ信号WL−Aが出力されるため、読み出し・書
き込み回路420−A、デコーダ430−Aは動作しな
い。一方、Bポート外部クロックCLKBが正常である
ので、読み出し・書き込み回路420−B、デコーダ4
30−Bにしたがって、2ポートメモリセル440がア
クセスされる。以上説明したように、本第2の変形例に
よれば、第4の実施例のクロック判定回路をAポートク
ロックCLKA、BポートクロックCLKBに適用した
ので、メモリセル440への誤動作を抑えるとともに、
正常なポート系は動作可能となるという利点がある。
When both the A port external clock CLKA and the B port external clock CLKB are normal,
The word line falling signals WL-A and WL-B output from the clock determination circuits 410-A and 410-B remain at the "L" level, and the 2-port memory cell 440 has the A port system and the B port system. External clocks CLKA and C
Accessed according to LKB. In addition, A port external clock CLKA or B port external clock CLKB
When the supply of any of the clocks of
When the A port external clock CLKA is stopped, the clock determination circuit 410-A outputs the "H" level word line falling signal WL-A, so that the read / write circuit 420-A and the decoder 430-A are Do not work. On the other hand, since the B port external clock CLKB is normal, the read / write circuit 420-B, the decoder 4
According to 30-B, the 2-port memory cell 440 is accessed. As described above, according to the second modification, since the clock determination circuit of the fourth embodiment is applied to the A port clock CLKA and the B port clock CLKB, malfunction of the memory cell 440 can be suppressed and
There is an advantage that a normal port system can operate.

【0026】さらに、上記以外に次のような変形例があ
る。 (1) 第1〜第3の実施例の内部クロックは、外部ク
ロックの立上がりに同期して生成することも可能であ
る。 (2) 第2の実施例では、“H”レベルのパルス幅が
動作スペックを満足するかどうかをクロック周波数判定
回路100により判定したが、外部クロックCLKの反
転信号を遅延回路101に入力することにより、“L”
レベルのバルス幅が動作スペックを満足するかどうかを
判別することができる。 (3) 第3の実施例では、“L”レベルのパルス幅が
動作スペックを満足するかどうかを判定したが、外部ク
ロックCLKの反転信号を遅延回路111に入力するこ
とにより、“H”レベルのバルス幅が動作スペックを満
足するかどうかを判別することができる。 (4) 第4の実施例では、外部クロックCLKがなん
らかの原因により応答が途絶えた場合に、ワード線立ち
下げ信号WLを出力するようにしたが、電流パスをカッ
トする制御信号を出力するようにしてもよい。メモリセ
ルの周辺以外にも、センスアンプ、書き込み回路等の電
流パスが発生する箇所があるので、その制御信号により
電流パスをカットすることができ、消費電流を低減させ
ることができる。 (5) 第2又は第3の実施例のイネーブル信号と第4
の実施例のイネーブル信号とのANDをとり両者の効果
を組み合わせることも可能である。
In addition to the above, there are the following modifications. (1) The internal clocks of the first to third embodiments can be generated in synchronization with the rising edge of the external clock. (2) In the second embodiment, the clock frequency determination circuit 100 determines whether or not the “H” level pulse width satisfies the operating specifications. However, an inverted signal of the external clock CLK should be input to the delay circuit 101. By "L"
It is possible to determine whether the pulse width of the level satisfies the operation specifications. (3) In the third embodiment, it is determined whether the pulse width of the “L” level satisfies the operating specifications. However, by inputting the inverted signal of the external clock CLK to the delay circuit 111, the “H” level is obtained. It is possible to determine whether or not the pulse width of s satisfies the operation specifications. (4) In the fourth embodiment, the word line falling signal WL is output when the response of the external clock CLK is interrupted for some reason, but the control signal for cutting the current path is output. May be. Besides the periphery of the memory cell, there are locations where a current path such as a sense amplifier and a write circuit is generated, so that the current path can be cut by the control signal and the current consumption can be reduced. (5) Enable signal and fourth signal of the second or third embodiment
It is also possible to combine the effects of both by taking the AND with the enable signal of the embodiment.

【0027】[0027]

【発明の効果】以上詳細に説明したように、第1及び第
2の発明によれば、外部クロックの周波数を判定するク
ロック判定手段を設けて、その判定結果に基づいて、内
部クロックを生成するようにしたので、外部クロックの
周波数に応じて、最適なタイミングの内部クロックを生
成することができる。第3〜第5の発明によれば、外部
クロックのパルス幅を判定するクロックパルス幅判定回
路を設けて、その判定結果により内部クロックを発生す
るようにしたので、パルス幅がスペックを満足しない場
合には、それに応じた処理が可能となる。第6及び第7
の発明によれば、外部クロックの応答が途絶えたことを
感知するクロック判定手段を設けたので、外部クロック
の応答が途絶えた場合に最適な動作を選択することがで
きる。
As described in detail above, according to the first and second aspects of the present invention, the clock judging means for judging the frequency of the external clock is provided, and the internal clock is generated based on the judgment result. Since this is done, it is possible to generate an internal clock with optimum timing according to the frequency of the external clock. According to the third to fifth inventions, the clock pulse width determination circuit for determining the pulse width of the external clock is provided, and the internal clock is generated according to the determination result. Therefore, when the pulse width does not satisfy the specifications. Can be processed accordingly. 6th and 7th
According to the invention, since the clock determining means for sensing that the response of the external clock is interrupted is provided, the optimum operation can be selected when the response of the external clock is interrupted.

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

【図1】本発明の第1の実施例の半導体メモリ回路の回
路図である。
FIG. 1 is a circuit diagram of a semiconductor memory circuit according to a first embodiment of the present invention.

【図2】従来の同期型メモリ回路の回路図である。FIG. 2 is a circuit diagram of a conventional synchronous memory circuit.

【図3】図1中のクロック周波数判定回路の回路図であ
る。
3 is a circuit diagram of a clock frequency determination circuit in FIG.

【図4】基準より外部クロック周波数が低速な場合の図
3のタイムチャートである。
FIG. 4 is a time chart of FIG. 3 when the external clock frequency is lower than the reference.

【図5】基準より外部クロック周波数が高速な場合の図
3のタイムチャートである。
FIG. 5 is a time chart of FIG. 3 when the external clock frequency is higher than the reference.

【図6】本発明の第2の実施例の半導体メモリ回路の回
路図である。
FIG. 6 is a circuit diagram of a semiconductor memory circuit according to a second embodiment of the present invention.

【図7】図6中のクロックパルス幅判定回路の回路図で
ある。
7 is a circuit diagram of a clock pulse width determination circuit in FIG.

【図8】図7のタイムチャートである。FIG. 8 is a time chart of FIG.

【図9】本発明の第3の実施例のクロックパルス幅判定
回路の回路図である。
FIG. 9 is a circuit diagram of a clock pulse width determination circuit according to a third embodiment of the present invention.

【図10】図9のタイムチャートである。FIG. 10 is a time chart of FIG.

【図11】本発明の第4の実施例の半導体メモリ回路の
回路図である。
FIG. 11 is a circuit diagram of a semiconductor memory circuit according to a fourth embodiment of the present invention.

【図12】図11中のクロック判定回路の回路図であ
る。
12 is a circuit diagram of a clock determination circuit in FIG.

【図13】図12のタイムチャートである。FIG. 13 is a time chart of FIG.

【図14】本発明の第1の変形例の半導体メモリ回路の
回路図である。
FIG. 14 is a circuit diagram of a semiconductor memory circuit according to a first modified example of the present invention.

【図15】図14中のクロック周波数判定回路の回路図
である。
15 is a circuit diagram of a clock frequency determination circuit in FIG.

【図16】図15のタイムチャートである。16 is a time chart of FIG.

【図17】本発明の第2の変形例の半導体メモリ回路の
回路図である。
FIG. 17 is a circuit diagram of a semiconductor memory circuit according to a second modified example of the present invention.

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

10,100,310 クロッ
ク周波数判定回路 100 クロッ
クパルス幅判定回路 200,410−A,410−B クロッ
ク判定回路 11,101,111,201 遅延回
路 301−1〜301−4 遅延回
路 12,13,102,103,112,202 インバ
ータ 302−1〜302−4,303−1〜303−4
インバータ 113 SRラ
ッチ回路 114,203 DFF 21,22,120,311〜314 タイミ
ング回路 30,130,210,330 読み出
し・書き込み回路 410−A,410−B 読み出
し・書き込み回路 40,140,220 デコー
ダ 330,420−A,420−B デコー
ダ 50,150,230,350,440 メモリ
セル
10, 100, 310 Clock frequency determination circuit 100 Clock pulse width determination circuit 200, 410-A, 410-B Clock determination circuit 11, 101, 111, 201 Delay circuit 301-1 to 301-4 Delay circuit 12, 13, 102 , 103, 112, 202 Inverters 302-1 to 302-4, 303-1 to 303-4
Inverter 113 SR latch circuit 114,203 DFF 21,22,120,311-314 Timing circuit 30,130,210,330 Read / write circuit 410-A, 410-B Read / write circuit 40,140,220 Decoder 330, 420-A, 420-B decoders 50, 150, 230, 350, 440 memory cells

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 外部クロックの周波数を判定するクロッ
ク周波数判定手段と、 前記クロック周波数判定手段による判定結果及び前記外
部クロックに基づいて、内部クロックを生成するタイミ
ング信号発生手段とを、 備えたことを特徴とする半導体装置。
1. A clock frequency determining means for determining a frequency of an external clock, and a timing signal generating means for generating an internal clock based on the determination result of the clock frequency determining means and the external clock. Characteristic semiconductor device.
【請求項2】 前記クロック周波数判定手段は、 前記外部クロックよりも所定時間だけ遅延する1つ又は
複数の遅延回路と、 前記遅延回路の出力に基づいて、複数個のイネーブル信
号を出力する論理回路とを備え、 前記タイミング信号発生手段は、 前記複数の各イネーブル信号によりそれぞれの活性・不
活性が制御される複数個の異なるタイミングの前記内部
クロックを生成する手段を備えた、 ことを特徴とする請求項1記載の半導体装置。
2. The clock frequency determination means includes one or a plurality of delay circuits that delays the external clock by a predetermined time, and a logic circuit that outputs a plurality of enable signals based on the outputs of the delay circuits. The timing signal generating means includes means for generating a plurality of internal clocks at different timings, each activation / inactivation of which is controlled by each of the plurality of enable signals. The semiconductor device according to claim 1.
【請求項3】 外部クロックの“H”レベル又は“L”
レベルのパルス幅と閾値とを比較して、イネーブル信号
を出力するクロックパルス幅判定手段と、 前記イネーブル信号及び外部クロックに基づいて、内部
クロックを生成するタイミング信号発生手段とを、 備えたことを特徴とする半導体装置。
3. An "H" level or "L" of an external clock
A clock pulse width determining means for comparing a level pulse width with a threshold value and outputting an enable signal; and a timing signal generating means for generating an internal clock based on the enable signal and an external clock. Characteristic semiconductor device.
【請求項4】 前記クロックパルス幅判定手段は、 前記閾値の前記パルス幅に相当する時間だけ前記外部ク
ロックを遅延して出力する遅延回路を備えたことを特徴
とする請求項3記載の半導体装置。
4. The semiconductor device according to claim 3, wherein the clock pulse width determination means includes a delay circuit that delays and outputs the external clock for a time corresponding to the pulse width of the threshold value. .
【請求項5】 前記クロックパルス幅判定手段は、 前記外部クロックのパルス幅が前記閾値よりも短い場合
のみ、この外部クロックのパルスの直後のパルスの出力
期間において、前記閾値よりも短いパルスの開始時点を
遅延して出力する遅延回路と、 前記遅延回路の出力と前記外部クロックとに基づいて、
前記閾値よりも短いパルスの開始時点において、前記イ
ネーブル信号をアンイネーブル状態とする信号を出力す
る論理回路とを、 備えたことを特徴とする請求項3記載の半導体装置。
5. The clock pulse width determination means starts a pulse shorter than the threshold in the output period of the pulse immediately after the pulse of the external clock only when the pulse width of the external clock is shorter than the threshold. A delay circuit that delays and outputs the time point, and based on the output of the delay circuit and the external clock,
The semiconductor device according to claim 3, further comprising: a logic circuit that outputs a signal that sets the enable signal to an unenable state at a start time point of a pulse shorter than the threshold value.
【請求項6】 外部クロックの応答が途絶えたことを感
知するクロック判定手段と、 前記外部クロック判定手段の判定結果に基づいて、動作
制御する制御手段とを、 備えたことを特徴とする半導体装置。
6. A semiconductor device comprising: a clock determination unit that senses that the response of the external clock is interrupted; and a control unit that controls the operation based on the determination result of the external clock determination unit. .
【請求項7】 前記クロック判定手段は、 前記外部クロックのパルスが正常であれば、前記外部ク
ロックのパルスの立上がり又は立ち下がり時点が、その
パルスの直後のパルスの出力期間と重なるように前記外
部クロックを遅延して出力する遅延回路と、 前記遅延回路の出力をクロックとして、前記外部クロッ
クまたはその反転信号をラッチするラッチ回路とを、 備えたことを特徴とする請求項6記載の半導体装置。
7. The clock determination means, if the pulse of the external clock is normal, the external clock pulse is output so that the rising or falling time of the pulse of the external clock overlaps the output period of the pulse immediately after the pulse. 7. The semiconductor device according to claim 6, further comprising: a delay circuit that delays and outputs a clock, and a latch circuit that latches the external clock or an inverted signal thereof using the output of the delay circuit as a clock.
JP7011474A 1995-01-27 1995-01-27 Semiconductor device Withdrawn JPH08203280A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7011474A JPH08203280A (en) 1995-01-27 1995-01-27 Semiconductor device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7011474A JPH08203280A (en) 1995-01-27 1995-01-27 Semiconductor device

Publications (1)

Publication Number Publication Date
JPH08203280A true JPH08203280A (en) 1996-08-09

Family

ID=11779074

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7011474A Withdrawn JPH08203280A (en) 1995-01-27 1995-01-27 Semiconductor device

Country Status (1)

Country Link
JP (1) JPH08203280A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10308096A (en) * 1997-04-30 1998-11-17 Samsung Electron Co Ltd Operation period adaptive type data output buffer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10308096A (en) * 1997-04-30 1998-11-17 Samsung Electron Co Ltd Operation period adaptive type data output buffer

Similar Documents

Publication Publication Date Title
KR100680330B1 (en) Method and apparatus for adjusting control signal timing in a memory device
US6178133B1 (en) Method and system for accessing rows in multiple memory banks within an integrated circuit
US7915924B2 (en) Method and apparatus for selecting an operating mode based on a determination of the availability of internal clock signals
JP4236901B2 (en) Semiconductor memory device and control method thereof
US5546355A (en) Integrated circuit memory having a self-timed write pulse independent of clock frequency and duty cycle
US7205793B2 (en) Self-programmable bidirectional buffer circuit and method
US7778105B2 (en) Memory with write port configured for double pump write
CN111292780A (en) Memory circuit
JPH07192470A (en) Output circuit for semiconductor memory
US5848014A (en) Semiconductor device such as a static random access memory (SRAM) having a low power mode using a clock disable circuit
JPS60191497A (en) Static random access memory
JP2805466B2 (en) Memory address transition detection circuit
US6388939B1 (en) Dual port sram
US6269036B1 (en) System and method for testing multiple port memory devices
JPH08203280A (en) Semiconductor device
US8174918B2 (en) Passgate for dynamic circuitry
US6294939B1 (en) Device and method for data input buffering
US9281028B1 (en) Method and circuit for glitch reduction in memory read latch circuit
US6122203A (en) Method, architecture and circuit for writing to and reading from a memory during a single cycle
KR100340067B1 (en) Memory device having single port memory capable of reading and writing data at the same time
US6775191B1 (en) Memory circuit with selective address path
US6538485B1 (en) Dual tristate path output buffer control
US6933757B1 (en) Timing method and apparatus for integrated circuit device
KR100278265B1 (en) semiconductor memory device reducing static current
KR100238863B1 (en) Control circuit data output buffer

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: 20020402