JPH10149311A - Memory controller - Google Patents

Memory controller

Info

Publication number
JPH10149311A
JPH10149311A JP8323387A JP32338796A JPH10149311A JP H10149311 A JPH10149311 A JP H10149311A JP 8323387 A JP8323387 A JP 8323387A JP 32338796 A JP32338796 A JP 32338796A JP H10149311 A JPH10149311 A JP H10149311A
Authority
JP
Japan
Prior art keywords
memory
refresh
request
memory access
refresh operation
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
JP8323387A
Other languages
Japanese (ja)
Inventor
Teruyuki Maruyama
輝幸 丸山
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP8323387A priority Critical patent/JPH10149311A/en
Publication of JPH10149311A publication Critical patent/JPH10149311A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System (AREA)
  • Dram (AREA)

Abstract

(57)【要約】 【課題】 同一のメモリ装置に対してメモリアクセス要
求とリフレッシュ要求とが同時にあった場合でも,メモ
リアクセスの待機状態を回避することにより,メモリア
クセス速度が低下することのない効率的なメモリシステ
ムを実現する。 【解決手段】 メモリアクセスリクエストを順次格納
し,該リクエスト量を判別するリクエストキュー103
a,103bと,リフレッシュタイミングの時間をカウ
ントし,ペンディングされているリフレッシュ操作数を
出力するリフレッシ回路104と,上記リクエスト量と
上記ペンディングされているリフレッシュ操作数,ある
いは上記それぞれの量/数により決定されるメモリ制御
優先度に基づいて,上記メモリアクセスリクエストと上
記リフレッシュ操作とを調停する調停回路105と,を
備えた。
(57) [Problem] To prevent a memory access speed from being reduced by avoiding a standby state of memory access even when a memory access request and a refresh request are simultaneously issued to the same memory device. To realize an efficient memory system. SOLUTION: A request queue 103 for sequentially storing memory access requests and judging the request amount.
a, 103b, a refresh timing circuit that counts the refresh timing time and outputs the number of pending refresh operations, and is determined by the request amount and the pending refresh operation number or the respective amount / number. An arbitration circuit 105 for arbitrating the memory access request and the refresh operation based on the memory control priority to be performed.

Description

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

【0001】[0001]

【発明が属する技術分野】本発明は,リフレッシュ操作
が必要なダイナミックRAMなどを用いたメモリ装置の
リード/ライトアクセスおよびリフレッシュ操作の制御
を行うメモリ制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory control device for controlling a read / write access and a refresh operation of a memory device using a dynamic RAM or the like requiring a refresh operation.

【0002】[0002]

【従来の技術】従来より,リフレッシュタイミングを計
時するカウンタを有するリフレッシュ要求出力手段から
のリフレッシュ要求と,アドレスデコード手段からのメ
モリアクセス要求とをアービトレーション手段により調
停し,メモリ制御信号をメモリデバイスに対して出力す
るメモリ制御装置が開発されている。また,上記技術に
おいて,高速化を図ったものとして,たとえば以下に示
す如く,特開平6−290104号公報の『メモリ制御
装置』が開示されている。
2. Description of the Related Art Conventionally, arbitration means arbitrates between a refresh request from a refresh request output means having a counter for counting a refresh timing and a memory access request from an address decoding means, and sends a memory control signal to a memory device. A memory control device for outputting data has been developed. Further, in the above-mentioned technology, a "memory control device" disclosed in Japanese Patent Laid-Open No. 6-290104, for example, as disclosed below, is disclosed as a device for increasing the speed.

【0003】すなわち,複数の制御対象メモリ装置を有
するメモリシステムにおいて,外部バスから入力される
アドレスとリード/ライト制御信号とをデコードし,制
御対象のメモリ装置毎にメモリアクセス要求信号をそれ
ぞれ生成するアドレスデコード手段と,制御対象のメモ
リ装置毎に一定の周期でリフレッシュ要求信号をそれぞ
れ出力するリフレッシュ要求手段と,これらメモリアク
セス要求信号とリフレッシュ要求信号とを調停し,各制
御対象のメモリ装置に対してRAS/CAS信号を生成
する手段とよりなるメモリ制御装置であって,リフレッ
シュを実行しているときに,リフレッシュ実行中のメモ
リ装置と異なるメモリ装置に対するアクセス要求があっ
た場合に,リフレッシュと同時にメモリアクセスを実行
するものである。
That is, in a memory system having a plurality of memory devices to be controlled, an address input from an external bus and a read / write control signal are decoded, and a memory access request signal is generated for each memory device to be controlled. Address decoding means, refresh request means for outputting a refresh request signal at a fixed period for each memory device to be controlled, and arbitration between these memory access request signals and refresh request signals; A memory control device for generating a RAS / CAS signal in response to a request for access to a memory device different from the memory device performing the refresh during the refresh. This is to execute memory access.

【0004】[0004]

【発明が解決しようとする課題】しかしながら,上記に
示されるような従来のメモリ制御装置にあっては,制御
対象である同一のメモリ装置に対して同時にメモリアク
セス要求とリフレッシュ要求とがあった場合,何れかの
要求のみが実行され,もう一方の要求はペンディングさ
れてしまうため,場合によってはメモリアクセスがリフ
レッシュ操作が完了するまで待たされ,リフレッシュ要
求時のメモリアクセスにおいてメモリアクセス速度が低
下するという問題点があった。
However, in the conventional memory control device as described above, when a memory access request and a refresh request are simultaneously made to the same memory device to be controlled. Since only one of the requests is executed and the other request is pending, the memory access may be delayed until the refresh operation is completed, and the memory access speed in the memory access at the time of the refresh request is reduced. There was a problem.

【0005】本発明は,上記に鑑みてなされたものであ
って,同一のメモリ装置に対してメモリアクセス要求と
リフレッシュ要求とが同時にあった場合でも,メモリア
クセスの待機状態を回避することにより,メモリアクセ
ス速度が低下することのない効率的なメモリシステムを
実現することを目的とする。
The present invention has been made in view of the above, and is intended to avoid a memory access standby state even when a memory access request and a refresh request are simultaneously made to the same memory device. An object of the present invention is to realize an efficient memory system in which a memory access speed does not decrease.

【0006】[0006]

【課題を解決するための手段】上記の目的を達成するた
めに,請求項1に係るメモリ制御装置にあっては,リフ
レッシュ操作が必要なメモリ装置であって,該メモリ装
置をメモリアクセスリクエストに応じてメモリ装置のア
クセスおよびリフレッシュ操作を制御するメモリ制御装
置において,前記メモリアクセスリクエストを順次格納
し,該リクエスト量を判別する格納手段と,リフレッシ
ュタイミングの時間をカウントし,ペンディングされて
いるリフレッシュ操作数を出力するリフレッシュ操作数
出力手段と,前記リクエスト量と前記ペンディングされ
ているリフレッシュ操作数,あるいは前記それぞれの量
/数により決定されるメモリ制御優先度に基づいて,前
記メモリアクセスリクエストと前記リフレッシュ操作と
を調停する調停手段と,を備えたものである。
In order to achieve the above object, a memory control device according to a first aspect of the present invention is a memory device requiring a refresh operation, wherein the memory device is used for a memory access request. A memory control device for controlling access and refresh operations of the memory device in response to the memory access requests, storing the memory access requests sequentially, and determining a request amount; A refresh operation number outputting means for outputting a number, a memory access request and the refresh based on a memory control priority determined by the request amount and the pending refresh operation number or the respective amount / number. Arbitrator to mediate operations When, those having a.

【0007】すなわち,格納手段に格納されているメモ
リアクセスリクエストの量とペンディングされているリ
フレッシュ操作の数とによりメモリ制御の緊急性を判断
することができるので,ペンディングされているリフレ
ッシュ操作の数が少なくてメモリアクセスリクエストが
格納手段に置かれている場合には,メモリアクセスを優
先することにより,高速なメモリシステムが実現でき,
また,メモリアクセスリクエストが存在しない場合に
は,ペンディングされているリフレッシュ操作を優先し
て処理することにより,効率的なリフレッシュ操作が行
え,さらにメモリアクセスリクエストが存在してもペン
ディングされているリフレッシュ操作の数が多くなった
場合には,リフレッシュ操作を優先して処理することに
より,メモリ装置が必要とする充分なリフレッシュ操作
を保証することができる。
That is, the urgency of memory control can be determined from the amount of memory access requests stored in the storage means and the number of pending refresh operations, so that the number of pending refresh operations can be reduced. When memory access requests are at least stored in the storage means, a high-speed memory system can be realized by giving priority to memory access.
When there is no memory access request, priority is given to the pending refresh operation, so that an efficient refresh operation can be performed. When the number increases, the refresh operation is preferentially processed, so that a sufficient refresh operation required by the memory device can be guaranteed.

【0008】また,請求項2に係るメモリ制御装置にあ
っては,リフレッシュ操作が必要なメモリ装置を用い,
メモリアクセスリクエストに複数のレベルの優先度を付
与する情報処理装置であって,前記メモリ装置をメモリ
アクセスリクエストに応じてメモリ装置のアクセスおよ
びリフレッシュ操作を制御するメモリ制御装置におい
て,前記優先度毎にメモリアクセスリクエストを順次格
納し,該リクエスト量をそれぞれ判別する格納手段と,
リフレッシュタイミングの時間をカウントし,ペンディ
ングされているリフレッシュ操作数を出力するリフレッ
シュ操作数出力手段と,前記リクエスト量と前記ペンデ
ィングされているリフレッシュ操作数,あるいは前記そ
れぞれの量/数により決定されるメモリ制御優先度に基
づいて,前記メモリアクセスリクエストと前記リフレッ
シュ操作とを調停する調停手段と,を備えたものであ
る。
According to a second aspect of the present invention, there is provided a memory control device which uses a memory device requiring a refresh operation.
An information processing apparatus for assigning a plurality of levels of priority to a memory access request, wherein the memory control unit controls access and refresh operations of the memory device in response to the memory access request. Storage means for sequentially storing memory access requests, and determining the request amount;
Refresh operation number output means for counting the time of refresh timing and outputting the number of pending refresh operations, and a memory determined by the request amount and the number of pending refresh operations or the respective amount / number Arbitration means for arbitrating the memory access request and the refresh operation based on the control priority.

【0009】すなわち,メモリアクセスリクエストに複
数のレベルの優先度を付与する情報処理装置において
も,メモリアクセスの優先度を考慮しているので,上記
請求項1と同様に効率的なリフレッシュ操作が実現す
る。
That is, even in an information processing apparatus that assigns a plurality of levels of priority to a memory access request, the priority of memory access is taken into account, so that an efficient refresh operation is realized as in the first aspect. I do.

【0010】また,請求項3に係るメモリ制御装置にあ
っては,一定時間間隔を計時し,カウント値として出力
するカウント手段をさらに備え,前記調停手段が,前記
リクエスト量と前記ペンディングされているリフレッシ
ュ操作数,および前記カウント値とに基づいて,メモリ
アクセスリクエストとリフレッシュ操作のアービトレー
ションを実行するものである。
According to a third aspect of the present invention, there is provided the memory control device, further comprising a counting means for measuring a fixed time interval and outputting the counted value, wherein the arbitration means is provided with the request amount and the pending. Arbitration of a memory access request and a refresh operation is executed based on the number of refresh operations and the count value.

【0011】すなわち,一定時間間隔を計時するカウン
ト手段を設け,そのカウント値も考慮してメモリ制御の
緊急性を判断し,メモリアクセスリクエストとリフレッ
シュ操作とを調停することにより,各メモリデバイスの
仕様として記述される一定時間内における必要なリフレ
ッシュ回数を保証することができる。
That is, by providing a counting means for measuring a fixed time interval, determining the urgency of memory control in consideration of the count value, and arbitrating the memory access request and the refresh operation, the specification of each memory device , The required number of refreshes within a certain time can be guaranteed.

【0012】また,請求項4に係るメモリ制御装置にあ
っては,外部からの書き込み信号により設定され,メモ
リアクセス優先信号を出力するレジスタをさらに備え,
前記レジスタから出力される前記メモリアクセス優先信
号により,前記格納手段に格納されているリクエスト量
と前記ペンディングされているリフレッシュ操作数に基
づいて決定されるリフレッシュ操作のためのメモリ制御
優先度を変更するものである。
The memory control device according to a fourth aspect of the present invention further comprises a register which is set by an external write signal and outputs a memory access priority signal.
The memory control priority for a refresh operation determined based on the amount of requests stored in the storage unit and the number of pending refresh operations is changed by the memory access priority signal output from the register. Things.

【0013】すなわち,レジスタの設定により,メモリ
アクセスのためのメモリ制御優先度を高く設定すること
ができるので,プロセッサおよびその他のデバイスによ
って連続メモリアクセスが必要とされる場合に,上記メ
モリ制御優先度を高くすることにより,高速なメモリア
クセスが可能となる。
That is, the memory control priority for memory access can be set high by setting the register. Therefore, when continuous memory access is required by the processor and other devices, the memory control priority can be set. , The high-speed memory access becomes possible.

【0014】[0014]

【発明の実施の形態】以下,本発明のメモリ制御装置に
ついて添付図面を参照し,詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a memory control device according to the present invention will be described in detail with reference to the accompanying drawings.

【0015】(システムの構成)図1は,実施の形態に
係るメモリ制御装置を用いたメモリシステムの構成を示
すブロック図である。図において,101はプロセッサ
あるいは外部インターフェイスが接続されるバス,10
2はバス101を介してメモリアクセスリクエストを受
け,リクエストの優先レベル毎のリクエストに振り分
け,後述するリクエストキューにキューイングするバス
1−I/F・セレクタである。
(System Configuration) FIG. 1 is a block diagram showing a configuration of a memory system using a memory control device according to an embodiment. In the figure, reference numeral 101 denotes a bus to which a processor or an external interface is connected;
Reference numeral 2 denotes a bus 1-I / F selector for receiving a memory access request via the bus 101, distributing the request to each request of a priority level, and queuing the request in a request queue described later.

【0016】また,103aおよび103bは格納手段
としてのリクエストキュー,104は後述するようにペ
ンディングされているリフレッシュ操作の数を出力する
リフレッシュ操作数出力手段としてのリフレッシュ回
路,105はメモリ・アクセスとリフレッシュ操作の調
停を行う調停手段としての調停回路,106はスケジュ
ーラ,107はメモリデバイス,108はリプライデー
タ作成部,109はリプライキュー,110はバス1−
I/Fである。
Also, 103a and 103b are request queues as storage means, 104 is a refresh circuit as a refresh operation number output means for outputting the number of pending refresh operations as described later, and 105 is memory access and refresh An arbitration circuit as arbitration means for arbitrating operations, 106 is a scheduler, 107 is a memory device, 108 is a reply data creation unit, 109 is a reply queue, and 110 is a bus 1
I / F.

【0017】(システムの動作)次に,以上のように構
成されたメモリシステムの動作について説明する。バス
1−I/F・セレクタ102は,バス101からのメモ
リ・アクセス・リクエストを受け,リクエストの優先レ
ベル毎のリクエスト要求S1a,S1bに振り分け,リ
クエストキュー103a,103bにキューイングす
る。調停回路105は,リフレッシュ回路104からの
リフレッシュ要求S2とリクエストキュー103a,1
03bからのリクエスト要求S1a,S1bを受け,以
下のようにしてメモリ制御に関する調停を実行する。
(System Operation) Next, the operation of the memory system configured as described above will be described. The bus 1-I / F selector 102 receives a memory access request from the bus 101, distributes the request to request requests S1a and S1b for each priority level of the request, and queues the requests in request queues 103a and 103b. The arbitration circuit 105 receives the refresh request S2 from the refresh circuit 104 and the request queue 103a, 1
In response to the request requests S1a and S1b from the server 03b, arbitration regarding memory control is executed as follows.

【0018】すなわち,リフレッシュ要求S2に伴った
メモリ制御優先度がメモリアクセス要求S3のメモリ制
御優先度に対して高く,メモリ制御としてリフレッシュ
操作を選択した場合には,メモリデバイス107に対し
てリフレッシュ操作を行い,また,メモリアクセス要求
S3に伴ったメモリ制御優先度の方が高く,メモリ制御
としてメモリアクセスを選択した場合には,スケジュー
ラ106によって2つのリクエストキュー103a,1
03bからのリクエスト要求S1a,S1bを選択し,
メモリデバイス107へアクセス要求S5を行う。
That is, when the memory control priority associated with the refresh request S2 is higher than the memory control priority of the memory access request S3 and the refresh operation is selected as the memory control, the refresh operation is performed on the memory device 107. When the memory access priority associated with the memory access request S3 is higher and the memory access is selected as the memory control, the scheduler 106 controls the two request queues 103a, 1a.
03b, request requests S1a and S1b from
An access request S5 is made to the memory device 107.

【0019】また,リプライデータ作成部108は,メ
モリデバイス107から得られたデータS6とリクエス
ト情報S7とからリプライデータを作成し,リプライキ
ュー109にキューイングする。バス1−I/F110
は,リプライキュー109からリプライデータを取り出
し,バスを介してプロセッサなどに返答する。
The reply data creation unit 108 creates reply data from the data S6 obtained from the memory device 107 and the request information S7, and queues the reply data in the reply queue 109. Bus 1-I / F110
Retrieves reply data from the reply queue 109 and sends a reply to the processor or the like via the bus.

【0020】(リクエストキューの構成)次に,上記リ
クエストキュー103a,103bの構成・動作につい
て詳述する。図2は,図1におけるリクエストキューの
構成を示すブロック図である。図において,201はリ
クエスト要求を優先度毎に順次格納するためのFIF
O,202はFIFO201からのリクエスト量に基づ
いてメモリ制御優先度S8とメモリアクセス要求S3と
を調停回路105に出力するメモリアクセス要求部であ
る。
(Configuration of Request Queue) Next, the configuration and operation of the request queues 103a and 103b will be described in detail. FIG. 2 is a block diagram showing the configuration of the request queue in FIG. In the figure, reference numeral 201 denotes an FIF for sequentially storing request requests for each priority.
O and 202 are memory access request units that output a memory control priority S8 and a memory access request S3 to the arbitration circuit 105 based on the request amount from the FIFO 201.

【0021】(リクエストキューの動作)以上のように
構成されたリクエストキュー103において,FIFO
201はバス1−I/F・セレクタ102からのリクエ
スト要求S1を受け付けると共に,スケジューラ106
に対してリクエストを与え,メモリアクセス要求部20
2に対し,FIFO201内のリクエストの量をemp
ty−flag,full−flagを用いて知らせ
る。
(Operation of Request Queue) In the request queue 103 configured as described above, the FIFO
201 receives a request request S1 from the bus 1-I / F selector 102,
To the memory access request unit 20
For 2, the amount of requests in FIFO 201 is emp
Inform using ty-flag and full-flag.

【0022】メモリアクセス要求部302は,FIFO
201からのリクエスト量を得て,下記表1に示すメモ
リ制御優先度に変換し,メモリ制御優先度S8とメモリ
アクセス要求S3とを調停回路105に出力し,調停回
路105およびスケジューラ106からのメモリアクセ
ス応答信号S9を受けてメモリアクセス要求のハンドシ
ェークをとると共に,FIFO201の読み出しの更新
を行って次のリクエストを読み出す。
The memory access request unit 302 is provided with a FIFO
The request amount from the arbitration circuit 105 is converted into the memory control priority shown in Table 1 below, and the memory control priority S8 and the memory access request S3 are output to the arbitration circuit 105. In response to the access response signal S9, the handshake of the memory access request is performed, and the reading of the FIFO 201 is updated to read the next request.

【0023】[0023]

【表1】 [Table 1]

【0024】(リフレッシュ回路の構成)図3は,図1
におけるリフレッシュ回路の構成を示すブロック図であ
る。図において,301は基準クロック信号S15に基
づいてリフレッシュ操作のインターバル時間を計測する
アップ・カウンタ,302はリフレッシュ応答信号S1
1がアクティブでないときにアップ・カウンタ301か
らのキャリーを受けてペンディングされているリフレッ
シュ回数をカウントするカウンタ,303は一定時間
(32ms)をカウントするためのカウント手段として
のアップ・カウンタ,304は後述する動作によりリフ
レッシュ要求およびメモリ制御優先度を出力するリフレ
ッシュ要求部である。
(Configuration of Refresh Circuit) FIG.
3 is a block diagram showing a configuration of a refresh circuit in FIG. In the figure, reference numeral 301 denotes an up counter for measuring the interval time of the refresh operation based on the reference clock signal S15, and 302 denotes the refresh response signal S1
When 1 is not active, the counter counts the number of refreshes that are pending upon receiving a carry from the up counter 301, 303 is an up counter as counting means for counting a fixed time (32 ms), and 304 is described later. The refresh request section outputs a refresh request and a memory control priority according to the operation performed.

【0025】(リフレッシュ回路の動作)以上のように
構成されたリフレッシュ回路において,カウンタ301
により基準クロック信号S15をもってリフレッシュ操
作のインターバル時間を計測する。また,カウンタ30
2によりリフレッシュ応答信号S11がアクティブでな
い場合にはカウンタ301からのキャリーを受けてペン
ディングされているリフレッシュ回数をカウントし,リ
フレッシュ応答信号S11がアクティブである場合には
ペンディングされているリフレッシュ回数をデクリメン
トし,リフレッシュ要求部304に対してペンディング
リフレッシュ数S12を出力する。また,カウンタ30
3は,カウント値として得られる経過時間S14をリフ
レッシュ要求部304に対して出力する。
(Operation of Refresh Circuit) In the refresh circuit configured as described above, the counter 301
, The interval time of the refresh operation is measured using the reference clock signal S15. Also, the counter 30
2, if the refresh response signal S11 is not active, the carry from the counter 301 is received and the number of pending refreshes is counted. If the refresh response signal S11 is active, the number of pending refreshes is decremented. , The number of pending refreshes S12 is output to the refresh request unit 304. Also, the counter 30
3 outputs the elapsed time S14 obtained as the count value to the refresh request unit 304.

【0026】(リフレッシュ要求部の構成)図4は,図
3におけるリフレッシュ要求部の内部構成を示すブロッ
ク図である。図において,401は外部からの書き込み
信号S13によって設定され,特定ビット値によるメモ
リアクセス優先信号S16を後述する優先レベルテーブ
ルに出力する内部レジスタ,402はROMによって実
現され,ペンディングリフレッシュ数S12とカウンタ
303による経過時間S14および内部レジスタ401
からのメモリアクセス優先信号S16によりメモリ制御
優先度S2を出力する優先レベルテーブル,403は調
停回路105に対してメモリ制御優先度S2を伴ってリ
フレッシュ要求信号S10を出力するリフレッシュシー
ケンサである。
(Configuration of Refresh Request Unit) FIG. 4 is a block diagram showing the internal configuration of the refresh request unit in FIG. In the figure, reference numeral 401 denotes an internal register which is set by an external write signal S13 and outputs a memory access priority signal S16 based on a specific bit value to a priority level table which will be described later. Reference numeral 402 denotes a ROM implemented by a pending refresh number S12 and a counter 303. Elapsed time S14 and internal register 401
403 is a refresh sequencer that outputs the memory control priority S2 in response to the memory access priority signal S16 from the arbitration circuit 105 and outputs a refresh request signal S10 with the memory control priority S2 to the arbitration circuit 105.

【0027】(リフレッシュ要求部の動作)以上のよう
に構成されたリフレッシュ要求部304において,優先
レベルテーブル402は,カウンタ302からのペンデ
ィングリフレッシュ数S12とカウンタ303による経
過時間S14および外部からの書き込み信号S13によ
り設定された内部レジスタ401の特定ビット値による
メモリアクセス優先信号S16を入力として,図5に示
すようにメモリ制御優先度S2を出力する。
(Operation of Refresh Request Unit) In the refresh request unit 304 configured as described above, the priority level table 402 stores the pending refresh number S12 from the counter 302, the elapsed time S14 from the counter 303, and the external write signal. The memory control priority signal S16 based on the specific bit value of the internal register 401 set in S13 is input, and the memory control priority S2 is output as shown in FIG.

【0028】また,リフレッシュシーケンサ403は,
ペンディングされているリフレッシュ操作,すなわちペ
ンディングリフレッシュ数S12がある場合には,調停
回路105からのリフレッシュ応答信号S11を受けて
リフレッシュ要求のハンドシェークをとりながら,調停
回路105に対してメモリ制御優先度S2を伴ってリフ
レッシュ要求信号S10を出力する。
The refresh sequencer 403 is
When there is a pending refresh operation, that is, when there is a pending refresh number S12, the memory control priority S2 is given to the arbitration circuit 105 while receiving the refresh response signal S11 from the arbitration circuit 105 and handshaking the refresh request. A refresh request signal S10 is output accordingly.

【0029】なお,上記におけるメモリアクセス優先信
号S16とペンディングリフレッシュ数S12および経
過時間S14を入力として優先レベルテーブル402か
ら得られるメモリ制御優先度S2は,図5のメモリアク
セス優先が指定されていない場合のグラフ(a)とメモ
リアクセス優先が指定されている場合のグラフ(b)に
おいて,ペンディングリフレッシュ数S12と経過時間
S14とからなる座標より求まる優先度0,1,3,
5,7である。
The memory control priority S2 obtained from the priority level table 402 by inputting the memory access priority signal S16, the number of pending refreshes S12 and the elapsed time S14 is the case where the memory access priority of FIG. 5 is not specified. In the graph (a) and the graph (b) in the case where the memory access priority is designated, the priorities 0, 1, 3, which are obtained from the coordinates composed of the pending refresh number S12 and the elapsed time S14.
5,7.

【0030】また,上記において,経過時間S14軸上
にあるとき,つまり,ペンディングリフレッシュ数S1
2が0であるときには優先度を0とする。
In the above, when the elapsed time is on the axis S14, that is, the number of pending refreshes S1
When 2 is 0, the priority is set to 0.

【0031】[0031]

【発明の効果】以上説明したように,本発明に係るメモ
リ制御装置(請求項1)によれば,格納手段に格納され
ているメモリアクセスリクエストの量とペンディングさ
れているリフレッシュ操作の数とによりメモリ制御の緊
急性を判断することができるため,ペンディングされて
いるリフレッシュ操作の数が少なくてメモリアクセスリ
クエストが格納手段に置かれている場合には,メモリア
クセスを優先することにより,高速なメモリシステムが
実現でき,また,メモリアクセスリクエストが存在しな
い場合には,ペンディングされているリフレッシュ操作
を優先して処理するため,効率的なリフレッシュ操作が
行え,さらにメモリアクセスリクエストが存在してもペ
ンディングされているリフレッシュ操作の数が多くなっ
た場合には,リフレッシュ操作を優先して処理するた
め,メモリ装置が必要とする充分なリフレッシュ操作を
保証することができる。したがって,メモリアクセス速
度の低下を回避した効率的なメモリシステムが実現す
る。
As described above, according to the memory control device of the present invention, the amount of memory access requests stored in the storage means and the number of pending refresh operations are determined. Since the urgency of memory control can be determined, if the number of pending refresh operations is small and a memory access request is placed in the storage means, high-speed memory access can be achieved by giving priority to memory access. If the system can be realized, and if there is no memory access request, the pending refresh operation is processed with priority, so that an efficient refresh operation can be performed. If the number of refresh operations For processing with priority Mesh operation, it is possible to ensure a sufficient refresh operation memory device requires. Therefore, an efficient memory system that avoids a decrease in memory access speed is realized.

【0032】また,本発明に係るメモリ制御装置(請求
項2)によれば,メモリアクセスリクエストに複数のレ
ベルの優先度を付与する情報処理装置においても,メモ
リアクセスの優先度を考慮しているため,上記請求項1
と同様に効率的なリフレッシュ操作が行え,メモリアク
セス速度の低下を回避した効率的なメモリシステムが実
現する。
According to the memory control device of the present invention (claim 2), the priority of memory access is also taken into account in an information processing device that assigns a plurality of levels of priority to a memory access request. Therefore, the above claim 1
In the same manner as described above, an efficient refresh operation can be performed, and an efficient memory system that avoids a decrease in memory access speed can be realized.

【0033】また,本発明に係るメモリ制御装置(請求
項3)によれば,一定時間間隔を計時するカウント手段
を設け,そのカウント値も考慮してメモリ制御の緊急性
を判断し,メモリアクセスリクエストとリフレッシュ操
作とを調停するため,各メモリデバイスの仕様として記
述される一定時間内における必要なリフレッシュ回数を
保証することができる。
Further, according to the memory control device of the present invention (claim 3), there is provided a counting means for counting a predetermined time interval, the urgency of the memory control is determined in consideration of the count value, and the memory access is determined. Since the request and the refresh operation are arbitrated, it is possible to guarantee the required number of refreshes within a certain time described as the specification of each memory device.

【0034】また,本発明に係るメモリ制御装置(請求
項4)によれば,レジスタの設定により,メモリアクセ
スのためのメモリ制御優先度を高く設定することができ
るため,プロセッサおよびその他のデバイスによって連
続メモリアクセスが必要とされる場合に,上記メモリ制
御優先度を高くすることにより,高速なメモリアクセス
が可能となる。
According to the memory control device of the present invention (claim 4), the memory control priority for memory access can be set high by setting the register. When continuous memory access is required, high-speed memory access is enabled by increasing the memory control priority.

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

【図1】実施の形態に係るメモリ制御装置を用いたメモ
リシステムの構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a memory system using a memory control device according to an embodiment.

【図2】図1におけるリクエストキューの内部構成を示
すブロック図である。
FIG. 2 is a block diagram showing an internal configuration of a request queue in FIG.

【図3】図1におけるリフレッシュ回路の内部構成を示
すブロック図である。
FIG. 3 is a block diagram showing an internal configuration of a refresh circuit in FIG. 1;

【図4】図3におけるリフレッシュ要求部の内部構成を
示すブロック図である。
FIG. 4 is a block diagram illustrating an internal configuration of a refresh request unit in FIG. 3;

【図5】実施の形態に係るリフレッシュの優先度を示す
グラフであり,(a)はメモリアクセス優先が指定され
ていない場合,(b)はメモリアクセス優先が指定され
ている場合を示している。
FIGS. 5A and 5B are graphs showing refresh priorities according to the embodiment, wherein FIG. 5A shows a case where memory access priority is not specified, and FIG. 5B shows a case where memory access priority is specified; .

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

103a,103b リクエストキュー 104 リフレッシュ回路 105 調停回路 201 FIFO 202 メモリアクセス要求部 302 カウンタ 303 アップ・カウンタ 304 リフレッシュ要求部 401 内部レジスタ 103a, 103b request queue 104 refresh circuit 105 arbitration circuit 201 FIFO 202 memory access request unit 302 counter 303 up counter 304 refresh request unit 401 internal register

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 リフレッシュ操作が必要なメモリ装置で
あって,該メモリ装置をメモリアクセスリクエストに応
じてメモリ装置のアクセスおよびリフレッシュ操作を制
御するメモリ制御装置において,前記メモリアクセスリ
クエストを順次格納し,該リクエスト量を判別する格納
手段と,リフレッシュタイミングの時間をカウントし,
ペンディングされているリフレッシュ操作数を出力する
リフレッシュ操作数出力手段と,前記リクエスト量と前
記ペンディングされているリフレッシュ操作数,あるい
は前記それぞれの量/数により決定されるメモリ制御優
先度に基づいて,前記メモリアクセスリクエストと前記
リフレッシュ操作とを調停する調停手段と,を備えたこ
とを特徴とするメモリ制御装置。
1. A memory device requiring a refresh operation, wherein the memory device controls the access and the refresh operation of the memory device in response to the memory access request. A storage means for determining the request amount, and a refresh timing time counted,
A refresh operation number output unit for outputting a pending refresh operation number; and a memory control priority determined by the request amount and the pending refresh operation number or the respective amount / number. A memory control device, comprising: arbitration means for arbitrating a memory access request and the refresh operation.
【請求項2】 リフレッシュ操作が必要なメモリ装置を
用い,メモリアクセスリクエストに複数のレベルの優先
度を付与する情報処理装置であって,前記メモリ装置を
メモリアクセスリクエストに応じてメモリ装置のアクセ
スおよびリフレッシュ操作を制御するメモリ制御装置に
おいて,前記優先度毎にメモリアクセスリクエストを順
次格納し,該リクエスト量をそれぞれ判別する格納手段
と,リフレッシュタイミングの時間をカウントし,ペン
ディングされているリフレッシュ操作数を出力するリフ
レッシュ操作数出力手段と,前記リクエスト量と前記ペ
ンディングされているリフレッシュ操作数,あるいは前
記それぞれの量/数により決定されるメモリ制御優先度
に基づいて,前記メモリアクセスリクエストと前記リフ
レッシュ操作とを調停する調停手段と,を備えたことを
特徴とするメモリ制御装置。
2. An information processing apparatus using a memory device requiring a refresh operation and assigning a plurality of levels of priority to a memory access request, wherein the information processing device accesses the memory device in response to the memory access request. In a memory control device for controlling a refresh operation, a memory access request is sequentially stored for each of the priorities, a storage means for determining the request amount, a refresh timing time is counted, and the number of pending refresh operations is determined. Means for outputting the number of refresh operations to be output, and the memory access request and the refresh operation based on the request amount and the number of pending refresh operations or a memory control priority determined by the respective amount / number. Tones A memory control device comprising arbitration means for stopping.
【請求項3】 一定時間間隔を計時し,カウント値とし
て出力するカウント手段をさらに備え,前記調停手段
が,前記リクエスト量と前記ペンディングされているリ
フレッシュ操作数,および前記カウント値とに基づい
て,メモリアクセスリクエストとリフレッシュ操作のア
ービトレーションを実行することを特徴とする請求項1
または2に記載のメモリ制御装置。
And a counting means for counting a predetermined time interval and outputting the counted value as a count value, wherein the arbitration means calculates the number of requests, the number of pending refresh operations, and the count value. 2. The arbitration of a memory access request and a refresh operation is performed.
Or the memory control device according to 2.
【請求項4】 外部からの書き込み信号により設定さ
れ,メモリアクセス優先信号を出力するレジスタをさら
に備え,前記レジスタから出力される前記メモリアクセ
ス優先信号により,前記格納手段に格納されているリク
エスト量と前記ペンディングされているリフレッシュ操
作数に基づいて決定されるリフレッシュ操作のためのメ
モリ制御優先度を変更する請求項1,2または3に記載
のメモリ制御装置。
4. A memory device further comprising a register set by an external write signal and outputting a memory access priority signal, wherein the request amount stored in the storage means is determined by the memory access priority signal output from the register. 4. The memory control device according to claim 1, wherein a memory control priority for a refresh operation determined based on the number of pending refresh operations is changed.
JP8323387A 1996-11-20 1996-11-20 Memory controller Pending JPH10149311A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8323387A JPH10149311A (en) 1996-11-20 1996-11-20 Memory controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8323387A JPH10149311A (en) 1996-11-20 1996-11-20 Memory controller

Publications (1)

Publication Number Publication Date
JPH10149311A true JPH10149311A (en) 1998-06-02

Family

ID=18154180

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8323387A Pending JPH10149311A (en) 1996-11-20 1996-11-20 Memory controller

Country Status (1)

Country Link
JP (1) JPH10149311A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013080413A1 (en) * 2011-11-28 2013-06-06 International Business Machines Corporation Method for scheduling memory refresh operations including power states
US8489807B2 (en) 2010-12-03 2013-07-16 International Business Machines Corporation Techniques for performing refresh operations in high-density memories
JP2020517024A (en) * 2017-04-14 2020-06-11 華為技術有限公司Huawei Technologies Co.,Ltd. Memory refresh technology and computer system
US11074958B2 (en) 2017-04-14 2021-07-27 Huawei Technologies Co., Ltd. Memory refresh technology and computer system
JP2022514128A (en) * 2018-07-16 2022-02-10 アドバンスト・マイクロ・ディバイシズ・インコーポレイテッド Memory controller refresh scheme

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8489807B2 (en) 2010-12-03 2013-07-16 International Business Machines Corporation Techniques for performing refresh operations in high-density memories
WO2013080413A1 (en) * 2011-11-28 2013-06-06 International Business Machines Corporation Method for scheduling memory refresh operations including power states
US8539146B2 (en) 2011-11-28 2013-09-17 International Business Machines Corporation Apparatus for scheduling memory refresh operations including power states
CN103959388A (en) * 2011-11-28 2014-07-30 国际商业机器公司 Method for scheduling memory refresh operations including power states
GB2511249A (en) * 2011-11-28 2014-08-27 Ibm Method for scheduling memory refresh operations including power states
JP2015501999A (en) * 2011-11-28 2015-01-19 インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation Method, computer readable medium, and apparatus for performing a refresh operation
GB2511249B (en) * 2011-11-28 2015-04-15 Ibm Method for scheduling memory refresh operations including power states
JP2020517024A (en) * 2017-04-14 2020-06-11 華為技術有限公司Huawei Technologies Co.,Ltd. Memory refresh technology and computer system
US11074958B2 (en) 2017-04-14 2021-07-27 Huawei Technologies Co., Ltd. Memory refresh technology and computer system
US11705180B2 (en) 2017-04-14 2023-07-18 Huawei Technologies Co., Ltd. Memory refresh technology and computer system
JP2022514128A (en) * 2018-07-16 2022-02-10 アドバンスト・マイクロ・ディバイシズ・インコーポレイテッド Memory controller refresh scheme

Similar Documents

Publication Publication Date Title
US7472213B2 (en) Resource management device
KR100708096B1 (en) How to adjust the bus system and its execution order
US4896266A (en) Bus activity sequence controller
US6782433B2 (en) Data transfer apparatus
US7054970B2 (en) Bus arbiter for integrated circuit systems
US5680554A (en) Method and apparatus for arbitrating among processors for access to a common bus
USRE40261E1 (en) Apparatus and method of partially transferring data through bus and bus master control device
EP1752881A1 (en) Apparatus for memory resource arbitration based on dedicated time slot allocation
JPH10149311A (en) Memory controller
US5999969A (en) Interrupt handling system for message transfers in network having mixed hardware and software emulated modules
US5983266A (en) Control method for message communication in network supporting software emulated modules and hardware implemented modules
JP2806672B2 (en) Direct memory access transfer controller
JPS594733B2 (en) Kyoutsuba Seigiyo Cairo
US20050066097A1 (en) Resource management apparatus
EP0507954B1 (en) Device for controlling bus
JP3987750B2 (en) Memory control device and LSI
KR100451722B1 (en) apparatus for controlling direct memory access
JP2000066995A (en) Bus arbitration method and device, and its use device and system
JPH01279354A (en) Data processing system having common bus and preference decision circuit
JPH07281942A (en) Arbitration method for shared resources
JP2004220309A (en) Multiprocessor system
JPH07114496A (en) Shared memory control circuit
JP2806405B2 (en) Microprocessor
JPH04346140A (en) Access controller for shared memory
JP3256975B2 (en) DMA transfer control device