JPH0256692B2 - - Google Patents
Info
- Publication number
- JPH0256692B2 JPH0256692B2 JP56119699A JP11969981A JPH0256692B2 JP H0256692 B2 JPH0256692 B2 JP H0256692B2 JP 56119699 A JP56119699 A JP 56119699A JP 11969981 A JP11969981 A JP 11969981A JP H0256692 B2 JPH0256692 B2 JP H0256692B2
- Authority
- JP
- Japan
- Prior art keywords
- common bus
- address
- data
- main memory
- 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.)
- Expired - Lifetime
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/08—Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
- G06F12/0802—Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
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 system in a microprocessor or the like.
主記憶装置とキヤシユメモリとを有する処理シ
ステムにおいて、I/O制御装置が接続される外
部共通バスから発せられるメモリアクセス
(DMA)要求と、プロセサから発せられるメモ
リアクセス要求とが競合する現象を生ずる。前記
主記憶装置内の一部のデータが格納されるキヤシ
ユメモリは、内部共通バスでプロセサと結ばれて
いるので、プロセサがキヤシユメモリにアクセス
中に、外部共通バスから発せられたDMA要求
は、プロセサのキヤシユメモリへのアクセス終了
まで待機させられることになる。しかしながら
DMA要求の中には主記憶装置内のデータ更新の
みで済む場合があるので、このような場合にはプ
ロセサがキヤシユメモリにアクセス(内部バスを
使用)中でも、DMA要求に基ずく主記憶装置内
のデータ更新を可能とすれば処理効率を向上する
ことができる。 In a processing system having a main storage device and a cache memory, a phenomenon occurs in which a memory access (DMA) request issued from an external common bus to which an I/O control device is connected and a memory access request issued from a processor compete with each other. The cache memory in which part of the data in the main memory is stored is connected to the processor via an internal common bus, so a DMA request issued from the external common bus while the processor is accessing the cache memory is not processed by the processor. The process is forced to wait until the access to the cache memory is completed. however
Some DMA requests may only update data in main memory, so in such cases, even if the processor is accessing cache memory (using the internal bus), the data in main memory based on the DMA request may be updated. If data can be updated, processing efficiency can be improved.
本発明は上記の点に着目したものであり、処理
効率を向上するメモリアクセス制御方式の提供を
目的とする。 The present invention focuses on the above points, and aims to provide a memory access control method that improves processing efficiency.
本発明は、処理装置と主メモリ装置と該主メモ
リ装置に格納されたデータの一部分であるが、内
容が時々刻々に変化するデータが格納されるキヤ
シユメモリとに接続された内部共通バスと、入出
力装置等に接続された外部共通バスと、該内部共
通バスと外部共通バスとに接続された共通バス制
御部とを有するシステムにおいて、該共通バス制
御部に、該キヤシユメモリに格納されるデータの
該主メモリ装置内におけるアドレスA′を格納す
るアドレステーブルと、入力する2つのアドレス
の一致/不一致を比較判別する判別手段と、切替
部とを設け、該外部共通バスからの直接メモリア
クセス要求が該共通バス制御部に入力した時、該
判別手段は該直接メモリアクセス要求に含まれる
アドレスAと該アドレステーブルから読み出した
アドレスA′とを比較判別し、不一致の時は比較
判別結果で動作させた切替部を介して該直接メモ
リアクセス要求に基づいて該主メモリ装置にアク
セスさせることを特徴とするメモリアクセス制御
方式である。 The present invention provides an internal common bus connected to a processing device, a main memory device, and a cache memory in which data that is part of the data stored in the main memory device but whose contents change from time to time, In a system having an external common bus connected to an output device, etc., and a common bus control section connected to the internal common bus and the external common bus, the common bus control section is configured to store data stored in the cache memory. An address table for storing address A' in the main memory device, a determining means for comparing and determining coincidence/mismatch between two input addresses, and a switching unit are provided, and a direct memory access request from the external common bus is made. When input to the common bus control unit, the determining means compares and determines the address A included in the direct memory access request and the address A' read from the address table, and when they do not match, operates based on the comparison result. This memory access control method is characterized in that the main memory device is accessed via a switching unit based on the direct memory access request.
以下、本発明を図面によつて説明する。図面は
本発明の一実施例を説明するブロツク図であり、
1はキヤシユメモリ、2はプロセサ、3は内部共
通バス、4は内部バス制御部、5は共通バス制御
部、6は信号送受部、7は判別部、8はアドレス
テーブル、9は切替部、10はメモリ制御部、1
1はメモリ、12は外部共通バス、13はI/
OA、A′はアドレスデータ、BはDMA要求、C,
Gは制御信号、Dはデータ、Eは要求信号、Fは
許容信号、イ,ロは接点である。図面におけるア
ドレステーブル8には、キヤシユメモリ1内のア
ドレスデータA′が格納されており、キヤシユメ
モリ1の内容が更新されるのに応じ、アドレステ
ーブル8内のアドレスデータA′も更新されるも
のとする。図面において、I/O13からの
DMA要求Bが発せられると、これを受けた共通
バス制御部5はDMA要求Bに含まれるアドレス
データAとアドレステーブル8内のアドレスデー
タA′との比較、判別を判別部7において行う。
アドレスデータAとA′とが一致したときは、キ
ヤシユメモリ1へのアクセス要求であるので、判
別部7は制御信号Gを信号送受部6へ送る。この
ため要求信号Eが内部バス制御部4へ送出され
る。プロセサ2が内部共通バス3にアクセス(キ
ヤシユメモリ1からデータを読出し)中であれ
ば、このアクセス完了と共に内部バス制御部4か
らは許容信号Fが発せられるので、共通バス制御
部5はDMA要求Bによるキヤシユメモリ1のデ
ータ更新を行う。 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 common bus, 4 is an internal bus control section, 5 is a common bus control section, 6 is a signal transmission/reception section, 7 is a discrimination section, 8 is an address table, 9 is a switching section, 10 is the memory control unit, 1
1 is memory, 12 is external common bus, 13 is I/
OA, A' is address data, B is DMA request, C,
G is a control signal, D is data, E is a request signal, F is a permission signal, and A and B are contact points. Address table 8 in the drawing stores address data A' in cash memory 1, and as the contents of cache memory 1 are updated, address data A' in address table 8 is also updated. . In the drawing, from I/O13
When a DMA request B is issued, the common bus control section 5 that receives the request compares and discriminates the address data A included in the DMA request B with the address data A' in the address table 8 in the discriminating section 7.
When the address data A and A' match, this is a request for access to the cache memory 1, so the determining section 7 sends a control signal G to the signal transmitting/receiving section 6. Therefore, a request signal E is sent to the internal bus control section 4. If the processor 2 is accessing the internal common bus 3 (reading data from the cache memory 1), the internal bus control unit 4 issues a permission signal F upon completion of this access, so the common bus control unit 5 receives the DMA request B. The data in the cache memory 1 is updated by
前記判別部7においてアドレスデータAと
A′とが一致しない(DMA要求Bはメモリ11へ
のデータ書込みのみを要求している)ときには、
判別部7は制御信号Cを発して、切替部9を接点
ロに切替えたのち、外部共通バス12からのデー
タDをメモリ制御部10へ送り、メモリ11への
データ書込みを行う。 In the discrimination section 7, address data A and
A' does not match (DMA request B requests only data writing to memory 11),
The determining unit 7 issues a control signal C to switch the switching unit 9 to contact RO, and then sends the data D from the external common bus 12 to the memory control unit 10 to write the data into the memory 11.
以上のように本発明は、共通バス側からの
DMA要求に含まれるアドレスを判別する手段を
有し、DMA要求が主記憶のデータ更新のみの場
合には、プロセサがキヤシユメモリにアクセス中
でも、主記憶へのデータの書込みを可能としたも
のであり、システムの処理効率を著しく向上しう
る利点を有する。 As described above, the present invention enables
It has means for determining the address included in a DMA request, and when the DMA request is only to update data in the main memory, it is possible to write data to the main memory even while the processor is accessing the cache memory. This has the advantage of significantly improving system processing efficiency.
図面は本発明の一実施例を説明するブロツク図
であり、図中に用いた符号は次の通りである。
1はキヤシユメモリ、2はプロセサ、3は内部
共通バス、4は内部バス制御部、5は共通バス制
御部、6は信号送受部、7は判別部、8はアドレ
ステーブル、9は切替部、10はメモリ制御部、
11はメモリ、12は外部共通バス、13はI/
OA,A′はアドレスデータ、BはDMA要求、C,
Gは制御信号、Dはデータ、Eは要求信号、Fは
許容信号、イ,ロは接点を示す。
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 common bus, 4 is an internal bus control section, 5 is a common bus control section, 6 is a signal transmission/reception section, 7 is a discrimination section, 8 is an address table, 9 is a switching section, 10 is the memory control section,
11 is memory, 12 is external common bus, 13 is I/
OA, A' is address data, B is DMA request, C,
G indicates a control signal, D indicates data, E indicates a request signal, F indicates a permission signal, and A and B indicate contact points.
Claims (1)
格納されたデータの一部分であるが、内容が時々
刻々に変化するデータが格納されるキヤシユメモ
リとに接続された内部共通バスと、入出力装置等
に接続された外部共通バスと、該内部共通バスと
外部共通バスとに接続された共通バス制御部とを
有するシステムにおいて、 該共通バス制御部に、該キヤシユメモリに格納
されるデータの該主メモリ装置内におけるアドレ
スA′を格納するアドレステーブルと、入力する
2つのアドレスの一致/不一致を比較判別する判
別手段と、切替部とを設け、 該外部共通バスからの直接メモリアクセス要求
が該共通バス制御部に入力した時、 該判別手段は該直接メモリアクセス要求に含ま
れるアドレスAと該アドレステーブルから読み出
したアドレスA′とを比較判別し、 不一致の時は比較判別結果で動作させた切替部
を介して該直接メモリアクセス要求に基づいて該
主メモリ装置にアクセスさせることを特徴とする
メモリアクセス制御方式。[Scope of Claims] 1. An internal common bus connected to a processing device, a main memory device, and a cache memory in which data that is part of the data stored in the main memory device but whose contents change from moment to moment is stored. , an external common bus connected to input/output devices, etc., and a common bus control section connected to the internal common bus and the external common bus, an address table for storing an address A' in the main memory device of the data to be input, a determining means for comparing and determining whether two input addresses match or do not match, and a switching unit, When an access request is input to the common bus control unit, the determining means compares and determines the address A included in the direct memory access request and the address A' read from the address table, and if they do not match, the determination means determines the result of the comparison. A memory access control method characterized in that the main memory device is accessed based on the direct memory access request via a switching unit operated by.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56119699A JPS5819969A (en) | 1981-07-30 | 1981-07-30 | Memory access controlling system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56119699A JPS5819969A (en) | 1981-07-30 | 1981-07-30 | Memory access controlling system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5819969A JPS5819969A (en) | 1983-02-05 |
| JPH0256692B2 true JPH0256692B2 (en) | 1990-11-30 |
Family
ID=14767877
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP56119699A Granted JPS5819969A (en) | 1981-07-30 | 1981-07-30 | Memory access controlling system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5819969A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5319574A (en) * | 1988-12-27 | 1994-06-07 | Fujitsu Limited | Status change monitoring apparatus |
Family Cites Families (2)
| 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 |
-
1981
- 1981-07-30 JP JP56119699A patent/JPS5819969A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5819969A (en) | 1983-02-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CA2027226C (en) | Information processing system | |
| EP0293720A3 (en) | Transparent cache memory | |
| US5749093A (en) | Enhanced information processing system using cache memory indication during DMA accessing | |
| US5430844A (en) | Communication control system for transmitting, from one data processing device to another, data along with an identification of the address at which the data is to be stored upon reception | |
| JPH0256692B2 (en) | ||
| JPS59173828A (en) | Data processing system | |
| JPH0154735B2 (en) | ||
| JPH0256693B2 (en) | ||
| JPH08249289A (en) | Memory control device and control method thereof | |
| JP3226557B2 (en) | Multiprocessor system | |
| JPH035619B2 (en) | ||
| JPH05189311A (en) | Cache memory system | |
| JP3219422B2 (en) | Cache memory control method | |
| JPH0664552B2 (en) | Information processing device invalidation processing method | |
| JPS5942394B2 (en) | cache controller | |
| JP2588514Y2 (en) | Communication control device | |
| JPS61141054A (en) | Information processor | |
| JPH05265916A (en) | Data processor | |
| KR19990079983A (en) | Queuing Device for Memory Controller | |
| JPS63124161A (en) | Data transfer control system | |
| JPS63191398A (en) | Information processor | |
| JPH08235063A (en) | Data processing device and cache memory control method | |
| JPH07152669A (en) | I / O controller | |
| JPH0528415B2 (en) | ||
| JPH01189748A (en) | Input/output control processor |