JPH04357548A - multiprocessor - Google Patents

multiprocessor

Info

Publication number
JPH04357548A
JPH04357548A JP3231673A JP23167391A JPH04357548A JP H04357548 A JPH04357548 A JP H04357548A JP 3231673 A JP3231673 A JP 3231673A JP 23167391 A JP23167391 A JP 23167391A JP H04357548 A JPH04357548 A JP H04357548A
Authority
JP
Japan
Prior art keywords
processor
data
slave
idm
processing unit
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
JP3231673A
Other languages
Japanese (ja)
Inventor
Toshiyuki Araki
敏之 荒木
Kunitoshi Aono
邦年 青野
Maki Toyokura
真木 豊蔵
Akihiko Otani
昭彦 大谷
Hisashi Kodama
久 児玉
Kiyoshi Okamoto
岡本 潔
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 JP3231673A priority Critical patent/JPH04357548A/en
Publication of JPH04357548A publication Critical patent/JPH04357548A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、画像データ処理等に用
いられる、データメモリを内蔵したプロセッサを複数個
用いたマルチプロセッサに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multiprocessor that uses a plurality of processors each having a built-in data memory and is used for image data processing and the like.

【0002】0002

【従来の技術】図10に従来のマルチプロセッサの構成
の概念を示す。図10(a)は、チップの内部に中央処
理装置(ICPU)602及びデータメモリ(IDM)
603を有しているプロセッサ601と、もう1つのプ
ロセッサ604とが共有メモリバス605を介して共有
メモリ606に対してお互いにアクセスを行うマルチプ
ロセッサを示す。このマルチプロセッサにおけるプロセ
ッサ間のデータ転送を行う場合は、例えば中央処理装置
(ICPU)602が、データメモリ(IDM)603
のデータを共有メモリ606へデータ転送を行い、プロ
セッサ604がその共有メモリ606のデータを読み取
ることになる。
2. Description of the Related Art FIG. 10 shows the concept of the configuration of a conventional multiprocessor. FIG. 10(a) shows a central processing unit (ICPU) 602 and a data memory (IDM) inside the chip.
A multiprocessor is shown in which a processor 601 having a processor 603 and another processor 604 mutually access a shared memory 606 via a shared memory bus 605 . When transferring data between processors in this multiprocessor, for example, the central processing unit (ICPU) 602 transfers data to the data memory (IDM) 603.
data is transferred to the shared memory 606, and the processor 604 reads the data from the shared memory 606.

【0003】また、図10(b)は、チップ内部に中央
処理装置(ICPU)612、データメモリ(IDM)
613及びDMA(direct memory ac
cess)回路614を有しているプロセッサ611と
、もう1つのプロセッサ615とが共有メモリバス61
6を介して共有メモリ617に対してお互いにアクセス
を行うマルチプロセッサである。このマルチプロセッサ
におけるプロセッサ間のデータ転送は、プロセッサ61
1内部にDMA回路614を有しているので、プロセッ
サ611が行うデータメモリ(IDM)613に対する
データの入出力は、このDMA回路614を用いること
になる。
FIG. 10(b) also shows a central processing unit (ICPU) 612 and a data memory (IDM) inside the chip.
613 and DMA (direct memory ac
A processor 611 having a cess) circuit 614 and another processor 615 are connected to a shared memory bus 61.
This is a multiprocessor that mutually accesses the shared memory 617 via 6. Data transfer between processors in this multiprocessor is performed by the processor 61.
Since the processor 611 has a DMA circuit 614 inside it, this DMA circuit 614 is used for data input/output to/from the data memory (IDM) 613 performed by the processor 611 .

【0004】すなわち、図11は、図10(b)におけ
る従来のプロセッサ701(611)の概念図である。 このプロセッサ701は、各種演算器、レジスタ、シー
ケンサ、命令解析回路等を備えた中央演算処理装置(I
CPU)702(612)のメモリバス703にデータ
メモリ(IDM)704(613)とDMA装置705
(614)が接続されている。またメモリバス703は
外部メモリポート706を介してチップ外部のメモリデ
バイスをもアクセスできる。このプロセッサ701にお
けるデータメモリ(IDM)704に対するデータの入
出力は、そのデータ量が多いとき通常DMA装置705
を用いて行う。
That is, FIG. 11 is a conceptual diagram of the conventional processor 701 (611) shown in FIG. 10(b). This processor 701 is a central processing unit (I) equipped with various arithmetic units, registers, sequencers, instruction analysis circuits, etc.
A data memory (IDM) 704 (613) and a DMA device 705 are connected to the memory bus 703 of the CPU) 702 (612).
(614) is connected. The memory bus 703 can also access memory devices outside the chip via an external memory port 706. When the amount of data is large, input/output of data to/from a data memory (IDM) 704 in this processor 701 is normally performed by a DMA device 705.
This is done using

【0005】このデータ転送のやり方では、中央演算処
理装置(ICPU)702がDMA装置705に対して
、アドレス情報やデータ量情報を予め設定しておき、起
動命令を発すると、DMA装置705が独立してIDM
704に対するデータ転送を始める。そのデータ量が転
送され終わるとDMA装置705は中央演算処理装置(
ICPU)702に割り込みをかけて転送終了を知らせ
る。
[0005] In this data transfer method, a central processing unit (ICPU) 702 sets address information and data amount information in advance for the DMA device 705, and when a startup command is issued, the DMA device 705 becomes independent. and IDM
Data transfer to 704 begins. When the amount of data has been transferred, the DMA device 705 transfers the data to the central processing unit (
702 to notify the end of the transfer.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上記の
ようなマルチプロセッサでは、個々のプロセッサ内部で
生成されたデータをプロセッサ間転送を行う場合は、プ
ロセッサ外部の共有メモリに一旦書き出し、それから読
み込むこととなり、従ってこの共有メモリにデータを転
送する時間がかかるし、共有メモリバスを構築しなけれ
ばならなくなるので周辺回路が大きくなるという課題が
ある。
[Problem to be Solved by the Invention] However, in the above-described multiprocessor, when data generated within each processor is transferred between processors, it must be written to a shared memory outside the processor and then read. Therefore, it takes time to transfer data to this shared memory, and since a shared memory bus must be constructed, there is a problem that the peripheral circuitry becomes large.

【0007】請求項1の本発明(以後第1の発明という
)は、このような従来のマルチプロセッサの課題を考慮
し、共有メモリへデータを転送する時間をなくし、ハー
ドウェアの削減をも実現するマルチプロセッサを提供す
ることを目的とする。
The present invention of claim 1 (hereinafter referred to as the first invention) takes into consideration the problems of conventional multiprocessors, eliminates the time required to transfer data to a shared memory, and also realizes a reduction in hardware. The purpose is to provide a multiprocessor that can

【0008】また、請求項2の本発明(以後第2の発明
という)は、プロセッサ内部のメモリを外部から自らの
メモリとしてアクセスを可能とするマルチプロセッサを
実現することを目的とする。
Another object of the present invention (hereinafter referred to as the second invention) is to realize a multiprocessor that can access the internal memory of the processor from the outside as its own memory.

【0009】また、請求項3の本発明(以後第3の発明
という)は、ある膨大なデータを情報処理するアプリケ
ーションプログラムにおいて、データを分割して並列処
理可能なとき等で、そのプロセッサ間のデータ転送に要
する時間を削減し、且つ共有メモリを必要としなくする
ことで、ハードウェアの削減するマルチプロセッサを提
供することを目的とする。
[0009] The present invention as claimed in claim 3 (hereinafter referred to as the third invention) is an application program that processes a huge amount of data, when the data can be divided and processed in parallel. The purpose of the present invention is to provide a multiprocessor that requires less hardware by reducing the time required for data transfer and eliminating the need for shared memory.

【0010】また、請求項4の本発明(以後第4の発明
という)は、データを情報処理するアプリケーションプ
ログラムにおいて、その情報処理が、ある特定の処理が
時間的にパイプライン並列処理可能なときなどで、その
プロセッサ間のデータ転送に要する時間を削減し、且つ
、共有メモリを不必要とすることで、ハードウェアの削
減するマルチプロセッサを提供することを目的とする。
[0010]Furthermore, the present invention as claimed in claim 4 (hereinafter referred to as the fourth invention) is an application program for information processing data, when the information processing can be performed in pipeline parallel processing in terms of time. The present invention aims to provide a multiprocessor that requires less hardware by reducing the time required for data transfer between processors and by eliminating the need for a shared memory.

【0011】[0011]

【課題を解決するための手段】第1の発明は、通常は中
央処理装置(ICPU)がデータメモリ(IDM)への
アクセス権を占有しており、中央処理装置(ICPU)
の自らの命令でデータメモリ(IDM)へのアクセス権
を放棄するか、または他の中央処理装置(ECPU)が
データメモリ(IDM)への強制アクセス権獲得信号を
中央処理装置(ICPU)に送出することによって、デ
ータメモリ(IDM)へのアクセス権が他の中央処理装
置(ECPU)に委譲されるマルチプロセッサである。
[Means for Solving the Problems] In the first invention, the central processing unit (ICPU) usually occupies the access right to the data memory (IDM), and the central processing unit (ICPU)
relinquish the right to access the data memory (IDM) by its own command, or another central processing unit (ECPU) sends a signal to the central processing unit (ICPU) to forcibly acquire the right to access the data memory (IDM). This is a multiprocessor in which access rights to the data memory (IDM) are delegated to other central processing units (ECPUs).

【0012】第2の発明は、中央処理装置(ICPU)
から及びプロセッサ外部からとのデータメモリ(IDM
)に対してのアクセスを可能とするアドレス線とデータ
線を切り替える選択手段と、選択手段を制御する制御手
段とを備え、通常は制御手段は、中央処理装置(ICP
U)がデータメモリ(IDM)へのアクセス権を占有す
るマスタモードとなるように選択手段を制御し、プロセ
ッサ外部によりプロセッサの特定の端子に強制アクセス
権獲得信号が付加されるか、または中央処理装置(IC
PU)が有するアクセス権委譲命令が実行されるかによ
って、制御手段は、データメモリ(IDM)へのアクセ
ス権が前記プロセッサ外部へ委譲されるスレーブモード
となるように選択手段を制御し、プロセッサ外部から、
中央処理装置(ICPU)の特定の端子に、マスタモー
ド遷移信号が付加されることによって、中央処理装置(
ICPU)はマスターモードに状態遷移するプロセッサ
である。
[0012] The second invention is a central processing unit (ICPU)
data memory (IDM) from and external to the processor.
), and a control means for controlling the selection means. Usually, the control means is a central processing unit (ICP).
U) controls the selection means so that it is in the master mode that occupies the access right to the data memory (IDM), and a forced access right acquisition signal is added to a specific terminal of the processor from outside the processor, or a central processing Device (IC
Depending on whether an access right transfer command possessed by the processor (PU) is executed, the control means controls the selection means to enter a slave mode in which the access right to the data memory (IDM) is delegated to the outside of the processor. from,
By adding a master mode transition signal to a specific terminal of the central processing unit (ICPU), the central processing unit (ICPU)
ICPU) is a processor whose state transitions to master mode.

【0013】第3の発明は、複数個のプロセッサを用い
るマルチプロセッサにおいて、プロセッサ間のデータ転
送を行う場合、マルチプロセッサを構成する特定のプロ
セッサをデータ転送を司るプロセッサ  (マスタプロ
セッサ)とし、転送相手となるプロセッサ(スレーブプ
ロセッサ)を請求項2記載のスレーブモードの状態にし
、スレーブプロセッサに内蔵されているデータメモリを
マスタプロセッサのアドレス空間に配置することで、マ
スタプロセッサとスレーブプロセッサ間、スレーブプロ
セッサ間同士とのデータ転送はマスタプロセッサ自身の
アドレス空間上でデータ移動を行うことで実現し、デー
タ転送終了後マスタプロセッサはスレーブプロセッサを
請求項2のマスタモードに状態遷移させ、スレーブプロ
セッサは転送されてきたデータに対して処理を実行する
マルチプロセッサである。
[0013] In a multiprocessor using a plurality of processors, when data is transferred between processors, a specific processor constituting the multiprocessor is designated as a processor (master processor) in charge of data transfer, and a transfer partner is By putting the processor (slave processor) in the slave mode according to claim 2, and arranging the data memory built into the slave processor in the address space of the master processor, communication between the master processor and the slave processor, and between the slave processors is achieved. Data transfer between the two processors is realized by moving data in the master processor's own address space, and after the data transfer is completed, the master processor transitions the slave processor to the master mode of claim 2, and the slave processor receives the transferred data. A multiprocessor that executes processing on stored data.

【0014】第4の発明は、第2の発明のプロセッサを
複数個用いたマルチプロセッサにおいて、マルチプロセ
ッサを構成する第1のプロセッサのアドレス空間に第2
のプロセッサ内のデータメモリが配置され、第2のプロ
セッサのアドレス空間に第3のプロセッサ内のデータメ
モリが配置され、第1と第2のプロセッサ間のデータ転
送を行う場合、第1のプロセッサを請求項2のマスタモ
ードで動作させるマスタプロセッサとし、転送相手とな
る第2のプロセッサを請求項2のスレーブモードで動作
させるスレーブプロセッサとし、第1のプロセッサと第
2のプロセッサ間のデータ転送は、第1のプロセッサが
自身のアドレス空間上でデータ移動を行うことで実現し
、データ転送終了後マスタプロセッサはスレーブプロセ
ッサを請求項2でいうマスタモードに状態遷移させ、ス
レーブプロセッサは転送されてきたデータに対して処理
を実行し、また第2と第3のプロセッサ間のデータ転送
を行う場合、第2のプロセッサを第2の発明のマスタプ
ロセッサとしてマスタモードで動作させ、転送相手とな
る第3のプロセッサを第2の発明のスレーブプロセッサ
としてスレーブモードで動作させ、第2のプロセッサと
第3のプロセッサ間のデータ転送は、第2のプロセッサ
が自身のアドレス空間上でデータ移動を行うことで実現
し、データ転送終了後第2のプロセッサは第3のプロセ
ッサを請求項2でいうマスタモードに状態遷移させ、第
3のプロセッサは転送されてきたデータに対して処理を
実行するマルチプロセッサである。
[0014] A fourth invention is a multiprocessor using a plurality of processors according to the second invention, in which a second
When the data memory in the third processor is arranged in the address space of the second processor and the data memory in the third processor is arranged in the address space of the second processor, and data transfer between the first and second processors is performed, The master processor operates in the master mode of claim 2, and the second processor to be transferred is the slave processor that operates in the slave mode of claim 2, and the data transfer between the first processor and the second processor is as follows: This is realized by the first processor moving data in its own address space, and after the data transfer is completed, the master processor transitions the slave processor to the master mode as defined in claim 2, and the slave processor transfers the transferred data. When performing processing on the second invention and transferring data between the second and third processors, the second processor is operated in master mode as the master processor of the second invention, and the third processor, which is the transfer partner, is operated in master mode. The processor is operated in slave mode as the slave processor of the second invention, and data transfer between the second processor and the third processor is realized by the second processor moving data in its own address space. After the data transfer is completed, the second processor causes the third processor to enter the master mode, and the third processor is a multiprocessor that executes processing on the transferred data.

【0015】[0015]

【作用】第1の発明では、プロセッサ内部のデータメモ
リのアクセス権委譲により、外部のプロセッサ自身のメ
モリとして扱えるので、共有メモリへのデータを転送す
る時間をなくし、ハードウェアの削減をも実現する。
[Operation] In the first invention, by delegating access rights to the data memory inside the processor, it can be treated as the external processor's own memory, thereby eliminating the time required to transfer data to the shared memory and reducing the amount of hardware required. .

【0016】第2の発明では、プロセッサ内部のメモリ
を外部から自身のメモリとしてアクセスを可能とする回
路を実現する。
[0016] In the second invention, a circuit is realized which allows the memory inside the processor to be accessed from the outside as its own memory.

【0017】第3の発明では、ある膨大なデータを情報
処理するアプリケーションにおいて、データを分割して
並列処理可能なとき、そのプロセッサ間のデータ転送に
要する時間を削減し、且つ、共有メモリを必要としなく
することでハードウェアを削減する。
[0017] In the third invention, in an application that processes a huge amount of data, when the data can be divided and processed in parallel, the time required for data transfer between the processors can be reduced, and the shared memory is not required. By eliminating the need for hardware.

【0018】第4の発明では、データを情報処理するア
プリケーションにおいて、その情報処理が、ある特定の
処理が時間的にパイプライン並列処理可能なとき、その
プロセッサ間のデータ転送に要する時間を削減し、且つ
、共有メモリを不必要とする。
[0018] In the fourth invention, in an application that processes data, when a specific process can be processed in parallel in terms of pipeline processing, the time required for data transfer between the processors is reduced. , and eliminates the need for shared memory.

【0019】[0019]

【実施例】以下に本発明の実施例を図面を参照して説明
する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Examples of the present invention will be described below with reference to the drawings.

【0020】図1に、第1の発明によるマルチプロセッ
サの構成の概念を示す。このマルチプロセッサは、内部
に中央処理装置(ICPU)102及び数kwあるいは
それ以上の大容量のDRAM、SRAM等から構成され
るデータメモリ(IDM)103を内蔵したプロセッサ
101と、プロセッサ(ECPU)104と、外部メモ
リ105と、それらを接続するメモリバス106とを備
えている。前記プロセッサ(ECPU)104のメモリ
空間上に、後述するように、外部メモリ105と前記デ
ータメモリ(IDM)103の双方を配置することが出
来る。
FIG. 1 shows the concept of the configuration of a multiprocessor according to the first invention. This multiprocessor consists of a processor 101 which internally includes a central processing unit (ICPU) 102 and a data memory (IDM) 103 consisting of a large capacity DRAM, SRAM, etc. of several kilowatts or more, and a processor (ECPU) 104. , an external memory 105, and a memory bus 106 connecting them. Both an external memory 105 and the data memory (IDM) 103 can be placed in the memory space of the processor (ECPU) 104, as will be described later.

【0021】このマルチプロセッサでは、データメモリ
(IDM)103に対するアクセス権は、中央処理装置
(ICPU)102は勿論、プロセッサ(ECPU)1
04も有している。そして通常は、中央処理装置(IC
PU)102が前記データメモリ(IDM)103への
アクセス権を占有しており、データメモリ(IDM)1
03に対するアクセス権のプロセッサ(ECPU)10
4への委譲は、中央処理装置(ICPU)102から出
力されるアクセス権委譲命令を実行するか、またはプロ
セッサ(ECPU)104が強制アクセス権獲得信号を
プロセッサ101に送出するかにより実現されるように
なっている。後に詳しく述べる。
In this multiprocessor, access rights to the data memory (IDM) 103 are granted not only to the central processing unit (ICPU) 102 but also to the processor (ECPU) 1.
It also has 04. and typically a central processing unit (IC)
PU) 102 has exclusive access rights to the data memory (IDM) 103, and the data memory (IDM) 1
Processor (ECPU) 10 with access rights to 03
4 is realized by executing an access right transfer instruction output from the central processing unit (ICPU) 102, or by the processor (ECPU) 104 sending a forced access right acquisition signal to the processor 101. It has become. I will discuss this in detail later.

【0022】なお、中央処理装置(ICPU)102が
データメモリ(IDM)103へのアクセス権を占有し
ている状態は、プロセッサ外部に端子等を用いて示すよ
うになっている。そしてプロセッサ(ECPU)104
によるデータメモリ(IDM)103へのアクセスは、
後に詳しく述べるように前述の端子の状態を判断して行
う。
Note that the state in which the central processing unit (ICPU) 102 has exclusive access rights to the data memory (IDM) 103 is indicated using a terminal or the like external to the processor. and processor (ECPU) 104
Access to the data memory (IDM) 103 by
This is done by determining the state of the terminals mentioned above, as will be described in detail later.

【0023】なお、中央処理装置(ICPU)102が
データメモリ(IDM)103へのアクセス権を委譲し
ている間、中央処理装置(ICPU)102がデータメ
モリ(IDM)103以外の資源を使用する命令の実行
を行うことは許される。図2、図3、図4に、第1の発
明におけるマルチプロセッサのIDM103へのアクセ
スの制御をフロー図で示す。
Note that while the central processing unit (ICPU) 102 is delegating the access right to the data memory (IDM) 103, the central processing unit (ICPU) 102 uses resources other than the data memory (IDM) 103. It is permissible to execute the command. 2, 3, and 4 are flowcharts showing control of access to the IDM 103 by a multiprocessor in the first invention.

【0024】図2のTYPE−1は、ICPU102が
IDM103へのアクセス権を獲得していて、ICPU
102自身が自らのアクセス権委譲命令を実行し、その
後プロセッサ101の外部端子(IDM103のアクセ
ス権の状態を示す端子)を確認し、アクセス権が委譲さ
れていればECPU104がIDM103のアクセスを
行う場面である。
In TYPE-1 of FIG. 2, the ICPU 102 has acquired access rights to the IDM 103, and the
102 executes its own access right transfer command, then checks the external terminal of the processor 101 (terminal indicating the access right status of the IDM 103), and if the access right is delegated, the ECPU 104 accesses the IDM 103. It is.

【0025】図3、図4のTYPE−2、TYPE−3
は、ICPU102がIDM103へのアクセス権を獲
得している最中に、ECPU104がIDM103をア
クセスする場面である。
TYPE-2 and TYPE-3 in FIGS. 3 and 4
This is a scene in which the ECPU 104 accesses the IDM 103 while the ICPU 102 is acquiring access rights to the IDM 103.

【0026】TYPE−2は、ICPU102がアクセ
ス権を委譲するまで、ハードウエアまたはソフトウエア
による制御で、ECPU104のIDM103へのアク
セスを待機し、ICPU102がアクセス権委譲命令を
実行して、アクセス権を放棄した後にIDM103への
アクセスを行う方法である。ハードウエアまたはソフト
ウエアによる制御は、プロセッサ101の外部端子(I
DM103のアクセス権の状態を示す端子)により行わ
れる。
[0026] TYPE-2 waits for the ECPU 104 to access the IDM 103 under hardware or software control until the ICPU 102 delegates the access right, and then the ICPU 102 executes the access right transfer instruction and transfers the access right. This is a method of accessing the IDM 103 after abandoning it. Control by hardware or software is performed via an external terminal (I) of the processor 101.
(terminal indicating the access right status of the DM 103).

【0027】TYPE−3は、ECPU104がICP
U102に対して強制的にアクセス権を委譲させること
でアクセス権を獲得して、IDM103へのアクセスを
行う制御である。この制御は、ECPUが強制アクセス
権獲得信号をプロセッサ101に送出し、プロセッサ1
01内のICPU102は、IDM103へのアクセス
権を一時放棄し、その状態をプロセッサ101の外部端
子(IDM103のアクセス権の状態を示す端子)によ
り、ECPU104に知らせる。ECPU104は、前
記外部端子の状態を確認した後、IDM103のアクセ
スを行い、その後一時獲得されていたIDM103のア
クセス権を放棄し、ICPU102がIDM103のア
クセス権を再獲得して処理を続行する。
[0027] In TYPE-3, the ECPU 104
This is a control for acquiring access rights by forcibly delegating the access rights to U102 and accessing the IDM 103. This control is performed by the ECPU sending a forced access right acquisition signal to the processor 101.
The ICPU 102 in the IDM 103 temporarily relinquishes the access right to the IDM 103 and notifies the ECPU 104 of the status through an external terminal of the processor 101 (a terminal indicating the status of the access right of the IDM 103). After confirming the state of the external terminal, the ECPU 104 accesses the IDM 103, then relinquishes the temporarily acquired access right to the IDM 103, and the ICPU 102 reacquires the access right to the IDM 103 to continue processing.

【0028】以上のようなマルチプロセッサにおける、
プロセッサ間のデータ転送は、データメモリ(IDM)
103へのアクセス権の委譲を行うだけで実現されるこ
とになる。つまり、中央処理装置(ICPU)102で
情報処理されたデータをプロセッサ(ECPU)104
に渡すためには、中央処理装置(ICPU)102がプ
ロセッサ104へのアクセス権委譲命令を実行するだけ
で行え、また、プロセッサ(ECPU)104が、中央
処理装置(ICPU)102に対して情報処理されたデ
ータを転送する場合は、プロセッサ101に強制アクセ
ス権獲得信号を送出し、アクセス権委譲が成立すれば実
現したことになる。
In the above multiprocessor,
Data transfer between processors is performed using data memory (IDM)
This can be achieved by simply delegating access rights to 103. In other words, data processed by the central processing unit (ICPU) 102 is transferred to the processor (ECPU) 104.
The central processing unit (ICPU) 102 can simply execute an instruction to transfer access rights to the processor 104, and the processor (ECPU) 104 can transfer information processing to the central processing unit (ICPU) 102. In the case of transferring the transferred data, a forced access right acquisition signal is sent to the processor 101, and if the access right transfer is established, the transfer of the access right is realized.

【0029】なお、プロセッサ104側の内蔵メモリに
対しても、データメモリ(IDM)103と同様に、プ
ロセッサ101側からアクセス出来るようにして、両プ
ロセッサ101、104を対等にすることも出来る。
Note that the built-in memory on the processor 104 side can also be accessed from the processor 101 side in the same way as the data memory (IDM) 103, so that both the processors 101 and 104 can be made equal.

【0030】図5に、第2の発明によるプロセッサの構
成を示す。プロセッサ201は、第1の発明のプロセッ
サ101を具体化したものであって、各種演算器、レジ
スタ、シーケンサ、命令解析回路等を備えた中央処理装
置(ICPU)202、データメモリ(IDM)203
、アドレス線とデータ線を切り替える選択回路204、
及びデータメモリ(IDM)203に対するアクセス権
の委譲を制御する制御回路205から構成されている。 その他は、図1の構成と同じである(図示省略)。
FIG. 5 shows the configuration of a processor according to the second invention. The processor 201 embodies the processor 101 of the first invention, and includes a central processing unit (ICPU) 202 including various arithmetic units, registers, a sequencer, an instruction analysis circuit, etc., and a data memory (IDM) 203.
, a selection circuit 204 that switches between address lines and data lines;
and a control circuit 205 that controls delegation of access rights to the data memory (IDM) 203. The rest is the same as the configuration in FIG. 1 (not shown).

【0031】このようなマルチプロセッサにおいては、
中央処理装置(ICPU)202は、データメモリ(I
DM)203へのアクセス権のプロセッサ外部への委譲
を実現するアクセス権委譲命令(ISLV命令)を実装
しており、中央処理装置(ICPU)202がデータメ
モリ(IDM)203へのアクセス権を占有している状
態(マスターモード)で、その中央処理装置(ICPU
)202が、データメモリ(IDM)203に対するア
クセス権委譲命令(ISLV命令)を出力すると、それ
は制御回路205に入力され、制御回路205は、選択
回路204をプロセッサ201の外部からの信号をデー
タメモリ(IDM)203に供給するように制御を行う
。すなわち、アドレス関連の204a、204b、書き
込み、読み取り情報関連の204c、データ関連の20
4dを外部向けに切換える。またその切換えが終了する
とプロセッサ201の外部にアクセス権が委譲されたこ
とを端子STを介して通知する。
[0031] In such a multiprocessor,
The central processing unit (ICPU) 202 has a data memory (I
DM) 203 is implemented to transfer the access right to the outside of the processor (ISLV instruction), and the central processing unit (ICPU) 202 occupies the access right to the data memory (IDM) 203. (master mode), its central processing unit (ICPU
) 202 outputs an access rights delegation instruction (ISLV instruction) for the data memory (IDM) 203, which is input to the control circuit 205, which in turn causes the selection circuit 204 to transfer the signal from outside the processor 201 to the data memory. (IDM) 203. That is, 204a and 204b related to addresses, 204c related to write and read information, and 20 related to data.
Switch 4d to external. Further, when the switching is completed, a notification that the access right has been delegated to the outside of the processor 201 is sent via the terminal ST.

【0032】また、プロセッサ201の外部から強制ア
クセス権獲得信号(ESLV/RUN=1)が付加され
ると、制御回路205は、中央処理装置(ICPU)2
02に対してその実行を一時停止させるか、または、デ
ータメモリ(IDM)203へのアクセスを禁止する。 その後制御回路205は、選択回路204を上述のよう
に制御して、プロセッサ201の外部からの信号をデー
タメモリ(IDM)203に供給するようにする(スレ
ーブモード)。またその切換えが終了するとプロセッサ
201の外部にアクセス権が委譲されたことを端子ST
を介して通知する。
Further, when a forced access right acquisition signal (ESLV/RUN=1) is added from outside the processor 201, the control circuit 205 controls the central processing unit (ICPU) 2.
02, or prohibits access to the data memory (IDM) 203. Thereafter, the control circuit 205 controls the selection circuit 204 as described above to supply a signal from outside the processor 201 to the data memory (IDM) 203 (slave mode). When the switching is completed, the terminal ST indicates that the access right has been transferred to an external party of the processor 201.
Notify via.

【0033】このような2つの要因で、アクセス権がプ
ロセッサ201の外部に委譲されているときに(スレー
ブモード)、その外部のプロセッサ104がマスタモー
ド遷移信号(ESLV/RUN=0)を出力すると、制
御回路205は、中央処理装置(ICPU)202から
の信号をデータメモリ203(IDM)に供給するよう
に選択回路204を制御する。すなわち、アドレス関連
の204a、204b、書き込み、読み取り情報関連の
204c、データ関連の204dを中央処理装置(IC
PU)202向けに切換える。またその切換えが終了す
ると、中央処理装置(ICPU)202にアクセス権が
委譲され、復帰したこと(マスターモード)を端子ST
を介して通知する。
Due to these two factors, when the access right is delegated to an external device of the processor 201 (slave mode), if the external processor 104 outputs a master mode transition signal (ESLV/RUN=0). , a control circuit 205 controls a selection circuit 204 to supply a signal from a central processing unit (ICPU) 202 to a data memory 203 (IDM). That is, 204a and 204b related to addresses, 204c related to write and read information, and 204d related to data are connected to the central processing unit (IC).
PU) Switch for 202. When the switching is completed, the access right is transferred to the central processing unit (ICPU) 202, and the return (master mode) is signaled to the terminal ST.
Notify via.

【0034】なお、スレーブモードにおける外部プロセ
ッサ104からのデータメモリ(IDM)203へのア
クセスの方法は、通常のメモリアクセスと同様に行う。 すなわち、プロセッサ104にとって、データメモリ(
IDM)203は、所定番目のメモリであることになる
。そのためにチップ選択信号端子CSを設けている。 上位アドレスをデコードしてこのチップ選択信号端子C
Sにそのデコード信号を接続すればよい。
In the slave mode, the external processor 104 accesses the data memory (IDM) 203 in the same way as normal memory access. That is, for the processor 104, the data memory (
IDM) 203 is a memory for a predetermined number. For this purpose, a chip selection signal terminal CS is provided. The upper address is decoded and this chip selection signal terminal C
The decoded signal may be connected to S.

【0035】なお、WE端子は読み取り、書き込み情報
のためのものである。
Note that the WE terminal is for reading and writing information.

【0036】また、さらに、上述のような制御を行うデ
ータメモリとその制御回路などを複数個内蔵するように
してもかまわない。
Furthermore, a plurality of data memories and their control circuits for performing the above-described control may be incorporated.

【0037】図6に、第3の発明によるマルチプロセッ
サの構成を示す。
FIG. 6 shows the configuration of a multiprocessor according to the third invention.

【0038】このマルチプロセッサは、マスタプロセッ
サ301と、2個のスレーブプロセッサ302、303
と、マスタプロセッサ301のアドレスバスの上位アド
レスのデコード回路及びデータメモリのアクセス権に関
する制御を行う制御回路304、305とにより構成さ
れている。
This multiprocessor includes a master processor 301 and two slave processors 302 and 303.
and control circuits 304 and 305 that control the decoding circuit for the upper address of the address bus of the master processor 301 and the access rights to the data memory.

【0039】このマルチプロセッサは、マスタプロセッ
サ301と2個のスレーブプロセッサ302、303に
よって並列処理を行うものである。スレーブプロセッサ
302、303は、上述した第2の発明のプロセッサで
構成され、データメモリを内蔵しており、そのデータメ
モリは、上述の制御方法でアクセス権をマスタプロセッ
サ301に委譲できるようになっている。スレーブプロ
セッサ302、303に内蔵されているデータメモリは
、それぞれ、図7のアドレス空間図に示すように、マス
タプロセッサ301のメモリ空間上にマッピングされて
いる。
This multiprocessor performs parallel processing using a master processor 301 and two slave processors 302 and 303. The slave processors 302 and 303 are composed of the processors according to the second invention described above, and have built-in data memory, and the data memory can have access rights delegated to the master processor 301 using the control method described above. There is. The data memories built into the slave processors 302 and 303 are each mapped onto the memory space of the master processor 301, as shown in the address space diagram of FIG.

【0040】上述のようなマルチプロセッサにおける並
列処理は、画像処理等のある膨大な入力データを情報処
理するアプリケーションにおいて、データを分割して並
列処理可能なとき、その分割されたデータにおける処理
をスレーブプロセッサ302、303に分担させる場合
に用いられる。
Parallel processing in a multiprocessor as described above is an application that processes a huge amount of input data such as image processing, and when data can be divided and processed in parallel, processing on the divided data is performed by a slave. This is used when the processors 302 and 303 share the task.

【0041】このマルチプロセッサを用いた並列処理お
ける処理の動作は次の通りである。
Processing operations in parallel processing using this multiprocessor are as follows.

【0042】分割されたデータをマスタプロセッサ30
1自身または自ら内蔵するDMA装置を用いて各スレー
ブプロセッサ302、303に内蔵されているデータメ
モリに配分しようとする。そこで、例えば、マスタプロ
セッサ301は、強制アクセス権獲得信号(ESLV/
RUN=1)をスレーブプロセッサ302、303へ送
出し、スレーブモードとする。その結果、スレーブプロ
セッサ302、303のデータメモリは、マスタプロセ
ッサ301のメモリとして扱えるので、最初から入力デ
ータをスレーブプロセッサ302、303のデータメモ
リに格納していくことができる。スレーブプロセッサ3
02、303のデータメモリ上に入力データが揃うと、
マスタプロセッサ301は、制御回路304、305を
介して、マスタモード遷移信号をスレーブプロセッサ3
02、303へ送る。それから、スレーブプロセッサ3
02、303は、アクセス権を回復し自らのデータメモ
リ上に存在する入力データに対する情報処理を夫々並列
実行する。その情報処理によって得られたデータは、デ
ータメモリ上に格納されるが、そこでスレーブプロセッ
サ302、303は、アクセス権委譲命令を実行し、S
T端子に通知する。マスタプロセッサ301は、制御回
路304、305を介して、その状態(ST端子)を監
視し、アクセス権委譲が成立(処理の終了)していれば
、マスタプロセッサ301は、スレーブプロセッサ30
2、303内のデータメモリに格納されている出力デー
タにアクセスする。このような処理を繰り返し行うこと
で、アプリケーションの実行を行う。また、上述のよう
にしてスレーブプロセッサ302、303の間のデータ
転送も行うことが出来る。
The divided data is sent to the master processor 30.
1 attempts to allocate data to the data memory built into each slave processor 302, 303 using its own DMA device or its own built-in DMA device. Therefore, for example, the master processor 301 sends a forced access right acquisition signal (ESLV/
RUN=1) is sent to slave processors 302 and 303 to set them in slave mode. As a result, the data memories of the slave processors 302 and 303 can be treated as the memories of the master processor 301, so input data can be stored in the data memories of the slave processors 302 and 303 from the beginning. slave processor 3
Once the input data is on the data memory of 02 and 303,
Master processor 301 transmits a master mode transition signal to slave processor 3 via control circuits 304 and 305.
Send to 02,303. Then slave processor 3
02 and 303 recover the access right and execute information processing in parallel on the input data existing on their own data memory. The data obtained by the information processing is stored on the data memory, where the slave processors 302 and 303 execute an access right transfer instruction and
Notify T terminal. The master processor 301 monitors its status (ST terminal) via the control circuits 304 and 305, and if the access right transfer is established (processing is completed), the master processor 301 transfers the status to the slave processor 30.
2. Access the output data stored in the data memory in 303. The application is executed by repeatedly performing such processing. Furthermore, data transfer between slave processors 302 and 303 can also be performed as described above.

【0043】図8に、第4の発明によるマルチプロセッ
サの構成を示す。
FIG. 8 shows the configuration of a multiprocessor according to the fourth invention.

【0044】このマルチプロセッサは、プロセッサ50
1〜503と、プロセッサ501、502のアドレスバ
スの上位アドレスのデコード回路及びデータメモリのア
クセス権に関する制御を行う制御回路504、505と
により構成されている。
[0044] This multiprocessor includes a processor 50
1 to 503, and control circuits 504 and 505 that perform control over decoding circuits for upper addresses of address buses of processors 501 and 502 and access rights to data memories.

【0045】このマルチプロセッサは、プロセッサ50
1〜503によって並列処理を行うものである。プロセ
ッサ501〜503は、それぞれ第2の発明のプロセッ
サで構成され、データメモリを内蔵している。そのデー
タメモリは、第2の発明で述べたような制御方法でアク
セス権を上位のプロセッサに委譲できるようになってい
る。すなわち、プロセッサ502、503に内蔵されて
いるデータメモリは、それぞれ上位のプロセッサ501
、502のメモリ空間上にマッピングされている。プロ
セッサ502は、データメモリとその制御回路などを2
個内蔵している。すなわち、図9に、データメモリをプ
ロセッサ101内部に2個内蔵した場合の構成図を示す
。制御回路や選択器、外部端子は2個のデータメモリに
対応して2種類ずつ用意されている。また、アクセス権
委譲命令も2種類用意されている。それらのメモリバス
は、一方は上位プロセッサ501からのアクセス用で、
もう一方は下位プロセッサ503へのアクセス用である
[0045] This multiprocessor includes processor 50
1 to 503 perform parallel processing. Each of the processors 501 to 503 is constituted by a processor according to the second invention and has a built-in data memory. Access rights to the data memory can be delegated to a higher-level processor using the control method described in the second invention. That is, the data memories built in processors 502 and 503 are stored in the upper processor 501, respectively.
, 502. The processor 502 has a data memory and its control circuit, etc.
It is built-in. That is, FIG. 9 shows a configuration diagram when two data memories are built into the processor 101. Two types of control circuits, selectors, and external terminals are prepared for each of the two data memories. There are also two types of access right transfer instructions. One of these memory buses is for access from the upper processor 501,
The other is for accessing the lower processor 503.

【0046】なお、1個のデータメモリを使用してもこ
のような機能の実現は可能である。
[0046] Note that such a function can be realized even by using one data memory.

【0047】上述のようなマルチプロセッサにおける並
列処理の動作を次ぎに説明する。
The operation of parallel processing in the multiprocessor as described above will now be explained.

【0048】データを情報処理するアプリケーションに
おいて、その情報処理が、ある特定の処理が時間的にパ
イプライン並列処理可能なとき、その分割された処理を
各プロセッサに分担させ、出力データを下位のプロセッ
サに順次転送していくのである。
[0048] In an application that processes data, when a certain specific process can be processed in parallel in a pipeline in terms of time, the divided processing is distributed to each processor, and the output data is sent to the lower processor. It will be sequentially transferred to.

【0049】このマルチプロセッサを用いた並列処理お
ける処理の流れは、分割された処理(プログラム)を各
プロセッサに予め配置しておき、上位のプロセッサと下
位のプロセッサ間でのデータ転送及び処理は、上記第2
の発明の方法と同じように上位のプロセッサをマスタプ
ロセッサ、下位のプロセッサをスレーブプロセッサとし
て制御することによって実現できる。例えば、プロセッ
サ502のデータメモリ502aにプロセッサ501が
アクセス権を得て、自らのデータメモリからデータを転
送し、それをプロセッサ502が自らのデータメモリ5
02bへ転送する。その後、プロセッサ502がプロセ
ッサ503のデータメモリにアクセス権をもち、自らの
データメモリ502bからプロセッサ503のデータメ
モリにデータを転送する等である。
The flow of processing in parallel processing using this multiprocessor is such that divided processing (programs) are placed in each processor in advance, and data transfer and processing between the upper and lower processors is as follows: 2nd above
This can be realized by controlling the upper processor as a master processor and the lower processor as a slave processor in the same way as the method of the invention. For example, the processor 501 obtains access rights to the data memory 502a of the processor 502, transfers data from its own data memory, and the processor 502 transfers the data to its own data memory 502a.
Transfer to 02b. Thereafter, the processor 502 has access rights to the data memory of the processor 503, and transfers data from its own data memory 502b to the data memory of the processor 503, and so on.

【0050】[0050]

【発明の効果】以上説明したところから明らかなように
、第1の発明によれば、プロセッサ内部のデータメモリ
のアクセス権委譲により、外部のプロセッサ自身のメモ
リとして扱えるので、共有メモリへのデータを転送する
時間をなくすことが出来、ハードウェアの削減を実現す
るマルチプロセッサを提供できる。
[Effects of the Invention] As is clear from the above explanation, according to the first invention, by delegating access rights to the data memory inside the processor, it can be treated as the external processor's own memory. It is possible to eliminate transfer time and provide a multiprocessor that reduces hardware.

【0051】第2の発明によれば、プロセッサ内部のメ
モリを外部から通常のメモリとしてアクセス可能とする
ことができる。
According to the second invention, the memory inside the processor can be accessed from the outside as a normal memory.

【0052】第3の発明によれば、ある膨大なデータを
情報処理するアプリケーションにおいて、データを分割
して並列処理可能なとき、そのプロセッサ間のデータ転
送に要する時間を削減し、且つ、共有メモリを必要とし
なくすることでハードウェアが削減したマルチプロセッ
サを提供できる。
According to the third invention, in an application that processes a huge amount of data, when the data can be divided and processed in parallel, the time required for data transfer between the processors can be reduced, and the shared memory can be By eliminating the need for , it is possible to provide multiprocessors with reduced hardware.

【0053】第4の発明によれば、データを情報処理す
るアプリケーションにおいて、その情報処理が、ある特
定の処理が時間的にパイプライン並列処理可能なとき、
そのプロセッサ間のデータ転送に要する時間を削減し、
且つ、共有メモリを必要としなくすることが出来る。
According to the fourth invention, in an application that processes data, when a certain specific process can be processed in parallel in a pipeline in terms of time,
It reduces the time required to transfer data between processors,
Moreover, it is possible to eliminate the need for shared memory.

【0054】なお、上記本発明は、大量のデータ処理が
必要な画像処理分野でその長所を顕著に発揮する。
The above-mentioned present invention exhibits its advantages significantly in the field of image processing where processing of a large amount of data is required.

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

【図1】第1の発明によるマルチプロセッサの一実施例
のブロック図である。
FIG. 1 is a block diagram of an embodiment of a multiprocessor according to a first invention.

【図2】第1の発明によるマルチプロセッサの動作を説
明するためのフロー図である。
FIG. 2 is a flow diagram for explaining the operation of the multiprocessor according to the first invention.

【図3】第1の発明によるマルチプロセッサの動作を説
明するためのフロー図である。
FIG. 3 is a flow diagram for explaining the operation of the multiprocessor according to the first invention.

【図4】第1の発明によるマルチプロセッサの動作を説
明するためのフロー図である。
FIG. 4 is a flow diagram for explaining the operation of the multiprocessor according to the first invention.

【図5】第2の発明によるプロセッサの一実施例のブロ
ック図である。
FIG. 5 is a block diagram of an embodiment of a processor according to the second invention.

【図6】第3の発明によるマルチプロセッサの一実施例
のブロック図である。
FIG. 6 is a block diagram of an embodiment of a multiprocessor according to a third invention.

【図7】第3の発明によるマルチプロセッサのメモリマ
ップ図である。
FIG. 7 is a memory map diagram of a multiprocessor according to a third invention.

【図8】第4の発明によるマルチプロセッサの一実施例
のブロック図である。
FIG. 8 is a block diagram of an embodiment of a multiprocessor according to a fourth invention.

【図9】図8の回路の一部を示すブロック図である。FIG. 9 is a block diagram showing part of the circuit of FIG. 8;

【図10】従来のマルチプロセッサの構成の概念を示す
ブロック図である。
FIG. 10 is a block diagram showing the concept of the configuration of a conventional multiprocessor.

【図11】図10における従来のプロセッサの概念を示
すブロック図である。
FIG. 11 is a block diagram showing the concept of the conventional processor in FIG. 10;

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

101  プロセッサ 102  中央処理装置(ICPU) 103  データメモリ(IDM) 104  外部プロセッサ 105  外部メモリ 201  プロセッサ 203  データメモリ 204  選択手段 205  制御手段 301  マスタプロセッサ 302、303  スレーブプロセッサ304、305
  制御手段
101 Processor 102 Central Processing Unit (ICPU) 103 Data Memory (IDM) 104 External Processor 105 External Memory 201 Processor 203 Data Memory 204 Selection Means 205 Control Means 301 Master Processor 302, 303 Slave Processor 304, 305
control means

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】  内部に中央処理装置(ICPU)及び
データメモリ(IDM)を内蔵したプロセッサと、前記
プロセッサの外部に他の中央処理装置(ECPU)とを
備えたマルチプロセッサにおいて、通常は前記中央処理
装置(ICPU)が前記データメモリ(IDM)へのア
クセス権を占有しており、前記中央処理装置(ICPU
)の自らの命令で前記データメモリ(IDM)へのアク
セス権を放棄するか、または前記他の中央処理装置(E
CPU)が前記データメモリ(IDM)への強制アクセ
ス権獲得信号を前記中央処理装置(ICPU)に送出す
ることによって、前記データメモリ(IDM)へのアク
セス権が前記他の中央処理装置(ECPU)に委譲され
ることを特徴とするマルチプロセッサ。
[Claim 1] In a multiprocessor that includes a processor with a central processing unit (ICPU) and a data memory (IDM) inside, and another central processing unit (ECPU) outside the processor, the central A processing unit (ICPU) occupies the access right to the data memory (IDM), and the central processing unit (ICPU)
) relinquish access to the data memory (IDM) on its own command, or the other central processing unit (EDM)
By sending a forced access right acquisition signal to the data memory (IDM) to the central processing unit (ICPU), the access right to the data memory (IDM) is granted to the other central processing unit (ECPU). A multiprocessor characterized by being delegated to.
【請求項2】  内部に中央処理装置(ICPU)及び
データメモリ(IDM)を内蔵したプロセッサにおいて
、前記中央処理装置(ICPU)から及び前記プロセッ
サ外部からの、前記データメモリ(IDM)に対しての
アクセスを可能とするアドレス線とデータ線を切り替え
る選択手段と、前記選択手段を制御する制御手段とを備
え、通常は前記制御手段は、前記中央処理装置(ICP
U)が前記データメモリ(IDM)へのアクセス権を占
有するマスタモードとなるように前記選択手段を制御し
、前記プロセッサ外部により前記プロセッサの特定の端
子に強制アクセス権獲得信号が付加されるか、または前
記中央処理装置(ICPU)が有するアクセス権委譲命
令が実行されるかによって、前記制御手段は、前記デー
タメモリ(IDM)へのアクセス権が前記プロセッサ外
部へ委譲されるスレーブモードとなるように前記選択手
段を制御し、前記プロセッサ外部から、前記中央処理装
置(ICPU)の特定の端子に、マスタモード遷移信号
が付加されることによって、前記中央処理装置(ICP
U)はマスターモードに状態遷移することを特徴とする
プロセッサ。
2. In a processor having a built-in central processing unit (ICPU) and a data memory (IDM), there is no charge to the data memory (IDM) from the central processing unit (ICPU) and from outside the processor. It is equipped with a selection means for switching between an address line and a data line to enable access, and a control means for controlling the selection means, and usually the control means is connected to the central processing unit (ICP).
U) controls the selection means so that the processor is in a master mode that occupies the right to access the data memory (IDM), and a forced access right acquisition signal is added to a specific terminal of the processor from outside the processor; , or whether an access right transfer instruction possessed by the central processing unit (ICPU) is executed, the control means is configured to enter a slave mode in which the access right to the data memory (IDM) is transferred to an external party of the processor. A master mode transition signal is added to a specific terminal of the central processing unit (ICPU) from outside the processor, thereby controlling the selection means to
U) is a processor characterized by a state transition to master mode.
【請求項3】  複数個のプロセッサを用いるマルチプ
ロセッサにおいて、前記プロセッサ間のデータ転送を行
う場合、前記マルチプロセッサを構成する特定のプロセ
ッサをデータ転送を司るプロセッサ  (マスタプロセ
ッサ)とし、転送相手となるプロセッサ(スレーブプロ
セッサ)を請求項2記載のスレーブモードの状態にし、
前記スレーブプロセッサに内蔵されているデータメモリ
を前記マスタプロセッサのアドレス空間に配置すること
で、前記マスタプロセッサと前記スレーブプロセッサ間
、前記スレーブプロセッサ間同士とのデータ転送は前記
マスタプロセッサ自身のアドレス空間上でデータ移動を
行うことで実現し、データ転送終了後前記マスタプロセ
ッサは前記スレーブプロセッサを請求項2のマスタモー
ドに状態遷移させ、前記スレーブプロセッサは転送され
てきたデータに対して処理を実行することを特徴とする
マルチプロセッサ。
3. In a multiprocessor using a plurality of processors, when data is transferred between the processors, a specific processor constituting the multiprocessor is designated as a processor in charge of data transfer (master processor) and serves as a transfer partner. Putting the processor (slave processor) into the slave mode according to claim 2,
By arranging the data memory built in the slave processor in the address space of the master processor, data transfer between the master processor and the slave processors and between the slave processors is performed in the master processor's own address space. After the data transfer is completed, the master processor causes the slave processor to transition to the master mode according to claim 2, and the slave processor executes processing on the transferred data. A multiprocessor featuring
【請求項4】  請求項2のプロセッサを複数個用いた
マルチプロセッサにおいて、前記マルチプロセッサを構
成する第1のプロセッサのアドレス空間に第2のプロセ
ッサ内のデータメモリが配置され、前記第2のプロセッ
サのアドレス空間に第3のプロセッサ内のデータメモリ
が配置され、第1と第2のプロセッサ間のデータ転送を
行う場合、第1のプロセッサを請求項2のマスタモード
で動作させるマスタプロセッサとし、転送相手となる第
2のプロセッサを請求項2のスレーブモードで動作させ
るスレーブプロセッサとし、前記第1のプロセッサと前
記第2のプロセッサ間のデータ転送は、前記第1のプロ
セッサが自身のアドレス空間上でデータ移動を行うこと
で実現し、データ転送終了後前記マスタプロセッサは前
記スレーブプロセッサを請求項2でいうマスタモードに
状態遷移させ、前記スレーブプロセッサは転送されてき
たデータに対して処理を実行し、また第2と第3のプロ
セッサ間のデータ転送を行う場合、第2のプロセッサを
請求項2のマスタプロセッサとしてマスタモードで動作
させ、転送相手となる第3のプロセッサを請求項2のス
レーブプロセッサとしてスレーブモードで動作させ、前
記第2のプロセッサと前記第3のプロセッサ間のデータ
転送は、前記第2のプロセッサが自身のアドレス空間上
でデータ移動を行うことで実現し、データ転送終了後前
記第2のプロセッサは前記第3のプロセッサを請求項2
でいうマスタモードに状態遷移させ、前記第3のプロセ
ッサは転送されてきたデータに対して処理を実行するこ
とを特徴とするマルチプロセッサ。
4. A multiprocessor using a plurality of processors according to claim 2, wherein a data memory in a second processor is arranged in an address space of a first processor constituting the multiprocessor; When the data memory in the third processor is arranged in the address space of , and data transfer between the first and second processors is performed, the first processor is set as the master processor operating in the master mode of claim 2, and the data transfer is performed. A second processor as a partner is a slave processor operating in the slave mode of claim 2, and data transfer between the first processor and the second processor is performed by the first processor in its own address space. This is realized by performing data movement, and after the data transfer is completed, the master processor causes the slave processor to transition to the master mode as defined in claim 2, and the slave processor executes processing on the transferred data, When data is transferred between the second and third processors, the second processor is operated in master mode as the master processor of claim 2, and the third processor to be transferred is operated as the slave processor of claim 2. The second processor operates in slave mode, and data transfer between the second processor and the third processor is realized by the second processor moving data in its own address space. 2. The second processor comprises the third processor in claim 2.
A multiprocessor characterized in that the third processor executes processing on transferred data.
JP3231673A 1990-09-20 1991-09-11 multiprocessor Pending JPH04357548A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3231673A JPH04357548A (en) 1990-09-20 1991-09-11 multiprocessor

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP25115690 1990-09-20
JP2-251156 1990-09-20
JP3231673A JPH04357548A (en) 1990-09-20 1991-09-11 multiprocessor

Publications (1)

Publication Number Publication Date
JPH04357548A true JPH04357548A (en) 1992-12-10

Family

ID=26530019

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3231673A Pending JPH04357548A (en) 1990-09-20 1991-09-11 multiprocessor

Country Status (1)

Country Link
JP (1) JPH04357548A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015159699A1 (en) * 2014-04-14 2015-10-22 株式会社東芝 Transmission device, controller, and system comprising transmission device and controller

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015159699A1 (en) * 2014-04-14 2015-10-22 株式会社東芝 Transmission device, controller, and system comprising transmission device and controller
JP2015203976A (en) * 2014-04-14 2015-11-16 株式会社東芝 Transmission device, controller, and system comprising transmission device and controller
US10025750B2 (en) 2014-04-14 2018-07-17 Kabushiki Kaisha Toshiba Transmission device, controller, and system comprising transmission device and controller

Similar Documents

Publication Publication Date Title
US5109333A (en) Data transfer control method and apparatus for co-processor system
KR100630071B1 (en) High speed data transmission method using DM in multiprocessor environment and apparatus therefor
KR950010529B1 (en) Memory sharing device for interprocessor communication
US5933613A (en) Computer system and inter-bus control circuit
EP0026648A2 (en) Digital data transfer apparatus
JPS6113629B2 (en)
JPH04357548A (en) multiprocessor
US20050135402A1 (en) Data transfer apparatus
JPS60173655A (en) Memory system of multiprocessor
JPH03296159A (en) Memory access system for dma device
KR200210744Y1 (en) Apparatus for data communication between processors
JPH0215152Y2 (en)
JPH02207363A (en) Data transfer system, device controller, and memory controller
JPH04117697A (en) Multiport memory circuit
JPS6162158A (en) Data delivering and receiving system
JPH02216573A (en) Duplexing memory composing system
JPH01243146A (en) Shared memory access method
JPS6349935A (en) Central controller
JPH01266651A (en) Semiconductor memory device
JPH0535693A (en) Data transfer device
JPS5836380B2 (en) Direct memory access method in multiprocessor systems
JPH0120459B2 (en)
JPS62186344A (en) address mapped register
JPS63172361A (en) Interprocessor communication method in multiprocessor system
JPH03240854A (en) Microcomputer