JPS6367702B2 - - Google Patents

Info

Publication number
JPS6367702B2
JPS6367702B2 JP58071086A JP7108683A JPS6367702B2 JP S6367702 B2 JPS6367702 B2 JP S6367702B2 JP 58071086 A JP58071086 A JP 58071086A JP 7108683 A JP7108683 A JP 7108683A JP S6367702 B2 JPS6367702 B2 JP S6367702B2
Authority
JP
Japan
Prior art keywords
bus
data processing
lock
processing unit
signal
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
Application number
JP58071086A
Other languages
Japanese (ja)
Other versions
JPS59195728A (en
Inventor
Nobuteru Morita
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.)
NEC Corp
Original Assignee
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP7108683A priority Critical patent/JPS59195728A/en
Publication of JPS59195728A publication Critical patent/JPS59195728A/en
Publication of JPS6367702B2 publication Critical patent/JPS6367702B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Bus Control (AREA)

Description

【発明の詳細な説明】 〔発明の属する技術分野〕 本発明は、複数のデータ処理ユニツトを結合す
る情報処理装置におけるバス上の信号のロツク動
作の方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of the Invention] The present invention relates to a system for locking signals on a bus in an information processing apparatus that couples a plurality of data processing units.

〔従来技術の説明〕[Description of prior art]

従来この種のロツク動作の方式は、バスからの
ロツク信号を伴う情報転送において、ロツク動作
を受け取る側のユニツトにそれを記憶するフラグ
を設け、最初のロツク信号を伴うバスからのアク
セスに応じてロツクフラグをセツトし、以後の一
連の動作情報を受け取り、最後のアクセスととも
にロツクフラグをリセツトする信号を送り、ロツ
ク動作を終了させる。また、ロツクフラグがセツ
トされているユニツトに対する他のロツク信号を
伴うアクセスに対しては、そのユニツトよりロツ
クビジーの応答が返るように構成される。
Conventionally, in this type of lock operation method, when information is transferred accompanied by a lock signal from the bus, a flag is provided in the unit receiving the lock operation to store it, and the information is transferred in response to the first access from the bus accompanied by the lock signal. It sets the lock flag, receives a series of subsequent operation information, and sends a signal to reset the lock flag with the last access, thereby terminating the lock operation. Furthermore, when a unit whose lock flag is set is accessed with another lock signal, the unit is configured to return a lock busy response.

以上のことからわかるように、従来はロツクさ
れているかどうかは、実際にアクセスして見るま
で分からなかつた。そこでロツク動作を行おうと
してロツクビジーの応答を待つユニツトは、ロツ
ク信号を伴うアクセスを繰り返すことになり、ロ
ツクフラグの解除を待たなければならなかつた。
As you can see from the above, in the past, you could not tell whether a site was locked or not until you actually accessed it. Therefore, a unit that attempts to perform a lock operation and waits for a lock busy response ends up repeating access accompanied by a lock signal, and has to wait for the lock flag to be released.

第1図は複数のデータ処理ユニツト100,1
01と、入出力制御ユニツト110,111と、
主記憶120とを共通バス10に結合した従来の
基本的な情報処理装置であり、これによりさらに
詳しく述べる。
FIG. 1 shows a plurality of data processing units 100, 1.
01, input/output control units 110, 111,
This is a conventional basic information processing device in which a main memory 120 is coupled to a common bus 10, and this will be described in more detail.

まず情報転送中にデータ処理ユニツト100が
主記憶120に対して一語を読み出して、その内
容を変更して、先に読み出したのと同一の場所
(番地)に格納する動作をとりあげる。この動作
の間にデータ処理ユニツト101が上に述べたの
と同様の動作を行おうとすると、データ処理ユニ
ツト100が読み出したデータをデータ処理ユニ
ツト101が読み出し、データ処理ユニツト10
0が前に書き込んだデータの上にさらにデータ処
理ユニツト101がデータを書き込むことになる
ので、、前記データ処理ユニツト100が書き込
んだデータが失われる不都合が生じる。
First, we will discuss the operation in which data processing unit 100 reads one word from main memory 120 during information transfer, changes its contents, and stores it at the same location (address) from which it was previously read. During this operation, when the data processing unit 101 attempts to perform the same operation as described above, the data processing unit 101 reads out the data read by the data processing unit 100, and the data processing unit 10
Since the data processing unit 101 writes further data on top of the data previously written by the data processing unit 0, there arises the problem that the data written by the data processing unit 100 is lost.

これを避けるために従来のロツク構成が考え出
された。これはデータ処理ユニツト100が上述
の動作を行う間に、データ処理ユニツト101に
よる同様な処理を禁止するように働くようにする
ことであり、従来はこのような機構は、被操作ユ
ニツト(前述の例では主記憶)に存在し、前述の
動作を行つていることを記憶するフラグと、フラ
グが「1」のときに他のユニツトからの前述の動
作の要求に対して「拒否」の応答を発生する回路
とで実現されていた。
Conventional locking arrangements were devised to avoid this. This is to prevent similar processing by the data processing unit 101 while the data processing unit 100 performs the above-mentioned operation. Conventionally, such a mechanism has been used to prevent the operated unit (the In the example, there is a flag that exists in the main memory) that remembers that the above operation is being performed, and a flag that, when the flag is ``1'', responds ``reject'' to a request for the above operation from another unit. It was realized with a circuit that generates

〔発明の目的〕[Purpose of the invention]

本発明は、上記の問題点を解決するものであ
り、バス上にロツク信号を表示することにより、
いたずらにバスサイクルを繰り返すことなく、ロ
ツク動作を確実に行えるデータ処理装置を提供す
ることを目的とする。
The present invention solves the above problems by displaying a lock signal on the bus.
It is an object of the present invention to provide a data processing device that can reliably perform a lock operation without unnecessarily repeating bus cycles.

〔発明の要点〕[Key points of the invention]

本発明は、複数の情報処理ユニツトを結合し、
その中の任意の2つのユニツト間で情報の転送を
行う共通バスを備えたデータ処理装置において、 上記各情報処理ユニツトに、互いに他のユニツ
トに対するいくつかのバスサイクルに分割された
一連の動作を行つていることを上記共通バス上に
表示する手段と、前記動作の終了までこの表示を
保持する手段とを備えたことを特徴とする。
The present invention combines multiple information processing units,
In a data processing device equipped with a common bus for transferring information between any two of the units, each of the information processing units has a series of operations divided into several bus cycles for each other. The present invention is characterized by comprising means for displaying what is being done on the common bus, and means for holding this display until the end of the operation.

〔実施例による説明〕[Explanation based on examples]

次に、本発明の実施例装置について添付図面を
参照して詳細に説明する。
Next, an embodiment of the present invention will be described in detail with reference to the accompanying drawings.

第2図は本発明の実施例のデータ処理ユニツト
のブロツク構成図である。第2図において、図面
符号10は、前記共通バスであり、40および5
0はそれぞれバス10とデータ処理ユニツト10
0とを接続するドライバとレシーバ素子である。
20は「ロツク動作中」を表示し、制御回路20
0に結合する双安定回路であり、30はバス上に
ロツク表示があるか否かを一時記憶しておく双安
定回路である。制御回路200は双安定回路30
の入出力側に結合されてある。前記の連続動作を
行おうとするデータ処理ユニツト100は、バス
の使用権を割合てられたらバス10上の信号11
をレシーバ素子50を介して受信し、双安定回路
30にクロツク信号202を供給して取り込み、
双安定回路30の出力31を制御回路200で判
定する。信号11がバス上に存在しないときに制
御回路200はセツト信号203で双安定回路2
0をセツトし、ドライバ40を用いて共通バス1
0上信号11として出力する。また、制御回路2
00で判定し、信号11が存在しているときには
セツト信号203を出力せずに予定した連続動作
の実行を取りやめる。
FIG. 2 is a block diagram of a data processing unit according to an embodiment of the present invention. In FIG. 2, reference numeral 10 is the common bus 40 and 5.
0 are bus 10 and data processing unit 10 respectively.
These are a driver and a receiver element that connect 0 to 0.
20 displays "lock operation in progress" and the control circuit 20
0, and 30 is a bistable circuit that temporarily stores whether or not there is a lock indication on the bus. The control circuit 200 is a bistable circuit 30
It is connected to the input and output sides of the The data processing unit 100 that wishes to carry out the above-mentioned continuous operation will transmit the signal 11 on the bus 10 if it is allocated the right to use the bus.
is received via the receiver element 50, and the clock signal 202 is supplied to the bistable circuit 30 and taken in.
The output 31 of the bistable circuit 30 is determined by the control circuit 200. When signal 11 is not present on the bus, control circuit 200 uses set signal 203 to close bistable circuit 2.
0 and uses driver 40 to connect common bus 1.
Output as 0 above signal 11. In addition, the control circuit 2
00, and when the signal 11 is present, the set signal 203 is not output and execution of the scheduled continuous operation is canceled.

次にこの動作のタイミングの一例を第3図を用
いて説明する。図中のDVLDはバス上の情報転
送のタイミングを表わし、LOCKは前記バス10
上の信号11を表わす。図中1〜nで表示したバ
スサイクルが連続動作を表わし、破線で示した
A1,A2が他のユニツトによるバスサイクルを表
わしている。ここで連続動作を行おうとしている
ユニツトはタイミングT1でLOCK信号の有無を
判定し、1のバスサイクル中のタイミングT2
ロツク信号をセツトする。以後連続動作1〜nを
行い最後のバスサイクルnの出力とともにロツク
信号をリセツトする。以上述べた動作を行うこと
により連続動作を行つている間の他のユニツトに
よる同じような連続動作との競合が避けられる。
Next, an example of the timing of this operation will be explained using FIG. 3. DVLD in the figure represents the timing of information transfer on the bus, and LOCK represents the timing of information transfer on the bus 10.
represents signal 11 above. The bus cycles indicated by 1 to n in the figure represent continuous operation, and are indicated by broken lines.
A 1 and A 2 represent bus cycles by other units. Here, the unit that is about to perform continuous operation determines the presence or absence of the LOCK signal at timing T1 , and sets the lock signal at timing T2 during one bus cycle. Thereafter, continuous operations 1 to n are performed, and the lock signal is reset with the output of the last bus cycle n. By performing the above-described operations, competition with similar continuous operations by other units during continuous operations can be avoided.

〔発明の効果〕〔Effect of the invention〕

本発明は、共通バス上に各処理ユニツトからロ
ツク表示を行うことにより、連続動作の競合によ
る不都合を解決しながら、各処理ユニツトはロツ
ク動作を伴わないメモリのリード・ライト動作が
妨げられず、また、他のバスに接続されているユ
ニツトの動作が可能であつて、不必要にバスが占
有されることはない効果を得ることができる。
The present invention provides a lock indication from each processing unit on a common bus, thereby solving the inconvenience caused by competition between successive operations, while allowing each processing unit to perform memory read/write operations that do not involve locking operations without being hindered. In addition, it is possible to operate units connected to other buses, and it is possible to obtain the effect that the bus is not unnecessarily occupied.

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

第1図は複数のデータ処理ユニツトを含む基本
的情報処理装置のブロツク構成図。第2図は本発
明の実施例データ処理ユニツトのブロツク構成
図。第3図は本発明の実施例のバスサイクルのタ
イミング図。 10……共通バス、20,30……双安定回
路、40……バスドライバ、50……バスレシー
バ素子、100,101……データ処理ユニツ
ト、110,111……入出力制御ユニツト、1
20……主記憶、200……制御回路。
FIG. 1 is a block diagram of a basic information processing device including a plurality of data processing units. FIG. 2 is a block diagram of a data processing unit according to an embodiment of the present invention. FIG. 3 is a timing diagram of a bus cycle according to an embodiment of the present invention. 10... Common bus, 20, 30... Bistable circuit, 40... Bus driver, 50... Bus receiver element, 100, 101... Data processing unit, 110, 111... Input/output control unit, 1
20...main memory, 200...control circuit.

Claims (1)

【特許請求の範囲】 1 複数の情報処理ユニツトを結合し、その中の
任意の2つのユニツト間で情報の転送を行う共通
バスを備えたデータ処理装置において、 上記各情報処理ユニツトに、 互いに他のユニツトに対するいくつかのバスサ
イクルに分割された一連の動作を行つていること
を上記共通バス上に表示する手段と、 前記動作の終了までこの表示を保持する手段と を備えた ことを特徴とするデータ処理装置。
[Scope of Claims] 1. In a data processing device that connects a plurality of information processing units and is equipped with a common bus that transfers information between any two of the units, each of the information processing units has The device is characterized by comprising means for displaying on the common bus that a series of operations divided into several bus cycles are being performed for the unit, and means for holding this display until the end of the operation. data processing equipment.
JP7108683A 1983-04-22 1983-04-22 Data processing device Granted JPS59195728A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7108683A JPS59195728A (en) 1983-04-22 1983-04-22 Data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7108683A JPS59195728A (en) 1983-04-22 1983-04-22 Data processing device

Publications (2)

Publication Number Publication Date
JPS59195728A JPS59195728A (en) 1984-11-06
JPS6367702B2 true JPS6367702B2 (en) 1988-12-27

Family

ID=13450362

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7108683A Granted JPS59195728A (en) 1983-04-22 1983-04-22 Data processing device

Country Status (1)

Country Link
JP (1) JPS59195728A (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61198355A (en) * 1985-02-28 1986-09-02 Toshiba Corp Multi-processor system
JPH04310165A (en) * 1991-04-09 1992-11-02 Nec Corp Bus lock control mechanism
JPH06314232A (en) * 1993-05-06 1994-11-08 Mitsubishi Electric Corp Memory switching control circuit
US6107637A (en) 1997-08-11 2000-08-22 Hitachi, Ltd. Electron beam exposure or system inspection or measurement apparatus and its method and height detection apparatus

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4941044A (en) * 1972-08-26 1974-04-17

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4941044A (en) * 1972-08-26 1974-04-17

Also Published As

Publication number Publication date
JPS59195728A (en) 1984-11-06

Similar Documents

Publication Publication Date Title
US20040107265A1 (en) Shared memory data transfer apparatus
JPH02109153A (en) Inter-processor data transmission system
JPH03189843A (en) System and method for processing data
JPS6367702B2 (en)
JPS60201453A (en) Memory access controlling system
US6295477B1 (en) Bus coupler between a system bus and a local bus in a multiple processor data processing system
JP2699482B2 (en) Data transfer control device
JPS6217879Y2 (en)
JPH05120207A (en) Data transfer system
JPS6211753B2 (en)
JP2821176B2 (en) Information processing device
JP2884943B2 (en) Address arbitration circuit
JPH0329021A (en) Printer server
JP2883091B2 (en) Multiprocessor system
JPH0652516B2 (en) Bus interface device
JPH0113570B2 (en)
JPS6068461A (en) Memory multiplex access device
JPS63259746A (en) Inter-bank-memory data transmission system
JPH0572619B2 (en)
JPS63288351A (en) Write/read-out circuit for memory block
JPS61120262A (en) Inter-memory intelligent dma controller
JPS6019023B2 (en) data processing equipment
JPS61262870A (en) Bus controlling system
EP0369935A2 (en) Multiple posting cache memory
JPS5831437A (en) Data receiver