JPH02284245A - Cache memory control system - Google Patents

Cache memory control system

Info

Publication number
JPH02284245A
JPH02284245A JP1106244A JP10624489A JPH02284245A JP H02284245 A JPH02284245 A JP H02284245A JP 1106244 A JP1106244 A JP 1106244A JP 10624489 A JP10624489 A JP 10624489A JP H02284245 A JPH02284245 A JP H02284245A
Authority
JP
Japan
Prior art keywords
memory
address
access
buffer memory
processor
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
JP1106244A
Other languages
Japanese (ja)
Inventor
Hiroshi Murata
弘志 村田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP1106244A priority Critical patent/JPH02284245A/en
Publication of JPH02284245A publication Critical patent/JPH02284245A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To remove restrictions in the use of software and the configuration of system by setting an address area of which a buffer memory need not be referred to by the software. CONSTITUTION:An address setting register 3 holds information related to the address area for which the buffer memory 6 need not be referred to by access from a processor. At the time of memory access from the processor, it is checked whether its access address is included in the address area specified by the information of the address setting register 3 or not by a decision circuit 4. If it is decided to be included in the address area as a result, its memory access is controlled so as to access a main storage part 7 always without referring to the buffer memory 6 at all by a memory access control circuit 5. Thus, the configuration of the system and the use of the software are never given any restriction.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はメモリ、プロセッサを用いたシステムのキャッ
シュメモリ制御方式に関し、特にプロセッサによるメモ
リアクセス時の制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a cache memory control method for a system using a memory and a processor, and more particularly to a control method when a processor accesses memory.

〔従来の技術〕[Conventional technology]

従来、この種のキャッシュメモリ制御方式は、ハードウ
ェアによるアドレスデコーダによりバッファメモリを参
照しないアドレス領域を決定していた。
Conventionally, in this type of cache memory control system, a hardware address decoder determines an address area that does not refer to the buffer memory.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のキャッシュメモリ制御方式では、ハード
ウェア的な構成であるためアドレス領域の設定が一様に
決まってしまうという欠点がある。そのためキャッシュ
メモリシステムを構築するにあたってそのうえで動作す
るソフトウェアの仕様を考慮しなければならず、また使
用するソフトウエアにも制約がでてきてしまうという欠
点がある。
The conventional cache memory control method described above has a drawback in that the address area settings are uniformly determined because of the hardware configuration. Therefore, when constructing a cache memory system, the specifications of the software that runs on it must be considered, and there are also limitations on the software that is used.

本発明の目的は、これらの欠点を除き、ソフトウェアに
よりバッファメモリを参照しないアドレス領域を設定す
ることにより、ソフトウェアの使用、システム構成に制
約がないようにしたキャッシュメモリ制御方式を提供す
ることにある。
An object of the present invention is to eliminate these drawbacks and provide a cache memory control method that eliminates restrictions on software use and system configuration by setting an address area that does not refer to buffer memory by software. .

〔課題を解決するための手段〕[Means to solve the problem]

本発明の構成は、プロセッサと主記憶部との間に高速の
バッファメモリを備え、前記プロセッサからのメモリア
クセスに際して前記主記憶部上の該当データが前記バッ
ファメモリにコピーされていた時、このバッファメモリ
をアクセスし、コピーされていない時、前記主記憶部を
直接アクセスすると共に、そのアクセスアドレスで特定
されるデータ領域を前記バッファメモリ内にコピーする
ように制御を行うキャッシュメモリ制御方式において、
所定のアドレス領域を設定するレジスタを有し、その所
定アドレス領域内に前記プロセッサからのアクセスがあ
った場合には前記バッファメモリを参照することなく常
に前記主記憶部をアクセスするようにしたことを特徴と
する。
The configuration of the present invention includes a high-speed buffer memory between a processor and a main memory, and when the corresponding data on the main memory has been copied to the buffer memory when the processor accesses the memory, the buffer In a cache memory control method, the cache memory control method performs control such that when the memory is not being copied, the main memory is directly accessed and a data area specified by the access address is copied into the buffer memory,
A register is provided for setting a predetermined address area, and when there is an access from the processor within the predetermined address area, the main memory is always accessed without referring to the buffer memory. Features.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例の内部構成を示すブロック図
である。本実施例のシステムは、図示していないプロセ
ッサと主記憶部7との間にバッファメモリ6を有し、こ
れら主記憶部7、バッファメモリ6を、アドレスバス1
からのアドレスによりアクセスするメモリアクセス制御
部5が、アドレス設定レジスタ3、判定回路4からの信
号により制御される。本実施例において、アドレス設定
レジスタ3は、プロセッサからのアクセスによりバッフ
ァメモリ6を参照しないアドレス領域に関する情報を保
持する。プロセッサからのメモリアクセスに際し、その
アクセスアドレス1はアドレス設定レジスタ3の情報で
特定されるアドレス領域内に入るかどうかを判定回路4
でチエツクされる。その結果、アドレス領域内に入ると
判定されれば、そのメモリアクセスは一切バッファメモ
リ6を参照せずに、メモリアクセス制御回路5にて常に
主記憶部7をアクセスするよう制御され、アドレス領域
内に入らないと判定されれば、通常のバッファメモリ6
を用いた制御を行う。
FIG. 1 is a block diagram showing the internal configuration of an embodiment of the present invention. The system of this embodiment has a buffer memory 6 between a processor (not shown) and a main memory section 7, and these main memory section 7 and buffer memory 6 are connected to an address bus 1.
A memory access control unit 5 accessed by an address from is controlled by signals from an address setting register 3 and a determination circuit 4. In this embodiment, the address setting register 3 holds information regarding address areas that do not refer to the buffer memory 6 when accessed by the processor. When the processor accesses the memory, the judgment circuit 4 determines whether the access address 1 falls within the address area specified by the information in the address setting register 3.
will be checked. As a result, if it is determined that the memory is within the address area, the memory access is controlled by the memory access control circuit 5 to always access the main memory 7 without referring to the buffer memory 6, and If it is determined that it does not fit in the normal buffer memory 6
Control using

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

以上説明したように本発明は、ソフトウェアにてバッフ
ァ、メモリを参照しないアドレス領域を設定することに
より、システムの構成、ソフトウェアの使用において制
約を与えることがないという効果がある。また、システ
ムの動作中でも動的にその領域指定を変更できるためシ
ステム全体の効率を高めることができるという効果もあ
る。
As explained above, the present invention has the advantage that by setting an address area that does not refer to a buffer or memory in software, there is no restriction on the system configuration or use of software. Furthermore, since the area designation can be dynamically changed even while the system is in operation, the efficiency of the entire system can be improved.

憶部。Memory department.

Claims (1)

【特許請求の範囲】[Claims] プロセッサと主記憶部との間に高速のバッファメモリを
備え、前記プロセッサからのメモリアクセスに際して前
記主記憶部上の該当データが前記バッファメモリにコピ
ーされていた時、このバッファメモリをアクセスし、コ
ピーされていない時、前記主記憶部を直接アクセスする
と共に、そのアクセスアドレスで特定されるデータ領域
を前記バッファメモリ内にコピーするように制御を行う
キャッシュメモリ制御方式において、所定のアドレス領
域を設定するレジスタを有し、その所定アドレス領域内
に前記プロセッサからのアクセスがあった場合には前記
バッファメモリを参照することなく常に前記主記憶部を
アクセスするようにしたことを特徴とするキャッシュメ
モリ制御方式。
A high-speed buffer memory is provided between the processor and the main memory, and when the corresponding data on the main memory has been copied to the buffer memory when the processor accesses the memory, the buffer memory is accessed and copied. A register for setting a predetermined address area in a cache memory control method that directly accesses the main memory and controls to copy a data area specified by the access address into the buffer memory when the access address is not specified. 1. A cache memory control method, characterized in that when there is an access from the processor within the predetermined address area, the main storage section is always accessed without referring to the buffer memory.
JP1106244A 1989-04-25 1989-04-25 Cache memory control system Pending JPH02284245A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1106244A JPH02284245A (en) 1989-04-25 1989-04-25 Cache memory control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1106244A JPH02284245A (en) 1989-04-25 1989-04-25 Cache memory control system

Publications (1)

Publication Number Publication Date
JPH02284245A true JPH02284245A (en) 1990-11-21

Family

ID=14428702

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1106244A Pending JPH02284245A (en) 1989-04-25 1989-04-25 Cache memory control system

Country Status (1)

Country Link
JP (1) JPH02284245A (en)

Similar Documents

Publication Publication Date Title
US6851036B1 (en) Method and apparatus for controlling external devices through address translation buffer
JPH02284245A (en) Cache memory control system
JPS615348A (en) Information processor
JPH0883215A (en) Memory controller
JPH0635800A (en) Microprocessor and data processing system using it
JPS63184848A (en) Microprocessor
JPH064469A (en) Input/output device control system
JPH04128961A (en) Multi-processor control system
JP2853736B2 (en) Cluster number conversion circuit
JP2695463B2 (en) Microcomputer
JPH0447350A (en) Main storage read/response control
JP3219422B2 (en) Cache memory control method
JPH05233443A (en) Multiprocessor system
JPH02307123A (en) Computer
JPH0351017B2 (en)
JPS61165172A (en) Memory access controlling system
JPS6269337A (en) Cache control system
JPH04346153A (en) Method for controlling memory access bus and its information processor
JPH04260958A (en) Microcomputer
JPH02187840A (en) Cache memory control system
JPS60112162A (en) Control system of dual port memory
JPS6385958A (en) System control system
JPH03113649A (en) Write data transfer device
JPH03156653A (en) Cache memory control system
JPH02219144A (en) Cache memory with shortened write-back access time