JPS6338346A - Communication control equipment - Google Patents

Communication control equipment

Info

Publication number
JPS6338346A
JPS6338346A JP61182374A JP18237486A JPS6338346A JP S6338346 A JPS6338346 A JP S6338346A JP 61182374 A JP61182374 A JP 61182374A JP 18237486 A JP18237486 A JP 18237486A JP S6338346 A JPS6338346 A JP S6338346A
Authority
JP
Japan
Prior art keywords
buffer
cpus1
hardware
addresses
memory
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
JP61182374A
Other languages
Japanese (ja)
Inventor
Sachiko Houkan
宝官 祥子
Yoshiyuki Ozawa
小沢 佳之
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP61182374A priority Critical patent/JPS6338346A/en
Publication of JPS6338346A publication Critical patent/JPS6338346A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Communication Control (AREA)

Abstract

PURPOSE:To attain the acquisition and return of buffers as well as information on buffer addresses between two CPUs by using a hardware using two FIFO memories in place of a software to control buffers. CONSTITUTION:A means is provided to secure an interface between CPUs1 and 2 taking charge of adjacent layers by means of a common buffer together with a means to manage the address of the buffer via the hardware of types of two FIFO memories 3 and 4. Then plural buffer addresses are stored in both memories 3 and 4 and then delivered successively with the instructions of both CPUs1 and 2. These addresses are sent back to the CPUs1 and 2 and therefore the buffer is acquired. In addition, both CPUs1 and 2 can perform processes independently and in parallel with each other just with a hardware means and without distributing the same buffer control programs to both CPUs1 and 2. Thus the transfer of control is attained and the overhead of the buffer management due to the software is reduced. Thus, the protocol processing speed is increased.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、マルチCPUにより通信制御プロ1〜コルの
並列処理を実行する通信制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a communication control device that executes parallel processing of communication control protocols 1 to 1 through multiple CPUs.

従来の技術 第2図は従来の通信制御装置の構成図を示す。Conventional technology FIG. 2 shows a configuration diagram of a conventional communication control device.

第2図において、2]、22はC11Uであり、それぞ
れアービタ23に接続されている。24は共有メモリで
あり、アービタ23に接続されている。
In FIG. 2, 2] and 22 are C11Us, each connected to the arbiter 23. A shared memory 24 is connected to the arbiter 23.

次に1−記従来例の動作について説明する。第2図にお
いて、双方のCPtJ2]、22には、共イ1ノモリ2
4に設けた共通のバッファを管理するためのプログラム
が実装されている。一方のC11TJ 21がバッファ
獲得の命令をアービタ2:lを通して出し、」1:有メ
モリ24からバッファ髪獲得し、そのア]・レスを確認
する。他方のCPU22ではこのバッファのアドレスを
割込み通知によって知り、アービタ2:jを通してその
バッファをアクセスし、返却する。
Next, the operation of the prior art example 1- will be explained. In FIG. 2, both CPtJ2] and 22 have the same value.
A program is implemented to manage the common buffer provided in 4. One C11TJ 21 issues a command to acquire a buffer through the arbiter 2:l, acquires a buffer from the memory 24 with "1:", and confirms the response. The other CPU 22 learns the address of this buffer by the interrupt notification, accesses the buffer through the arbiter 2:j, and returns it.

アービタ23では2つのCP[J2]、22によるJ(
有メモリ24のアクセスの競合を調停している。。
In the arbiter 23, there are two CP[J2], J(
It mediates conflicts in access to memory 24. .

このように、l−記従来の通信制御袋Ftでも、それぞ
れのCP U 21 、22にバッファ管理のび[1グ
ラムを置くことで、共有メモリ24でバッファの獲得と
返却が行なえろ。
In this way, even in the conventional communication control bag Ft, by placing 1 gram of buffer management capacity in each of the CPUs 21 and 22, buffers can be acquired and returned in the shared memory 24.

発明が解決しようとする問題点 しかしながら、上記従来の通信制御装置では、使用する
CI)U21,22全てにバッファ入出カプログラムを
配置せねばならず、また、共有メモリ24−1−のバッ
ファの管理は共有の管理テーブルで行なっていたため、
バッファをアクセスする際に競合がおこると一方のCP
Uが待ち状態になる、ラフ1〜ウエアで複雑なバッファ
管理の手順がいる、獲得したバッファの71〜レスはバ
ッファを返却するまで管理しなくてはならず、相手のC
PUに獲得バッファのアドレスを通知しなければならな
いなどの問題があった。
Problems to be Solved by the Invention However, in the conventional communication control device described above, a buffer input/output program must be placed in all of the CIs U21 and 22 used, and management of the buffer in the shared memory 24-1- is required. was done on a shared management table, so
If a conflict occurs when accessing a buffer, one CP
U goes into a waiting state, there is a complicated buffer management procedure in rough 1~ware, 71~responses of the acquired buffer must be managed until the buffer is returned, and the other party's C
There were problems such as the need to notify the PU of the address of the acquisition buffer.

本発明はこのような従来の問題を解決するものであり、
バッファ管理をプログラムによることなく、ハードウェ
アで両CP TJ間の制御の受は渡しができる優れた通
<R制御装置を提供することを目的とするものである。
The present invention solves these conventional problems,
It is an object of the present invention to provide an excellent communication control device that can transfer control between two CP TJs using hardware without buffer management using a program.

問題点を解決するための手段 本発明はに記問題点を解決するために、ソフトウェアで
行なっていたバッファ管理を2つのFll・゛0メモリ
を用いたバー1−ウェアで管理することで、バッファの
獲得と返却、両CPU間でのバッファアドレスの通知を
実現するように構成したものである。
Means for Solving the Problems In order to solve the problems described in the present invention, the buffer management that was previously done by software is managed by software using two FLL/0 memories. The buffer address is acquired and returned, and the buffer address is notified between both CPUs.

作用 上記構成により、FIF○メモリに複数個のバッファア
ドレスを入力して記憶させ、CPUの命令によって順々
にバッファアドレスを出力し、CPUに返すことによっ
てバッファの獲得ができ、そのアドレスを他方のFIF
Oメモリに入力していく。他方のCPUは必要に応じて
、そのFIFOメモリからバッファアドレスを出力させ
、参照することにより、相手の使用したバッファを知る
ことができる。処理が終了したバッファのアドレスは元
のFIFOメモリに戻すことで、バッファの返却が完了
し、またバッファをリングバッファのようにエンドレス
に使用できる。これにより隣接層を担当する2つのCP
Uに同一のバッファ管理のプログラムを配置することな
く、ハードウェアの手段のみで両CI) Uが独立に並
列処理を行なうことができ、制御の受は渡しが行なえ、
ソフトウェアによるバッファ管理のオーバーヘッドを軽
減し、プロ1−コル処理を高速化できるという効果を有
する。
Operation With the above configuration, a buffer can be acquired by inputting and storing multiple buffer addresses in the FIF○ memory, outputting the buffer addresses one by one according to the instructions of the CPU, and returning them to the CPU. FIF
Input into O memory. The other CPU can know the buffer used by the other CPU by outputting the buffer address from its FIFO memory and referring to it as necessary. By returning the address of the buffer for which processing has been completed to the original FIFO memory, return of the buffer is completed and the buffer can be used endlessly like a ring buffer. This allows two CPs in charge of adjacent layers to
Without placing the same buffer management program in U, both CIs can perform parallel processing independently using only hardware means, and control can be passed and received.
This has the effect of reducing the overhead of software buffer management and speeding up protocol processing.

実施例 以lz本発明の一実施例を図面に基づいて説明する。1 第1図は本発明の・実施例の構成図を示す。第1図にお
いて、CP U 1はポート5に接続され、さらにポー
ト5からパルス発生器14を通ってFIFOメモリ4の
SIFT・INに、また、パルス発生器15を通ってF
IFOメモリ3の5IFT・OtJ Tに接続されてい
る。CPU2はボート6に接続され、さらにボート6か
らパルス発生器16を通ってFII?Oメモリ3の5I
FT・INに、またパルス発生器17を通ってFiFO
メモリ4のSI I” ’I”・OU Tに接続されて
いる。データセレクタ7はCI) tJ Lの入力によ
ってFIFOメモリ3にデータを入力し、さらにラッチ
回路11を通してI−’ T ト” 0メモリ4に入力
し、さらにラッチ回路12を通してデータセレクタ7へ
戻る。デコーダ8はCPUIとラッチ回路11の入力を
受けて、また、デコーダ9はCPU2とラッチ回路12
の入力を受けて、それぞれアービタ10を通して共有メ
モリ13をアクセスする。
Embodiment One embodiment of the present invention will be described based on the drawings. 1 FIG. 1 shows a configuration diagram of an embodiment of the present invention. In FIG. 1, CPU 1 is connected to port 5, and from port 5 passes through pulse generator 14 to SIFT IN of FIFO memory 4, and passes through pulse generator 15 to SIFT IN of FIFO memory 4.
Connected to 5IFT/OtJT of IFO memory 3. The CPU 2 is connected to the boat 6, and further passes from the boat 6 through the pulse generator 16 to the FII? O memory 3 5I
to FT/IN, and also to FiFO through pulse generator 17.
It is connected to SI I'''I''・OUT of memory 4. The data selector 7 inputs data to the FIFO memory 3 through the input of CI) tJL, further inputs the data to the I-'T''0 memory 4 through the latch circuit 11, and returns to the data selector 7 through the latch circuit 12.Decoder 8 receives input from the CPU 2 and latch circuit 11, and decoder 9 receives input from CPU 2 and latch circuit 12.
In response to the input, the shared memory 13 is accessed through the arbiter 10.

次に」〕記実施例の動作について説明する。イニシャル
時、CPUIはマスターとなり、データセレクタ7はC
PUIとFIFOメモリ3を接続し、FIFOメモリ3
にバッファの全アドレスを入力する。その後、データセ
レクタ7はCI) U 1とFIFOメモリ3とを切り
離す。CPUIからCPT、J 2へイベントを受は渡
すときは、FIFOメモリ3の5IFT−OUTにパル
ス発生器15からクロックを発生させて人力する。FI
FOメモリ3から出力されたバッファアドレスはラッチ
回路11にラッチされる。FIFOメモリ3から出力さ
れるアドレスはバッファの上位アドレスのみとし、デコ
ーダ8がこれを管理する。したがってCPU1から共有
メモリ13へのアクセスがあるときは特定の」―位アド
レスに対してのみで、アクセスできる。バッファにイベ
ントを書き込んだ後はc p u2にバッファアドレス
を通知するため、パルス発生器14よりパルスを発生さ
せ、FIFOメモリ4の5TFT・INに入力すること
によってFIFOメモリ3で出力されたバッファの上位
アドレスをFIFOメモリ4に取り込む。その後、CP
U1はポート5よりソフトコマンドによってCP U2
に対し割込みを発生させ、CPU2に制御を移す。CI
) U 2 テはF I FOメ−t=lJ46’)S
 I FT −OU Tにパルス発生器17のパルスを
入力して、イベントの格納されているバッファの上位ア
ドレスを出力させ、ラッチ回路12でラッチさせる。こ
の]―位アドレスはデコーダ9の作用によって共有メモ
リ13のバッファをアクセスすることができる。
Next, the operation of the above embodiment will be explained. At initialization, the CPUI becomes the master, and the data selector 7
Connect PUI and FIFO memory 3,
Enter the full address of the buffer in . Thereafter, the data selector 7 separates the CI) U 1 from the FIFO memory 3. When receiving and passing an event from the CPUI to the CPT and J2, a clock is generated from the pulse generator 15 at 5IFT-OUT of the FIFO memory 3, and this is done manually. FI
The buffer address output from the FO memory 3 is latched by the latch circuit 11. The addresses output from the FIFO memory 3 are only the upper addresses of the buffer, which are managed by the decoder 8. Therefore, when the CPU 1 accesses the shared memory 13, it can only access a specific address. After writing an event to the buffer, in order to notify the buffer address to cpu2, the pulse generator 14 generates a pulse and inputs it to 5TFT IN of the FIFO memory 4, thereby writing the buffer output from the FIFO memory 3. Load the upper address into the FIFO memory 4. After that, C.P.
U1 connects CPU U2 via soft command from port 5.
An interrupt is generated and control is transferred to the CPU 2. C.I.
)
A pulse from the pulse generator 17 is input to IFT-OUT to output the upper address of the buffer in which the event is stored, and the latch circuit 12 latches it. This address can access the buffer in the shared memory 13 by the action of the decoder 9.

処理が終了するとCPU2はパルス発生器I6からパル
スを発生させ、FIFOメモリ3の5IFT・INに送
り、FIFOメモリ4から戻ってきた処理終了後のバッ
ファアドレスをFIF○メモリ3に取り込む。また、F
IFOメモリ4のOU T・EIAではバッファアドレ
スが空になったことをCPU2に知らせ、アドレスの監
視を行なっている。
When the processing is completed, the CPU 2 generates a pulse from the pulse generator I6, sends it to 5IFT•IN of the FIFO memory 3, and takes in the buffer address after the processing completed returned from the FIFO memory 4 into the FIF◯ memory 3. Also, F
The OUT/EIA of the IFO memory 4 notifies the CPU 2 that the buffer address has become empty and monitors the address.

このように、上記実施例によれば、FIFOメモリがバ
ッファのアドレスを必要に応じてCPUに通知するので
、CPUではバッファのアドレスをいっさい気にせず両
CPUで共有メモリをアクセスすることかできるという
利点を有する。
In this way, according to the above embodiment, the FIFO memory notifies the CPU of the buffer address as necessary, so both CPUs can access the shared memory without worrying about the buffer address at all. has advantages.

発明の効果 以上本発明によれば、隣接するCPU間での制御の受は
渡しを共通のバッファを用いて行なうとき、従来のよう
にソフトウェアで共有メモリ上のバッファの管理を行な
わずに、ハードウェアによる手段でできるようにしたの
で、互いのCPUは複雑なバッファ管理を意識せずに独
立に処理を実行できる。
Effects of the Invention According to the present invention, when control is transferred between adjacent CPUs using a common buffer, the buffers on the shared memory are not managed by software as in the past, but by hardware. Since this can be done using hardware, each CPU can execute processing independently without having to be aware of complicated buffer management.

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

第1図は本発明の一実施例を示す通信制御装置の概略ブ
ロック図、第2図は従来の通信制御装置の概略ブロック
図である。 1.2・・・CPU、3,4・・・FIFOメモリ、5
゜6・・入出力ポート、7・・データセレクタ、8,9
・・・デコーダ、10・・・アービタ、11 、 +−
2・・・ラッチ回路、13・・共有メモリ、14,15
,16.17・・・パルス発生器代理人   森  本
  義  弘 日ト=ヨ
FIG. 1 is a schematic block diagram of a communication control device showing an embodiment of the present invention, and FIG. 2 is a schematic block diagram of a conventional communication control device. 1.2...CPU, 3,4...FIFO memory, 5
゜6...I/O port, 7...Data selector, 8,9
...decoder, 10...arbiter, 11, +-
2... Latch circuit, 13... Shared memory, 14, 15
, 16.17...Pulse generator representative Yoshi Morimoto Hirohito Toyo

Claims (1)

【特許請求の範囲】[Claims] 1、マルチCPUによって通信制御プロトコルの並列処
理を実行する通信処理装置であって、隣接層を担当する
CPU間のインタフェースを共通のバッファを用いて行
う手段と、バッファのアドレスを2つのFIFOメモリ
形式のハードウェアで管理する手段と、イベント発生時
にバッファを共通のバッファより獲得する手段と、隣接
レイヤを担当するCPUにイベントの発生を通知する手
段と、隣接レイヤでプロトコル処理終了後このバッファ
を再び共通のバッファへ返却する手段とを有する通信制
御装置。
1. A communication processing device that executes parallel processing of communication control protocols using multiple CPUs, which includes means for interfacing between CPUs in charge of adjacent layers using a common buffer, and buffer addresses in two FIFO memory formats. A means for managing the buffer with hardware, a means for acquiring a buffer from a common buffer when an event occurs, a means for notifying the CPU in charge of an adjacent layer of the occurrence of an event, and a means for reusing this buffer after protocol processing in the adjacent layer is completed. a communication control device having means for returning to a common buffer;
JP61182374A 1986-08-01 1986-08-01 Communication control equipment Pending JPS6338346A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61182374A JPS6338346A (en) 1986-08-01 1986-08-01 Communication control equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61182374A JPS6338346A (en) 1986-08-01 1986-08-01 Communication control equipment

Publications (1)

Publication Number Publication Date
JPS6338346A true JPS6338346A (en) 1988-02-18

Family

ID=16117190

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61182374A Pending JPS6338346A (en) 1986-08-01 1986-08-01 Communication control equipment

Country Status (1)

Country Link
JP (1) JPS6338346A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006351347A (en) * 2005-06-16 2006-12-28 Toshiaki Inoue Elastic board for connecting bullet-shaped light emitting diode

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006351347A (en) * 2005-06-16 2006-12-28 Toshiaki Inoue Elastic board for connecting bullet-shaped light emitting diode

Similar Documents

Publication Publication Date Title
US5455915A (en) Computer system with bridge circuitry having input/output multiplexers and third direct unidirectional path for data transfer between buses operating at different rates
US6078983A (en) Multiprocessor system having distinct data bus and address bus arbiters
JPH076124A (en) System and method for transfer of information
US5426737A (en) Direct memory access for data transfer within an I/O device
JPH07105146A (en) Common memory device
JPH06131244A (en) Asynchronous access system for shared memory
JPS6338346A (en) Communication control equipment
EP0587370A1 (en) Method and apparatus for software sharing between multiple controllers
JPH06250970A (en) Memory controller
KR950004249B1 (en) Method for data transmission between host and node computers of parallel processing system
JPS6027976A (en) First-in first-out memory device
JPH0562384B2 (en)
JPH02211571A (en) Information processor
JP2699873B2 (en) Bus control circuit
JPS62236061A (en) Inter-cpu communication system
JPH03232052A (en) Exclusive access system for shared data
JPH03132859A (en) Microcomputer system
JPH03119484A (en) Picture processor
KR100191242B1 (en) Apparatus for transferring data between processors
JPS6160162A (en) Bus arbitration system
JPS5975354A (en) Processor device
JP2856709B2 (en) Bus coupling system
JP2961542B2 (en) Data processing system
JP3866873B2 (en) Information processing device
JPH08339345A (en) Information processing system