JPH02149150A - Communication data buffer control system - Google Patents

Communication data buffer control system

Info

Publication number
JPH02149150A
JPH02149150A JP30316788A JP30316788A JPH02149150A JP H02149150 A JPH02149150 A JP H02149150A JP 30316788 A JP30316788 A JP 30316788A JP 30316788 A JP30316788 A JP 30316788A JP H02149150 A JPH02149150 A JP H02149150A
Authority
JP
Japan
Prior art keywords
communication
communication data
data buffer
code
data
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
JP30316788A
Other languages
Japanese (ja)
Inventor
Akihisa Makita
牧田 明久
Yasushi Inoue
靖 井上
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
NEC Computertechno Ltd
Original Assignee
NEC Corp
NEC Computertechno 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 Corp, NEC Computertechno Ltd filed Critical NEC Corp
Priority to JP30316788A priority Critical patent/JPH02149150A/en
Publication of JPH02149150A publication Critical patent/JPH02149150A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Communication Control (AREA)

Abstract

PURPOSE:To always increase the quantity of history information in communication between processors by recording a communication code in a communication code history memory as a history in the communication requiring a communication data buffer. CONSTITUTION:In a communication data buffer control system in an inter-processor communication system where data communication can be performed mutually between plural processors 1 and 2 via a common communication data buffer 30, a plural word storageable area sufficient for the storage of communication data of plural number of times of communication is provided as the communication data buffer 30. In the case of performing the communication interposing the communication data buffer 30, the update of an address register A21 on a transmission side 1 is performed at address modification circuits 13 and 14, and the update of an address register C22 on a reception side 2 is performed, and furthermore, when a communication destination is addressed to its own, the communication code is recorded as the history, and also, the communication data is read out of the communication data buffer 30 to a data control part 6, then, a prescribed processing is executed. In such a way, it is possible to always increase the quantity of the history information of the communication between the processors.

Description

【発明の詳細な説明】 皮五公ヱ 本発明は通信データバッファ制御方式に関し、特にプロ
セッサ間通信のための通信データバッフ1制御方式に関
する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a communication data buffer control system, and more particularly to a communication data buffer 1 control system for inter-processor communication.

良嵐弦韮 第4図は従来のプロセッサ間通信のシステム構成を示す
図であり、CPU50が送信側、CPU51が受信側と
し、主記憶74の通信データバッファ75を介して通信
データの授受がなされる。
FIG. 4 is a diagram showing the system configuration of conventional inter-processor communication, in which the CPU 50 is on the sending side, the CPU 51 is on the receiving side, and communication data is exchanged via the communication data buffer 75 of the main memory 74. Ru.

CPU50から通信コードのみを送信する場合は、制御
記憶56内で通信コードを生成してプロセッサ間通信送
受信制御部52内の送信レジスタA62にこれをセット
する。プロセッサ間通信送受信制御部52は池の全ての
CPUに対して上記通信コードを送信する。
When only a communication code is to be transmitted from the CPU 50, the communication code is generated in the control memory 56 and set in the transmission register A62 in the inter-processor communication transmission/reception control unit 52. The inter-processor communication transmission/reception control unit 52 transmits the communication code to all CPUs in the CPU.

CPtJ51のプロセッサ間通信送受信制御部53はC
PU50から送信された通信コードを受信レジスタB6
5にセットし、通信コード内の通信先CPU番号と自分
のCPU番号がセットされているレジスタ67の内容と
を比較器73により比較し、通信先が自分であるか否か
判断する。自分でない場合は無視し、自分である場合は
比較器73からの制御信号77により通信コードWl歴
メモリ制御回路61およびデータ制御部55に割込みが
発生する。
The inter-processor communication transmission/reception control unit 53 of the CPtJ51 is a C
Receive the communication code sent from PU50 in register B6
5, and the comparator 73 compares the communication destination CPU number in the communication code with the contents of the register 67 in which the own CPU number is set, and determines whether or not the communication destination is the communication destination. If it is not the user, it is ignored, and if it is the user, an interrupt is generated in the communication code Wl history memory control circuit 61 and the data control unit 55 by the control signal 77 from the comparator 73.

通信コードMWメモリ制御回路61においては、CPU
50から送信された通信コードを通信コード履歴メモリ
59ヘアドレス信号79が示すアドレスに590→59
1→592→593→590→・・・・、・の順に書込
み、履歴として残すようにする。
In the communication code MW memory control circuit 61, the CPU
The communication code sent from 50 is sent to the communication code history memory 59 to the address indicated by the address signal 79 from 590 to 59.
Write in the order of 1 → 592 → 593 → 590 → . . . and leave it as a history.

またデータ制御部55においては、制御記憶57内マイ
クロプログラム制御によりCPU50がらの通信コード
をもとに所定の処理を実行し、終了後CPU50に対す
るリプライ通信コードを生成し、プロセッサ間通信送受
信制御部53内の送信レジスタ63にこれをセットする
。プロセッサ間通信送受信制御部53は曲の全てのCP
Uに対して上記リプライ通信コードを送信する。
In addition, the data control unit 55 executes a predetermined process based on the communication code from the CPU 50 under the control of the microprogram in the control memory 57, generates a reply communication code for the CPU 50 after completion, and generates a reply communication code for the interprocessor communication transmission/reception control unit 53. This is set in the transmission register 63 in the. The inter-processor communication transmission/reception control unit 53 transmits all CPs of the song.
Send the above reply communication code to U.

CPU50のプロセッサ間通信送受信制御部52はCP
U51から送信されたリプライ通信コードを受信レジス
タ64にセットし、通信コード内の通信先CPtJPt
上自分のCPU番号がセットされているレジスタ66の
内容とを比較器72により比較し、その制御信号76に
より通信コード履歴メモリ制御回路60およびデータ制
御部54に割込みが発生し、リプライ通信コードを通信
コード履歴メモリ58へアドレス信号78が示すアドレ
スに、580→581→582→583→580→・・
・・・・の順に書込み履歴として残す。
The inter-processor communication transmission/reception control unit 52 of the CPU 50 is
Set the reply communication code sent from U51 in the reception register 64, and set the communication destination CPtJPt in the communication code.
The comparator 72 compares the contents of the register 66 to which the own CPU number is set, and the control signal 76 generates an interrupt in the communication code history memory control circuit 60 and data control unit 54, and the reply communication code is sent. To the address indicated by the address signal 78 to the communication code history memory 58, 580→581→582→583→580→...
The writing history is saved in the order of...

また、制御記憶56内のマイクロプログラム制御によっ
てデータ制御部54にリプライ通信コードが取入れられ
、リプライ通信待ちをして一時処を中断していたCPU
50は再び後続の処理を順次実行する。
In addition, the reply communication code is taken into the data control unit 54 by the microprogram control in the control memory 56, and the CPU, which had temporarily suspended processing by waiting for the reply communication,
50 sequentially executes the subsequent processing again.

通信コードのみならず通信データも送信する必要のある
場合、送信側は制御記憶56内のマイクロプログラム制
御により主、記憶装置74上の通信データバッファ75
へ、アドレスレジスタA68が示すアドレスに従ってデ
ータレジスタA70から通信データを送ることにより予
め格納しておき、格納終了後データ制御部54で生成し
た通信コードをプロセッサ間通信送受信制御部52内の
送信レジスタA62にセットする。プロセッサ間通信送
受信制御部52は他の全てのCPUに対して上記通信コ
ードを送信する。
When it is necessary to send not only a communication code but also communication data, the sending side uses the communication data buffer 75 on the storage device 74 under the control of the microprogram in the control memory 56.
The communication data is stored in advance by sending it from the data register A70 according to the address indicated by the address register A68, and after the storage is completed, the communication code generated by the data control unit 54 is sent to the transmission register A62 in the inter-processor communication transmission/reception control unit 52. Set to . The inter-processor communication transmission/reception control unit 52 transmits the communication code to all other CPUs.

受信側であるCPU51のプロセッサ間通信送受信制御
部53はCPU50から送信された通信コードを受信レ
ジスタB65にセットし、通信コード内の通信先CPU
番号と自分のCPU番号がセットされているレジスタ6
7の内容とを比較器73により比較し、通信先が自分で
あるか否か判断する。自分でない場合は無視し、自分で
ある場合は前述した通信コードのみ送信する場合と同様
に通信コードを通信コードMWメモリ59へ書込み履歴
として残す。
The inter-processor communication transmission/reception control unit 53 of the CPU 51 on the receiving side sets the communication code sent from the CPU 50 in the reception register B65, and the communication destination CPU in the communication code
Register 6 where the number and your CPU number are set
The comparator 73 compares the contents of 7 with the contents of 7 to determine whether or not the communication destination is the user. If it is not the user, it is ignored, and if it is the user, the communication code is written to the communication code MW memory 59 and left as a write history in the same way as in the case of transmitting only the communication code described above.

データ制御部55においては、CPU50が通信データ
を格納した主記憶装置74上の通信データバッファ75
から、制御部157内のマイクロプログラム制御によっ
てアドレスレジスタB69が示すアドレスに従ってデー
タレジスタB71へ読出し、通信コードと読出した通信
データとをもとに所定の処理を実行し、終了後CPU5
0に対するリプライ通信コードを生成し、プロセッサ間
通信送受信制御部53内の送信レジスタ863にこれを
セットする。プロセッサ間通信送受信制御部53は他の
全てのCPUに対して上記リプライ通信コードを送信す
る。
In the data control unit 55, the CPU 50 uses a communication data buffer 75 on the main storage device 74 in which communication data is stored.
Then, under the microprogram control in the control unit 157, the address is read out to the data register B71 according to the address indicated by the address register B69, and a predetermined process is executed based on the communication code and the read communication data.
A reply communication code for 0 is generated and set in the transmission register 863 in the interprocessor communication transmission/reception control section 53. The inter-processor communication transmission/reception control unit 53 transmits the reply communication code to all other CPUs.

CPU50は前述した通信コードのみ送信する場合と同
様に、リプライ通信コードを受信して所定の処理を実行
する。
The CPU 50 receives the reply communication code and executes a predetermined process, as in the case of transmitting only the communication code described above.

このような方式では、通信データバッファ75が1回分
の通信データ領域である4ワード×4バイトの格納領域
を有しているのであるから、通信コードは最新4個分(
n=4)がHFMして残るが、通信データに関しては通
信データバッファのアドレスレジスタ68.69が常に
固定アドレスを示しているので、後続のプロセッサ間通
ず8が通信データバッファを使用する場合は、前のデー
タが書き換えられることになり、通信データは最新1個
分のデータしか履歴として残らない。
In such a system, the communication data buffer 75 has a storage area of 4 words x 4 bytes, which is the communication data area for one time, so the communication codes for the latest four (
n=4) remains after HFM, but since address registers 68 and 69 of the communication data buffer always indicate a fixed address for communication data, if 8 uses the communication data buffer between subsequent processors, , the previous data will be rewritten, and only the latest communication data will remain as a history.

上述した従来の方式では、例えば障害が発生したような
時にプロセッサ間通信の履歴を調べたい場合、1個分の
データしか残ってないことになるので、もしその前のデ
ータに障害要因があるとしたならば、解析が困難になる
ばかりか、問題解決に非常に手間がかかつてしまうし、
各種デバッグにおいてもデータが少ないため効率が悪く
なるという欠点がある。
With the conventional method described above, if you want to check the history of communication between processors when a failure occurs, for example, only one piece of data remains, so if the previous data is the cause of the failure, If you do that, not only will it be difficult to analyze, but it will also take a lot of time to solve the problem.
Even in various debugging, there is a drawback that the efficiency is low due to the small amount of data.

i匪立旦預 そこで、本発明は従来技術のかかる欠点を解決すべくな
されたものであって、その目的とするとろは、複数回分
の通信データを格納し得るようにして、常にプロセッサ
間通信の履歴情報量を多(することが可能な通信データ
バッファ制御方式を堤供することにある。
Therefore, the present invention has been made to solve such drawbacks of the prior art, and its purpose is to make it possible to store communication data for multiple times so that communication between processors is always maintained. The object of the present invention is to provide a communication data buffer control method that can handle a large amount of historical information.

九肌△亘羞 本発明によれば、複数のプロセッサの間において、共通
の通信データバッファを介して相互にデータ通信をなす
ようにしたプロセッサ間通信システムにおける通信デー
タバッファ制御方式であって、前記通信データバッファ
として複数回分の通信データを格納するに充分な複数ワ
ードを格納可能な領域を設け、前記通信データのワード
数に応じて順次前記通信データバッファのアドレスを可
変制御するようにしたことを特徴とする通信データバッ
ファ制御方式が得られる。
According to the present invention, there is provided a communication data buffer control method in an inter-processor communication system in which data communication is performed between a plurality of processors via a common communication data buffer, the method comprising: An area capable of storing a plurality of words sufficient to store communication data for a plurality of times is provided as a communication data buffer, and the address of the communication data buffer is sequentially variably controlled according to the number of words of the communication data. A characteristic communication data buffer control method is obtained.

K鳳1 以下、図面を用いて本発明の詳細な説明する。K-Otori 1 Hereinafter, the present invention will be explained in detail using the drawings.

第1図は本発明の実施例を示すブロック図であり、プロ
セッサ間通信はCPUIが送信側、CPU2が受信側と
し、主記憶装置29上の通信データバッファ30は16
ワード(1ワードは4バイト)分の通信データ領域を有
するものてする。またCPtJl、CPU2にはそれぞ
れ通信データバッファのアドレスを格納するアドレスレ
ジスタA21およびアドレスレジスタC22を設け、更
にそれぞれのレジスタに通信データのワード数分だけ加
算するアドレス修飾回路13.14を設ける構成とする
FIG. 1 is a block diagram showing an embodiment of the present invention. In inter-processor communication, the CPU 2 is on the sending side, the CPU 2 is on the receiving side, and the communication data buffer 30 on the main storage device 29 has 16
It has a communication data area for words (one word is 4 bytes). Further, CPtJl and CPU2 are provided with an address register A21 and an address register C22, respectively, for storing the address of the communication data buffer, and are further provided with address modification circuits 13 and 14 that add the number of words of communication data to each register. .

CPtJlから通信コードのみ送信する場合は、制御記
憶7内マイクロプログラム制御により、データ制御部5
にて通信コードを生成し、プロセッサ間通信送受信制御
部3内の送信レジスタA15にこれをセットする。
When transmitting only the communication code from CPtJl, the data control unit 5 is controlled by the microprogram in the control memory 7.
A communication code is generated and set in the transmission register A15 in the interprocessor communication transmission/reception control section 3.

通信コードのみを送信する場合は、通信コードの制御ビ
ットSを“0”にセットしておく0通信コードは第3図
に示すように、通信先CPU番号43、通信元CPU番
号44、通信コマンド45、制御ビット346、通信デ
ータ47を有する0通信先cpu番号44、通信元cp
u番号45はCPUの数だけビットを設け、各CPUに
対応するビットを制御することにより通信先および通信
元CPtJ番号を設定する。
When sending only the communication code, set the control bit S of the communication code to "0".The 0 communication code is as shown in Figure 3, the communication destination CPU number 43, the communication source CPU number 44, and the communication command. 45, control bit 346, communication data 47 0 communication destination cpu number 44, communication source cp
The u number 45 has bits equal to the number of CPUs, and the communication destination and communication source CPtJ numbers are set by controlling the bits corresponding to each CPU.

S=0のときは通信データフィールドのデータは通信に
使用されるデータそのものを示し、S=1のきは主記憶
装置上の通信データバッファに格納される通信データの
ワード数を示す、制御ビットSを“0″にセットするこ
とによりアドレスレジスタA21の内容は更新されない
(第2図参照)、プロセッサ間通信送受信制御部3は池
の全てのCPUに対し上記通信コードを送信する。
When S=0, the data in the communication data field indicates the data itself used for communication, and when S=1, the control bit indicates the number of words of communication data stored in the communication data buffer on the main storage device. By setting S to "0", the contents of the address register A21 are not updated (see FIG. 2), and the interprocessor communication transmission/reception control section 3 transmits the above communication code to all CPUs in the memory.

CPU2のプロセッサ間通信送受信制御部4はCPUI
から送信された通信コードを受信レジスタ818にセッ
トし、通信コード内の通信先CPU番号と自分のCPU
番号がセットされているレジスタ26の内容を比較器2
8により比較し、通信先が自分であるか否か判断するが
、この判断にかかわらず制御ビットSがOであることに
よりアドレスレジスタC22の内容は更新されない。
The inter-processor communication transmission/reception control unit 4 of the CPU 2 is a CPU
Set the communication code sent from
Comparator 2 reads the contents of register 26 to which the number is set.
8 to determine whether the communication destination is itself, but regardless of this determination, since the control bit S is O, the contents of the address register C22 are not updated.

自分でない場合は無視し、自分である場合は比較器28
からの制御信号32により通信コード履歴メモリ制御回
路12およびデータ制御部6に割込みが発生し、通信コ
ード履歴メモリ制御回路12においては、CPUIから
送信された通信コードを通信コード履歴メモリ10ヘア
ドレス信号34が示すアドレスに100→101→10
2→103→100→・・・・・・の順に書込み、履歴
として残すようにする。
If it is not you, ignore it, if it is you, comparator 28
An interrupt is generated in the communication code history memory control circuit 12 and the data control unit 6 by the control signal 32 from the CPU. 100 → 101 → 10 to the address indicated by 34
Write in the order of 2 → 103 → 100 → . . . and leave it as a history.

またデータ制御部6においては、制御記憶8内マイクロ
プログラム制御で、CPtJlからの通信コードをもと
に所定の処理を実行し、終了後CPU1に対するリプラ
イ通信コードを生成し、プロセッサ間通信送受信制御部
4内の送信レジスタB16にセットする。プロセッサ間
通信送受信制御部4は他の全てのCPUに対して上記リ
プライ通信コードを送信する。
In addition, in the data control unit 6, under the control of the microprogram in the control memory 8, a predetermined process is executed based on the communication code from CPtJl, and after completion, a reply communication code is generated for the CPU 1, and the interprocessor communication transmission/reception control unit Set it in the transmission register B16 in 4. The inter-processor communication transmission/reception control unit 4 transmits the reply communication code to all other CPUs.

cptriのプロセッサ間通信送受信制御部3はCPU
2から送信されたリプライ通信コードを受信レジスタA
17にセットし、通信コード内の通信先CPU番号と自
分のCPU番号がセットされているレジスタ19の内容
とを比較器27により比較し、その制御信号31により
通信コード履歴メモリ制御回路11およびデータ制御部
5に割込みが発生し、リプライ通信コードを通信コード
履歴メモリ9ヘアドレス信号33が示すアドレスに90
→91→92→93→90→・・・・・・の順に書込み
履歴として残す。
The inter-processor communication transmission/reception control unit 3 of cptri is the CPU
Receive the reply communication code sent from 2 to register A.
17, the comparator 27 compares the communication destination CPU number in the communication code with the contents of the register 19 in which the own CPU number is set, and the control signal 31 causes the communication code history memory control circuit 11 and the data An interrupt occurs in the control unit 5, and the reply communication code is sent to the communication code history memory 9 at the address indicated by the address signal 33.
→ 91 → 92 → 93 → 90 → . . . are left in the order of writing history.

また制御記憶7内のマイクロプログラム制御により、デ
ータ制御部5にリプライ通信コードが取入れられ、リプ
ライ通信待ちをして一時処理を中断していたCPtJl
は再び後続の処理を順次実行する。
Also, under the control of the microprogram in the control memory 7, the reply communication code is taken into the data control unit 5, and CPtJl, which was waiting for the reply communication and temporarily interrupting the processing.
executes the subsequent processing in sequence again.

通信コードのみならず通信データも送信する必要のある
場合、送信側は制御記憶7内のマイクロプログラム制御
によりプロセッサ間通信送受信制御部3内のアドレスジ
スタA21の内容をデータ制御部5内のアドレスレジス
タ823にセットし、主記憶装置29上の通信データバ
ッファ30ヘアドレスレジスタBが示すアドレスに従っ
てデータレジスタA25から通信データを送り格納して
おく。
When it is necessary to send not only a communication code but also communication data, the sending side transfers the contents of the address register A21 in the interprocessor communication transmission/reception control unit 3 to the address register in the data control unit 5 under the control of the microprogram in the control memory 7. 823, and the communication data is sent from the data register A 25 and stored in the communication data buffer 30 on the main storage device 29 according to the address indicated by the address register B.

格納終了後、データ制御部5において、通信データバッ
ファに格納した通信データのワード数および制御ビット
Sを1”にセットした通信コードを生成しく第3図参照
)、プロセッサ間通18送受信制御部3内の送信レジス
タA15にセットする。この制御部3は他の全、てのC
PUに対して上記通信コードを送信するとともに、アド
レス修飾口F#113にて通信データのワード数分だけ
アドレスを加算し、アドレスレジスタAの内容を更新し
ておく。
After the storage is completed, the data control section 5 generates a communication code with the number of words of the communication data stored in the communication data buffer and the control bit S set to 1'' (see FIG. 3), and the communication between the processors 18 and the transmission/reception control section 3. This control section 3 is set in the transmission register A15 of the C.
While transmitting the communication code to the PU, the address is added by the number of words of the communication data at the address modification port F#113, and the contents of the address register A are updated.

受信側であるCPU2のプロセッサ間通信送受信制御部
4はcputから送信された通信コードを受信レジスタ
B18にセットし、通信コード内の通信先CPU番号と
自分のCPU番号がセットされているレジスタ28の内
容とを比較器28により比較し、通信先が自分であるか
否か判断するが、この判断にかかわらず制御ビットSが
1であることより、アドレス修飾回路14において通信
データバッファに格納された通信データのワード数分だ
けアドレスが加算され、アドレスレジスタC22の更新
が行われる。
The interprocessor communication transmission/reception control unit 4 of the CPU 2 on the receiving side sets the communication code sent from cput in the reception register B18, and registers the communication destination CPU number in the communication code and the register 28 in which the own CPU number is set. The comparator 28 compares the contents with the communication destination to determine whether or not the communication destination is the communication destination, but regardless of this judgment, since the control bit S is 1, the address modification circuit 14 stores the communication data in the communication data buffer. Addresses are added by the number of words of communication data, and the address register C22 is updated.

自分でない場合はアドレスレジスタC22の更新のみ行
われるが、自分である場合は通信コードのみ送信する場
合と同様に、通信コードを通信コード履歴メモリ10の
書込み履歴として残す。
If it is not the user, only the address register C22 is updated, but if it is the user, the communication code is left as a write history in the communication code history memory 10, as in the case where only the communication code is sent.

またデータ制御部6においては、制御記憶8内のマイク
ロプログラム制御により、更新されたアドレスレジスタ
C22の内容をアドレスレジスタD24にセットし、主
記憶装置上の通信データバッファからアドレスレジスタ
Dが示すアドレスに従ってワード数分だけデータレジス
タB26へ順次読出し、通信コードと読出した通信デー
タをもとに所定の処理を実行し、終了後CPUIに対す
るリプライ通信コードを生成し、プロセッサ間通信送受
信制御部4内の送信レジスタB16にセットする。プロ
セッサ間通信送受信制御部4は他の全てのCPUに対し
て上記リプライ通信コードを送信する。
Also, in the data control unit 6, under the control of the microprogram in the control memory 8, the updated contents of the address register C22 are set in the address register D24, and the data is transferred from the communication data buffer on the main memory according to the address indicated by the address register D. The number of words is sequentially read into the data register B26, and predetermined processing is executed based on the communication code and the read communication data. After completion, a reply communication code is generated for the CPUI, and the transmission within the interprocessor communication transmission/reception control unit 4 is executed. Set in register B16. The inter-processor communication transmission/reception control unit 4 transmits the reply communication code to all other CPUs.

CPUIは前述した通信コードのみ送信する場合と同様
にリプライ通信コードを受信し、所定の処理を実行する
The CPUI receives the reply communication code and executes predetermined processing in the same way as in the case where only the communication code is transmitted as described above.

第2図にアドレス修飾回路図例を示す、制御ビットS=
0のときはセレクタ41によりアドレスレジスタ42の
下位6ビツトが選択される。つまりアドレスレジスタの
内容は変化しない、制御ビットS=tのときは通信デー
タフィールドにセットされている通信データのワード数
(4ビツト)の下位側に“00″を2ビツト付加し、6
ビツトに拡張したデータとアドレスレジスタの下位6ビ
ツトを加算器40により加算した結果が選択され、アド
レスレジスタの内容が更新される。尚、加算器の桁上げ
は無視する。
An example address modification circuit diagram is shown in FIG. 2, control bit S=
When it is 0, the selector 41 selects the lower 6 bits of the address register 42. In other words, the contents of the address register do not change, but when control bit S = t, 2 bits of "00" are added to the lower side of the number of words (4 bits) of communication data set in the communication data field, and 6
The result of adding the data expanded into bits and the lower 6 bits of the address register by the adder 40 is selected, and the contents of the address register are updated. Note that the carry of the adder is ignored.

アドレスレジスタの内容は通信データのワード数に従っ
て更新されていくが、アドレスの下位6ビツトについて
演算する回路構成となっており、それ以外の上位ビット
は固定にしであるのでそのアドレスは300→301→
302→・・・・・・30F→300→の順に各領域に
先頭アドレスを示すようなサイクリックなアドレスとな
る。
The contents of the address register are updated according to the number of words of communication data, but the circuit configuration is such that calculations are made on the lower 6 bits of the address, and the other upper bits are fixed, so the address is 300 → 301 →
302→...30F→300→ are cyclic addresses that indicate the start address in each area.

以上のように、主記憶装置上の通信データバッファを介
さない通信の場合には送信側が生成する通信コードは通
信コード内の制御ビットSを“0″にし、アドレスレジ
スタAおよびアドレスレジスタCの内容は更新せず、受
信側につしては通信先が自分であるときのみ通信コード
を履歴としして残す、また通信データ制御部を介する通
信の場合には送信側は制御ビットSを“1”にし、アド
レス修飾回路において送信側のアドレスレジスタAの更
新を行い、受信側については通信先が自分である、ない
にかかわらずアドレスレジスタCの更新を行い、さらに
通信先が自分である時は通信コードを履歴として残すと
ともに、データ制御1部に通信データバッファから通信
データを読出し所定の処理を実行する。
As described above, in the case of communication that does not go through the communication data buffer on the main memory, the communication code generated by the sending side sets the control bit S in the communication code to "0", and the contents of address register A and address register C are set to 0. is not updated, and the receiving side leaves the communication code as a history only when the communication destination is itself, and in the case of communication via the communication data control unit, the sending side sets the control bit S to "1". ”, update address register A on the transmitting side in the address modification circuit, update address register C on the receiving side regardless of whether the communication destination is itself, and further update when the communication destination is itself. The communication code is recorded as a history, and the data control section 1 reads communication data from the communication data buffer and executes predetermined processing.

このような方法により、通信のたびに通信コードは最新
の4個が履歴として残り、通信データバッファを利用す
る通信のたびに通信データは最新の最小個〜餞大16個
が履歴として残る。
With this method, the latest 4 communication codes are left as a history for each communication, and the latest minimum to 16 communication data are left as a history for each communication using a communication data buffer.

1肌Ω盈1 以上説明したように本発明によれば、プロセッサ間通信
が主記憶装置上の通信データバツアアを必要とする通信
のときは、通信コードを通信コード履歴メモリに履歴と
して残すと共に通信データのワード数に従ってアドレス
レジスタを制御し、通信データバッファに空領域をつく
ることなく有効に利用することができ、最新の通信デー
タを複数回分の通信データとしてmワード主記憶装置上
の通信データバッファに履歴として残すことができると
いう効果がある。また、通信データバッファを必要とし
ない通信のときは通信コードのみを通信コード履歴メモ
リに履歴として残す。
As explained above, according to the present invention, when inter-processor communication requires communication data transfer on the main storage device, the communication code is stored as a history in the communication code history memory and the communication data is The address register is controlled according to the number of words in the m-word main memory, and the latest communication data can be stored in the communication data buffer on the m-word main memory as communication data for multiple times. This has the effect of being able to be kept as a history. Further, when communication does not require a communication data buffer, only the communication code is left as a history in the communication code history memory.

これにより、各種デバッグおよび障害解析において手間
のかかつていた問題等も、通信コードが最新n個分、通
信データが最新mワード分効率よく履歴として残ってい
るので、その問題解決の有効な手段の一つとなり、早期
問題解決を可能とする効果がある。
As a result, the latest n communication codes and the latest m words of communication data are efficiently stored as a history, which is an effective means of solving problems that require time and effort in various debugging and failure analysis. This has the effect of enabling early problem resolution.

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

第1図は本発明の実施例のシステムブロック図、第2図
はアドレス修飾回路の回路例を示す図、第3図は通信コ
ードの詳細を示す図、第4図は従来技術を示すプロセッ
サ間通信システム図である。 主要部分の符号の説明 1.2・・・・・・CPU 3.4・・・・・・プロセッサ間通信送受信制御部5.
6・・・・・・データ制御部 7.8・・・・・・制御記憶 9.10・・・・・・通信コード履歴メモリ13.14
・・・・・・アドレス修飾回路29・・・・・・主記憶
装置 30・・・・・・通信データバッファ 出願人 日本電気株式会社(外1名)
Fig. 1 is a system block diagram of an embodiment of the present invention, Fig. 2 is a diagram showing an example of an address modification circuit, Fig. 3 is a diagram showing details of a communication code, and Fig. 4 is a diagram showing a prior art between processors. It is a communication system diagram. Explanation of symbols of main parts 1.2... CPU 3.4... Inter-processor communication transmission/reception control unit 5.
6...Data control unit 7.8...Control memory 9.10...Communication code history memory 13.14
... Address modification circuit 29 ... Main memory device 30 ... Communication data buffer Applicant: NEC Corporation (1 other person)

Claims (1)

【特許請求の範囲】[Claims] (1)複数のプロセッサの間において、共通の通信デー
タバッファを介して相互にデータ通信をなすようにした
プロセッサ間通信システムにおける通信データバッファ
制御方式であつて、前記通信データバッファとして複数
回分の通信データを格納するに充分な複数ワードを格納
可能な領域を設け、前記通信データのワード数に応じて
順次前記通信データバッファのアドレスを可変制御する
ようにしたことを特徴とする通信データバッファ制御方
式。
(1) A communication data buffer control method in an inter-processor communication system in which data is communicated between multiple processors via a common communication data buffer, wherein the communication data buffer is used for multiple times of communication. A communication data buffer control method characterized in that an area capable of storing a plurality of words sufficient to store data is provided, and addresses of the communication data buffer are sequentially and variably controlled according to the number of words of the communication data. .
JP30316788A 1988-11-30 1988-11-30 Communication data buffer control system Pending JPH02149150A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30316788A JPH02149150A (en) 1988-11-30 1988-11-30 Communication data buffer control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30316788A JPH02149150A (en) 1988-11-30 1988-11-30 Communication data buffer control system

Publications (1)

Publication Number Publication Date
JPH02149150A true JPH02149150A (en) 1990-06-07

Family

ID=17917695

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30316788A Pending JPH02149150A (en) 1988-11-30 1988-11-30 Communication data buffer control system

Country Status (1)

Country Link
JP (1) JPH02149150A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04314163A (en) * 1991-04-11 1992-11-05 Nec Corp Buffer managing system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04314163A (en) * 1991-04-11 1992-11-05 Nec Corp Buffer managing system

Similar Documents

Publication Publication Date Title
US4344134A (en) Partitionable parallel processor
US3983539A (en) Polymorphic programmable units employing plural levels of sub-instruction sets
US3983541A (en) Polymorphic programmable units employing plural levels of phased sub-instruction sets
EP0055623B1 (en) Direct memory-access mode for a high-speed memory system
JPH03189843A (en) System and method for processing data
US3735354A (en) Multiplexed memory request interface
ES348591A1 (en) Method and apparatus for multiplex control of a plurality of peripheral devices for transfer of data with a central processing system
JPH02149150A (en) Communication data buffer control system
US5168558A (en) Apparatus and method for providing distributed control in a main memory unit of a data processing system
JPS63208151A (en) Interface between processor of digital data processing system and special instruction processor
JPS6148745B2 (en)
JP2000099452A (en) Dma control device
US3611312A (en) Method and apparatus for establishing states in a data-processing system
JPH0821009B2 (en) CHANNEL CONTROLLER INITIALIZATION METHOD AND SYSTEM FOR THE INITIALIZATION
JP2755646B2 (en) Data driven data processor
JPH05233440A (en) Data transfer system equipped with buffer function
JPS6020779B2 (en) Composite computer system
GB2008817A (en) Data processing system including a cache store
JPH0133848B2 (en)
JPH0588995A (en) Data communication system
JPS6112587B2 (en)
JPH0429095B2 (en)
JPS6385954A (en) Memory control system
JPS6378260A (en) Input-output device controlling system
JPS6239779B2 (en)