JPS6225358A - Varying device for interruption request level - Google Patents

Varying device for interruption request level

Info

Publication number
JPS6225358A
JPS6225358A JP16407885A JP16407885A JPS6225358A JP S6225358 A JPS6225358 A JP S6225358A JP 16407885 A JP16407885 A JP 16407885A JP 16407885 A JP16407885 A JP 16407885A JP S6225358 A JPS6225358 A JP S6225358A
Authority
JP
Japan
Prior art keywords
interrupt
level
interruption
signal
interrupt request
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
JP16407885A
Other languages
Japanese (ja)
Inventor
Masaki Naito
内藤 雅規
Masao Takada
雅夫 高田
Yoji Kazuyasu
一安 洋二
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP16407885A priority Critical patent/JPS6225358A/en
Publication of JPS6225358A publication Critical patent/JPS6225358A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To accept a request below the level of interruption processing which is caused currently and to improve a processing speed by increasing the level an interruption request to a central processor at constant intervals of time. CONSTITUTION:An external interruption request signal 5 is latched by a latch 1 and inputted as a decoding start signal to a decoder 2. The decoder 2 already inputs interruption level data 8 and an interruption request signal 7 having a preset level is outputted to a system bus 4. The interruption request signal 7 is inputted to a CPU 10 and then a latch reset signal 9 is sent out to reset the latch 1. The interruption level data 8 is varied by an interruption level data varying part 3 at constant intervals of time to allow an interruption request to be accepted.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、中央処理装置に対する割込要求の処理装置に
係り、特に割込要求の要因が多数あるマイクロコンピュ
ータシステムに適するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to an apparatus for processing interrupt requests to a central processing unit, and is particularly suitable for microcomputer systems in which there are many causes of interrupt requests.

〔発明の背景〕[Background of the invention]

従来の割込要求に対′する処理は、中央処理装置が現在
実行している割込処理のレベル以下の割込要求が発生し
た場合は現在の処理の終了を待ってから処理していた。
In the conventional processing for an interrupt request, if an interrupt request lower than the level of the interrupt processing currently being executed by the central processing unit occurs, processing is performed after waiting for the end of the current processing.

〔発明の目的〕[Purpose of the invention]

本発明の目的は極めて簡単なハードウェア構成により低
価格でかつ割込要求レベルの違いによるシステムの処理
速度の低下を小さくすることのできる割込レベルの可変
装置を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide an interrupt level variable device that is inexpensive with an extremely simple hardware configuration and that can reduce the reduction in system processing speed due to differences in interrupt request levels.

〔発明の概要〕[Summary of the invention]

中央処理装置に対する割込要求レベルを一定時間ごとに
増加させることができる様にし、中央処理装置が現在要
求している割込要求レベルよりも高レベルの割込処理を
実行している場合でも受付けられる様にした。
The interrupt request level to the central processing unit can be increased at regular intervals, and even if the central processing unit is executing interrupt processing at a higher level than the currently requested interrupt request level, it will be accepted. I made it so that it could be done.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の一実施例を第1図により説明する。外部
からの要因により発生した外部割込要求信号5はラッチ
1でラッチされた後、デコード開始信号6としてデコー
ダ2に入力され2デコーダ2には割込レベルデータ8が
入力されており、これにより予め設定されたレベルの割
込要求信号7がシステムバス4に対し出力さねる。この
割込要求信号7は、中央処理袋@10に入力され割込が
受理されるとラッチ解除信号9によりラッチが解除され
割込要求信号7の出力が停止する。以上が通常の割込発
生時の説明で。
An embodiment of the present invention will be described below with reference to FIG. External interrupt request signal 5 generated by an external factor is latched by latch 1 and then input to decoder 2 as decoding start signal 6. Interrupt level data 8 is input to decoder 2. An interrupt request signal 7 at a preset level is output to the system bus 4. This interrupt request signal 7 is input to the central processing bag @10, and when the interrupt is accepted, the latch is released by the latch release signal 9, and the output of the interrupt request signal 7 is stopped. The above is an explanation of what happens when a normal interrupt occurs.

あるが、次に中央処理装置10が割込要求信号7で要求
しているレベルより高レベルの割込処理。
However, the next interrupt processing is at a higher level than the level requested by the central processing unit 10 with the interrupt request signal 7.

を実行している場合について説明する。この場合は割込
レベルデータ可変部3に於いて割込レベルデータ8を一
定時間ごとに可変させてゆき従って割込要求信号7も可
変させ、割込要求が受付けられる様にする。
Let's explain what happens when you run . In this case, the interrupt level data 8 is varied at regular intervals in the interrupt level data variable section 3, and accordingly the interrupt request signal 7 is also varied so that the interrupt request can be accepted.

次に割込レベルデータ可変部3の一回路例を第2図によ
り説明する。デコーダ23は、外部割込要求信号5がア
クティブ(論理z、# )かつ割込確認信号34がイン
アクティブ(論理h″)の時・動作可能状態となり予め
設定された割込レベルデータ8により、割込要求信号2
4〜60のいずれかが出力される。これらの割込要求信
号が中央処理装置にて受理されると割込確認信号34が
アクティブ(論理1L′)になりデコーダ23の動作が
禁止され割込要求信号の出力は停止する。次に中央処理
装置が割込要求信号で要求しているレベルより高レベル
の割込処理を実行している場合について説明する。割込
確認信号34はインアクティブ(論理′H″)となって
おり割込確認信号24〜3Qのいずれかが出力された状
態となっている。この状態に於いである一定時間を越え
ても割込確認信号34がアクティブ(論理1L″)にな
らなければ、周期的に発生するクロックパルス35によ
りカウンタ22が動作し割込レベルデータ8の値を変化
させ割込要求信号24〜30の出力な順次高位にしてゆ
く。これにより割込要求信号が中央処理装置に受付けら
れると、割込確認信号34がアクティブ(論理′L′)
となり割込要求信号の出力は停止する0尚1単安定マル
チバイブレータ21は、割込確認信号34がアクティブ
(論理1L:)となった時にカウンタ22に初期割込レ
ベルデータ31をプリセットするタイミングを発生する
為のものである。
Next, an example of the circuit of the interrupt level data variable section 3 will be explained with reference to FIG. When the external interrupt request signal 5 is active (logic z, #) and the interrupt confirmation signal 34 is inactive (logic h''), the decoder 23 becomes operational and according to the preset interrupt level data 8, Interrupt request signal 2
Any one of 4 to 60 is output. When these interrupt request signals are accepted by the central processing unit, the interrupt confirmation signal 34 becomes active (logic 1L'), the operation of the decoder 23 is prohibited, and the output of the interrupt request signal is stopped. Next, a case will be described in which the central processing unit is executing interrupt processing at a higher level than the level requested by the interrupt request signal. The interrupt confirmation signal 34 is inactive (logic 'H''), and any of the interrupt confirmation signals 24 to 3Q is output. Even if a certain period of time is exceeded in this state, If the interrupt confirmation signal 34 does not become active (logic 1L''), the counter 22 is operated by the periodically generated clock pulse 35, changes the value of the interrupt level data 8, and outputs the interrupt request signals 24 to 30. I will raise it to a higher rank in order. As a result, when the interrupt request signal is accepted by the central processing unit, the interrupt confirmation signal 34 becomes active (logic 'L').
Therefore, the output of the interrupt request signal is stopped.0 The monostable multivibrator 21 determines the timing to preset the initial interrupt level data 31 in the counter 22 when the interrupt confirmation signal 34 becomes active (logic 1L:). It is meant to occur.

本実施例によれば、カウンタ22を用いることにより極
めて簡単なハードウェアで割込要求レベル?可変する装
置を構成でき、割込要求レベルの低い処理も受付けられ
易くなるという効果がある。
According to this embodiment, by using the counter 22, the interrupt request level can be calculated using extremely simple hardware. This has the effect that it is possible to configure a variable device, and that it becomes easier to accept processes with low interrupt request levels.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、現在実行中の割込処理のレベル以下の
割込要求が発生した場合でも確実に割込要求が受付けら
れるので、システム全体の処理速度向上の効果がある。
According to the present invention, even if an interrupt request is received that is lower than the level of the interrupt processing currently being executed, the interrupt request is reliably accepted, thereby improving the processing speed of the entire system.

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

第1図は本発明の実施例を示す割込レベル可変装置のブ
ロック図、第2図は第1図の割込レベルデータ可変部の
回路図である。 1・・・ラッチ 2・・・デコーダ 3・・・割込レベルデータ可変部 4・・・システムバス 5・・・外部割込要求信号 6・・・デコード開始信号 7・・・割込要求信号 8・・・割込レベルデータ 9・・・ラッチ解除信号 10・・・中央処理装置 21・・・単安定マルチバイブレータ 22・・・カウンタ 25・・・デコーダ 24・・・割込要求信号1 25・・・割込要求信号2 26・・・割込要求信号6 27・・・割込要求信号4 28・・・割込要求信号5 29・・・割込要求信号6 50・・・割込要求信号7 31・・・初期割込レベルデータ 32・・・リセット信号 33・・・割込発生信号 34・・・割込確認信号 35・・・クロックパルス 一ゝ、
FIG. 1 is a block diagram of an interrupt level variable device showing an embodiment of the present invention, and FIG. 2 is a circuit diagram of the interrupt level data variable section of FIG. 1. 1...Latch 2...Decoder 3...Interrupt level data variable unit 4...System bus 5...External interrupt request signal 6...Decode start signal 7...Interrupt request signal 8... Interrupt level data 9... Latch release signal 10... Central processing unit 21... Monostable multivibrator 22... Counter 25... Decoder 24... Interrupt request signal 1 25 ...Interrupt request signal 2 26...Interrupt request signal 6 27...Interrupt request signal 4 28...Interrupt request signal 5 29...Interrupt request signal 6 50...Interrupt Request signal 7 31...Initial interrupt level data 32...Reset signal 33...Interrupt generation signal 34...Interrupt confirmation signal 35...Clock pulse 1゜,

Claims (1)

【特許請求の範囲】[Claims] 中央処理装置と前記中央処理装置に対して異なるレベル
の割込要求を発生することのできる複数の周辺装置から
なる情報処理装置に於いて割込要求のレベルを時間の経
過と共に変えるレベル変更手段を設けたことを特徴とす
る割込要求レベル可変装置。
Level changing means for changing the level of an interrupt request over time in an information processing device comprising a central processing unit and a plurality of peripheral devices capable of generating interrupt requests of different levels to the central processing unit. An interrupt request level variable device characterized by being provided.
JP16407885A 1985-07-26 1985-07-26 Varying device for interruption request level Pending JPS6225358A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16407885A JPS6225358A (en) 1985-07-26 1985-07-26 Varying device for interruption request level

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16407885A JPS6225358A (en) 1985-07-26 1985-07-26 Varying device for interruption request level

Publications (1)

Publication Number Publication Date
JPS6225358A true JPS6225358A (en) 1987-02-03

Family

ID=15786362

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16407885A Pending JPS6225358A (en) 1985-07-26 1985-07-26 Varying device for interruption request level

Country Status (1)

Country Link
JP (1) JPS6225358A (en)

Similar Documents

Publication Publication Date Title
JP4685312B2 (en) Data processing system and power saving method
CA1102004A (en) Data processing interrupt apparatus
US6633940B1 (en) Method and apparatus for processing interrupts in a computing system
JPH05233318A (en) Microprocessor
US3961312A (en) Cycle interleaving during burst mode operation
KR100589519B1 (en) Method and apparatus for avoiding race condition with edge-triggered interrupts
JPS6225358A (en) Varying device for interruption request level
JPH10320349A (en) Processor and data transfer system using the processor
JPS61136115A (en) Basic clock generating circuit of microcomputer system
JP2837698B2 (en) Direct memory access controller
JPH02166549A (en) Shared memory controller
JP2582414B2 (en) Interrupt processing device
JPS615363A (en) Controller of shared memory
JP2577613Y2 (en) Information processing device
JPS61166631A (en) Microprogram control processor
JPH0235552A (en) Interruption control circuit
JPS61220035A (en) Interruption generating circuit
JPS6316315A (en) Automatic power supply cut-off system
JPS616755A (en) Data transfer system
JPH0589031A (en) Microprocessor
JPS63265349A (en) Data transfer controller
JPH0675780A (en) Interruption controller
JPS63153635A (en) Specification system for data transfer speed
JPS6336543B2 (en)
JPH04370862A (en) Information processor