Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS636892B2 - - Google Patents
[go: Go Back, main page]

JPS636892B2 - - Google Patents

Info

Publication number
JPS636892B2
JPS636892B2 JP14670482A JP14670482A JPS636892B2 JP S636892 B2 JPS636892 B2 JP S636892B2 JP 14670482 A JP14670482 A JP 14670482A JP 14670482 A JP14670482 A JP 14670482A JP S636892 B2 JPS636892 B2 JP S636892B2
Authority
JP
Japan
Prior art keywords
processor
bus
register
signal line
inter
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
JP14670482A
Other languages
Japanese (ja)
Other versions
JPS5936862A (en
Inventor
Satoru Fukami
Taichi Nakamura
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.)
NTT Inc
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP14670482A priority Critical patent/JPS5936862A/en
Publication of JPS5936862A publication Critical patent/JPS5936862A/en
Publication of JPS636892B2 publication Critical patent/JPS636892B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/36Handling requests for interconnection or transfer for access to common bus or bus system
    • G06F13/362Handling requests for interconnection or transfer for access to common bus or bus system with centralised access control
    • G06F13/364Handling requests for interconnection or transfer for access to common bus or bus system with centralised access control using independent requests or grants, e.g. using separated request and grant lines

Landscapes

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

Description

【発明の詳細な説明】 発明の技術分野 本発明は、単一バス結合マルチプロセツサシス
テムに於けるプロセツサ間通信方式に関するもの
である。
TECHNICAL FIELD OF THE INVENTION The present invention relates to an interprocessor communication scheme in a single bus coupled multiprocessor system.

従来技術と問題点 複数台のプロセツサを単一バスで結合したマル
チプロセツサシステムに於ては、或るプロセツサ
から他のプロセツサに対する通信要求が発生する
と、各プロセツサが共通的にアクセス可能な共通
メモリの予め定められた領域にメツセージ等を送
信側プロセツサから書込み、その後受信側プロセ
ツサ内のレジスタに対してバス経由で送信側プロ
セツサから特定のデータを書込み、それにより受
信側プロセツサに割込みを発生させ、その受信側
プロセツサは通信要求の割込みを識別することに
より共通メモリに書込まれたメツセージ等を読取
り、その読取りの処理の終了により通信が完了す
るものであつた。
Prior Art and Problems In a multiprocessor system in which multiple processors are connected via a single bus, when a communication request occurs from one processor to another, a common memory that can be commonly accessed by each processor is created. The sending processor writes a message or the like to a predetermined area of the receiving processor, and then writes specific data from the sending processor to a register in the receiving processor via the bus, thereby generating an interrupt in the receiving processor. The receiving processor reads the message written in the common memory by identifying the interruption of the communication request, and the communication is completed when the reading process is completed.

このような従来のマルチプロセツサシステムに
於けるプロセツサ間通信に於て、割込みを受付け
た受信側プロセツサが、通信要求を行つた送信側
プロセツサを識別する必要がある場合、送信側プ
ロセツサで実行するプログラムが何らかに手段に
より受信側プロセツサに対して識別に必要な情報
を転送するものであつた。しかし、この従来の方
式に於ては、プログラムの負担が大きくなると共
に、プログラムバグにより誤つた識別情報を受信
側プロセツサに与える可能性がある欠点があつ
た。
In inter-processor communication in such conventional multiprocessor systems, if the receiving processor that has accepted an interrupt needs to identify the transmitting processor that has made the communication request, the transmitting processor must identify the transmitting processor. The program used some means to transfer information necessary for identification to the receiving processor. However, this conventional method has the disadvantage that it increases the burden on the program and that incorrect identification information may be given to the receiving processor due to a program bug.

発明の目的 本発明は、通信要求元のプロセツサの識別をバ
ス使用許可信号線を利用して簡単且つ誤りなく行
うことができるようにすることを目的とするもの
である。以下実施例について詳細に説明する。
OBJECTS OF THE INVENTION It is an object of the present invention to make it possible to easily and error-freely identify a processor that is a communication request source using a bus use permission signal line. Examples will be described in detail below.

発明の実施例 図は本発明の実施例の要部ブロツク図であり、
1,2はプロセツサ、3は各プロセツサを結合す
るバス、4はバスアービタ、5はプロセツサ対応
の信号線からなるバス使用許可信号線群、10,
20は内部バス、11,21は内部バス、10,
20とバス3との間のデータの送受信を行うバス
ドライバ/レシーバ、12,22はプロセツサ間
通信用のレジスタ、13,23はプロセツサ間通
信を制御する制御回路、14,24はプロセツサ
間通信要求元プロセツサの識別レジスタ、15,
25は割込信号線である。プロセツサ1,2は演
算部,各種レジスタ,内部メモリ等を含むもので
あるが、簡略化の為、符号10〜15,20〜2
5で示す部分のみ図示してある。又バスアービタ
4は、各プロセツサからのバス使用要求に対し
て、一時には一つのプロセツサに対してのみバス
使用許可を与える制御を行うもので、バス使用許
可を与えるプロセツサ対応のバス使用許可信号線
のみをオン状態とする。又レジスタ13,23は
他のプロセツサからバス3を介して直接アクセス
されるものである。
Embodiment of the invention The figure is a block diagram of the main part of an embodiment of the invention.
1 and 2 are processors, 3 is a bus that connects each processor, 4 is a bus arbiter, 5 is a group of bus use permission signal lines consisting of signal lines corresponding to the processor, 10,
20 is an internal bus, 11, 21 is an internal bus, 10,
20 is a bus driver/receiver that transmits and receives data between the bus 3, 12 and 22 are registers for inter-processor communication, 13 and 23 are control circuits that control inter-processor communication, and 14 and 24 are inter-processor communication requests. Original processor identification register, 15,
25 is an interrupt signal line. The processors 1 and 2 include an arithmetic unit, various registers, internal memory, etc., but for the sake of simplicity, they are designated by reference numerals 10-15 and 20-2
Only the portion indicated by 5 is shown. In addition, the bus arbiter 4 performs control to grant bus usage permission to only one processor at a time in response to bus usage requests from each processor, and only transmits the bus usage permission signal line corresponding to the processor that is granted bus usage permission. is turned on. Further, registers 13 and 23 are directly accessed via bus 3 from other processors.

プロセツサ1からプロセツサ2へ通信する場
合、バスアービタ4によつてプロセツサ1対応の
バス使用許可信号線がオンとされることにより、
プロセツサ1からプロセツサ2のレジスタ22を
指定して所定のデータをバス3経由で書込む命令
を実行し、プロセツサ間通信要求をプロセツサ2
に通知する。プロセツサ2の制御回路25は、レ
ジスタ22に書込まれたデータによりプロセツサ
間通信要求であることを識別し、バス使用許可信
号線群5のうちオン状態の信号線を検出して、そ
の信号線対応のプロセツサ(この場合プロセツサ
1)の例えば識別コードを識別レジスタ24に書
込むと共に、レジスタ22に書込まれたデータに
従つた割込み処理を実行させるものである。
When communicating from processor 1 to processor 2, the bus arbiter 4 turns on the bus permission signal line for processor 1, so that
Processor 1 executes an instruction to specify register 22 of processor 2 and write predetermined data via bus 3, and sends an inter-processor communication request to processor 2.
Notify. The control circuit 25 of the processor 2 identifies that it is an inter-processor communication request based on the data written in the register 22, detects the signal line in the on state among the bus use permission signal line group 5, and issues that signal line. For example, an identification code of the corresponding processor (processor 1 in this case) is written into the identification register 24, and interrupt processing is executed in accordance with the data written into the register 22.

識別レジスタ24に書込まれた識別データは、
プロセツサ2のプログラムが内部バス20を介し
て読取ることにより、通信要求元を識別する為の
ものであり、例えば処理データを通信要求元のプ
ロセツサ1へ返送する場合に、その識別データで
直ちにプロセツサ1を識別することができる。な
お識別データは、各プロセツサに対して識別レジ
スタ24内のビツトを対応させる形式とすること
も可能である。又プロセツサ2がプロセツサ1或
は他のプロセツサへ通信する場合も前述と同様の
動作により行われ、例えばプロセツサ1が受信側
となつたときは、制御回路15がバス使用許可信
号群5のうちのオン状態の信号線を検出して、通
信要求元のプロセツサの識別コードを識別レジス
タ14に書込むことになる。
The identification data written in the identification register 24 is
The purpose is to identify the communication request source by reading the program of the processor 2 via the internal bus 20. For example, when processing data is to be returned to the communication request source, the processor 1, the identification data is used to immediately send the data to the processor 1. can be identified. Note that the identification data can also be in a format in which bits in the identification register 24 correspond to each processor. Also, when the processor 2 communicates with the processor 1 or another processor, the same operation as described above is performed. The on-state signal line is detected and the identification code of the processor making the communication request is written into the identification register 14.

発明の効果 以上説明したように、本発明は単一のバス3で
結合されたマルチプロセツサシステムに於て、バ
スアービタ4により一時には一つのプロセツサに
対してバス3の使用をバス使用許可信号線を介し
て許可を与え、又各プロセツサはそれぞれ他のプ
ロセツサからバスを介して直接アクセスされるレ
ジスタ12,22を備え、このレジスタに他のプ
ロセツサから特定のデータを書込むことにより、
当該プロセツサに対してプロセツサ間通信要求を
通知し、このプロセツサ間通信要求の通知により
制御回路13,23はバス使用許可信号線を監視
して、プロセツサ間通信要求元プロセツサを識別
するものであり、プロセツサ間通信要求元プロセ
ツサのプログラムにより、指定した受信側プロセ
ツサへ通信要求元プロセツサを識別する情報を転
送する必要がなくなるので、プログラムの単純化
を図ることができると共に、プログラムバグによ
る誤識別情報を受信側プロセツサに与えることは
なくなる。又バス使用許可信号線を利用して通信
要求元プロセツサを識別するものであるから、僅
かのハードウエア量の追加で、通信要求元プロセ
ツサを確実に識別できる利点がある。
Effects of the Invention As explained above, in a multiprocessor system connected by a single bus 3, the bus arbiter 4 allows one processor to use the bus 3 at a time via a bus use permission signal line. In addition, each processor has a register 12, 22 that is directly accessed by the other processor via the bus, and by writing specific data to this register from the other processor,
Notifies the processor of an inter-processor communication request, and upon notification of the inter-processor communication request, the control circuits 13 and 23 monitor the bus use permission signal line to identify the processor that has requested the inter-processor communication; Since the program of the inter-processor communication requesting processor eliminates the need to transfer information identifying the communication requesting processor to the specified receiving processor, the program can be simplified, and erroneous identification information due to program bugs can be avoided. It will no longer be given to the receiving processor. Furthermore, since the bus use permission signal line is used to identify the communication requesting processor, there is an advantage that the communication requesting processor can be reliably identified with a small amount of additional hardware.

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

図は本発明の実施例の要部ブロツク図である。 1,2はプロセツサ、3はバス、4はバスアー
ビタ、5はバス使用許可信号線、10,20は内
部バス、11,21はバスドライバ/レシーバ、
12,22はプロセツサ間通信用のレジスタ、1
3,23は制御回路、14,24は識別レジス
タ、15,25は割込信号線である。
The figure is a main part block diagram of an embodiment of the present invention. 1 and 2 are processors, 3 is a bus, 4 is a bus arbiter, 5 is a bus use permission signal line, 10 and 20 are internal buses, 11 and 21 are bus drivers/receivers,
12 and 22 are registers for interprocessor communication;
3 and 23 are control circuits, 14 and 24 are identification registers, and 15 and 25 are interrupt signal lines.

Claims (1)

【特許請求の範囲】[Claims] 1 複数のプロセツサが単一バスで結合され、バ
スアービタによりバス使用許可信号線を介して一
時には一つのプロセツサに前記バスの使用許可を
与え、且つ各プロセツサはそれぞれ他のプロセツ
サより前記バスを介して直接アクセスされるレジ
スタを備え、該レジスタに他のプロセツサから特
定のデータを書込むことにより当該プロセツサに
対してプロセツサ間通信要求を通知するマルチプ
ロセツサシステムに於いて、前記レジスタに前記
特定のデータが書込まれたことにより当該プロセ
ツサの制御回路で前記バス使用許可信号線を監視
してプロセツサ間通信要求を行つたプロセツサを
識別することを特徴とするプロセツサ間通信方
式。
1. A plurality of processors are connected by a single bus, and a bus arbiter grants permission to use the bus to one processor at a time via a bus permission signal line, and each processor receives requests from other processors via the bus. In a multiprocessor system that includes a directly accessed register and notifies the processor of an interprocessor communication request by writing specific data to the register, the specific data is written in the register. An inter-processor communication method characterized in that the processor that has made the inter-processor communication request is identified by monitoring the bus use permission signal line in a control circuit of the processor.
JP14670482A 1982-08-24 1982-08-24 Method of communication between processors Granted JPS5936862A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14670482A JPS5936862A (en) 1982-08-24 1982-08-24 Method of communication between processors

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14670482A JPS5936862A (en) 1982-08-24 1982-08-24 Method of communication between processors

Publications (2)

Publication Number Publication Date
JPS5936862A JPS5936862A (en) 1984-02-29
JPS636892B2 true JPS636892B2 (en) 1988-02-12

Family

ID=15413654

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14670482A Granted JPS5936862A (en) 1982-08-24 1982-08-24 Method of communication between processors

Country Status (1)

Country Link
JP (1) JPS5936862A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH027151A (en) * 1988-06-27 1990-01-11 Nitsuko Corp Multiprocessor system

Also Published As

Publication number Publication date
JPS5936862A (en) 1984-02-29

Similar Documents

Publication Publication Date Title
US5682512A (en) Use of deferred bus access for address translation in a shared memory clustered computer system
US4737932A (en) Processor
KR0160193B1 (en) Direct Memory Access Control
EP0283628A2 (en) Bus interface circuit for digital data processor
US20030126381A1 (en) Low latency lock for multiprocessor computer system
JPH04257054A (en) Inter-channel connecting apparatus
CN107636630A (en) Interrupt control unit
EP0306043B1 (en) Storage of input/output command timeout and acknowledge responses
KR100310399B1 (en) Method and apparatus for transferring data over a processor interface bus
US5467461A (en) Multiprocessor computer system having bus control circuitry for transferring data between microcomputers
US5089953A (en) Control and arbitration unit
US5850521A (en) Apparatus and method for interprocessor communication
AU606083B2 (en) Interface between processor and special instruction processor in digital data processing system
JPS636892B2 (en)
EP0191939A1 (en) Data processing bus system
US5790892A (en) Information handling system for modifying coherency response set to allow intervention of a read command so that the intervention is not allowed by the system memory
JPH01305461A (en) Bus right control method
JP2825589B2 (en) Bus control method
JPS6162158A (en) Data delivering and receiving system
JP2576934B2 (en) Memory-mapped interrupt method
JP3219422B2 (en) Cache memory control method
JP2837522B2 (en) Input/Output Command Control Method
JP2883091B2 (en) Multiprocessor system
JPH0374751A (en) Input/output controller
JPH0690689B2 (en) Bus trace method