JPH02148149A - Memory system - Google Patents
Memory systemInfo
- Publication number
- JPH02148149A JPH02148149A JP63303157A JP30315788A JPH02148149A JP H02148149 A JPH02148149 A JP H02148149A JP 63303157 A JP63303157 A JP 63303157A JP 30315788 A JP30315788 A JP 30315788A JP H02148149 A JPH02148149 A JP H02148149A
- Authority
- JP
- Japan
- Prior art keywords
- memory
- cache
- buffer
- main memory
- main
- 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
Links
- 239000000872 buffer Substances 0.000 claims abstract description 22
- 230000007246 mechanism Effects 0.000 claims abstract description 5
- 230000004913 activation Effects 0.000 claims description 2
- 230000006870 function Effects 0.000 claims description 2
- 230000004044 response Effects 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 3
- 230000003068 static effect Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
Landscapes
- Memory System Of A Hierarchy Structure (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はキャシュメモリを備えたメモリシステムに関す
るものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a memory system equipped with a cache memory.
近年OA化の目覚しい進展に伴い、高速・大容量・安価
で少スペースのメモリシステムが望まれてきた。そこで
、高速だがかなりのスペースを必要とするスタティック
RAMをメモリの一部として効果的に用いたキャッシュ
メモリが最近使われ始めている。With the remarkable progress of office automation in recent years, there has been a desire for high-speed, large-capacity, inexpensive, and small-space memory systems. Therefore, cache memory that effectively uses static RAM as part of the memory, which is fast but requires a considerable amount of space, has recently begun to be used.
従来のこの種のメモリシステムは、第2図に示す如く、
スタティックRAMで構成されるキャッシュメモリ15
にヒツトした場合には、そこから読出されたデータを蓄
えるキャッシュ用バッファ13と、ミスヒツトした場合
に主メモリ14より読出されたデータを蓄える主メモリ
用バッファ12との2つバッファを用い、各々をキャッ
シュ制御部17と主メモリ制御部16とで制御する事に
より、CPUIIに対してはメモリより読み出されたデ
ータと言う同じ見え方をとっていた。A conventional memory system of this type, as shown in FIG.
Cache memory 15 composed of static RAM
Two buffers are used: a cache buffer 13 that stores data read from the cache when a hit occurs, and a main memory buffer 12 that stores data read from the main memory 14 when a miss occurs. By controlling the cache control unit 17 and the main memory control unit 16, the CPU II sees the same data as data read from memory.
上述した従来のメモリシステムでは、バッファがキャッ
シュメモリ用と主メモリ用との2種存在している為、せ
っかく主メモリに速度は少し遅くとも少スペースのメモ
リを採用していても軽薄短少化の上でブレーキがかかっ
てしまう欠点があった。最近は高性能化の為バス幅も大
きくなる傾向にあるので、増々2種存在しているバッフ
ァは無駄が大きい。In the conventional memory system mentioned above, there are two types of buffers, one for cache memory and one for main memory, so even if the main memory is a memory that is a little slow but takes up a small space, it is not easy to make it lighter, thinner, and smaller. There was a drawback that the brakes would apply. Recently, bus widths have tended to increase in order to improve performance, so two types of buffers are becoming more and more wasteful.
本発明のメモリシステムは、キャッシュメモリを備えた
メモリシステムにおいて、
前記キャッシュメモリおよび主メモリに兼用されるメモ
リバッファと、
アクセスされたデータが前記キャッシュメモリに登録さ
れているか否かを判定するヒツト判定機構と、
該判定の結果により前記キャッシュメモリと前記主メモ
リとのうちのいずれか一方を起動し、かつ該起動に対応
して前記メモリバッファを機能させるメモリ制御部とを
有することを特徴とする。A memory system of the present invention is a memory system equipped with a cache memory, and includes: a memory buffer that is used both as the cache memory and the main memory; and a human judgment that determines whether accessed data is registered in the cache memory. and a memory control unit that activates either the cache memory or the main memory according to the result of the determination, and causes the memory buffer to function in response to the activation. .
次に本発明の実施例について図面を参照して説明する。 Next, embodiments of the present invention will be described with reference to the drawings.
第1図は本発明の一実施例のブロック図であり、CPU
I、メモリバッファ2.主メモリ3゜キャッシュメモリ
4.メモリ制御部5およびヒツト判定機構6から成る。FIG. 1 is a block diagram of one embodiment of the present invention, in which the CPU
I. Memory buffer 2. Main memory 3゜Cache memory 4. It consists of a memory control section 5 and a hit determination mechanism 6.
CPU1よりメモリをリードする為に制御信号およびア
ドレス8が送られてくると、ヒツト判定機構6は、該ア
ドレスに対してキャッシュメモリ4がヒツトしているか
否かを判定する。When a control signal and an address 8 are sent from the CPU 1 to read the memory, the hit determination mechanism 6 determines whether or not the cache memory 4 has hit the address.
メモリ制御部5は、この判定の結果により主メモリ3に
アクセスするかキャッシュにアクセスするかを判断して
それぞれのメモリ制御を切分ける。また、メモリバッフ
ァ2が主メモリ3とキャッシュメモリ4のいずれに対し
てデータの受入れを行なうかを指示する。メモリより読
出されたデータは兼用のメモリバッファ2を通りデータ
バス7に入る。The memory control unit 5 determines whether to access the main memory 3 or the cache based on the result of this determination, and separates the memory control for each. It also instructs which of the main memory 3 and cache memory 4 the memory buffer 2 should accept data into. Data read from the memory passes through the dual-purpose memory buffer 2 and enters the data bus 7.
なお、CPU1が読む間、メモリよりの出力が保証され
ていればこのメモリバッファ3すら不要である。Note that even this memory buffer 3 is not necessary if output from the memory is guaranteed while the CPU 1 is reading.
以上説明したように本発明は、キャッシュ用のバッファ
と主メモリ用のバッファを共用するような構成としたた
め、メモリシステムを少スペースで構築出来る効果があ
る。As explained above, the present invention has a configuration in which a cache buffer and a main memory buffer are shared, and therefore has the advantage that a memory system can be constructed with a small space.
7 デー9ノ\′ズ7 Day 9 no\'s
第1図は本発明の一実施例のブロック図、第2図は従来
のブロック図を示す。
1.11・・・CPU部、2・・・バッファ、3,14
・・・主メモリ、4,15・・・キャッシュメモリ、5
・・・メモリ制御部、7,19・・・データバス、7,
19・・・データバス、8・・・制御信号およびアドレ
ス、12・・・主メモリ用バッファ、13・・・キャッ
シュ用バッファ、16・・・主メモリ制御部、17・・
・キャッシュ制御部、6.18・・・ヒツト判定機構。
男 1
田FIG. 1 shows a block diagram of an embodiment of the present invention, and FIG. 2 shows a conventional block diagram. 1.11...CPU section, 2...Buffer, 3,14
...Main memory, 4,15...Cache memory, 5
...Memory control unit, 7,19...Data bus, 7,
19... Data bus, 8... Control signal and address, 12... Main memory buffer, 13... Cache buffer, 16... Main memory control unit, 17...
- Cache control unit, 6.18... hit determination mechanism. Man 1 field
Claims (1)
リバッファと、 アクセスされたデータが前記キャッシュメモリに登録さ
れているか否かを判定するヒット判定機構と、 該判定の結果により前記キャッシュメモリと前記主メモ
リとのうちのいずれか一方を起動し、かつ該起動に対応
して前記メモリバッファを機能させるメモリ制御部とを
有することを特徴とするメモリシステム。[Scope of Claims] A memory system equipped with a cache memory, comprising: a memory buffer that serves as both the cache memory and main memory; and a hit determination mechanism that determines whether accessed data is registered in the cache memory. and a memory control unit that activates either the cache memory or the main memory according to the result of the determination, and causes the memory buffer to function in response to the activation. system.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63303157A JPH02148149A (en) | 1988-11-29 | 1988-11-29 | Memory system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63303157A JPH02148149A (en) | 1988-11-29 | 1988-11-29 | Memory system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH02148149A true JPH02148149A (en) | 1990-06-07 |
Family
ID=17917567
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63303157A Pending JPH02148149A (en) | 1988-11-29 | 1988-11-29 | Memory system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH02148149A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6535960B1 (en) | 1994-12-12 | 2003-03-18 | Fujitsu Limited | Partitioned cache memory with switchable access paths |
| US8892001B2 (en) | 2011-12-28 | 2014-11-18 | Brother Kogyo Kabushiki Kaisha | Image forming apparatus and developing unit for use in image forming apparatus |
-
1988
- 1988-11-29 JP JP63303157A patent/JPH02148149A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6535960B1 (en) | 1994-12-12 | 2003-03-18 | Fujitsu Limited | Partitioned cache memory with switchable access paths |
| US8892001B2 (en) | 2011-12-28 | 2014-11-18 | Brother Kogyo Kabushiki Kaisha | Image forming apparatus and developing unit for use in image forming apparatus |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2001014840A (en) | Plural line buffer type memory lsi | |
| EP0735487A3 (en) | A fast, dual ported cache controller for data processors in a packet switched cache coherent multiprocessor system | |
| JP3039557B2 (en) | Storage device | |
| US5524225A (en) | Cache system and method for providing software controlled writeback | |
| WO2001029818A8 (en) | Atomic operation in system with burst mode memory access | |
| JPH02148149A (en) | Memory system | |
| JP2766216B2 (en) | Information processing device | |
| US4627035A (en) | Switching circuit for memory devices | |
| JPH0460729A (en) | Information processor | |
| JPH07306946A (en) | Parallel readout processing by composition of transaction | |
| CA2035876C (en) | Computer with cache | |
| JPH02219144A (en) | Cache memory with shortened write-back access time | |
| JPH02273394A (en) | Regulating circuit for bidirectional port ram | |
| JPH01150953A (en) | disk cache device | |
| JPS6389951A (en) | cache memory device | |
| JPS6329858A (en) | Cache memory control system | |
| JPS5829188A (en) | Information processor | |
| JPS57162168A (en) | Memory access control system | |
| JPH05233443A (en) | Multiprocessor system | |
| JPS63217444A (en) | Multiple port memory | |
| JPS61221845A (en) | Producing system for invalidated address of buffer memory | |
| JPH0821000B2 (en) | Cache memory update control method | |
| KR970029789A (en) | Dynamic DRAM page mode | |
| JPH073749B2 (en) | Dual port RAM | |
| JPH0426500U (en) |