JP3159246B2 - Semiconductor memory device - Google Patents

Semiconductor memory device

Info

Publication number
JP3159246B2
JP3159246B2 JP24883997A JP24883997A JP3159246B2 JP 3159246 B2 JP3159246 B2 JP 3159246B2 JP 24883997 A JP24883997 A JP 24883997A JP 24883997 A JP24883997 A JP 24883997A JP 3159246 B2 JP3159246 B2 JP 3159246B2
Authority
JP
Japan
Prior art keywords
refresh
signal
reference value
count
access
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
JP24883997A
Other languages
Japanese (ja)
Other versions
JPH1186538A (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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP24883997A priority Critical patent/JP3159246B2/en
Publication of JPH1186538A publication Critical patent/JPH1186538A/en
Application granted granted Critical
Publication of JP3159246B2 publication Critical patent/JP3159246B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は半導体メモリ装置に
関し、特に、それに含まれたDRAMをリフレッシュさ
せるリフレッシュ装置に関する。
The present invention relates to a semiconductor memory device, and more particularly, to a refresh device for refreshing a DRAM included in a semiconductor memory device.

【0002】[0002]

【従来の技術】最近の半導体メモリ装置には、メモリに
蓄えられたデータをブロック単位でアクセスするものが
ある。その半導体メモリ装置では、メモリ内部を2以上
のバンクにわけて、別々に活性化することが行われてお
り、バス上に長時間切れ目なくデータを転送できるよう
になっている。
2. Description of the Related Art Some recent semiconductor memory devices access data stored in a memory in block units. In the semiconductor memory device, the inside of the memory is divided into two or more banks and activated separately, so that data can be transferred seamlessly over a bus for a long time.

【0003】このような半導体メモリ装置の一つである
DRAMのシステムの例を図8に示し、データ転送のタ
イミング図を図9に示す。バンクAとバンクBが交互に
活性化され、入出力バッファを介して切れ目なくデータ
を転送できるため、バスが有効活用される。このような
システムの場合、図10に示すようにメモリへのアクセ
ス要求コマンドに開始アドレスと連続アクセス回数を含
めることが有効である。このようにすればコマンドの発
行を最小限に抑えることができる。
FIG. 8 shows an example of a DRAM system which is one of such semiconductor memory devices, and FIG. 9 shows a timing chart of data transfer. Since the banks A and B are alternately activated and data can be transferred without interruption via the input / output buffer, the bus is effectively used. In such a system, it is effective to include the start address and the number of consecutive accesses in the memory access request command as shown in FIG. By doing so, the command issuance can be minimized.

【0004】さて、DRAMは一定期間内にリフレッシ
ュすることが必要である。リフレッシュを制御する方法
として、オートリフレッシュ機能がある。このオートリ
フレッシュ機能をもつDRAMは、内部にアドレスカウ
ンタとタイマをもち、リフレッシュに必要な一定の期間
をタイマに基づいて検知すると、アドレスカウンタの値
をインクリメントしたアドレスに対してリフレッシュを
行い、アクセス要求に対してはビジー信号を返す。この
ような場合のタイミング図を図11に示す。
Now, it is necessary to refresh the DRAM within a certain period. As a method of controlling refresh, there is an auto refresh function. A DRAM having this auto-refresh function has an address counter and a timer inside, and when a certain period required for refresh is detected based on the timer, the DRAM refreshes the address whose value of the address counter is incremented and requests an access request. Returns a busy signal. FIG. 11 shows a timing chart in such a case.

【0005】リフレッシュとアクセス要求の調停には、
上述のようにビジー信号がよくもちいられるが、リフレ
ッシュが終わるまでメモリコントローラを待たせるた
め、バスの使用効率が低下する。
[0005] Arbitration of refresh and access requests involves
Although the busy signal is often used as described above, since the memory controller is made to wait until the refresh is completed, the bus use efficiency is reduced.

【0006】この問題をシステムレベルで解決する方法
が特開平4−362593号公報に述べられている。そ
れを図12を用いて簡単に説明すると、マルチプロセッ
サシステムにおいて、共有メモリユニットのメモリコン
トローラが、共有バスの状態を監視し、プロセッサエレ
メント間で通信が行われることを検知し、その間に共有
メモリユニットを構成するDRAMのリフレッシュを行
う。このことにより、実際に共有メモリがアクセスされ
た際にリフレッシュと衝突する確率が減少している。
A method for solving this problem at the system level is described in Japanese Patent Application Laid-Open No. Hei 4-362593. This will be briefly described with reference to FIG. 12. In a multiprocessor system, a memory controller of a shared memory unit monitors a state of a shared bus, detects that communication is performed between processor elements, and performs a shared memory The DRAM constituting the unit is refreshed. This reduces the probability of collision with refresh when the shared memory is actually accessed.

【0007】[0007]

【発明が解決しようとする課題】従来例のようにビジー
信号によって、DRAMのリフレッシュとアクセスの調
停を行うとバスの使用効率が落ちるという問題があっ
た。また、複数のバンクを有し、開始アドレスと繰り返
し回数とを指定してアクセス要求を出すDRAMの場
合、ひとつのデバイスから長時間、アクセスされること
があり、アクセスとリフレッシュの衝突の確率が高くな
っていた。
As described in the prior art, if the refresh and access arbitration of the DRAM are performed by a busy signal, the bus use efficiency is reduced. In the case of a DRAM having a plurality of banks and issuing an access request by designating a start address and the number of repetitions, the DRAM may be accessed from one device for a long time, and the probability of collision between access and refresh is high. Had become.

【0008】一方、メモリコントローラが共有バスの状
態を判断する方式は、マルチプロセッサシステムの共有
メモリの様にメモリシステム全体が単一に制御できるよ
うな場合は問題ない。しかしながら、個々のDRAMが
直接バスラインに接続されている場合、それぞれのDR
AMに別々の制御信号を引く必要があるため、システム
配線を増加させるという問題があった。また、不良のア
ドレスを含むようなDRAMの場合、内部でアドレス変
換が行われており、リフレッシュアドレスを外部から制
御するのは困難であった。
On the other hand, the method in which the memory controller determines the state of the shared bus has no problem when the entire memory system can be controlled singly, such as in a shared memory of a multiprocessor system. However, if the individual DRAMs are directly connected to the bus line, each DR
Since it is necessary to apply separate control signals to the AM, there is a problem that the number of system wirings increases. In the case of a DRAM including a defective address, address conversion is performed internally, and it is difficult to externally control the refresh address.

【0009】それ故に本発明の課題は、オートリフレッ
シュ機構を有し、内部に複数バンクを有し、バスライン
に接続して、使用する半導体メモリ装置において、リフ
レッシュとアクセス要求の衝突を減らすことにある。
SUMMARY OF THE INVENTION It is therefore an object of the present invention to reduce collision between refresh and access requests in a semiconductor memory device having an auto-refresh mechanism, having a plurality of banks inside, and being connected to a bus line. is there.

【0010】[0010]

【課題を解決するための手段】本発明によれば、オート
リフレッシュ機構を有し、バスラインに接続し、プロト
コルにより使用する半導体メモリ装置において、アクセ
ス要求を優先しその間に内部発生したセルフリフレッシ
ュ要求のフラグをカウントするリフレッシュフラグカウ
ンタと、同一バス上の他のチップへのアクセスが生じた
時に、自分自身への次回の最小アクセス時間をわりだ
し、その間リフレッシュモード信号を出力するリフレッ
シュコントローラとを有し、前記リフレッシュモード信
号により前記リフレッシュフラグカウンタのカウント値
を減じることを特徴とする半導体メモリ装置が得られ
る。
According to the present invention, in a semiconductor memory device which has an auto-refresh mechanism, is connected to a bus line, and is used according to a protocol, an access request is prioritized and a self-refresh request generated internally during the request is given. And a refresh controller that outputs the refresh mode signal during the next minimum access time to itself when an access to another chip on the same bus occurs. In addition, a semiconductor memory device characterized in that the count value of the refresh flag counter is reduced by the refresh mode signal.

【0011】前記第1の回路手段のカウント値の下限値
を外部から設定できる。
The lower limit value of the count value of the first circuit means can be set externally.

【0012】好ましくは、内部に複数バンクを有する。Preferably, a plurality of banks are provided inside.

【0013】本発明によれば、他デバイスの連続アクセ
ス回数の値を示す他デバイス連続アクセス回数信号を生
成するプロトコルデコーダ、一定間隔のパルス信号を発
生するタイマ、リフレッシュの平均間隔時間を表す第1
の基準値信号を生成する第1の基準値レジスタ、前記第
1の基準値信号を参照して前記パルス信号をカウントし
カウント値信号を生成するリフレッシュフラグカウン
タ、前記他デバイス連続アクセス回数信号と前記第1の
基準値信号と前記カウント値信号とに応じてリフレッシ
ュモード信号を生成するリフレッシュコントローラ、及
び前記リフレッシュモード信号の状態を参照してリフレ
ッシュを行うDRAM中心部を含むことを特徴とする半
導体メモリ装置が得られる。
According to the present invention, a protocol decoder for generating a continuous access count signal of another device indicating the value of the continuous access count of another device, a timer for generating a pulse signal at a constant interval, and a first indicating the average interval time of refreshing.
A first reference value register for generating a reference value signal, a refresh flag counter for counting the pulse signal with reference to the first reference value signal and generating a count value signal, the other device continuous access number signal, A semiconductor memory, comprising: a refresh controller that generates a refresh mode signal in accordance with a first reference value signal and the count value signal; and a DRAM central unit that performs refresh by referring to a state of the refresh mode signal. A device is obtained.

【0014】本発明によれば、オートリフレッシュ機構
を有し、バスラインに接続し、プロトコルにより使用す
る半導体メモリ装置のためのリフレッシュ方法におい
て、アクセス要求を優先しその間に内部発生したセルフ
リフレッシュ要求のフラグをカウントし、同一バス上の
他のチップへのアクセスが生じた時に、自分自身への次
回の最小アクセス時間をわりだし、その間リフレッシュ
モード信号を出力し、前記リフレッシュモード信号によ
り前記リフレッシュフラグカウンタのカウント値を減じ
ることを特徴とするリフレッシュ方法が得られる。
According to the present invention, in a refresh method for a semiconductor memory device which has an auto-refresh mechanism and is connected to a bus line and used according to a protocol, an access request is prioritized and a self-refresh request generated internally during the access request is prioritized. The flag is counted, and when an access to another chip on the same bus occurs, a next minimum access time to itself is obtained, a refresh mode signal is output during that time, and the refresh flag counter is used by the refresh mode signal. , The refresh method is characterized in that the count value is reduced.

【0015】本発明によれば、他デバイスの連続アクセ
ス回数の値を示す他デバイス連続アクセス回数信号を生
成すること、一定間隔のパルス信号を発生すること、リ
フレッシュの平均間隔時間を表す第1の基準値信号を生
成すること、前記第1の基準値信号を参照して前記パル
ス信号をカウントしカウント値信号を生成すること、前
記他デバイス連続アクセス回数信号と前記第1の基準値
信号と前記カウント値信号とに応じてリフレッシュモー
ド信号を生成すること、及び前記リフレッシュモード信
号の状態を参照してDRAM中心部のリフレッシュを行
うことを含むことを特徴とする半導体メモリ装置のため
のリフレッシュ方法が得られる。
According to the present invention, the other device consecutive access number signal indicating the value of the continuous access number of the other device is generated, the pulse signal is generated at a constant interval, and the first refresh time interval representing the average refresh time. Generating a reference value signal; counting the pulse signal with reference to the first reference value signal to generate a count value signal; the other device continuous access count signal, the first reference value signal, Generating a refresh mode signal in response to a count value signal; and refreshing a central portion of the DRAM with reference to a state of the refresh mode signal. can get.

【0016】[0016]

【発明の実施の形態】図1を参照して、本発明の実施の
形態に係るリフレッシュ装置を備えた半導体メモリ装置
について説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Referring to FIG. 1, a semiconductor memory device having a refresh device according to an embodiment of the present invention will be described.

【0017】このリフレッシュ装置は半導体メモリ装置
に含まれるDRAM107について公知のリフレッシュ
を行うためのものであり、一定間隔のパルス信号FLG
Iを発生するセルフリフレッシュタイマ101と、第1
の基準値となるリフレッシュ平均間隔時間を表す10ビ
ット幅の第1の基準値信号UPLを常時生成している第
1の基準値レジスタ102と、セルフリフレッシュタイ
マ101及び第1の基準値レジスタ102に接続され、
パルス信号FLGIをカウントしカウント値を生成する
リフレッシュフラグカウンタ103とを含んでいる。リ
フレッシュフラグカウンタ103は演算機能をもち、リ
フレッシュが1回行われたことを示すリフレッシュ完了
信号FLGDに応じて、パルス信号FLGDI及び第1
の基準値信号UPLに基づきカウント値からリフレッシ
ュ平均間隔時間分を減算し、カウント値を表す10ビッ
ト幅のカウント値信号FLGSを生成する。第1の基準
値は、各々のデバイスの保持特性によって定められ、第
1の基準値レジスタ102の内にあるヒューズ切断によ
り製造時に調整されている。
This refresh device is for performing a known refresh operation on the DRAM 107 included in the semiconductor memory device.
A self-refresh timer 101 for generating I,
And a self-refresh timer 101 and a first reference value register 102 which constantly generate a 10-bit wide first reference value signal UPL representing a refresh average interval time which is a reference value of Connected
A refresh flag counter 103 which counts the pulse signal FLGI and generates a count value. The refresh flag counter 103 has an arithmetic function, and receives a pulse signal FLGDI and a first signal in response to a refresh completion signal FLGD indicating that refresh has been performed once.
Is subtracted from the count value on the basis of the reference value signal UPL to generate a 10-bit width count value signal FLGS representing the count value. The first reference value is determined by the holding characteristics of each device, and is adjusted at the time of manufacture by cutting a fuse in the first reference value register 102.

【0018】この半導体装置は、プロトコルデコーダ1
04及びリフレッシュコントローラ105を含んでい
る。プロトコルデコーダ104はバスDQiに接続さ
れ、バスDQiを通して得られる他デバイスがアクセス
されたことを示す信号に応じて様々な出力信号、即ち、
RWM,ADD,LEN,及びCONTSETを生成す
る。ここでADDはアドレス信号、LENは他デバイス
の連続アクセス回数の値を示す4ビットの他デバイス連
続アクセス回数信号、CONTSETは信号LENの取
り込みのためのトリガ信号である。
This semiconductor device has a protocol decoder 1
04 and the refresh controller 105. The protocol decoder 104 is connected to the bus DQi, and outputs various signals according to signals obtained through the bus DQi and indicating that another device has been accessed, that is,
Generate RWM, ADD, LEN, and CONTSET. Here, ADD is an address signal, LEN is a 4-bit other device continuous access count signal indicating the value of the continuous access count of another device, and CONTSET is a trigger signal for capturing the signal LEN.

【0019】リフレッシュコントローラ105は第1の
基準値レジスタ102、リフレッシュフラグカウンタ1
03、プロトコルデコーダ104、及びDRAM中心部
107に接続され、後で明らかになるように、カウント
値信号FLGS、第1の基準値信号UPL、アドレス信
号ADD、他デバイス連続アクセス回数信号LEN、及
びトリガ信号CONTSETに応じて、前述のリフレッ
シュ完了信号FLGDに加えてリフレッシュモード信号
RFMを生成する。リフレッシュモード信号RFMの状
態を参照して、DRAM中心部107はリフレッシュを
行う。なおデータバッファ106はバスDQiとDRA
M中心部107との間にあってデータのやりとりに寄与
するものである。
The refresh controller 105 includes a first reference value register 102, a refresh flag counter 1
03, a protocol decoder 104, and a DRAM central unit 107, and as will become clear later, a count value signal FLGS, a first reference value signal UPL, an address signal ADD, another device continuous access count signal LEN, and a trigger. In response to signal CONTSET, refresh mode signal RFM is generated in addition to refresh completion signal FLGD described above. With reference to the state of the refresh mode signal RFM, the DRAM central unit 107 performs refresh. The data buffer 106 is connected to the buses DQi and DRA.
It is located between the M center 107 and contributes to data exchange.

【0020】図1に加えて図2及び図3を参照して、リ
フレッシュコントローラ105について説明する。
The refresh controller 105 will be described with reference to FIGS. 2 and 3 in addition to FIG.

【0021】リフレッシュコントローラ105は、連続
リフレッシュカウンタ201、判定器202、第1の比
較器203、第2に比較器、第2の基準値レジスタ20
5、フリップフロップ206、立上がりエッジ検出器2
07、及びパルス発生器208を含んでいる。連続リフ
レッシュカウンタ201は、プロトコルデコーダ104
及びパルス発生器208に接続され、他デバイス連続ア
クセス回数信号LEN、トリガ信号CONTSET、及
びパルス発生器208で発生したパルス信号CNTDE
Cに応じ、連続リフレッシュカウンタの値を表す4ビッ
トの連続リフレッシュカウンタ値信号RFCSを生成す
るものである。連続リフレッシュカウンタ値信号RFC
Sが0になるまではリフレッシュモード信号RFMは活
性化状態である。判定器202は、連続リフレッシュカ
ウンタ201に接続され、連続リフレッシュカウンタ値
信号RFCSが0になるか否かを判定し、判定結果信号
を生成する。
The refresh controller 105 includes a continuous refresh counter 201, a determiner 202, a first comparator 203, a second comparator, and a second reference value register 20.
5, flip-flop 206, rising edge detector 2
07, and a pulse generator 208. The continuous refresh counter 201 is the protocol decoder 104
And the other device continuous access count signal LEN, the trigger signal CONTSET, and the pulse signal CNTDE generated by the pulse generator 208.
According to C, a 4-bit continuous refresh counter value signal RFCS representing the value of the continuous refresh counter is generated. Continuous refresh counter value signal RFC
Until S becomes 0, the refresh mode signal RFM is in the active state. The determiner 202 is connected to the continuous refresh counter 201, determines whether the continuous refresh counter value signal RFCS becomes 0, and generates a determination result signal.

【0022】第2の基準値レジスタ205は、プロトコ
ルデコーダ104に接続され、レジスタ値セット動作モ
ード時に信号RGSETが活性化されアドレス信号AD
Dの一部を第2の基準値として取り込む。この第2の基
準値は前述の第1の基準値との演算をとり、第1の基準
値のマイナス5倍というような負の相対値に変換され
る。第2の基準値レジスタ205は第2の基準値信号を
生成する。第1の比較器203は、第1の基準値レジス
タ102及びリフレッシュフラグカウンタ103に接続
され、第1の基準値信号UPLとカウント値信号FLG
Sとを比較し、第1の比較結果信号を生成する。第2の
比較器204は、リフレッシュフラグカウンタ103及
び第2の基準値レジスタ205に接続され、第2の基準
値信号とカウント値信号FLGSとを比較し、第2の比
較結果信号を生成する。判定結果信号と第2の比較結果
信号はアンド回路209に供給される。アンド回路20
9の出力と第1の比較結果信号はオア回路210を通し
てフリップフロップ206に供給される。
The second reference value register 205 is connected to the protocol decoder 104, and in a register value setting operation mode, the signal RGSET is activated to enable the address signal AD.
A part of D is taken in as a second reference value. This second reference value is calculated with the above-mentioned first reference value, and is converted into a negative relative value such as minus five times the first reference value. The second reference value register 205 generates a second reference value signal. The first comparator 203 is connected to the first reference value register 102 and the refresh flag counter 103, and outputs the first reference value signal UPL and the count value signal FLG.
And S to generate a first comparison result signal. The second comparator 204 is connected to the refresh flag counter 103 and the second reference value register 205, compares the second reference value signal with the count value signal FLGS, and generates a second comparison result signal. The determination result signal and the second comparison result signal are supplied to an AND circuit 209. AND circuit 20
9 and the first comparison result signal are supplied to the flip-flop 206 through the OR circuit 210.

【0023】こうして第2基準値信号とカウント値信号
FLGSとにしたがい第2基準値とカウント値を第2の
比較器204で比較し、カウント値が第2の基準値を下
回るならば、判定器202からフリップフロップ206
までの経路を無効とする。長時間の連続アクセスを行う
可能性のあるシステムでは第2の基準値の絶対値は大き
く設定しておく必要がある。ただし、大きくしすぎると
不要なリフレッシュを行うことになり、第2の基準値は
システムによって最適値がある。
In this way, the second reference value and the count value are compared by the second comparator 204 according to the second reference value signal and the count value signal FLGS, and if the count value falls below the second reference value, 202 to flip-flop 206
Invalidate the route to. In a system that may perform continuous access for a long time, the absolute value of the second reference value needs to be set large. However, if the value is set too large, unnecessary refresh is performed, and the second reference value has an optimum value depending on the system.

【0024】立上がりエッジ検出器207は、フリップ
フロップ206に接続され、リフレッシュモード信号R
FMの立上がりエッジを検出し、リフレッシュ完了信号
FLGDを生成する。リフレッシュモード信号RFMが
出力されている間にDRAM中心部107は、リフレッ
シュを行う。リフレッシュモード信号RFMがラッチさ
れているフリップフロップ206を1回のリフレッシュ
サイクル毎にリセットする信号、即ち、パルス発生器2
08で発生したパルス信号CNTDECは、リフレッシ
ュサイクル動作に要する時間の間隔で出力され、連続リ
フレッシュカウンタ値信号RFCSをデクリメントす
る。
The rising edge detector 207 is connected to the flip-flop 206 and receives the refresh mode signal R
The rising edge of FM is detected, and a refresh completion signal FLGD is generated. The DRAM central unit 107 performs refresh while the refresh mode signal RFM is being output. A signal for resetting the flip-flop 206 in which the refresh mode signal RFM is latched every refresh cycle, that is, the pulse generator 2
The pulse signal CNTDEC generated at 08 is output at intervals of the time required for the refresh cycle operation, and decrements the continuous refresh counter value signal RFCS.

【0025】図4を参照して、カウント値信号FLGS
で表されたカウント値と時間の関係を説明する。他のデ
バイスがリード動作している間に自デバイスは、カウン
ト値が第2の基準値を下回らない範囲でリフレッシュを
行う。カウント値はリフレッシュ完了信号FLGDのパ
ルスによって第1の基準値分が減じられる。
Referring to FIG. 4, count value signal FLGS
The relationship between the count value represented by and the time will be described. While the other device is performing the read operation, the own device performs refresh within a range where the count value does not fall below the second reference value. The count value is reduced by the first reference value by the pulse of the refresh completion signal FLGD.

【0026】一方、自デバイスにリード動作等のアクセ
スがかかっている間は、リフレッシュは一切行わない。
On the other hand, no refresh is performed while the device is being accessed for a read operation or the like.

【0027】図5は、自デバイスに連続アクセスが長時
間かかり、カウント値が第1の基準値をこえた場合を示
している。いったんアクセスが切れると第1の基準値を
下回るまで、強制的にリフレッシュが行われる。第1の
基準値とカウント値との比較は第1の比較器203で行
われる。この第1の比較器203の出力は、活性化レベ
ルが”HIGH”であり、したがってフリップフロップ
206を判定器202及び第2の比較器204の値に関
係なくセットする。
FIG. 5 shows a case where continuous access to the own device takes a long time and the count value exceeds the first reference value. Once the access is cut off, the refresh is compulsorily performed until the value falls below the first reference value. The comparison between the first reference value and the count value is performed by the first comparator 203. The output of the first comparator 203 has an activation level of “HIGH”, and thus sets the flip-flop 206 regardless of the values of the decision unit 202 and the second comparator 204.

【0028】当然、強制的にリフレッシュしてもセルの
データ保持時間を上回るような長時間の連続アクセス
は、スペック上で禁止される。
Naturally, a long-term continuous access that exceeds the data holding time of the cell even if the refresh operation is forcibly performed is prohibited on the specifications.

【0029】図6を参照して、このリフレッシュ装置の
全体的な動作を説明する。
Referring to FIG. 6, the overall operation of the refresh device will be described.

【0030】ステップSA1でコマンドを入力すると、
ステップSA2でそのコマンドが自分のデバイス番号で
あるかの否かを判断する。自分のデバイス番号でないと
きにはステップSA3で他デバイスの動作解析を開始す
る。これ以降の動作については次文で説明する。
When a command is input in step SA1,
In step SA2, it is determined whether or not the command is its own device number. If it is not its own device number, the operation analysis of another device is started in step SA3. Subsequent operations will be described in the next sentence.

【0031】ステップSA2でコマンドが自分のデバイ
ス番号であると判断したときには、ステップSA4に移
り、リフレッシュ中か否かを判断する。リフレッシュ中
のときにはステップSA5でビジー信号を出力し、ステ
ップSA4に戻る。
If it is determined in step SA2 that the command is its own device number, the flow shifts to step SA4 to determine whether or not refresh is being performed. During the refresh, a busy signal is output in step SA5, and the process returns to step SA4.

【0032】ステップSA4でリフレッシュ中でないと
きにはステップSA6進み、リード・ライトの動作を行
い作業を終了する。
If refresh is not being performed in step SA4, the flow advances to step SA6 to perform a read / write operation and end the operation.

【0033】図7を図1及び図2と共に参照して、他デ
バイスの動作解析を開始した場合について説明する。ス
テップSB1でリフレッシュ可能回数を連続リフレッシ
ュカウンタ201にセットする。ステップSB2に移
り、連続リフレッシュカウンタ201のカウント値が0
か否かを判断する。カウント値が0の時には作業を終了
する。
Referring to FIG. 7 together with FIG. 1 and FIG. 2, a case where the operation analysis of another device is started will be described. In step SB1, the number of times that refreshing is possible is set in the continuous refresh counter 201. Moving to Step SB2, the count value of the continuous refresh counter 201 becomes 0
It is determined whether or not. When the count value is 0, the operation ends.

【0034】連続リフレッシュカウンタ103のカウン
ト値が0でないときには、ステップSB3に進み、連続
リフレッシュカウンタ103のデクリメントを実行す
る。さらにステップSB4に移り、リフレッシュフラグ
カウンタ103のカウント値が第2の基準値以下である
ときには、ステップSB5でリフレッシュ動作に相当す
る時間のウエイトの後、ステップSB2に戻る。
When the count value of the continuous refresh counter 103 is not 0, the process proceeds to step SB3, where the continuous refresh counter 103 is decremented. Further, the process proceeds to step SB4, and when the count value of the refresh flag counter 103 is equal to or smaller than the second reference value, the process returns to step SB2 after waiting for a time corresponding to the refresh operation in step SB5.

【0035】リフレッシュフラグカウンタ103のカウ
ント値が第2の基準値以下でないときには、ステップS
B6でリフレッシュ動作を開始し、さらにステップSB
7でリフレッシュ動作を終了し、ステップSB2に戻
る。
If the count value of the refresh flag counter 103 is not equal to or smaller than the second reference value, step S
The refresh operation is started in B6, and further in step SB
At 7, the refresh operation ends, and the process returns to step SB2.

【0036】[0036]

【発明の効果】以上述べたように、本発明は、DRAM
のリフレッシュとアクセスの衝突が起きる確率を減らし
ているため、バスの使用効率が上昇する。とくにマルチ
バンクシステムでは、開始アドレスと繰り返し回数を指
定してアクセス要求をだすので、ひとつのデバイスから
長時間、アクセスされることがあるが、このときでもあ
らかじめリフレッシュが行われているので、本発明では
長時間のアクセスの後に長時間ビジー状態となることを
避けることが可能となる。
As described above, the present invention relates to a DRAM.
Since the probability of occurrence of a collision between the refresh and the access occurs, the bus use efficiency increases. In particular, in a multi-bank system, an access request is issued by designating a start address and the number of repetitions, so that a single device may be accessed for a long time. Thus, it is possible to avoid being in a busy state for a long time after a long access.

【0037】また本発明はこれらの制御をDRAM上で
行っているため、個々のDRAMに別々の制御信号線を
引く必要なく、システム配線を増加させないという利点
がある。
Further, since the present invention performs these controls on the DRAM, there is an advantage that it is not necessary to provide separate control signal lines for each DRAM, and the number of system wirings is not increased.

【0038】また、本発明は、第2の基準値を外部から
任意に変更できるため不必要なリフレッシュ動作を防ぐ
ことができる。また第2の基準値は、個々のデバイスの
保持特性をもとにして決められた値からの相対値である
ため余分なマージンが生じないため不必要なリフレッシ
ュ動作を防ぐことができ、結果として消費電流を減らす
ことができる。
Further, according to the present invention, since the second reference value can be arbitrarily changed from the outside, unnecessary refresh operations can be prevented. Further, since the second reference value is a relative value from a value determined based on the holding characteristics of each device, an unnecessary margin is not generated, so that unnecessary refresh operation can be prevented. As a result, Current consumption can be reduced.

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

【図1】本発明の実施の形態に係るリフレッシュ装置を
説明するためのブロック図。
FIG. 1 is a block diagram for explaining a refresh device according to an embodiment of the present invention.

【図2】図1のリフレッシュ装置に含まれたリフレッシ
ュコントローラの内部構成を示すブロック図。
FIG. 2 is a block diagram showing an internal configuration of a refresh controller included in the refresh device of FIG. 1;

【図3】図2のリフレッシュコントローラの各部の信号
を表すタイムチャート。
FIG. 3 is a time chart illustrating signals of respective units of the refresh controller of FIG. 2;

【図4】図1のリフレッシュ装置に含まれたリフレッシ
ュフラグカウンタのカウント値と時間の関係を説明する
グラフ。
FIG. 4 is a graph illustrating a relationship between a count value of a refresh flag counter included in the refresh device of FIG. 1 and time.

【図5】自デバイスに連続アクセスが長時間かかり、カ
ウント値が第1の基準値をこえた場合を示すグラフ。
FIG. 5 is a graph showing a case where continuous access to the device takes a long time and the count value exceeds a first reference value.

【図6】図1のリフレッシュ装置の全体的な動作を説明
するためのフローチャート。
FIG. 6 is a flowchart for explaining the overall operation of the refresh device in FIG. 1;

【図7】図1のリフレッシュ装置において他デバイスの
動作解析を開始した場合の動作を説明するためのフロー
チャート。
FIG. 7 is a flowchart for explaining an operation when an operation analysis of another device is started in the refresh device of FIG. 1;

【図8】従来例のシステム上でのメモリの配置図。FIG. 8 is a layout diagram of a memory in a conventional system.

【図9】従来例のリード動作時のタイミングチャート。FIG. 9 is a timing chart at the time of a read operation of a conventional example.

【図10】従来例のコマンド入力のビット割付け。FIG. 10 shows a conventional example of command input bit allocation.

【図11】従来例で、BUSYが出力される場合のタイ
ミングチャート。
FIG. 11 is a timing chart when BUSY is output in a conventional example.

【図12】マルチプロセッサシステムの例。FIG. 12 is an example of a multiprocessor system.

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

101 セルフリフレッシュタイマ 102 第1の基準値レジスタ 103 リフレッシュフラグカウンタ 104 プロトコルデコーダ 105 リフレッシュコントローラ 106 データバッファ 107 DRAM中心部 201 連続リフレッシュカウンタ 202 判定器 203 第1の比較器 204 第2の比較器 205 第2の基準値レジスタ 206 フリップフロップ 207 立上りエッジ検出器 208 パルス発生器 Reference Signs List 101 self-refresh timer 102 first reference value register 103 refresh flag counter 104 protocol decoder 105 refresh controller 106 data buffer 107 DRAM central part 201 continuous refresh counter 202 determiner 203 first comparator 204 second comparator 205 second Reference value register 206 flip-flop 207 rising edge detector 208 pulse generator

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 オートリフレッシュ機構を有し、バスラ
インに接続し、プロトコルにより使用する半導体メモリ
装置において、アクセス要求を優先しその間に内部発生
したセルフリフレッシュ要求のフラグをカウントするリ
フレッシュフラグカウンタと、同一バス上の他のチップ
へのアクセスが生じた時に、自分自身への次回の最小ア
クセス時間をわりだし、その間リフレッシュモード信号
を出力するリフレッシュコントローラとを有し、前記リ
フレッシュモード信号により前記リフレッシュフラグカ
ウンタのカウント値を減じることを特徴とする半導体メ
モリ装置。
1. A semiconductor memory device having an auto-refresh mechanism connected to a bus line and used according to a protocol, wherein a refresh flag counter for giving priority to an access request and counting a self-refresh request flag generated internally during the access request; A refresh controller for determining the next minimum access time to itself when another chip on the same bus is accessed, and outputting a refresh mode signal during that time; A semiconductor memory device for reducing a count value of a counter.
【請求項2】 前記リフレッシュフラグカウンタのカウ
ント値の下限値を外部から設定できる請求項1記載の半
導体メモリ装置。
2. The semiconductor memory device according to claim 1, wherein a lower limit value of a count value of said refresh flag counter can be externally set.
【請求項3】 内部に複数バンクを有する請求項1又は
2記載の半導体メモリ装置。
3. The semiconductor memory device according to claim 1, further comprising a plurality of banks.
【請求項4】 他デバイスの連続アクセス回数の値を示
す他デバイス連続アクセス回数信号を生成するプロトコ
ルデコーダ、一定間隔のパルス信号を発生するタイマ、
リフレッシュの平均間隔時間を表す第1の基準値信号を
生成する第1の基準値レジスタ、前記第1の基準値信号
を参照して前記パルス信号をカウントしカウント値信号
を生成するリフレッシュフラグカウンタ、前記他デバイ
ス連続アクセス回数信号と前記第1の基準値信号と前記
カウント値信号とに応じてリフレッシュモード信号を生
成するリフレッシュコントローラ、及び前記リフレッシ
ュモード信号の状態を参照してリフレッシュを行うDR
AM中心部を含むことを特徴とする半導体メモリ装置。
4. A protocol decoder for generating a continuous access count signal of another device indicating a value of the continuous access count of another device, a timer for generating a pulse signal at a constant interval,
A first reference value register that generates a first reference value signal representing an average interval time of refresh, a refresh flag counter that counts the pulse signal with reference to the first reference value signal and generates a count value signal, A refresh controller that generates a refresh mode signal according to the other device continuous access number signal, the first reference value signal, and the count value signal; and a DR that performs refresh by referring to a state of the refresh mode signal.
A semiconductor memory device comprising an AM center.
【請求項5】 オートリフレッシュ機構を有し、バスラ
インに接続し、プロトコルにより使用する半導体メモリ
装置のためのリフレッシュ方法において、アクセス要求
を優先しその間に内部発生したセルフリフレッシュ要求
のフラグをカウントし、同一バス上の他のチップへのア
クセスが生じた時に、自分自身への次回の最小アクセス
時間をわりだし、その間リフレッシュモード信号を出力
し、前記リフレッシュモード信号により前記リフレッシ
ュフラグカウンタのカウント値を減じることを特徴とす
るリフレッシュ方法。
5. A refresh method for a semiconductor memory device having an auto-refresh mechanism connected to a bus line and used according to a protocol, wherein an access request is prioritized and a flag of a self-refresh request generated during the access request is counted. When an access to another chip on the same bus occurs, the next minimum access time to itself is determined, a refresh mode signal is output during that time, and the count value of the refresh flag counter is calculated by the refresh mode signal. A refresh method characterized in that it is reduced.
【請求項6】 他デバイスの連続アクセス回数の値を示
す他デバイス連続アクセス回数信号を生成すること、一
定間隔のパルス信号を発生すること、リフレッシュの平
均間隔時間を表す第1の基準値信号を生成すること、前
記第1の基準値信号を参照して前記パルス信号をカウン
トしカウント値信号を生成すること、前記他デバイス連
続アクセス回数信号と前記第1の基準値信号と前記カウ
ント値信号とに応じてリフレッシュモード信号を生成す
ること、及び前記リフレッシュモード信号の状態を参照
してDRAM中心部のリフレッシュを行うことを含むこ
とを特徴とする半導体メモリ装置のためのリフレッシュ
方法。
6. A method of generating a continuous access count signal of another device indicating a value of the continuous access count of another device, generating a pulse signal at a constant interval, and generating a first reference value signal indicating an average refresh interval time. Generating, counting the pulse signal with reference to the first reference value signal to generate a count value signal, the other device continuous access count signal, the first reference value signal, the count value signal, A refresh method for a semiconductor memory device, comprising: generating a refresh mode signal in response to a refresh mode; and refreshing a central portion of the DRAM with reference to the state of the refresh mode signal.
JP24883997A 1997-09-12 1997-09-12 Semiconductor memory device Expired - Fee Related JP3159246B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24883997A JP3159246B2 (en) 1997-09-12 1997-09-12 Semiconductor memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24883997A JP3159246B2 (en) 1997-09-12 1997-09-12 Semiconductor memory device

Publications (2)

Publication Number Publication Date
JPH1186538A JPH1186538A (en) 1999-03-30
JP3159246B2 true JP3159246B2 (en) 2001-04-23

Family

ID=17184193

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24883997A Expired - Fee Related JP3159246B2 (en) 1997-09-12 1997-09-12 Semiconductor memory device

Country Status (1)

Country Link
JP (1) JP3159246B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6089492B2 (en) * 2012-08-14 2017-03-08 富士通株式会社 SYSTEM CONTROL DEVICE, INFORMATION PROCESSING SYSTEM, SYSTEM CONTROL DEVICE CONTROL METHOD, AND SYSTEM CONTROL DEVICE CONTROL PROGRAM

Also Published As

Publication number Publication date
JPH1186538A (en) 1999-03-30

Similar Documents

Publication Publication Date Title
US10090028B2 (en) Semiconductor device and data processing system with coordinated calibration and refresh operations
US5317709A (en) Microcomputer including memory controller for DRAM
US5418920A (en) Refresh control method and system including request and refresh counters and priority arbitration circuitry
JP4459495B2 (en) Semiconductor memory device refresh control method and semiconductor memory device having the control method
JP3728468B2 (en) Memory control device
EP1313019B1 (en) Arbitration apparatus
JP3159246B2 (en) Semiconductor memory device
US6529981B1 (en) Bus arbiter
US6948046B2 (en) Access controller that efficiently accesses synchronous semiconductor memory device
US5479372A (en) DRAM control circuit
JP4054598B2 (en) Memory control circuit, DMA request block, and memory access system
JP4108237B2 (en) Memory control device
JPS6212990A (en) Dynamic type semiconductor storage device
JP2590712B2 (en) Memory controller
JPH1011964A (en) Memory control apparatus and memory control method
JP2978871B2 (en) Refresh control method
JPH06325570A (en) Dynamic memory refresh circuit
JPH09297990A (en) Memory refresh control method and memory refresh controller
JP3563340B2 (en) Memory controller
JPH11176155A (en) Dram-refreshing circuit
JP2002207541A (en) Microcomputer and data processor
JPH0620468A (en) Refresh request generating circuit, memory control circuit and memory device with this circuit
JPH04132078A (en) Memory refresh system
JPH0745073A (en) Method for refreshing dram
JP2001142771A (en) Data transfer device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010117

LAPS Cancellation because of no payment of annual fees