JPH0553997A - Microcomputer - Google Patents

Microcomputer

Info

Publication number
JPH0553997A
JPH0553997A JP21772791A JP21772791A JPH0553997A JP H0553997 A JPH0553997 A JP H0553997A JP 21772791 A JP21772791 A JP 21772791A JP 21772791 A JP21772791 A JP 21772791A JP H0553997 A JPH0553997 A JP H0553997A
Authority
JP
Japan
Prior art keywords
central processing
processing unit
interrupt
unit
request signal
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
JP21772791A
Other languages
Japanese (ja)
Inventor
Takashi Yamamoto
貴志 山本
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 IC Microcomputer Systems Co Ltd
Original Assignee
NEC IC Microcomputer Systems 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 NEC IC Microcomputer Systems Co Ltd filed Critical NEC IC Microcomputer Systems Co Ltd
Priority to JP21772791A priority Critical patent/JPH0553997A/en
Publication of JPH0553997A publication Critical patent/JPH0553997A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide the microcomputer which can immediately deal with an interruption processing request. CONSTITUTION:A starting device 1 receiving an interruption request signal 101 selects and starts a central processing unit 4, for example, under stopping among central processing units 3 and 4. The other central processing unit 3 under operating continues an operation processing under processing at present without being stopped by inputting the interruption request signal 101. The central processing unit 4 started by the interruption request signal 101 is stopped by a stopping device 2 when there is no newly required processing operation condition after the interruption processing is completed. A storage device 5 is shared by the central processing units 3 and 4, and stored data are utilized at both central processing units 3 and 4 as well.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はマイクロコンピュータに
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a microcomputer.

【0002】[0002]

【従来の技術】従来のマイクロコンピュータは、割込み
制御回路と単一の中央演算装置とにより構成されている
のが一般である。この従来のマイクロコンピュータの場
合においては、通常の演算処理が中央演算装置において
実行されている過程において、割込み要求が発生した場
合には、前記通常処理の実行終了後に、当該通常処理を
一時中断して、同一の中央演算装置を用いて割込み処理
が実行される。このために、通常処理から割込み処理に
切替える時点、または割込み処理から通常処理に切替え
る時点において、それぞれ対応する切替え時間を要する
ことになる。
2. Description of the Related Art A conventional microcomputer is generally composed of an interrupt control circuit and a single central processing unit. In the case of this conventional microcomputer, when an interrupt request occurs in the process of executing the normal arithmetic processing in the central processing unit, the normal processing is temporarily suspended after the execution of the normal processing. Then, interrupt processing is executed using the same central processing unit. Therefore, a corresponding switching time is required at the time of switching from the normal processing to the interrupt processing or at the time of switching from the interrupt processing to the normal processing.

【0003】[0003]

【発明が解決しようとする課題】上述した従来のマイク
ロコンピュータにおいては、単一の中央演算装置を用い
て通常処理と割込み処理とが実行されるために、割込み
要求が発生してから実際に当該割込み処理が実行される
までには、切替えに伴なう時間を必要とし、高速の応答
を必要となる場合においても、即応することが困難であ
り、また、割込み要求が発生してから実際に割込み処理
が実行されるまでの時間が一定でないために、正確な時
間間隔で処理を実行することが不可能であるという欠点
がある。
In the conventional microcomputer described above, since the normal processing and the interrupt processing are executed by using the single central processing unit, the actual processing is performed after the interrupt request is generated. The time required for switching is required before interrupt processing is executed, and it is difficult to respond immediately even when high-speed response is required. Since the time until the interrupt processing is executed is not constant, it is impossible to execute the processing at accurate time intervals.

【0004】[0004]

【課題を解決するための手段】本発明のマイクロコンピ
ュータは、同一半導体回路素子上に配置して構成される
マイクロコンピュータにおいて、演算装置として機能す
る複数の中央演算装置と、外部から入力される割込み要
求信号を受けて、前記複数の中央演算装置の内の停止中
の中央演算装置による割込み処理の実行、ならびに当該
割込み処理終了後の動作停止を制御する割込み処理制御
手段と、前記複数の中央演算装置に共用される記憶装置
と、を備えて構成される。
A microcomputer according to the present invention is a microcomputer configured by being arranged on the same semiconductor circuit element, wherein a plurality of central processing units functioning as a processing unit and an interrupt input from the outside are provided. An interrupt processing control unit that receives a request signal and controls the execution of interrupt processing by the stopped central processing unit of the plurality of central processing units, and the operation stop after the end of the interrupt processing, and the plurality of central processing units. And a storage device shared by the devices.

【0005】なお、前記割込み処理制御手段は、外部か
ら入力される割込み要求信号を受けて、前記複数の中央
演算装置の内の停止中の中央演算装置を選択し、当該割
込み処理に対応して起動させる起動手段と、前記起動手
段により起動され、前記割込み要求信号に対応する処理
を終了した中央演算装置の動作を停止させる停止手段
と、を備えて構成してもよい。
The interrupt processing control means receives an interrupt request signal input from the outside, selects a stopped central processing unit among the plurality of central processing units, and responds to the interrupt processing. It may be configured to include a starting means for starting and a stopping means for stopping the operation of the central processing unit which is started by the starting means and ends the processing corresponding to the interrupt request signal.

【0006】また、前記割込み処理制御手段は、外部か
ら入力される割込み要求信号を受けて、前記複数の中央
演算装置の内より一つの中央演算装置を選択して、当該
割込み処理に対応する起動を指示する起動手段と、前記
起動指示に対応して、他の停止中の中央演算装置を選択
して起動させる任意の中央演算装置と、を備えて構成し
てもよい。
Further, the interrupt processing control means receives an interrupt request signal inputted from the outside, selects one central processing unit from the plurality of central processing units, and starts up corresponding to the interrupt processing. May be provided, and an arbitrary central processing unit that selects and starts another stopped central processing unit in response to the starting instruction.

【0007】[0007]

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.

【0008】図1は本発明の一実施例を示すブロック図
である。図1に示されるように、本実施例は、割込み要
求信号101に対応して、起動装置1と、停止装置2
と、中央演算装置(A)3と、中央演算装置(B)4
と、記憶装置5とを備えて構成される。
FIG. 1 is a block diagram showing an embodiment of the present invention. As shown in FIG. 1, in this embodiment, in response to the interrupt request signal 101, the starting device 1 and the stopping device 2 are connected.
, Central processing unit (A) 3 and central processing unit (B) 4
And a storage device 5.

【0009】図1において、起動装置1は、割込み要求
信号101を受けて、中央演算装置(A)3または中央
演算装置(B)4の内の何れか一方の停止中の中央演算
装置を選択して、当該中央演算装置を起動させる。例え
ば、中央演算装置(A)3が稼働中であり、中央演算装
置(B)4が停止中であった場合には、中央演算装置
(B)4が選択されて、起動装置1により起動される。
従って、稼働中のもう一方の中央演算装置は割込み要求
信号101の入力により停止されることなく、引続き現
在処理中の演算処理が続行される。この場合、割込み要
求信号101により起動された中央演算装置は、当該割
込み処理の終了後において、新たに必要とされる処理稼
働条件がない場合には、停止装置2により停止される。
なお、記憶装置5は、中央演算装置(A)3および中央
演算装置(B)4により共用される記憶装置であり、格
納されているデータも、双方の中央演算装置において利
用される。
In FIG. 1, the activation device 1 receives the interrupt request signal 101, and selects one of the central processing units (A) 3 and 4 which is in a stopped state. Then, the central processing unit is activated. For example, when the central processing unit (A) 3 is operating and the central processing unit (B) 4 is stopped, the central processing unit (B) 4 is selected and activated by the activation device 1. It
Therefore, the other central processing unit in operation is not stopped by the input of the interrupt request signal 101, and the arithmetic processing currently being processed is continued. In this case, the central processing unit activated by the interrupt request signal 101 is stopped by the stop device 2 after the completion of the interrupt processing, if there is no newly required processing operation condition.
The storage device 5 is a storage device shared by the central processing units (A) 3 and (B) 4, and the stored data is also used by both central processing units.

【0010】また、仮に、稼働中の中央演算装置(A)
3に対して起動装置1より起動要求があった場合には、
中央演算装置(A)3より停止中の中央演算装置(B)
4に対して起動の指示が出されて、中央演算装置(B)
4が起動される。この場合においては、中央演算装置
(B)4における割込み処理が終了すると、中央演算装
置(B)4より、当該処理が終了したことが中央演算装
置(A)3に伝達され、中央演算装置(A)3は、その
処理終了に対応して、起動装置2を介して中央演算装置
(B)4を停止させる。この中央演算装置における相互
作用は、逆に、稼働中の中央演算装置(B)4に対して
起動装置1より起動要求があった場合においても同様で
あり、この場合においては、中央演算装置(B)4よ
り、中央演算装置(A)3が起動される。
Further, suppose that the central processing unit (A) is in operation.
When the activation device 1 issues a activation request to the device 3,
Central processing unit (B) which is stopped from the central processing unit (A)
4 is instructed to start, the central processing unit (B)
4 is activated. In this case, when the interrupt processing in the central processing unit (B) 4 is completed, the central processing unit (B) 4 informs the central processing unit (A) 3 that the processing is completed, and the central processing unit (A) 3 A) 3 stops the central processing unit (B) 4 via the activation device 2 in response to the end of the processing. On the contrary, the interaction in the central processing unit is the same when the starting device 1 requests the central processing unit (B) 4 in operation. The central processing unit (A) 3 is activated from B) 4.

【0011】[0011]

【発明の効果】以上説明したように、本発明は、複数の
中央演算装置を備えることにより、割込み要求が発生し
た場合においても、現在稼働中の演算処理を停止させる
ことなく、高速応答の可能な効率のよい演算処理を実行
することができるという効果がある。
As described above, according to the present invention, by providing a plurality of central processing units, even when an interrupt request occurs, high-speed response is possible without stopping the operation processing currently in operation. There is an effect that it is possible to execute a highly efficient arithmetic process.

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

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

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

1 起動装置 2 停止装置 3 中央演算装置(A) 4 中央演算装置(B) 5 記憶装置 1 Starter 2 Stopper 3 Central Processing Unit (A) 4 Central Processing Unit (B) 5 Storage Device

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 同一半導体回路素子上に配置して構成さ
れるマイクロコンピュータにおいて、 演算装置として機能する複数の中央演算装置と、 外部から入力される割込み要求信号を受けて、前記複数
の中央演算装置の内の停止中の中央演算装置による割込
み処理の実行、ならびに当該割込み処理終了後の動作停
止を制御する割込み処理制御手段と、 前記複数の中央演算装置に共用される記憶装置と、 を備えることを特徴とするマイクロコンピュータ。
1. A microcomputer configured to be arranged on the same semiconductor circuit element, wherein a plurality of central processing units functioning as a processing unit and an interrupt request signal input from the outside are received, and the plurality of central processing units are operated. An interrupt processing control means for controlling the execution of interrupt processing by the central processing unit that is stopped in the apparatus and the operation stop after the completion of the interrupt processing; and a storage device shared by the plurality of central processing units. A microcomputer characterized in that.
【請求項2】 前記割込み処理制御手段が、外部から入
力される割込み要求信号を受けて、前記複数の中央演算
装置の内の停止中の中央演算装置を選択し、当該割込み
処理に対応して起動させる起動手段と、前記起動手段に
より起動され、前記割込み要求信号に対応する処理を終
了した中央演算装置の動作を停止させる停止手段と、を
備えて構成される請求項1記載のマイクロコンピュー
タ。
2. The interrupt processing control means receives an interrupt request signal input from the outside, selects a stopped central processing unit among the plurality of central processing units, and responds to the interrupt processing. 2. The microcomputer according to claim 1, further comprising: a starting unit for starting and a stopping unit for starting the operation of the central processing unit which has been started by the starting unit and finished the processing corresponding to the interrupt request signal.
【請求項3】 前記割込み処理制御手段が、外部から入
力される割込み要求信号を受けて、前記複数の中央演算
装置の内より一つの中央演算装置を選択して、当該割込
み処理に対応する起動を指示する起動手段と、前記起動
指示に対応して、他の停止中の中央演算装置を選択して
起動させる任意の中央演算装置と、を備える請求項1記
載のマイクロコンピュータ。
3. The interrupt processing control means receives an interrupt request signal input from the outside, selects one central processing unit from the plurality of central processing units, and starts up corresponding to the interrupt processing. 2. The microcomputer according to claim 1, further comprising: a start-up unit for instructing, and an arbitrary central processing unit for selecting and starting another stopped central processing unit in response to the starting instruction.
JP21772791A 1991-08-29 1991-08-29 Microcomputer Pending JPH0553997A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21772791A JPH0553997A (en) 1991-08-29 1991-08-29 Microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21772791A JPH0553997A (en) 1991-08-29 1991-08-29 Microcomputer

Publications (1)

Publication Number Publication Date
JPH0553997A true JPH0553997A (en) 1993-03-05

Family

ID=16708799

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21772791A Pending JPH0553997A (en) 1991-08-29 1991-08-29 Microcomputer

Country Status (1)

Country Link
JP (1) JPH0553997A (en)

Similar Documents

Publication Publication Date Title
JPS6364144A (en) Inter-memory data transfer system
JPH0553997A (en) Microcomputer
JPH0934518A (en) Control processor
JPS6139104A (en) Sequencer
JPH07287660A (en) Interruption processing method for programmable controller
JPH02121047A (en) Input/output control system
JPH02170219A (en) Control system for device cross-call
JPS6139103A (en) Sequencer
JPS61166631A (en) Microprogram control processor
JPS6063662A (en) Multiprocessor system
JPH04127214A (en) Power unit control system
JPS58187052A (en) Restart processing starting system
JPH0341542A (en) Peripheral controller
JPH0561811A (en) Interruption control system and information processing system
JPS6133509A (en) Sequencer
JPH0883187A (en) Data processor
JPH02302198A (en) Exchange processing start system
JPH0237450A (en) Channel device
JPS62231371A (en) Control system for start-up/stop of multiprocessor
JPH08123632A (en) Image processing system
JPH05342021A (en) Multitask computer
JPH01205310A (en) System for controlling power supply of data processor
JPH05225112A (en) Information processor
JPH052412A (en) Control program execution system for programmable controller
JPH0934514A (en) Multitask control system for programmable controller and multitask type programmable controller

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19981124