JPH0256693B2 - - Google Patents

Info

Publication number
JPH0256693B2
JPH0256693B2 JP56119701A JP11970181A JPH0256693B2 JP H0256693 B2 JPH0256693 B2 JP H0256693B2 JP 56119701 A JP56119701 A JP 56119701A JP 11970181 A JP11970181 A JP 11970181A JP H0256693 B2 JPH0256693 B2 JP H0256693B2
Authority
JP
Japan
Prior art keywords
common bus
memory
cache memory
data
control unit
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.)
Expired - Lifetime
Application number
JP56119701A
Other languages
Japanese (ja)
Other versions
JPS5819970A (en
Inventor
Masaaki Kobayashi
Takumi Kishino
Shigeru Hashimoto
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP56119701A priority Critical patent/JPS5819970A/en
Publication of JPS5819970A publication Critical patent/JPS5819970A/en
Publication of JPH0256693B2 publication Critical patent/JPH0256693B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Description

【発明の詳細な説明】 本発明はマイクロプロセサ等におけるメモリア
クセス制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a memory access control system in a microprocessor or the like.

処理装置、主記憶及びキヤシユメモリが内部共
通バスで結ばれ、入出力装置等が外部共通バスで
結ばれた処理システムにおいて、前記処理装置か
ら発せられるメモリアクセス要求と、外部共通バ
スから発せられるメモリアクセス(DMA)要求
との競合を生ずる。処理装置が内部共通バスを専
有中にDMA要求が発生した場合、該DMA要求
は、従来方式では処理装置による内部共通バスの
使用終了時まで待機させられる欠点があつた。
In a processing system in which a processing unit, main memory, and cache memory are connected by an internal common bus, and input/output devices, etc. are connected by an external common bus, memory access requests issued from the processing unit and memory accesses issued from the external common bus are (DMA) requests. In the conventional system, when a DMA request occurs while a processing device is monopolizing the internal common bus, the DMA request is made to wait until the processing device finishes using the internal common bus.

本発明は上記の欠点を解決するためになされた
もので、システムの処理効率を向上するメモリア
クセス制御方式の提供を目的とする。
The present invention was made to solve the above-mentioned drawbacks, and an object of the present invention is to provide a memory access control method that improves system processing efficiency.

本発明は、第1の共通バスと、処理装置と主記
憶装置とキヤシユメモリとに結ばれた第2の共通
バスと、前記第1の共通バスと前記第2の共通バ
スとに結ばれた制御部とを有する処理システムに
おいて、前記第1の共通バスから発せられるメモ
リアクセス要求を受信して、前記キヤシユメモリ
へのアクセス要求信号を出力する手段と、前記処
理装置からの許容信号を受信して、前記キヤシユ
メモリへ、データを書込む手段とを設け前記第1
の共通バスからのメモリ書込みのアクセス要求を
受理した際、前記主記憶装置へ前記第1の共通バ
スからのデータの書込みを開始すると共に前記キ
ヤシユメモリに対するアクセス要求信号を処理装
置に発し、前記許容信号を受信することにより、
前記キヤシユメモリへのデータの書込みを実行す
ることを特徴とするメモリアクセス制御方式であ
る。
The present invention provides a first common bus, a second common bus connected to a processing device, a main storage device, and a cache memory, and a control bus connected to the first common bus and the second common bus. a processing system comprising: means for receiving a memory access request issued from the first common bus and outputting an access request signal to the cache memory; and receiving a permission signal from the processing device; means for writing data into the cache memory;
When it receives a memory write access request from the first common bus, it starts writing data from the first common bus to the main storage device, issues an access request signal to the cache memory to the processing device, and receives the permission signal. By receiving the
This is a memory access control method characterized by writing data into the cache memory.

以下、本発明を図面によつて説明する。図面は
本発明の一実施例を説明するブロツク図であり、
1はキヤシユメモリ、2はプロセサ、3は内部バ
ス制御部、4は内部バス、5は共通バス制御部、
6は外部バス制御部、7,8はドライバー/レシ
ーバー(D/R)部、9はメモリ制御部、10は
メモリ、11は共通バス、12は入出力装置、A
はI/Oアクセス要求、Bは要求信号、Cは許容
信号、D,dはデータ、DMAはDMA要求、
R/Wは読出/書込命令、wは書込信号である。
図面におけるキヤシユメモリ1には、メモリ10
内のデータの一部のデータdが格納されており、
プロセサ2は、このキヤシユメモリ1にアクセス
することにより、データdを高速に取出すことが
できる。またプロセサ2が入出力装置12にアク
セスを要するときには、共通バス制御部5に対
し、I/Oアクセス要求Aと読出/書込命令R/
Wを発する。
Hereinafter, the present invention will be explained with reference to the drawings. The drawing is a block diagram illustrating an embodiment of the present invention.
1 is a cache memory, 2 is a processor, 3 is an internal bus control unit, 4 is an internal bus, 5 is a common bus control unit,
6 is an external bus control unit, 7 and 8 are driver/receiver (D/R) units, 9 is a memory control unit, 10 is a memory, 11 is a common bus, 12 is an input/output device, A
is an I/O access request, B is a request signal, C is a permission signal, D, d are data, DMA is a DMA request,
R/W is a read/write command, and w is a write signal.
The cache memory 1 in the drawing includes a memory 10.
Some data d of the data in is stored,
By accessing this cache memory 1, the processor 2 can retrieve data d at high speed. Further, when the processor 2 needs to access the input/output device 12, it sends an I/O access request A and a read/write command R/
Emits a W.

図面において、プロセサ2がキヤシユメモリ1
にアクセスしてデータdを読出し中に、共通バス
制御部5がDMA要求DMAを受理した際、外部
バス制御部6はD/R部8に対し、書込み信号w
を発し、D/R部8を有効とせしめ、共通バス1
1からのデータDをメモリ10へ書込む。また外
部バス制御部6はDMA要求によるデータDの書
込みにおいて、キヤシユメモリ2のデータdの更
新も必要であるか否かを判別(データDの書込ま
れるアドレスによつて判別する)し、更新の要が
あれば、内部バス制御部3に対し、要求信号Bを
発する。内部バス制御部3は、プロセサ2のキヤ
シユメモリ1に対するアクセスを監視し、プロセ
サ2がデータdの読出しを終了すると共に、許容
信号Cを発する。共通バス制御部5が、この許容
信号Cを受けると、D/R部7を有効とせしめる
ので、データDのキヤシユメモリ1への書込みが
開始される。
In the drawing, processor 2 is cache memory 1.
When the common bus control unit 5 receives a DMA request DMA while accessing and reading data d, the external bus control unit 6 sends a write signal w to the D/R unit 8.
is issued to enable the D/R section 8, and the common bus 1 is activated.
Write data D from 1 to memory 10. In addition, when writing data D based on a DMA request, external bus control unit 6 determines whether it is also necessary to update data d in cache memory 2 (determined based on the address to which data D is written), If necessary, a request signal B is issued to the internal bus control section 3. The internal bus control unit 3 monitors the access of the processor 2 to the cache memory 1, and issues a permission signal C when the processor 2 finishes reading the data d. When the common bus control section 5 receives this permission signal C, it makes the D/R section 7 valid, so that writing of the data D to the cache memory 1 is started.

従来方式では、プロセサ2がキヤシユメモリ1
にアクセス中に共通バス11側からDMA要求
(書込み)が発生しても、メモリ9に対する書込
みが待たされることがあつた。本発明において
は、メモリ9への書込みを可能とすると共に、キ
ヤシユメモリ1内のデータ更新の要否に応じてキ
ヤシユメモリ1への書込みを行うものであり、こ
のためシステムの処理効率及びDMA要求に対す
る処理効率を著しく向上する利点を有する。
In the conventional method, processor 2 uses cache memory 1
Even if a DMA request (write) is generated from the common bus 11 side while accessing the memory 9, the writing to the memory 9 may have to wait. In the present invention, writing to the memory 9 is enabled, and writing to the cache memory 1 is performed depending on whether or not data in the cache memory 1 needs to be updated.This improves the processing efficiency of the system and the processing for DMA requests. It has the advantage of significantly increasing efficiency.

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

図面は本発明の一実施例を説明するブロツク図
であり、図中に用いた符号は次の通りである。 1はキヤシユメモリ、2はプロセサ、3は内部
バス制御部、4は内部バス、5は共通バス制御
部、6は外部バス制御部、7,8はドライバー/
レシーバー(D/R)部、9はメモリ制御部、1
0はメモリ、11は共通バス、12は入出力装
置、AはI/Oアクセス要求、Bは要求信号、C
は許要信号、D,dはデータ、DMAはDMA要
求、R/Wは読出/書込命令、wは書込信号を示
す。
The drawing is a block diagram illustrating an embodiment of the present invention, and the symbols used in the drawing are as follows. 1 is a cache memory, 2 is a processor, 3 is an internal bus control unit, 4 is an internal bus, 5 is a common bus control unit, 6 is an external bus control unit, 7 and 8 are drivers/
Receiver (D/R) section, 9 is a memory control section, 1
0 is memory, 11 is common bus, 12 is input/output device, A is I/O access request, B is request signal, C
is a permission signal, D and d are data, DMA is a DMA request, R/W is a read/write command, and w is a write signal.

Claims (1)

【特許請求の範囲】[Claims] 1 入出力装置等に結ばれた第1の共通バスと、
処理装置とキヤツシユメモリに結ばれた第2の共
通バスと、主記憶装置と、前記第1の共通バスと
前記第2の共通バスと前記主記憶装置との接続を
制御する制御部とを有する処理システムにおい
て、前記制御部が前記第1の共通バスからのメモ
リ書込みのアクセス要求を受理した際、前記主記
憶装置へ前記第1の共通バスからのデータの書込
みを開始すると共に前記処理装置に対して前記キ
ヤツシユメモリへのアクセス要求を発し、前記処
理装置からの許容信号を受信することにより、前
記キヤツシユメモリへのデータの書込みを実行す
ることを特徴とするメモリアクセス制御方式。
1 a first common bus connected to input/output devices, etc.;
a second common bus connected to the processing device and the cache memory, a main storage device, and a control unit that controls connections between the first common bus, the second common bus, and the main storage device; In the processing system, when the control unit receives a memory write access request from the first common bus, it starts writing data from the first common bus to the main storage device, and the processing device 1. A memory access control system, wherein writing of data to said cache memory is executed by issuing an access request to said cache memory to said processing device and receiving a permission signal from said processing device.
JP56119701A 1981-07-30 1981-07-30 Memory access controlling system Granted JPS5819970A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56119701A JPS5819970A (en) 1981-07-30 1981-07-30 Memory access controlling system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56119701A JPS5819970A (en) 1981-07-30 1981-07-30 Memory access controlling system

Publications (2)

Publication Number Publication Date
JPS5819970A JPS5819970A (en) 1983-02-05
JPH0256693B2 true JPH0256693B2 (en) 1990-11-30

Family

ID=14767932

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56119701A Granted JPS5819970A (en) 1981-07-30 1981-07-30 Memory access controlling system

Country Status (1)

Country Link
JP (1) JPS5819970A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62109153A (en) * 1985-11-08 1987-05-20 Fuji Facom Corp Device equipment
GB9008145D0 (en) * 1989-05-31 1990-06-06 Ibm Microcomputer system employing address offset mechanism to increase the supported cache memory capacity

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS50141938A (en) * 1974-05-02 1975-11-15

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS50141938A (en) * 1974-05-02 1975-11-15

Also Published As

Publication number Publication date
JPS5819970A (en) 1983-02-05

Similar Documents

Publication Publication Date Title
US5276836A (en) Data processing device with common memory connecting mechanism
US5644788A (en) Burst transfers using an ascending or descending only burst ordering
US5802554A (en) Method and system for reducing memory access latency by providing fine grain direct access to flash memory concurrent with a block transfer therefrom
KR950033837A (en) Computer Systems and Information Transfer Methods
US20020013880A1 (en) Integrated circuit with flash bridge and autoload
JPH06222992A (en) Cache system and method for control of cache controller
JPH0256693B2 (en)
JPH10178626A (en) Transmitting device, server device and transmitting method
US5546560A (en) Device and method for reducing bus activity in a computer system having multiple bus-masters
US5790892A (en) Information handling system for modifying coherency response set to allow intervention of a read command so that the intervention is not allowed by the system memory
JPH035619B2 (en)
JP2599184B2 (en) DMAC read transfer controller
JP3136681B2 (en) Data processing device
JP2001256169A (en) Data transfer control system and device
JPH05189311A (en) Cache memory system
JP3226557B2 (en) Multiprocessor system
JP2627355B2 (en) Data communication method
JPS58213371A (en) Data processing system
JPH0256692B2 (en)
JP3219422B2 (en) Cache memory control method
JPS642985B2 (en)
JPH0239342A (en) Memory ensuring system for ram disk
JPH03233780A (en) Bus access system
JPH04337851A (en) Memory access system
JPH0594407A (en) Bus control system