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
JPH0766364B2 - Memory common area access control device - Google Patents
[go: Go Back, main page]

JPH0766364B2 - Memory common area access control device - Google Patents

Memory common area access control device

Info

Publication number
JPH0766364B2
JPH0766364B2 JP61142258A JP14225886A JPH0766364B2 JP H0766364 B2 JPH0766364 B2 JP H0766364B2 JP 61142258 A JP61142258 A JP 61142258A JP 14225886 A JP14225886 A JP 14225886A JP H0766364 B2 JPH0766364 B2 JP H0766364B2
Authority
JP
Japan
Prior art keywords
speed transfer
transfer bus
processor
bus
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
Application number
JP61142258A
Other languages
Japanese (ja)
Other versions
JPS62297962A (en
Inventor
貞也 杉浦
利弘 酒井
俊春 大島
清 須藤
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 JP61142258A priority Critical patent/JPH0766364B2/en
Publication of JPS62297962A publication Critical patent/JPS62297962A/en
Publication of JPH0766364B2 publication Critical patent/JPH0766364B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multi Processors (AREA)

Description

【発明の詳細な説明】 〔概要〕 本発明は、プロセッサ間の排他制御情報を記憶してなる
メモリを高速転送バスと低速転送バスとの2種類からな
るバスでアクセスする際に、低速転送バスの占有許可を
得て、高速転送バスの占有要求を行い、高速転送バスの
占有時間を短縮し、メモリアクセスの効率化をはかる。
DETAILED DESCRIPTION OF THE INVENTION [Outline] The present invention relates to a low-speed transfer bus when a memory storing exclusive control information between processors is accessed by two kinds of buses, a high-speed transfer bus and a low-speed transfer bus. The occupancy request of the high-speed transfer bus is obtained after obtaining the occupancy permission, and the occupancy time of the high-speed transfer bus is shortened to improve the efficiency of memory access.

〔産業上の利用分野〕[Industrial application field]

本発明は、メモリの共通領域アクセス制御方式に係り、
特に2種類の転送速度を有するバスでメモリをアクセス
する際のメモリ共通領域アクセス制御方式に関する。
The present invention relates to a memory common area access control method,
In particular, it relates to a memory common area access control method when accessing a memory by a bus having two types of transfer rates.

情報処理の分野でメモリが共通に複数のプロセッサにて
アクセスされている。プロセッサが密結合されたマルチ
プロセッサ・システムにおいては、或るプロセッサが所
定共通領域をアクセスしている時に、他のプロセッサ或
いは他の装置が同一共通領域をアクセスしないように、
アクセスの許可/禁止を示す排他制御情報を各共通領域
に対応してメモリ等に設けている。プロセッサ或いは装
置が共通領域をアクセスする際に、この排他制御情報の
状態を見てアクセスをしている。
In the field of information processing, a memory is commonly accessed by a plurality of processors. In a multiprocessor system in which processors are tightly coupled, when one processor is accessing a predetermined common area, another processor or another device does not access the same common area,
Exclusive control information indicating permission / prohibition of access is provided in the memory or the like corresponding to each common area. When the processor or the device accesses the common area, the access is made by observing the state of the exclusive control information.

〔従来の技術〕[Conventional technology]

従来、上記した共通領域を有するメモリのアクセス時間
を短縮する方法として、メモリアクセスを速くすること
と、メモリアクセス時間にバス占有時間をできるだけ近
ずける方法とがある。前者は、メモリ素子の技術開発で
成し遂げられ、後者はメモリをアクセスするのに高速転
送バスを用い、メモリ程高速性を要求しない場合には低
速転送バスを用いることによってなされている。
Conventionally, as a method of shortening the access time of the memory having the above-mentioned common area, there are a method of speeding up the memory access and a method of making the bus occupation time as close as possible to the memory access time. The former is accomplished by technological development of a memory device, and the latter is achieved by using a high-speed transfer bus to access the memory, and a low-speed transfer bus when high speed is not required as much as the memory.

従来のデータ処理システムは第4図に示すように構成さ
れている。排他制御情報群1−1を有するメモリ1は、
高速転送バス2を介して、プロセッサ3−1〜3−mと
接続され、プロセッサ3−i〜3−mは、低速転送バス
4を介してプロセッサ5−1〜5−n(例えば、入出力
制御装置)と接続されている。
The conventional data processing system is configured as shown in FIG. The memory 1 having the exclusive control information group 1-1 is
The processors 3-1 to 3-m are connected via the high-speed transfer bus 2, and the processors 3-i to 3-m are connected to the processors 5-1 to 5-n (for example, input / output) via the low-speed transfer bus 4. Control device).

システムには、バス占有要求調整回路7−1,7−2が設
けてあり、それぞれのバス占有要求調整回路7−1と7
−2は、バスを要求する装置の優先度を決定する。
The system is provided with bus occupation request adjusting circuits 7-1 and 7-2, and the bus occupation request adjusting circuits 7-1 and 7-2 are provided.
-2 determines the priority of the device requesting the bus.

高速転送バス2のバス占有要求調整回路7−1は、各プ
ロセッサによるバス占有期間を、各プロセッサが実際に
メモリをアクセスしている期間のみとすることによりバ
スの高速化を実現している。
The bus occupancy request adjusting circuit 7-1 of the high-speed transfer bus 2 realizes the speedup of the bus by limiting the bus occupancy period by each processor only to the period during which each processor is actually accessing the memory.

従って、例えばプロセッサ3−2がメモリ1の共通領域
をアクセスする際の、他のプロセッサ3−1,3−2〜3
−mとの排他制御を実現するために次の方法を用いる。
排他制御情報は説明を分りやすくするため1ビット構成
とし、そのビットが、‘1'の時、メモリ共通領域を他の
プロセッサが使用中であり、‘0'の時メモリ共通領域を
他のプロセッサが使用中でないとする。
Therefore, for example, when the processor 3-2 accesses the common area of the memory 1, the other processors 3-1 and 3-2 to 3-3
The following method is used to realize exclusive control with -m.
The exclusive control information has a 1-bit configuration to make the explanation easier to understand. When the bit is '1', the memory common area is being used by another processor, and when it is '0', the memory common area is the other processor. Is not in use.

プロセッサ3−2は共通領域をアクセスするに先立ち、
上記排他制御情報を調べるための専用の命令即ち、一般
に「テスト・アンド・セット命令」と呼ばれている命令
を実行する。この命令は、1回のメモリアクセスで上記
した排他制御情報を読み取り、同時にその排他制御情報
領域に‘1'をセットする命令である。プロセッサ3−2
による排他制御情報アクセスの状態を第5図を用いて説
明する。この命令は、第5図(b)に示すように1回の
メモリアクセス期間(アクセスサイクル)行われるた
め、その期間中プロセッサ3−2は高速転送バス2を第
5図(a)に示すように占有している。このため、プロ
セッサ3−2が第5図(c)のように排他制御情報を読
み取ってから、第5図(d)に示すように‘1'をライト
するまでの間に他のプロセッサが同一の排他制御情報を
読み取ることはできず、第5図(a)に示すようにプロ
セッサ3−2は高速転送バス2を占有する。
Before the processor 3-2 accesses the common area,
A dedicated instruction for checking the exclusive control information, that is, an instruction generally called a "test and set instruction" is executed. This instruction is an instruction to read the above-mentioned exclusive control information in one memory access and at the same time set "1" to the exclusive control information area. Processor 3-2
The state of exclusive control information access by the above will be described with reference to FIG. Since this instruction is performed once in the memory access period (access cycle) as shown in FIG. 5B, the processor 3-2 operates the high speed transfer bus 2 as shown in FIG. 5A during that period. Occupy in. Therefore, other processors are the same between the time when the processor 3-2 reads the exclusive control information as shown in FIG. 5 (c) and the time of writing "1" as shown in FIG. 5 (d). The exclusive control information of No. 1 cannot be read, and the processor 3-2 occupies the high-speed transfer bus 2 as shown in FIG.

勿論、プロセッサ3−2は読み取った排他制御情報が
‘0'ならば、共通領域のアクセスを開始でき、上記した
ようにプロセッサ3−2が、排他制御情報領域に‘1'を
ライトすると、他のプロセッサは同共通領域を以後アク
セスできない。プロセッサ3−2は同共通領域への一連
のアクセスが終了すると、排他制御情報領域に‘0'をラ
イトして、共通領域を他のプロセッサに開放する。
Of course, if the read exclusive control information is "0", the processor 3-2 can start accessing the common area. As described above, if the processor 3-2 writes "1" in the exclusive control information area, other Processor cannot access the common area any more. When a series of accesses to the common area is completed, the processor 3-2 writes "0" in the exclusive control information area to open the common area to another processor.

若し、プロセッサ3−2は、「テスト・アンド・セット
命令」で読み取った排他制御情報が既に‘1'となってい
たならば、共通領域はすでに他のプロセッサにより使用
中であることがわかり、プロセッサ3−2は例えば、一
定時間後に再びテスト・アンド・セット命令を実行し、
他のプロセッサによる共通領域の使用が終了して排他制
御情報が‘0'となっているかどうか調べる。このように
してプロセッサ3−1〜3−mのメモリ共通領域アクセ
スの際の排他制御は実現できる。
If the exclusive control information read by the "test and set instruction" is already "1", the processor 3-2 knows that the common area is already being used by another processor. , The processor 3-2 executes the test and set instruction again after a fixed time,
Check whether exclusive control information is '0' after the use of the common area by other processors is completed. In this way, exclusive control at the time of accessing the memory common area of the processors 3-1 to 3-m can be realized.

これに対して、プロセッサ5−1〜5−nが要求する低
速転送バス4の優先度を調整するバス占有要求調整回路
7−2は、各プロセッサ5−1〜5−nがいったん低速
転送バス4を占有すると、所定の一連のアクセスが終了
しない限りバスを開放しないことを許している。
On the other hand, the bus occupation request adjusting circuit 7-2 that adjusts the priority of the low-speed transfer bus 4 requested by the processors 5-1 to 5-n is provided by the processors 5-1 to 5-n. When 4 is occupied, the bus is not opened unless a predetermined series of accesses is completed.

プロセッサ5−1による排他制御情報アクセスの状態を
第6図を用いて説明する。例えばプロセッサ5−1が共
通領域をアクセスするに先立ち、前記排他制御情報を読
み取るために、第6図(a)に示すように、まず低速転
送バスを占有する。その後、排他制御情報を読み取るメ
モリアクセスサイクル(第6図(c))の時のみ第6図
(b)に示すように高速転送バスを占有し、バス結合回
路8を経由してプロセッサ5−1内に排他制御情報を取
り込む。
The state of exclusive control information access by the processor 5-1 will be described with reference to FIG. For example, before the processor 5-1 accesses the common area, in order to read the exclusive control information, the low-speed transfer bus is first occupied as shown in FIG. 6 (a). Thereafter, only in the memory access cycle (FIG. 6 (c)) for reading the exclusive control information, the high-speed transfer bus is occupied as shown in FIG. 6 (b), and the processor 5-1 is connected via the bus coupling circuit 8. Exclusive control information is taken in.

プロセッサ5−1は低速転送バス4は引続き占有してお
り、第6図(d)に示すようにリードアクセスをして、
排他制御情報が‘0'であったならば、再びバス結合回路
8を経由して、第6図(e)に示すように排他制御情報
領域に‘1'をライトする。この場合も、メモリに実際に
ライトするサイクルのみ第6図(b)に示すように高速
転送バスを占有する。その後、プロセッサ5−1は共通
領域をアクセスする。排他制御情報領域に‘1'をライト
した後は、一旦低速転送バス4を開放してもよい。
The processor 5-1 continues to occupy the low-speed transfer bus 4, and performs read access as shown in FIG.
If the exclusive control information is "0", "1" is written again in the exclusive control information area via the bus coupling circuit 8 as shown in FIG. 6 (e). Also in this case, the high-speed transfer bus is occupied as shown in FIG. 6 (b) only in the cycle in which the memory is actually written. After that, the processor 5-1 accesses the common area. After writing "1" to the exclusive control information area, the low-speed transfer bus 4 may be released once.

この方式により、プロセッサ5−1ガ排他制御情報を読
んで、‘1'をライトするまでの間に、プロセッサ5−1
がこの期間中低速転送バス4を占有し続けているため、
他のプロセッサ5−2〜5−nが同じ排他制御情報を読
んでしまうことは防げる。
According to this method, the processor 5-1 reads the exclusive control information and writes "1" until the processor 5-1
Keeps occupying the low-speed transfer bus 4 during this period,
It is possible to prevent other processors 5-2 to 5-n from reading the same exclusive control information.

従って、プロセッサ5−1〜5−nの間のメモリ共通領
域アクセスの際の排他制御は実現できる。
Therefore, exclusive control at the time of accessing the memory common area among the processors 5-1 to 5-n can be realized.

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

上記した従来のメモリの共通領域アクセス制御方式は、
プロセッサ3−1〜3−m間の排他制御とプロセッサ5
−1〜5−n間の排他制御のそれぞれの間にて可能であ
った。従って、従来の方式では、例えば、プロセッサ3
−2とプロセッサ5−1間で、共通領域を設けて排他制
御を行うことは不可能であった。
The conventional memory common area access control method described above is
Exclusive control between processors 3-1 to 3-m and processor 5
It was possible during each exclusive control between -1 to 5-n. Therefore, in the conventional method, for example, the processor 3
-2 and the processor 5-1 were unable to provide a common area for exclusive control.

この状態を第7図を用いて説明する。プロセッサ5−1
が排他制御情報をバス結合回路8を経由して第7図
(b)に示すように高速転送バスを一時占有して排他制
御情報を読み取った後、排他制御情報‘1'をライトする
間に、第7図(d)に示すようにプロセッサ3−2がテ
スト・アンド・セット命令によって、高速転送バス占有
して同じ排他制御情報を第7図(e)のように読み取っ
て‘1'をライトしてしまう可能性がある。
This state will be described with reference to FIG. Processor 5-1
While the exclusive control information is written via the bus coupling circuit 8 after reading the exclusive control information by temporarily occupying the high-speed transfer bus as shown in FIG. 7 (b). As shown in FIG. 7 (d), the processor 3-2 occupies the high-speed transfer bus by the test and set instruction, reads the same exclusive control information as shown in FIG. 7 (e), and reads "1". There is a possibility of writing.

プロセッサ3−2は、読み取った排他制御情報がその時
点では‘0'なので、プロセッサ3−2は共通領域を使用
可能と判断してしまう。同時にプロセッサ5−1も、読
み取った排他制御情報が‘0'なので、共通領域を使用可
能と判断し、この結果両方のプロセッサ3−2,5−1が
同時に共通領域を使用してしまい、共通領域の排他制御
が不可能となると云う問題がある。
The processor 3-2 determines that the common area can be used because the read exclusive control information is "0" at that time. At the same time, the processor 5-1 also determines that the common area can be used because the read exclusive control information is "0". As a result, both processors 3-2 and 5-1 simultaneously use the common area, and the common area is shared. There is a problem that exclusive control of the area becomes impossible.

本発明は、以上のような従来の状況から、メモリの共通
領域をアクセスするのに適したメモリの共通領域アクセ
ス制御方式の提供を目的とするものである。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a memory common area access control method suitable for accessing the memory common area from the above conventional situations.

〔問題点を解決するための手段〕[Means for solving problems]

本発明では、第1図の原理図に示すように、プロセッサ
間の排他制御情報を記憶してなるメモリ(1)と、該メ
モリ(1)と高速転送バス(2)を介して接続されてな
る第1のプロセッサ(3−1〜3−m)と、該第1のプ
ロセッサ(3−1〜3−m)と低速転送バス(4)を介
して接続されるとともに、前記メモリ(1)と前記高速
転送バス(2)及び前記低速転送バス(3)を介して接
続されてなる第2のプロセッサ(5−1〜5−n)と、
前記高速転送バス(2)に対する占有要求を調整する高
速転送バス占有要求調整手段(7−1)と、前記低速転
送バス(4)に対する占有要求を調整する低速転送バス
占有要求調整手段(7−2)とからなるシステム構成に
おいて、前記第1のプロセッサ(3−1〜3−m)に前
記高速及び低速バス占有要求を制御する制御手段(6−
i〜6−m)を備え、前記第1のプロセッサ(3−1〜
3−m)が前記排他制御情報をアクセスする際に、前記
制御手段(6−i〜6−m)が先ず前記低速転送バス占
有要求調整手段(7−2)に前記低速転送バス(4)の
占有要求を出力して前記低速転送バス(4)を占有する
ことにより前記第2のプロセッサ(5−1〜5−n)か
ら低速転送バス(4)へのアクセス要求を阻止して、次
に前記高速転送バス占有要求調整手段(7−1)に前記
高速転送バス(2)の占有要求を出力するよう制御す
る。
In the present invention, as shown in the principle diagram of FIG. 1, a memory (1) storing exclusive control information between processors and a memory (1) connected to the memory (1) via a high-speed transfer bus (2). The first processor (3-1 to 3-m), which is connected to the first processor (3-1 to 3-m) via the low-speed transfer bus (4), and the memory (1). And second processors (5-1 to 5-n) connected via the high-speed transfer bus (2) and the low-speed transfer bus (3),
High-speed transfer bus occupation request adjusting means (7-1) for adjusting the occupation request for the high-speed transfer bus (2) and low-speed transfer bus occupation request adjusting means (7- for adjusting the occupation request for the low-speed transfer bus (4). 2), a control unit (6-) for controlling the high-speed and low-speed bus occupation requests to the first processor (3-1 to 3-m).
i-6-m), and the first processor (3-1-3-1)
3-m) accesses the exclusive control information, the control means (6-i to 6-m) first informs the low-speed transfer bus occupation request adjusting means (7-2) to the low-speed transfer bus (4). Is output to occupy the low-speed transfer bus (4) to block access requests from the second processors (5-1 to 5-n) to the low-speed transfer bus (4). The occupancy request of the high speed transfer bus (2) is output to the high speed transfer bus occupancy request adjusting means (7-1).

〔作用〕[Action]

プロセッサ3−i〜3−mが、メモリ1の排他制御情報
をアクセスする場合に、それぞれ制御回路6−i〜6−
mを作動し、制御回路例えば6−iがバス占有要求調整
回路7−2に低速転送バスのバス占有要求を出力し、占
有の許可が得られると、バス占有要求調整回路7−1に
高速転送バスの占有要求を出力して、排他制御を可能に
する。
When the processors 3-i to 3-m access the exclusive control information of the memory 1, the control circuits 6-i to 6-, respectively.
When the control circuit, for example 6-i, outputs a bus occupation request for the low-speed transfer bus to the bus occupation request adjusting circuit 7-2 and permission for occupation is obtained, the bus occupation request adjusting circuit 7-1 performs high speed operation. Outputs an exclusive request for the transfer bus to enable exclusive control.

〔実施例〕〔Example〕

第2図は、本発明を適用した実施例の回路図であり、第
3図のタイムチャートを参照しながら、以下説明をす
る。プロセッサ3−mがメモリ1の共通領域をアクセス
しようとすると、CPU30−mは、テスト・アンド・セッ
ト命令を実行する。このとき、制御回路6−mに第3図
に示すようにバス要求信号BRQとテスト・アンド・セッ
ト命令であることを示すLOCK信号を送出する。
FIG. 2 is a circuit diagram of an embodiment to which the present invention is applied, and will be described below with reference to the time chart of FIG. When the processor 3-m tries to access the common area of the memory 1, the CPU 30-m executes the test and set instruction. At this time, the bus request signal BRQ and the LOCK signal indicating the test and set instruction are sent to the control circuit 6-m as shown in FIG.

以下説明は総ての信号は論理‘1'で出力されるとする。
この両信号BRQ,LOCKは、バス占有要求調整回路7−1に
バス占有要求信号BRQBが出力されてないことを示す信号
とともに、アンド回路11−1に入力される。したがっ
て、アンド回路11−1は上記状態となると論理‘1'を出
力しオア回路12−1を経てバス占有要求信号BRQAをバス
占有要求調整回路7−2に送る。バス占有要求調整回路
7−2は、バス使用を許可する場合に、許可信号BGAを
出力する。
In the following description, it is assumed that all signals are output as logic "1".
Both signals BRQ and LOCK are input to the AND circuit 11-1 together with a signal indicating that the bus occupation request signal BRQB is not output to the bus occupation request adjusting circuit 7-1. Therefore, the AND circuit 11-1 outputs a logic "1" in the above state and sends the bus occupation request signal BRQA to the bus occupation request adjusting circuit 7-2 via the OR circuit 12-1. The bus occupancy request adjustment circuit 7-2 outputs a permission signal BGA when permitting use of the bus.

この許可信号BGAは、制御回路のFF回路10−2とFF回路1
0−3とに入力される。FF回路10−3はその出力端Qを
論理‘1'としてビジィ信号BSYAを出力する。一方FF回路
10−2は端子に論理‘0'を出力し、Q端子を論理‘1'
とする。端子の論理‘0'は、アンド回路11−1に入力
され、オア回路12−1の信号BRQAを取り消す。
This permission signal BGA is applied to the FF circuit 10-2 and the FF circuit 1 of the control circuit.
It is input to 0-3. The FF circuit 10-3 outputs the busy signal BSYA with its output terminal Q being logic "1". On the other hand, FF circuit
10-2 outputs a logic "0" to the terminal and a logic "1" to the Q terminal.
And The logic "0" of the terminal is input to the AND circuit 11-1 and cancels the signal BRQA of the OR circuit 12-1.

FF回路10−2のQ端子の論理‘1'は、アンド回路11−4
に入力される。アンド回路11−4の他入力は、バス要求
信号BRQとLOCK信号が論理‘1'であること即ち、バス要
求中でLOCK状態であることを検出するアンド回路11−3
から入力される。結果アンド回路11−4は上記した論理
‘1'が成立した際に、論理‘1'を出力し、オア回路12−
3を介してバス占有要求信号BRQBをバス占有要求調整回
路7−1に送る。
The logic "1" at the Q terminal of the FF circuit 10-2 is the AND circuit 11-4.
Entered in. The other input of the AND circuit 11-4 is to detect that the bus request signal BRQ and the LOCK signal are logic '1', that is, the LOCK state during the bus request.
Input from. As a result, the AND circuit 11-4 outputs a logic "1" when the above logic "1" is established, and the OR circuit 12-
The bus occupancy request signal BRQB is sent to the bus occupancy request adjusting circuit 7-1 via the No.

バス占有要求調整回路7−1が許可信号BGBを出力する
と、FF回路10−2はクリヤされてバス占有要求信号BRQB
を取り消す。さらに、許可信号BGBはFF回路10−1のQ
端子を論理‘1'としてビジィ信号BSYBをバス占有要求調
整回路7−1に送り込む。この状態でプロセッサ3−m
は、メモリ1の排他制御情報領域をアクセスし排他制御
情報をリード,共通領域を使用中であることを示す値
‘1'をライト(MACC)する。
When the bus occupation request adjusting circuit 7-1 outputs the permission signal BGB, the FF circuit 10-2 is cleared and the bus occupation request signal BRQB.
Cancel. Further, the permission signal BGB is Q of the FF circuit 10-1.
The terminal is set to logic '1' and the busy signal BSYB is sent to the bus occupation request adjusting circuit 7-1. Processor 3-m in this state
Accesses the exclusive control information area of the memory 1, reads the exclusive control information, and writes (MACC) a value "1" indicating that the common area is in use.

アンド回路11−2は、UNLOCK状態でMACC状態、即ち、テ
スト・アンド・セット命令でなくてメモリ1をリード,
ライトする場合にFF回路10−1のビジー信号BSYBの出力
を禁止するとともに、オア回路12−2を介してFF回路10
−3のビジー信号BSYAの出力を禁止する。
The AND circuit 11-2 reads the memory 1 in the MACC state in the UNLOCK state, that is, not the test and set instruction,
When writing, the output of the busy signal BSYB of the FF circuit 10-1 is prohibited, and the FF circuit 10-2 is supplied via the OR circuit 12-2.
-3 Output of busy signal BSYA is prohibited.

上記説明に用いられた、オア回路12−1,12−2,12−3の
他端入力は、本発明と別個にバスを要求する装置から入
力される信号を他信号と記入している。
In the other end inputs of the OR circuits 12-1, 12-2, 12-3 used in the above description, signals input from a device requesting a bus separately from the present invention are described as other signals.

上記したメモリの共通領域のアクセス制御は、プロセッ
サ3−mにて説明を行ったが、他のプロセッサにても何
等支障されるものでないことは云うまでもない。
Although the access control of the common area of the memory has been described in the processor 3-m, it goes without saying that it is not hindered by other processors.

〔効果〕〔effect〕

以上の説明から明らかなように、本発明によれば、メモ
リの共通領域をアクセスするのに、高速転送バスに接続
されるプロセッサは、1度低速転送バスを占有すること
によって、低速転送バスに接続されるプロセッサによる
排他制御情報の誤リードを防ぎ、上記のように異なる転
送バスに接続されるプロセッサがメモリの共通領域をア
クセスする場合にきわめて、有効な効果を奏する。
As is apparent from the above description, according to the present invention, in order to access the common area of the memory, the processor connected to the high-speed transfer bus once occupies the low-speed transfer bus, so It is possible to prevent erroneous reading of exclusive control information by the connected processor, and it is extremely effective when the processors connected to different transfer buses access the common area of the memory as described above.

【図面の簡単な説明】[Brief description of drawings]

第1図は本発明の原理ブロック図、 第2図は本発明を適用した実施例の回路図、 第3図は本発明による信号のタイムチャート、 第4図は従来のデータ処理システムの構成図、 第5図は従来のプロセッサ3−2の排他制御情報アクセ
ス状態を示すタイムチャート、 第6図は従来のプロセッサ5−1の排他制御情報アクセ
ス状態を示すタイムチャート、 第7図は従来方式のプロセッサ3−2,5−1の排他制御
情報アクセスの重なった場合のタイムチャートである。 図において、1はメモリ、2は高速転送バス、3−1〜
3−mと5−1〜5−nはプロセッサ、4は低速転送バ
ス、6−i〜6−mは制御手段を示す。
1 is a block diagram of the principle of the present invention, FIG. 2 is a circuit diagram of an embodiment to which the present invention is applied, FIG. 3 is a signal time chart according to the present invention, and FIG. 4 is a configuration diagram of a conventional data processing system. 5 is a time chart showing an exclusive control information access state of the conventional processor 3-2, FIG. 6 is a time chart showing an exclusive control information access state of the conventional processor 5-1 and FIG. 7 is a conventional system. 9 is a time chart when the exclusive control information accesses of the processors 3-2 and 5-1 overlap. In the figure, 1 is a memory, 2 is a high-speed transfer bus, and 3-1 to 3-1.
3-m and 5-1 to 5-n are processors, 4 is a low-speed transfer bus, and 6-i to 6-m are control means.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 大島 俊春 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (72)発明者 須藤 清 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (56)参考文献 特開 昭60−68448(JP,A) ─────────────────────────────────────────────────── ─── Continuation of front page (72) Inventor Toshiharu Oshima 1015 Kamiodanaka, Nakahara-ku, Kawasaki City, Kanagawa Prefecture, Fujitsu Limited (72) Inventor Kiyo Sudo 1015, Kamedotachu, Nakahara-ku, Kawasaki City, Kanagawa Prefecture, Fujitsu Limited ( 56) References JP-A-60-68448 (JP, A)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】プロセッサ間の排他制御情報を記憶してな
るメモリと、 該メモリと高速転送バスを介して接続されてなる第1の
プロセッサと、 該第1のプロセッサと低速転送バスを介して接続される
とともに、前記メモリと前記高速転送バス及び前記低速
転送バスを介して接続されてなる第2のプロセッサと、 前記高速転送バスに対する占有要求を調整する高速転送
バス占有要求調整手段と、 前記低速転送バスに対する占有要求を調整する低速転送
バス占有要求調整手段とからなるシステム構成におい
て、 前記第1のプロセッサに前記高速及び低速バス占有要求
を制御する制御手段を備え、 前記第1のプロセッサが前記排他制御情報をアクセスす
る際に、前記制御手段が先ず前記低速転送バス占有要求
調整手段に前記低速転送バスの占有要求を出力して前記
低速転送バスを占有することにより前記第2のプロセッ
サから低速転送バスへのアクセス要求を阻止して、次に
前記高速転送バス占有要求調整手段に前記高速転送バス
の占有要求を出力するよう制御することを特徴とするメ
モリの共有領域アクセス制御装置。
1. A memory storing exclusive control information between processors, a first processor connected to the memory via a high speed transfer bus, and a first processor and a low speed transfer bus. A second processor connected to the memory via the high-speed transfer bus and the low-speed transfer bus; a high-speed transfer bus occupancy request adjusting unit for adjusting an occupancy request for the high-speed transfer bus; In a system configuration including a low speed transfer bus occupation request adjusting means for adjusting an occupation request for a low speed transfer bus, the first processor is provided with a control means for controlling the high speed and low speed bus occupation requests, and the first processor is When accessing the exclusive control information, the control means first causes the low speed transfer bus occupancy request adjusting means to occupy the low speed transfer bus. Is output to occupy the low-speed transfer bus to block an access request from the second processor to the low-speed transfer bus, and then to the high-speed transfer bus occupancy request adjusting means to request the high-speed transfer bus occupancy request. A shared area access control device for a memory, which is controlled to output.
JP61142258A 1986-06-17 1986-06-17 Memory common area access control device Expired - Lifetime JPH0766364B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61142258A JPH0766364B2 (en) 1986-06-17 1986-06-17 Memory common area access control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61142258A JPH0766364B2 (en) 1986-06-17 1986-06-17 Memory common area access control device

Publications (2)

Publication Number Publication Date
JPS62297962A JPS62297962A (en) 1987-12-25
JPH0766364B2 true JPH0766364B2 (en) 1995-07-19

Family

ID=15311142

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61142258A Expired - Lifetime JPH0766364B2 (en) 1986-06-17 1986-06-17 Memory common area access control device

Country Status (1)

Country Link
JP (1) JPH0766364B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6068448A (en) * 1983-09-21 1985-04-19 Fuji Facom Corp Common method control system of multicomputer system

Also Published As

Publication number Publication date
JPS62297962A (en) 1987-12-25

Similar Documents

Publication Publication Date Title
EP1646925B1 (en) Apparatus and method for direct memory access in a hub-based memory system
US5632021A (en) Computer system with cascaded peripheral component interconnect (PCI) buses
US5119480A (en) Bus master interface circuit with transparent preemption of a data transfer operation
JPH07105146A (en) Shared memory device
US7062588B2 (en) Data processing device accessing a memory in response to a request made by an external bus master
JP2591502B2 (en) Information processing system and its bus arbitration system
US5627968A (en) Data transfer apparatus which allows data to be transferred between data devices without accessing a shared memory
US6026455A (en) Architecture and method for providing guaranteed access for a retrying bus master to a data transfer bridge connecting two buses in a computer system
CA1252573A (en) Dual bus system
JPH0766364B2 (en) Memory common area access control device
GB2412767A (en) Processor with at least two buses between a read/write port and an associated memory with at least two portions
JPH09223103A (en) Information processing system
JP2946561B2 (en) Multiprocessor system
JP2995666B2 (en) Microcomputer system
JPH05210620A (en) Exclusive control processing method for shared memory
JP2574821B2 (en) Direct memory access controller
JP2882202B2 (en) Multi-port access control circuit
JPS619747A (en) Bus controller
JPH11203253A (en) Exclusive access control method for shared resources
JPH086905A (en) Access arbitration circuit for multiport RAM
JPH02211571A (en) Information processor
JP2928036B2 (en) Logic semiconductor integrated circuit
JPS6224347A (en) bus controller
JPS60243763A (en) Dual port memory control circuit
JPH04236651A (en) Bus control system