JPH0669978A - Inter-processor communication system - Google Patents

Inter-processor communication system

Info

Publication number
JPH0669978A
JPH0669978A JP4223715A JP22371592A JPH0669978A JP H0669978 A JPH0669978 A JP H0669978A JP 4223715 A JP4223715 A JP 4223715A JP 22371592 A JP22371592 A JP 22371592A JP H0669978 A JPH0669978 A JP H0669978A
Authority
JP
Japan
Prior art keywords
endian
processor
packet
big
little
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
JP4223715A
Other languages
Japanese (ja)
Inventor
Yukihiro Yamamoto
幸弘 山本
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 Communication Systems Ltd
Original Assignee
NEC Communication Systems 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 NEC Communication Systems Ltd filed Critical NEC Communication Systems Ltd
Priority to JP4223715A priority Critical patent/JPH0669978A/en
Publication of JPH0669978A publication Critical patent/JPH0669978A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Small-Scale Networks (AREA)
  • Communication Control (AREA)

Abstract

PURPOSE:To make communication without notifying an Endian of an opposite processor by unifying the Endian of communication between processors. CONSTITUTION:When a packet from a little Endian processor 3 or 8 is received by a big Endian processor 13 or 19, an Endian conversion processing section 15 or 21 of the big Endian processor 13 or 19 converts the little Endian of the received packet data into the big Endian. When the big Endian processor 13 or 19 sends a packet to the little Endian processor 3 or 8, the big Endian processor 13 or 19 uses the Endian conversion processing section 15 or 21 to convert the packet data generated as the bit endian by a packet processing section 16 or 22 into the data with the little Endian and sends the data to the opposite processor.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はマルチプロセッサシステ
ムに関し、特に装置内部に、1個以上のリトルエンディ
アンプロセッサと、1個以上のビッグエンディアンプロ
セッサとが混在し、バスにより密結合されているパケッ
ト通信装置のプロセッサ間通信方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multiprocessor system, and more particularly to packet communication in which one or more little endian processors and one or more big endian processors are mixed in a device and are tightly coupled by a bus. The present invention relates to an interprocessor communication system of a device.

【0002】[0002]

【従来の技術】従来、この種の処理装置でバスにより密
結合されているプロセッサのエンディアンは、リトルエ
ンディアンかビッグエンディアンのいずれかに統一され
ているため、プロセッサ間通信では、エンディアン変換
処理は行ってない。
2. Description of the Related Art Conventionally, the endian of a processor which is tightly coupled by a bus in a processor of this type is unified into either little endian or big endian. Therefore, endian conversion processing is performed in interprocessor communication. Not at all.

【0003】[0003]

【発明が解決しようとする課題】上述した従来のマルチ
プロセッサシステムのプロセッサ間通信方式では、プロ
セッサのエンディアンが統一されているため、エンディ
アン変換機能がなく、異るエンディアンのプロセッサが
パケット通信装置内で密結合された場合、プロセッサ間
通信ができないという問題点が有った。
In the above-mentioned interprocessor communication system of the conventional multiprocessor system, since the endian of the processors is unified, there is no endian conversion function, and processors of different endian are included in the packet communication device. When tightly coupled, there was a problem that communication between processors was not possible.

【0004】本発明の目的は、リトルエンディアンプロ
セッサとビッグエンディアンプロセッサとが混在し、こ
れらがバスにより密結合されているマルチプロセッサシ
ステムで、ビッグエンディアンプロセッサが、エンディ
アン変換処理を行い、プロセッサ間通信のエンディアン
をリトルエンディアンとして統一し、相手プロセッサの
エンディアンを意識することなくプロセッサ間通信を行
うことができるプロセッサ間通信方式を提供することに
ある。
An object of the present invention is a multiprocessor system in which a little endian processor and a big endian processor are mixed, and these are tightly coupled by a bus. The big endian processor performs an endian conversion process and performs interprocessor communication. An endian is unified as a little endian, and it is to provide an inter-processor communication method capable of performing inter-processor communication without being aware of the endian of the partner processor.

【0005】[0005]

【課題を解決するための手段】本発明のプロセッサ間通
信方式は、1個以上のリトルエンディアンプロセッサ
と、1個以上のビッグエンディアンプロセッサとを備
え、バスにより密結合されているマルチプロセッサシス
テムにおいて、前記ビッグエンディアンプロセッサにエ
ンディアンの変換処理を行うエンディアン変換手段を設
け、前記バス上へデータを送信するときには前記エンデ
ィアン変換手段によって前記データをリトルエンディア
ンに変換し、前記バスからデータを受信したときには、
前記エンディアン変換手段によってこの受信したデータ
をリトルエンディアンからビッグエンディアンに変換す
る構成である。
An interprocessor communication system according to the present invention is a multiprocessor system that includes one or more little endian processors and one or more big endian processors and is tightly coupled by a bus. The big endian processor is provided with endian conversion means for performing endian conversion processing, when transmitting data on the bus, the endian conversion means converts the data to little endian, and when data is received from the bus,
The endian converting means converts the received data from little endian to big endian.

【0006】[0006]

【実施例】次に本発明について図面を参照して説明す
る。
The present invention will be described below with reference to the drawings.

【0007】図1は本発明の一実施例を説明するための
マルチプロセッサシステムであるパケット通信装置の構
成図である。図1において、1個以上のリトルエンディ
アンプロセッサと1個以上のビッグエンディアンプロセ
ッサとが混在し、バス2により密結合されているマルチ
プロセッサシステムの例として、パケット通信装置1
は、リトルエンディアンプロセッサ3,8,及びビッグ
エンディアンプロセッサ13,19から構成されてお
り、リトルエンディアンプロセッサ3と8は、それぞれ
バス制御部4と9、パケット処理部5と10、及び回線
制御部6と11とから構成され、ビッグエンディアンプ
ロセッサ13と19は、それぞれバス制御部14と2
0、エンディアン変換処理部15と21、パケット処理
部16と22、回線制御部17と23とから構成されて
いる。
FIG. 1 is a block diagram of a packet communication device which is a multiprocessor system for explaining an embodiment of the present invention. In FIG. 1, as an example of a multiprocessor system in which one or more little endian processors and one or more big endian processors are mixed and tightly coupled by a bus 2, a packet communication device 1
Is composed of little endian processors 3 and 8 and big endian processors 13 and 19, and the little endian processors 3 and 8 are bus control units 4 and 9, packet processing units 5 and 10, and line control unit 6, respectively. And the big endian processors 13 and 19, respectively, and the bus controllers 14 and 2 respectively.
0, endian conversion processing units 15 and 21, packet processing units 16 and 22, and line control units 17 and 23.

【0008】始めに、リトルエンディアンプロセッサ3
または8と、ビッグエンディアンプロセッサ13または
19間でプロセッサ間通信を行った場合について説明す
る。
First, the little endian processor 3
Or, the case where inter-processor communication is performed between the big endian processor 13 or 19 will be described.

【0009】この場合、リトルエンディアンプロセッサ
3または8の回線制御部6または11は、回線7または
12からのデータを受信し、パケット処理部5または1
0でリトルエンディアンのデータのパケットを生成し、
バス制御部4または9がこのパケットをリトルエンディ
アンとしてバス2へ送信する。
In this case, the line control unit 6 or 11 of the little endian processor 3 or 8 receives the data from the line 7 or 12, and the packet processing unit 5 or 1
0 creates a little endian data packet,
The bus control unit 4 or 9 transmits this packet to the bus 2 as little endian.

【0010】一方、ビッグエンディアンプロセッサ13
または19は、リトルエンディアンプロセッサ3または
8からのパケットをバス制御部14または20で受信す
る。そして、エンディアン変換処理部15または21は
この受信パケットをリトルエンディアンからビッグエン
ディアンに変換する。この時、エンディアン変換処理部
15または21は、送信元プロセッサのエンディアンと
は無関係にパケットのデータをビッグエンディアンから
リトルエンディアンに変換する。エンディアン変換され
たパケットは、パケット処理部16または22で処理さ
れた後、回線制御部17または23により回線8または
24へ送出される。
On the other hand, the big endian processor 13
Alternatively, the bus controller 14 or 20 receives the packet from the little endian processor 3 or 8. Then, the endian conversion processing unit 15 or 21 converts the received packet from little endian to big endian. At this time, the endian conversion processing unit 15 or 21 converts the packet data from big endian to little endian regardless of the endian of the transmission source processor. The endian-converted packet is processed by the packet processing unit 16 or 22 and then sent to the line 8 or 24 by the line control unit 17 or 23.

【0011】つまりこの場合、受信側プロセッサである
ビッグエンディアンプロセッサ13または19がパケッ
トの受信処理でエンディアン変換を行うことで、プロセ
ッサ間通信をリトルエンディアンとして実現する。
In other words, in this case, the big endian processor 13 or 19 which is the receiving processor performs endian conversion in the packet receiving process, thereby realizing inter-processor communication as little endian.

【0012】また、ビッグエンディアンプロセッサ13
または19から、リトルエンディアンプロセッサ3また
は8へパケットを送信する場合は、以下のようになる。
The big endian processor 13
Alternatively, when a packet is transmitted from 19 to the little endian processor 3 or 8, the packet is as follows.

【0013】ビッグエンディアンプロセッサ13または
19の回線制御部17または23は、回線18または2
4からのデータを受信し、パケット処理部16または2
2でビッグエンディアンのデータのパケットを生成す
る。エンディアン変換処理部15または21はパケット
処理部16または22で生成されたパケットのビッグエ
ンディアンのデータをリトルエンディアンへ変換する。
この時、エンディアン変換部15または21は送信先プ
ロセッサのエンディアンとは無関係にパケットのデータ
をビッグエンディアンからリトルエンディアンに変換す
る。バス制御部14または20では、エンディアン変換
処理部15または21でリトルエンデイアンに変換され
たパケットをバス2上へ送信する。
The line controller 17 or 23 of the big endian processor 13 or 19 is connected to the line 18 or 2
Data from the packet processing unit 16 or 2
At 2, a packet of big endian data is generated. The endian conversion processing unit 15 or 21 converts the big endian data of the packet generated by the packet processing unit 16 or 22 into little endian.
At this time, the endian conversion unit 15 or 21 converts the packet data from big endian to little endian regardless of the endian of the destination processor. The bus control unit 14 or 20 transmits the packet converted into the little endian by the endian conversion processing unit 15 or 21 onto the bus 2.

【0014】一方、リトルエンィアンプロセッサ3また
は8は、ビッグエンディアンプロセッサ13または19
からリトルエンディアンのパケットをバス制御部4また
は9で受信し、パケット処理部5または10で処理した
後、回線制御部6または11により、回線7または12
へ送出する。
On the other hand, the little endian processor 3 or 8 is the big endian processor 13 or 19
The little endian packet is received from the bus control unit 4 or 9 and processed by the packet processing unit 5 or 10, and then the line control unit 6 or 11 causes the line 7 or 12 to be processed.
Send to.

【0015】つまりこの場合、送信側プロセッサである
ビッグエンディアンプロセッサ13または19がパケッ
ト送信処理でエンディアン変換処理を行うことで、プロ
セッサ間通信をリトルエンディアンとして実現する。
In other words, in this case, the big endian processor 13 or 19 which is the transmission side processor performs the endian conversion processing in the packet transmission processing, thereby realizing inter-processor communication as little endian.

【0016】次にビッグエンディアンプロセッサ13と
ビッグエンディアンプロセッサ19間でプロセッサ間通
信を行った場合について説明する。
Next, a case where inter-processor communication is performed between the big endian processor 13 and the big endian processor 19 will be described.

【0017】ビッグエンディアンプロセッサ13からビ
ッグエンディアンプロセッサ19へパケット送信する場
合の送受信処理を想定すると以下に示すようになる。ビ
ッグエンディアンプロセッサ13の回線制御部17は回
線18からのデータを受信し、パケット処理部16でビ
ッグエンディアンのパケットを生成する。エンディアン
処理部15は、パケット処理部16で生成されたビッグ
エンディアンパケットを、リトルエンディアンへ変換す
る。この時、エンディアン変換処理部15は、エンディ
アン変換処理を送信先プロセッサのエンディアンとは無
関係に、パケットをビッグエンディアンからリトルエン
ディアンに変換する。バス制御部14はエンディアン変
換処理部15でリトルエンディアンに変換されたパケッ
トを、バス2上へ送信する。
Assuming a transmission / reception process in the case of transmitting a packet from the big endian processor 13 to the big endian processor 19, it is as follows. The line control unit 17 of the big endian processor 13 receives the data from the line 18, and the packet processing unit 16 generates a big endian packet. The endian processing unit 15 converts the big endian packet generated by the packet processing unit 16 into little endian. At this time, the endian conversion processing unit 15 converts the packet from big endian to little endian regardless of the endian of the destination processor. The bus control unit 14 transmits the packet converted into the little endian by the endian conversion processing unit 15 onto the bus 2.

【0018】一方、ビッグエンディアンプロセッサ19
は、ビッグエンディアンプロセッサ13からのリトルエ
ンディアンのパケットをバス制御部20で受信する。エ
ンディアン変換処理部21では、この受信パケットをリ
トルエンディアンからビッグエンディアンに変換する。
この時、エンディアン変換処理部21は、エンディアン
変換処理を送信先プロセッサのエンディアンとは無関係
にパケットをビッグエンディアンからリトルエンディア
ンに変換する。エンディアン変換されたパケットは、パ
ケット処理部22で処理された後、回線制御部23によ
り、回線24へ送出される。
On the other hand, the big endian processor 19
Receives the little endian packet from the big endian processor 13 at the bus control unit 20. The endian conversion processing unit 21 converts the received packet from little endian to big endian.
At this time, the endian conversion processing unit 21 converts the endian conversion processing from big endian to little endian regardless of the endian of the destination processor. The endian converted packet is processed by the packet processing unit 22 and then sent to the line 24 by the line control unit 23.

【0019】つまりこの場合、送信側プロセッサである
ビッグエンディアンプロセッサ13がパケット送信処理
で、また、受側プロセッサであるビッグエンディアンプ
ロセッサ19がパケット受信処理中で、エンディアン変
換処理を行うことでプロセッサ間通信をリトルエンディ
アンとして実現する。
In other words, in this case, inter-processor communication is performed by the big endian processor 13, which is the transmitting processor, performing packet transmission processing, and the big endian processor 19, which is the receiving processor, performing packet end processing during packet reception processing. Is realized as little endian.

【0020】次に、リトルエンディアンプロセッサ3
と、リトルエンディアンプロセッサ8間で、プロセッサ
間通信を行った場合について説明する。
Next, the little endian processor 3
Then, a case where inter-processor communication is performed between the little endian processors 8 will be described.

【0021】リトルエンディアンプロセッサ3から、リ
トルエンディアンプロセッサ8へパケット送信する場合
の送信処理は以下のようになる。
The transmission process for transmitting a packet from the little endian processor 3 to the little endian processor 8 is as follows.

【0022】この場合、送信処理は前述したリトルエン
ディアンプロセッサ3または8から、ビッグエンディア
ンプロセッサ15または19へパケット送信する場合の
リトルエンディアンプロセッサ3または8の処理と同様
になる。また、受信処理は前述したビッグエンディアン
プロセッサ13または19から、リトルエンディアンプ
ロセッサ3または8へパケット送信する場合のリトルエ
ンディアンプロセッサ3または8の処理と同じになる。
In this case, the transmission processing is similar to the processing of the little endian processor 3 or 8 when the packet is transmitted from the little endian processor 3 or 8 to the big endian processor 15 or 19. Further, the receiving process is the same as the process of the little endian processor 3 or 8 when the packet is transmitted from the big endian processor 13 or 19 to the little endian processor 3 or 8.

【0023】[0023]

【発明の効果】以上説明したように本発明は、ビッグエ
ンディアンプロセッサ内に設けたエンディアン変換処理
機能により、エンディアンの異なる密結合されたプロセ
ッサ間の通信を、リトルエンディアンとしてエンディア
ンを統一することで、通信相手プロセッサのエンディア
ンを意識することなく通信できるという効果を有する。
As described above, according to the present invention, by the endian conversion processing function provided in the big endian processor, communication between tightly coupled processors having different endians is unified as a little endian. This has an effect that communication can be performed without being aware of the endian of the communication partner processor.

【0024】[0024]

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

【図1】本発明の一実施例を説明するためエンディアン
が混在するパケット通信装置の構成図である。
FIG. 1 is a configuration diagram of a packet communication device in which endians are mixed to explain an embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1 パケット通信装置 2 バス 3,8 リトルエンディアンプロセッサ 4,9,14,20 バス制御部 5,10,16,22 パケット処理部 6,11,17,23 回線制御部 7,12,18,24 端末収容回線群 13,19 ビッグエンディアンプロセッサ 15,21 エンディアン変換処理部 1 packet communication device 2 bus 3,8 little endian processor 4,9,14,20 bus control unit 5,10,16,22 packet processing unit 6,11,17,23 line control unit 7,12,18,24 terminal Accommodating line group 13,19 Big endian processor 15,21 Endian conversion processing unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 1個以上のリトルエンディアンプロセッ
サと、1個以上のビッグエンディアンプロセッサとを備
え、バスにより密結合されているマルチプロセッサシス
テムにおいて、前記ビッグエンディアンプロセッサにエ
ンディアンの変換処理を行うエンディアン変換手段を設
け、前記バス上へデータを送信するときには前記エンデ
ィアン変換手段によって前記データをリトルエンディア
ンに変換し、前記バスからデータを受信したときには、
前記エンディアン変換手段によってこの受信したデータ
をリトルエンディアンからビッグエンディアンに変換す
ることを特徴とするプロセッサ間通信方式。
1. In a multiprocessor system, which comprises one or more little endian processors and one or more big endian processors and is tightly coupled by a bus, an endian conversion is performed for the big endian processor. Means is provided, and when the data is transmitted onto the bus, the endian conversion means converts the data into little endian, and when the data is received from the bus,
An interprocessor communication system characterized in that the received data is converted from little endian into big endian by the endian conversion means.
JP4223715A 1992-08-24 1992-08-24 Inter-processor communication system Pending JPH0669978A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4223715A JPH0669978A (en) 1992-08-24 1992-08-24 Inter-processor communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4223715A JPH0669978A (en) 1992-08-24 1992-08-24 Inter-processor communication system

Publications (1)

Publication Number Publication Date
JPH0669978A true JPH0669978A (en) 1994-03-11

Family

ID=16802539

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4223715A Pending JPH0669978A (en) 1992-08-24 1992-08-24 Inter-processor communication system

Country Status (1)

Country Link
JP (1) JPH0669978A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7587557B2 (en) 2003-03-19 2009-09-08 Panasonic Corporation Data sharing apparatus and processor for sharing data between processors of different endianness
JP2011248516A (en) * 2010-05-25 2011-12-08 Toyota Motor Corp Information processor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7587557B2 (en) 2003-03-19 2009-09-08 Panasonic Corporation Data sharing apparatus and processor for sharing data between processors of different endianness
JP2011248516A (en) * 2010-05-25 2011-12-08 Toyota Motor Corp Information processor

Similar Documents

Publication Publication Date Title
JPH04142642A (en) Information processor having communication function
TW346575B (en) Computer system providing a universal architecture adaptive to a variety of processor types and bus protocols
JPH0669978A (en) Inter-processor communication system
JPS61188653A (en) Down load control system
KR100310229B1 (en) Device for controlling control process of high-level data link for enhancing transmission speed
JP2601453Y2 (en) Serial communication system
JP2000148216A (en) Plant controller communication equipment
JPH0746991Y2 (en) Communication controller
JPH04335455A (en) Communication system between computers of different code systems
JPH05324545A (en) Bus controller
JPH04162163A (en) Communication protocol packaging system
JPH06232879A (en) Token detection control network
JPS60245345A (en) Processing system of packet communication
JPS62186634A (en) Host-terminal communication system by terminal protocol conversion system
JPH07281972A (en) Adapter for network
JPS647835A (en) Local area network system
JPH0435197A (en) Transmission terminal equipment
JPH0235850A (en) Exclusivecontrol system for pre-communication processor
JPS60132447A (en) Parallel communication device
JPS63231564A (en) Inter-processor communication equipment
JPH087609B2 (en) Data transfer method of programmable controller system
JPH01297591A (en) Setting and processing system for system timepiece
JPS6055463A (en) Multiprocessor system
JPH06138915A (en) Data transmission system for controller
JPH05284190A (en) 1-character transfer system

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19981117