JPS6022264A - Data processor - Google Patents

Data processor

Info

Publication number
JPS6022264A
JPS6022264A JP13125483A JP13125483A JPS6022264A JP S6022264 A JPS6022264 A JP S6022264A JP 13125483 A JP13125483 A JP 13125483A JP 13125483 A JP13125483 A JP 13125483A JP S6022264 A JPS6022264 A JP S6022264A
Authority
JP
Japan
Prior art keywords
microprocessor
processor
subordinate
input
microprocessors
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
JP13125483A
Other languages
Japanese (ja)
Inventor
Kaoru Iwakuni
薫 岩國
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 JP13125483A priority Critical patent/JPS6022264A/en
Publication of JPS6022264A publication Critical patent/JPS6022264A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • G06F15/163Interprocessor communication
    • G06F15/167Interprocessor communication using a common memory, e.g. mailbox

Abstract

PURPOSE:To improve an entire processing speed by dividing the memory space of a main microprocessor so as to use in common a divided space with each slave microprocessor thereby conducting easy and quick data transfer between both. CONSTITUTION:A single main microprocessor 10 is provided to a data processor and an input/output port 11 and a control circuit 12 mediating the right of use and dividing the memory space are connected to the processor 10. An exclusive memory 13 and tri-state buffers 14, 17 switching the bus line are connected to the processor 10 via a bus line. Then the slave microprocessors 15, 18 and shared memories 16, 19 are connected to the buffers 14, 17, and the control circuit 12 is connected to the buffers 14, 17, and the microprocessors 15, 18. Thus, the memory space of the processor 10 is divided and the memories 16, 19 are shared with the slave processors 15, 18 and the processor 10 so as to improve the processing speed of the entire processor.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、データ収集システム、データ分析システム、
その他のマイクロプロセッサを応用したデータ処理装置
に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to a data collection system, a data analysis system,
The present invention relates to data processing devices using other microprocessors.

従来例の構成とその問題点 近年、マイクロプロセッサを応用したデータ処理装置は
広汎な分野で使用されており、大量のデータの処理に使
用される事もまれではない。
Configuration of conventional examples and their problems In recent years, data processing devices using microprocessors have been used in a wide range of fields, and it is not uncommon for them to be used to process large amounts of data.

この様な場合、単一のマイクロプロセッサでハ十分な処
理速度が得られない事が多く、複数のマイクロプロセッ
サを用いて、いわゆるマルチプロセッサシステムによっ
てデータ処理装置を構成する事が一般的になってきてい
る。
In such cases, it is often not possible to obtain sufficient processing speed with a single microprocessor, and it has become common to use multiple microprocessors to configure a data processing device as a so-called multiprocessor system. ing.

第1図はこの様な複数のマイクロプロセッサを用いた従
来のデータ処理装置の構成を示したものであり、図中、
1はデータ処理用マイクロプロセッサ、2はデータ処理
用マイクロプロセッサが専用するメモリ、3は入出力用
マイクロプロセッサ、4は入出力用マイクロプロセッサ
が専用するメモリ、6はデータ処理用マイクロプロセッ
サ1と入出力用マイクロプロセッサ3f:接続する為の
入出力ポート、6は外部機器との入出カケ行う為の入出
力ボートである。
FIG. 1 shows the configuration of a conventional data processing device using such a plurality of microprocessors.
1 is a data processing microprocessor, 2 is a memory dedicated to the data processing microprocessor, 3 is an input/output microprocessor, 4 is a memory dedicated to the input/output microprocessor, and 6 is an input to the data processing microprocessor 1. Output microprocessor 3f: input/output port for connection; 6 is an input/output port for input/output with external equipment.

以上の様に構成された従来のデータ処理装置について、
その動作を説明する。まず外部機器からのデータは入出
カポ−トロを通って入出力用マイクロプロセンサ3に入
力され、ここでデータ型式の変更等の前処理を受けた後
、接続用の入出力ポート5を通じてデータ処理用マイク
ロプロセッサ1に送られ、必要な処理が行なわれる。処
理の完了したデータはデータ処理用マイクロプロセッサ
1から接続用の入出カポ−トロ全通して入出力用マイク
ロプロセッサ3に送られ、必要な後処理を受けた後、入
出カポ−トロを通して外部機器に出力される。
Regarding the conventional data processing device configured as described above,
Let's explain its operation. First, data from an external device is input to the input/output microprocessor sensor 3 through the input/output capotro, where it undergoes preprocessing such as changing the data format, and then is processed through the input/output port 5 for connection. The data is sent to the microprocessor 1 for necessary processing. The processed data is sent from the data processing microprocessor 1 to the input/output microprocessor 3 via the connection input/output capotro, and after undergoing necessary post-processing, is sent to the external device via the input/output capotro. Output.

しかしながら、上記の従来の構成では2つのマイクロプ
ロセッサの接続を入出力ポートで行っている為、データ
の転送の速度に限界があり、したがってマイクロプロセ
ッサの数を増しても全体の処理速度はあ捷り向上せず、
さらにハードウェアが大きくなり、プログラムが複雑に
なる等の問題哉を有していた。
However, in the conventional configuration described above, the two microprocessors are connected through input/output ports, so there is a limit to the data transfer speed, so even if the number of microprocessors is increased, the overall processing speed will be slow. No improvement,
Further, there were other problems such as the hardware becoming larger and the program becoming more complex.

、発明の目的 本発明は上記従来の問題点を解消するもので、小さいハ
ードウェアで実現でき、簡単なプログラムで使用できる
とともに、柔軟な拡張性を有し、容易に処理速度を向上
させ得るデータ処理装置を提供することを目的とする。
OBJECT OF THE INVENTION The present invention solves the above-mentioned conventional problems.It is a data processing system that can be realized with small hardware, can be used with a simple program, has flexible expandability, and can easily improve processing speed. The purpose is to provide processing equipment.

発明の構成 本発明は、実際のデータ処理を受け持つ複数の従属マイ
クロプロセッサと、外部とのデータの入出力及びこれら
の入出力データの各従属マイクロプロセッサへの分配及
び集取を受け持つ単一の主マイクロプロセッサと、メモ
リ空間の分割及び使用権の調停を行う制御回路とを備え
たデータ処理装置であり、主マイクロプロセッサのメモ
リ空間を分割して各従属マイクロプロセッサと共有させ
る事により、両者間のデータ転送を容易かつ高速に行な
わせ、全体の処理速度を大幅に向上させることができる
ものである。
Structure of the Invention The present invention consists of a plurality of slave microprocessors that are in charge of actual data processing, and a single master processor that is responsible for inputting and outputting data to and from the outside and distributing and collecting these input and output data to each slave microprocessor. It is a data processing device equipped with a microprocessor and a control circuit that divides memory space and arbitrates usage rights.By dividing the memory space of the main microprocessor and sharing it with each subordinate microprocessor, it is possible to Data transfer can be performed easily and at high speed, and the overall processing speed can be greatly improved.

実施例の説明 第2図は本発明の一実施例におけるデータ処理装置の構
成を示したものであり、1oは主マイクロプロセッサ、
11は外部機器との入出力を行う入出力ポート、12は
メモリ空間の分割及び使用権の調停を行う制御回路、1
3は主マイクロプロセッサ専用のメモリ、14はバスの
切換えを行う為の3ステートバツフハ16は従属マイク
ロプロセッサ、16は共有メモリである。17の3ステ
ートバツフア、18の従属マイクロプロセ・ンサ19の
共有メモリはそれぞれ14,15,16と同等のもので
ある。
DESCRIPTION OF EMBODIMENTS FIG. 2 shows the configuration of a data processing device in an embodiment of the present invention, in which 1o is a main microprocessor;
11 is an input/output port that performs input/output with external equipment; 12 is a control circuit that divides memory space and arbitrates usage rights; 1
3 is a memory dedicated to the main microprocessor, 14 is a three-state buffer for switching buses, 16 is a subordinate microprocessor, and 16 is a shared memory. The 3-state buffer 17 and the shared memory of the 18 subordinate microprocessors 19 are equivalent to those of 14, 15, and 16, respectively.

第3図は制御回路12の構成の詳細と各マイクロプロセ
ッサとの接続を示したものであって、2゜は主マイクロ
プロセッサ9の上位アドレスから各従属マイクロプロセ
ッサ15.18へノくスの開放を要求する信号を作るデ
コーダ回路、21は各従属マイクロプロセッサのバス開
放受理信号を選択する為のセレクタ回路、22は各従属
マイクロプロセッサに起動信号を与え、かつ各従属マイ
クロプロセッサの処理終了を調べる為のコントロールポ
ート回路である。
FIG. 3 shows the details of the configuration of the control circuit 12 and the connections with each microprocessor, where 2° indicates the opening of the address from the upper address of the main microprocessor 9 to each subordinate microprocessor 15.18. 21 is a selector circuit for selecting a bus release acceptance signal for each subordinate microprocessor; 22 is a selector circuit for providing a start signal to each subordinate microprocessor and checking whether each subordinate microprocessor has finished processing; This is a control port circuit for

以上の様に構成された本実施例におけるデータ処理装置
の動作について、以下第4図に示すフローチャートにし
たがって説明する0第4図体)は主マイクロプロセッサ
10の処理フローチャートであり、(b)は従属マイク
ロプロセッサ18の処理フローチャートである。まず、
外部機器から入出力ポート11を通って入力されたデー
タは、主マイクロプロセッサ1oにより、第1の共有メ
モリ16に格納される。この時主マイクロプロセッサ9
が第1の共有メモリ16をアクセスしようとすると、そ
の上位アドレスから第1の従属マイクロプロセッサ16
に対するバス開放要求信号が、デコーダ回路2oによっ
て作られ第1の従属マイクロプロセッサ15に与えられ
る。第1の従属マイクロプロセッサ16はバス開放要求
を受けつけると受理信号をセレクタ回路21を通して主
マイクロプロセッサ10に送る。この受理信号により、
3ステートバツフア14が開かれ、同時に主マイクロプ
ロセッサ10は待機状態を解除されて、共有メモリ16
へのアクセスを行うことになる。データの格納が終了す
ると、主マイクロプロセッサ1oは第1の共有メモリ1
6をアクセスしなくなるのでデコーダ回路20からのバ
ス開放要求が出なくなリ、したがって第1の共有メモリ
16は第1の従属マイクロプロセッサ15と接続される
。次にコントロールポート22を通して主マイクロプロ
セッサ10i/Cより第1の従属マイクロプロセッサ1
6に割込要求が出され、これによって従属マイクロプロ
セッサ15が起動し、処理が開始される。同様にして第
2の共有メモリ19にもデータが格納され、第2の従属
プロセッサ18が起動され処理が開始される。従属プロ
セッサ16.18は起動をかけられると、共有メモリ上
のデータの処理を行い、処理が終了すると停止し、それ
を示すホールト信号が出力される。主マイクロプロセッ
サ1゜はコントロールポート22を通してこのホールト
信号を調べ、処理終了を確認すると格納時と同様の動作
で、共有メモlJ1.6.19から結果を取り出し、入
出力ポート11を通して外部機器に出力する事になる。
The operation of the data processing device in this embodiment configured as above will be explained below according to the flowchart shown in FIG. 4. Figure 4) is a processing flowchart of the main microprocessor 10, and 3 is a processing flowchart of the microprocessor 18. first,
Data input from an external device through the input/output port 11 is stored in the first shared memory 16 by the main microprocessor 1o. At this time, the main microprocessor 9
attempts to access the first shared memory 16, the first subordinate microprocessor 16 from its upper address
A bus release request signal is generated by the decoder circuit 2o and applied to the first slave microprocessor 15. When the first slave microprocessor 16 receives the bus release request, it sends an acceptance signal to the main microprocessor 10 through the selector circuit 21. With this acceptance signal,
The three-state buffer 14 is opened, and at the same time the main microprocessor 10 is released from standby and the shared memory 16 is opened.
You will have access to. When the data storage is completed, the main microprocessor 1o transfers the data to the first shared memory 1.
6 is no longer accessed, the bus release request from the decoder circuit 20 is no longer issued, and the first shared memory 16 is therefore connected to the first subordinate microprocessor 15. Next, the first slave microprocessor 1 is transferred from the main microprocessor 10i/C through the control port 22.
6, an interrupt request is issued, which activates the subordinate microprocessor 15 and starts processing. Data is similarly stored in the second shared memory 19, and the second subordinate processor 18 is activated to start processing. When activated, the dependent processors 16 and 18 process data on the shared memory, and when the processing is completed, they stop, and a halt signal indicating this is output. The main microprocessor 1゜ checks this halt signal through the control port 22, and when it confirms the completion of processing, it retrieves the result from the shared memory lJ1.6.19 using the same operation as when storing, and outputs it to the external device through the input/output port 11. I will do it.

第5図は、メモリ13、共有メモI716 、19の容
量がそれぞれ8KByteである時の主マイクロプロセ
ッサ10のメモリ空間と従属マイクロプロセッサ15,
18のメモリ空間の関係を示したメモリマツプ図で、主
マイクロプロセッサ10の2000H〜3FFFH番地
が第1の共有メモリとして、第1の従属マイクロプロセ
ッサの0000)(〜1FFFH番地と共有され、同様
に4000H〜5FFFH番地が第2の共有メモリとし
て、第2の従属マイクロプロセッサの0OOOH〜1F
FFH1地と共有されることになる。但しここでHは1
6進数を示す添え字である。
FIG. 5 shows the memory space of the main microprocessor 10 and the slave microprocessor 15, when the capacity of the memory 13 and the shared memory I716, 19 is 8 KB each.
18, addresses 2000H to 3FFFH of the main microprocessor 10 are shared as the first shared memory with addresses 0000) (~1FFFH) of the first subordinate microprocessor, and similarly 4000H ~5FFFH address is the second shared memory, and the second slave microprocessor's address is 0OOOH~1F.
It will be shared with FFH1 land. However, here H is 1
This is a subscript indicating a hexadecimal number.

以上の様に本実施例によれば、デコーダ回路20゜セレ
クタ回路21及びコントロールポート22で構成された
制御回路により、極めて簡潔な構成で従属マイクロプロ
セッサの数だけの処理全並行して高速に行なわせること
ができる。
As described above, according to this embodiment, the control circuit composed of the decoder circuit 20° selector circuit 21 and the control port 22 has an extremely simple configuration and can perform all the processes as many as the number of subordinate microprocessors in parallel and at high speed. can be set.

なお、本実施例では従属マイクロプロセッサが2個の場
合を示したが、3ステートバツフア、共有メモリ及び従
属マイクロプロセッサの3つを組□として、任意の個数
だけ容易に増設できる。
Although this embodiment shows a case in which there are two subordinate microprocessors, any number of subordinate microprocessors can be easily added by forming a set of three (3-state buffer, shared memory, and subordinate microprocessors).

また第4図のフローチャートでは各従属マイクロプロセ
ッサに逐次的にデータを分配していく方法を示したが、
割込等を用いて、より動的な処理を行う様にしてもよい
のはいうまでもない。
In addition, the flowchart in Figure 4 shows a method of sequentially distributing data to each subordinate microprocessor.
It goes without saying that more dynamic processing may be performed using interrupts or the like.

発明の効果 本発明は、複数の従属マイクロプロセッサと単一の主マ
イクロプロセッサ間のデータの転送を主マイクロプロセ
ッサのメモリ空間を分割し、夫々の従属マイクロプロセ
ッサのメモリ空間として共有するという方法によって行
う為、従来の方式でボトルネックとなっていた転送時間
を大幅に短縮でき、かつ従属マイクロプロセッサと同数
の処理を並行して行える為に、全体の処理速度を大幅に
向上させることができ、さらにプログラムも極めて簡潔
なものでよく、かつ柔軟な拡張性を有する優れたデータ
処理装置を実現できるものである0
Effects of the Invention The present invention transfers data between a plurality of slave microprocessors and a single master microprocessor by dividing the memory space of the master microprocessor and sharing the memory space of each slave microprocessor. As a result, the transfer time, which was a bottleneck in conventional methods, can be significantly reduced, and since the same number of processes as the subordinate microprocessors can be performed in parallel, the overall processing speed can be greatly improved. The program only needs to be extremely simple, and an excellent data processing device with flexible expandability can be realized.

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

第1図は従来のデータ処理装置の構成図、第2図は本発
明の一実施例におけるデータ処理装置の構成図、第3図
は第2図における各マイクロプロセッサ及び制御回路の
詳細図、第4図(−)及び(b)は同データ処理装置の
動作を示すフローチャート、第5図はそのメモリ空間の
相互関係を示すメモリマツプ図である。 1・・・・・・データ処理用マイクロプロセッサ、2・
・・・・・メモリ、3・・・・・・入出力用マイクロプ
ロセッサ、4・・・・・メモリ、5・・・・・・接続用
入出力ポート、6・・・・・・入出力ポート、1o・・
・・・・主マイクロプロセッサ、11・・・・・・入出
力ポート、12・・・・・・制御回路、13・・・・・
・メモリ、14・・・・・・3ステートバツフア、16
・・・・・・第1の従属マイクロプロセッサ、16・・
・・・・第1の共有メモリ、17・・・・・・3ステー
トバツフア、18・・・・・・第2の従属マイクロプロ
セッサ、19・・・・・・第2の共有メモリ、20・・
・・・・デコーダ回路、21・・・・・・セレクタ回路
、22・・・・・・コントロールポート。 代理人の氏名 弁理士 中 尾 敏 男 ほか1名第4
図 (oL)(′b) 第5図
FIG. 1 is a block diagram of a conventional data processing device, FIG. 2 is a block diagram of a data processing device according to an embodiment of the present invention, and FIG. 3 is a detailed diagram of each microprocessor and control circuit in FIG. 4(-) and 4(b) are flowcharts showing the operation of the data processing apparatus, and FIG. 5 is a memory map showing the interrelationship of its memory spaces. 1...Microprocessor for data processing, 2.
...Memory, 3...Microprocessor for input/output, 4...Memory, 5...I/O port for connection, 6...Input/output Port, 1o...
... Main microprocessor, 11 ... Input/output port, 12 ... Control circuit, 13 ...
・Memory, 14...3-state buffer, 16
...First slave microprocessor, 16...
...First shared memory, 17... Three-state buffer, 18... Second subordinate microprocessor, 19... Second shared memory, 20・・・
... Decoder circuit, 21 ... Selector circuit, 22 ... Control port. Name of agent: Patent attorney Toshio Nakao and 1 other person No. 4
Figure (oL) ('b) Figure 5

Claims (1)

【特許請求の範囲】[Claims] 単一の主マイクロプロセッサと、複数の従属マイクロプ
ロセッサと、前記主マイクロプロセッサに接続された入
出力部と、前記主マイクロプロセッサのメモリ空間を分
割してその夫々を前記各従属マイクロプロセッサのメモ
リ空間と共有させる手段と、前記主マイクロプロセッサ
が従属プロセッサのうちの一つと共有しているメモリ空
間をアクセスしようとする時のみその従属プロセッサに
メモリ空間の使用権を放棄させる調停手段とを具備して
なるデータ処理装置。
A single main microprocessor, a plurality of subordinate microprocessors, an input/output unit connected to the main microprocessor, and a memory space of the main microprocessor that is divided into memory spaces of each of the subordinate microprocessors. and arbitration means for causing the subordinate processor to relinquish the right to use the memory space only when the main microprocessor attempts to access the memory space shared with one of the subordinate processors. A data processing device.
JP13125483A 1983-07-18 1983-07-18 Data processor Pending JPS6022264A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13125483A JPS6022264A (en) 1983-07-18 1983-07-18 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13125483A JPS6022264A (en) 1983-07-18 1983-07-18 Data processor

Publications (1)

Publication Number Publication Date
JPS6022264A true JPS6022264A (en) 1985-02-04

Family

ID=15053607

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13125483A Pending JPS6022264A (en) 1983-07-18 1983-07-18 Data processor

Country Status (1)

Country Link
JP (1) JPS6022264A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61272861A (en) * 1985-05-28 1986-12-03 Yokogawa Electric Corp Multiprocessor device
JPS6481066A (en) * 1987-09-24 1989-03-27 Nec Corp Connection system for multi-processor
EP0746155A2 (en) * 1995-06-02 1996-12-04 Matsushita Electric Industrial Co., Ltd. Multistandards television receiver

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61272861A (en) * 1985-05-28 1986-12-03 Yokogawa Electric Corp Multiprocessor device
JPS6481066A (en) * 1987-09-24 1989-03-27 Nec Corp Connection system for multi-processor
EP0746155A2 (en) * 1995-06-02 1996-12-04 Matsushita Electric Industrial Co., Ltd. Multistandards television receiver
EP0746155A3 (en) * 1995-06-02 1999-01-20 Matsushita Electric Industrial Co., Ltd. Multistandards television receiver
US6137537A (en) * 1995-06-02 2000-10-24 Matsushita Electric Industrial Co., Ltd. Television receiver for receiving multi-standards

Similar Documents

Publication Publication Date Title
JPH056223B2 (en)
JPS6022264A (en) Data processor
JPS6046748B2 (en) Computer interrupt processing method
JPS5864528A (en) Data transfer system of plural microprocessors
JPH0520284A (en) Parallel processor system
JPH0646413B2 (en) Data processing processor
JPS58165164A (en) Managing system of information source
JPH0348305A (en) Robot control device
JP2563671B2 (en) Data monitoring device
JPH0521262B2 (en)
JPH04170664A (en) Microprocessor device
JPS62272352A (en) Memory control circuit
JPS63225846A (en) Multiport memory with address conversion mechanism
JPS6348994A (en) System bus control circuit
JPS62262159A (en) Electronic computer
JPS6334653A (en) Memory accessing system for information processor
JPS5836380B2 (en) Direct memory access method in multiprocessor systems
JPS5975354A (en) Processor device
JPH0822443A (en) Data transfer system between processors
JPS638962A (en) Buffer control system
JPS63158660A (en) Multiprocessor bus control system
JPS6315353A (en) Data transfer circuit
JPS63196903A (en) Programmable controller
JPH0232450A (en) Cache memory control system
JPS61260345A (en) Bus control system among multiprocessors