[go: up one dir, main page]

JP2000048560A - Semiconductor circuit - Google Patents

Semiconductor circuit

Info

Publication number
JP2000048560A
JP2000048560A JP10209239A JP20923998A JP2000048560A JP 2000048560 A JP2000048560 A JP 2000048560A JP 10209239 A JP10209239 A JP 10209239A JP 20923998 A JP20923998 A JP 20923998A JP 2000048560 A JP2000048560 A JP 2000048560A
Authority
JP
Japan
Prior art keywords
refresh
signal
memory cell
address
cell group
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10209239A
Other languages
Japanese (ja)
Inventor
Yasushi Kai
康司 甲斐
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.)
KYUSHU SYSTEM JOHO GIJUTSU KENKYUSHO
Panasonic Holdings Corp
Original Assignee
KYUSHU SYSTEM JOHO GIJUTSU KENKYUSHO
Matsushita Electric Industrial 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 KYUSHU SYSTEM JOHO GIJUTSU KENKYUSHO, Matsushita Electric Industrial Co Ltd filed Critical KYUSHU SYSTEM JOHO GIJUTSU KENKYUSHO
Priority to JP10209239A priority Critical patent/JP2000048560A/en
Publication of JP2000048560A publication Critical patent/JP2000048560A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dram (AREA)

Abstract

(57)【要約】 【課題】 DRAM/ロジック混載LSIにおいて、セ
ルフ・リフレッシュ・モード及び通常動作モードの両モ
ードにおけるリフレッシュの回数の低減を小規模な回路
で実現できるようにする。 【解決手段】 リフレッシュ間隔計時手段4はDRAM
2に対するリフレッシュのタイミングを示すタイミング
信号を出力する。リフレッシュアドレス発生手段5はメ
モリセル群1を示すアドレス信号を出力する。位相カウ
ンタ6は、メモリセル群1を示すアドレスの巡回目に応
じた基準信号を出力する。位相記憶テーブル7は、メモ
リセル群1毎に例えばリフレッシュのスキップ数からな
るリフレッシュ情報を記憶していると共に、リフレッシ
ュ情報に応じたリフレッシュ情報信号を出力する。位相
比較手段8は、リフレッシュ情報信号と基準信号とが互
いに対応するときにリフレッシュ実行要求信号を出力す
る。リフレッシュ制御手段9は、リフレッシュ実行要求
信号の入力を受けて、アドレス信号が示すメモリセル群
1に対してリフレッシュ動作を行なう。
[PROBLEMS] To reduce the number of refreshes in both a self-refresh mode and a normal operation mode in a DRAM / logic embedded LSI with a small-scale circuit. SOLUTION: The refresh interval timer 4 is a DRAM.
2 to output a timing signal indicating the refresh timing. Refresh address generating means 5 outputs an address signal indicating memory cell group 1. The phase counter 6 outputs a reference signal corresponding to the cycle of the address indicating the memory cell group 1. The phase storage table 7 stores refresh information including, for example, a refresh skip number for each memory cell group 1 and outputs a refresh information signal corresponding to the refresh information. The phase comparing means 8 outputs a refresh execution request signal when the refresh information signal and the reference signal correspond to each other. Refresh control means 9 receives a refresh execution request signal and performs a refresh operation on memory cell group 1 indicated by the address signal.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、DRAM(Dyn
amic RAM)とロジック回路とが一のチップ上に
混載された半導体回路に関し、特にDRAMのリフレッ
シュの制御を行なう半導体回路に関する。
The present invention relates to a DRAM (Dyn).
BACKGROUND OF THE INVENTION The present invention relates to a semiconductor circuit in which an amic RAM) and a logic circuit are mounted on a single chip, and more particularly to a semiconductor circuit that controls refresh of a DRAM.

【0002】[0002]

【従来の技術】半導体素子の微細化に伴って、プロセッ
サ、メモリ又はその他の回路を一のチップ上に集積する
ことが可能になってきたと共に、プロセス技術の進歩に
伴って、プロセッサ等のロジック回路とDRAMとを1
つのチップ上に混載することが可能になってきた。
2. Description of the Related Art With the miniaturization of semiconductor devices, it has become possible to integrate processors, memories or other circuits on a single chip. Circuit and DRAM 1
It has become possible to combine them on one chip.

【0003】DRAMのメモリセル(記憶素子)はコン
デンサからなるため、個々のメモリセルは小さいので、
DRAMは、SRAM(Static RAM)を実装
する場合に比べて、チップ面積を大きく低減できるとい
う長所を有している一方、時間の経過に伴って、メモリ
セルのコンデンサにおけるデータを保持している電荷が
放電してしまってデータが失われるという短所がある。
尚、メモリセルが情報を保持できる時間をデータ保持時
間と称する。
[0003] Since the memory cells (storage elements) of the DRAM are composed of capacitors, the individual memory cells are small.
A DRAM has an advantage that a chip area can be greatly reduced as compared with a case where an SRAM (Static RAM) is mounted, but a charge holding data in a capacitor of a memory cell as time passes. However, there is a disadvantage in that data is lost due to discharge.
Note that the time during which the memory cell can retain information is referred to as data retention time.

【0004】ところで、メモリセルのデータが失われて
しまうという問題に対処するため、メモリセルにデータ
を保持させるリフレッシュと称する作業が必要になる。
リフレッシュとは、マトリクス状に配置されたメモリセ
ルからなるDRAMのデータをロー(行)毎に一斉に読
み出してセンスアンプで検出し、検出した値を読み出し
たメモリセルに書き込む一連の作業のことを称する。リ
フレッシュ動作中は、DRAMに対する読み出し又は書
き込みを行なうことはできない。尚、以下においては、
DRAMに含まれるメモリセルのうち、1度のリフレッ
シュ動作によってデータが保持されるメモリセルの集合
をメモリセル群と称する。
By the way, in order to cope with the problem that data in a memory cell is lost, an operation called refresh for holding data in a memory cell is required.
Refresh is a series of operations in which data of a DRAM consisting of memory cells arranged in a matrix is read all at once (rows), detected by a sense amplifier, and the detected value is written to the read memory cells. Name. During the refresh operation, reading or writing to the DRAM cannot be performed. In the following,
A set of memory cells in which data is held by one refresh operation among the memory cells included in the DRAM is referred to as a memory cell group.

【0005】従来の汎用DRAMに対するリフレッシュ
の制御は、外部からDRAMに対する読み出し又は書き
込みが可能である通常動作モードにおいては、DRAM
の外部に設けられたDRAMコントローラが行なうと共
に、バッテリバックアップ時等のデータ保持モードにお
いては、DRAMの内部に設けられたリフレッシュ制御
回路が行なう。以下においては、DRAM内部のリフレ
ッシュ制御回路が行なうリフレッシュモードのことをセ
ルフ・リフレッシュ・モードと称する。これらのモード
の切り替えには時間を要するため、セルフ・リフレッシ
ュ・モード中においては、外部からDRAMに対してデ
ータの読み出し又は書き込みを行なう要求があっても、
この要求は直ちには受け付けられない。
[0005] The conventional refresh control for a general-purpose DRAM is performed in a normal operation mode in which the DRAM can be read or written from the outside.
In a data holding mode such as at the time of battery backup, a DRAM controller provided outside the DRAM performs a refresh control circuit provided inside the DRAM. Hereinafter, the refresh mode performed by the refresh control circuit in the DRAM is referred to as a self-refresh mode. Since it takes time to switch between these modes, even if there is an external request to read or write data to the DRAM during the self-refresh mode,
This request will not be accepted immediately.

【0006】DRAMのデータ保持時間については、個
々のメモリセルのデータ保持時間の間には大きなばらつ
きがあると共に、一のDRAMに含まれるデータ保持時
間の短いメモリセルの数は非常に少ない(岩田ほか、”
超低保持電流DRAMを実現するための回路技術”、電
子情報通信学会報告、ICD95−50)にも拘わら
ず、リフレッシュはすべてのメモリセル群に対して同じ
周期で行なわれている。このため、データ保持時間の短
いメモリセルが含まれないメモリセル群に対しては過剰
な頻度でリフレッシュが行なわれていることになる。
Regarding the data retention time of a DRAM, there is a large variation between the data retention times of individual memory cells, and the number of memory cells having a short data retention time contained in one DRAM is very small (Iwata). Also, "
In spite of "Circuit technology for realizing ultra-low holding current DRAM", IEICE report, ICD95-50), refresh is performed at the same cycle for all memory cell groups. Refreshing is performed with excessive frequency for a memory cell group that does not include a memory cell having a short data retention time.

【0007】そこで、過剰なリフレッシュによる電力消
費を防止するために、特開平4−31794号公報にお
いて、DRAMの各メモリセル群のデータ保持時間を予
め計測しておき、データ保持時間に応じてメモリセル群
毎にリフレッシュの周期を設定する、つまりメモリセル
群毎にリフレッシュの実行をスキップする回数を設定す
ることにより、リフレッシュ回数を低減する方法が提案
されている。
In order to prevent power consumption due to excessive refreshing, Japanese Patent Laid-Open Publication No. 4-31794 discloses a technique of measuring the data retention time of each memory cell group of a DRAM in advance and determining the memory retention time in accordance with the data retention time. A method has been proposed in which the number of refreshes is reduced by setting a refresh cycle for each cell group, that is, by setting the number of times the refresh execution is skipped for each memory cell group.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、特開平
4−31794号公報に示されているリフレッシュ回数
を低減する方法は、リフレッシュの実行をスキップする
回数を計数するカウンタ(221)、及び該カウンタか
ら出力される計数値信号(22a)と最大マスク数値信
号(31a)とを比較する比較手段(211)をメモリ
セル群毎に設ける必要があるので、回路規模が膨大にな
るという問題がある。
However, the method of reducing the number of refreshes disclosed in Japanese Patent Application Laid-Open No. 4-31794 discloses a counter (221) for counting the number of times the refresh execution is skipped, and a counter for counting the number of refreshes. Since it is necessary to provide a comparing means (211) for comparing the output count signal (22a) with the maximum mask numerical signal (31a) for each memory cell group, there is a problem that the circuit scale becomes enormous.

【0009】また、DRAM/ロジック混載LSIは、
DRAMとロジック回路とを一のチップ上で高メモリバ
ンド幅で結合することにより、ロジック部の処理性能を
飛躍的に向上させる狙いを持つ(岩下ほか、”次々世代
汎用マイクロプロセッサ・アーキテクチャPPRAMの
概要”、情報処理学会研究報告、ARC−113−1、
1998年8月)。ところが、DRAM/ロジック混載
LSIにおいては、リフレッシュと、ロジック回路が行
なうDRAMアクセスとが競合するため、リフレッシュ
の度毎にDRAMに対するアクセスが待たされるので、
リフレッシュが頻繁に行なわれると、DRAMに対する
アクセスに要する時間が長くなってしまい、ロジック回
路の処理能力が制約されるという問題が浮き彫りにな
る。
A DRAM / logic mixed LSI is
The aim is to dramatically improve the processing performance of the logic part by combining DRAM and logic circuits on a single chip with a high memory bandwidth. (Iwashita et al., "Overview of the Next-Generation General-Purpose Microprocessor Architecture PPRAM" ”, Information Processing Society of Japan Research Report, ARC-113-1,
August 1998). However, in a DRAM / logic embedded LSI, refresh and access to the DRAM performed by the logic circuit compete with each other, so that access to the DRAM is waited for every refresh.
If the refresh is performed frequently, the time required for accessing the DRAM becomes longer, and the problem that the processing capability of the logic circuit is restricted is highlighted.

【0010】また、従来のDRAMにおいては、リフレ
ッシュの周期が外部仕様として予め所定の長さに決めら
れているため、欠陥救済のための処置(すなわちメモリ
セル群の置き換え)が行なわれた後に計測されたデータ
保持時間が、欠陥救済処置を行なったにも拘わらず、所
定の長さを満たさないメモリセル群が1つでもあると、
該メモリセル群を含むDRAMは不良品として扱われ
る。ところが、データ保持時間が所定の長さに満たない
メモリセル群がDRAMに若干数含まれていても、DR
AM/ロジック混載LSIの全体としての機能及び性能
に問題がなければ良品として扱ってもよい場合がある。
例えば、一のメモリセル群のデータ保持時間が短くて
も、該一のメモリセル群にアクセスが集中しないのであ
れば、該一のメモリセル群に対して他のメモリセル群よ
りも頻繁にリフレッシュを行なっても、全体としての消
費電力の増加、及びリフレッシュとロジック回路のDR
AMへのアクセスとの競合の増加は特に問題にならな
い。
In the conventional DRAM, since the refresh cycle is predetermined to a predetermined length as an external specification, measurement is performed after a measure for repairing a defect (ie, replacement of a memory cell group) is performed. If there is at least one memory cell group whose data retention time does not satisfy the predetermined length in spite of performing the defect remedy,
The DRAM including the memory cell group is treated as a defective product. However, even if the DRAM has a small number of memory cells whose data retention time is less than the predetermined length,
If there is no problem in the function and performance of the whole AM / logic embedded LSI, it may be possible to treat it as a good product.
For example, even if the data holding time of one memory cell group is short, if accesses are not concentrated on the one memory cell group, the one memory cell group is refreshed more frequently than the other memory cell groups. , The overall power consumption increases, and the refresh and DR of the logic circuit
Increasing contention with access to the AM is not particularly problematic.

【0011】前記に鑑み、本発明は、DRAM/ロジッ
ク混載LSIにおいて、セルフ・リフレッシュ・モード
及び通常動作モードの両モードにおけるリフレッシュの
回数の低減を小規模な回路で実現できるようにすること
を第1の目的とし、リフレッシュの最小周期をLSIの
作成後に変更できるようにすることを第2の目的とす
る。
In view of the above, it is an object of the present invention to provide a DRAM / logic-mixed LSI in which the number of refreshes in both the self-refresh mode and the normal operation mode can be reduced by a small-scale circuit. A second object is to make it possible to change the minimum refresh cycle after the LSI is created.

【0012】[0012]

【課題を解決するための手段】前記の第1の目的を達成
するため、本発明に係る半導体回路は、それぞれが複数
のメモリセルからなる複数のメモリセル群を有し、デー
タを記憶するDRAMと、DRAMに記憶されているデ
ータにアクセスするロジック回路と、DRAMに対する
リフレッシュのタイミングを示すタイミング信号を出力
するタイミング信号発生手段と、タイミング信号発生手
段から出力されるタイミング信号が入力すると、メモリ
セル群を示すアドレスを更新してアドレス信号を出力す
るアドレス信号発生手段と、アドレス信号発生手段から
出力されるアドレス信号の入力を受け、メモリセル群を
示すアドレスの更新が一巡する毎に、アドレスの巡回目
に応じた基準信号を出力する基準信号発生手段と、メモ
リセル群毎に、リフレッシュのスキップ回数、リフレッ
シュの周期又はデータ保持時間からなるリフレッシュ情
報を記憶していると共に、アドレス信号発生手段から出
力されるアドレス信号が入力するとリフレッシュ情報に
応じたリフレッシュ情報信号を出力するリフレッシュ情
報記憶手段と、リフレッシュ情報記憶手段から出力され
るリフレッシュ情報信号及び基準信号発生手段から出力
される基準信号の入力を受け、入力されたリフレッシュ
情報信号と基準信号とが対応するときにリフレッシュ実
行要求信号を出力する要求信号発生手段と、要求信号発
生手段から出力されるリフレッシュ実行要求信号とロジ
ック回路からDRAMに対するアクセス信号との競合を
調停すると共に、リフレッシュ実行要求信号を選択する
ときに、アドレス信号発生手段から出力されるアドレス
信号が示すメモリセル群に対してリフレッシュ動作を行
なうリフレッシュ制御手段とを備えている。
In order to achieve the first object, a semiconductor circuit according to the present invention has a plurality of memory cell groups each including a plurality of memory cells, and a DRAM for storing data. A logic circuit for accessing data stored in the DRAM, a timing signal generating means for outputting a timing signal indicating a refresh timing for the DRAM, and a timing signal output from the timing signal generating means, An address signal generating means for updating an address indicating a group and outputting an address signal; and receiving an input of an address signal output from the address signal generating means. A reference signal generating means for outputting a reference signal according to the cycle; Refresh information storage for storing refresh information including the number of refresh skips, refresh cycle or data holding time, and outputting a refresh information signal according to the refresh information when an address signal output from the address signal generating means is input. Means for receiving a refresh information signal output from the refresh information storage means and a reference signal output from the reference signal generation means, and generating a refresh execution request signal when the input refresh information signal corresponds to the reference signal. Request signal generating means for outputting, and arbitration of competition between a refresh execution request signal output from the request signal generating means and an access signal to the DRAM from the logic circuit, and an address signal generating means for selecting the refresh execution request signal. From And a refresh control means for performing a refresh operation for the memory cell group indicated by the address signal force.

【0013】本発明の半導体回路によると、メモリセル
群を示すアドレスの更新が一巡する毎に、アドレスの巡
回目に応じた基準信号を出力する基準信号発生手段と、
メモリセル群毎に、リフレッシュのスキップ回数、リフ
レッシュの周期又はデータ保持時間からなるリフレッシ
ュ情報を記憶していると共に、リフレッシュ情報に応じ
たリフレッシュ情報信号を出力するリフレッシュ情報記
憶手段と、入力されたリフレッシュ情報信号と基準信号
とが対応するときにリフレッシュ実行要求信号を出力す
る要求信号発生手段とを備えているため、要求信号発生
手段は、メモリセル群のアドレスの巡回目毎に、リフレ
ッシュのスキップ回数、リフレッシュの周期又はデータ
保持時間からなるリフレッシュ情報に応じて、リフレッ
シュ実行要求信号を出力することができる。
According to the semiconductor circuit of the present invention, each time an address indicating a memory cell group is updated, a reference signal generating means for outputting a reference signal according to the cycle of the address;
Refresh information storage means for storing refresh information including a refresh skip count, a refresh cycle or a data holding time for each memory cell group, and outputting a refresh information signal corresponding to the refresh information; Request signal generating means for outputting a refresh execution request signal when the information signal and the reference signal correspond to each other, the request signal generating means determines the number of refresh skips for each cycle of the memory cell group address A refresh execution request signal can be output according to refresh information including a refresh cycle or a data holding time.

【0014】本発明の半導体回路において、基準信号発
生手段は1個のカウンタからなることが好ましい。
In the semiconductor circuit according to the present invention, it is preferable that the reference signal generating means includes one counter.

【0015】本発明の半導体回路において、基準信号発
生手段は複数個のカウンタからなることが好ましい。
In the semiconductor circuit of the present invention, it is preferable that the reference signal generating means comprises a plurality of counters.

【0016】前記の第2の目的を達成するため、本発明
の半導体回路において、タイミング信号発生手段は、タ
イミング信号を出力する時間の間隔を変更する手段を有
していることが好ましい。
In order to achieve the second object, in the semiconductor circuit of the present invention, it is preferable that the timing signal generating means has means for changing a time interval for outputting the timing signal.

【0017】[0017]

【発明の実施の形態】(第1の実施形態)以下、本発明
の第1の実施形態に係る半導体回路について、図1〜図
4を参照しながら説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS (First Embodiment) A semiconductor circuit according to a first embodiment of the present invention will be described below with reference to FIGS.

【0018】図1は、第1の実施形態に係るDRAMと
ロジック回路とが混載された半導体回路におけるリフレ
ッシュの実行に必要な部分の回路を示している。
FIG. 1 shows a part of a circuit necessary for executing refresh in a semiconductor circuit in which a DRAM and a logic circuit according to the first embodiment are mixed.

【0019】図1に示すように、第1の実施形態に係る
半導体回路図は、それぞれが複数のメモリセルからなる
複数のメモリセル群1を有し、データを記憶しているD
RAM2と、DRAM2に記憶されているデータにアク
セスするロジック回路3とを備えている。
As shown in FIG. 1, the semiconductor circuit diagram according to the first embodiment has a plurality of memory cell groups 1 each of which includes a plurality of memory cells and stores data.
It has a RAM 2 and a logic circuit 3 for accessing data stored in the DRAM 2.

【0020】タイミング信号発生手段としてのリフレッ
シュ間隔計時手段4は、DRAM2に対するリフレッシ
ュのタイミングを示すタイミング信号を出力する。
The refresh interval timer 4 as a timing signal generator outputs a timing signal indicating the timing of refreshing the DRAM 2.

【0021】アドレス信号発生手段としてのリフレッシ
ュアドレス発生手段5は、リフレッシュ間隔計時手段4
から出力されるタイミング信号が入力されると、メモリ
セル群1を示すアドレスを更新してアドレス信号(リフ
レッシュ列アドレス信号)を出力する。
The refresh address generating means 5 as the address signal generating means includes a refresh interval timer 4
When the timing signal output from the memory cell is input, the address indicating the memory cell group 1 is updated and an address signal (refresh column address signal) is output.

【0022】基準信号発生手段としての位相カウンタ6
は、リフレッシュアドレス発生手段5から出力されるア
ドレス信号の入力を受け、メモリセル群1を示すアドレ
スの更新が一巡する毎に(つまり、DRAM2を構成す
るすべてのメモリセル群1に対するアドレスの更新が一
巡する毎に)、アドレスの巡回目に応じた基準信号を出
力する。
Phase counter 6 as reference signal generating means
Receives the input of the address signal output from the refresh address generating means 5, and every time the update of the address indicating the memory cell group 1 completes (that is, the address update for all the memory cell groups 1 constituting the DRAM 2 is performed). Each time one round), a reference signal corresponding to the address round is output.

【0023】リフレッシュ情報記憶手段としての位相記
憶テーブル7は、メモリセル群1毎に、リフレッシュの
スキップ数、リフレッシュの周期又はデータ保持時間か
らなるリフレッシュ情報を記憶していると共に、リフレ
ッシュアドレス発生手段5から出力されるアドレス信号
が入力するとリフレッシュ情報に応じたリフレッシュ情
報信号を出力する。
The phase storage table 7 as refresh information storage means stores refresh information including the number of refresh skips, the refresh cycle or the data holding time for each memory cell group 1 and the refresh address generation means 5. When the address signal output from the terminal is input, the refresh information signal corresponding to the refresh information is output.

【0024】要求信号発生手段としての位相比較手段8
は、位相記憶テーブル7から出力されるリフレッシュ情
報信号及び位相カウンタ6から出力される基準信号の入
力を受け、入力されたリフレッシュ情報信号と基準信号
とが互いに対応するときにリフレッシュ実行要求信号を
出力する。
Phase comparing means 8 as request signal generating means
Receives a refresh information signal output from the phase storage table 7 and a reference signal output from the phase counter 6, and outputs a refresh execution request signal when the input refresh information signal and the reference signal correspond to each other. I do.

【0025】リフレッシュ制御手段9は、位相比較手段
8から出力されるリフレッシュ実行要求信号とロジック
回路3からDRAM2に対するアクセスとの調停を行な
うと共に、リフレッシュ実行要求信号を選択するときに
はリフレッシュアドレス発生手段5から出力されるアド
レス信号が示すメモリセル群1に対して、メモリセル群
1からのデータの読み出しと、読み出したデータのメモ
リセル群1への書き込みとからなるリフレッシュ動作を
行なう。具体的には、リフレッシュ制御手段9は、リフ
レッシュ実行要求信号とロジック回路3からのDRAM
2に対するアクセス要求との調停を行ない、調停結果に
基づいて選択信号をマルチプレクサからなるセレクタ1
0に出力する。尚、調停とは、リフレッシュ実行要求と
アクセス要求とが競合したときにいずれかの要求を選択
する場合に限られず、リフレッシュ実行要求とアクセス
要求とが競合しない場合に要求に対して権利を与える場
合をも含む。つまり、競合の有無に拘わらず、要求に対
して権利を与えることを意味する。
The refresh control means 9 arbitrates between the refresh execution request signal output from the phase comparison means 8 and the access from the logic circuit 3 to the DRAM 2 and, when selecting the refresh execution request signal, from the refresh address generation means 5 For the memory cell group 1 indicated by the output address signal, a refresh operation including reading of data from the memory cell group 1 and writing of the read data to the memory cell group 1 is performed. Specifically, the refresh control unit 9 is configured to output a refresh execution request signal and a DRAM from the logic circuit 3.
2 arbitrates with an access request to the access request 2 and selects a selection signal based on the arbitration result.
Output to 0. The arbitration is not limited to the case where one of the requests is selected when the refresh execution request and the access request conflict, and the case where the right is given to the request when the refresh execution request does not conflict with the access request. Including. In other words, this means granting a right to the request regardless of whether there is a conflict.

【0026】セレクタ10は、リフレッシュ制御手段9
からの選択信号に基づいて、リフレッシュアドレス発生
手段5から出力されるアドレス信号又はロジック回路3
から出力される列アドレス信号を選択してDRAM2に
出力する。この場合、リフレッシュ制御手段9は、DR
AM2へのアクセスの要求及びDRAM2に対するリフ
レッシュ制御の要求のうちの一方のみがあったときに
は、その要求を実行し、DRAM2へのアクセスが行な
われているときにDRAM2に対するリフレッシュ制御
の要求があったときには、DRAM2へのアクセスが終
了した後にDRAM2に対するリフレッシュ制御を行な
い、DRAM2に対するリフレッシュ制御が行なわれて
いるときにDRAM2へのアクセスの要求があったとき
には、DRAM2に対するリフレッシュ制御が終了した
後にDRAM2へのアクセスを行ない、DRAM2への
アクセスの要求とDRAM2に対するリフレッシュ制御
の要求とが同時に発生したときには、DRAM2に対す
るリフレッシュ制御を行なった後にDRAM2へのアク
セスを行なう。
The selector 10 includes a refresh control means 9
The address signal output from the refresh address generating means 5 or the logic circuit 3 based on the selection signal from
And outputs the selected column address signal to the DRAM 2. In this case, the refresh control means 9
When there is only one of the access request to the AM 2 and the refresh control request to the DRAM 2, the request is executed, and when the access to the DRAM 2 is performed, the refresh control request to the DRAM 2 is issued. After the access to the DRAM 2 is completed, the refresh control for the DRAM 2 is performed. When the access control to the DRAM 2 is requested while the refresh control for the DRAM 2 is being performed, the access to the DRAM 2 is performed after the refresh control for the DRAM 2 is completed. When a request for access to the DRAM 2 and a request for refresh control for the DRAM 2 are simultaneously generated, the access to the DRAM 2 is performed after the refresh control for the DRAM 2 is performed.

【0027】以下、第1の実施形態に係る半導体回路図
を構成する前記の各手段について、具体的に説明する。
尚、第1の実施形態においては、所定時間の間隔をおい
てメモリセル群1に対してリフレッシュを実行する分散
リフレッシュ方式を採用している。
Hereinafter, each of the above-described units constituting the semiconductor circuit diagram according to the first embodiment will be specifically described.
In the first embodiment, a distributed refresh method in which the memory cell group 1 is refreshed at predetermined time intervals is employed.

【0028】リフレッシュ間隔計時手段4は、クロック
によって更新されるカウンタを計時用のタイマとして有
しており、所定の時間が経過する毎にタイミング信号を
出力する。
The refresh interval timer 4 has a counter updated by a clock as a timer for clocking, and outputs a timing signal every time a predetermined time elapses.

【0029】リフレッシュアドレス発生手段5は、リフ
レッシュ間隔計時手段4から出力されるタイミング信号
が入力すると、メモリセル群1を示すアドレスを更新し
てアドレス信号(リフレッシュ列アドレス信号)を出力
する。このアドレス信号は位相記憶テーブル7のフィー
ルドを示す機能をも有している。
When the timing signal output from the refresh interval timer 4 is input, the refresh address generator 5 updates the address indicating the memory cell group 1 and outputs an address signal (refresh column address signal). This address signal also has a function of indicating a field of the phase storage table 7.

【0030】ここで、リフレッシュ間隔計時手段4から
タイミング信号が出力される所定の時間間隔について図
2及び図3を参照しながら説明する。
Here, the predetermined time interval at which the timing signal is output from the refresh interval timer 4 will be described with reference to FIGS.

【0031】図2はタイミング信号が出力される所定の
時間間隔を求めるための第1の方法を示しており、図2
に示すように、DRAM2の外部仕様として定められデ
ータ保持時間から、リフレッシュの要求とリフレッシュ
の実行との間の最大遅延時間(リフレッシュの要求があ
ってからリフレッシュの実行が行なわれるまで遅延時間
の最大値)を減じた時間を、メモリセル群1の数で割る
ことにより所定の時間間隔が得られる。このようにする
理由は、もし、リフレッシュの要求後にリフレッシュが
実行されるまでの遅延時間を考慮することなく、データ
保持時間が最も短いメモリセル群のデータ保持時間をメ
モリセル群1の数で割ることにより得られる時間を所定
の時間間隔とするならば、リフレッシュの実行要求があ
ったときにロジック回路3がDRAM2にアクセスして
いる場合において、リフレッシュの実行が遅延している
間にリフレッシュの対象となるメモリセル群1のデータ
が揮発してしまう恐れがあるからである。
FIG. 2 shows a first method for obtaining a predetermined time interval at which the timing signal is output.
As shown in FIG. 2, the maximum delay time between the refresh request and the execution of the refresh (the maximum delay time from when the refresh request is made until the refresh is performed) is determined from the data holding time defined as the external specification of the DRAM 2. A predetermined time interval can be obtained by dividing the time obtained by subtracting (value) by the number of memory cell groups 1. The reason for this is that the data holding time of the memory cell group having the shortest data holding time is divided by the number of memory cell groups 1 without considering the delay time from when the refresh request is made until the refresh is executed. If the logic circuit 3 accesses the DRAM 2 when there is a refresh execution request, the refresh target is set while the refresh execution is delayed. This is because the data of the memory cell group 1 may be volatilized.

【0032】図3はタイミング信号が出力される所定の
時間間隔を求めるための第2の方法を示している。とこ
ろで、リフレッシュ制御手段3は、リフレッシュ間隔計
時手段4から出力されるタイミング信号に合わせてメモ
リセル群1に対するリフレッシュ制御を行なうが、この
ときにロジック回路3がDRAM2にアクセスしている
と、リフレッシュ制御手段3はDRAM2へのアクセス
が完了してからロジック回路3のアクセスを調停し、そ
の後、メモリセル群1に対するリフレッシュ制御を行な
う。従って、図3に示すように、DRAM2を構成する
すべてのメモリセル群のうちでデータ保持時間が最も短
いメモリセル群のデータ保持時間をメモリセル群1の数
で割って得られる時間から、少なくとも1回のDRAM
2へのアクセス時間を減じることにより、所定の時間間
隔が得られる。このようにする理由は、もし、ロジック
回路3のDRAM2へのアクセス時間を考慮することな
く、データ保持時間が最も短いメモリセル群のデータ保
持時間をメモリセル群1の数で割ることにより得られる
時間を所定の時間間隔とするならば、リフレッシュ制御
手段3がリフレッシュを行おうとしたときにロジック回
路2がDRAM1に対してアクセス中であると、リフレ
ッシュの実行が遅れるため、リフレッシュの実行が遅延
している間にリフレッシュの対象となるメモリセル群1
のデータが揮発してしまう恐れがあるからである。
FIG. 3 shows a second method for obtaining a predetermined time interval at which the timing signal is output. By the way, the refresh control means 3 performs the refresh control on the memory cell group 1 in accordance with the timing signal output from the refresh interval time counting means 4, but if the logic circuit 3 is accessing the DRAM 2 at this time, the refresh control is performed. The means 3 arbitrates the access of the logic circuit 3 after the access to the DRAM 2 is completed, and thereafter performs the refresh control on the memory cell group 1. Therefore, as shown in FIG. 3, at least the time obtained by dividing the data holding time of the memory cell group having the shortest data holding time by the number of memory cell groups 1 among all the memory cell groups constituting the DRAM 2 is shown. One DRAM
By reducing the access time to 2, a predetermined time interval is obtained. The reason for this is obtained by dividing the data holding time of the memory cell group having the shortest data holding time by the number of memory cell groups 1 without considering the access time of the logic circuit 3 to the DRAM 2. If the time is set to a predetermined time interval, if the logic circuit 2 is accessing the DRAM 1 when the refresh control unit 3 attempts to perform the refresh, the refresh execution is delayed, so that the refresh execution is delayed. Cell group 1 to be refreshed while
This is because there is a risk that the data of this will volatilize.

【0033】尚、図3に示す第2の方法により得られる
所定の時間間隔に基づいてリフレッシュ間隔計時手段4
からタイミング信号が出力される場合には、リフレッシ
ュ制御手段3が実際にリフレッシュの制御を行なう度毎
に、リフレッシュ間隔計時手段4は初期化されて新たに
計時を開始すると共に、リフレッシュアドレス発生手段
5はメモリセル群1を示すアドレスを更新してアドレス
信号を出力する。
The refresh interval timer 4 is based on a predetermined time interval obtained by the second method shown in FIG.
, The refresh interval time counting means 4 is initialized every time the refresh control means 3 actually controls the refresh, and a new time is started. Updates the address indicating the memory cell group 1 and outputs an address signal.

【0034】位相カウンタ6は、リフレッシュアドレス
発生手段5から出力されるアドレス信号の入力を受け、
メモリセル群1を示すアドレスの更新が一巡する毎に、
アドレスの巡回目に応じた基準信号を出力する。
The phase counter 6 receives the input of the address signal output from the refresh address generating means 5,
Every time the address indicating the memory cell group 1 is updated,
A reference signal corresponding to the cycle of the address is output.

【0035】位相記憶テーブル7は、メモリセル群1毎
にリフレッシュ情報を記憶していると共に、リフレッシ
ュアドレス発生手段5から出力されるアドレス信号が入
力するとリフレッシュ情報に応じたリフレッシュ情報信
号を出力する。
The phase storage table 7 stores refresh information for each memory cell group 1 and, when an address signal output from the refresh address generating means 5 is input, outputs a refresh information signal corresponding to the refresh information.

【0036】位相比較手段8は、位相カウンタ6から出
力される基準信号及び位相記憶テーブル7から出力され
るリフレッシュ情報信号の入力を受け、入力された基準
信号とリフレッシュ情報信号とが互いに対応するときに
リフレッシュ実行要求信号を出力する。
The phase comparing means 8 receives the input of the reference signal output from the phase counter 6 and the refresh information signal output from the phase storage table 7, and when the input reference signal and the refresh information signal correspond to each other. To output a refresh execution request signal.

【0037】ここで、位相カウンタ6が出力する基準信
号、位相記憶テーブル7が記憶しているリフレッシュ情
報、及び位相比較手段8が基準信号とリフレッシュ情報
信号とを比較する具体的な方法について、メモリセル群
1が4つの場合を例にとって図4を参照しながら説明す
る。
Here, the reference signal output from the phase counter 6, the refresh information stored in the phase storage table 7, and the specific method by which the phase comparison means 8 compares the reference signal with the refresh information signal will be described. An example in which the number of cell groups 1 is four will be described with reference to FIG.

【0038】位相カウンタ6は基準信号として、アドレ
スの1巡目にはb00を出力し、アドレスの2巡目には
b01を出力し、アドレスの3巡目にはb10が出力さ
れ、アドレスの4巡目にはb11を出力し、以後アドレ
スの巡回目毎に前記の基準信号を繰り返し出力する。
The phase counter 6 outputs b00 as a reference signal in the first cycle of the address, outputs b01 in the second cycle of the address, b10 in the third cycle of the address, and outputs b10 in the third cycle of the address. B11 is output at the round, and the above-mentioned reference signal is repeatedly output at each round of the address thereafter.

【0039】位相記憶テーブル7はリフレッシュ情報と
して、A0のアドレスを持つ第1のメモリセル群につい
てはb00(スキップの回数:0又はリフレッシュの周
期:1を意味する)を記憶し、A1のアドレスを持つ第
2のメモリセル群についてはb11(スキップの回数:
3又はリフレッシュの周期:4を意味する)を記憶し、
A2のアドレスを持つ第3のメモリセル群についてはb
00(スキップの回数:0又はリフレッシュの周期:1
を意味する)を記憶し、A3のアドレスを持つ第4のメ
モリセル群についてはb01(スキップの回数:1又は
リフレッシュの周期:2を意味する)を記憶しており、
記憶しているリフレッシュ情報をリフレッシュ情報信号
として出力する。尚、スキップの回数とは、該当するメ
モリセル群に対してリフレッシュの要求があったときに
リフレッシュの実行を行なうことなくスキップする回数
を意味し、スキップの周期とは、該当するメモリセル群
に対してリフレッシュの要求があったときにリフレッシ
ュの実行を行なう周期を意味する。例えば、第4のメモ
リセル群に対してスキップの回数:1を記憶する意味は
次のとおりである。すなわち、タイミング信号は最も短
いデータ保持時間に合わせて出力されるので、第4のメ
モリセル群のデータ保持時間が、最も短いデータ保持時
間を持つメモリセル群(例えば、第1又は第3のメモリ
セル群)のデータ保持時間の2倍以上である場合には、
第4のメモリセル群に対してはリフレッシュの実行が1
回スキップしてもデータが揮発する恐れはない。
The phase storage table 7 stores b00 (meaning the number of skips: 0 or the refresh cycle: 1) for the first memory cell group having the address of A0 as the refresh information, and stores the address of A1. B11 (the number of skips:
3 or refresh cycle: 4)
B for the third memory cell group having the address of A2
00 (number of skips: 0 or refresh cycle: 1)
And the fourth memory cell group having the address of A3 stores b01 (means skip count: 1 or refresh cycle: 2).
The stored refresh information is output as a refresh information signal. The number of skips means the number of skips without performing a refresh when a refresh request is issued to a corresponding memory cell group, and the skip cycle means On the other hand, it means a cycle in which refresh is executed when a refresh request is issued. For example, the meaning of storing the number of skips: 1 for the fourth memory cell group is as follows. That is, since the timing signal is output according to the shortest data holding time, the data holding time of the fourth memory cell group is changed to the memory cell group having the shortest data holding time (for example, the first or third memory cell group). If it is more than twice the data retention time of the cell group),
For the fourth memory cell group, execution of refresh is 1
There is no danger of data volatilizing even if skipped twice.

【0040】位相比較手段8が基準信号とリフレッシュ
情報信号とを比較する具体的な方法は次のとおりであ
る。すなわち、位相比較手段8は、位相カウンタ6が出
力する基準信号(b00、b01、b10、b11)
と、位相記憶テーブル7から出力されるリフレッシュ情
報信号(b00、b11、b00、b01)とを比較
し、両者が予め定められた関係を満たすときには、リフ
レッシュ実行要求信号を出力する。
The specific method by which the phase comparing means 8 compares the reference signal with the refresh information signal is as follows. That is, the phase comparison means 8 outputs the reference signals (b00, b01, b10, b11) output from the phase counter 6.
And a refresh information signal (b00, b11, b00, b01) output from the phase storage table 7, and when both satisfy a predetermined relationship, a refresh execution request signal is output.

【0041】例えば、図4に示す例では、リフレッシュ
情報信号としてb00を持つメモリセル群(A0及びA
2)に対しては、基準信号の種類に拘わらずリフレッシ
ュ実行要求信号を出力し、リフレッシュ情報信号として
b01を持つメモリセル群(A3)に対しては、基準信
号がb00又はb10のときにリフレッシュ実行要求信
号を出力し、リフレッシュ情報信号としてb11を持つ
メモリセル群(A1)に対しては、基準信号がb00の
ときにリフレッシュ実行要求信号を出力する。従って、
b00の基準信号が出力される第1巡目においては、A
0、A1、A2、A3のメモリセル群に対してリフレッ
シュ実行要求信号が出力され、b01の基準信号が出力
される第2巡目においては、A0、A2のメモリセル群
に対してリフレッシュ実行要求信号が出力され、b10
の基準信号が出力される第3巡目においては、A0、A
2、A3のメモリセル群に対してリフレッシュ実行要求
信号が出力され、b11の基準信号が出力される第4巡
目においては、A0、A2のメモリセル群に対してリフ
レッシュ実行要求信号が出力される。この結果、A0の
メモリセル群はスキップ回数が0となり、A1のメモリ
セル群はスキップ回数が3となり、A2のメモリセル群
はスキップ回数が0となり、A3のメモリセル群はスキ
ップ回数が1となる。
For example, in the example shown in FIG. 4, a memory cell group (A0 and A0) having b00 as a refresh information signal
For (2), a refresh execution request signal is output irrespective of the type of reference signal, and for the memory cell group (A3) having b01 as the refresh information signal, refresh is performed when the reference signal is b00 or b10. An execution request signal is output, and a refresh execution request signal is output to the memory cell group (A1) having b11 as the refresh information signal when the reference signal is b00. Therefore,
In the first cycle where the reference signal of b00 is output, A
In the second cycle in which the refresh execution request signal is output to the memory cell groups 0, A1, A2, and A3 and the reference signal b01 is output, the refresh execution request signal is output to the memory cell groups A0 and A2. A signal is output and b10
In the third round in which the reference signal is output, A0, A
In the fourth cycle in which the refresh execution request signal is output to the memory cell group A2 and A3 and the reference signal b11 is output, the refresh execution request signal is output to the memory cell groups A0 and A2. You. As a result, the memory cell group of A0 has the skip count of 0, the memory cell group of A1 has the skip count of 3, the memory cell group of A2 has the skip count of 0, and the memory cell group of A3 has the skip count of 1. Become.

【0042】このようにして、各メモリセル群毎のデー
タ保持時間に応じてリフレッシュの実行をスキップする
ことができるので、リフレッシュの実行回数を削減する
ことが可能になる。
In this manner, the execution of the refresh can be skipped according to the data holding time of each memory cell group, so that the number of times the refresh is executed can be reduced.

【0043】尚、データ保持時間が満たされる周期で各
メモリセル群のリフレッシュが行なわれる限り、位相カ
ウンタ6から出力される基準信号、位相記憶テーブル7
から出力されるリフレッシュ情報信号、及び位相比較手
段8がリフレッシュ実行要求信号を出力するための基準
信号とリフレッシュ情報信号との組み合わせについて
は、適宜設定することができる。
As long as each memory cell group is refreshed in a cycle in which the data holding time is satisfied, the reference signal output from the phase counter 6 and the phase storage table 7
And the combination of the reference signal and the refresh information signal for the phase comparison means 8 to output the refresh execution request signal can be appropriately set.

【0044】また、第1の実施形態においては、DRA
M2を構成するメモリセル群1の数は4であったが、メ
モリセル群1が増減する場合には、メモリセル群1の増
減に応じて、リフレッシュアドレス発生手段5が出力す
るアドレス信号のアドレス長、及び位相記憶テーブル7
のフィールドの数を増減することにより対応できる。
In the first embodiment, the DRA
Although the number of memory cell groups 1 forming M2 is four, if the number of memory cell groups 1 increases or decreases, the address of the address signal output from the refresh address generation means 5 according to the increase or decrease of the memory cell group 1. Length and phase storage table 7
This can be handled by increasing or decreasing the number of fields.

【0045】また、第1の実施形態においては、リフレ
ッシュをスキップする回数が0回、1回及び3回の場合
を示したが、スキップの回数は2N −1(Nは0以上の
整数)に含まれる値の中から選択可能である。この場合
には、位相カウンタ6が出力する基準信号の語長、位相
記憶テーブル7が出力するリフレッシュ情報信号の語
長、及び位相比較手段8がリフレッシュ実行要求信号を
出力するための基準信号とリフレッシュ情報信号との組
み合わせを、スキップの回数に応じて変更すればよい。
In the first embodiment, the case where the number of times of skipping the refresh is 0, 1, and 3 has been described. However, the number of skips is 2 N -1 (N is an integer of 0 or more). Can be selected from among the values included in. In this case, the word length of the reference signal output from the phase counter 6, the word length of the refresh information signal output from the phase storage table 7, and the reference signal and the refresh signal for the phase comparison means 8 to output the refresh execution request signal. The combination with the information signal may be changed according to the number of skips.

【0046】また、第1の実施形態においては、位相記
憶テーブル7はリフレッシュ情報として、スキップの回
数又はリフレッシュの周期を持っていたが、これに代え
て、データ保持時間を持っていてもよい。この場合に
は、データ保持時間を丸めておくと、位相比較手段8が
リフレッシュ実行要求信号を出力するための基準信号と
リフレッシュ情報信号との組み合わせの設定が容易にな
る。
In the first embodiment, the phase storage table 7 has the number of skips or the refresh cycle as the refresh information, but may have a data holding time instead. In this case, if the data holding time is rounded, it becomes easy to set the combination of the reference signal and the refresh information signal for the phase comparison means 8 to output the refresh execution request signal.

【0047】また、第1の実施形態においては、所定の
時間間隔をおいてメモリセル群1に対してリフレッシュ
を実行する分散リフレッシュ方式を採用したため、1回
のリフレッシュ要求に対するリフレッシュの実行は1つ
のメモリセル群に対して行われるが、これに代えて、1
回のリフレッシュ要求に対して予め定められた複数個の
メモリセル群1に対してリフレッシュの実行を行なって
もよい。この場合には、リフレッシュアドレス発生手段
5は、リフレッシュを実行するメモリセル群1の数だけ
メモリセル群1を示すアドレスを更新してアドレス信号
を出力する。
Further, in the first embodiment, the distributed refresh method in which refresh is performed on the memory cell group 1 at a predetermined time interval is employed, so that one refresh request is executed by one refresh request. This is performed on the memory cell group.
Refresh may be performed on a plurality of memory cell groups 1 determined in advance in response to a refresh request. In this case, the refresh address generation means 5 updates the address indicating the memory cell group 1 by the number of memory cell groups 1 to be refreshed, and outputs an address signal.

【0048】特開平4−34794に示されている方式
では、メモリセル群毎にクロック計数手段及び比較手段
が設けられていたため、DRAMを構成するメモリセル
群の数だけ例えば数百〜数千個のクロック計数手段及び
比較手段が必要になるので、回路規模が大きくならざる
を得なかった。これに対して、第1の実施形態による
と、特開平4−34794に示されるクロック計数手段
及び比較手段と回路規模がほぼ等しい位相カウンタ6及
び位相比較手段8を全体として1個づつ備えると共に、
全体として1個の位相記憶テーブル7を備えているだけ
であるから、全体としての回路規模は著しく小さくな
る。
In the method disclosed in Japanese Patent Application Laid-Open No. 4-34794, since a clock counting means and a comparing means are provided for each memory cell group, for example, several hundred to several thousand memory cells are provided by the number of memory cells constituting the DRAM. Since the clock counting means and the comparing means are required, the circuit scale must be increased. On the other hand, according to the first embodiment, the phase counter 6 and the phase comparing means 8 each having a circuit scale substantially equal to that of the clock counting means and the comparing means disclosed in Japanese Patent Application Laid-Open No. 4-34794 are provided one by one.
Since only one phase storage table 7 is provided as a whole, the circuit scale as a whole is significantly reduced.

【0049】(第2の実施形態)以下、本発明の第2の
実施形態に係る半導体回路について、図5及び図6を参
照しながら説明する。
(Second Embodiment) A semiconductor circuit according to a second embodiment of the present invention will be described below with reference to FIGS.

【0050】図5は、第2の実施形態に係るDRAMと
ロジック回路とが混載された半導体回路におけるリフレ
ッシュの実行に必要な部分の回路を示している。第2の
実施形態においては、第1の実施形態と同様な機能を持
つ、メモリセル群1、DRAM2、ロジック回路3、タ
イミング信号発生手段としてのリフレッシュ間隔計時手
段4、アドレス信号発生手段としてのリフレッシュアド
レス発生手段5、リフレッシュ情報記憶手段としての位
相記憶テーブル7、リフレッシュ制御手段9及びセレク
タ10を備えているので、第1の実施形態と同様の符号
を付すことにより、説明を省略する。
FIG. 5 shows a circuit of a portion necessary for executing refresh in a semiconductor circuit in which a DRAM and a logic circuit according to the second embodiment are mounted together. In the second embodiment, a memory cell group 1, a DRAM 2, a logic circuit 3, a refresh interval timer 4 as a timing signal generator, and a refresh as an address signal generator having functions similar to those of the first embodiment. Since there are provided an address generation means 5, a phase storage table 7 as a refresh information storage means, a refresh control means 9 and a selector 10, the same reference numerals as in the first embodiment are used and the description is omitted.

【0051】第2の実施形態の特徴として、リフレッシ
ュアドレス発生手段5から出力されるアドレス信号の入
力を受け、メモリセル群1を示すアドレスの更新が一巡
する毎に、アドレスの巡回目に応じた基準信号を出力す
る基準信号発生手段としての第1の位相カウンタ6A及
び第2の位相カウンタ6Bと、第1の位相カウンタ6A
から出力される第1の基準信号、第2の位相カウンタ6
Bから出力される第2の基準信号及び位相記憶テーブル
7から出力されるリフレッシュ情報信号の入力を受け、
入力されたリフレッシュ情報信号と第1の基準信号又は
第2の基準信号とが互いに対応するときにリフレッシュ
実行要求信号を出力する要求信号発生手段としての位相
比較手段8とを備えている。
As a feature of the second embodiment, each time an address signal output from the refresh address generating means 5 is input and the address indicating the memory cell group 1 is updated, the address corresponding to the cycle of the address is updated. A first phase counter 6A and a second phase counter 6B as reference signal generating means for outputting a reference signal, and a first phase counter 6A
Reference signal output from the second phase counter 6
Receiving the second reference signal output from B and the refresh information signal output from the phase storage table 7,
Phase comparison means 8 is provided as a request signal generation means for outputting a refresh execution request signal when the input refresh information signal and the first reference signal or the second reference signal correspond to each other.

【0052】図6に示すように、第1の位相カウンタ6
Aは、第1の実施形態と同様に、第1の基準信号とし
て、アドレスの1巡目にはb00を出力し、アドレスの
2巡目にはb01を出力し、アドレスの3巡目にはb1
0を出力し、アドレスの4巡目にはb11を出力し、こ
れらの第1の基準信号をアドレスの巡回目毎に繰り返し
出力する。また、第2の位相カウンタ6Bは、第2の基
準信号として、アドレスの1巡目にはb00を出力し、
アドレスの2巡目にはb01を出力し、アドレスの3巡
目にはb10を出力し、これらの第2の基準信号をアド
レスの巡回目毎に繰り返し出力する。つまり、第2の位
相カウンタ6Bは、アドレスの4巡目には、b11を出
力することなく、b00を出力する。
As shown in FIG. 6, the first phase counter 6
A outputs b00 as the first reference signal in the first cycle of the address, b01 in the second cycle of the address, and b01 in the third cycle of the address, as in the first embodiment. b1
0 is output, b11 is output in the fourth cycle of the address, and these first reference signals are repeatedly output for each cycle of the address. Also, the second phase counter 6B outputs b00 as the second reference signal in the first cycle of the address,
B01 is output in the second cycle of the address, b10 is output in the third cycle of the address, and these second reference signals are repeatedly output for each cycle of the address. That is, the second phase counter 6B outputs b00 in the fourth cycle of the address without outputting b11.

【0053】位相記憶テーブル7は、リフレッシュ情報
として、A0のアドレスを持つ第1のメモリセル群につ
いてはb00(スキップの回数:0又はリフレッシュの
周期:1を意味する)を記憶し、A1のアドレスを持つ
第2のメモリセル群についてはb11(スキップの回
数:3又はリフレッシュの周期:4を意味する)を記憶
し、A2のアドレスを持つ第3のメモリセル群について
はb10(スキップの回数:2又はリフレッシュの周
期:3を意味する)を記憶し、A3のアドレスを持つ第
4のメモリセル群についてはb01(スキップの回数:
1又はリフレッシュの周期:2を意味する)を記憶して
おり、記憶しているリフレッシュ情報をリフレッシュ情
報信号として出力する。
The phase storage table 7 stores b00 (meaning the number of skips: 0 or the refresh cycle: 1) for the first memory cell group having the address of A0 as the refresh information, and stores the address of A1. B11 (meaning the number of skips: 3 or the refresh cycle: 4) is stored for the second memory cell group having the following, and b10 (the number of skips: 2 or refresh cycle: 3), and b01 (the number of skips: 4) for the fourth memory cell group having the address of A3
1 or a refresh cycle: 2), and outputs the stored refresh information as a refresh information signal.

【0054】位相比較手段8は、A0のアドレスを持つ
第1のメモリセル群、A1のアドレスを持つ第2のメモ
リセル群及びA3のアドレスを持つ第4のメモリセル群
については、リフレッシュ情報信号と第1の基準信号と
を比較すると共に、A2のアドレスを持つ第3のメモリ
セル群については、リフレッシュ情報信号と第2の基準
信号とを比較する。
The phase comparing means 8 supplies a refresh information signal to the first memory cell group having the address A0, the second memory cell group having the address A1 and the fourth memory cell group having the address A3. And the first reference signal, and for the third memory cell group having the address of A2, the refresh information signal is compared with the second reference signal.

【0055】例えば、図6に示す例では、リフレッシュ
情報信号としてb00を持つ第1のメモリセル群(A
0)に対しては、第1の基準信号の種類に拘わらずリフ
レッシュ実行要求信号を出力し、リフレッシュ情報信号
としてb11を持つ第2のメモリセル群(A1)に対し
ては、第1の基準信号がb00のときにリフレッシュ実
行要求信号を出力し、リフレッシュ情報信号としてb1
0を持つ第3のメモリセル群(A2)に対しては、第2
の基準信号がb00のときにリフレッシュ実行要求信号
を出力し、リフレッシュ情報信号としてb01を持つ第
4のメモリセル群(A3)に対しては、第1の基準信号
がb00又はb10のときにリフレッシュ実行要求信号
を出力する。
For example, in the example shown in FIG. 6, the first memory cell group (A
0), a refresh execution request signal is output irrespective of the type of the first reference signal. For the second memory cell group (A1) having b11 as the refresh information signal, the first reference signal is output. When the signal is b00, a refresh execution request signal is output, and b1 is used as a refresh information signal.
For the third memory cell group (A2) having 0, the second
When the first reference signal is b00 or b10, the refresh execution request signal is output when the first reference signal is b00 or b10, and the fourth memory cell group (A3) having b01 as the refresh information signal is refreshed. Outputs an execution request signal.

【0056】従って、位相比較手段8は、第1の基準信
号及び第2の基準信号としてb00が出力される第1巡
目においては、A0、A1、A2、A3のメモリセル群
に対してリフレッシュ実行要求信号を出力し、第1の基
準信号及び第2の基準信号としてb01の基準信号が出
力される第2巡目においては、A0のメモリセル群に対
してリフレッシュ実行要求信号を出力し、第1の基準信
号及び第2の基準信号としてb10の基準信号が出力さ
れる第3巡目においては、A0、A3のメモリセル群に
対してリフレッシュ実行要求信号を出力し、第1の基準
信号としてb11が出力されると共に第2の基準信号と
してb00が出力される第4巡目においては、A0、A
2のメモリセル群に対してリフレッシュ実行要求信号を
出力し、第1の基準信号としてb00が出力されると共
に第2の基準信号としてb01が出力される第5巡目に
おいては、A0、A1、A3のメモリセル群に対してリ
フレッシュ実行要求信号を出力する。この結果、A0の
メモリセル群はスキップ回数が0となり、A1のメモリ
セル群はスキップ回数が3となり、A2のメモリセル群
はスキップ回数が2となり、A3のメモリセル群はスキ
ップ回数が1となる。つまり、第1の実施形態において
は、スキップ回数は0回、1回及び3回の3種類であっ
たが、第2の実施形態においては、アドレスの4巡目に
は再びアドレスの1巡目に戻る第2の基準信号を出力す
る第2の位相カウンタ6Bを備えているため、スキップ
回数は0回、1回、2回及び3回の4種類である。
Therefore, in the first cycle in which b00 is output as the first reference signal and the second reference signal, the phase comparison means 8 refreshes the memory cell groups A0, A1, A2, and A3. In the second cycle in which the execution request signal is output and the reference signal of b01 is output as the first reference signal and the second reference signal, the refresh execution request signal is output to the memory cell group of A0. In the third cycle in which the reference signal b10 is output as the first reference signal and the second reference signal, a refresh execution request signal is output to the memory cell groups A0 and A3, and the first reference signal is output. In the fourth cycle in which b11 is output and b00 is output as the second reference signal, A0, A
In the fifth cycle in which the refresh execution request signal is output to the memory cell group No. 2 and b00 is output as the first reference signal and b01 is output as the second reference signal, A0, A1,. A refresh execution request signal is output to the memory cell group A3. As a result, the memory cell group of A0 has a skip count of 0, the memory cell group of A1 has a skip count of 3, the memory cell group of A2 has a skip count of 2, and the memory cell group of A3 has a skip count of 1. Become. That is, in the first embodiment, the number of skips is of three types: 0, 1, and 3, but in the second embodiment, the first cycle of the address is again performed in the fourth cycle of the address. Since the second phase counter 6B for outputting the second reference signal returning to the above is provided, the number of skips is four, that is, 0, 1, 2, and 3.

【0057】尚、第2の実施形態においては、基準信号
発生手段としての第1の位相カウンタ6A及び第2の位
相カウンタ6Bを設けて、スキップ回数を0回、1回、
2回及び3回の4種類に設定したが、基準信号発生手段
としての位相カウンタの数を増加すると共に、位相比較
手段8が複数の位相カウンタからそれぞれ出力される基
準信号と位相記憶テーブル7から出力されるリフレッシ
ュ情報信号とを比較してリフレッシュ実行要求信号を出
力するようにすれば、スキップ回数の種類を増加するこ
とができる。
In the second embodiment, a first phase counter 6A and a second phase counter 6B are provided as reference signal generating means, and the number of skips is 0, 1 and 2.
Although the number of phase counters is set to two or three, the number of phase counters as reference signal generating means is increased, and the phase comparing means 8 outputs the reference signals output from the plurality of phase counters and the phase storage table 7. If the refresh execution request signal is output by comparing the output with the refresh information signal to be output, the type of the number of skips can be increased.

【0058】第2の実施形態によると、第1の実施形態
に比べて、位相カウンタの数を1個又は複数個増加する
だけで、スキップの回数又はスキップの周期の種類を増
加することができる。
According to the second embodiment, as compared with the first embodiment, the number of skips or the type of the skip period can be increased simply by increasing the number of phase counters by one or more. .

【0059】ところで、必要になる位相カウンタの数
は、スキップの回数又はスキップの周期の種類の数によ
って決定されるが、64MbのDRAMにおいては、高
々10個のリフレッシュ周期で十分である(Youji Idei
他, Dual-Period Self-RefreshScheme for Low-Power D
RAM's with On-Chip PRAM Mode Register、IEEE Journa
l of Solid-State Circuits1998)と報告されているの
で、通常、リフレッシュのスキップの回数又は周期の種
類は1〜8のいずれかで十分である。リフレッシュのス
キップの回数又は周期の種類が8の場合には、リフレッ
シュの実行をスキップする回数は7とおり(1、2、
3、……、7回)であるから、位相カウンタの数は4個
で十分である。具体的には、1、2、4、8倍の周期つ
まり0回(b000)、1回(b001)、3回(b011)、7回(b111)
のスキップ回数を計数する第1の位相カウンタ(b111でb
000に初期化)と、3、6倍の周期つまり2回(b010)、5
回(b101)のスキップ回数を計数する第2の位相カウンタ
(b101でb000に初期化)と、5倍の周期つまり4回(b100)
のスキップ回数を計数する第3の位相カウンタと、7倍
の周期つまり6回(b110)のスキップ回数を計数する第4
の位相カウンタ(b110でb000に初期化)からなる4個の位
相カウンタを備えておればよい。
The number of necessary phase counters is determined by the number of skips or the number of types of skip cycles. In a 64 Mb DRAM, at most ten refresh cycles are sufficient (Youji Idei).
Other, Dual-Period Self-RefreshScheme for Low-Power D
RAM's with On-Chip PRAM Mode Register, IEEE Journa
l of Solid-State Circuits 1998), usually, any one of 1 to 8 is sufficient as the number of refresh skips or the type of cycle. When the number of refresh skips or the cycle type is 8, the number of refresh skips is seven (1, 2,.
3,..., 7), therefore, four phase counters are sufficient. Specifically, 1, 2, 4, and 8 times the cycle, that is, 0 times (b000), 1 time (b001), 3 times (b011), and 7 times (b111)
1st phase counter (b111
000), and a cycle three or six times, that is, twice (b010), 5
Phase counter for counting the number of skips (b101)
(initialized to b000 in b101), 5 times cycle, ie 4 times (b100)
And a fourth phase counter for counting the number of skips of seven times the cycle, that is, six times (b110).
It is only necessary to provide four phase counters composed of the above phase counters (initialized to b000 in b110).

【0060】(第3の実施形態)以下、本発明の第3の
実施形態に係る半導体回路について、図7を参照しなが
ら説明する。
(Third Embodiment) A semiconductor circuit according to a third embodiment of the present invention will be described below with reference to FIG.

【0061】図7は、第3の実施形態に係るDRAMと
ロジック回路とが混載された半導体回路におけるリフレ
ッシュの実行に必要な部分の回路を示している。第3の
実施形態においては、第1の実施形態と同様な機能を持
つ、メモリセル群1、DRAM2、ロジック回路3、ア
ドレス信号発生手段としてのリフレッシュアドレス発生
手段5、基準信号発生手段としての位相カウンタ6、リ
フレッシュ情報記憶手段としての位相記憶テーブル7、
要求信号発生手段としての位相比較手段8、リフレッシ
ュ制御手段9及びセレクタ10を備えているので、第1
の実施形態と同様の符号を付すことにより、説明を省略
する。
FIG. 7 shows a part of a circuit necessary for executing refresh in a semiconductor circuit in which a DRAM and a logic circuit according to the third embodiment are mounted. In the third embodiment, a memory cell group 1, a DRAM 2, a logic circuit 3, a refresh address generator 5 as an address signal generator, and a phase as a reference signal generator having the same functions as those of the first embodiment. A counter 6, a phase storage table 7 as refresh information storage means,
Since it includes the phase comparison means 8, the refresh control means 9, and the selector 10 as request signal generation means, the first
The description is omitted by attaching the same reference numerals as those of the embodiment.

【0062】第3の実施形態の特徴として、タイミング
信号発生手段としてのリフレッシュ間隔計時手段4は、
DRAM/ロジック混載LSIの製作後に、リフレッシ
ュ間隔時間を設定でき、設定されたリフレッシュ間隔時
間を記憶するリフレッシュ間隔記憶手段4aを有してい
る。リフレッシュ間隔記憶手段4aとしては、例えばf
used ROM、EPROM、EEPROM、flu
sh memory、FPGA又はRAM等を用いるこ
とができる。
As a feature of the third embodiment, the refresh interval timer 4 as a timing signal generator is
After the DRAM / logic embedded LSI is manufactured, a refresh interval time can be set, and a refresh interval storage means 4a for storing the set refresh interval time is provided. As the refresh interval storage means 4a, for example, f
used ROM, EPROM, EEPROM, flu
A sh memory, an FPGA, a RAM, or the like can be used.

【0063】リフレッシュ間隔計時手段4に含まれる、
タイマであるカウンタが計数する値の範囲をリフレッシ
ュ間隔記憶手段4aにより設定することによって、リフ
レッシュ間隔計時手段4から出力されるタイミング信号
の時間間隔を設定することが可能になる。例えば、リフ
レッシュ間隔計時手段4に含まれるカウンタとして、カ
ウントアップを行なうカウンタを用い、該カウンタが計
数するカウント値の上限値をリフレッシュ間隔記憶手段
4aに設定し、カウント値が上限値に達する毎にカウン
タを初期化することにより、リフレッシュ間隔計時手段
4が計時する時間間隔を自由に設定することが可能とな
る。また、リフレッシュ間隔計時手段4に含まれるカウ
ンタとして、カウントダウンを行なうカウンタを用い、
カウント値が最小値になる毎にカウント数をリフレッシ
ュ間隔記憶手段4aに設定された値に初期化しても同様
の機能を実現することができる。
The refresh interval timer 4 includes:
By setting the range of the value counted by the counter, which is a timer, by the refresh interval storage means 4a, it is possible to set the time interval of the timing signal output from the refresh interval timer means 4. For example, a counter that counts up is used as a counter included in the refresh interval timer 4, and the upper limit of the count value counted by the counter is set in the refresh interval storage 4a, and every time the count reaches the upper limit. By initializing the counter, the time interval measured by the refresh interval timer 4 can be freely set. Also, a counter that performs a countdown is used as a counter included in the refresh interval timer 4.
The same function can be realized even if the count value is initialized to the value set in the refresh interval storage means 4a every time the count value becomes the minimum value.

【0064】尚、リフレッシュ間隔記憶手段4aに設定
する値、ひいてはリフレッシュ間隔計時手段4から出力
されるタイミング信号の時間間隔については、第1の実
施形態において説明した第1の方法又は第2の方法によ
り設定する。
The value set in the refresh interval storage means 4a, and hence the time interval of the timing signal output from the refresh interval timer means 4, are the first method or the second method described in the first embodiment. Set by.

【0065】第3の実施形態によると、DRAM/ロジ
ック混載LSIの製作後に、タイミング信号発生手段と
してのリフレッシュ間隔計時手段4から出力されるタイ
ミング信号の時間間隔を設定することが可能になるの
で、DRAM2を構成するメモリセル群1のうちで非常
に短いデータ保持時間を持つメモリセル群1のデータ保
持時間に合わせてタイミング信号の時間間隔を設定する
ことができる。従って、例えば欠陥救済が行なわれた後
に計測されたデータ保持時間が所定の長さを満たさない
メモリセル群が存在する場合でも、該メモリセル群のデ
ータ保持時間に合わせてタイミング信号の時間間隔を設
定できるので、該メモリセル群を含むDRAMが不良品
として扱われる事態を避けることができる。
According to the third embodiment, it is possible to set the time interval of the timing signal output from the refresh interval timer 4 as the timing signal generator after the production of the DRAM / logic embedded LSI. The time interval of the timing signal can be set in accordance with the data retention time of the memory cell group 1 having a very short data retention time among the memory cell groups 1 constituting the DRAM 2. Therefore, for example, even when there is a memory cell group in which the data retention time measured after the defect relief is performed does not satisfy the predetermined length, the time interval of the timing signal is set in accordance with the data retention time of the memory cell group. Since it can be set, it is possible to avoid a situation where the DRAM including the memory cell group is treated as a defective product.

【0066】[0066]

【発明の効果】本発明の半導体回路によると、要求信号
発生手段が、メモリセル群のアドレスの巡回目毎に、メ
モリセル群毎に記憶しているリフレッシュのスキップ回
数、リフレッシュの周期又はデータ保持時間からなるリ
フレッシュ情報に応じて、リフレッシュ実行要求信号を
出力し、リフレッシュ制御手段は、要求信号発生手段か
ら出力されるリフレッシュ実行要求信号に基づいて、該
当するメモリセル群に対してリフレッシュ動作を行なう
ため、該当しないメモリセル群つまりデータ保持時間と
の関係でリフレッシュが不要なメモリセル群に対しては
リフレッシュ動作は行なわれないので、リフレッシュ動
作の低減を小規模な回路で実現することができる。ま
た、リフレッシュ制御手段は、要求信号発生手段から出
力されるリフレッシュ実行要求信号とロジック回路から
DRAMに対するアクセス信号との競合を調停するた
め、通常動作モード時及びセルフ・リフレッシュ・モー
ド時の両モード時において、リフレッシュ動作の低減を
小規模な回路で実現ができる。
According to the semiconductor circuit of the present invention, the request signal generating means is provided for every cycle of the address of the memory cell group, for the number of refresh skips, refresh cycle, or data holding stored for each memory cell group. A refresh execution request signal is output according to the refresh information consisting of time, and the refresh control means performs a refresh operation on the corresponding memory cell group based on the refresh execution request signal output from the request signal generation means. Therefore, the refresh operation is not performed on the memory cell group that does not correspond, that is, the memory cell group that does not need refreshing in relation to the data holding time, so that the refresh operation can be reduced with a small-scale circuit. The refresh control means arbitrates a conflict between the refresh execution request signal output from the request signal generation means and the access signal to the DRAM from the logic circuit, so that the refresh control means operates in both the normal operation mode and the self refresh mode. , The refresh operation can be reduced with a small-scale circuit.

【0067】従って、リフレッシュ動作の低減に伴っ
て、低消費電力化を図ることができると共に、リフレッ
シュ動作とロジック回路のDRAMへのアクセスとの競
合が減少するので、DRAMへのアクセスが待たされる
ことに起因するロジック回路の処理能力の低下を軽減す
ることができる。
Accordingly, the power consumption can be reduced with the reduction in the refresh operation, and the competition between the refresh operation and the access of the logic circuit to the DRAM is reduced. , The decrease in the processing capability of the logic circuit can be reduced.

【0068】本発明の半導体回路において、基準信号発
生手段が1個のカウンタからなると、簡易な構成によっ
て基準信号を出力できるので、リフレッシュ動作の低減
を極めて小規模な回路で実現することができる。
In the semiconductor circuit according to the present invention, if the reference signal generating means comprises one counter, the reference signal can be output with a simple configuration, so that the refresh operation can be reduced with a very small circuit.

【0069】本発明の半導体回路において、基準信号発
生手段が複数個のカウンタからなると、DRAMに対す
るリフレッシュのタイミングを示すタイミング信号の時
間間隔を小さくできるので、データ保持時間との関係で
リフレッシュが不要なメモリセル群に対してきめ細かく
リフレッシュ動作の削除を行なうことができる。従っ
て、とびとびの周期(例えば、1、2、4、8)しか提
供できない場合に、あるメモリセル群のデータ保持時間
をちょうど満たす周期がないため、不必要に短い周期で
リフレッシュしなければならなくなるという事態を回避
することができる。また、この機能を用いることによ
り、データ保持時間が短いメモリセル群をケアすること
が可能になるので、DRAM/ロジック混載LSIの不
良品化を防ぐ効果も得られる。
In the semiconductor circuit according to the present invention, if the reference signal generating means comprises a plurality of counters, the time interval of the timing signal indicating the refresh timing for the DRAM can be reduced, so that refresh is not necessary in relation to the data holding time. The refresh operation can be finely deleted from the memory cell group. Therefore, when only a discrete cycle (for example, 1, 2, 4, 8) can be provided, there is no cycle that exactly satisfies the data holding time of a certain memory cell group, so that refreshing must be performed with an unnecessary short cycle. That situation can be avoided. In addition, by using this function, it is possible to care for a memory cell group having a short data retention time, so that an effect of preventing defective DRAM / logic embedded LSI from being defective can be obtained.

【0070】本発明の半導体回路において、タイミング
信号発生手段が、タイミング信号を出力する時間の間隔
を変更する手段を有していると、DRAM/ロジック混
載LSIの製作後に、タイミング信号発生手段から出力
されるタイミング信号の時間間隔を設定できるため、非
常に短いデータ保持時間を持つメモリセル群のデータ保
持時間に合わせてタイミング信号の時間間隔を設定する
ことによって、データ保持時間の短いメモリセル群が含
まれるDRAMが不良品化する事態を軽減して歩留まり
を向上させることができる。
In the semiconductor circuit of the present invention, if the timing signal generating means has means for changing the time interval for outputting the timing signal, the output from the timing signal generating means after the fabrication of the DRAM / logic embedded LSI. Since the time interval of the timing signal to be set can be set, the memory cell group having a short data holding time can be set by setting the time interval of the timing signal according to the data holding time of the memory cell group having a very short data holding time. It is possible to reduce the situation in which the included DRAM becomes defective, thereby improving the yield.

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

【図1】本発明の第1の実施形態に係る半導体回路の主
要部の回路図である。
FIG. 1 is a circuit diagram of a main part of a semiconductor circuit according to a first embodiment of the present invention.

【図2】本発明の各実施形態に適用される、リフレッシ
ュ間隔計時手段からタイミング信号が出力される所定の
時間間隔を設定する第1の方法を説明する図である。
FIG. 2 is a diagram illustrating a first method applied to each embodiment of the present invention for setting a predetermined time interval at which a timing signal is output from a refresh interval timer.

【図3】本発明の各実施形態に適用される、リフレッシ
ュ間隔計時手段からタイミング信号が出力される所定の
時間間隔を設定する第2の方法を説明する図である。
FIG. 3 is a diagram illustrating a second method applied to each embodiment of the present invention for setting a predetermined time interval at which a timing signal is output from a refresh interval timer.

【図4】本発明の第1の実施形態に係る半導体回路にお
いて、位相比較手段が基準信号とリフレッシュ情報信号
とを比較する方法を説明する図である。
FIG. 4 is a diagram illustrating a method in which a phase comparison unit compares a reference signal and a refresh information signal in the semiconductor circuit according to the first embodiment of the present invention.

【図5】本発明の第2の実施形態に係る半導体回路の主
要部の回路図である。
FIG. 5 is a circuit diagram of a main part of a semiconductor circuit according to a second embodiment of the present invention.

【図6】本発明の第2の実施形態に係る半導体回路にお
いて、位相比較手段が基準信号とリフレッシュ情報信号
とを比較する方法を説明する図である。
FIG. 6 is a diagram illustrating a method in which a phase comparison unit compares a reference signal and a refresh information signal in a semiconductor circuit according to a second embodiment of the present invention.

【図7】本発明の第3の実施形態に係る半導体回路の主
要部の回路図である。
FIG. 7 is a circuit diagram of a main part of a semiconductor circuit according to a third embodiment of the present invention.

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

1 メモリセル群 2 DRAM 3 ロジック回路 4 リフレッシュ間隔計時手段 4a リフレッシュ間隔記憶手段 5 リフレッシュアドレス発生手段 6 位相カウンタ 7 位相記憶テーブル 8 位相比較手段 9 リフレッシュ制御手段 10 セレクタ REFERENCE SIGNS LIST 1 memory cell group 2 DRAM 3 logic circuit 4 refresh interval timer 4a refresh interval storage 5 refresh address generator 6 phase counter 7 phase storage table 8 phase comparator 9 refresh controller 10 selector

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 それぞれが複数のメモリセルからなる複
数のメモリセル群を有し、データを記憶するDRAM
と、 前記DRAMに記憶されているデータにアクセスするロ
ジック回路と、 前記DRAMに対するリフレッシュのタイミングを示す
タイミング信号を出力するタイミング信号発生手段と、 前記タイミング信号発生手段から出力されるタイミング
信号が入力すると、前記メモリセル群を示すアドレスを
更新してアドレス信号を出力するアドレス信号発生手段
と、 前記アドレス信号発生手段から出力されるアドレス信号
の入力を受け、前記メモリセル群を示すアドレスの更新
が一巡する毎に、アドレスの巡回目に応じた基準信号を
出力する基準信号発生手段と、 前記メモリセル群毎に、リフレッシュのスキップ回数、
リフレッシュの周期又はデータ保持時間からなるリフレ
ッシュ情報を記憶していると共に、前記アドレス信号発
生手段から出力されるアドレス信号が入力すると前記リ
フレッシュ情報に応じたリフレッシュ情報信号を出力す
るリフレッシュ情報記憶手段と、 前記リフレッシュ情報記憶手段から出力されるリフレッ
シュ情報信号及び前記基準信号発生手段から出力される
基準信号の入力を受け、入力されたリフレッシュ情報信
号と基準信号とが対応するときにリフレッシュ実行要求
信号を出力する要求信号発生手段と、 前記要求信号発生手段から出力されるリフレッシュ実行
要求信号と前記ロジック回路から前記DRAMに対する
アクセス信号との競合を調停すると共に、リフレッシュ
実行要求信号を選択するときに、前記アドレス信号発生
手段から出力されるアドレス信号が示す前記メモリセル
群に対してリフレッシュ動作を行なうリフレッシュ制御
手段とを備えていることを特徴とする半導体回路。
1. A DRAM that has a plurality of memory cell groups each including a plurality of memory cells and stores data.
A logic circuit that accesses data stored in the DRAM; a timing signal generator that outputs a timing signal indicating a refresh timing for the DRAM; and a timing signal output from the timing signal generator. Address signal generating means for updating an address indicating the memory cell group and outputting an address signal; receiving an input of an address signal output from the address signal generating means, and updating the address indicating the memory cell group by one cycle A reference signal generating means for outputting a reference signal corresponding to a cycle of an address, a refresh skip count for each of the memory cell groups,
Refresh information storage means for storing refresh information comprising a refresh cycle or data holding time, and outputting a refresh information signal according to the refresh information when an address signal output from the address signal generation means is input; Receiving a refresh information signal output from the refresh information storage means and a reference signal output from the reference signal generating means, and outputting a refresh execution request signal when the input refresh information signal corresponds to the reference signal; Request signal generating means for arbitrating contention between a refresh execution request signal output from the request signal generating means and an access signal to the DRAM from the logic circuit, and selecting the refresh execution request signal when selecting the refresh execution request signal. Signal generation Semiconductor circuit, characterized in that and a refresh control means for performing a refresh operation to the memory cell group showing address signals output from the stage.
【請求項2】 前記基準信号発生手段は、1個のカウン
タからなることを特徴とする請求項1に記載の半導体回
路。
2. The semiconductor circuit according to claim 1, wherein said reference signal generating means comprises one counter.
【請求項3】 前記基準信号発生手段は、複数個のカウ
ンタからなることを特徴とする請求項1に記載の半導体
回路。
3. The semiconductor circuit according to claim 1, wherein said reference signal generating means comprises a plurality of counters.
【請求項4】 前記タイミング信号発生手段は、前記タ
イミング信号を出力する時間の間隔を変更する手段を有
していることを特徴とする請求項1に記載の半導体回
路。
4. The semiconductor circuit according to claim 1, wherein said timing signal generating means has means for changing a time interval for outputting said timing signal.
JP10209239A 1998-07-24 1998-07-24 Semiconductor circuit Pending JP2000048560A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10209239A JP2000048560A (en) 1998-07-24 1998-07-24 Semiconductor circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10209239A JP2000048560A (en) 1998-07-24 1998-07-24 Semiconductor circuit

Publications (1)

Publication Number Publication Date
JP2000048560A true JP2000048560A (en) 2000-02-18

Family

ID=16569673

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10209239A Pending JP2000048560A (en) 1998-07-24 1998-07-24 Semiconductor circuit

Country Status (1)

Country Link
JP (1) JP2000048560A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100885011B1 (en) 2006-09-29 2009-02-20 후지쯔 마이크로일렉트로닉스 가부시키가이샤 Semiconductor Memory and Memory Systems
JP2012518242A (en) * 2009-02-19 2012-08-09 フリースケール セミコンダクター インコーポレイテッド Dynamic random access memory (DRAM) refresh
CN115240729A (en) * 2022-08-02 2022-10-25 长鑫存储技术有限公司 Memory refresh method, apparatus, device, storage medium and memory system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100885011B1 (en) 2006-09-29 2009-02-20 후지쯔 마이크로일렉트로닉스 가부시키가이샤 Semiconductor Memory and Memory Systems
JP2012518242A (en) * 2009-02-19 2012-08-09 フリースケール セミコンダクター インコーポレイテッド Dynamic random access memory (DRAM) refresh
CN115240729A (en) * 2022-08-02 2022-10-25 长鑫存储技术有限公司 Memory refresh method, apparatus, device, storage medium and memory system

Similar Documents

Publication Publication Date Title
EP0917152B1 (en) Semiconductor circuit and method of controlling the same
US6570801B2 (en) Semiconductor memory having refresh function
US5566117A (en) Reliable self-refreshing operation in a dram type of semiconductor memory device
JP5505802B2 (en) Method for operating a memory device
US7675800B2 (en) Semiconductor memory, memory controller, system, and operating method of semiconductor memory
JP2000298982A5 (en)
US6898142B2 (en) Semiconductor memory, method for controlling refreshment of it, and method for setting memory cell array specific area for realizing the control method
JP2004259343A (en) Semiconductor memory
US6515929B1 (en) Partial refresh feature in pseudo SRAM
US6930946B2 (en) Refresh control and internal voltage generation in semiconductor memory device
CN101000798B (en) memory refreshing method and memory refreshing system
JP4700223B2 (en) DRAM device and DRAM device refresh method
US5890198A (en) Intelligent refresh controller for dynamic memory devices
JP2000048560A (en) Semiconductor circuit
US6958944B1 (en) Enhanced refresh circuit and method for reduction of DRAM refresh cycles
JPH08129885A (en) Semiconductor memory
US6070212A (en) Bus arbiter operable as a DRAM controller
JPH0793971A (en) Dynamic semiconductor memory device
KR100744598B1 (en) Refresh circuit and method and semiconductor memory device using same
JP4117122B2 (en) Semiconductor device
JP2002324397A (en) Refresh method of dynamic memory
JP2868464B2 (en) Semiconductor memory device and refresh control method thereof
JP2002203389A (en) Semiconductor memory
JP2002269981A (en) Semiconductor memory device
KR100186296B1 (en) Self-refresh apparatus determining cycle automatically

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050615

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20050615

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20050615

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080402

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080408

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080805