[go: up one dir, main page]

JPS6029141B2 - coupling device - Google Patents

coupling device

Info

Publication number
JPS6029141B2
JPS6029141B2 JP9171977A JP9171977A JPS6029141B2 JP S6029141 B2 JPS6029141 B2 JP S6029141B2 JP 9171977 A JP9171977 A JP 9171977A JP 9171977 A JP9171977 A JP 9171977A JP S6029141 B2 JPS6029141 B2 JP S6029141B2
Authority
JP
Japan
Prior art keywords
access
circuit
bus
information
read
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
JP9171977A
Other languages
Japanese (ja)
Other versions
JPS5425648A (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.)
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 JP9171977A priority Critical patent/JPS6029141B2/en
Publication of JPS5425648A publication Critical patent/JPS5425648A/en
Publication of JPS6029141B2 publication Critical patent/JPS6029141B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Description

【発明の詳細な説明】 本発明は2つの共通母線を結合する装置に関する。[Detailed description of the invention] The present invention relates to a device for coupling two common busbars.

近年複数のプロセッサを結合して協力して仕事を行なう
いわゆるマルチプロセッサシステムが注目されている。
2. Description of the Related Art In recent years, so-called multiprocessor systems, in which a plurality of processors are combined and work cooperatively, have been attracting attention.

マルチプロセッサシステムにおいて有力となっている一
つの方式は、複数のプロセッサが互いのメモリ1/0装
置を自由にアクセス可能とするために、それぞれの母線
を直接結合するものである。複数の母線を結合する場合
困難な問題が発生する。すなわち、それぞれ独立したプ
ロセッサが動作しているので、一方のプロセッサが他方
のプロセッサの母線を使用する場合、母線使用の競合が
発生する。この様な場合、一般的に行なわれる方法とし
ては、一方の母線から受けたアクセス要求を受けて他方
の母線に接続されているプロセッサへ使用要求を出し承
認を受けてから母線へのアクセスを行なう方式がとられ
る。しかし、もし要求を受けたプロセッサ側が何らかの
原因で要求を受け付けないか、あるいは、実装されてい
ないメモリ等をアクセスして、応答が得られない様な時
は、要求を出した側のプロセッサは永久に持ち続けるか
、あるいは母線を占有し、相手側のプロセッサをも動作
不能にしてしまう危険があった。従来行なわれた方法は
各所にタイマ回路を用意し動作不能状態が一定時間持続
されると、母線を強制的に開放する様にして危険に対応
している。しかし、この様なタイマ回路による方式では
一度タイムアウトで母線が開放されると、それまでアク
セスを行なっていた装置は、途中で停止されてしまうの
で、アクセス中の制御シークェンスがみだされ、アクセ
ス情報が失なわれる欠点があった。本発の目的は、2つ
の独立して動作する母線を結合し、一方の母線からのア
クセスを受け、他方の母線ヘアクセスを行なう装置にお
いて、アクセスを行なっているプロセッサがアクセス途
中でアクセスを中止しても、アクセス情報を保持し、他
方の母線へのアクセスを続行し、アクセスの状態,情報
をアクセスを行なっていたプロセッサへ知らせる手段を
有する結合装置を提供することにある。本発明の結合装
置によれば、プロセッサが別の母線ヘアクセスを行なっ
て何らかの原因によって動作不能になってもその時のア
クセス状態が保持されているので適当な処理プログラム
によりアクセス状態を回復することが出来るため、容易
にマルチプロセッサシステム実現を可能とした。
One method that has become popular in multiprocessor systems is to directly connect the respective bus lines so that a plurality of processors can freely access each other's memory 1/0 devices. Difficult problems arise when combining multiple busbars. That is, since each processor is operating independently, when one processor uses the bus of the other processor, a conflict in the use of the bus occurs. In such cases, the common method is to receive an access request from one bus, issue a usage request to the processor connected to the other bus, receive approval, and then access the bus. A method is adopted. However, if the processor that received the request does not accept the request for some reason, or accesses unimplemented memory etc. and does not receive a response, the processor that issued the request will be permanently suspended. Otherwise, there was a risk that it would occupy the bus line and render the other party's processor inoperable. The conventional method deals with danger by providing timer circuits at various locations and forcibly opening the bus bar when the inoperable state continues for a certain period of time. However, in this type of timer circuit system, once the bus is released due to a timeout, the device that was accessing up to that point will be stopped midway, so the control sequence being accessed will be read, and the access information will be lost. There was a drawback that the information was lost. The purpose of this invention is to connect two independently operating bus lines, and in a device that receives access from one bus line and accesses the other bus line, the processor performing the access stops the access midway through the access. An object of the present invention is to provide a coupling device having a means for retaining access information, continuing access to the other bus line, and notifying the access state and information to the accessing processor. According to the coupling device of the present invention, even if the processor accesses another bus and becomes inoperable for some reason, the access state at that time is maintained, so the access state can be restored by an appropriate processing program. This made it possible to easily realize a multiprocessor system.

以下に本発明を実施例を用いて詳細に説明する。第1図
は本発明の一実施例の構成を示すプロセッサ図で、1,
2は母線1,2であり、3は状態制御回路であり、4は
アクセス応答回路であり、5はマスタアクセス回路であ
り、6はアクセス保持伝達回路である。
The present invention will be explained in detail below using examples. FIG. 1 is a processor diagram showing the configuration of an embodiment of the present invention.
2 is the bus lines 1 and 2, 3 is a state control circuit, 4 is an access response circuit, 5 is a master access circuit, and 6 is an access hold transfer circuit.

母線1において特定のアドレス範囲がアクセスされると
アクセス応答回路4によ検出されリード判定214ある
いはライト判定224を出し保留状態となる。マスタア
クセス回路5はリード判定214あるいはライト判定2
24を入力すると母線2ヘアクセス16を行ないアクセ
スが開始されるとスタート信号303を出しアクセスが
終了すると終了信号205を出しアクセス応答回路4の
保留状態を解除する。アクセス保持伝達回路6はライト
判定224あるいはリード判定214が出されると母線
1のアクセス情報を保持しアクセス16が行なわれスタ
ート信号303が出されると保持された情報を母線2へ
出力する、もしリードアクセス判定214の時はアクセ
ス終了205がくると母線2のアクセス情報を保持し母
線1へ保持されて情報を伝達する。状態制御回路3は、
母線1に接続され、母線1であらかじめさだめた状態制
御要求が出されたことを検出し、アクセス保持伝達回路
6へ制御指令線群14により指令し、アクセス保持伝達
回路6のデータ,アドレス等の情報を提示あるいは変更
及び状態変更指令RIによりマスタアクセス回路5の状
態変更を行なう。第2図は、アクセス応答回路4の1つ
の構成例を示すためのブロック図であり、21は、アド
レス比較回路、22はアドレス設定回路、23はアクセ
ス応答順序回路である。
When a specific address range is accessed on the bus 1, it is detected by the access response circuit 4, a read determination 214 or a write determination 224 is issued, and a pending state is entered. The master access circuit 5 makes read judgment 214 or write judgment 2
When 24 is input, access 16 is made to the bus 2, and when the access is started, a start signal 303 is issued, and when the access is completed, an end signal 205 is issued and the pending state of the access response circuit 4 is released. The access holding transmission circuit 6 holds the access information of the bus 1 when the write judgment 224 or the read judgment 214 is issued, and outputs the held information to the bus 2 when the access 16 is performed and the start signal 303 is issued. At the time of access determination 214, when the access end 205 comes, the access information of bus 2 is held, and the information is transmitted to bus 1 while being held. The state control circuit 3 is
It is connected to the bus 1, detects that a preset state control request has been issued on the bus 1, issues a command to the access retention transmission circuit 6 via the control command line group 14, and updates data, addresses, etc. of the access retention transmission circuit 6. The state of the master access circuit 5 is changed by presenting or changing information and a state change command RI. FIG. 2 is a block diagram showing one example of the structure of the access response circuit 4, in which 21 is an address comparison circuit, 22 is an address setting circuit, and 23 is an access response sequential circuit.

アドレス比較回路21は、母線1とアドレス設定回路2
2よりの設定値201が一致した時、一致出力202を
、アクセス応答順序回路23へ知らせる。アクセス応答
順序回路は、・・・母線1のIJード信号207により
リードあるいはライトアクセスを判定しリード判定21
4あるいはライト判定224を出力し保留状態となり保
留信号203を母線1に出力する。マスタアクセス回路
5より終了信号205を得て保留信号203を解除する
。第3図は、マスタアクセス回路5の1つの構成例を示
すためのブロック図であり、マスタアクセス回路5は1
つの順序回路で構成される。
The address comparison circuit 21 is connected to the bus 1 and the address setting circuit 2.
When the set values 201 from 2 match, a match output 202 is notified to the access response sequential circuit 23. The access response sequential circuit determines read or write access based on the IJ code signal 207 of the bus 1, and makes a read determination 21.
4 or a write judgment 224 is output, the state is put into a hold state, and a hold signal 203 is output to the bus 1. An end signal 205 is obtained from the master access circuit 5 and the hold signal 203 is released. FIG. 3 is a block diagram showing one example of the configuration of the master access circuit 5.
It consists of two sequential circuits.

回路5は1つの順序回路51で構成される。リード判定
214あるいはライト判定224を入力すると母線2ヘ
アクセス16を行なう、アクセス16は次のようにして
行なわれる。母線2に含まれるリクエスト線301より
母線使用要求を出す。母線2より母線使用承認信号30
2を受けるとスタート信号303を出力し、アクセスを
開始する。母線2より終了信号304を受けると終了信
号205をアクセス応答回路4とアクセス保持伝達回路
6へ知らせる。もし状態制御回路3が制御指令線群14
の状態変更RIを出力すると、マスタアクセス回路5は
強制的に終了信号205を出し初期状態にもどる。
The circuit 5 is composed of one sequential circuit 51. When read determination 214 or write determination 224 is input, access 16 is performed to bus 2. Access 16 is performed as follows. A request line 301 included in the bus line 2 issues a request to use the bus line. Bus bar use approval signal 30 from bus bar 2
2, it outputs a start signal 303 and starts accessing. Upon receiving the end signal 304 from the bus 2, the end signal 205 is sent to the access response circuit 4 and the access hold transmission circuit 6. If the state control circuit 3 is the control command line group 14
When the state change RI is output, the master access circuit 5 forcibly outputs the end signal 205 and returns to the initial state.

第4図は、状態制御回路3の1つの構成例を示すための
ブロック図であり、41はアドレス比較回路、42はア
ドレス設定回路、43はデコード回路である。
FIG. 4 is a block diagram showing one example of the configuration of the state control circuit 3, in which 41 is an address comparison circuit, 42 is an address setting circuit, and 43 is a decoding circuit.

第4図においてアドレス比較回路41は母線1とアドレ
ス設定回路42とを比較し母線1においてあらかじめさ
だめた状態制御要求があったことを検出し、デコード回
路43へ知らせる。デコード回路43は状態制御要求を
デコードしセット信号S3,S4あるいはィネーブル信
号E3,E4,E5を発生し前述のアクセス・・・保持
伝達回路6へ、さらに状態変更指令RIをマスタアクセ
ス回路5へ伝達し、状態の制御を行なう。第5図はアク
セス保持伝達回路6の1つの構成例を示すためのブロッ
ク図であり、51,53は保持回路、52,56はオア
回路、58,59はアンド回路、54,55,57,6
川ま出力回路である。第5図において、まずライト判定
224が出力された時の動作は以下のとおりである。ラ
イト判定224はオア回路52、及び56を経由して保
持回路51,53に保持指令となり母線1のアドレス部
502、及びデータ部506の情報が保持される。母線
2へのアクセス16のスタート信号303が出されると
出力回路60がィネーブルされ保持回路51のアドレス
が母線2へ出力される。同時にアンド回路58でライト
判定224とアンドされ出力回路55がイネーブルされ
、保持回路53のデータが母線2へ出力される。次にリ
ード判定214が出力された時は、以下のとおりになる
。まずオア回路56,52を経由して保持回路51,5
3のセット指令が作られ母線1のアドレス・デ−夕がそ
れぞれ保持される。スタート信号303が出されると保
持回路51のアドレス情報が出力回路60を経由して母
線2へ出力される。終了信号205が出されるとアンド
回路59、及びオァ回路56を経由し保持回路53のセ
ット指令が作られ、母線2のデータが保持され母線1へ
出力回路54を経由し出力される。最後に、状態制御回
路3が状態制御アクセスを検出すると、以下の5つの制
御信号が出力される。すなわち、セット信号S3はデー
タ保持回路53へ母線1側からセットする、セット信号
S4はアドレス保持出力回路51へ母線1側からセット
する、ィネーブル信号E3,E4はそれぞれデータ選択
出力回路54よりデータ保持回路53の内容,アドレス
保持出力回路51の内容を母線1側へ出力する、ィネー
ブル信号E5は状態出力回路57よりマスタアクセス回
路5から来た終了信号205を母線1側へ出力する。以
上、実施例を下に詳しく説明したとうり、本発明は、複
数のプロセッサが互いの母線を結合して処理を行なうシ
ステムにおいて、一つのプロセッサが他のプロセッサの
母線をアクセスする場合、そのアクセスを検出し応答す
る機能とそのアクセスを受けて他方の母線でアクセスを
実行する機能と、その時点でのアクセス情報を保持し2
つの母線間でデータを授受する機能と、プロセッサがア
クセスの状態を後で知り更新することが出来るための状
態制御機能を持つ回路から構成され、プロセッサ間で相
互にアクセスを行なう場合のアクセス中断事故等の障害
にも対処可能な結合装置が提供される。
In FIG. 4, the address comparison circuit 41 compares the bus 1 with the address setting circuit 42, detects that there is a predetermined state control request on the bus 1, and notifies the decoding circuit 43. The decode circuit 43 decodes the state control request, generates set signals S3, S4 or enable signals E3, E4, E5, and transmits the aforementioned access...hold transmission circuit 6, and further transmits the state change command RI to the master access circuit 5. and control the state. FIG. 5 is a block diagram showing one example of the structure of the access holding transmission circuit 6, in which 51 and 53 are holding circuits, 52 and 56 are OR circuits, 58 and 59 are AND circuits, 54, 55, 57, 6
This is the output circuit. In FIG. 5, the operation when the write determination 224 is first output is as follows. The write determination 224 issues a holding command to the holding circuits 51 and 53 via the OR circuits 52 and 56, and the information in the address section 502 and data section 506 of the bus 1 is held. When the start signal 303 for the access 16 to the bus 2 is issued, the output circuit 60 is enabled and the address of the holding circuit 51 is output to the bus 2. At the same time, the AND circuit 58 performs AND with the write determination 224 to enable the output circuit 55 and output the data in the holding circuit 53 to the bus 2 . The next time the read determination 214 is output, the following will occur. First, the holding circuits 51 and 5 pass through the OR circuits 56 and 52.
3 set commands are generated and the address and data of bus 1 are held respectively. When the start signal 303 is issued, the address information of the holding circuit 51 is outputted to the bus 2 via the output circuit 60. When the end signal 205 is issued, a set command for the holding circuit 53 is generated via the AND circuit 59 and the OR circuit 56, and the data on the bus 2 is held and output to the bus 1 via the output circuit 54. Finally, when the state control circuit 3 detects state control access, the following five control signals are output. That is, the set signal S3 is set to the data holding circuit 53 from the bus 1 side, the set signal S4 is set to the address holding output circuit 51 from the bus 1 side, and the enable signals E3 and E4 are set to the data holding circuit 53 from the data selection output circuit 54. The enable signal E5 outputs the contents of the circuit 53 and the contents of the address holding output circuit 51 to the bus 1 side, and the status output circuit 57 outputs the end signal 205 coming from the master access circuit 5 to the bus 1 side. As described above in detail below, the present invention provides a system in which a plurality of processors connect each other's bus lines to perform processing, and when one processor accesses the bus line of another processor, the access A function to detect and respond to the access, a function to execute the access on the other bus in response to the access, and a function to retain the access information at that time.
It consists of a circuit that has the function of sending and receiving data between two buses and the state control function that allows the processors to know and update the access state later, and access interruption accidents occur when processors access each other. A coupling device capable of dealing with such failures is provided.

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

第1図は本発明の一実施例の構成を示すブロック図、第
2図は本発明に用いられるアクセス応答回路の1つの構
成例を示すためのブロック図、第3図は本発明に用いら
れるマスタアクセス回路の1つの構成例を示すためのブ
ロック図、第4図は本発明に用いられる状態制御回路の
1つの構成例を示すためのブロック図、第5図は本発明
に用いられるアクセス保持伝達回路の1つの構成例を示
すためのブロック図である。 1,2・・・・・・母線、3・・・・・・状態制御回路
、4・…・・アクセス応答回路、5・・・・・・マスタ
ァクセス回路、6......アクセス保持伝達回路、
21・・…・アドレス比較回路、22・…・・アドレス
設定回路、23・・・・・・アクセス応答順序回路、4
1・・・・・・アドレス比較回路、42・・・・・・ア
ドレス設定回路、43・・・・・・デコード回路、51
,53・・・・・・保持回路、52,56・・・…オア
回路、58,59・・・・・・アンド回路、54,55
,60・・・・・・出力回路、57・・・・・・状態出
力回路である。 豹7図 第2図 発3図 髪4図 菊S図
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, FIG. 2 is a block diagram showing an example of the configuration of an access response circuit used in the present invention, and FIG. 3 is a block diagram showing an example of the configuration of an access response circuit used in the present invention. FIG. 4 is a block diagram showing one example of the configuration of the master access circuit, FIG. 4 is a block diagram showing one example of the configuration of the state control circuit used in the present invention, and FIG. 5 is an access retention circuit used in the present invention. FIG. 2 is a block diagram showing one configuration example of a transfer circuit. 1, 2...Bus line, 3...State control circuit, 4...Access response circuit, 5...Master access circuit, 6. .. .. .. .. .. access retention transmission circuit,
21...address comparison circuit, 22...address setting circuit, 23...access response sequence circuit, 4
1...address comparison circuit, 42...address setting circuit, 43...decoding circuit, 51
, 53... Holding circuit, 52, 56... OR circuit, 58, 59... AND circuit, 54, 55
, 60... Output circuit, 57... Status output circuit. Leopard 7 figure 2 figure 3 hair figure 4 chrysanthemum S figure

Claims (1)

【特許請求の範囲】[Claims] 1 2つの母線を結合する装置であつて前記母線の一方
に対して特定のアドレス範囲がアクセスされたことを検
知しリードあるいはライトアクセスを判定し、保留状態
となり前記保留状態を前記一方の母線に仮えすアクセス
応答回路と、前記アクセス応答回路から前記判定された
リードあるいはライトアクセスによつて起動され他方の
母線へ前記判定されたリードあるいはライトアクセスを
行ないアクセスが終了すると前記アクセス応答回路の前
記保留状態を解除するマスタアクセス回路と、前記2つ
の母線に結合され前記ライトアクセスが判定された時は
前記一方の母線のアクセス情報を保持し前記他方の母線
に前記ライトアクセスが行なわれると前記保持された情
報を出力し又前記リードアクセスが判定された時は前記
一方の母線のアクセス情報を保持し前記他方の母線に前
記リードアクセスが行われると前記保持された情報を出
力し前記リードアクセスが終了すると前記他方の母線の
アクセス情報を保持し前記一方の母線に前記保持されて
アクセス情報を出力することによつてアクセス情報を保
持し受け渡しを行なうアクセス保持伝達回路と、前記第
一の母線からあらかじめ定められて特定のアクセスを検
出し前記マスタアクセス回路と前記アクセス保持伝達回
路の状態を前記一方の母線へ伝達あるいは前記一方の母
線の情報によつて変更を行なう状態制御回路とを有する
ことを特徴とする結合装置。
1 A device that connects two bus lines, detects that a specific address range is accessed to one of the bus lines, determines read or write access, becomes a hold state, and transfers the hold state to the one bus line. a tentative access response circuit, which is activated by the determined read or write access from the access response circuit, performs the determined read or write access to the other bus line, and when the access is completed, the suspension of the access response circuit; a master access circuit that releases the state; and a master access circuit that is coupled to the two busbars to hold the access information of the one busbar when the write access is determined and to hold the access information of the one busbar when the write access is performed to the other busbar. When the read access is determined, the access information of the one bus is held, and when the read access is performed on the other bus, the held information is output and the read access ends. Then, an access holding transmission circuit holds and transfers the access information by holding the access information of the other bus and outputting the held access information to the one bus; and a state control circuit that detects a specified specific access and transmits the states of the master access circuit and the access holding transmission circuit to the one bus line or changes them based on information on the one bus line. A coupling device for
JP9171977A 1977-07-29 1977-07-29 coupling device Expired JPS6029141B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9171977A JPS6029141B2 (en) 1977-07-29 1977-07-29 coupling device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9171977A JPS6029141B2 (en) 1977-07-29 1977-07-29 coupling device

Publications (2)

Publication Number Publication Date
JPS5425648A JPS5425648A (en) 1979-02-26
JPS6029141B2 true JPS6029141B2 (en) 1985-07-09

Family

ID=14034309

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9171977A Expired JPS6029141B2 (en) 1977-07-29 1977-07-29 coupling device

Country Status (1)

Country Link
JP (1) JPS6029141B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9132038B2 (en) 2003-08-12 2015-09-15 180S, Inc. Ear warmer having a curved ear portion

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61136159A (en) * 1984-12-07 1986-06-24 Nec Corp Single chip microcomputer
JPS62150459A (en) * 1985-12-24 1987-07-04 Nec Corp Single chip microcomputer
JPH0343856A (en) * 1989-07-11 1991-02-25 Nec Corp System bus connecting device
JPH0342766A (en) * 1989-07-11 1991-02-22 Nec Corp System bus connection system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9132038B2 (en) 2003-08-12 2015-09-15 180S, Inc. Ear warmer having a curved ear portion

Also Published As

Publication number Publication date
JPS5425648A (en) 1979-02-26

Similar Documents

Publication Publication Date Title
US4975838A (en) Duplex data processing system with programmable bus configuration
US5125081A (en) Inter-configuration changing controller based upon the connection and configuration information among plurality of clusters and the global storage
US4591977A (en) Plurality of processors where access to the common memory requires only a single clock interval
JPH06266680A (en) Interface between bus and connecting method of bus
KR20070035209A (en) Multi-port SDRM Access Control System and Control Method
JPS6029141B2 (en) coupling device
JPH05173985A (en) Programmable controller
CA1252573A (en) Dual bus system
JPH0544238B2 (en)
JPH0340417B2 (en)
JPH0140432B2 (en)
JPS633351B2 (en)
JP2600376B2 (en) Memory controller
JP2522412B2 (en) Communication method between programmable controller and input / output device
JP2906197B2 (en) Duplex bus device
JPS6315626B2 (en)
JP3112280B2 (en) Computer system
JPS6124742B2 (en)
JP2824890B2 (en) SCSI protocol controller
JPH0827761B2 (en) Dual-system simultaneous writing method for dual memory
JP2877188B2 (en) Data communication monitoring system
JPS61234447A (en) Bus acuisition controller
JPS5892052A (en) Resource lock device
JPH09106383A (en) Bus switching device
JPH01133444A (en) System bus controller