Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH035619B2 - - Google Patents
[go: Go Back, main page]

JPH035619B2 - - Google Patents

Info

Publication number
JPH035619B2
JPH035619B2 JP56099269A JP9926981A JPH035619B2 JP H035619 B2 JPH035619 B2 JP H035619B2 JP 56099269 A JP56099269 A JP 56099269A JP 9926981 A JP9926981 A JP 9926981A JP H035619 B2 JPH035619 B2 JP H035619B2
Authority
JP
Japan
Prior art keywords
data
memory
cache memory
control unit
reading
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
JP56099269A
Other languages
Japanese (ja)
Other versions
JPS581256A (en
Inventor
Masaaki Kobayashi
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 JP56099269A priority Critical patent/JPS581256A/en
Publication of JPS581256A publication Critical patent/JPS581256A/en
Publication of JPH035619B2 publication Critical patent/JPH035619B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
    • G06F12/0802Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
    • G06F12/0844Multiple simultaneous or quasi-simultaneous cache accessing
    • G06F12/0855Overlapped cache accessing, e.g. pipeline
    • G06F12/0859Overlapped cache accessing, e.g. pipeline with reload from main memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • 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 method for controlling reading of data from a memory.

キヤシユメモリを具備した処理システムにおい
ては、内部バスと共通(外部)バスとを有し、共
通バスからのDMA要求と、処理装置からのメモ
リアクセス要求との競合を判定し、何れかの一方
に内部バスの専有権を与える方式を採用してい
る。従来方式を図によつて説明する。第1図は従
来方式を説明するブロツク図であり、1は処理装
置、2はキヤシユメモリ、3は内部バス、4はメ
モリ制御部、5はメモリ、6はバス制御部、7は
共通バス、8は入出力装置、AはDMA要求、B
はメモリアクセス要求、dはデータである。第1
図におけるキヤシユメモリ2にはメモリ5内の一
部のデータdが格納されており処理装置1とのデ
ータの転送を高速で行う。第1図において、共通
バス7側からのDMA要求Aと、処理装置1から
のメモリアクセス要求Bとの競合をバス制御部6
が判定し、何れかの一方に、内部バスの専有を許
可する。このような処理システムにおいて、処理
装置1がキヤシユメモリ2からデータdを読出し
ているとき、共通バス7側からDMA要求Aが発
せられた場合、そのDMA要求AがREAD(メモ
リ5からのデータの読出し)であれば、処理装置
1によるキヤシユメモリ2からのデータ読出しと
並行して、前記READ要求を満たすことが可能
である。DMA要求がWRITEの場合には、キヤ
シユメモリ2とメモリ5との間でデータの不一致
が生ずるので、キヤシユメモリ2の内の該当アド
レスを無効化する。無効化すると、キヤシユメモ
リ2はヒツトせずメモリ5よりアクセスし、その
時点で、DMAWRITEで更新された最新のデー
タをキヤシユメモリ2に取り込む。READの場
合にはメモリ5からデータを読出すのみでよいか
らである。このように並行読出しを可能とすれ
ば、システムの処理効率を著しく向上しうる。
A processing system equipped with cache memory has an internal bus and a common (external) bus, and determines conflicts between DMA requests from the common bus and memory access requests from the processing unit, and A method of giving exclusive use of the bus is adopted. The conventional method will be explained using figures. FIG. 1 is a block diagram explaining the conventional system, in which 1 is a processing unit, 2 is a cache memory, 3 is an internal bus, 4 is a memory control section, 5 is a memory, 6 is a bus control section, 7 is a common bus, 8 is an input/output device, A is a DMA request, B
is a memory access request, and d is data. 1st
A part of data d in the memory 5 is stored in the cache memory 2 in the figure, and data is transferred to and from the processing device 1 at high speed. In FIG. 1, a bus controller 6 handles a conflict between a DMA request A from the common bus 7 and a memory access request B from the processing device 1.
makes a decision and allows one of them to exclusively use the internal bus. In such a processing system, if a DMA request A is issued from the common bus 7 side while the processing device 1 is reading data d from the cache memory 2, the DMA request A is ), it is possible to satisfy the READ request in parallel with data reading from the cache memory 2 by the processing device 1. If the DMA request is WRITE, a data mismatch occurs between cache memory 2 and memory 5, so the corresponding address in cache memory 2 is invalidated. When invalidated, the cache memory 2 is not hit and is accessed from the memory 5, and at that point, the latest data updated by DMAWRITE is taken into the cache memory 2. This is because in the case of READ, it is only necessary to read data from the memory 5. If parallel reading is possible in this way, the processing efficiency of the system can be significantly improved.

本発明は上記の点に着目したものであり、処理
システムの処理効率を向上するメモリアクセス制
御方式の提供を目的とする。
The present invention has focused on the above points, and aims to provide a memory access control method that improves the processing efficiency of a processing system.

本発明は、入出力装置等が結ばれた共通バスを
制御する第1の制御部と、主記憶装置を制御する
第2の制御部と、前記第2の制御部と前記主記憶
装置の中の一部のデータを格納しているキヤシユ
メモリとに結ばれた処理装置とを有するデータ処
理システムにおいて、前記処理装置が前記キヤシ
ユメモリからデータを読出し中に、前記共通バス
から前記第1の制御部に対しデータ読出しのメモ
リアクセス要求を生じた際、前記主記憶装置から
のデータの読出しを可能とする手段を備えたこと
を特徴とするメモリアクセス制御方式である。
The present invention includes a first control section that controls a common bus to which input/output devices, etc. are connected, a second control section that controls a main storage device, and an interface between the second control section and the main storage device. in a data processing system having a cache memory storing part of data of a storage device, and a processing device connected to the cache memory, wherein the processing device is connected to the cache memory from the common bus to the first control unit while the processing device is reading data from the cache memory. On the other hand, the present invention is a memory access control system characterized by comprising means for enabling reading of data from the main storage device when a memory access request for reading data is generated.

以下、本発明を図面によつて説明する。第2図
は本発明の一実施例を説明するブロツク図であ
り、9は受付部、10,11はフラグ部、12は
判別部、Cは読出指令、Hはヒツト信号、F1
F2,f1,f2はフラグ、その他は第1図と同様であ
る。第2図において、処理装置1からのメモリア
クセス要求Bによりフラグ部10にフラグf1
(READ)がセツトされ、キヤシユメモリ2内の
データdが処理装置1へと読出されて処理が実行
される。このキヤシユメモリ2からのデータ読出
し中に、共通バス7側からDMA要求A(READ)
が発せられると、受付部9がこれを受理して、フ
ラグ11のフラグF1(READ)をセツトする。判
別部12はフラグ部10及び11を調べ、ヒツト
信号Hが有効となつている間にフラグF1とf1とが
設定されたときに、読出命令Cを発する。このた
めメモリ制御部4はメモリ5内のデータを読出し
て共通バス7側へ送出する。一方、処理装置1に
よるキヤシユメモリ2からのデータdの読出しは
そのまま続行される。
Hereinafter, the present invention will be explained with reference to the drawings. FIG. 2 is a block diagram illustrating an embodiment of the present invention, in which 9 is a reception section, 10 and 11 are flag sections, 12 is a discrimination section, C is a read command, H is a hit signal, F 1 ,
F 2 , f 1 , and f 2 are flags, and the others are the same as in FIG. 1. In FIG. 2, a flag f 1 is sent to the flag section 10 in response to a memory access request B from the processing device 1.
(READ) is set, data d in the cache memory 2 is read out to the processing device 1, and processing is executed. While reading data from cache memory 2, DMA request A (READ) is issued from the common bus 7 side.
When this is issued, the reception section 9 accepts it and sets the flag F 1 (READ) of the flag 11. The determining unit 12 checks the flag units 10 and 11, and issues a read command C when the flags F1 and f1 are set while the hit signal H is valid. Therefore, the memory control unit 4 reads out the data in the memory 5 and sends it to the common bus 7 side. On the other hand, reading of data d from cache memory 2 by processing device 1 continues as is.

以上のように本発明は、処理装置によるキヤシ
ユメモリからのデータの読出しと並行して、共通
バス側から主記憶データの読出しを可能とするも
ので、処理システムの処理効率を著しく向上する
利点を有する。
As described above, the present invention enables the main memory data to be read from the common bus side in parallel with the data read from the cache memory by the processing device, and has the advantage of significantly improving the processing efficiency of the processing system. .

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

第1図は従来方式を説明するブロツク図、第2
図は本発明の一実施例を説明するブロツク図であ
り、図中に用いた符号は次の通りである。 1は処理装置、2はキヤシユメモリ、3は内部
バス、4はメモリ制御部、5はメモリ、6はバス
制御部、7は共通バス、8は入出力装置、9は受
付部、10,11はフラグ部、12は判別部、A
はDMA要求、Bはメモリアクセス要求、Cは読
出指令、dはデータ、F1,F2,f1,f2はフラグ、
Hはヒツト信号を示す。
Figure 1 is a block diagram explaining the conventional method, and Figure 2 is a block diagram explaining the conventional method.
The figure is a block diagram illustrating one embodiment of the present invention, and the symbols used in the figure are as follows. 1 is a processing unit, 2 is a cache memory, 3 is an internal bus, 4 is a memory control unit, 5 is a memory, 6 is a bus control unit, 7 is a common bus, 8 is an input/output device, 9 is a reception unit, 10 and 11 are flag section, 12 is a discrimination section, A
is a DMA request, B is a memory access request, C is a read command, d is data, F 1 , F 2 , f 1 , f 2 are flags,
H indicates a human signal.

Claims (1)

【特許請求の範囲】 1 入出力装置等が結ばれた共通バスを制御する
第1の制御部と、主記憶装置を制御する第2の制
御部と、前記第2の制御部と前記主記憶装置の中
の一部のデータを格納しているキヤシユメモリと
に結ばれた処理装置とを有するデータ処理システ
ムにおいて、 前記処理装置が前記キヤシユメモリからデータ
を読出し中に、前記共通バスから前記第1の制御
部に対しデータ読出しのメモリアクセス要求が生
じた際、前記主記憶装置からのデータ読出しを可
能とする手段を備えたことを特徴とするメモリア
クセス制御方式。
[Scope of Claims] 1. A first control unit that controls a common bus connected to input/output devices, etc., a second control unit that controls a main storage device, and the second control unit and the main storage device. In a data processing system, the data processing system includes a cache memory storing part of data in the device, and a processing device connected to the cache memory, wherein while the processing device is reading data from the cache memory, the first 1. A memory access control system, comprising means for enabling data reading from the main storage device when a memory access request for reading data is issued to a control unit.
JP56099269A 1981-06-26 1981-06-26 Memroy access control system Granted JPS581256A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56099269A JPS581256A (en) 1981-06-26 1981-06-26 Memroy access control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56099269A JPS581256A (en) 1981-06-26 1981-06-26 Memroy access control system

Publications (2)

Publication Number Publication Date
JPS581256A JPS581256A (en) 1983-01-06
JPH035619B2 true JPH035619B2 (en) 1991-01-28

Family

ID=14242962

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56099269A Granted JPS581256A (en) 1981-06-26 1981-06-26 Memroy access control system

Country Status (1)

Country Link
JP (1) JPS581256A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0614031Y2 (en) * 1985-05-21 1994-04-13 日産自動車株式会社 Vortex chamber type diesel engine

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55153024A (en) * 1979-05-15 1980-11-28 Toshiba Corp Bus control system
JPS5671129A (en) * 1979-11-15 1981-06-13 Fujitsu Ltd Data processing system

Also Published As

Publication number Publication date
JPS581256A (en) 1983-01-06

Similar Documents

Publication Publication Date Title
US5749093A (en) Enhanced information processing system using cache memory indication during DMA accessing
JPH035619B2 (en)
JPS63172343A (en) Instruction prefetch method
JP2626568B2 (en) Data transfer control device
JPS59173828A (en) Data processing system
JPH0256693B2 (en)
JP2964504B2 (en) Document processing device
JPH05189311A (en) Cache memory system
JPH0256692B2 (en)
JPH0944401A (en) Cache controller
JPS626268B2 (en)
JPH05233443A (en) Multiprocessor system
JPH01320556A (en) Data processor
JPH10247162A (en) Electronic computer system
JPH01108665A (en) Dma transfer control system
JPH0247739A (en) Control system for main storage device
JPH07105106B2 (en) Magnetic disk control system
JPS6019267A (en) Data processing system
JPH0415490B2 (en)
JPH11184456A (en) Drawing display method and apparatus and navigation system
JPH0556544B2 (en)
JPS6329858A (en) Cache memory control system
JPS6010366A (en) Main storage device
JPS62224846A (en) Memory controller
JPS642985B2 (en)