JPS62232065A - Synchronization system for plural processors - Google Patents

Synchronization system for plural processors

Info

Publication number
JPS62232065A
JPS62232065A JP7588786A JP7588786A JPS62232065A JP S62232065 A JPS62232065 A JP S62232065A JP 7588786 A JP7588786 A JP 7588786A JP 7588786 A JP7588786 A JP 7588786A JP S62232065 A JPS62232065 A JP S62232065A
Authority
JP
Japan
Prior art keywords
group
processor
line
level
processing devices
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.)
Pending
Application number
JP7588786A
Other languages
Japanese (ja)
Inventor
Yoshihiro Yamada
由弘 山田
Yutaka Asai
豊 浅井
Norito Nishitani
憲人 西谷
Mikio Hosokawa
細川 幹夫
Tsukasa Kaminomon
司 神之門
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP7588786A priority Critical patent/JPS62232065A/en
Publication of JPS62232065A publication Critical patent/JPS62232065A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PURPOSE:To easily synchronize plural processors by constituting the title system so that the operation of one processor group is started only at the time when the synchronization control signals from the processors in another group come in the same level. CONSTITUTION:The flags 2b, 2c, ..., 2n of subprocessors 1b, ..., 1n are connected to the common line 3 via open collector type buffers 7b, 7c, ..., 7n. The line 3 is connected to the flag 2a of a master processor 1a. Accordingly, if the output of either one of the flags 2b-2n is in level 'L', the line 3 is made also in the level 'L' via the buffer 7, and the flag 2a of the master processor 1a is set in 'L'. Also, if all the outputs of the flags 2b-2n of the subprocessors 1b-1n come in level 'H', the line 3 comes in also in level 'H', and 'H' is set in the flag 2a of the master processor 1a.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、複数のマイクロプロセッサなどの処理vc′
11を並行して用いるシステムにおいて、各処理装rI
IIillの同期をイ〒なう方式に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention is directed to processing vc′ of a plurality of microprocessors, etc.
11 in parallel, each processing device rI
This invention relates to a method for enabling synchronization of IIll.

従来技術 一般に情報処理システムにおいて、たとえば複数の印刷
配線基板毎にマイクロプロセッサを装備している場合、
実行されるべきプログラムなどによっては、各マイクロ
プロセッサ間の同期を取る必要がある。従来の情報処理
システムでは、二のような複数のマイクロプロセッサ間
の同期は、入力/出力ラインを用いて行なっていrこ、
したがってたとえばl個のマイクロプロセッサを用いた
システムにおいてこれらの同期を取ろうとする場合、各
プロセッサ毎に残余のn−1個のプロセッサの同期制御
13号が入力されるビット、すなわちビンを準備せねば
ならず、このようなマイクロプロセッサの機能を大きく
制限してしまうとともに、これらの各マイクロプロセッ
サのn−1個のビンを相互に接続する配線に多大な労力
を要していた。
Prior Art Generally, in an information processing system, for example, when a plurality of printed circuit boards are each equipped with a microprocessor,
Depending on the program to be executed, it is necessary to synchronize each microprocessor. In conventional information processing systems, synchronization between multiple microprocessors is accomplished using input/output lines.
Therefore, for example, when attempting to synchronize these in a system using l microprocessors, it is necessary to prepare bits, or bins, into which the synchronization control number 13 of the remaining n-1 processors is input for each processor. However, the functions of such microprocessors are greatly restricted, and a great deal of effort is required for interconnecting the n-1 bins of each of these microprocessors.

また所定の個数のマイクロプロセッサを用いたシステム
においで、マイクロプロセッサの個数を増大してシステ
ムを拡張しようとする場合、各マイクロプロセッサに前
記同期制御用のビンを新たに割付ける必要が生じ、した
がってシステムの拡張が不可能となっていた。
Furthermore, in a system using a predetermined number of microprocessors, when attempting to expand the system by increasing the number of microprocessors, it becomes necessary to newly allocate the bin for synchronization control to each microprocessor. It was impossible to expand the system.

発明が角イ決しようとする問題点 本発明の目的は、上述の問題点を解決し、任意の個数の
処理装置の同期制御を簡便な構成で実現できるとともに
、処理装置を追加して行なうシステムの拡張を容易に実
現できる複数の処理装置の同期方式を提供することであ
る。
Problems to be Solved by the Invention It is an object of the present invention to solve the above-mentioned problems and to provide a system that can realize synchronous control of an arbitrary number of processing devices with a simple configuration, and that can be performed by adding processing devices. An object of the present invention is to provide a synchronization method for a plurality of processing devices that can easily realize expansion.

問題点を解決するための手段 本発明は、複数の処理装置の一方群には、同期制御M号
発生部がそれぞれ備えられ、 処理装置の他方群には同期制御信号が共通に与えられる
受信部がそれぞれ備えられ、 前記処J!l!v装置の他方群は前記−刃群の処理装置
からの同期制御信号がそれぞれ同一レベルのとき動作態
様を切換えるようにしたことを特徴とする複数の処理装
置の同期方式である。
Means for Solving the Problems The present invention provides that one group of a plurality of processing devices is each provided with a synchronous control M signal generation section, and the other group of processing devices is provided with a receiving section to which a synchronous control signal is commonly applied. are provided respectively, and the above J! l! The other group of V devices is a synchronization method for a plurality of processing devices, characterized in that the operation mode is switched when the synchronization control signals from the processing devices of the -blade group are at the same level.

作  用 本発明に従えば、複数の処理装置は一方群と他方群とに
区分され、−刃群には同期制御信号発生部がそれぞれ備
えられ、他方群には同期制御信号が共通に与えられる受
信部がそれぞれ備えC)れる。
According to the present invention, the plurality of processing devices are divided into one group and the other group, - the blade groups are each provided with a synchronous control signal generator, and the other group is commonly given a synchronous control signal. A receiving section is provided, respectively.C).

また前記処理装置の他方群は、前記−刃群の処理装置か
らの同期制御信号がそれぞれ同一レベルのとき動作態様
を切換えるようにした。
Further, the other group of processing devices switches the operation mode when the synchronization control signals from the processing devices of the second group are at the same level.

したがって前記−刃群と他方群との接続は、−刃群の同
期制御信号が共通に与えられるラインを、前記処理装置
の他方群に共通に接続すればよく、したがって前記−刃
群の処r!、装置の個数を増加する場合、加わる処理装
置の同期制御信号発生部をi「記ラインに接続すれば足
り、したがってこのような処理装置の同期を簡便な構成
で実現することができる。また処理装置を追加する場合
であっても、容易にこれを実現することができる。
Therefore, to connect the blade group and the other group, it is sufficient to connect the line to which the synchronization control signal of the blade group is commonly given to the other group of the processing device, and therefore the blade group's processing r. ! , when increasing the number of devices, it is sufficient to connect the synchronization control signal generating section of the processing device to be added to the i line. Therefore, synchronization of such processing devices can be realized with a simple configuration. Even when adding devices, this can be easily achieved.

実施例 Pt51図は本発明の一実施例の基本的構成を示すブロ
ック図であり、ttS2図は本発明の一実施例の構成を
示すブロック図である。151図お上びPt42図を参
照して、本実施例の構成について説明rる。
Embodiment Figure Pt51 is a block diagram showing the basic configuration of an embodiment of the present invention, and Figure ttS2 is a block diagram showing the configuration of an embodiment of the present invention. The configuration of this embodiment will be explained with reference to Figure 151 and Figure Pt42.

本実施例では処理装置であるマイクロプロセッサ1a、
IL+、lc、・・・+inが用いられる1本実施例で
はマイクロプロセッサ1aをマスクプロセッサと称し、
残余のマイクロプロセッサ11+〜i nをサブプロセ
ッサと称する。すなわち本実施例においては、各サブプ
ロセッサlb〜i nからの後述される同期側all信
号が同一レベルになったとき、初めてマスクプロセッサ
1aの動作状態を切換えるようにする。
In this embodiment, a microprocessor 1a, which is a processing device,
In this embodiment, the microprocessor 1a in which IL+, lc, . . . +in is used is called a mask processor,
The remaining microprocessors 11+ to in are referred to as subprocessors. That is, in this embodiment, the operating state of the mask processor 1a is switched for the first time when the synchronization side all signals, which will be described later, from each sub-processor lb-in become at the same level.

各マイクロプロセッサ1a〜111には、各マイクロプ
ロセッサ1a〜1nが動作可能状態、すなわちRead
y状態であるかどうかを示すフラグ2 a、 2 b。
Each of the microprocessors 1a to 111 is in an operable state, that is, Read.
Flags 2a, 2b indicating whether the state is y.

・・・がそれぞれ設けられる。この7ラグ2は各マイク
ロプロセッサ1がReady状態となったとき、たとえ
ば「tlJがセットされ、Reudya態でないとさr
LJがセットされる。このフラグ2 a+’2 bl・
・・はそれぞれ共通にライン3に接続され、マスクプロ
セッサ1aに関してはライン3からフラグ2mに入力の
みが行なわれ、残余のサブプロセッサ11+、・・・に
関してはライン3に出力のみが行なわれる。このような
7ラグ2は、後述されるようにいわゆる一1red−O
R接続されている。
... are provided respectively. When each microprocessor 1 enters the Ready state, this 7 lag 2 indicates that, for example, "tlJ is set and it is not in the Ready state."
LJ is set. This flag 2 a+'2 bl・
. . are connected in common to line 3, and for mask processor 1a, only input is made from line 3 to flag 2m, and for the remaining sub-processors 11+, . . . only output is made to line 3. Such a 7lug 2 is a so-called 11red-O as described later.
R is connected.

また各マイクロプロセッサ1にはそれぞれの動作状態、
すなわち動作停止状!!!!または各種の処理が進行中
である状態などを表す情報が書込まれるスティタスレジ
スタ4 m、 4 b、・・・が設けられ、これらはバ
ス5と入力/出力自在に接続される。まrこ前記ライン
3にはプルアップ抵抗6が接続され基準電圧Vccが接
続される。
In addition, each microprocessor 1 has its own operating state,
In other words, a suspension of operation! ! ! ! Further, status registers 4m, 4b, . . . are provided in which information representing the status of various types of processing in progress is written, and these registers are connected to the bus 5 in a freely input/output manner. A pull-up resistor 6 is connected to the line 3, and a reference voltage Vcc is connected thereto.

第3図は1肖述したライン3のwired−OR接続の
原理を示す図である。第1図および第3図を参照して、
前記wired−OR接続について説明する。
FIG. 3 is a diagram illustrating the principle of wired-OR connection of line 3 described in Section 1. With reference to FIGS. 1 and 3,
The wired-OR connection will be explained.

サブプロセッサlb、・・・、Illの7ラグ2 b、
 2 c、・・・。
7 lags of subprocessors lb,..., Ill 2 b,
2 c...

211は、それぞれオープンコレクタ形のバッフT7 
b、 7 c、・・・、70を介して、共通にライン3
に接続され、またこのライン3はマスクプロセッサ 1
aの7ラグ2aに接続される。したがって各7ラグ2b
〜20カ・らの出力のうち1つでもrLJであると、こ
れに対応するバッファ7を介してライン3は「L」レベ
ルとなり、したがってマスクプロセッサ1aの7ラグ2
uはrLJにセットサれる。一方、サブプロセッサ11
I〜111の7ラグ2b〜211が全て「■(」を出力
するとライン3も「■I」状態となり、マスクプロセッ
サ1aの7ラグ2aに「■1」がセットされる。
211 is an open collector type buffer T7.
b, 7 c, . . . , common line 3 via 70
and this line 3 is connected to mask processor 1
It is connected to 7 lug 2a of a. Therefore each 7 lugs 2b
If even one of the outputs of ~20 lags is rLJ, the line 3 becomes "L" level through the corresponding buffer 7, and therefore the 7 lag 2 of the mask processor 1a
u is set to rLJ. On the other hand, sub-processor 11
When all the 7 lags 2b to 211 of I to 111 output "■("), line 3 also enters the "■I" state, and "■1" is set to the 7 lags 2a of the mask processor 1a.

第4図はマスクプロセッサ1aの動作を説明する70−
チャートであり、tiS5図は各サブプロセッサIL+
+・・・の動作を説明するフローチャートである。
FIG. 4 is a block diagram 70- explaining the operation of the mask processor 1a.
The tiS5 diagram shows each subprocessor IL+
It is a flowchart explaining the operation of +....

第1図〜Pt5s図を参照して、本実施例の動作につい
て説明する。第4図および第5図の各ステップo1.I
61において、マスタプロセ・ンサ1aおよびサブプロ
セッサlb、・・・はそれぞれ自分自身を初期化し、各
7フグ2お上びステイタスレノスタ4の内容をクリアす
る。続いて各サブプロセッサlb、・・・はそれぞれ動
作可能状態になったとき、自身の7ラグ2L+、・・・
を「IIJにセットする。
The operation of this embodiment will be explained with reference to FIGS. 1 to 5s. Each step o1 in FIGS. 4 and 5. I
At 61, the master processor 1a and the sub-processors lb, . Subsequently, when each sub-processor lb,... becomes operational, its own 7 lag 2L+,...
"Set to IIJ.

ここで前述したように各サブプロセッサIb、・・・の
7ラグ2b、・・・はそれぞれwired−OR接続さ
れてライン3に接続されているため、ft54図ステッ
プn2におけるフラグ2aが「HJであるがどうかの4
’qIrRは、全?17’Oセッt 1b+・=+1n
ノ7ラク2b、・・・が全てrtlJにセットされたが
どうかのt1断と等価である。
As mentioned above, since the 7 lags 2b, . . . of each sub-processor Ib, . Yes or no 4
'qIrR is total? 17'O set 1b+・=+1n
This is equivalent to the t1 disconnection when all 7 Raku 2b, . . . are set to rtlJ.

したがってm4図ステップn2  において判断が否定
であれば、各サブプロセッサlb、・・・+1nの少な
(とも1つのフラグはf’LJ状悪であり、当該サブプ
ロセンサは動作可能状態となっていない、一方、曲記各
サブプロセッサlb、・・・、inのステイタスレノス
タ4ら、・・・には、各サブプロセッサlb、・・・。
Therefore, if the judgment is negative in step n2 of the m4 diagram, the flag of each subprocessor lb,...+1n is in the f'LJ state, and the subprocessor is not in an operable state. On the other hand, each sub-processor lb,..., in the status reno star 4, etc. of the sub-processor lb,..., in.

111の当訊時点における前述したような動作状態が記
述されている。
The above-mentioned operating state at the time of the inquiry of 111 is described.

前記ステップ112  における判断が冑定となれば処
理はステップn3に移り、マスクプロセッサ1aは自分
自身を動作可能状態とし、ステイタスレノスタ4aにこ
の情報を書込む、このようにしてマスタプロセンサ1a
は、残余の全サブプロセッサlb、・・・が動作可能状
態となっときに初めて動作可能状態となり、このように
してマスタプロセッサ1aは他のサブプロセッサlb、
・・・と同期して、各種動作の開始などを実現すること
ができる。
If the judgment in step 112 is positive, the process moves to step n3, where the mask processor 1a makes itself operational and writes this information to the status recorder 4a.In this way, the master processor 1a
becomes operational only when all remaining sub-processors lb, .
It is possible to start various operations in synchronization with...

また第5図ステップ12  にISいて、各サブプロセ
ッサIb、・・・はマスタプロセッサ1aのステイタス
レノスタ4aの内容を読取り、その内容に対応して各種
処理などの開始を行なう。
Further, in step 12 of FIG. 5, each sub-processor Ib, . . . reads the contents of the status recorder 4a of the master processor 1a, and starts various processes in accordance with the contents.

一方、第1図および?tS2図を参照して説明したサブ
プロセッサを増設する場合であっても、付加するサブプ
ロセッサ内に設けられた前記7ラグ2およびステイタス
レノスタ4を、それぞれライン3およびバス5に接続す
れば拡張が実現され、システムの拡張が容易となる。
On the other hand, Fig. 1 and ? Even when adding a sub-processor as explained with reference to the tS2 diagram, expansion can be achieved by connecting the 7 lugs 2 and status reno star 4 provided in the added sub-processor to line 3 and bus 5, respectively. is realized, making it easy to expand the system.

効  果 以上のように本発明に従えば、複数の処理装置の一方群
には同期制御信号発生部がそれぞれ設けられ、他方群に
は同wi制rnJ信号が共通に与えられる受信部がそれ
ぞれ備えられるようにした。*た+if記各処理装置の
他方群は一方群の処理装置からの同期制8信号がそれぞ
れ同一レベルのとき、動作態様を切換えるようにした。
Effects As described above, according to the present invention, one group of a plurality of processing devices is each provided with a synchronous control signal generating section, and the other group is each provided with a receiving section to which the same Wi-control rnJ signal is commonly given. I made it possible to do so. *If Note: The other group of each processing device switches its operation mode when the eight synchronized signals from the processing device of one group are at the same level.

したがって前記−刃群の処理装置の動作開始は、他方群
の処J!I!装置からの同期制御信号がそれぞれ同一レ
ベルになったときにのみ初めて実行され、このようにし
て複数の処理装置の同期を容易に実現することができる
Therefore, the operation of the processing device of the blade group starts at the location of the other group J! I! It is executed only when the synchronization control signals from the devices are each at the same level, and in this way synchronization of a plurality of processing devices can be easily realized.

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

Pt51図は本発明の基本的構成を示すブロック図、第
2図は本発明の一実施例のブロック図、fjS3図はフ
ラグ2m−2nのwired−OR接続の原理を説明す
るブロック図、第4図はマスタプロセッサ1aの動作を
説明する70−チャート、第5図はサブプロセッサ1b
、・・・の動作を説明する7a−チャートである。 1a・・・マスクプロセッサ、lb、・・・、10・・
・サブプロセッサ、2・・・フラグ、3・・・ライン、
4・・・ステイタスレノスタ、5・・・バス
Fig. Pt51 is a block diagram showing the basic configuration of the present invention, Fig. 2 is a block diagram of an embodiment of the present invention, Fig. fjS3 is a block diagram explaining the principle of wired-OR connection of flags 2m-2n, Fig. 4 The figure is a 70-chart explaining the operation of the master processor 1a, and FIG. 5 is a sub-processor 1b.
7a-chart explaining the operation of , . 1a...mask processor, lb,..., 10...
・Subprocessor, 2...Flag, 3...Line,
4...Status Renosta, 5...Bus

Claims (1)

【特許請求の範囲】 複数の処理装置の一方群には、同期制御信号発生部がそ
れぞれ備えられ、 処理装置の他方群には同期制御信号が共通に与えられる
受信部がそれぞれ備えられ、 前記処理装置の他方群は前記一方群の処理装置からの同
期制御信号がそれぞれ同一レベルのとき動作態様を切換
えるようにしたことを特徴とする複数の処理装置の同期
方式。
[Scope of Claims] One group of the plurality of processing devices is each provided with a synchronous control signal generating section, the other group of processing devices is each provided with a receiving section to which the synchronous control signal is commonly given, and the processing A method for synchronizing a plurality of processing devices, characterized in that the other group of devices switches the operation mode when the synchronization control signals from the processing devices of the first group are at the same level.
JP7588786A 1986-04-02 1986-04-02 Synchronization system for plural processors Pending JPS62232065A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7588786A JPS62232065A (en) 1986-04-02 1986-04-02 Synchronization system for plural processors

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7588786A JPS62232065A (en) 1986-04-02 1986-04-02 Synchronization system for plural processors

Publications (1)

Publication Number Publication Date
JPS62232065A true JPS62232065A (en) 1987-10-12

Family

ID=13589255

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7588786A Pending JPS62232065A (en) 1986-04-02 1986-04-02 Synchronization system for plural processors

Country Status (1)

Country Link
JP (1) JPS62232065A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5713565A (en) * 1980-06-27 1982-01-23 Toshiba Corp Synchronizing method of multiprocessor computer system
JPS60263255A (en) * 1984-06-11 1985-12-26 Nippon Telegr & Teleph Corp <Ntt> Processor synchronizing system
JPS6146552A (en) * 1984-08-10 1986-03-06 Nec Corp Information processor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5713565A (en) * 1980-06-27 1982-01-23 Toshiba Corp Synchronizing method of multiprocessor computer system
JPS60263255A (en) * 1984-06-11 1985-12-26 Nippon Telegr & Teleph Corp <Ntt> Processor synchronizing system
JPS6146552A (en) * 1984-08-10 1986-03-06 Nec Corp Information processor

Similar Documents

Publication Publication Date Title
JP3565600B2 (en) Data communication device and data communication method
JPS63303454A (en) Bus extension control system
JPH0578849B2 (en)
JPS62232065A (en) Synchronization system for plural processors
JPS62168415A (en) Inter-latch transmission system
JP2000155701A (en) Debugging circuit
CN216697244U (en) FIFO circuit and data processing system
JPS622348B2 (en)
JP3399776B2 (en) Computer and method for transferring peripheral device control data in computer
JPH01106251A (en) Data transfer control system
JP2954019B2 (en) Logic simulation method
SU769523A1 (en) Device for interfacing homogeneous computing system
RU1807495C (en) Process-to-process interface
JPH02307151A (en) Processor system
JPH01303561A (en) Inter-processor synchronizing device
KR100263670B1 (en) A dma controller
JPH0671253B2 (en) Synchronous data transfer method
JPS6095678A (en) Multi-processor system
JPS6279519A (en) General-use register reading method
JPH02201515A (en) Initial data reset control circuit
KR19980026230A (en) Connection Control Logic of Utopia Synchronizer and Non-Utopia Asynchronous Element in ATM
JPH01204169A (en) Bus transfer control system
JPS63237157A (en) Data processing system
JPH035863A (en) Digital system
JPS6310838A (en) Synchronizing system for data transfer system including asynchronous system