JPS63244255A - Multiprocessor system - Google Patents

Multiprocessor system

Info

Publication number
JPS63244255A
JPS63244255A JP7774087A JP7774087A JPS63244255A JP S63244255 A JPS63244255 A JP S63244255A JP 7774087 A JP7774087 A JP 7774087A JP 7774087 A JP7774087 A JP 7774087A JP S63244255 A JPS63244255 A JP S63244255A
Authority
JP
Japan
Prior art keywords
data transfer
register
bus
data
slave
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
JP7774087A
Other languages
Japanese (ja)
Inventor
Masaichi Nakajima
雅逸 中島
Yuji Tanigawa
裕二 谷川
Katsuyuki Kaneko
克幸 金子
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 JP7774087A priority Critical patent/JPS63244255A/en
Publication of JPS63244255A publication Critical patent/JPS63244255A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Information Transfer Systems (AREA)

Abstract

PURPOSE:To transmit data with simple processing by supplying a control signal to a data transmission means and a slave processor from a register that supplies an address signal to a decoder in a mask memory. CONSTITUTION:The mask memory 13 that supplies a selection signal to n-pieces of slave processors 14 as well as contains plural pieces of n-bit data is provided, and the register 12 that supplies an address signal to the decoder 15 in the mask memory 13 also is provided. This register is connected to a first bus 101 and supplies a data transmission means control signal to a data transmission means 11, and supplies a slave processor control signal to the n-pieces of slave processors 14. The plural pieces of n-bit data are stored in the mask memory 13, and their addresses are written in the register together with data transmission mode. In such a way, the initialization for data transmission can be executed.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、ホストプロセッサと複数のスレーブプロセッ
サを有するマルチプロセッサシステムのデータ転送に関
するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to data transfer in a multiprocessor system having a host processor and a plurality of slave processors.

従来の技術 従来の技術によるマルチプロセッサシステムのブロック
図を第2図に示す。ホストプロセッサ20が接続されて
いる第1のバス201にメインメモリ25の入出力端子
とデータ転送手段21の第1の入出力端子とレジスタ2
2入力端子とnビット幅のマスクレジスタ23の入力端
子が接続され、n個のスレーブプロセッサ24が接続さ
れている第2のバスにデータ転送手段21の第2の入出
力端子が接続される。
Prior Art A block diagram of a multiprocessor system according to the prior art is shown in FIG. The input/output terminal of the main memory 25, the first input/output terminal of the data transfer means 21, and the register 2 are connected to the first bus 201 to which the host processor 20 is connected.
2 input terminal and the input terminal of the n-bit wide mask register 23 are connected, and the second input/output terminal of the data transfer means 21 is connected to a second bus to which n slave processors 24 are connected.

次に従来の技術によるマルチプロセッサシステムにおけ
るデータ転送の制御を説明する。このマルチプロセッサ
システムでは、データ転送の制御はホストプロセッサ2
oがすべて行い、スレーブプロセッサ241〜24nを
それに従う。まず、ホストプロセッサ20がレジスタ2
2に転送モードを書き込む。ここで書き込んだ転送モー
ドで転送方向、転送データの種類等が設定され、この内
容に応じて、データ転送手段制御信号204とスレーブ
プロセッサ制御信号205が設定される。
Next, control of data transfer in a multiprocessor system according to conventional technology will be explained. In this multiprocessor system, data transfer is controlled by the host processor 2.
o does everything, and the slave processors 241-24n follow suit. First, the host processor 20 registers 2
Write the transfer mode in 2. The transfer direction, the type of transfer data, etc. are set in the transfer mode written here, and the data transfer means control signal 204 and slave processor control signal 205 are set according to the contents.

次にホストプロセッサ20は、n個のスレープブo−t
=ツサ241〜24nのうちどのスレーブプロセッサ2
41〜24nに対してデータ転送を行うかを示したnビ
ットのデータをマスクレジスタ23に書き込む。このn
ビットのデータをそのままn個のスレーブプロセッサセ
レクト信号203として用い、この信号によってセレク
トされたスレーブプロセッサ241〜24nとホストプ
ロセッサ2o間でデータ転送手段21を介してデータ転
送が行なわれる。マスクレジスタ23に書キ込ムnビッ
トのデータは第1のバス201に接続されたメインメモ
リ25のある領域に複数個格納されており、転送の度に
任意のnビットデータ26をメインメモリ25より読み
出してきてマスクレジスタ23に書き込む。以上でデー
タ転送のための初期設定が終わりデータの転送を開始す
る。
Next, the host processor 20 selects n slave boots o-t.
=Which slave processor 2 among Tsusa 241 to 24n?
n-bit data indicating whether data transfer is to be performed for 41 to 24n is written into the mask register 23. This n
The bit data is used as it is as the n slave processor select signals 203, and data is transferred via the data transfer means 21 between the slave processors 241 to 24n selected by this signal and the host processor 2o. A plurality of n-bit data to be written to the mask register 23 are stored in a certain area of the main memory 25 connected to the first bus 201, and any n-bit data 26 is written to the main memory 25 each time it is transferred. The data is read from the mask register 23 and written to the mask register 23. This completes the initial settings for data transfer and starts data transfer.

発明が解決しようとする問題点 従来の技術によるマルチプロセッサシステムでは、デー
タ転送を行う度に、メインメモリ25上にある任意のn
ビットデータ26を読み出してきて、そのデータをマス
クレジスタ23に書き込む必要があった。従って例えば
第1のバス201が32ビット幅で、スレーブプロセッ
サ241〜24Hの個数nが256の場合を考えると、
マスクレジスタにデータを書き込むためにはメインメモ
リ25へのアクセスが最低8回は必要となりデータ転送
のための初期設定に時間がかかり、データ転送を高速に
実行する上でのネックとなっていた。また、プログラム
実行中にデータ転送は頻繁に発生するため、データ転送
が高速に行なえないことは、そのまま、プログラムの実
行速度を低下させる原因となっていた。
Problems to be Solved by the Invention In a conventional multiprocessor system, each time data is transferred, an arbitrary
It was necessary to read out the bit data 26 and write that data into the mask register 23. Therefore, for example, consider the case where the first bus 201 is 32 bits wide and the number n of slave processors 241 to 24H is 256.
In order to write data to the mask register, access to the main memory 25 is required at least eight times, and initial settings for data transfer take time, which is a bottleneck in performing data transfer at high speed. Furthermore, since data transfer occurs frequently during program execution, the inability to perform data transfer at high speed directly causes a reduction in program execution speed.

本発明は、かかる点に鑑みてなされたもので、簡単な処
理でデータ転送を行うマルチプロセッサシステムを提供
するものである。
The present invention has been made in view of this point, and provides a multiprocessor system that transfers data through simple processing.

問題点を解決するための手段 本発明は、ホストプロセッサと、このホストプロセッサ
に結合された第1のバスと、この第1のバスに結合され
たデータ転送手段と、このデータ転送手段に結合された
第2のバスと、この第2のバスに結合されたn個のスレ
ーブプロセッサと、このn個のスレーブプロセッサにセ
レクト信号全供給し且つnビットのデータを複数個格納
するマスクメモリと、このマスクメモリ内のデコーダに
アドレス信号を供給するレジスタとを有し、このレジス
タは前記第1のバスに結合され、前記レジスタが前記デ
ータ転送手段にデータ転送手段制御信号を供給し、前記
レジスタが前記n個のスレーブプロセッサにスレーブプ
ロセッサ制御信号を供給することを特徴とするマルチプ
ロセッサシステムである。
SUMMARY OF THE INVENTION The present invention provides a host processor, a first bus coupled to the host processor, data transfer means coupled to the first bus, and data transfer means coupled to the data transfer means. a second bus connected to the second bus, n slave processors connected to the second bus, a mask memory that supplies all select signals to the n slave processors and stores a plurality of n-bit data; a register for providing an address signal to a decoder in the mask memory, the register being coupled to the first bus, the register providing a data transfer means control signal to the data transfer means; This is a multiprocessor system characterized by supplying slave processor control signals to n slave processors.

作用 マスクメモリには、nビットデータが複数個格納されて
おり、そのアドレスをデータ転送モードとともにレジス
タに書き込むだけで任意のnビットデータを設定するこ
とができるため、レジスタに必要なデータを書き込むと
いう簡単な操作で、データ転送の初期設定を行うことが
可能である。
The effect mask memory stores multiple pieces of n-bit data, and any n-bit data can be set simply by writing the address together with the data transfer mode to the register. Initial settings for data transfer can be made with simple operations.

また、データ転送手段を第1.第2のバス間に設けてい
るので、第1のバスと第2のバスとの間でデータ転送速
度が違っても、それを無視してバス間のデータ転送を行
うことができる。
Moreover, the data transfer means is the first. Since it is provided between the second buses, even if the data transfer speeds are different between the first bus and the second bus, data transfer between the buses can be performed while ignoring this difference.

実施例 第1図は、本発明の一実施例のブロック図である。ホス
トプロセッサ1oが接続されている第1のバス101に
データ転送手段11の第1の入出力端子とレジスタ12
の入出力端子が接続され、n個のスレーブプロセッサ1
41〜14nが接続する第2のデータバスにデータ転送
手段11の第2の入出力端子が接続されている。
Embodiment FIG. 1 is a block diagram of an embodiment of the present invention. The first input/output terminal of the data transfer means 11 and the register 12 are connected to the first bus 101 to which the host processor 1o is connected.
input/output terminals are connected, and n slave processors 1
A second input/output terminal of the data transfer means 11 is connected to a second data bus to which the data transfer means 41 to 14n are connected.

マスクメモリ13はROMあるいはRAMで構成され、
nビットのデータが複数個格納できるもので、ROMの
場合であれば、必要とされるようなnとットデータを任
意の数だけあらかじめコーディングしておき、RAMの
場合であれば、プログラム実行前に必要なnビットデー
タを任意の数だけ書き込んでおく。例えばnビットデー
タ16の個数を256個とした場合でも、マスクメモリ
13のアドレスは8ビツトしか必要とされず、レジスタ
12に書き込む情報量の増加は少なくて済む。
The mask memory 13 is composed of ROM or RAM,
A device that can store multiple pieces of n-bit data.In the case of ROM, an arbitrary number of n-bit data as required is coded in advance, and in the case of RAM, it is coded before program execution. Write an arbitrary number of necessary n-bit data. For example, even if the number of n-bit data 16 is 256, only 8 bits are required for the address of the mask memory 13, and the increase in the amount of information written to the register 12 is small.

次に本発明によるマルチプロセッサシステムにおけるデ
ータ転送制御を説明する。このマルチプロセッサシステ
ムでは、データ転送の制御はホストプロセッサ10のみ
が行い、スレーブプロセッサ141〜14nはそれに従
う。まず、ホストプロセッサ10がレジスタ12に転送
モード及びマスクメモリの任意のアドレスを書き込む。
Next, data transfer control in the multiprocessor system according to the present invention will be explained. In this multiprocessor system, only the host processor 10 controls data transfer, and the slave processors 141 to 14n follow it. First, the host processor 10 writes the transfer mode and an arbitrary address of the mask memory into the register 12.

ここで書き込んだ転送モードで、転送方向、転送データ
の種類等が設定され、この内容に応じてデータ転送手段
制御信号106とスレーブプロセッサ制御信号106が
設定される。同時にマスクメモリ13からは、レジスタ
12に書き込まれたアドレスに対するnビットデータ1
6が読み出され、このnビットデータ1eをそのままス
レーブプロセッサセレクト信号104として使用する。
In the transfer mode written here, the transfer direction, the type of transfer data, etc. are set, and the data transfer means control signal 106 and slave processor control signal 106 are set according to the contents. At the same time, from the mask memory 13, n-bit data 1 corresponding to the address written in the register 12 is output.
6 is read out, and this n-bit data 1e is used as it is as the slave processor select signal 104.

以上で、データ転送のための初期設定が終わり、データ
転送を開始する。
This completes the initial settings for data transfer, and starts data transfer.

ここで、例えば、スレーブプロセッサ141〜14nの
個数nが266で、バス幅が32ビツトの場合、データ
転送のための初期設定を行うのに従来技術では最低8回
メインメモリにアクセスしなければならないが(32ビ
ット×8回=256ビツト)、本実施例によれば、レジ
スタ12にアドレスを1回書き込むという操作だけで、
同等のことを行うことができる。また、レジスタ12に
書き込むアドレスの幅は、256個のnビットデータを
マスクメモリに格納しているとした場合でも、たかだか
8ビツトであり、レジスタ12に書き込む情報量をあま
り増加きせなくてすむ。
Here, for example, if the number n of slave processors 141 to 14n is 266 and the bus width is 32 bits, in the conventional technology, the main memory must be accessed at least eight times to perform initial settings for data transfer. (32 bits x 8 times = 256 bits), but according to this embodiment, just by writing the address to the register 12 once,
You can do the same thing. Further, the width of the address written to the register 12 is at most 8 bits even if 256 n-bit data are stored in the mask memory, so the amount of information written to the register 12 does not need to be increased much.

従って、本実施によれば、従来技術では、データ転送の
度に何度もメインメモリをアクセスして行なっていた初
期設定を、レジスタ12にマスクメモリ13のアドレス
を書き込むだけという簡単な操作で行うことができる。
Therefore, according to this implementation, initial settings, which in the prior art required accessing the main memory many times each time data is transferred, can be performed with a simple operation of simply writing the address of the mask memory 13 in the register 12. be able to.

なお、データ転送手段にFIFOメそりあるいはデュア
ルポートメモリを使用すれば、データ転送時に、ホスト
プロセッサ間で同期をとる必要がなく、独立にデータ転
送を行うことができる。また、データ転送手段11を単
純なバススイッチとすれば第1のバスと第2のバスとを
1つのバスとみることができ、DMムあるいは同期をと
ってデータ転送を行うことができる。
Note that if a FIFO memory or dual port memory is used as the data transfer means, there is no need for synchronization between host processors during data transfer, and data transfer can be performed independently. Further, if the data transfer means 11 is a simple bus switch, the first bus and the second bus can be regarded as one bus, and data transfer can be performed in DM mode or in synchronization.

発明の効果 以上の説明から明らかなように、本発明によるマルチプ
ロセッサシステムでは、データ転送の際の初期設定を簡
単な処理により行うことができ、データ転送の初期設定
に必要な設定時間が大きいことによる、プログラム実行
速度の低下を防ぐことができる。
Effects of the Invention As is clear from the above explanation, in the multiprocessor system according to the present invention, initial settings for data transfer can be performed through simple processing, and the setting time required for initial settings for data transfer is large. It is possible to prevent the program execution speed from decreasing due to

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

第1図は、本発明の一実施例におけるマルチプロセッサ
システムのブロック図、第2図は従来の技術におけるマ
ルチプロセッサシステムのブロック図である。 1o・・・・・・ホストプロセッサ、11・・・・・・
データ転送手段、12・・・・・・レジスタ、13・・
・・・・マスクメモリ、16・・・・・・デコーダー、
16・・・・・・nビットデータ、1o1・・・・・・
第1のバス、102・・・・・・第2のノ(ス、103
・・・・・・マスクメモリアドレス信号、105・・・
・・・データ転送手段制御信号、106・・・・・・ス
レーブプロセッサセレクト信号、141〜14n・・・
・・・スレーブプロセッサ。
FIG. 1 is a block diagram of a multiprocessor system according to an embodiment of the present invention, and FIG. 2 is a block diagram of a multiprocessor system according to the prior art. 1o...Host processor, 11...
Data transfer means, 12...Register, 13...
...Mask memory, 16...Decoder,
16...n bit data, 1o1...
First bus, 102...Second bus, 103
...Mask memory address signal, 105...
...Data transfer means control signal, 106...Slave processor select signal, 141 to 14n...
...Slave processor.

Claims (1)

【特許請求の範囲】[Claims] ホストプロセッサと、このホストプロセッサに結合され
た第1のバスと、この第1のバスに結合されたデータ転
送手段と、このデータ転送手段に結合された第2のバス
と、この第2のバスに結合されたn個のスレーブプロセ
ッサと、このn個のスレーブプロセッサにセレクト信号
を供給し且つnビットのデータを複数個格納するマスク
メモリと、このマスクメモリ内のデコーダにアドレス信
号を供給するレジスタとを有し、このレジスタは前記第
1のバスに結合され、前記レジスタが前記データ転送手
段にデータ転送手段制御信号を供給し前記レジスタが前
記n個のスレーブプロセッサにスレーブプロセッサ制御
信号を供給することを特徴とするマルチプロセッサシス
テム。
a host processor, a first bus coupled to the host processor, a data transfer means coupled to the first bus, a second bus coupled to the data transfer means, and a second bus coupled to the first bus; n slave processors coupled to the n slave processors, a mask memory that supplies select signals to the n slave processors and stores a plurality of n-bit data, and a register that supplies address signals to decoders in the mask memory. and a register coupled to the first bus, the register providing a data transfer means control signal to the data transfer means, and the register providing a slave processor control signal to the n slave processors. A multiprocessor system characterized by:
JP7774087A 1987-03-31 1987-03-31 Multiprocessor system Pending JPS63244255A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7774087A JPS63244255A (en) 1987-03-31 1987-03-31 Multiprocessor system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7774087A JPS63244255A (en) 1987-03-31 1987-03-31 Multiprocessor system

Publications (1)

Publication Number Publication Date
JPS63244255A true JPS63244255A (en) 1988-10-11

Family

ID=13642302

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7774087A Pending JPS63244255A (en) 1987-03-31 1987-03-31 Multiprocessor system

Country Status (1)

Country Link
JP (1) JPS63244255A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6020273A (en) * 1983-07-15 1985-02-01 Fujitsu Ltd Data transfer system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6020273A (en) * 1983-07-15 1985-02-01 Fujitsu Ltd Data transfer system

Similar Documents

Publication Publication Date Title
US5226134A (en) Data processing system including a memory controller for direct or interleave memory accessing
JP2001084229A (en) Simd-type processor
US20030126404A1 (en) Data processing system, array-type processor, data processor, and information storage medium
JPS6113268B2 (en)
JPS63244255A (en) Multiprocessor system
US4618946A (en) Dual page memory system having storage elements which are selectively swapped between the pages
US4916601A (en) Means for transferring firmware signals between a control store and a microprocessor means through a reduced number of connections by transfer according to firmware signal function
JPH02132543A (en) Information processor
JPH0414438B2 (en)
JPS63307529A (en) Inter-arithmetic processing unit communication control system
EP0264740A2 (en) Time partitioned bus arrangement
JPH05120207A (en) Data transfer system
EP0927935A1 (en) Memory structure with groups of memory banks and serializing means
JPS593776B2 (en) Communication method in multi-microprocessor system
JPS62251829A (en) Symbolic processing system and method
JPH02224041A (en) Cache memory control circuit
JPS63178320A (en) Multiwindow display device
JPH01142849A (en) Subscriber's line signal device
JPS63259746A (en) Inter-bank-memory data transmission system
JPH0316652B2 (en)
JPH09128233A (en) Central processing unit
JPH04245556A (en) Instruction memory
JPH03276344A (en) Data writing system to memory
JPH01233515A (en) Information processor
JPH04104355A (en) Multi-processing system