JPS63144494A - Refresh system for main memory - Google Patents

Refresh system for main memory

Info

Publication number
JPS63144494A
JPS63144494A JP61290203A JP29020386A JPS63144494A JP S63144494 A JPS63144494 A JP S63144494A JP 61290203 A JP61290203 A JP 61290203A JP 29020386 A JP29020386 A JP 29020386A JP S63144494 A JPS63144494 A JP S63144494A
Authority
JP
Japan
Prior art keywords
signal
access
cache
refresh
memory
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
JP61290203A
Other languages
Japanese (ja)
Inventor
Tomohiro Kumada
熊田 友広
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.)
Alps Alpine Co Ltd
Original Assignee
Alps Electric 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 Alps Electric Co Ltd filed Critical Alps Electric Co Ltd
Priority to JP61290203A priority Critical patent/JPS63144494A/en
Publication of JPS63144494A publication Critical patent/JPS63144494A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To prevent delay in access by using a cache comparator so as to compare the content of a tag memory with a high-order address when a low- order address is inputted and giving a refresh signal by a timer clock when the coincidence period continues for a prescribed period or over. CONSTITUTION:A cache memory 13 uses a cache comparator 15 to compare the contents of a tag memory 14 receiving a low-order address at a part of an address from a CPU 10 with the high-order address and a coincidence signal is outputted for high speed operation. A refresh signal is raised a the leading of the cache access signal and when the cache access signal has a prescribed time or over of interval, a refresh signal is caused by the refresh request signal by a timer clock. In this case, since no access is given to a DRAM 11 being the main memory, the refresh signal and the signal accessing the main memory 11 from the CPU 10 do not collide with each other. Thus, the retarded access is prevented.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はメインメモリー、特に安価にて供給されるダイ
ナミックRAMを高速アクセスするためのキャッシュメ
モリーを組み込んだ回路においてリフレッシュする方式
の改良に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an improvement in a method for refreshing a main memory, particularly a circuit incorporating a cache memory for high-speed access to a dynamic RAM provided at low cost.

〔従来の技術〕[Conventional technology]

一般的に、キャッシュメモリーを用いたアクセス方式は
第3図として示すブロック図のようなハードウェアによ
って実行されている。即ち、第3図にあって図中1はC
PUであり、このCPU1からのアドレスが発生すると
、そのアドレスの一部である下位アドレスをタグメモリ
ー2のアドレスとして入力し、そのタグメモリーの内容
と、CPUIからの上位アドレスとを比較器3で比較し
て、一致していれば、高速のキャッシュメモリー4内に
データがあることとなるので高速アクセスでデータを読
み込むようになっている。又、一致していない時には通
常のアクセスでダイナミックRAMを用いたメインメモ
リー5からデータをCPUIに取り込み、その時にその
データの内容をキャッシュメモリー4内に書き込むこと
も行なうものとなっている。又、このキャシュメモリー
4を用いたアクセス方式は、ライト時には通常アクセス
によって行うため、特に高速アクセスはでき得ない。
Generally, an access method using a cache memory is executed by hardware as shown in the block diagram shown in FIG. That is, in Figure 3, 1 in the figure is C.
When an address is generated from CPU1, the lower address that is part of that address is input as the address of tag memory 2, and the contents of the tag memory and the upper address from CPU1 are compared by comparator 3. When compared, if they match, it means that the data exists in the high-speed cache memory 4, so the data is read at high-speed access. Furthermore, if they do not match, data is taken into the CPUI from the main memory 5 using the dynamic RAM by normal access, and the contents of the data are written into the cache memory 4 at that time. In addition, this access method using the cache memory 4 does not allow particularly high-speed access because normal access is used when writing.

又、このキャッシュメモリー4を用いた方式はメインメ
モリー5として通常は前記したようにダイナミックRA
Mを使用するのでリフレッシュを行なうことが必要とさ
れるが、従来、このリフレッシュ方式はタイマを用いて
一定時間ごとにリフレッシュ信号を与えることによりな
されていた。
In addition, in the method using this cache memory 4, the main memory 5 is usually a dynamic RA as described above.
Since M is used, it is necessary to perform refresh, but conventionally, this refresh method has been performed by using a timer and applying a refresh signal at regular intervals.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかしながら、上記したようなキャッシュメモリーを組
み入れたアクセス方式におけるリフレッシュ方式による
と、そのリフレッシュ信号がCPU1からメインメモリ
ー5をアクセスする場合にぶつかってしまうことがあり
、アクセスが遅くなってしまうという問題点があった。
However, according to the refresh method in the access method that incorporates the cache memory as described above, there is a problem that the refresh signal may collide when accessing the main memory 5 from the CPU 1, resulting in slow access. there were.

そこで、本発明は係る従来の技術の問題点に着目してな
されたもので、かかる問題点を解消して、リフレッシュ
信号がCPUからのアクセスとぶつかってしまうことを
避け、アクセスを遅らせてしまうことがないようにした
メインメモリーのリフレッシュ方式を提供することを目
的としている。
Therefore, the present invention has been made by focusing on the problems of the related art, and it is an object of the present invention to solve these problems, avoid the refresh signal from colliding with the access from the CPU, and delay the access. The purpose is to provide a main memory refresh method that eliminates the

〔問題点を解決しようとするための手段〕この目的を達
成するために、本発明に係るメインメモリーのリフレッ
シュ方式は、CPUからのアドレスの下位アドレスが入
力されるタグメモリーの内容と、l;位アドレスを比較
するキャッシュ用比較器で、一致した場合ごとにリフレ
ッシュ信号を与え、前記一致期間が一定以上となる場合
にはタイマクロックによるリフレッシュ信号を与えるよ
うにしたことを特徴としている。
[Means for Solving the Problems] To achieve this objective, the main memory refresh method according to the present invention is based on the contents of the tag memory into which the lower address of the address from the CPU is input, and l; This comparator for cache compares addresses, and is characterized in that it provides a refresh signal every time there is a match, and provides a refresh signal by a timer clock when the match period is longer than a certain value.

〔作用〕[Effect]

メインメモリーのリフレッシュ方式を上記したような公
正とすることによって、キャッシュ用比較器が一致して
キャッシュメモリーが高速動作している場合には、メイ
ンメモリーであるダイナミックRAMにはアクセスして
いることはないので、その時にリフレッシュ信号を与え
てやれば、そのリフレッシュ信号とCPUからメインメ
モリーをアクセスする信号とがぶつかることはなくなり
、アクセスが遅くなってしまうことが防止されることと
なるのである。
By making the main memory refresh method fair as described above, if the cache comparator matches and the cache memory is operating at high speed, it will not be possible to access the dynamic RAM, which is the main memory. Therefore, if a refresh signal is applied at that time, the refresh signal and the signal for accessing the main memory from the CPU will not conflict with each other, thereby preventing slow access.

〔実施例〕〔Example〕

次に、本発明の実施の一例を第1図乃至第2図を参照し
て詳細に説明する。
Next, an example of the implementation of the present invention will be described in detail with reference to FIGS. 1 and 2.

第1図は一般的なキャッシュメモリを用いたアクセス方
式の問題点を是正するため、スタティックカラム方式と
の長所のみを生かしたアクセス方式を実行するためのハ
ードウェアのブロック図であり、図中10はCPU、1
1はダイナミックRAMを用いた低速のメインメモリー
である。このメインメモリー11はメモリコントロール
12によって制御されるものとなっている。又、図中1
3は高速のキャッシュメモリーであり、このキャッシュ
メモリー13はCPUl0からのアドレスの一部の下位
アドレスが人力されるタグメモリー14の内容と上位ア
ドレスをキャッシュ用比較器15によって比較され、一
致信号が出て高速動作を行なうものとなっている。又、
図中16はアドレスフィリップクロップであり、このア
ドレスフィリップクロップ16には前記したキャッシュ
メモリー13の高速動作時のアドレスがセットされ、次
のアクセス時にスタティックカラム用比較器17で一致
した詩に高速動作ができるよう準備される。又、スタテ
ィックカラム用比較器17から一致信号が出た場合には
スタティックカラムによる高速動作が行なわれるが、そ
のデータはキャッシュメモリー13にもセットされ、次
のアクセスに備えられるものとなっている。尚、図中1
8はキャッシュメモリー13によるかスタティックカラ
ムによるかの選択回路であり、この選択回路18はキャ
ッシュコントロール19、スタティックカラムコントロ
ール20を介して前記メモリーコントロール12に信号
を送るものとなっている。又、第2図は、かかる回路構
成にあって、ダイナミックRAMを用いたメインメモリ
ー11に必要なリフレッシュ動作の信号を示す概念図で
あり、Aは通常と同様な夕・rマクロツクによるリフレ
ッシュのリクエスト信号、Bはリフレッシュ信号、Cが
キャッシュアクセス信号であり、本発明の場合には、リ
フレッシュ信号はキャッシュアクセス信号の立ち上がり
と同時に発せられるものとなっており、そのキャッシュ
アクセス信号が一定時間以上間隔がおいてしまう場合に
は通常のタイマクロックによるリフレッシュのリクエス
ト信号によってリフレッシュ信号が発せられるものとな
っている。
Figure 1 is a block diagram of hardware for implementing an access method that takes advantage of only the advantages of the static column method in order to correct the problems of access methods using general cache memory. is CPU, 1
1 is a low-speed main memory using dynamic RAM. This main memory 11 is controlled by a memory control 12. Also, 1 in the figure
3 is a high-speed cache memory, and this cache memory 13 compares the contents of the tag memory 14, into which the lower addresses of some of the addresses from CPU10 are entered manually, with the upper addresses by a cache comparator 15, and a match signal is output. It is designed to operate at high speed. or,
Reference numeral 16 in the figure is an address Philip crop, and the address of the above-mentioned cache memory 13 at high speed operation is set in this address Philip crop 16, and the high speed operation is performed on the poem matched by the static column comparator 17 at the next access. be prepared to do so. Further, when a match signal is output from the static column comparator 17, high-speed operation is performed using the static column, but the data is also set in the cache memory 13 and prepared for the next access. In addition, 1 in the figure
8 is a selection circuit for selecting whether to use the cache memory 13 or a static column, and this selection circuit 18 sends a signal to the memory control 12 via a cache control 19 and a static column control 20. Moreover, FIG. 2 is a conceptual diagram showing the refresh operation signals necessary for the main memory 11 using dynamic RAM in such a circuit configuration, and A is a refresh request by the usual evening/r macro lock. In the present invention, the refresh signal is issued at the same time as the rise of the cache access signal, and the cache access signal is issued for a certain period of time or more. If it is left unused, a refresh signal is generated by a refresh request signal generated by a normal timer clock.

尚、本発明に係るメインメモリーのリフレッシュ方式は
、特に第1図に示されるようなスタティンク力ラム方式
をも組み込んだ回路に限られて実施されるものではなく
、従来例として示した第3図のようなキャッシュ方式に
も実施回部なことは勿論である。
Note that the main memory refresh method according to the present invention is not limited to a circuit incorporating a static RAM method as shown in FIG. It goes without saying that the cache method shown in the figure also requires implementation.

〔発明の効果〕〔Effect of the invention〕

に述したように本発明に係るメインメモリーのリフレッ
シュ方式によれば、キャッシュアクセス、即ち、キャッ
シュ用比較器から一致信号が出た時にはCPUからメイ
ンメモリをアクセスしていることはないので、この時に
り7レツシユ動作を行なえば、そのリフレッシュ信号と
CPUからのアクセス信号がぶつかることはなく、アク
セスの遅れが生じることはないものとなっている。
As described above, according to the main memory refresh method according to the present invention, the CPU is not accessing the main memory when the cache is accessed, that is, when a match signal is output from the cache comparator. If seven refresh operations are performed, the refresh signal and the access signal from the CPU will not collide, and there will be no access delay.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明番ご係るメインメモリーのりフレッシュ
方式が実行されるハードウェアの回路ブロック図、第2
図は同リフレッシュのタイミングを表わす信号の概念図
、第3図は一般的なキャッシュメモリを組み込んだ回路
のブロック図である。10・・・CPUII・・・メイ
ンメモリー13・・・キャッシュメモリー 14・・・タグメモリー 15・・・キャッシュ用比較器
Figure 1 is a circuit block diagram of the hardware on which the main memory refresh method according to the present invention is executed;
The figure is a conceptual diagram of signals representing the refresh timing, and FIG. 3 is a block diagram of a circuit incorporating a general cache memory. 10...CPU II...Main memory 13...Cache memory 14...Tag memory 15...Cache comparator

Claims (1)

【特許請求の範囲】[Claims] CPUからのアドレスの下位アドレスが入力されるタグ
メモリーの内容と、上位アドレスを比較するキャッシュ
用比較器で、一致した場合ごとにリフレッシュ信号を与
え、前記一致期間が一定以上となる場合にはタイマクロ
ックによるリフレッシュ信号を与えるようにしたことを
特徴とするメインメモリーのリフレッシュ方式。
A cache comparator that compares the content of the tag memory into which the lower address from the CPU is input and the upper address. It gives a refresh signal each time they match, and when the matching period is longer than a certain value, a timer is activated. A main memory refresh method characterized by providing a clock-based refresh signal.
JP61290203A 1986-12-05 1986-12-05 Refresh system for main memory Pending JPS63144494A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61290203A JPS63144494A (en) 1986-12-05 1986-12-05 Refresh system for main memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61290203A JPS63144494A (en) 1986-12-05 1986-12-05 Refresh system for main memory

Publications (1)

Publication Number Publication Date
JPS63144494A true JPS63144494A (en) 1988-06-16

Family

ID=17753086

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61290203A Pending JPS63144494A (en) 1986-12-05 1986-12-05 Refresh system for main memory

Country Status (1)

Country Link
JP (1) JPS63144494A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7333388B2 (en) 2001-10-03 2008-02-19 Infineon Technologies Aktiengesellschaft Multi-port memory cells

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5862890A (en) * 1981-10-07 1983-04-14 Nec Corp Memory refresh control system of main storage device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5862890A (en) * 1981-10-07 1983-04-14 Nec Corp Memory refresh control system of main storage device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7333388B2 (en) 2001-10-03 2008-02-19 Infineon Technologies Aktiengesellschaft Multi-port memory cells

Similar Documents

Publication Publication Date Title
US4550368A (en) High-speed memory and memory management system
GB2193017A (en) Improved memory access system
KR890017611A (en) Apparatus and method for accessing information stored in page mode memory
GB2074762A (en) Multi-processor systems
KR910003592B1 (en) Partial write control system
US5732236A (en) Circuit and method for controlling access to paged DRAM banks with request prioritization and improved precharge schedule
JPS63144494A (en) Refresh system for main memory
JPS61114362A (en) Access control system for share memory
JPH09311812A (en) Microcomputer
KR100293358B1 (en) High speed dram access method
KR930004901B1 (en) Memory control unit of computer system by using dynamic ram
JPH09312094A (en) Refresh control system
JPS63144492A (en) Memory access system
JPH01195552A (en) Memory access control system
JPH036763A (en) High speed data transfer method between dram type memory devices
JPS60246471A (en) Memory control device
US5574884A (en) DRAM control circuit
JPS6073760A (en) Resident system of buffer storage
JPH0561769A (en) Memory access method
JPH0561762A (en) Memory controller
JPH0784866A (en) Memory control circuit
JPH0528751A (en) Semiconductor memory
JPS63293591A (en) Display memory access method
JPH1049437A (en) Dynamic ram controller
JPH0619737B2 (en) Memory access device