JPH0465736A - Address lock system - Google Patents

Address lock system

Info

Publication number
JPH0465736A
JPH0465736A JP17817990A JP17817990A JPH0465736A JP H0465736 A JPH0465736 A JP H0465736A JP 17817990 A JP17817990 A JP 17817990A JP 17817990 A JP17817990 A JP 17817990A JP H0465736 A JPH0465736 A JP H0465736A
Authority
JP
Japan
Prior art keywords
address
access
lock
start address
bit
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.)
Granted
Application number
JP17817990A
Other languages
Japanese (ja)
Other versions
JP2892113B2 (en
Inventor
Nobuhiko Kuribayashi
栗林 暢彦
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 JP17817990A priority Critical patent/JP2892113B2/en
Publication of JPH0465736A publication Critical patent/JPH0465736A/en
Application granted granted Critical
Publication of JP2892113B2 publication Critical patent/JP2892113B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PURPOSE:To reduce the capacity of hardwares and to simplify control by comparing an address obtained by adding address width corresponding to the sort of an access to a start address and the start address respectively with a lock address. CONSTITUTION:At the time of receiving an unlocked access, an adding means 20 adds a previously determined access address width selected by a selecting means 22 in accordance with the sort of the access to an access start address. A lock address register means 18 stores a valid bit to be turned on by a locked access and a lock start address. Only when an address coincidence comparing output is obtained from any one of comparing means 24-1 to 26-2 for respectively comparing the start address and the added address with the lock start address, an access to a locked memory area is decided and the memory access is inhibited. Consequently, the comparison of the lock address with the access address can be simply and easily decided, the capacity of hardwares can be reduced and the control of the system can be simplified.

Description

【発明の詳細な説明】 [概要] スタートアドレス、データ長、アドレス間隔及びアクセ
スの種類をアクセス情報としてパケット転送により複数
の処理ユニットと共用メモリ間のデータ転送を共用メモ
リ制御部を介して行う場合のアドレスロック方式に関シ
、 ロックアドレスとアクセスアドレスとの比較判断を簡単
且つ容易にすることを目的とし、スタートアドレスによ
りロックアドレスとアクセスアドレスとの比較判断をパ
ケット転送の最初に実行し、このスタートアドレスの比
較判断では、スタートアドレスとスタートアドレスにア
クセスの種類に定まるアドレス幅を加えた加算アドレス
をそれぞれロックスタートアドレスと比較し、更にアク
セスの種類で決まるアドレス幅未満のビット比較は不要
とするように構成する。
[Detailed Description of the Invention] [Summary] When data is transferred between a plurality of processing units and a shared memory via a shared memory control unit by packet transfer using a start address, data length, address interval, and access type as access information. Regarding the address lock method, the purpose of this method is to make the comparison between the lock address and the access address simple and easy, and the start address is used to perform the comparison between the lock address and the access address at the beginning of packet transfer. In comparing and determining the start address, the start address and the addition address, which is the start address plus the address width determined by the type of access, are each compared with the lock start address, and bit comparisons that are less than the address width determined by the type of access are not necessary. Configure it as follows.

[産業上の利用分野] 本発明は、パケット転送により複数の処理ユニットと共
用メモリ間のデータ転送を共用メモリ制御部を介して行
う際のアドレスロック方式に関する。
[Industrial Application Field] The present invention relates to an address locking method when data is transferred between a plurality of processing units and a shared memory via a shared memory control unit by packet transfer.

パケット転送により複数の処理ニットと共用メモリ間の
データ転送を共用メモリ制御部を介して行う場合は、特
定の処理ユニットからのロック付きアクセスを受けると
、その後の他の処理ユニットからのアクセスに対し、ロ
ックアドレスとアクセスアドレスとの比較判断を行い、
ロックアドレスに含まれていた場合には、ロック解除ま
でアクセスを待たせるアドレスロック制御を行っている
When data is transferred between multiple processing units and shared memory using packet transfer via the shared memory control unit, when a locked access is received from a specific processing unit, subsequent access from other processing units is blocked. , performs a comparative judgment between the lock address and the access address,
If the address is included in the lock address, address lock control is performed to make access wait until the lock is released.

しかし、従来のアドレスロック制御にあっては、アドレ
ス比較を全ビットについて行っており、まタハケット転
送のエレメント毎にロックアドレスレジスタとの比較を
行わなければならず、ハードウェア量が増大して制御が
複雑になり、より簡単なアドレス比較の実現が望まれる
However, in conventional address lock control, address comparison is performed for all bits, and a comparison with the lock address register must be performed for each element of hacket transfer, which increases the amount of hardware required for control. becomes complicated, and it is desired to realize simpler address comparison.

するようにしている。I try to do that.

[従来の技術] 従来、クラスタ等の複数の処理ユニット共用メモリ制御
部、及び共用メモリ部を備えた情報処理システムでは、
共用メモリ部に対するアクセス情報としてスタートアド
レス、データ長、アドレス間隔、及びアクセスの種類を
持ち、且つパケット転送により共用メモリ制御部の制御
のもとにクラスタと共用メモリ部の間でリード又はライ
トのデータ転送を行なっている。
[Prior Art] Conventionally, in an information processing system including a shared memory control unit and a shared memory unit for multiple processing units such as a cluster,
It has the start address, data length, address interval, and access type as access information for the shared memory section, and read or write data between the cluster and the shared memory section under the control of the shared memory control section by packet transfer. Transfer is in progress.

このようなパケット転送を行うメモリアクセス方式にあ
っては、あるクラスタからロック付きアクセスを受けた
後に、他のクラスタから通常のアクセスを受けた場合に
は、ロックアクセスの対象となっているメモリ領域に対
するアクセスか否かのアドレス比較判断を行い、ロック
されたメモリ領域のアクセスであると判断されると、ロ
ック解除までアクセスを禁止し、一方、ロックされたメ
モリ領域でないと判断されると、アクセスを許可[発明
が解決しようとする課題] しかしながら、このような従来のアドレスロック方式に
あっては、ロックアクセスの比較回路が例えば32ビッ
トとなる全ビットをアドレス比較しなければならず、ま
たパケット転送のエレメント毎にロックアドレスレジス
タとの比較を行わなければならず、ハードウェアの構成
量が増大し、ハードウェアの増大と制御タイミングの増
大に伴なって制御も複雑になる問題があった。
In such a memory access method that performs packet transfer, when a cluster receives a lock access and then receives a normal access from another cluster, the memory area targeted for the lock access is If it is determined that the access is to a locked memory area, the access is prohibited until the lock is released; on the other hand, if it is determined that the access is not to a locked memory area, the access is [Problem to be Solved by the Invention] However, in such a conventional address lock method, the lock access comparison circuit must compare all bits, for example, 32 bits, and the packet Comparison with the lock address register must be performed for each transfer element, which increases the amount of hardware, and the control becomes complicated as the hardware and control timing increase.

本発明は、このような従来の問題点に鑑みてなされたも
ので、ロックアドレスとアクセスアドレスとの比較判断
を簡単且つ容易にしてハードウェア量の低減と制御の簡
略化を図るようにしたアドレスロック方式を提供するこ
とを目的とする。
The present invention has been made in view of these conventional problems, and provides an address that makes it simple and easy to compare and judge a lock address and an access address, thereby reducing the amount of hardware and simplifying control. The purpose is to provide a locking method.

[課題を解決するための手段] 第1図は本発明の原理説明図である。[Means to solve the problem] FIG. 1 is a diagram explaining the principle of the present invention.

まず本発明は、複数の処理ユニット10−1゜10−2
、メモリ制御部12、及び共用メモリ部14を備え、共
用メモリ部14K対するアクセス情報としてスタートア
ドレス、データ長、アドレス間隔、及びアクセスの種類
を持ち、且つパケット転送により共用メモリ制御部12
の制御のもとに処理ユニット10−1.10−2と共用
メモリ部14の間でデータ転送を行う装置を対象とする
First, the present invention provides a plurality of processing units 10-1 and 10-2.
, a memory control unit 12, and a shared memory unit 14, and has a start address, data length, address interval, and access type as access information for the shared memory unit 14K, and also has a start address, a data length, an address interval, and an access type, and the shared memory control unit 12 by packet transfer.
The object is a device that transfers data between the processing unit 10-1, 10-2 and the shared memory section 14 under the control of the processor.

このような装置につき本発明のアドレスロック方式にあ
っては、共用メモリ制御部12に設けられるロックアク
セス制御手段16として、特定の処理ユニットからのロ
ック付きアクセスによりオンされる有効ビット及びロッ
クスタートアドレスを格納したロックアドレスレジスタ
手段18と; 他の処理ユニットからのロック付きでないアクセスを受
けた際に、該アクセススタートアドレスにアクセス種類
に応じて選択手段22で選択された予め定めたアクセス
アドレス幅(W1、W2)を加算する加算手段20と; ロックアドレスレジスタ手段18からアクセスの種類に
応じた比較対象ビット部分を取り出してロックスタート
アドレスと比較する第1比較手段24−1.24−2と
; ロックアドレスレジスタ手段18からアクセスの種類に
応じた比較対象ビット部分を取り出して加算手段20の
加算アドレスと比較する第2比較手段26−1.26−
2と; を設け、ロックアドレスレジスタ手段18の有効ビット
がオンで且つ前記第1及び第2比較手段24−1〜26
−2いずれかよりアドレス一致の比較出力が得られた時
にのみ、ロックされているメモリエリアのアクセスと判
断してメモリアクセスを禁止するように構成する。
In the address lock method of the present invention for such a device, the lock access control means 16 provided in the shared memory control unit 12 uses a valid bit and a lock start address that are turned on by lock access from a specific processing unit. When a non-locked access is received from another processing unit, the access start address is set to a predetermined access address width (selected by the selection means 22 according to the type of access). (W1, W2); first comparison means 24-1, 24-2 that extracts a comparison target bit portion according to the type of access from the lock address register means 18 and compares it with the lock start address; Second comparison means 26-1.26- which extracts a comparison target bit portion according to the type of access from the lock address register means 18 and compares it with the addition address of the addition means 20.
2 and ; are provided, and the valid bit of the lock address register means 18 is on and the first and second comparing means 24-1 to 26
-2, only when a comparison output indicating address coincidence is obtained, it is determined that the access is to a locked memory area, and the memory access is prohibited.

ここでアクセスの種類として、スタートアドスレスから
データ長で決まる連続したメモリ領域をアクセスする連
続アクセスと、スタートアドスレスからアドレス間隔と
データ長で決まる分散したメモリ領域を順次アクセスす
るディスタンスアクセスの少なくとも2種を含む。
Here, there are at least two types of access: continuous access that accesses a continuous memory area determined by the data length from the start address, and distance access that sequentially accesses distributed memory areas determined by the address interval and data length from the start address. Contains seeds.

またロックアドレスレジスタ手段18、加算手段20、
選択手段22、第1比較手段24−1゜24−2お0第
2比較手段26−1.26−2は、スタートアドレスの
内のアクセスの種類に応じたデータ幅(W1、W1)以
上のビット部分をアドレスデータとして取扱うことを特
徴とする。
Also, lock address register means 18, addition means 20,
The selection means 22, the first comparison means 24-1, 24-2, and the second comparison means 26-1, 26-2 select data widths greater than or equal to the data width (W1, W1) according to the type of access in the start address. It is characterized by handling the bit part as address data.

具体的には、連続アドレスのデータ幅(W1)を4Kバ
イト、ディスタンスアクセスのデータ幅(W1)を1M
バイトとした時、連続アクセス時に最上位ビットから1
9ビット目までをアドレスデータとして取扱い、ディス
タンスアクセス時には最上位ビットから11ビット目ま
でをアドレスデータとして取扱う。
Specifically, the data width (W1) of consecutive addresses is 4K bytes, and the data width (W1) of distance access is 1M.
When used as a byte, 1 from the most significant bit during continuous access
The bits up to the 9th bit are handled as address data, and during distance access, the bits from the most significant bit to the 11th bit are handled as address data.

更に、共用メモリ制御部12はプライオリティ回路部3
4を備え、該プライオリティ回路部34は、ロックアド
レスレジスタ手段18の有効ビットがオフの状態で同時
に複数の処理ユニットからアクセスを受けた場合に、両
方ともロック付きアクセスの時には予め定めた優先度の
高いユニットのロック付きアクセスを優先させてロック
アトレセスレジスタ手段18の有効ビットをオンにする
共にロックスタートアドレスをセットし、1つのユニッ
トのみがロック付きアクセスの時には優先度に関係なく
該ロック付きアアクセスを優先させて有効ビットをオン
にする共にロックスタートアドレスをセットし、一方、
既にロックアドレスレジスタ手段18の有効ビットがオ
ンの状態でアクセスを受けた際には、有効ビットがオフ
するまで該アクセスを待たせる。
Furthermore, the shared memory control section 12 has a priority circuit section 3.
4, and the priority circuit section 34 is configured to provide a predetermined priority level when accesses are received from a plurality of processing units at the same time when the valid bit of the lock address register means 18 is off, and when both are accesses with a lock. Prioritizing the locked access of a higher unit, the valid bit of the lock access register means 18 is turned on and the lock start address is set, and when only one unit is accessing with lock, the locked access is performed regardless of the priority Prioritize access by turning on the valid bit and setting the lock start address, while
When an access is received while the valid bit of the lock address register means 18 is already on, the access is made to wait until the valid bit turns off.

[作用] このような構成を備えた本発明のアドレスロック方式に
よれば、ロックアドレスレジスタとの比較判断をパケッ
ト転送のエレメント毎に行わず、パケット転送の最初に
ロックスタートアドレスとアクセススタートアドレスを
比較判断して行い、更にアドレス比較は全アドレスを使
用せずにアクセスの種類で決まるアドレス幅以上のビッ
ト部分をアドレスデータとして処理するため、ハードウ
ェア構成量を大幅に低減し、制御タイミングはパケット
転送の最初だけなので結果として制御も簡単にできる。
[Operation] According to the address lock method of the present invention having such a configuration, the lock start address and the access start address are set at the beginning of the packet transfer without making a comparison judgment with the lock address register for each element of packet transfer. Furthermore, the address comparison does not use the entire address, but instead processes the bit part that is larger than the address width determined by the type of access as address data, which greatly reduces the amount of hardware configuration, and the control timing is packet-based. Since it is only the beginning of the transfer, it can be easily controlled as a result.

[実施例] 第2図は本発明のアドレスロック方式が適用される情報
処理装置の全体構成図である。第2図において、10−
1.10−2は処理ユニットとしてのクラスタであり、
この実施例にあっては2台設けた場合を例にとっている
。クラスタ10−1゜10−2は1又は複数のCPUと
主記憶装置等から成るものであることがある。12は共
用メモリ制御部、14は共用メモリ部である。共用メモ
リ部14は共用メモリ制御部12による制御のもとにク
ラスタ10−1及びクラスタ10−2の両方から共通に
アクセスを受けることができ、共用メモリ部14とクラ
スタ10−1.10−2間のデータ転送は1つのアクセ
スデータをパケットにまとめて行うパケット転送方式を
採用している。また、クラスタ10−1.10−2から
共用メモリ部14K対し行われるアクセス情報はスター
トアドレス、データ長、アドレス間隔及びアクセスの種
類を持ち、更にメモリ領域のロックの有無を指定するロ
ック付アクセス、またはロック付でない通常のアクセス
のいずれかとなる。
[Embodiment] FIG. 2 is an overall configuration diagram of an information processing device to which the address lock method of the present invention is applied. In Figure 2, 10-
1.10-2 is a cluster as a processing unit,
In this embodiment, the case where two units are provided is taken as an example. The clusters 10-1 and 10-2 may consist of one or more CPUs, a main storage device, and the like. 12 is a shared memory control unit, and 14 is a shared memory unit. The shared memory unit 14 can be commonly accessed by both clusters 10-1 and 10-2 under the control of the shared memory control unit 12, and the shared memory unit 14 and clusters 10-1, 10-2 Data transfer between the two uses a packet transfer method in which one piece of access data is collected into a packet. Further, the access information performed from the cluster 10-1 and 10-2 to the shared memory unit 14K includes a start address, data length, address interval, and type of access, and further includes access with lock that specifies whether or not the memory area is locked. Or normal access without lock.

ここでロック付きアクセスにはロックアクセスとアンロ
ックアクセスの2つがある。即ち、クラスタはロックア
クセスでロックレジスタヘアドレスを設定してVRビッ
トをオンし、共用メモリ制御部12からアクセス終了通
知を受けると同じクラスタがアンロックアクセスを行っ
てVRビットをオフする。このロックアクセスとアンロ
ックアクセスは必ず同一クラスタよりペアで使用される
Here, there are two types of locked access: locked access and unlocked access. That is, the cluster uses lock access to set an address in the lock register and turns on the VR bit, and upon receiving an access completion notification from the shared memory control unit 12, the same cluster makes unlock access and turns off the VR bit. This lock access and unlock access are always used in pairs from the same cluster.

またアクセス情報の1つであるアクセスの種類として、
この実施例にあっては連続アクセスとディスタンスアク
セスのいずれかを指定する。連続アクセスとは、例えば
第6図のメモリマツプに示すように、スタートアドレス
から予め定めたデータ長(アドレス幅W1)、例えば4
Kバイトのメモリ領域を連続的にリードまたはライトす
る。これに対しディスタンスアクセスはスタートアドレ
スを起点としてデータ長とアドレス間隔で定まる分離さ
れたメモリ領域を順次リードまたはライトするものであ
り、ディスタンスアクセス可能な最大メモリ領域の大き
さ(アドレス幅W2)は、例えば1Mバイトというよう
に予め定められている。
In addition, as a type of access information,
In this embodiment, either continuous access or distance access is specified. Continuous access means, for example, as shown in the memory map of FIG. 6, a predetermined data length (address width W1), for example 4
Continuously read or write a KB memory area. On the other hand, distance access sequentially reads or writes separated memory areas determined by the data length and address interval starting from the start address, and the size of the maximum memory area that can be accessed from a distance (address width W2) is: For example, it is predetermined as 1 Mbyte.

第3図は第2図の共用メモリ制御部12の実施例構成図
を示す。
FIG. 3 shows a block diagram of an embodiment of the shared memory control unit 12 shown in FIG.

第3図において、まずクラスタ10−1からの入力側に
はデータバッファ30−1、受信制御部としてのムーバ
−32−1及び共用メモリ部14K対するインタフェー
スとなる転送レジスタ36−1が設けられる。同様にク
ラスタ10−2からの入力側にもデータバッファ30−
2、ムーバ−32−2及び転送レジスタ36−2が設け
られる。
In FIG. 3, first, on the input side from the cluster 10-1, there are provided a data buffer 30-1, a mover 32-1 serving as a reception control unit, and a transfer register 36-1 serving as an interface to the shared memory unit 14K. Similarly, on the input side from the cluster 10-2, a data buffer 30-
2. A mover 32-2 and a transfer register 36-2 are provided.

ムーバ−32−1,32−2からのアクセス情報はそれ
ぞれプライオリティ回路部34K入力され、2つのクラ
スタ10−1.10−2より同時にアクセスを受けた時
、予め定めた優先度に従ってアクセスを受は付けている
。プライオリティ回路部34K対してはロックアクセス
制御手段としてのロックレジスタ回路16が設けられる
。このロックレジスタ回路16の詳細は第4図の実施例
構成図に示される。ロックレジスタ回路16はパケット
転送開始時のアクセススタートアドレスとその時のロッ
クアドレスレジスタのロックスタートアドレスとの比較
判断により、共用メモリ部14のロックされたメモリ領
域のアクセスか否か判断する。ロックされたメモリ領域
のアクセスであればロック解除までアクセスを持たせる
ようになり、ロックされた領域でなければアクセスを許
可する。
Access information from movers 32-1 and 32-2 is input to the priority circuit section 34K, and when accesses are received from two clusters 10-1 and 10-2 at the same time, the access information is determined according to predetermined priorities. I'm wearing it. A lock register circuit 16 as lock access control means is provided for the priority circuit section 34K. Details of this lock register circuit 16 are shown in the configuration diagram of an embodiment in FIG. The lock register circuit 16 determines whether or not a locked memory area of the shared memory unit 14 is being accessed by comparing the access start address at the start of packet transfer with the lock start address of the lock address register at that time. If a locked memory area is accessed, access will be allowed until the lock is unlocked, and if it is not a locked area, access will be allowed.

ムーバ−32−1または32−2からのアクセス情報は
転送インタフェース36−1を介して共用メモリ部14
K与えられる。
Access information from the mover 32-1 or 32-2 is transferred to the shared memory unit 14 via the transfer interface 36-1.
K is given.

同時にムーバ−32−1,32−2からのアクセス情報
は転送インタフェース36−2を介してプライオリティ
回路部34Kよる制御のもとにアクセスパイプライン3
8に与えられ、パイプライン制御により共用メモリ部1
4をリードまたはライト、共用メモリ部14から転送レ
ジスタ40に対するリードデータの転送制御、最後にリ
ードバッファ42に対するリードデータの格納が行われ
る。リードバッファ42に続いては転送インタフェース
44−1.44−2が設けられ、転送インタフェース4
4−1からクラスタ10−1へリードデータの転送が行
われ、また転送インタフェース44−2からクラスタ1
0−2へリードデータの転送が行われる。
At the same time, the access information from the movers 32-1 and 32-2 is transferred to the access pipeline 3 via the transfer interface 36-2 under the control of the priority circuit section 34K.
8 and shared memory section 1 by pipeline control.
4 is read or written, transfer control of the read data from the shared memory unit 14 to the transfer register 40 is performed, and finally, the read data is stored in the read buffer 42. Transfer interfaces 44-1 and 44-2 are provided following the read buffer 42, and the transfer interface 4
The read data is transferred from the transfer interface 44-1 to the cluster 10-1, and the read data is transferred from the transfer interface 44-2 to the cluster 10-1.
Read data is transferred to 0-2.

第4図は第3図に示したロックレジスタ回路16の実施
例構成図である。
FIG. 4 is a block diagram of an embodiment of the lock register circuit 16 shown in FIG. 3.

第4図において、18はロックアドレスレジスタであり
、ロックの有無を示す有効ビットVRと共用メモリ部1
4Kおけるロックを行っているメモリ領域のスタートア
ドレス、即ちロックスタートアドレスが格納される。こ
こで有効ビットVRがロックアクセスによりオンで共用
メモリ部14がロックされていることを示し、ロックア
クセスを行ったクラスタよりのアンロックアクセスによ
って有効ビットVRがオフであれば共用メモリ部14の
ロックがないことを示す。また、ロックスタートアドレ
スは後の説明で明らかにする連続アクセス時のアドレス
幅W1に基づき最上位ビット0から20ビット目のビッ
ト19までのビット部分を格納できるビット幅をもち、
全アドレスビット数32に対し20ビットと2/3のビ
ット長で済む。
In FIG. 4, reference numeral 18 is a lock address register, which includes a valid bit VR indicating the presence or absence of a lock, and a shared memory section 1.
The start address of the memory area that is locked in 4K, that is, the lock start address is stored. Here, if the valid bit VR is on due to a lock access, indicating that the shared memory unit 14 is locked, and if the valid bit VR is off due to an unlock access from the cluster that has performed the lock access, the shared memory unit 14 is locked. Indicates that there is no In addition, the lock start address has a bit width that can store the bit portion from the most significant bit 0 to the 20th bit, bit 19, based on the address width W1 during continuous access, which will be explained later.
The bit length is only 20 bits, which is ⅔ of the total number of address bits of 32.

ロックアドレスレジスタ18に対しては、セレクタ46
を介してクラスタ10−1または1〇−2よりアクセス
情報から得られたロックスタートアドレスが格納される
。セレクタ46はプライオリティ回路部34の制御によ
り選択制御される。
For lock address register 18, selector 46
The lock start address obtained from the access information from the cluster 10-1 or 10-2 is stored. The selector 46 is selectively controlled by the priority circuit section 34.

このプライオリティ回路部34Kよる選択制御は次のよ
うになる。
The selection control by the priority circuit section 34K is as follows.

[モード1] ロックアドレスレジスタ18の有効ビットvRがオフで
同時にクラスタ10−1及び10−2よりロックアクセ
スを受けた場合、クラスタ102を優先させ、クラスタ
10−1を待たせる。従って、この場合にはセレクタ4
6はクラスタ1〇−2からのスタートアドレスを選択し
てロックアドレスレジスタ18を有効ビットVRをオン
すると共にスタートアドレスのビット0〜19を格納す
る。
[Mode 1] When the valid bit vR of the lock address register 18 is off and lock accesses are received from clusters 10-1 and 10-2 at the same time, cluster 102 is given priority and cluster 10-1 is made to wait. Therefore, in this case, selector 4
6 selects the start address from cluster 10-2, turns on the valid bit VR of the lock address register 18, and stores bits 0 to 19 of the start address.

[モード2] ロックアドレスレジスタ18の有効ビットVRがオフで
同時にクラスタ10−1と10−2よりアクセスを受け
た後、クラスタ10−2からのアクセスがロックアクセ
スでなかった場合には、クラスタ10−1を優先する。
[Mode 2] After the valid bit VR of the lock address register 18 is off and accesses are received from clusters 10-1 and 10-2 at the same time, if the access from cluster 10-2 is not a lock access, then cluster 10 -1 is given priority.

即ち、この場合には、セレクタ46はロックアクセスを
行ったクラスタ10−1からのスタートアドレスの上位
部分(0〜19ビット)を選択してロックアドレスレジ
スタ18に格納し、同時にプライオリティ回路部34が
有効ビットVRをオンする。逆にクラスタ10−1側が
ロックアクセスでなかった場合には、ロックアクセスを
行ったクラスタ10−2側が優先され、同様にロックア
ドレスレジスタ18に対するロックスタートアドレスの
格納及び有効ビットVRのオンが行われる。
That is, in this case, the selector 46 selects the upper part (0 to 19 bits) of the start address from the cluster 10-1 that has made the lock access and stores it in the lock address register 18, and at the same time the priority circuit unit 34 Turn on the valid bit VR. Conversely, if the cluster 10-1 side does not have lock access, priority is given to the cluster 10-2 side that has performed lock access, and similarly the lock start address is stored in the lock address register 18 and the valid bit VR is turned on. .

[モード3] クラスタ10−2のロックアクセスのより既にロックア
ドレスレジスタ18の有効ビットVRがオンの状態でク
ラスタ10−1よりロックアクセスが行われた場合、ク
ラスタ10−1はクラスタ10−2のアンロックアクセ
スで有効ビットVRがオフするまで待たされる。逆にク
ラスタ1〇−1からのロックアクセスで既に有効ビット
VRがオンの状態でクラスタ10−2がロックアクセス
を行った場合には、同様にクラスタ10−1のアンロッ
クアクセスで有効ビットVRをオフするまでクラスタ1
0−2を待たせる。
[Mode 3] If cluster 10-1 performs a lock access while the valid bit VR of the lock address register 18 is already on, cluster 10-1 accesses the lock from cluster 10-2. The user is forced to wait until the valid bit VR turns off during unlock access. Conversely, if cluster 10-2 performs a lock access while the valid bit VR is already on in the lock access from cluster 10-1, similarly, the valid bit VR is set to the valid bit VR by unlock access from cluster 10-1. Cluster 1 until turned off
Make 0-2 wait.

[モード4〕 有効ビットVRのオン、オフ状態の如何に拘らず、クラ
スタ10−1またはクラスタ10−2より通常のアクセ
スが行われると、第4図に示したロックレジスタ回路部
16によるロックスタートアドレスとアクセススタート
アドレスとの比較によるアクセスを許可するか否かの判
断を行う。
[Mode 4] Regardless of whether the valid bit VR is on or off, when a normal access is made from cluster 10-1 or cluster 10-2, lock start is performed by the lock register circuit section 16 shown in FIG. It is determined whether or not to permit access by comparing the address and the access start address.

この通常アクセス時のロックスタートアドレスとの比較
によるアクセス可否の判断のため、第4図の実施例にあ
ってはクラスタ10−1用とじて第1の比較器24−1
1.24−12及び第2の比較器26−11.26−1
2を設けている。第1の比較器24−11.24−12
はロックアドレスレジスタ18のスタートアドレスとク
ラスタ10−1より転送されたアクセススタートアドレ
スとを直接比較する。
In order to determine whether or not access is possible by comparison with the lock start address during normal access, in the embodiment of FIG. 4, the first comparator 24-1 is
1.24-12 and second comparator 26-11.26-1
2 are provided. First comparator 24-11.24-12
directly compares the start address of the lock address register 18 and the access start address transferred from the cluster 10-1.

これに対し第2の比較器26−11と26−12はロッ
クレジスタ18のスタートアドレスと加算器20−1か
らの加算アドレスとを比較する。
On the other hand, second comparators 26-11 and 26-12 compare the start address of lock register 18 and the addition address from adder 20-1.

加算器20−1はスタートアドレスにセレクタ22−1
で選択されたアクセスの種類に応じたアドレス幅を加え
た値を出力する。セレクタ22−1には連続アクセス時
のアドレス幅W1に対応して19ビットのみをオンとし
たデータが設定され、またディスタンスアクセス時のア
ドレス幅w2に対応した11ビットのみをオンとしたデ
ータが設定されており、プライオリティ回路IE34か
らの制御信号により連続アクセス時には19ビットオン
の設定データを選択し、ディスタンスアクセス時には1
1ビットオンのデータを選択し、それぞスタートアドレ
スに加算して第1比較器26−11.26−12に出力
する。
Adder 20-1 selector 22-1 at the start address
Outputs the value added with the address width according to the access type selected in . Selector 22-1 is set with data in which only 19 bits are turned on, corresponding to address width W1 during continuous access, and data in which only 11 bits are turned on, corresponding to address width W2 during distance access, is set. The control signal from the priority circuit IE34 selects 19-bit ON setting data during continuous access, and selects 19-bit ON setting data during distance access.
Data with 1 bit on is selected, added to the respective start addresses, and output to the first comparators 26-11 and 26-12.

ここで第4図におけるメモリアドレスのビットデータを
第5図を参照して説明する。
Here, the bit data of the memory address in FIG. 4 will be explained with reference to FIG. 5.

第5図において、本発明のアドレスデータは最上位アド
レスビットを0、最下位アドレスビットを31とした時
、32ビット構成を持ち、各ビットの持つビットの重み
は最下位ビットで1バイト、最上位ビットで2Gバイト
となる。
In FIG. 5, the address data of the present invention has a 32-bit configuration when the most significant address bit is 0 and the least significant address bit is 31, and the weight of each bit is 1 byte for the least significant bit and 31 for the least significant bit. The upper bits are 2 GB.

一方、連続アクセスについては第6図に示したようにア
ドレス幅W1は4Kバイトであり、第5図の最上位から
20番目のアドレスビット19のみをビット1としたア
ドレスデータで表現できる。
On the other hand, regarding continuous access, the address width W1 is 4K bytes as shown in FIG. 6, and can be expressed by address data in which only the 20th address bit 19 from the most significant one in FIG. 5 is set as bit 1.

従って連続アクセスの場合はアドレスビット19以上を
比較すれば良い。これに対しディスタンスアクセス時は
第6図に示すようにアドレス幅w2は1Mバイトであり
、第5図からIMはアドレスビット11であり、従って
ディスタンスアクセスの場合はアドレスビット11以上
を比較すれば良い。
Therefore, in the case of continuous access, it is sufficient to compare address bits 19 and above. On the other hand, during distance access, the address width w2 is 1M byte as shown in Figure 6, and from Figure 5, IM is address bit 11, so in the case of distance access, address bits 11 and above need only be compared. .

しかしながら、本発明にあってはパケット転送開始時の
スタートアドレスで比較するため桁上がりする場合があ
る。従ってスタートアドレスに対し4Kバイトまたは1
Mバイト加算した結果についてもロックアドレスとして
比較する必要がある。
However, in the present invention, a carry may occur because the start address at the start of packet transfer is compared. Therefore, 4K bytes or 1
The result of adding M bytes also needs to be compared as a lock address.

ここでアクセススタートアドレスに、連続アクセス時に
4Kバイトに対応したアドレスビット19をオンしたア
ドレスデータを加算し、またディスタンスアクセス時に
1Mバイトに対応したアドレスビット11をオンしたア
ドレスデータを加算し、この加算アドレスもロックアド
レスデータとを比較する理由を説明する。
Here, address data with address bit 19 turned on corresponding to 4K bytes during continuous access is added to the access start address, and address data with address bit 11 turned on corresponding to 1M byte during distance access is added, and this addition is performed. The reason why the address is also compared with the lock address data will be explained.

尚、アドレスデータは第5図に4ビット単位に区切って
1桁を示した16進表示とする。
Note that the address data is shown in FIG. 5 in hexadecimal notation, divided into 4-bit units and showing one digit.

いまロックスタートアドレスがフルビット表現でr3 
F F F F OOOJであったとする。
The lock start address is now r3 in full bit representation.
Suppose that it is F F F F OOOJ.

これに対し4Kバイトの連続アクセスによるアクセスス
タートアドレスがフルビット表現でr3FFFFOOo
〜3FFFFFFFJの範囲にあったとする。本発明で
は、アドレスビット19以上を使用して比較を行うため
、比較用のロックスタートアドレスはr3 F F F
 FJとなり、また比較用のアクセススタートアドレス
もr3 F F F FJとなり、ロックスタートアド
レスとアクセススタートアドレスが一致することでロッ
クアドレスのアクセスと判断してアクセスを待たせるこ
とができる。
On the other hand, the access start address for continuous access of 4K bytes is r3FFFFOOo in full bit representation.
Assume that it is in the range of ~3FFFFFFFFJ. In the present invention, since address bits 19 and above are used for comparison, the lock start address for comparison is r3 F F F
FJ, and the access start address for comparison is also r3 FF F FJ. When the lock start address and the access start address match, it is determined that the access is to the lock address, and the access can be made to wait.

ところが、アクセススタートアドレスがフルビット表現
で4Kバイト前の r3FFFEOO1〜3FFFEFFFJの範囲にある
とき、アクセス幅は4Kバイトであることからアクセス
エンドアドレスは、r3FFFFOOO〜3FFFFF
FFJとなり、ロックアドレスの範囲に入るアクセスと
なる。
However, when the access start address is in the range of r3FFFEOO1 to 3FFFFFFJ, which is 4K bytes earlier in full bit representation, the access end address is r3FFFFOOO to 3FFFFF because the access width is 4K bytes.
FFJ, and the access falls within the lock address range.

しかし、この場合、ビット19以上の比較用のアクセス
エンドアドレスはr3FFFEJであり、比較対象とな
っているロックスタートアドレスr3 F F F F
Jとは一致せず、ロックアドレスのアクセスであること
を判断できない。
However, in this case, the access end address for comparison of bits 19 and above is r3FFFEJ, and the lock start address to be compared is r3 F F F F
J does not match, and it cannot be determined that this is a lock address access.

そこで、アクセススタートアドレスr3 F F FE
」にビット19のみをオンしたroooolJを加算し
て加算アドレスr3 F F F FJを求め、スター
トアドレスr3 F F F EJと加算アドレスr3
 F F FJの2つをロックスタートアドレス「3 
F F FJと比較することで、確実にロックアドレス
に入るアクセスか否かを判断することができる。゛ 尚、本発明の実施例では、アクセススタートアドレスに
アドレスビット19又は11のみをオンとしたアドレス
データを加算してロックスタートアドレスと比較してい
るが、アクセススタートアドレスをそのままとし、ロッ
クスタートアドレスからアドレスビット19又は11の
みをオンしたアドレスデータを減算した減算アドレスと
ロックスタートアドレスとを比較するようにしても全く
同じである。
Therefore, the access start address r3 F F FE
” and roooolJ with only bit 19 turned on to obtain the addition address r3 FF F F FJ, and then add the start address r3 FF F F EJ and the addition address r3
Set the two F F FJ to the lock start address "3".
By comparing with F F FJ, it is possible to reliably determine whether or not the access will enter the lock address.゛In the embodiment of the present invention, address data with only address bits 19 or 11 turned on is added to the access start address and compared with the lock start address, but the access start address is left as is and the lock start address is It is exactly the same even if the subtracted address obtained by subtracting address data with only address bit 19 or 11 turned on from the lock start address is compared with the lock start address.

以上の理由により第4図の実施例にあっては加算器20
−1でアクセスの種類に応じたアドレス幅W1、W2を
スタートアドレスに加算した値を第2比較器26−11
.26−12でロックアドレスレジスタ18のロックス
タートアドレスと比較している。
For the above reasons, in the embodiment of FIG. 4, the adder 20
-1, the value obtained by adding the address widths W1 and W2 according to the type of access to the start address is added to the second comparator 26-11.
.. It is compared with the lock start address of the lock address register 18 at 26-12.

また比較回路部において比較器24−11と26−11
はディスタンスアクセス時に有効とされ、また比較器2
4−12.26−12は連続アクセス時に有効とされる
Also, in the comparison circuit section, comparators 24-11 and 26-11
is valid during distance access, and comparator 2
4-12.26-12 is valid during continuous access.

比較器24−11〜26−12の出力はORゲート48
−1で取りまとめられ、端子50−2に与えられている
The outputs of the comparators 24-11 to 26-12 are sent to the OR gate 48.
-1 and is applied to terminal 50-2.

一方、クラスタ10−2に対応してクラスタ10−1側
と同様、第1比較器24−21.24−22、第2比較
器26−21.26−22、加算器26−2、セレクタ
22−2及びORゲート48−2が設けられ、同様にし
てアクセスの種類に応じたロックスタートアドレスとア
クセススタートアドレスの比較演算を行う。
On the other hand, corresponding to the cluster 10-2, similarly to the cluster 10-1 side, the first comparator 24-21, 24-22, the second comparator 26-21, 26-22, the adder 26-2, the selector 22 -2 and an OR gate 48-2 are provided to similarly perform a comparison operation between the lock start address and the access start address depending on the type of access.

第4図から明らかなように第3図のプライオリティ回路
部34K対してはロックレジスタ回路16より端子50
−1よりの有効ビットVRのオンオフ信号、ORアゲ−
48−1からの出力となる端子50−2.50−3から
の比較出力が与えられる。
As is clear from FIG. 4, the terminal 50 is connected to the lock register circuit 16 for the priority circuit section 34K of FIG.
On/off signal of valid bit VR from -1, OR age
Comparison outputs from terminals 50-2 and 50-3, which are the outputs from 48-1, are provided.

プライオリティ回路34は有効ビットがオンで且つ端子
50−2または50−3のいずれかからアドレス一致の
比較結果が得られると、ロックされたメモリ領域のアク
セスであると判断して、その時のアクセスをアンロック
アクセスにより有効ビットVRがオフするまで待たせる
。一方、有効ビットVRがオフであれば端子50−2.
50−3からの比較出力の有無に拘らず、ロックされた
メモリーエリアのアクセスでないと判断してアクセスを
許可する。
When the valid bit is on and a comparison result of address matching is obtained from either terminal 50-2 or 50-3, the priority circuit 34 determines that the access is to a locked memory area and performs the access at that time. The system waits until the valid bit VR is turned off by unlock access. On the other hand, if the valid bit VR is off, the terminal 50-2.
Regardless of the presence or absence of the comparison output from 50-3, it is determined that the access is not to a locked memory area and the access is permitted.

具体的には第4図の端子50−2.50−3の論理和と
端子50−1の論理積を取ることによりアクセス許可の
有無を判断することができる。
Specifically, by calculating the logical sum of terminals 50-2 and 50-3 and the logical product of terminal 50-1 in FIG. 4, it is possible to determine whether or not access is permitted.

尚、上記の実施例は連続アクセス時のアドレス幅を4K
バイト、ディスタンスアクセス時のアドレス幅を1Mバ
イトとしたが、この最大アクセス値は命令のオペコード
により任意に決まる値であり、必要に応じて適宜の最大
アクセス値を決定することができる。
Note that in the above embodiment, the address width during continuous access is 4K.
Although the address width at the time of byte and distance access is set to 1 Mbyte, this maximum access value is arbitrarily determined by the operation code of the instruction, and an appropriate maximum access value can be determined as necessary.

また上記の実施例は処理ユニットとしてクラスタ2台を
接続した場合を例にとるものであったが、適宜の処理ユ
ニットを2以上接続した場合についても全く同様である
Further, although the above embodiment has been exemplified by the case where two clusters are connected as processing units, the same applies to the case where two or more appropriate processing units are connected.

更に第4図の実施例にあっては、クラスタ毎にロックア
ドレスの比較判断を行うハードウェアを設けているが、
加算器20−1に対するクラスタ10−1.10−2か
らのスタートアドレスをセレクタを介して選択入力する
ことで1つの回路部とすることもできる。
Furthermore, in the embodiment shown in FIG. 4, hardware is provided for comparing and determining lock addresses for each cluster.
By selectively inputting the start addresses from the clusters 10-1 and 10-2 to the adder 20-1 via a selector, it is possible to form one circuit section.

[発明の効果] 以上説明してきたように、本発明によれば、パケット転
送の開始時にスタートアドレスを用いたロックアドレス
とアクセスアドレスの比較によりロックアドレス制御を
行い、且つアクセスの種類に応じたアドレス幅をスター
トアドレスに加算したアドレスをスタートアドレスと共
にロックアドレスと比較することで、全ビットの比較処
理を不要とし、ハードウェア量の低減と制御の簡略化を
図ることができる。
[Effects of the Invention] As described above, according to the present invention, lock address control is performed by comparing a lock address and an access address using a start address at the start of packet transfer, and the address is set according to the type of access. By comparing the address obtained by adding the width to the start address with the lock address together with the start address, comparison processing of all bits is not necessary, and it is possible to reduce the amount of hardware and simplify control.

【図面の簡単な説明】 第1図は本発明の原理説明図; 第2図は本発明の全体構成図; 第3図は本発明の共用メモリ制御部の構成図;第4図は
第3図のロックレジスタ回路として実現される本発明の
実施例構成図; 第5図は本発明の32ビットアドレスデータの説明図; 第6図は本発明のロックアドレス説明図である。 図中、 10−1.10−2:処理ユニット(クラスタ)12:
共用メモリ制御部 14:共用メモリ部 16二ロツクアクセス制御手段 (ロックレジスタ回路) 18:ロックアドレスレジスタ手段 20:加算手段 20−1.20−2:加算器 22:選択手段 22−1.22−2:セレクタ 24−1.26−1 :第1比較手段 24−2.26−2:第2比較手段 24−11〜26−22:比較器 30−1.30−2:データバッファ 32−1.32−2:ムーバ− 34ニブライオリティ回路部 36−1.36−2.4044−1.44−2 :転送
インタフェース38:パイプライン 42:リードバッファ 48−1.48−2:ORゲート 50−1〜50−3:端子
[BRIEF DESCRIPTION OF THE DRAWINGS] Fig. 1 is a diagram explaining the principle of the present invention; Fig. 2 is an overall configuration diagram of the present invention; Fig. 3 is a configuration diagram of the shared memory control section of the invention; FIG. 5 is an explanatory diagram of 32-bit address data of the present invention; FIG. 6 is an explanatory diagram of a lock address of the present invention. In the figure, 10-1.10-2: Processing unit (cluster) 12:
Shared memory control section 14: Shared memory section 16 Lock access control means (lock register circuit) 18: Lock address register means 20: Addition means 20-1.20-2: Adder 22: Selection means 22-1.22- 2: Selector 24-1.26-1: First comparison means 24-2.26-2: Second comparison means 24-11 to 26-22: Comparator 30-1.30-2: Data buffer 32-1 .32-2: Mover 34 Ni priority circuit section 36-1.36-2.4044-1.44-2: Transfer interface 38: Pipeline 42: Read buffer 48-1.48-2: OR gate 50- 1 to 50-3: Terminal

Claims (5)

【特許請求の範囲】[Claims] (1)複数の処理ユニット(10−1、10−2)、共
用メモリ制御部(12)、及び共用メモリ部(14)を
備え、前記共用メモリ部(14)に対するアクセス情報
としてスタートアドレス、データ長、アドレス間隔、及
びアクセスの種類を持ち、且つパケット転送により前記
共用メモリ制御部(12)の制御のもとに前記処理ユニ
ット(10−1、10−1)と前記共用メモリ部(14
)の間でデータ転送を行う装置に於いて、前記共用メモ
リ制御部(12)に設けられるロックアクセス制御手段
(16)として、 特定の処理ユニットからのロック付きアクセスによりオ
ンされる有効ビット及びロックスタートアドレスを格納
したロックアドレスレジスタ手段(18)と; 他の処理ユニットからのロック付きでないアクセスを受
けた際に、該アクセススタートアドレスにアクセス種類
に応じて選択手段(22)で選択された予め定めたアク
セスアドレス幅(W1、W2)を加算した加算アドレス
を生成する加算手段(20)と;前記ロックアドレスレ
ジスタ手段(18)からアクセスの種類に応じた比較対
象ビット部分を取り出して前記アクセススタートアドレ
スと比較する第1比較手段((24−1、24−2)と
; 前記ロックアドレスレジスタ手段(18)からアクセス
の種類に応じた比較対象ビット部分を取り出して前記加
算手段(20)の加算アドレスと比較する第2比較手段
((26−1、26−2)と;を設け、前記ロックアド
レスレジスタ手段(18)の有効ビットがオンで且つ前
記第1及び第2比較手段(24−1〜26−2)のいず
れかよりアドレス一致の比較出力が得られた時にのみ、
ロックされているメモリエリアのアクセスと判断してメ
モリアクセスを禁止することを特徴とするアドレスロッ
ク方式。
(1) A plurality of processing units (10-1, 10-2), a shared memory control unit (12), and a shared memory unit (14) are provided, and access information for the shared memory unit (14) includes a start address and data. The processing unit (10-1, 10-1) and the shared memory unit (14) have a length, an address interval, and a type of access, and are controlled by the shared memory control unit (12) by packet transfer.
), the lock access control means (16) provided in the shared memory control unit (12) includes a valid bit and a lock that are turned on by access with a lock from a specific processing unit. A lock address register means (18) storing a start address; When a non-locked access is received from another processing unit, a lock address register means (18) storing a start address; Adding means (20) for generating an addition address by adding a predetermined access address width (W1, W2); extracting a comparison target bit portion according to the type of access from the lock address register means (18) and starting the access; A first comparison means ((24-1, 24-2) for comparing with the address; extracts a comparison target bit part according to the type of access from the lock address register means (18) and adds it to the addition means (20). A second comparison means ((26-1, 26-2) and ~26-2) Only when a comparison output of address matching is obtained from either of
An address locking method that prohibits memory access by determining that the access is to a locked memory area.
(2)前記アクセスの種類として、スタートアドスレス
からデータ長で決まる連続したメモリ領域をアクセスす
る連続アクセスと、スタートアドスレスからアドレス間
隔とデータ長で決まる分散したメモリ領域を順次アクセ
スするディスタンスアクセスを備えたことを特徴とする
請求項1記載のアドレスロック方式。
(2) The types of access mentioned above are continuous access, which accesses continuous memory areas determined by the data length from the start address, and distance access, which sequentially accesses distributed memory areas determined by the address interval and data length from the start address. 2. The address lock system according to claim 1, further comprising: an address lock system.
(3)前記ロックアドレスレジスタ手段(18)、加算
手段(20)、選択手段(22)、第1比較手段(24
−1、24−2)及び第2比較手段(26−1、26−
2)は、スタートアドレスの内のアクセスの種類に応じ
たデータ幅(W1、W2)以上のビット部分をアドレス
データとして取扱うことを特徴とする請求項1記載のロ
ックアドレス方式。
(3) The lock address register means (18), the addition means (20), the selection means (22), the first comparison means (24)
-1, 24-2) and second comparison means (26-1, 26-
2) The lock address method according to claim 1, wherein a bit portion of the start address having a data width (W1, W2) or more corresponding to the type of access is handled as address data.
(4)前記連続アドレスのデータ幅(W1)を4Kバイ
ト、ディスタンスアクセスのデータ幅(W2)を1Mバ
イトとした時、連続アクセス時に最上位ビットから19
ビッまでをアドレスデータとして取扱い、ディスタンス
アクセス時には最上位ビットから11ビットまでをアド
レスデータとして取扱うことを特徴とする請求項3記載
のアドレスロック方式。
(4) When the data width (W1) of the continuous address is 4K bytes and the data width (W2) of distance access is 1M byte, 19 bits from the most significant bit during continuous access.
4. The address lock system according to claim 3, wherein up to the bits are handled as address data, and during distance access, the most significant bit to 11 bits are handled as address data.
(5)前記許容メモリ制御部(12)はプライオリティ
回路部(34)を備え、該プライオリティ回路部(34
)は、前記ロックレジタ手段(18)の有効ビットがオ
フの状態で同時に複数の処理ユニットからアクセスを受
けた際に、両方ともロック付きアクセスの場合には予め
定めた優先度の高いユニットのロック付きアクセスを優
先させて前記ロックアドレスレジスタ手段(18)の有
効ビットをオンにする共にロックスタートアドレスをセ
ットし、1つのユニットのみがロック付きアクセスの場
合には優先度に関係なく該ロック付きアアクセスを優先
させて有効ビットをオンにする共にロックスタートアド
レスをセットし、一方、既に前記ロックアドレスレジス
タ手段(18)の有効ビットがオンの状態でアクセスを
受けた際には、有効ビットがオフするまで該アクセスを
待たせることを特徴とする請求項1記載のアドレスロッ
ク方式。
(5) The permissible memory control section (12) includes a priority circuit section (34);
), when the valid bit of the lock register means (18) is off and accesses are received from multiple processing units at the same time, if both are accesses with locks, the unit with a predetermined high priority is accessed with locks. Prioritize access by turning on the valid bit of the lock address register means (18) and setting the lock start address, and if only one unit is accessing with lock, the access with lock is performed regardless of the priority. At the same time, the lock start address is set with priority given to the valid bit of the lock address register means (18).On the other hand, when an access is received while the valid bit of the lock address register means (18) is already on, the valid bit is turned off. 2. The address locking method according to claim 1, wherein the access is made to wait until the address is accessed.
JP17817990A 1990-07-05 1990-07-05 Address lock method Expired - Fee Related JP2892113B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17817990A JP2892113B2 (en) 1990-07-05 1990-07-05 Address lock method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17817990A JP2892113B2 (en) 1990-07-05 1990-07-05 Address lock method

Publications (2)

Publication Number Publication Date
JPH0465736A true JPH0465736A (en) 1992-03-02
JP2892113B2 JP2892113B2 (en) 1999-05-17

Family

ID=16043989

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17817990A Expired - Fee Related JP2892113B2 (en) 1990-07-05 1990-07-05 Address lock method

Country Status (1)

Country Link
JP (1) JP2892113B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09221061A (en) * 1996-02-10 1997-08-26 Mercedes Benz Ag Chassis supporting beam and manufacture thereof
JP2010086010A (en) * 2008-09-29 2010-04-15 Fujitsu Ltd Access control method and computer system
US9846580B2 (en) 2013-11-22 2017-12-19 Fujitsu Limited Arithmetic processing device, arithmetic processing system, and method for controlling arithmetic processing device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09221061A (en) * 1996-02-10 1997-08-26 Mercedes Benz Ag Chassis supporting beam and manufacture thereof
US5944440A (en) * 1996-02-10 1999-08-31 Mercedes-Benz Ag Chassis support and process for manufacture thereof
JP2010086010A (en) * 2008-09-29 2010-04-15 Fujitsu Ltd Access control method and computer system
US9846580B2 (en) 2013-11-22 2017-12-19 Fujitsu Limited Arithmetic processing device, arithmetic processing system, and method for controlling arithmetic processing device

Also Published As

Publication number Publication date
JP2892113B2 (en) 1999-05-17

Similar Documents

Publication Publication Date Title
US4326250A (en) Data processing apparatus with serial and parallel priority
US6470380B1 (en) Signal processing device accessible as memory
US6944731B2 (en) Dynamic random access memory system with bank conflict avoidance feature
US4064489A (en) Apparatus for searching compressed data file
JPS6118062A (en) Multiprocessor system
US6076126A (en) Software locking mechanism for locking shared resources in a data processing system
JPS5938620B2 (en) Priority designation device for memory controller
JPS59167761A (en) Computer system
JPH0465736A (en) Address lock system
JPH0581939B2 (en)
US20100037027A1 (en) Transaction Manager And Cache For Processing Agent
EP0318699A2 (en) Operation apparatus processing data of arbitrary length
EP0522728B1 (en) Method for efficient access of data stored in a nexus table
EP0232827A3 (en) Vector processor
JP2853652B2 (en) Packet transmitting method and apparatus in inter-processor communication
JPH05225117A (en) Exclusive control circuit for main storage device
JP3528198B2 (en) Computer system
JP2723412B2 (en) Main memory pre-port control method
JPS59136831A (en) Data transfer controller
JP2913702B2 (en) Access reception control method of multiprocessor system
JPS6022243A (en) Content retrieval processing system
JP2910444B2 (en) Bus transmission control method
JPS5854478A (en) Controlling method of main storage
JPH0429099B2 (en)
JPH04130553A (en) Electronic computer

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees