JPS6381558A - Multi-cpu controlling system - Google Patents

Multi-cpu controlling system

Info

Publication number
JPS6381558A
JPS6381558A JP22673686A JP22673686A JPS6381558A JP S6381558 A JPS6381558 A JP S6381558A JP 22673686 A JP22673686 A JP 22673686A JP 22673686 A JP22673686 A JP 22673686A JP S6381558 A JPS6381558 A JP S6381558A
Authority
JP
Japan
Prior art keywords
mode
cpu
cpu2
bus
control register
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.)
Granted
Application number
JP22673686A
Other languages
Japanese (ja)
Other versions
JP2695773B2 (en
Inventor
Tsutomu Sanada
勉 真田
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP61226736A priority Critical patent/JP2695773B2/en
Publication of JPS6381558A publication Critical patent/JPS6381558A/en
Application granted granted Critical
Publication of JP2695773B2 publication Critical patent/JP2695773B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PURPOSE:To attain the flexible applications by providing a mode control register and changing the connection system of two microprocessors programmably so as to effectively utilize the performance of the processors. CONSTITUTION:The mode control register 4 is constituted to be accessed from both the processors 1, 6 and when the operating system is operated on the processor of a CPU 1, a CPU 2 acts like a sub-processor, a local memory 8 is used to control a screen control section 9, and the information of the CPU1(1) and CPU2(6) is converted by a common memory 3. The mode control register 4 is accessed by the program of the CPU1 to change the mode, then a driver/ receiver 5 is made ineffective, a driver/receiver 11 is made effective, a bus 7 of the CPU2 is connected to the system 12 and the CPU2(6) accesses a main memory 13 and an input/output device 14. In this mode, the CPU1(1) is inoperative and the control of the entire system is executed by the CPU2(6).

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明はマイクロプロセッサが持つ性能を有効に使用す
ることの出来るマルチCPU制御方式(従来の技術) 従来、機能分散の観点より複数のマイクロプロセッサを
用いシステム性能を向上させる方式がいくつかある。そ
の多くは1つがメインプロセッサとして動作、他の1つ
はサブプロセッサとして、例えば画面制御等、専用プロ
セッサとして機能するものである。
[Detailed Description of the Invention] [Objective of the Invention] (Industrial Application Field) The present invention is a multi-CPU control method (prior art) that can effectively utilize the performance of a microprocessor. There are several ways to improve system performance by using more microprocessors. In most of them, one operates as a main processor, and the other functions as a sub-processor, for example, as a dedicated processor for screen control.

具体的にグラフィックシステムを例示しよう。Let's take a concrete example of a graphic system.

この様なシステムにてグラフィックデータを表示する場
合、そのドツトパータンデータをメモリに展開し端末へ
転送する必要がある。従って、主プロセツサとグラフィ
ックプロセッサを独立させ、両者間をグラフィックコマ
ンドの受は渡しを行なうコモンメモリで仲介させる機能
分散アーキテクチャを採っている。
When displaying graphic data in such a system, it is necessary to develop the dot pattern data in memory and transfer it to a terminal. Therefore, a distributed function architecture is adopted in which the main processor and the graphics processor are made independent, and a common memory that receives and transfers graphics commands mediates between the two.

(発明が解決しようとする問題点) 近年、半導体技術の進歩に伴ないマイクロプロセッサの
性能も格段に向上しているにもかかわらず、上記機能分
散システムにおいては、メインとなるプロセッサは別と
して、サブとなるプロセッサが持つ性能を充分に生かし
ているとは言い難く、又、柔軟性のある使い方が出来な
かった。
(Problems to be Solved by the Invention) Despite the fact that the performance of microprocessors has improved significantly in recent years with advances in semiconductor technology, in the above function distributed system, apart from the main processor, It is difficult to say that the performance of the sub-processor is fully utilized, and it is not possible to use it flexibly.

本発明は上記事情に鑑みてなされたものであり、プロセ
ッサが持つ性能を有効に活用しつつ、柔軟性のある使用
法を実現するマルチCPU制御方式。
The present invention has been made in view of the above circumstances, and is a multi-CPU control method that realizes flexible usage while effectively utilizing the performance of processors.

を提供することを目的とする。The purpose is to provide

[発明の構成コ (問題点を解決するための手段) 本発明は2つのマイクロプロセッサの接続方式をプログ
ラマブルに変え、マイクロブセッサが持つ性能を有効に
利用すると共に、システムの機能拡張を容易に実現する
ものである。
[Structure of the Invention (Means for Solving Problems)] The present invention changes the connection method of two microprocessors to a programmable one, effectively utilizes the performance of the microprocessors, and facilitates the expansion of system functions. It is something that will be realized.

このため、従来この種システムが持つコンポーネントに
更にシステムに接続されるマイクロプロセッサによりア
クセスがなされ、その動作モードが設定されるモード制
御レジスタを付加し、更に、マイクロプロセッサが持つ
それぞれのバスとはドライバ/レシーバを介してシステ
ムバスを接続することによりモード制御レジスタに設定
された内容に従がいいずれか一方のドライバ/レシーバ
を有効とし、いずれか一方のマイクロプロセッサをメイ
ンとして機能させる構成としたものである。
For this reason, conventionally, a mode control register was added to the components of this type of system, which is accessed by a microprocessor connected to the system, and its operating mode is set. By connecting the system bus via the /receiver, one of the drivers/receivers is enabled according to the contents set in the mode control register, and one of the microprocessors functions as the main. be.

(作用) 上記構成においても、モード制御レジスタは初期状態の
とき、いずれか一方のマイクロプロセッサのモードとな
っており、従って、そのマイクロプロセッサが持つバス
に接続されたドライバ/レシーバを有効とし、システム
バスに接続された主メモリ及び入出力デバイスをアクセ
スすることが出来る。このとき、他方のCPUはサブプ
ロセッサとして動作し、自身で持つローカルメモリを用
い、例えば画面制御を行なう。一方上記マイクロプロセ
ッサがモード制御レジスタをアクセスし、モード変更を
行なうと、他方のドライバ/レシーバが有効となって、
先にサブプロセッサとして機能していたマイクロプロセ
ッサがシステムバスと接続され、このバスに接続される
主メモリ、人出カブバイスをアクセス出来る。
(Function) Even in the above configuration, the mode control register is in the mode of one of the microprocessors in the initial state, and therefore enables the driver/receiver connected to the bus of that microprocessor, and enables the system. Main memory and input/output devices connected to the bus can be accessed. At this time, the other CPU operates as a subprocessor and uses its own local memory to perform screen control, for example. On the other hand, when the microprocessor accesses the mode control register and changes the mode, the other driver/receiver is enabled and
The microprocessor, which previously functioned as a subprocessor, is connected to the system bus and can access the main memory and turntable device connected to this bus.

尚、モード制御レジスタはシステムに接続される全ての
マイクロプロセッサによってもアクセスすることが出来
、両モードをプログラマブルに切替えられる。
Note that the mode control register can also be accessed by all microprocessors connected to the system, and both modes can be switched programmably.

本発明方式によりシステムに異なるマイクロプロセッサ
が接続されていた場合には1システムにて複数のオペレ
ーティングシステムを動作させることが出来る。
According to the method of the present invention, if different microprocessors are connected to the system, a plurality of operating systems can be operated in one system.

(実施例) 以下、図面を使用して本発明実施例について詳細に説明
する。
(Example) Hereinafter, an example of the present invention will be described in detail using the drawings.

第1図は本発明の実施例を示すブロック図である。参考
のため、第2図に従来例も示されており、同一番号が付
されたブロックは第1図のそれと同じものとする。図に
おいて1はブセッサ(CPU1)、2.7はそのバス、
3はプロセッサ1と、プロセッサ(CPU2)6とのメ
イルボックスとなるコモンメモリである。4は本発明に
より付加されるモード制御レジスタであり、プロセッサ
1゜6の両方からアクセスできる構成となっている。
FIG. 1 is a block diagram showing an embodiment of the present invention. For reference, a conventional example is also shown in FIG. 2, and blocks with the same numbers are the same as those in FIG. 1. In the figure, 1 is the bus processor (CPU1), 2.7 is its bus,
A common memory 3 serves as a mailbox for the processor 1 and the processor (CPU 2) 6. Reference numeral 4 denotes a mode control register added according to the present invention, which is configured to be accessible from both processors 1 and 6.

5はCPUIのバス2のドライバ/レシーバ(D/R)
である。6は他方のプロセッサ(CPU2)であり、7
はそのバス、8はCPU2用のローカルメモリである。
5 is CPU bus 2 driver/receiver (D/R)
It is. 6 is the other processor (CPU2), 7
is its bus, and 8 is a local memory for the CPU2.

9,10はそれぞれ画面制御部と表示装置(CRT)で
ある。11はCPU2が持つバス7のドライバ/レシー
バ(D/R)である。
9 and 10 are a screen control unit and a display device (CRT), respectively. Reference numeral 11 denotes a driver/receiver (D/R) of the bus 7 that the CPU 2 has.

12はシステムバスであり、主メモリ13人出力装置■
4が接続される。
12 is the system bus, main memory 13 output device■
4 is connected.

以下、従来例と対比しながら本発明実施例の動作につい
て詳細に説明する。
Hereinafter, the operation of the embodiment of the present invention will be explained in detail in comparison with the conventional example.

従来は第2図に示すようにCPUIはメインプロセッサ
として動作し、オペレーティングシステム(O8)箱の
CPUI上で動作する。CPUIの負荷を軽減するため
に、例えば画面制御などは専用サブプロセッサCPU2
 (6)に任せ、その間の情報はコモンメモリ5で行な
われていた。近年、半導体技術の進歩よりマイクロプロ
セッサが持つ性能は格段に向上したが、従来の方式では
サブプロセッサ6は画面制御など専用ブロセ、ソサのみ
に従事し、性能は生かしきっていなかったことは上述し
たとおりである。
Conventionally, as shown in FIG. 2, the CPUI operates as a main processor and operates on the CPUI of an operating system (O8) box. In order to reduce the load on the CPU, a dedicated subprocessor CPU2 is used for screen control, etc.
(6), and the information during that time was stored in the common memory 5. In recent years, the performance of microprocessors has improved significantly due to advances in semiconductor technology, but as mentioned above, in the conventional system, the subprocessor 6 was only engaged in dedicated processing and processing such as screen control, and its performance was not fully utilized. That's right.

第1図は本発明実施例である初期状態のとき、モード制
御レジスタ4はCPUIモードとなっており、このモー
ドではドライバ/レシーバ5が有効となり、CPUIの
バス2がシステムバス12と接続されてCPUIが主メ
モリ13人出力14をアクセスする事ができる。
FIG. 1 shows an embodiment of the present invention in which the mode control register 4 is in the CPUI mode in the initial state. In this mode, the driver/receiver 5 is enabled and the CPU bus 2 is connected to the system bus 12. The CPU can access 13 main memory outputs 14.

即ち、σSはCPUIのプロセッサ上にて動作する。そ
のとき、CPU2はサブプロセッサとして動作しローカ
ルメモリ8を使って画面制御部9をコントロールする。
That is, σS operates on the processor of the CPUI. At this time, the CPU 2 operates as a sub-processor and controls the screen control section 9 using the local memory 8.

CPUI (1)とCPU2(6)の情報はコモンメモ
リ3によって変換される。CPUI上のプログラムによ
り、モード制御レジスタ4をアクセスし、モードを変更
すると、ドライバ/レシーバ5は無効となる。そのかわ
りにドライバ/レシーバ11が有効となり、CPU2が
持つバス7がシステムバス12と接続されて、CPU2
 (6)が主メモリ13人出力装置14をアクセスでき
るようになる。このモードではCPUI(1)は動させ
ず全てのシステムの制御はCPU2(6)によって行な
われる。モード制御レジスタ4はCPU2 (6)によ
ってもアクセスする事ができ、両モードをプログラマブ
ルに切り替えることができる。
The information of CPUI (1) and CPU2 (6) is converted by common memory 3. When the program on the CPUI accesses the mode control register 4 and changes the mode, the driver/receiver 5 becomes invalid. Instead, the driver/receiver 11 is enabled, the bus 7 of the CPU 2 is connected to the system bus 12, and the CPU 2
(6) The main memory 13 can now access the output device 14. In this mode, the CPU (1) is not operated and all system control is performed by the CPU (6). The mode control register 4 can also be accessed by the CPU 2 (6), and both modes can be switched programmably.

尚、本発明方式により、CPUIとCPU2が異なるタ
イプのマイクロブセッサで構成されるならば、lシステ
ムで2つのC)Sを動作させることもできる。
By the way, according to the method of the present invention, if the CPUI and the CPU2 are configured with different types of microprocessors, it is also possible to operate two C)S in the l system.

[発明の効果] 以上説明の様に本発明方式に従えば、モード1に関し、
CPU1をメインプロセッサに、CPU2をサブプロセ
ッサとして動作させる機能分散モードとし、一方、モー
ド2に関し、CPU2のみメインプロセッサとして働く
モードとすることにより、もし、CPUIとCPUが異
なるタイプのマイクロプロセッサで構成されるならば、
2つの異なるσSを1つのシステムで動作させることが
できる。このように機能分散をはかってシステム性能の
向上をねらいながらモードを切換えることにより2つの
O8を動かすといった柔軟性のある使い方が可能となる
[Effect of the invention] According to the method of the present invention as explained above, regarding mode 1,
By setting the function distribution mode in which CPU1 operates as the main processor and CPU2 as a sub-processor, and on the other hand, in mode 2, by setting the mode in which only CPU2 operates as the main processor, if the CPUI and CPU are configured with different types of microprocessors, If
Two different σS can be operated in one system. By distributing functions in this way and switching modes while aiming to improve system performance, flexible usage such as operating two O8s becomes possible.

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

第1図は本発明の実施例を示すブロック図、第2図は従
来例を示すブロック図である。 1.6・・・プロセッサ(CPU) 、2.7・・・C
PUバス、3・・・コモンメモリ、4・・・モート制御
レジスタ、8・・・ローカルメモリ、5,11・・・ド
ライバ/レシーバ、12・・・システムバス。 出願人代理人 弁理士 鈴江武彦 第1図 第2図
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a block diagram showing a conventional example. 1.6...processor (CPU), 2.7...C
PU bus, 3... Common memory, 4... Mote control register, 8... Local memory, 5, 11... Driver/receiver, 12... System bus. Applicant's agent Patent attorney Takehiko Suzue Figure 1 Figure 2

Claims (1)

【特許請求の範囲】[Claims] それぞれが独立したバスを持つマイクロプロセッサと、
上記バス間に接続され、上記マイクロプロセッサ間の情
報変換を行なうときにその交信情報が格納されるコモン
メモリと、上記両マイクロプロセッサによりアクセスさ
れ、その動作モードが設定されるモード制御レジスタと
、上記バスとはそれぞれドライバ/レシーバを介して接
続され、主メモリ、入出力デバイスが共通接続されるシ
ステムバスとからなり、上記モード制御レジスタに設定
された内容に従がいいずれか一方のドライバ/レシーバ
を有効としシステムバスに接続されたマイクプロセッサ
を機能させることを特徴とするマルチCPU制御方式。
A microprocessor, each with an independent bus,
a common memory that is connected between the buses and stores communication information when converting information between the microprocessors; a mode control register that is accessed by both of the microprocessors and sets their operating modes; Each bus is connected via a driver/receiver, and consists of a system bus to which main memory and input/output devices are commonly connected, and one of the drivers/receivers is activated according to the contents set in the mode control register above. A multi-CPU control method characterized by enabling a microprocessor connected to a system bus to function.
JP61226736A 1986-09-25 1986-09-25 Multi CPU control method Expired - Lifetime JP2695773B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61226736A JP2695773B2 (en) 1986-09-25 1986-09-25 Multi CPU control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61226736A JP2695773B2 (en) 1986-09-25 1986-09-25 Multi CPU control method

Publications (2)

Publication Number Publication Date
JPS6381558A true JPS6381558A (en) 1988-04-12
JP2695773B2 JP2695773B2 (en) 1998-01-14

Family

ID=16849799

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61226736A Expired - Lifetime JP2695773B2 (en) 1986-09-25 1986-09-25 Multi CPU control method

Country Status (1)

Country Link
JP (1) JP2695773B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6646653B2 (en) 1992-01-30 2003-11-11 A/N Inc. Programmable graphics processor for use in a video game system or the like

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI348652B (en) * 2005-10-17 2011-09-11 Via Tech Inc Driver assisted asynchronous command processing

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59172059A (en) * 1983-03-22 1984-09-28 Toshiba Corp Electronic computer system
JPS60169966A (en) * 1984-02-14 1985-09-03 Mitsubishi Electric Corp Data processor
JPS60254358A (en) * 1984-05-31 1985-12-16 Toshiba Corp Multi-architecture microprocessor system
JPS61166667A (en) * 1985-01-18 1986-07-28 Yaskawa Electric Mfg Co Ltd Multi-processor system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59172059A (en) * 1983-03-22 1984-09-28 Toshiba Corp Electronic computer system
JPS60169966A (en) * 1984-02-14 1985-09-03 Mitsubishi Electric Corp Data processor
JPS60254358A (en) * 1984-05-31 1985-12-16 Toshiba Corp Multi-architecture microprocessor system
JPS61166667A (en) * 1985-01-18 1986-07-28 Yaskawa Electric Mfg Co Ltd Multi-processor system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6646653B2 (en) 1992-01-30 2003-11-11 A/N Inc. Programmable graphics processor for use in a video game system or the like
US6895470B2 (en) 1992-01-30 2005-05-17 Nintendo Of America Inc. External memory system having programmable graphics processor for use in a video game system or the like
US7229355B2 (en) 1992-01-30 2007-06-12 Nintendo Co., Ltd. External memory system having programmable graphics processor for use in a video game system of the like
US7432932B2 (en) 1992-01-30 2008-10-07 Nintendo Co., Ltd. External memory system having programmable graphics processor for use in a video game system or the like

Also Published As

Publication number Publication date
JP2695773B2 (en) 1998-01-14

Similar Documents

Publication Publication Date Title
US5371849A (en) Dual hardware channels and hardware context switching in a graphics rendering processor
US6223279B1 (en) Single chip microcomputer having a dedicated address bus and dedicated data bus for transferring register bank data to and from an on-line RAM
JPH06208632A (en) Graphic / image processing method and device
KR100288170B1 (en) Data processor with a compute unit that shares a set of register files
JPS6381558A (en) Multi-cpu controlling system
KR940004735B1 (en) Graphic processing system
JPH06187066A (en) Microprocessor with plural cpu
EP0473278B1 (en) Logic apparatus for use with a computing device
JPH0554009A (en) Program load system
JPH0656611B2 (en) Vector processor
JP2601855B2 (en) I / O controller
JPH0713920A (en) Dma transferring method
JP2514334B2 (en) Control device
JPS6362067A (en) Distribution circuit for control memory access of plural processors
JPH01300364A (en) Multi-processor system
JPH05204414A (en) Programable controller system
JPH02128269A (en) Program initial loading system
JPH02308356A (en) Parallel processor
JPH11161620A (en) Method and device for communication
JPS63127361A (en) Data processor
JPH064469A (en) Input/output device control system
JPH0784963A (en) Semiconductor integrated circuit with cpu
JPH1021185A (en) Computer communication equipment
JPH073667B2 (en) One-chip microcomputer
JPS62229350A (en) Command transmission and control system