JPH07200490A - Mpu - Google Patents

Mpu

Info

Publication number
JPH07200490A
JPH07200490A JP5349277A JP34927793A JPH07200490A JP H07200490 A JPH07200490 A JP H07200490A JP 5349277 A JP5349277 A JP 5349277A JP 34927793 A JP34927793 A JP 34927793A JP H07200490 A JPH07200490 A JP H07200490A
Authority
JP
Japan
Prior art keywords
cpu
mpu
instruction code
cpus
cache
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
JP5349277A
Other languages
Japanese (ja)
Inventor
Sadamichi Sekiguchi
定道 関口
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP5349277A priority Critical patent/JPH07200490A/en
Publication of JPH07200490A publication Critical patent/JPH07200490A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To enable one MPU to perform plural different arithmetic processes at a time by providing plural CPUs and caches corresponding to them in one MPU. CONSTITUTION:When the MPU 1 reads and executes a program A (instruction code A) stored in a main storage part 6, a 1st CPU 2a fetches the instruction code A through a 1st cache 3a and starts a process. While the instruction code A is fetched and this process is performed, an internal bus 6 is in an open state and 2nd CPU 2b... (n)th CPU 2c perform nothing. A bus arbitration part 4 when recognizing the state allows the 2nd CPU 2b to fetch another instruction code B on condition that there is the instruction code B to be executed. Consequently, the 2nd CPU 2b fetches the instruction code B through a 2nd cache 3b and performs a process.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、演算処理部を有する
MPUに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an MPU having an arithmetic processing unit.

【0002】[0002]

【従来の技術】MPUは、演算処理部とレジスタとバッ
ファとこれらの動作を制御する制御部とから構成され、
外部に設けられている主記憶部に格納されているプログ
ラムを実行する。主記憶部に格納されているプログラム
は、まず、制御部の制御のもとにバッファに取り込まれ
次いでレジスタに運ばれ、このレジスタに格納されたプ
ログラムが演算処理部で実行処理される。
2. Description of the Related Art An MPU is composed of an arithmetic processing unit, a register, a buffer, and a control unit for controlling the operations of these units.
The program stored in the external main memory is executed. The program stored in the main storage unit is first taken into the buffer under the control of the control unit and then carried to the register, and the program stored in the register is executed and processed by the arithmetic processing unit.

【0003】[0003]

【発明が解決しようとする課題】従来は以上のように構
成されていたので、1つのMPUが、1度に1つの処理
しかできず、処理能力が低いという問題があった。
Since the conventional configuration is as described above, there is a problem that one MPU can perform only one process at a time and the processing capacity is low.

【0004】この発明は、以上のような問題点を解消す
るためになされたものであり、MPUの処理速度を速く
することを目的とする。
The present invention has been made to solve the above problems, and an object thereof is to increase the processing speed of the MPU.

【0005】[0005]

【課題を解決するための手段】この発明のMPUは、演
算処理部とレジスタとバッファとこれらの動作を制御す
る制御部となどから構成された複数のCPUと、それら
CPUにそれぞれ対応する複数のキャッシュメモリと、
このCPUのアクセス権の調停を行う内部バス調停部
と、CPUをキャッシュメモリを介してバス調停部に接
続する内部バスとから構成されていることを特徴とす
る。また、演算処理部とレジスタとバッファとこれらの
動作を制御する制御部となどから構成された複数のCP
Uと、それらCPUにそれぞれ対応する複数のキャッシ
ュメモリと、CPUへ同時に同一のデータを転送し、そ
の処理結果を比較する内部バス調停部と、CPUをキャ
ッシュメモリを介してバス調停部に接続する内部バスと
から構成されていることを特徴とする。
An MPU of the present invention comprises a plurality of CPUs each comprising an arithmetic processing unit, a register, a buffer, a control unit for controlling the operation of these units, and a plurality of CPUs respectively corresponding to the CPUs. Cache memory,
An internal bus arbitration unit that arbitrates the access right of the CPU, and an internal bus that connects the CPU to the bus arbitration unit via the cache memory are featured. In addition, a plurality of CPs including an arithmetic processing unit, a register, a buffer, a control unit that controls these operations, and the like.
U, a plurality of cache memories respectively corresponding to these CPUs, an internal bus arbitration unit that transfers the same data to the CPU at the same time and compares the processing results, and the CPU is connected to the bus arbitration unit via the cache memory. It is characterized by being configured with an internal bus.

【0006】[0006]

【作用】1つのMPUで複数の処理が複数のCPUを用
いて同時に成される。そして、CPUそれぞれのキャッ
シュメモリは、繰り返しの処理を行うとき、CPUが外
部とアクセスしなくてもすむようにする。また、同一の
処理を同時に1つのMPU内の複数のCPUで処理す
る。
A plurality of processes are simultaneously performed by one MPU using a plurality of CPUs. Then, the cache memories of the respective CPUs do not require the CPUs to access the outside when performing repeated processing. Further, the same processing is simultaneously processed by a plurality of CPUs in one MPU.

【0007】[0007]

【実施例】以下この発明の1実施例を図を参照して説明
する。図1は、この発明の1実施例であるMPUの構成
を示す構成図である。同図において、1はこの発明のM
PU、2a,2b,2cは演算処理部とレジスタとバッ
ファとこれらの動作を制御する制御部とを有するそれぞ
れ第1CPU,第2CPU,第nCPU、3a,3b,
3cは第1CPU2a,第2CPU2b,第nCPU2
cが用いるデータをキャッシングするそれぞれ第1キャ
ッシュ,第2キャッシュ,第nキャッシュ、4はMPU
1内部において第1CPU2a,第2CPU2b,第n
CPU2cへのアクセス権の調停を行う内部バス調停
部、5はMPU1内部の内部バスであり、このように、
MPU1は複数のCPUより構成されているものであ
る。そして、6は実行するプログラムなどが格納されて
いるMPU1の主記憶部である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a configuration diagram showing the configuration of an MPU which is an embodiment of the present invention. In the figure, 1 is M of the present invention.
The PUs 2a, 2b, 2c each have a first CPU, a second CPU, an n-th CPU, 3a, 3b, which have an arithmetic processing unit, a register, a buffer, and a control unit for controlling these operations.
3c is the first CPU 2a, the second CPU 2b, the nth CPU 2
The first cache, the second cache, the nth cache, and 4 are MPUs that cache the data used by c.
In 1 inside, 1st CPU2a, 2nd CPU2b, nth
The internal bus arbitration unit 5 that arbitrates the access right to the CPU 2c is an internal bus inside the MPU 1.
The MPU 1 is composed of a plurality of CPUs. Reference numeral 6 is a main storage unit of the MPU 1 in which programs to be executed are stored.

【0008】以下、このMPU1の動作について説明す
る。MPU1が主記憶部6に格納されているプログラム
A(命令コードA)を読み込んで実行するとき、まず、
第1CPU2aが第1キャッシュ3aを介してこの命令
コードAを取り込んで処理を開始する。命令コードAを
取り込んでしまいこの処理が行われている最中は、内部
バス5は開いた状態となり、かつ、第2CPU2b・・
・第nCPU2cは何もしていない状態である。バス調
停部4は、この状態を認識すると、他に実行すべき命令
コードBがある場合、この命令コードBを第2CPU2
bが取り込むことを許可する。このことにより、第2C
PU2bは命令コードBを第2キャッシュ3bを介して
取り込んで処理を行う。
The operation of the MPU 1 will be described below. When the MPU 1 reads and executes the program A (instruction code A) stored in the main storage unit 6, first,
The first CPU 2a fetches the instruction code A via the first cache 3a and starts the processing. While the instruction code A is fetched and this processing is being performed, the internal bus 5 is in an open state, and the second CPU 2b ...
-The nth CPU 2c is in a state where nothing is done. When the bus arbitration unit 4 recognizes this state, if there is another instruction code B to be executed, the instruction code B is sent to the second CPU 2
Allow b to capture. As a result, the second C
The PU 2b fetches the instruction code B via the second cache 3b and processes it.

【0009】このように、このMPU1では、異なるプ
ログラムの命令コードをそれぞれほぼ同時に処理するこ
とができる。また、例えば、第1CPU2aが処理を行
った命令コードAを再び処理する場合、この命令コード
Aは第1キャッシュ3aにキャッシングされているの
で、主記憶部6より取り出す必用がなく、外部とのアク
セスを減少することができる。一方で、内部バス5は、
例えば、第1CPU2aが命令コードAの処理によりま
たは終了により、所定のデータを主記憶部6に転送する
ときにも用いられる。従って、第1CPU2a,第2C
PU2b・・・第nCPU2cそれぞれの主記憶部6と
のアクセスが減少できれば、内部バス5の空いている時
間が多くなり、それだけ、主記憶部6へのアクセス待ち
時間が減少でき、空いている他のCPUが新規に命令コ
ードを取り込むことが可能となり、MPU1の処理能力
が向上する。
As described above, the MPU 1 can process instruction codes of different programs almost simultaneously. Further, for example, when the instruction code A processed by the first CPU 2a is processed again, since the instruction code A is cached in the first cache 3a, it is not necessary to retrieve it from the main storage unit 6 and access to the outside is not required. Can be reduced. On the other hand, the internal bus 5
For example, it is also used when the first CPU 2a transfers predetermined data to the main storage unit 6 by processing the instruction code A or by ending the processing. Therefore, the first CPU 2a, the second C
PU2b ... If the access to the main storage unit 6 of each of the nth CPUs 2c can be reduced, the free time of the internal bus 5 increases, and the waiting time for accessing the main storage unit 6 can be reduced accordingly. The CPU can newly take in the instruction code, and the processing capability of the MPU 1 is improved.

【0010】ところで、上記実施例では、異なるCPU
では異なる命令コードを実行するようにしたが、これに
限るものではない。バス調停部4が第1CPU2a,第
2CPU2b・・・第nCPU2cに同一の命令コード
を処理させ、その演算結果を比較するようにすれば、処
理結果の信頼性の向上を図ることが可能となる。このよ
うに、バス調停部4が複数のCPUに同一の命令コード
を処理させるようにすれば、上述した場合と異なり、命
令コードを1回しか実行しない場合には処理速度の向上
は望めないが、信頼性向上のため1つの命令コードを数
回繰り返して実行させる場合などは、複数回の命令コー
ドの実行を一度に行うことができるので、処理速度の向
上が図れる。
By the way, in the above embodiment, different CPUs are used.
Then, the different instruction code is executed, but it is not limited to this. If the bus arbitration unit 4 causes the first CPU 2a, the second CPU 2b, ..., And the nth CPU 2c to process the same instruction code and compare the calculation results, the reliability of the processing result can be improved. In this way, if the bus arbitration unit 4 causes a plurality of CPUs to process the same instruction code, unlike the case described above, the processing speed cannot be improved when the instruction code is executed only once. When, for example, one instruction code is repeatedly executed several times for the purpose of improving reliability, the instruction code can be executed a plurality of times at a time, so that the processing speed can be improved.

【0011】[0011]

【発明の効果】以上説明したように、この発明によれ
ば、複数のCPUとこれに対応するキャッシュを1つの
MPU内にそろえるようにしたので、1つのMPUで1
度に異なる複数の演算処理をすることが可能となり、M
PUの処理速度を向上させるという効果を有する。ま
た、1つのMPU内に複数のCPUを備え、これらで同
一のデータを処理するようにしたので、複数回同一の処
理を行わなくても、1回の処理で処理結果の信頼性の向
上を図ることが可能となり、やはり、MPUの処理速度
を向上させるという効果を有する。
As described above, according to the present invention, a plurality of CPUs and caches corresponding to them are arranged in one MPU, so that one MPU can perform one operation.
It becomes possible to perform a plurality of different calculation processes each time.
It has the effect of improving the processing speed of the PU. Further, since one MPU is provided with a plurality of CPUs and the same data is processed by these CPUs, it is possible to improve the reliability of the processing result in a single processing without performing the same processing a plurality of times. It is possible to achieve this, and it also has the effect of improving the processing speed of the MPU.

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

【図1】この発明の1実施例であるMPUの構成を示す
構成図である。
FIG. 1 is a configuration diagram showing a configuration of an MPU which is an embodiment of the present invention.

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

1 MPU 2a 第1CPU 2b 第2CPU 2c 第nCPU 3a 第1キャッシュ 3b 第2キャッシュ 3c 第nキャッシュ 4 内部バス調停部、 5 内部バス 6 主記憶部 1 MPU 2a 1st CPU 2b 2nd CPU 2c nCPU 3a 1st cache 3b 2nd cache 3c nth cache 4 Internal bus arbitration unit, 5 Internal bus 6 Main storage unit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 演算処理部とレジスタとバッファとこれ
らの動作を制御する制御部となどから構成された複数の
CPUと、 それらCPUにそれぞれ対応する複数のキャッシュメモ
リと、 前記CPUのアクセス権の調停を行う内部バス調停部
と、 前記CPUを前記キャッシュメモリを介してバス調停部
に接続する内部バスとから構成されていることを特徴と
するMPU。
1. A plurality of CPUs including an arithmetic processing unit, a register, a buffer, and a control unit for controlling these operations, a plurality of cache memories respectively corresponding to the CPUs, and access rights of the CPUs. An MPU comprising an internal bus arbitration unit that performs arbitration, and an internal bus that connects the CPU to the bus arbitration unit via the cache memory.
【請求項2】 演算処理部とレジスタとバッファとこれ
らの動作を制御する制御部となどから構成された複数の
CPUと、 それらCPUにそれぞれ対応する複数のキャッシュメモ
リと、 前記CPUへ同時に同一のデータを転送し、その処理結
果を比較する内部バス調停部と、 前記CPUを前記キャッシュメモリを介してバス調停部
に接続する内部バスとから構成されていることを特徴と
するMPU。
2. A plurality of CPUs including an arithmetic processing unit, a register, a buffer, and a control unit for controlling these operations, a plurality of cache memories respectively corresponding to the CPUs, and the same CPU to the CPUs at the same time. An MPU comprising: an internal bus arbitration unit that transfers data and compares processing results; and an internal bus that connects the CPU to the bus arbitration unit via the cache memory.
JP5349277A 1993-12-28 1993-12-28 Mpu Pending JPH07200490A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5349277A JPH07200490A (en) 1993-12-28 1993-12-28 Mpu

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5349277A JPH07200490A (en) 1993-12-28 1993-12-28 Mpu

Publications (1)

Publication Number Publication Date
JPH07200490A true JPH07200490A (en) 1995-08-04

Family

ID=18402680

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5349277A Pending JPH07200490A (en) 1993-12-28 1993-12-28 Mpu

Country Status (1)

Country Link
JP (1) JPH07200490A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5609305A (en) * 1994-09-19 1997-03-11 Vortec Corporation Apparatus for providing an air curtain
US6043862A (en) * 1997-07-02 2000-03-28 Ishiyama; Yutaka Wet-type plate-making machine for producing printing negatives

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4955249A (en) * 1972-09-29 1974-05-29
JPS62152064A (en) * 1985-12-26 1987-07-07 Nec Corp Single-chip microcomputer
JPS62210564A (en) * 1986-03-12 1987-09-16 Hitachi Ltd Processor
JPS62221062A (en) * 1986-03-20 1987-09-29 Nec Corp Single chip microcomputer
JPH02244252A (en) * 1989-03-17 1990-09-28 Hitachi Ltd One-chip multiprocessor containing bus arbiter and comparator
JPH03111962A (en) * 1989-09-26 1991-05-13 Nec Corp Multiprocessor system
JPH04343144A (en) * 1991-05-21 1992-11-30 Nec Corp Microprocessor

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4955249A (en) * 1972-09-29 1974-05-29
JPS62152064A (en) * 1985-12-26 1987-07-07 Nec Corp Single-chip microcomputer
JPS62210564A (en) * 1986-03-12 1987-09-16 Hitachi Ltd Processor
JPS62221062A (en) * 1986-03-20 1987-09-29 Nec Corp Single chip microcomputer
JPH02244252A (en) * 1989-03-17 1990-09-28 Hitachi Ltd One-chip multiprocessor containing bus arbiter and comparator
JPH03111962A (en) * 1989-09-26 1991-05-13 Nec Corp Multiprocessor system
JPH04343144A (en) * 1991-05-21 1992-11-30 Nec Corp Microprocessor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5609305A (en) * 1994-09-19 1997-03-11 Vortec Corporation Apparatus for providing an air curtain
US6043862A (en) * 1997-07-02 2000-03-28 Ishiyama; Yutaka Wet-type plate-making machine for producing printing negatives

Similar Documents

Publication Publication Date Title
US4648034A (en) Busy signal interface between master and slave processors in a computer system
JPH05233271A (en) Data processor
JP2773471B2 (en) Information processing device
US4747045A (en) Information processing apparatus having an instruction prefetch circuit
KR100210205B1 (en) Apparatus and method for providing a stall cache
JPH0530112A (en) Control method for digital signal processing system
US4764866A (en) Data processing system with pre-decoding of op codes
GB2231986A (en) Programmable logic controller including function block processor and bit processor
JPH07200490A (en) Mpu
JPS63197232A (en) Microprocessor
US6425047B1 (en) Process containing address decoders suited to improvements in clock speed
US5734900A (en) Information handling system including efficient power on initialization
JPH06230985A (en) Task control circuit and microprocessor
JPH0377137A (en) Information processor
JP2619425B2 (en) Sequence controller
JPH06324861A (en) System and method for controlling cpu
JP2851777B2 (en) Bus control method and information processing device
JP2544533B2 (en) Programmable controller sequence instruction processor
JP2806690B2 (en) Microprocessor
KR910007028B1 (en) Pipeline processing method in data processing system
JPS61294550A (en) Data reading and writing control system for electronic computer
JPH03164945A (en) Data processor
JP2927751B2 (en) Information processing apparatus, information processing method, and scheduling apparatus
JP2522561B2 (en) Programmable controller
JPH05108590A (en) Microprocessor system