JPH0376495B2 - - Google Patents
Info
- Publication number
- JPH0376495B2 JPH0376495B2 JP10287984A JP10287984A JPH0376495B2 JP H0376495 B2 JPH0376495 B2 JP H0376495B2 JP 10287984 A JP10287984 A JP 10287984A JP 10287984 A JP10287984 A JP 10287984A JP H0376495 B2 JPH0376495 B2 JP H0376495B2
- Authority
- JP
- Japan
- Prior art keywords
- interrupt
- signal
- priority
- output
- scanning 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.)
- Expired
Links
- 238000001514 detection method Methods 0.000 claims description 10
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 claims 1
- 238000000034 method Methods 0.000 description 20
- 238000010586 diagram Methods 0.000 description 12
- 238000012790 confirmation Methods 0.000 description 6
- 230000001419 dependent effect Effects 0.000 description 4
- 230000000873 masking effect Effects 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000000630 rising effect Effects 0.000 description 2
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
Landscapes
- Bus Control (AREA)
Description
【発明の詳細な説明】
(技術分野)
本発明はマイクロコンピユータ等における割込
み制御装置に関し、特に優先順位がプログラマブ
ルで、かつすべての割込み要求に対して多重処理
が可能な割込み制御装置に関する。DETAILED DESCRIPTION OF THE INVENTION (Technical Field) The present invention relates to an interrupt control device for a microcomputer or the like, and more particularly to an interrupt control device that has programmable priorities and is capable of multiple processing of all interrupt requests.
(従来技術)
割込み制御とは、中央処理装置(以下、
「CPU」という。)がプログラムの実行中に、周
辺ハードウエアから非同期に発生する処理要求で
プログラムの実行を一時中断し、その処理要求に
応じたプログラムの実行を起動させるための制御
である。マイクロコンピユータのシステムには
様々な種類の割込み要因が存在し、それぞれの割
込み要因は応用における重要度に応じた優先度を
有している。ある割込み処理を実行中に新たな割
込み要求が発生した場合、実行中の割込み処理を
中断して新たな割込み要求に応じた処理を実行す
る事を多重処理という。多重処理は、実行中の割
込み処理の割込み要因が有する優先度よりも高い
優先度を有する割込み要因の割込み要求が発生し
た場合に行なわれる。(Prior art) Interrupt control refers to the central processing unit (hereinafter referred to as
It's called a "CPU." ) is a control for temporarily suspending program execution in response to a processing request asynchronously generated from peripheral hardware during program execution, and starting execution of the program in response to the processing request. There are various types of interrupt factors in a microcomputer system, and each interrupt factor has a priority depending on its importance in the application. When a new interrupt request occurs while a certain interrupt process is being executed, the process of interrupting the currently executing interrupt process and executing the process in response to the new interrupt request is called multiprocessing. Multiprocessing is performed when an interrupt request of an interrupt factor having a higher priority than that of the interrupt factor of the interrupt process being executed occurs.
ところで、従来の割込制御装置では、各割込み
要求の発生源(以下、「割込み発生源」という。)
に対する優先順位が固定されていた。このため、
応用によつて異なる各割込み要因の処理優先度
に、最適に対応した制御ができなかつた。 By the way, in conventional interrupt control devices, the generation source of each interrupt request (hereinafter referred to as "interrupt generation source")
The priority was fixed. For this reason,
It was not possible to perform control that optimally corresponds to the processing priority of each interrupt factor, which varies depending on the application.
例えば、タイマの割込み優先順位はシリアル入
出力装置の優先順位より高いというように固定さ
れていたとする。この設定の場合、タイマからあ
る設定時間ごとに信号を送りリアルタイムで周辺
装置を制御するようなシステムにおいては、この
優先順位は適している。しかし、キーボードから
の入力による周辺装置の制御が重要なシステムで
は、もしタイマも同時に用いると、シリアル入出
力装置からのデータ入力割込み処理要求が後回し
にされる場合が現われて、この割込み優先順位は
システムの目的に適さない。つまり、各割込み発
生源に対し優先順位が固定されている従来の割込
み制御装置では、応用毎に異なる各割込み要因の
重要度に最適な割込み要求の優先順位制御を行う
事が不可能であるという欠点があつた。 For example, assume that the interrupt priority of a timer is fixed to be higher than that of a serial input/output device. In this setting, this priority order is suitable for a system in which a timer sends a signal at a certain set time interval to control peripheral devices in real time. However, in systems where it is important to control peripheral devices using input from the keyboard, if a timer is also used, data input interrupt processing requests from serial input/output devices may be postponed, and this interrupt priority is Not fit for purpose of the system. In other words, with conventional interrupt control devices in which the priority order is fixed for each interrupt source, it is impossible to perform priority control of interrupt requests that is optimal for the importance of each interrupt source, which differs depending on the application. There were flaws.
また、従来の割込み制御装置では、多重処理に
際し、煩雑な割込み受付禁止(以下、「マスク」
という。)処理を必要としていた。ある割込み処
理の実行中に、それ以上の優先順位を有する割込
み要求を多重に受け付けるためには、割込みサー
ビスプログラムでそれより低位の割込みをマスク
しなければならない。しかし、この方法では割込
みサービスプログラムの実行に入るごとにマスク
の設定を行い、多重割込み処理に入るときは、マ
スクの状態の退避とマスクの変更を、多重割込み
処理から復帰するときは、退避したマスクの復帰
という手続きをしなければならない。このため処
理の実行速度も遅く、プログラムも本来の割込み
処理動作以外の動作について記述しなければなら
ず、非常に煩雑であるという欠点があつた。 In addition, with conventional interrupt control devices, when performing multiple processing, it is necessary to prohibit complicated interrupt reception (hereinafter referred to as "mask").
That's what it means. ) required processing. In order to accept multiple interrupt requests with higher priority levels while a certain interrupt process is being executed, the interrupt service program must mask lower level interrupts. However, with this method, the mask is set every time the interrupt service program starts execution, and when entering multiple interrupt processing, the mask state is saved and the mask is changed, and when returning from multiple interrupt processing, the mask state is saved and changed. We have to go through the process of putting masks back on. As a result, the execution speed of the process is slow, and the program has to describe operations other than the original interrupt processing operation, resulting in a very complicated process.
さらに、従来の割込み制御装置では、同一割込
み要求の多重処理を行う場合、煩雑なソフトウエ
ア上の手続きを必要としていた。 Furthermore, conventional interrupt control devices require complicated software procedures when performing multiple processing of the same interrupt request.
第1図は、同一割込み要求の多重処理を行なう
従来の割込み制御装置の一例のシステム構成を示
すブロツク図である。本従来例は、多数の割込み
要求を入力端子数に制約がある割込み制御装置が
取り扱う際に、従属割込みコントローラを用い
て、複数の割込み発生源からの要求を1つにまと
めて割込み制御装置に入力する場合のものであ
る。 FIG. 1 is a block diagram showing the system configuration of an example of a conventional interrupt control device that performs multiple processing of the same interrupt request. In this conventional example, when an interrupt control device with a limited number of input terminals handles a large number of interrupt requests, a dependent interrupt controller is used to combine requests from multiple interrupt sources into one and send it to the interrupt control device. This is for inputting data.
第1図において、割込み制御装置21は、割込
み発生源a,b,cを直接に、割込み発生源d−
1,d−2,d−3,d−4を従属割込みコント
ローラ22を接続して制御している。割込み制御
装置21から見ると、割込み発生源d−1,d−
2,d−3,d−4は1つの割込み発生源dとし
て写る。従属割込みコントローラ22は、割込み
発生源d−1,d−2,d−3,d−4について
優先順位制御を行い、割込み要求14を出力す
る。例えば、割込み発生源d−3の要求による割
込み処理実行中に、それより優先順位の高い割込
み発生源d−2の割込み要求が発生したとする
と、従属割込みコントローラ22は割込み要求1
4を出力し、それを受けて割込み制御装置21
は、割込み発生源dについての同一割込み要求の
多重処理を行う。CPU20は割込み発生源dの
割込みサービスプログラムを実行し、その中で割
込み発生源d−2の割込み要求発生を検知し、割
込み発生源d−2の割込みサービスプログラムに
分岐し処理を実行する。割込み発生源d−2の割
込み要求の処理が終了すると、割込み発生源dの
サービスプログラムに戻る。 In FIG. 1, an interrupt control device 21 directly controls interrupt sources a, b, and c, and interrupt sources d-
1, d-2, d-3, and d-4 are connected to and controlled by a dependent interrupt controller 22. From the perspective of the interrupt control device 21, the interrupt sources d-1, d-
2, d-3, and d-4 appear as one interrupt source d. The dependent interrupt controller 22 performs priority control on the interrupt sources d-1, d-2, d-3, and d-4, and outputs an interrupt request 14. For example, if an interrupt request from interrupt source d-2, which has a higher priority, occurs while an interrupt process is being executed based on a request from interrupt source d-3, the dependent interrupt controller 22
4, and upon receiving it, the interrupt control device 21
performs multiple processing of the same interrupt request for interrupt source d. The CPU 20 executes the interrupt service program for the interrupt source d, detects the occurrence of an interrupt request for the interrupt source d-2, branches to the interrupt service program for the interrupt source d-2, and executes processing. When the processing of the interrupt request from the interrupt source d-2 is completed, the process returns to the service program for the interrupt source d.
ここで、もし割込み発生源dの割込み処理の重
複度がわからないと、割込み発生源dのサービス
プログラムの終りで退避していたマスクの復帰を
行なつてしまい、それ以後の優先順位制御が正常
にできなくなる。つまり、割込みの優先順位制御
を正常に行うためには、同一割込みの重複度を記
憶している必要がある。 Here, if the degree of overlap of interrupt processing for interrupt source d is not known, the mask that was saved at the end of the service program for interrupt source d will be restored, and subsequent priority control will not be normal. become unable. In other words, in order to properly control the priority of interrupts, it is necessary to remember the degree of duplication of the same interrupt.
ところが、従来の割込み処理では、同一割込み
の重複度を保持するためにソフトウエアカウンタ
を設けねばならず、割込みサービスプログラムの
最初においてカウンタのカウントアツプ、最後に
おいてカウントダウンと、その結果に応じた割込
みマスクの操作という手続きを行なわなければな
らなかつた。つまり、同一割込み要求の多重処理
では、上記のマスク操作に加えて、さらに煩雑な
操作を行なわなければならないという欠点があつ
た。 However, in conventional interrupt processing, a software counter must be provided to maintain the degree of duplication of the same interrupt, and the counter is counted up at the beginning of the interrupt service program, counted down at the end, and the interrupt is masked according to the result. I had to go through the procedure of operating the In other words, multiple processing of the same interrupt request has the disadvantage that, in addition to the above-mentioned masking operation, a more complicated operation must be performed.
(発明の目的)
本発明の目的は、上記の欠点を除去し、割込み
要求の優先順位を任意に設定する事が可能で、多
重割込み処理においても煩雑な手順が不要で、さ
らに異なつた割込み要求の多重処理も同一の割込
み要求の多重処理も統一して取り扱えるところ
の、多数の割込み要求の多重処理を容易に行なう
事を可能にした、割込み制御装置を提供する事に
ある。(Objective of the Invention) The object of the present invention is to eliminate the above-mentioned drawbacks, to make it possible to arbitrarily set the priority order of interrupt requests, to eliminate the need for complicated procedures even in multiple interrupt processing, and to be able to handle different interrupt requests. It is an object of the present invention to provide an interrupt control device which can easily handle multiple processing of a large number of interrupt requests and multiple processing of the same interrupt request in a unified manner.
(発明の構成)
本発明の割込み制御装置は、各割込み発生源ご
との割込み要求を記憶する割込み要求記憶手段
と、割込み要求ごとに処理優先順位を指定する優
先順位指定手段と、優先順位を高位から走査する
走査信号を出力する走査信号発生手段と、前記走
査信号と前記優先順位指定手段の内容を比較する
比較手段と、優先順位ごとに割込み受付数を記憶
する受付数保持手段と、現在受け付け中の割込み
の優先順位を示す指標信号を出力する指標信号出
力手段と、前記走査信号出力手段が所定の周期で
前記走査信号をくり返し出力し前記比較手段が前
記走査信号と前記優先順位手段の内容との一致を
検出した場合前記指標信号と前記割込み要求記憶
手段の内容に基づき優先順位制御と前記受付数保
持手段の保持情報の制御とを行う検出制御手段と
を含む事から構成される。(Structure of the Invention) The interrupt control device of the present invention includes an interrupt request storage means for storing interrupt requests for each interrupt generation source, a priority specifying means for specifying a processing priority for each interrupt request, and a priority specifying means for specifying a processing priority for each interrupt request. scanning signal generating means for outputting a scanning signal to be scanned from the input terminal; comparing means for comparing the scanning signal with the contents of the priority order specifying means; reception number holding means for storing the number of accepted interrupts for each priority; index signal output means for outputting an index signal indicative of the priority of an interrupt; the scanning signal output means repeatedly outputs the scanning signal at a predetermined period; and the comparison means outputs the scanning signal and the contents of the priority order means. and detection control means for performing priority control based on the index signal and the contents of the interrupt request storage means and controlling the information held in the acceptance number holding means when a match is detected.
(実施例)
以下、本発明の実施例について図面を参照して
説明する。(Example) Hereinafter, an example of the present invention will be described with reference to the drawings.
第2図は本発明の一実施例のブロツク図であ
る。 FIG. 2 is a block diagram of one embodiment of the present invention.
本実施例は、各割込み発生源A〜Dごとの割込
み要求を記憶する割込み要求記憶部107−A〜
107−Dと、割込み要求ごとに処理優先順位を
指定する優先順位指定部105−A〜105−D
と、優先順位を高位から走査する走査信号102
を出力する走査信号発生手段しての制御部A10
1と、走査信号102と優先順位指定部105−
A〜105−Dの内容を比較する比較手段として
の検出部104−A〜104−Dと、優先順位ご
とに割込み受付数を記憶する受付数保持部117
と、現在受け付け中の割込みの優先順位を示す指
標信号としての同位信号118を出力する指標信
号出力手段としての制御部B101′と、制御部
A101が所定の周期で走査信号102をくり返
し出力し検出部104−A〜104−Dが走査信
号102と優先順位指定部105−A〜105−
Dの内容との一致を検出した場合同位信号118
と割込み要求記憶部107−A〜107−Dの内
容に基づき優先順位制御と受付数保持部117の
保持情報の制御とを行う検出制御手段としての選
択部115−A〜115−D及び割込み受付部1
08−A〜108−Dとを含むことから構成され
る。なお、106−A〜106−Dは割込み要求
制御部であり、さらに、制御部A101と制御部
B101′とはここでは一つのブロツクとして構
成される。 In this embodiment, interrupt request storage units 107-A to 107-A store interrupt requests for each interrupt generation source A to D.
107-D, and priority designation units 105-A to 105-D that designate processing priority for each interrupt request.
and a scanning signal 102 that scans from the highest priority order.
A control unit A10 serving as a scanning signal generating means for outputting
1, a scanning signal 102, and a priority designation unit 105-
Detection units 104-A to 104-D as comparison means for comparing the contents of A to 105-D, and an acceptance number holding unit 117 that stores the number of accepted interrupts for each priority.
, a control section B101' as an index signal output means that outputs a peer signal 118 as an index signal indicating the priority of the interrupt currently being accepted, and a control section A101 that repeatedly outputs the scanning signal 102 at a predetermined period for detection. Units 104-A to 104-D output the scanning signal 102 and priority designation units 105-A to 105-.
If a match with the contents of D is detected, the peer signal 118
and selection units 115-A to 115-D as detection control means that perform priority control and control of the information held in the acceptance number holding unit 117 based on the contents of the interrupt request storage units 107-A to 107-D and interrupt acceptance. Part 1
08-A to 108-D. Note that 106-A to 106-D are interrupt request control units, and furthermore, the control unit A101 and the control unit B101' are configured as one block here.
本実施例は、割込み発生源はA,B,C,Dの
4種類の場合を示しており、図中の番号の添字
A,B,C,Dは、それぞれ割込み発生源A,
B,C,Dからの割込み要求を処理するのに関与
する部分である事を示す。第2図の破線で囲まれ
たそれぞれの割込み発生源からの割込み要求の処
理に関与する部分は全く同等の構成である。以
下、まず各割込み発生源からの割込み要求を処理
する部分について、続いてそれら各発生源ごとの
処理結果に基づいて割込み制御装置全体を制御す
る部分について説明する。 This embodiment shows the case where there are four types of interrupt sources A, B, C, and D, and the subscripts A, B, C, and D of the numbers in the figure represent the interrupt sources A, B, C, and D, respectively.
Indicates that this is a part involved in processing interrupt requests from B, C, and D. The parts surrounded by broken lines in FIG. 2 that are involved in processing interrupt requests from the respective interrupt sources have exactly the same configuration. Hereinafter, a section that processes interrupt requests from each interrupt source will be explained first, and then a section that controls the entire interrupt control device based on the processing results for each interrupt source will be explained.
走査信号102は、“0”,“1”,“2”,“3”
,
“0”,“1”,“2”,……というように優先順位を
上位から順にくり返し走査する信号である。同位
信号118は、走査信号102が現在割込み制御
装置が受け付けている割込みの優先順位に等しく
なつた期間だけ出力する信号である。第3図a〜
eのタイミングチヤートは、割込み優先順位が4
レベルであるとした場合の、走査信号102と同
位信号118の出力の例を最高位信号119と共
に示したものである。同図のa,b,c,d,e
はそれぞれ何も割込みを受け付けていない場合、
優先順3,2,1,及び0の割込みを受け付けて
いる場合を表わしている。 The scanning signal 102 is “0”, “1”, “2”, “3”
,
This is a signal that repeatedly scans the priority order from the highest priority order, such as "0", "1", "2", . . . . The peer signal 118 is a signal that is output only during the period when the scanning signal 102 becomes equal to the priority of the interrupt currently being accepted by the interrupt control device. Figure 3 a~
The timing chart for e shows that the interrupt priority is 4.
An example of the output of the scanning signal 102 and the same level signal 118 is shown together with the highest level signal 119 when the level is assumed to be the same level. a, b, c, d, e in the same figure
If no interrupts are accepted,
This shows a case where interrupts with priorities 3, 2, 1, and 0 are accepted.
以下、割込み発生源Aからの割込み要求を処理
する部分を例として説明する。割込み要求記憶部
107−Aは、割込み発生源Aからの割込み要求
100−Aを保持するもので、割込み要求100
−Aが入力するとセツトされ、割込み受付信号1
10−Aと割込確認信号314が共に入力すると
リセツトされる。割込み要求制御部106−A
は、割込み発生源Aの割込み要求(以下、「Aの
割込み要求」という。)の受け付けを許可するか
禁止するかを保持するものでありプログラムで設
定可能である。優先順位指定部105−Aは、割
込み発生源Aの割込み要求の割込み優先順位を保
持するものであり、プログラムで設定する事が可
能である。検出部104−Aは、走査信号102
と優先順位指定部105−Aに書き込まれた優先
順位の内容を比較し、一致を検出すると一致信号
109−Aを出力する。選択部115−Aは、一
致信号109−Aが入力したときに同期して、選
択一致信号116−Aが出力する事を制御する。
選択部115−Aには、同位信号118の出力時
における選択一致信号116−Aの出力の許可、
禁止をプログラムで設定する事が可能である。選
択部115−Aは、同位信号118が入力しなけ
れな常に、一致信号109−Aの入力に同期して
選択一致信号116−Aを出力する。同位信号1
18が入力しているときは、前記の許可、禁止の
設定に従つて、選択部115−Aは一致信号10
9−A入力時の選択一致信号116−A出力の許
可、禁止を行う。第4図に、選択部115−Aに
設定された許可、禁止の情報と、一致信号109
−A、同位信号118の入力に対する、選択一致
信号116−Aの出力の関係を示す。なお、同図
でXは1又は0いずれでも良い事を示す。 Hereinafter, a portion that processes an interrupt request from interrupt source A will be explained as an example. The interrupt request storage unit 107-A holds the interrupt request 100-A from the interrupt source A.
- Set when A is input, interrupt acceptance signal 1
It is reset when both 10-A and interrupt confirmation signal 314 are input. Interrupt request control unit 106-A
holds whether to permit or prohibit acceptance of interrupt requests from interrupt source A (hereinafter referred to as "A's interrupt requests"), and can be set by a program. The priority designation unit 105-A holds the interrupt priority of the interrupt request from the interrupt source A, and can be set by a program. The detection unit 104-A receives the scanning signal 102
and the contents of the priority order written in the priority order specifying section 105-A, and if a match is detected, a match signal 109-A is output. The selection unit 115-A controls the output of the selected coincidence signal 116-A in synchronization with the input of the coincidence signal 109-A.
The selection unit 115-A includes permission to output the selected coincidence signal 116-A when the peer signal 118 is output;
Prohibition can be set programmatically. The selection unit 115-A outputs the selected match signal 116-A in synchronization with the input of the match signal 109-A whenever the peer signal 118 is not input. Peer signal 1
18 is input, the selection unit 115-A selects the coincidence signal 10 according to the permission/prohibition setting described above.
Enables or prohibits output of the selection match signal 116-A when 9-A is input. FIG. 4 shows permission and prohibition information set in the selection unit 115-A and the match signal 109.
-A shows the relationship between the output of the selected match signal 116-A and the input of the peer signal 118. In addition, in the same figure, it is shown that X may be either 1 or 0.
割込み受付部108−Aは、割込み要求記憶部
107−Aがセツトしていて、かつ割込み要求制
御部106−Aが割込み要求の受け付け許可を保
持している場合に、選択一致信号116−Aが入
力すれば、割込み受付信号110−Aを出力す
る。 The interrupt reception unit 108-A receives the selection match signal 116-A when the interrupt request storage unit 107-A is set and the interrupt request control unit 106-A holds permission to accept the interrupt request. If input, an interrupt acceptance signal 110-A is output.
割込み発生源B,C,Dに対応する部分も全く
同じ働きをして、各割込み発生源からの割込み要
求を処理する。 The parts corresponding to interrupt sources B, C, and D also function in exactly the same way to process interrupt requests from each interrupt source.
次に、前記の各割込み発生源からの処理情報に
基づき割込み制御装置全体を制御する部分につい
て説明する。 Next, the portion that controls the entire interrupt control device based on the processing information from each of the interrupt sources described above will be explained.
最高位信号119は、現在受け付けている割込
みの内最高位のものの優先順位を示すもの、割込
み終了信号113は、一つの割込み要求に対する
サービスプログラムが終了した事を示す信号であ
る。 The highest level signal 119 indicates the priority of the highest level of interrupts currently being accepted, and the interrupt end signal 113 indicates that the service program for one interrupt request has been completed.
制御部A101は、割込み受付信号110−
A,B,C,Dと最高位信号119と割込み終了
信号113を入力情報として、走査信号102と
同位信号118と割込み信号103の出力を司る
ものである。制御部A101は、割込み受付信号
110−A,B,C,Dのいずれかが入力すれ
ば、割込み信号103をCPU300と受付数保
持部117に対して出力する。制御部A101は
走査信号102を最上位の優先順位のものから一
位づつ下位の優先順位のものへ変更していく。第
3図aに示すように、現在割込みを何も受け付け
ていないため最高位信号119が出力していない
場合は、制御部A101は走査信号102が最下
位の優先順位になつた次のタイミングで、再び走
査信号102を最上位の優先順位にして走査し続
ける。現在割込みを受け付けていて最高位信号1
19がその優先順位を出力している場合は、第3
図b,c,d,eに示すように、制御部A101
は走査信号102が最高位信号119が示す優先
順位に等しくなつた次のタイミングから、走査信
号102を再び最上位の優先順位にして走査を続
ける。 The control unit A101 receives an interrupt acceptance signal 110-
It controls the output of the scanning signal 102, the same level signal 118, and the interrupt signal 103 using A, B, C, and D, the highest level signal 119, and the interrupt end signal 113 as input information. The control unit A 101 outputs an interrupt signal 103 to the CPU 300 and the acceptance number holding unit 117 when any one of the interrupt acceptance signals 110 -A, B, C, and D is input. The control unit A101 changes the scanning signal 102 from the one with the highest priority to the one with the lowest priority one by one. As shown in FIG. 3a, if the highest priority signal 119 is not output because no interrupt is currently being accepted, the control unit A101 will control the signal at the next timing after the scanning signal 102 becomes the lowest priority. , again sets the scanning signal 102 to the highest priority and continues scanning. Currently accepting interrupts and the highest signal 1
19 is outputting its priority, the third
As shown in Figures b, c, d, and e, the control unit A101
At the next timing when the scanning signal 102 becomes equal to the priority indicated by the highest signal 119, the scanning signal 102 is made the highest priority again and scanning is continued.
第3図b,c,d,eに示すように、制御部B
101′は、走査信号102が最高位信号119
が示す優先順位に等しくなつたとき、当該優先順
位の走査信号102の出力に同期して同位信号1
18を出力する。 As shown in Fig. 3 b, c, d, e, the control unit B
101' indicates that the scanning signal 102 is the highest signal 119
When the priority level becomes equal to the priority level indicated by
Outputs 18.
受付数保持部117は、走査信号102と割込
み信号103と割込み終了信号113を入力情報
とし、最高位信号119の出力を司るものであ
る。受付数保持部117は、最上位から最下位ま
でのすべての割込み優先順位について、各順位ご
とにその割込み受付数を保持する。受付数保持部
117は割込み信号103が入力すると、その時
走査信号102に出力している優先順位の割込み
受付数に1を加える。例えば、割込み信号103
の入力時に走査信号102が“3”であれば、優
先順位3の受付数に1を加える。受付数保持部1
17は、割込み終了信号113が入力すると、そ
のときに割込み受付数が“0”でないものの内、
最高位の優先順位を有するものの受付数から1を
減じる。例えば、優先順位0,1,2,3の割込
み受付数が、それぞれ“1”,“0”,“3”,“1”
であれば、優先順位0の受付数から1を減じて、
それぞれ“0”,“0”,“3”,“1”という受付数
にする。受付数保持部117は、受付数が“0”
でないものの内最高位の割込み優先順位を、最高
位信号119として出力する。例えば、優先順位
0,1,2,3の割込み受付数が、それぞれ
“0”,“1”,“2”,“0”ならば、最高位信号1
19は“1”であり、“0”,“0”,“0”,“1”
ならば最高位信号119は“3”である。すべて
の優先順位の割込み受付数が“0”であれば、最
高位信号119を出力しない。 The reception number holding unit 117 receives the scanning signal 102, the interrupt signal 103, and the interrupt end signal 113 as input information, and is in charge of outputting the highest signal 119. The number of accepted interrupts holding unit 117 holds the number of accepted interrupts for each priority level of all interrupts from the highest to the lowest level. When the interrupt signal 103 is input, the reception number holding unit 117 adds 1 to the number of priority interrupt receptions output to the scanning signal 102 at that time. For example, interrupt signal 103
If the scanning signal 102 is "3" at the time of input, 1 is added to the number of receptions with priority level 3. Reception number holding section 1
17, when the interrupt end signal 113 is input, among those whose number of interrupts accepted is not "0" at that time,
Subtract 1 from the number of receptions for the one with the highest priority. For example, the number of accepted interrupts with priorities 0, 1, 2, and 3 is "1", "0", "3", and "1", respectively.
If so, subtract 1 from the number of receptions with priority 0,
The acceptance numbers are set to "0", "0", "3", and "1", respectively. The number of receptions holding unit 117 indicates that the number of receptions is “0”.
The highest interrupt priority among those that are not available is output as the highest priority signal 119. For example, if the number of accepted interrupts for priorities 0, 1, 2, and 3 is "0", "1", "2", and "0", respectively, then the highest level signal 1
19 is “1”, “0”, “0”, “0”, “1”
Then, the highest signal 119 is "3". If the number of accepted interrupts for all priority levels is "0", the highest level signal 119 is not output.
CPU300は、割込み信号103が入力する
と、割込み確認信号314を出力して割込み処理
動作を開始する。CPU300は、割込みサービ
スプログラムの実行が終了すると割込み終了信号
113を出力する。 When the interrupt signal 103 is input, the CPU 300 outputs an interrupt confirmation signal 314 and starts interrupt processing operation. The CPU 300 outputs an interrupt end signal 113 when the execution of the interrupt service program is completed.
次に、本実施例の動作について説明する。第5
図は本実施例の第1の動作例を示すタイミングチ
ヤートである。また、第6図は本実施例の第2の
動作例を示すタイミングチヤートである。信号1
02,109−A,B,C,D,116−B,
C,118,110−A,B,C,D,103,
314,113,119はそれぞれ第2図の同一
番号の信号に対応する。107−B,Cは、それ
ぞれ第2図の割込み要求記憶部107−B,Cの
状態を示し、“1”ならばセツト、“0”ならばリ
セツト状態である。受付数保持部117は、優先
順位0,1,2,3の割込みの受付回数をそれぞ
れ117−0,1,2,3に保持している。但
し、優先順位は0,1,2,3の順に高いものと
する。 Next, the operation of this embodiment will be explained. Fifth
The figure is a timing chart showing a first example of operation of this embodiment. Further, FIG. 6 is a timing chart showing a second example of operation of this embodiment. signal 1
02,109-A,B,C,D,116-B,
C, 118, 110-A, B, C, D, 103,
314, 113, and 119 correspond to the signals with the same numbers in FIG. 2, respectively. 107-B and 107-C indicate the states of the interrupt request storage sections 107-B and 107-C shown in FIG. 2, respectively; "1" indicates a set state, and "0" indicates a reset state. The acceptance count holding unit 117 holds the acceptance counts of interrupts with priorities 0, 1, 2, and 3 at 117-0, 1, 2, and 3, respectively. However, the priorities are set in the order of 0, 1, 2, and 3.
まず、第2図と第5図を参照しながら本実施例
における異なつた割込み要因間の多重処理動作の
例を説明する。初めに、プログラムに制御された
信号を用いて各優先順位指定部105−A〜10
5−Dに優先順位を書き込む。この例において
は、優先順位指定部105−Aには0が、105
−Bには1が、105−Cには2が、105−D
には3が書き込まれたものとする。また、選択部
115−A〜115−Dにもプログラムで制御さ
れた信号を用いて、同位信号118出力時の選択
一致信号116の出力を許可するか禁止するかを
書き込んでおく。今、選択部115−A,B,
C,Dにはすべて出力禁止が書き込まれたとす
る。割込み要求が無いときは、走査信号102が
0,1,2,3と変化すると、一致信号109−
A,B,C,Dはそれぞれ第5図のPの期間のよ
うに変化する。 First, an example of multiprocessing operations between different interrupt factors in this embodiment will be explained with reference to FIGS. 2 and 5. First, each priority specifying unit 105-A to 105-A to 10-10
Write the priority in 5-D. In this example, the priority designation section 105-A is 0, and 105-A is 0.
-B has 1, 105-C has 2, 105-D
It is assumed that 3 is written in . In addition, using a signal controlled by a program in the selection units 115-A to 115-D, it is written whether to permit or prohibit the output of the selection coincidence signal 116 when the peer signal 118 is output. Now, selection section 115-A, B,
Assume that output prohibition is written in both C and D. When there is no interrupt request, when the scanning signal 102 changes to 0, 1, 2, 3, the coincidence signal 109-
A, B, C, and D each change like the period P in FIG.
今、タイミングT1で割込み発生源Cから割込
み要求が発生し、割込み要求制御部106−Cに
おいて、割込みが許可されていたとする。タイミ
ングT2で走査信号102が“2”となり一致信
号109−Cが出力すると、同位信号118は出
力していないから、選択一致信号116−Cが出
力する。その結果、割込みが受け付けられてタイ
ミングT2で割込み受付信号110−Cが出力し、
制御部A101よりCPU300に割込み信号1
03が送られる。このとき、受付数保持部117
は記憶データ117−2として、割込み優先順位
2の受付回数を“1”と記憶する。割込み要求記
憶部107−Cは、割込み確認信号314の出力
によりリセツトされる。割込みが受け付けられて
CPU300が優先順位2の割込み処理を実行中
は、走査信号102は“2”を出力している最高
位信号119に等しくなれば、タイミングT3に
示したように再び0にもどり、優先順位0,1,
2のみを出力する。一方、同位信号118は、走
査信号102が最高位信号119に等しくなつた
タイミングT3で走査信号102に同期して出力
する。その結果、優先順位0,1の割込みは受け
付け可能となるが、選択部115−A,B,C,
Dの設定が、それぞれ同位信号118出力時の選
択一致信号116−A,B,C,Dの出力を禁止
しているから、優先順位2の割込みは受け付けら
れない。 Now, assume that an interrupt request is generated from the interrupt source C at timing T1 , and that the interrupt is permitted in the interrupt request control unit 106-C. When the scanning signal 102 becomes " 2 " at timing T2 and the match signal 109-C is output, the selected match signal 116-C is output since the same level signal 118 is not output. As a result, the interrupt is accepted and the interrupt acceptance signal 110-C is output at timing T2 .
Interrupt signal 1 is sent from the control unit A101 to the CPU 300.
03 is sent. At this time, the reception number holding unit 117
stores the number of receptions for interrupt priority 2 as "1" as stored data 117-2. The interrupt request storage section 107-C is reset by the output of the interrupt confirmation signal 314. interrupt is accepted
While the CPU 300 is executing interrupt processing with priority level 2, when the scanning signal 102 becomes equal to the highest level signal 119 outputting "2", it returns to 0 again as shown at timing T3 , and the priority level is 0. ,1,
Output only 2. On the other hand, the same level signal 118 is output in synchronization with the scanning signal 102 at timing T3 when the scanning signal 102 becomes equal to the highest level signal 119. As a result, interrupts with priority levels 0 and 1 can be accepted, but selection units 115-A, B, C,
Since the setting of D prohibits the output of the selected match signals 116-A, B, C, and D when the peer signal 118 is output, the interrupt of priority level 2 is not accepted.
次に、タイミングT4でより高順位の割込み要
求が割込み発生源Bから起つたとする。割込み発
生源Bの優先順位は1に設定したから、走査信号
102が“1”になつたときに一致信号109−
Bが出力し、選択一致信号116−Bも出力す
る。割込み発生源Bからの割込みが許可されてい
たならば、タイミングT5で割込み受付信号11
0−Bが出力し、割込みが受け付けられ、CPU
300に割込み信号103が送られる。同時に受
付数保持部117は、割込み優先順位1の割込み
受付回数を“1”と記憶データ117−1に記憶
する。走査信号102が“1”になると同位信号
118が出力し、タイミングT6で走査信号10
2は再び0にもどる。走査信号102は0と1の
みを走査し、選択部115−A,B,C,Dはそ
れぞれ同位信号118出力時の選択一致信号11
6−A,B,C,Dの出力を禁止しているから、
優先順位0の割込みのみが受け付け可能となる。 Next, suppose that a higher priority interrupt request is generated from interrupt source B at timing T4 . Since the priority of interrupt source B is set to 1, when the scanning signal 102 becomes "1", the coincidence signal 109-
B is output, and the selection match signal 116-B is also output. If interrupts from interrupt source B are enabled, interrupt acceptance signal 11 is generated at timing T5 .
0-B is output, the interrupt is accepted, and the CPU
An interrupt signal 103 is sent to 300. At the same time, the acceptance number holding unit 117 stores the number of interrupt acceptances of interrupt priority 1 as "1" in the storage data 117-1. When the scanning signal 102 becomes "1", the same level signal 118 is output, and at timing T6 , the scanning signal 10 is output.
2 returns to 0 again. The scanning signal 102 scans only 0 and 1, and the selection units 115-A, B, C, and D each select the selected coincidence signal 11 when the same level signal 118 is output.
6-Since the output of A, B, C, and D is prohibited,
Only interrupts with priority level 0 can be accepted.
多重割込み処理が終了し、タイミングT7で
CPU300からの割込み終了信号113が送ら
れてくると、受付数保持部117は、そのときの
受付数が“0”でない最高位の優先順位1の受付
回数を0とし、その結果最高位信号119は
“1”から“2”に変わり、走査信号102は0,
1,2と変化するようになる。その結果、再び優
先順位0,1の割込み受け付けが可能となる。 Multiple interrupt processing is completed and at timing T 7
When the interrupt end signal 113 is sent from the CPU 300, the reception number holding unit 117 sets the number of receptions for the highest priority 1 whose reception number is not "0" at that time to 0, and as a result, the highest priority signal 119 changes from "1" to "2", and the scanning signal 102 becomes 0,
It will change from 1 to 2. As a result, it becomes possible to accept interrupts with priority levels 0 and 1 again.
割込み発生源Cからの割込み処理も終了し、タ
イミングT8でCPU300から割込み終了信号1
13が送られてくると、受付数保持部117のす
べての優先順位の受付数は0となり、最高位信号
119は出力しなくなる。走査信号102は優先
順位を0,1,2,3と出力し、同位信号118
は出力しなくなるので、すべての割込みが受け付
け可能な初期の状態にもどる。 The interrupt processing from interrupt source C is also completed, and at timing T8 , the CPU 300 sends an interrupt end signal 1.
13 is sent, the number of receptions for all priority orders in the reception number holding unit 117 becomes 0, and the highest level signal 119 is no longer output. The scanning signal 102 outputs priorities as 0, 1, 2, and 3, and the peer signal 118
will no longer be output, returning to the initial state in which all interrupts can be accepted.
次に、第2図と第6図を参照しながら、同一割
込み要因の多重処理の動作例を説明する。本実施
例においては割込み発生源Bからの割込み処理中
に、再度Bからの割込みを受け付ける処理につい
て説明する。優先順位指定部105−A〜105
−Dにはプログラムに制御された信号を用いて優
先順位を書き込む。今、優先順位指定部105−
Aには0が、105−Bには1が、105−Cに
は2が、105−Dには3が書き込まれたとす
る。また、選択部115−Aと115−Cと11
5−Dには同位信号118出力時の選択一致信号
の出力の“禁止”が、選択部115−Bには“許
可”が書き込まれたとする。 Next, an example of the operation of multiple processing of the same interrupt factor will be described with reference to FIGS. 2 and 6. In this embodiment, processing for accepting an interrupt from interrupt source B again during interrupt processing from interrupt source B will be described. Priority order designation units 105-A to 105
-D uses a signal controlled by the program to write the priority order. Now, the priority specification section 105-
Assume that 0 is written to A, 1 is written to 105-B, 2 is written to 105-C, and 3 is written to 105-D. In addition, selection units 115-A, 115-C, and 11
It is assumed that "prohibition" of the output of the selection coincidence signal when the peer signal 118 is output is written in 5-D, and "permission" is written in the selection section 115-B.
タイミングT51で割込み発生源Cから割込み要
求があり、そのとき割込み要求指定部106−C
においてその割込みが許可されていたとする。タ
イミングT52で走査信号102が“2”となり一
致信号109−Cが発生すると、同位信号118
は出力していないから、選択一致信号116−C
が発生する。その結果、割込みが受け付けられて
割込み信号110−Cが出力し、制御部A101
からCPU300に割込み信号103が送られる。
このとき、受付数保持部117は、記憶データ1
17−2として割込み優先順位2の受付回数を
“1”と記憶する。割込みが受け付けられてCPU
300が優先順位2の割込み処理実行中は、走査
信号102は優先順位0,1,2のみを出力する
ようになる。また、同位信号118は走査信号1
02が優先順位2のときに同期して出力する。 At timing T51 , there is an interrupt request from the interrupt source C, and at that time, the interrupt request specifying section 106-C
Assume that the interrupt is permitted in . When the scanning signal 102 becomes "2" at timing T52 and a coincidence signal 109-C is generated, the same level signal 118 is generated.
is not output, so the selection match signal 116-C
occurs. As a result, the interrupt is accepted and the interrupt signal 110-C is output, and the control unit A101
An interrupt signal 103 is sent from the CPU 300 to the CPU 300 .
At this time, the reception number holding unit 117 stores the stored data 1
The number of receptions of interrupt priority 2 is stored as "1" as 17-2. The interrupt is accepted and the CPU
While interrupt processing 300 is executing priority 2, the scanning signal 102 outputs only priorities 0, 1, and 2. Also, the peer signal 118 is the scanning signal 1
02 is output synchronously when it has priority 2.
今、タイミングT53で割込み発生源Cから再度
優先順位2の割込み要求が起つたとする。このと
き、タイミングT54で一致信号109−Cが発生
するが、選択部115−Cにはあらかじめ“禁
止”という状態が書き込まれているから、同位信
号118の出力により選択一致信号116−Cは
出力しない。したがつて再度発生した割込み発生
源Cの割込み要求は、その割込み要求処理中は受
け付けられず、割込み要求記憶部107−Cはセ
ツトされたままである。 Now, suppose that an interrupt request with priority level 2 occurs again from interrupt source C at timing T53 . At this time, the match signal 109-C is generated at timing T54 , but since the "prohibited" state has been written in the selection section 115-C in advance, the selected match signal 116-C is generated by the output of the peer signal 118. No output. Therefore, the interrupt request from interrupt source C that occurs again is not accepted during the interrupt request processing, and the interrupt request storage section 107-C remains set.
次に、タイミングT55で高順位の割込み要求が
割込み発生源Bから起つたとする。割込み要求記
憶部107−Bがセツトされ、走査信号102が
1になつたタイミングT56で一致信号109−B
が発生し、同位信号118は出力していないか
ら、選択一致信号116−Bが出力する。割込み
発生源Bからの割込みが許可されていたならば、
割込みが受け付けられ、割込み信号110−Bが
出力し、その結果CPU300に割込み信号10
3が送られ、受付数保持部117は、記憶データ
117−1として割込み優先順位1の受付回数を
“1”と記憶する。走査信号102は0と1のみ
を走査し、走査信号102が優先順位1を出力す
るのに同期して、同位信号118が出力する。こ
の間CPU300は、割込み優先順位1の割込み
の処理を行つている。 Next, assume that a high priority interrupt request occurs from interrupt source B at timing T55 . The interrupt request storage unit 107-B is set, and at timing T56 when the scanning signal 102 becomes 1, a coincidence signal 109-B is generated.
occurs and the same-level signal 118 is not output, so the selection match signal 116-B is output. If interrupts from interrupt source B were enabled,
The interrupt is accepted, the interrupt signal 110-B is output, and as a result, the interrupt signal 10 is sent to the CPU 300.
3 is sent, and the reception number holding unit 117 stores the number of receptions for interrupt priority 1 as "1" as stored data 117-1. The scanning signal 102 scans only 0's and 1's, and in synchronization with the scanning signal 102 outputting priority 1, a peer signal 118 is output. During this time, the CPU 300 is processing the interrupt with interrupt priority 1.
今、割込み優先順位1の割込み処理中のタイミ
ングT57で、割込み要求発生源Bから再び優先順
位1の割込みが発生したとする。走査信号102
が1となるタイミングT58で一致信号116−B
が出力する。選択部115−Bには、あらかじめ
“許可”状態が保持されているから、一致信号1
09−Bが出力し、かつ同位信号118が出力す
るタイミングT58において、選択一致信号116
−Bが出力する。割込み要求記憶部107−Bは
セツトされ割込み発生源Bからの割込みは許可さ
れているから、同タイミングT58で割込みが受け
付けられ、その結果CPU300に割込み信号1
03が送られる。同時に受付数保持部117は、
データ117−1として優先順位1の割込み受付
回数に1を加えて“2”と記憶する。最高位信号
119は変わらず優先順位“1”を出力している
から、走査信号102は優先順位0,1をくり返
し出力し、同位信号118は走査信号102が1
のときに同期して出力する。CPU300は多重
に割り込んだ優先順位1の割込み要求の処理を行
う。 Now, suppose that an interrupt with priority 1 is generated again from interrupt request source B at timing T57 during processing of an interrupt with priority 1. Scanning signal 102
At the timing T58 when becomes 1, the coincidence signal 116-B
outputs. Since the selection unit 115-B holds the "permitted" state in advance, the match signal 1
At timing T58 when 09-B outputs and the same level signal 118 outputs, the selection match signal 116
-B outputs. Since the interrupt request storage unit 107-B is set and interrupts from interrupt source B are permitted, the interrupt is accepted at the same timing T58 , and as a result, the CPU 300 receives the interrupt signal 1.
03 is sent. At the same time, the reception number holding unit 117
As data 117-1, 1 is added to the number of interrupts accepted for priority 1 and stored as "2". Since the highest level signal 119 continues to output the priority level "1", the scanning signal 102 repeatedly outputs the priority level 0 and 1, and the same level signal 118 outputs the priority level "1".
Output synchronously when . The CPU 300 processes multiple interrupt requests with priority level 1.
前記の同一優先順位の多重割込み処理が終了
し、タイミングT59でCPU300から割込み終了
信号113が送られてくると、受付数保持部11
7は優先順位1の割込み受付回数を1減じて
“1”とする。最高位信号119は変わらず優先
順位1を出力しているので、走査信号102は優
先順位0,1を出力し続ける。タイミングT60で
タイミングT55で要求が発生した優先順位1の割
込み処理が終了し、CPU300より割込み終了
信号113が出力されると、受付数保持部117
は優先順位1の割込み受付数を保持するデータ1
17−1を1減じて“0”とする。最高位信号1
19は“2”となり、走査信号102は0,1,
2と変化するようになる。CPU300はタイミ
ングT52で処理を開始した優先順位2の割込み処
理に復帰する。 When the multiple interrupt processing with the same priority is completed and the interrupt end signal 113 is sent from the CPU 300 at timing T59 , the reception number holding unit 11
7 is set to "1" by subtracting 1 from the number of interrupts accepted for priority 1. Since the highest level signal 119 continues to output priority 1, the scanning signal 102 continues to output priority 0 and 1. At timing T 60 , when the priority level 1 interrupt processing for which the request occurred at timing T 55 is completed and the interrupt end signal 113 is output from the CPU 300, the reception number holding unit 117
is data 1 that holds the number of interrupts accepted with priority 1
17-1 is subtracted by 1 to become "0". Highest signal 1
19 becomes "2", and the scanning signal 102 becomes 0, 1,
It will change to 2. The CPU 300 returns to the priority level 2 interrupt processing that was started at timing T52 .
CPU300が前記の優先順位2の割込み処理
を終り、タイミングT61で割込み終了信号113
を出力すると、受付数保持部の優先順位2の割込
み受付回数を1減じて“0”とする。この結果、
最高位信号119は出力されず、走査信号102
は優先順位0,1,2,3を出力し、同位信号1
18は出力しないから、すべての割込みが受け付
け可能な状態になる。 The CPU 300 finishes the above-mentioned priority level 2 interrupt processing and sends the interrupt end signal 113 at timing T61 .
When this is output, the number of receptions for priority 2 interrupts in the reception number holding unit is decreased by 1 to "0". As a result,
The highest signal 119 is not output, and the scanning signal 102
outputs priorities 0, 1, 2, 3, and the peer signal 1
18 does not output, so all interrupts can be accepted.
割込み要求記憶部107−Cがセツトされてい
るので、タイミングT62で一致信号109−Cが
出力し、選択一致信号116−Cが出力したと
き、タイミングT53で発生した割込み要求が受け
付けられ、割込み受付信号110−Cが出力す
る。これにより、割込み信号103が出力し、受
付数保持部117の優先順位2の受付回数は
“1”となる。CPU300は優先順位2の割込み
処理の実行に移る。 Since the interrupt request storage unit 107-C is set, when the match signal 109-C is output at timing T62 and the selection match signal 116-C is output, the interrupt request generated at timing T53 is accepted. An interrupt acceptance signal 110-C is output. As a result, the interrupt signal 103 is output, and the number of receptions for priority 2 in the reception number holding unit 117 becomes "1". The CPU 300 moves to execution of the priority level 2 interrupt process.
第7図、第8図及び第9図はそれぞれ第2図の
実施例の部分詳細回路図である。 7, 8 and 9 are partial detailed circuit diagrams of the embodiment of FIG. 2, respectively.
第7図は、第2図の検出部104−A、優先順
位指定部105−A、割込み要求制御部106−
A、割込み要求記憶部107−A、割込み受付部
108−A及び選択部115−Aの部分の一例の
回路図である。 FIG. 7 shows the detection unit 104-A, priority order designation unit 105-A, and interrupt request control unit 106-A in FIG.
FIG. 2A is a circuit diagram of an example of an interrupt request storage section 107-A, an interrupt reception section 108-A, and a selection section 115-A.
R・Sフリツプフロツプ301−A,302−
Aは優先順位を2ビツトで表わしたときに、それ
ぞれ上位ビツト、下位ビツトを記憶するフリツプ
フロツプで、一組となり優先順位指定部105−
Aを構成する。優先順位の値はプログラムによつ
てCPU300から信号310−A,311−A
を用いて書き込まれる。例えば、優先順位指定部
105−Aが優先順位2を保持しているとは、フ
リツプフロツプ301−Aが1、フリツプフロツ
プ302−Aが0という状態である。 R.S flip-flop 301-A, 302-
A is a flip-flop that stores the upper bit and lower bit when the priority is expressed in 2 bits.
Configure A. The priority value is determined by the CPU 300 through signals 310-A and 311-A.
is written using For example, when the priority specifying unit 105-A holds priority 2, flip-flop 301-A is 1 and flip-flop 302-A is 0.
信号102−1,102−2は走査信号102
を2ビツトとしたときの上位ビツト、下位ビツト
である。 Signals 102-1 and 102-2 are scanning signals 102
These are the upper bit and lower bit when 2 bits are used.
排他ORゲート305−A,306−AとNOR
ゲート307−Aは、検出部104−Aを構成す
る。検出部104−Aは、指定優先順位の上位ビ
ツトと信号102−1、指定優先順位の下位ビツ
トと信号102−2を比較し、両者が一致したと
きに一致信号109−Aを出力する。 Exclusive OR gates 305-A, 306-A and NOR
Gate 307-A constitutes detection section 104-A. The detection unit 104-A compares the upper bit of the designated priority order with the signal 102-1 and the lower bit of the designated priority order with the signal 102-2, and outputs a match signal 109-A when the two match.
R・Sフリツプフロツプ321−Aは、同位信
号118出力時に選択一致信号116−Aの出力
を許可するかを保持するフリツプフロツプであ
る。許可の場合は“1”を、禁止の場合は“0”
が、プログラムによつてCPU300から信号3
22−Aを用いて書き込まれる。R・Sフリツプ
フロツプ321−A、ANDゲート325−A,
327−A、ORゲート326−A、インバータ
324−Aによつて選択部115−Aを構成す
る。第2図に示した接続により、同位信号118
が出力していない場合は、常に一致信号109−
Aに同期して選択一致信号116−Aを出力し、
同位信号118が出力している場合は、フリツプ
フロツプ321−Aが許可状態(=1)のときは
一致信号109−Aに同期して選択一致信号11
6−Aを出力し、禁止状態(=0)のときは、選
択一致信号116−Aを出力しない。第10図は
選択部115−Aの真理値を示す図である。な
お、同図でXは1又は0いずれでも良い事を示
す。 The R.S flip-flop 321-A is a flip-flop that maintains whether output of the selection match signal 116-A is permitted when the peer signal 118 is output. “1” for permission, “0” for prohibition
However, depending on the program, signal 3 is sent from CPU 300.
22-A. R.S flip-flop 321-A, AND gate 325-A,
327-A, OR gate 326-A, and inverter 324-A constitute selection section 115-A. With the connections shown in FIG.
is not outputting, the match signal 109- is always output.
Output a selection match signal 116-A in synchronization with A,
When the same level signal 118 is output, when the flip-flop 321-A is in the enabled state (=1), the selected coincidence signal 11 is output in synchronization with the coincidence signal 109-A.
6-A, and in the prohibited state (=0), does not output the selection match signal 116-A. FIG. 10 is a diagram showing truth values of the selection section 115-A. In addition, in the same figure, it is shown that X may be either 1 or 0.
R・Sフリツプフロツプ303−Aは、割込み
要求制御部106−Aに相当する。割込み要求を
マスクするときは、CPU300が信号312−
Aを用いてフリツプフロツプ303−Aをセツト
し、マスクしないときはリセツトする。 R.S flip-flop 303-A corresponds to interrupt request control section 106-A. When masking an interrupt request, the CPU 300 uses the signal 312-
A is used to set flip-flop 303-A, and reset when not masking.
R・Sフリツプフロツプ304−Aは、割込み
要求フラグで、割込み要求記憶部107−Aに対
応し、割込み発生源Aから割込み要求信号313
−Aが送られればセツトされ、ANDゲート30
8−Aの出力が“1”のときリセツトされる。 The R/S flip-flop 304-A is an interrupt request flag, which corresponds to the interrupt request storage section 107-A, and receives the interrupt request signal 313 from the interrupt source A.
- Set if A is sent, AND gate 30
It is reset when the output of 8-A is "1".
割込み受付部108−AはANDゲートで構成
され、選択一致信号116−Aが論理値“1”、
かつ割込み要求制御部106−Aのフリツプフロ
ツプ303−Aがリセツトされ、かつ割込み要求
記憶部107−Aのフリツプフロツプ304−A
がセツトされているときに、割込み受付信号11
0−Aを出力する。 The interrupt reception unit 108-A is composed of an AND gate, and the selection match signal 116-A has a logical value of “1”,
And the flip-flop 303-A of the interrupt request control section 106-A is reset, and the flip-flop 304-A of the interrupt request storage section 107-A is reset.
is set, the interrupt acceptance signal 11
Outputs 0-A.
ベクタ発生部309−Aは、CPU300から
割込み確認信号314が送られると、受け付けら
れて割込みのベクタ番地313−AをCPU30
0に出力する。割込み要求フラグとしてのR・S
−フリツプフロツプ304−Aは、割込み受付信
号110−Aが“1”、かつ割込み確認信号31
4が“1”のとき、ANDゲート308−Aの出
力によりリセツトされる。 When the interrupt confirmation signal 314 is sent from the CPU 300, the vector generation unit 309-A transmits the interrupt vector address 313-A to the CPU 300.
Output to 0. R/S as interrupt request flag
- The flip-flop 304-A is configured so that the interrupt acceptance signal 110-A is "1" and the interrupt confirmation signal 31 is "1".
4 is "1", it is reset by the output of AND gate 308-A.
第8図は、第2図に示した制御部A101と制
御部B101′と受付数保持部117の具体的な
回路の1例を示したものである。 FIG. 8 shows an example of a specific circuit of the control section A101, control section B101', and reception number holding section 117 shown in FIG.
受付数保持部117は、アツプダウンカウンタ
407,409,411,413とANDゲート
406,408,410,412,436,41
9,420,421から構成される。アツプダウ
ンカウンタ407,409,411,413は、
それぞれ優先順位0,1,2,3の割込み受付回
数を記憶するものである。アツプダウンカウンタ
407,409,411,413は、カウントア
ツプ信号441,443,445,447が入力
したとき、それぞれの保持値に1を加え、カウン
トダウン信号442,444,446,448が
入力したとき、それぞれの保持値から1を減じ
る。アツプダウンカウンタ407,409,41
1,413は、それぞれその保持値が0であるな
らばゼロ信号452,454,456,458を
出力し、0でなければ非ゼロ信号451,45
3,455,457を出力する。非ゼロ信号45
1,453,455,457は、最高受付優先順
位信号119に対応している。 The reception number holding unit 117 includes up-down counters 407, 409, 411, 413 and AND gates 406, 408, 410, 412, 436, 41.
Consists of 9,420,421. The up/down counters 407, 409, 411, 413 are
It stores the number of interrupt receptions for priority levels 0, 1, 2, and 3, respectively. Up-down counters 407, 409, 411, 413 add 1 to their respective held values when count-up signals 441, 443, 445, 447 are input, and when count-down signals 442, 444, 446, 448 are input, Subtract 1 from each retained value. Up-down counter 407, 409, 41
1,413 respectively output zero signals 452, 454, 456, 458 if their held values are 0, and output non-zero signals 451, 45 if they are not 0.
Outputs 3,455,457. Non-zero signal 45
1,453,455,457 correspond to the highest reception priority signal 119.
第9図はアツプダウンカウンタ407,40
9,411,413の一例を示す回路図で、4ビ
ツトの場合を示す。通常のアツプダウンカウンタ
502とそのクロツク端子に接続されたORゲー
ト501と、その出力に接続されたANDゲート
503とインバータ504から構成される。 Figure 9 shows up-down counters 407 and 40.
9 is a circuit diagram showing an example of 9,411,413, and shows the case of 4 bits. It consists of a normal up-down counter 502, an OR gate 501 connected to its clock terminal, an AND gate 503 and an inverter 504 connected to its output.
入力端子Uが“1”、入力端子Dが“0”のと
き、アツプダウンカウンタ502はアツプカウン
タとして動作し、その保持値に1を加え出力す
る。入力端子Uが“0”、入力端子Dが“1”の
とき、アツプダウンカウンタ502はダウンカウ
ンタとして動作し、その保持値を1を減じて出力
する。そして、アツプダウンカウンタ502の保
持値が0であると、ANDゲート503の出力は
“1”となり、出力0から前記ゼロ信号として出
力され、その保持値がゼロでないときには、
ANDゲート503の出力は“0”となり出力0
から前記非ゼロ信号が出力される。 When the input terminal U is "1" and the input terminal D is "0", the up-down counter 502 operates as an up-counter, adds 1 to its held value, and outputs the result. When the input terminal U is "0" and the input terminal D is "1", the up-down counter 502 operates as a down counter, decrements the held value by 1, and outputs the result. When the held value of the up-down counter 502 is 0, the output of the AND gate 503 becomes "1" and is output as the zero signal from the output 0, and when the held value is not zero,
The output of the AND gate 503 becomes “0” and the output is 0.
The non-zero signal is output from.
ところで、割込み受付信号110−A,B,
C,Dのいずれかが出力されるとORゲート40
5の出力である割込み信号103が“1”とな
る。このとき走査信号102の上位ビツト、下位
ビツトである信号102−1,102−2の値に
より、ANDゲート406,408,410,4
12からカウントアツプ信号441,443,4
45,447のいずれか1つが出力する。第11
図はその真理値を示す図である。割込みが受け付
けられ割込み信号103が“1”になると、その
優先順位に対応するアツプダウンカウンタ40
7,409,411,413の内1個が1だけカ
ウントアツプされる。 By the way, the interrupt acceptance signals 110-A, B,
When either C or D is output, OR gate 40
The interrupt signal 103 which is the output of 5 becomes "1". At this time, AND gates 406, 408, 410, 4
Count up signals 441, 443, 4 from 12
Either one of 45 and 447 outputs. 11th
The figure shows the truth value. When an interrupt is accepted and the interrupt signal 103 becomes "1", the up/down counter 40 corresponding to the priority level is
One of 7,409,411,413 is counted up by 1.
割込み終了信号113が“1”になると、アツ
プダウンカウンタ407が“0”でなければ
ANDゲート436の出力が“1”となるので、
アツプダウンカウンタ407は1だけカウントダ
ウンされる。アツプダウンカウンタ407が
“0”のときは、アツプダウンカウンタ409が
“0”でなければ、ANDゲート419の出力が
“1”となるので、アツプダウンカウンタ409
が1だけカウントダウンされる。アツプダウンカ
ウンタ407,409とも“0”のときは、アツ
プダウンカウンタ411が“0”でなければ、
ANDゲート420の出力が“1”となるので、
アツプダウンカウンタ411は1だけカウントダ
ウンされる。アツプダウンカウンタ407,40
9,411とも“0”のときは、アツプダウンカ
ウンタ413が“0”でなければ、ANDゲート
421の出力が“1”となるから、アツプダウン
カウンタ413は1だけカウントダウンされる。
このように割込み終了信号113が“1”となる
と、優先順位別に割込みの受付数を保持している
アツプダウンカウンタの内の“0”でない最も順
位の高いものがカウントダウンされる。 When the interrupt end signal 113 becomes “1”, the up-down counter 407 must be “0”.
Since the output of AND gate 436 becomes "1",
The up-down counter 407 is counted down by one. When the up-down counter 407 is "0", unless the up-down counter 409 is "0", the output of the AND gate 419 is "1", so the up-down counter 409 is
is counted down by 1. When the up-down counters 407 and 409 are both "0", if the up-down counter 411 is not "0",
Since the output of AND gate 420 becomes “1”,
The up-down counter 411 is counted down by one. Up-down counter 407, 40
When both 9 and 411 are "0", unless the up-down counter 413 is "0", the output of the AND gate 421 becomes "1", so the up-down counter 413 counts down by 1.
When the interrupt end signal 113 becomes "1" in this way, the highest priority non-zero up-down counter that holds the number of accepted interrupts for each priority is counted down.
次に、制御部A101及び制御部B101′の
回路例について説明する。 Next, a circuit example of the control section A101 and the control section B101' will be explained.
制御部A101は、T−フリツプフロツプ40
1,402、ANDゲート423,424、ORゲ
ート405,422、NORゲート404から構
成され、制御部B101′は、ANDゲート41
4,415,416,417,430、ORゲー
ト418から構成される。 The control unit A101 controls the T-flip-flop 40.
1,402, AND gates 423, 424, OR gates 405, 422, and NOR gate 404.
4,415, 416, 417, 430, and an OR gate 418.
走査信号102の上位ビツト、下位ビツトであ
る信号102−1,102−2は、それぞれT−
フリツプフロツプ401と402の出力である。
信号102−2はクロツク信号403の立ち上が
りエツジで反転し、信号102−1は信号102
−2の立ち下がりエツジで反転する。すなわち、
T−フリツプフロツプ401,402は、クロツ
ク信号403をカウントする4進カウンタであ
る。T−フリツプフロツプ401,402で構成
される前記4進カウンタは、NORゲート404
の出力が論理値“0”になるとリセツトされる。
クロツク信号403はCPU300からの基準ク
ロツク信号425によつて制御される。 Signals 102-1 and 102-2, which are the upper and lower bits of the scanning signal 102, are T-
These are the outputs of flip-flops 401 and 402.
Signal 102-2 is inverted at the rising edge of clock signal 403, and signal 102-1 is inverted at the rising edge of clock signal 403.
It is reversed at the falling edge of -2. That is,
T-flip-flops 401 and 402 are quaternary counters that count clock signal 403. The quaternary counter composed of T-flip-flops 401 and 402 is connected to a NOR gate 404.
It is reset when the output becomes a logical value "0".
Clock signal 403 is controlled by reference clock signal 425 from CPU 300.
ANDゲート414,415,416,417
とORゲート418は、受付中の割込みの優先順
位と走査信号102が等しくなつたとき、T−フ
リツプフロツプ401,403をリセツトする信
号435を出力する。ただし、割込み信号103
が“1”の期間はANDゲート423によつてリ
セツトを禁止する。例えば、アツプダウンカウン
タ407の保持値が“0”で、アツプダウンカウ
ンタ409の保持値が“2”の場合、すなわち、
受け付けられている割込みの最高の優先順位が1
の場合、非ゼロ信号453が出力するので、
ANDゲート415により走査信号102−1が
“0”、走査信号102−2が“1”になると、割
込み信号103が“0”であれば、T−フリツプ
フロツプ401,402が信号435によつてリ
セツトされる。そして走査信号102−1,10
2−2共に“0”となる。 AND gate 414, 415, 416, 417
and OR gate 418 outputs a signal 435 that resets T-flip-flops 401 and 403 when the priority of the interrupt being accepted and the scanning signal 102 become equal. However, interrupt signal 103
The AND gate 423 prohibits resetting during the period when is "1". For example, if the value held by the up-down counter 407 is "0" and the value held by the up-down counter 409 is "2", that is,
The highest priority of accepted interrupts is 1
In this case, a non-zero signal 453 is output, so
When the scanning signal 102-1 becomes "0" and the scanning signal 102-2 becomes "1" by the AND gate 415, if the interrupt signal 103 is "0", the T-flip-flops 401 and 402 are reset by the signal 435. be done. and scanning signals 102-1, 10
Both 2-2 become "0".
同位信号118は、信号435に同期して出力
する。ただし、ANDゲート430によつて割込
み信号103が“1”のときは、その出力を禁止
される。このため、新たに割込みが受け付けられ
たタイミングでは同位信号118は出力しない。 Peer signal 118 is output in synchronization with signal 435. However, when the interrupt signal 103 is "1" by the AND gate 430, its output is prohibited. Therefore, the peer signal 118 is not output at the timing when a new interrupt is accepted.
なお、以上の実施例の説明においては、割込み
発生源の数を4個と限定したけれども、本発明の
割込み制御装置はこれに限定される事なく一般的
に適用できる事は言うまでもない。 In the above description of the embodiment, the number of interrupt sources was limited to four, but it goes without saying that the interrupt control device of the present invention is not limited to this and can be applied generally.
(発明の効果)
以上、詳細述べたように、本発明によれば、上
記の簡単な構成により、各割込み要因に対する優
先順位の設定が任意にでき、多重割込みの処理に
おいて繁雑な手続きが不要で、しかも異なつた割
込み要求の多重処理も同一の割込み要求の多重処
理も統一して制御できる割込み制御装置を得る事
ができる。(Effects of the Invention) As described above in detail, according to the present invention, with the simple configuration described above, priority can be set arbitrarily for each interrupt factor, and complicated procedures are not required in processing multiple interrupts. Furthermore, it is possible to obtain an interrupt control device that can uniformly control multiple processing of different interrupt requests as well as multiple processing of the same interrupt request.
マイクロコンピユータ等の性能の向上と応用範
囲の拡大に伴い、応用分野ごとに重要度が異なる
割込み要因の種類は増加し、かつその数は増大し
てきている。多種かつ多数の割込み要因を同時に
統一して制御する割込み制御装置を、簡単な構成
で提供する本発明の意義と実用上の効果は極めて
大きいものがある。 As the performance of microcomputers and the like has improved and the range of applications has expanded, the types and number of interrupt factors, which have different degrees of importance depending on the application field, has increased. The significance and practical effects of the present invention, which provides an interrupt control device with a simple configuration that uniformly controls a large number of various interrupt factors at the same time, are extremely significant.
第1図は従来の割込み制御装置の一例のシステ
ム構成を示すブロツク図、第2図は本発明の一実
施例のブロツク図、第3図はその走査信号と同位
信号の出力例を示したタイミングチヤート、第4
図はその選択部の機能を示す図、第5図、第6図
はその動作例を示すタイミングチヤート、第7
図、第8図、第9図はその部分詳細回路図、第1
0図は第8図の選択部の機能を示す真理値を示す
図、第11図は第9図の回路の機能を示す真理値
を示す図である。
11〜14……割込み要求、20……中央処理
装置、21……割込み制御装置、22……従属割
込みコントローラ、100−A〜100−D……
割込み要求、101……制御部A、101′……
制御部B、102,102−1,120−2……
走査信号、103……割込み信号、104−A〜
104−D……検出部、105−A〜105−D
……優先順位指定部、106−A〜106−D…
…割込み要求制御部、107−A〜107−D…
…割込み要求記憶部、108−A〜108−D…
…割込み受付部、109−A〜109−D……一
致信号、110−A〜110−D……割込み受付
信号、113……割込み終了信号、115−A〜
115−D……選択部、116−A〜116−D
……選択一致信号、117……受付数保持部、1
18……同位信号、119……最高位信号、30
0……中央処理装置、301−A〜304−A,
321−A……R・Sフリツプフロツプ、305
−A,306−A……排他ORゲート、307−
A……NORゲート、308−A,325−A,
327−A……ANDゲート、309−A……ベ
クタ発生部、313……ベクタ番地、314……
割込み確認信号、326−A……ORゲート、3
24−A……インバータ、310−A,311−
A,312−A,322−A……信号、401,
402……T−フリツプフロツプ、403……ク
ロツク信号、404……NORゲート、405,
418,422……ORゲート、406,40
8,410,412,414,415,416,
417,419,420,421,423,42
4,430,436……ANDゲート、407,
409,411,413……アツプダウンカウン
タ、425,435,441〜448,451〜
458……信号、501……ORゲート、502
……アツプダウンカウンタ、503……ANDゲ
ート、504……インバータ、A〜D,a〜d,
d−1〜d−4……割込み発生源。
Fig. 1 is a block diagram showing the system configuration of an example of a conventional interrupt control device, Fig. 2 is a block diagram of an embodiment of the present invention, and Fig. 3 is a timing diagram showing an example of the output of the scanning signal and the same level signal. Chaat, 4th
The figure shows the function of the selection section, Figures 5 and 6 are timing charts showing examples of its operation, and Figure 7 shows the function of the selection section.
Figures 8 and 9 are partial detailed circuit diagrams, and Figure 1.
0 is a diagram showing truth values showing the function of the selection section of FIG. 8, and FIG. 11 is a diagram showing truth values showing the function of the circuit of FIG. 9. 11 to 14...Interrupt request, 20...Central processing unit, 21...Interrupt control device, 22...Slave interrupt controller, 100-A to 100-D...
Interrupt request, 101...Control unit A, 101'...
Control unit B, 102, 102-1, 120-2...
Scanning signal, 103...Interrupt signal, 104-A~
104-D...detection section, 105-A to 105-D
...Priority order designation section, 106-A to 106-D...
...Interrupt request control unit, 107-A to 107-D...
...Interrupt request storage section, 108-A to 108-D...
...Interrupt acceptance unit, 109-A to 109-D... Match signal, 110-A to 110-D... Interrupt acceptance signal, 113... Interrupt end signal, 115-A...
115-D...Selection section, 116-A to 116-D
...Selection matching signal, 117...Reception number holding unit, 1
18...Same level signal, 119...Highest level signal, 30
0...Central processing unit, 301-A to 304-A,
321-A...R.S flip-flop, 305
-A, 306-A...exclusive OR gate, 307-
A...NOR gate, 308-A, 325-A,
327-A...AND gate, 309-A...Vector generation section, 313...Vector address, 314...
Interrupt confirmation signal, 326-A...OR gate, 3
24-A...Inverter, 310-A, 311-
A, 312-A, 322-A...signal, 401,
402...T-flip-flop, 403...clock signal, 404...NOR gate, 405,
418,422...OR gate, 406,40
8,410,412,414,415,416,
417, 419, 420, 421, 423, 42
4,430,436...AND gate, 407,
409,411,413...Up-down counter, 425,435,441~448,451~
458...Signal, 501...OR gate, 502
...Up-down counter, 503...AND gate, 504...Inverter, A to D, a to d,
d-1 to d-4... Interrupt generation sources.
Claims (1)
割込み要求記憶手段と、割込み要求ごとに処理優
先順位を指定する優先順位指定手段と、優先順位
を高位から走査する走査信号を出力する走査信号
発生手段と、前記走査信号と前記優先順位指定手
段の内容を比較する比較手段と、優先順位ごとに
割込み受付数を記憶する受付数保持手段と、現在
受け付け中の割込みの優先順位を示す指標信号を
出力する指標信号出力手段と、前記走査信号出力
手段が所定の周期で前記走査信号をくり返し出力
し前記比較手段が前記走査信号と前記優先順位手
段の内容との一致を検出した場合前記指標信号と
前記割込み要求記憶手段の内容に基づき優先順位
制御と前記受付数保持手段の保持情報の制御とを
行う検出制御手段とを含む事を特徴とする割込み
制御装置。1. Interrupt request storage means for storing interrupt requests for each interrupt source, priority order designation means for specifying processing priority for each interrupt request, and scanning signal generation means for outputting a scanning signal that scans the priority order from the highest order. a comparing means for comparing the scanning signal with the contents of the priority order specifying means; an acceptance number holding means for storing the number of accepted interrupts for each priority level; and outputting an index signal indicating the priority order of the interrupts currently being accepted. and the scanning signal outputting means repeatedly outputs the scanning signal at a predetermined period, and when the comparing means detects a match between the scanning signal and the contents of the priority means, the index signal and the An interrupt control device comprising detection control means for controlling priorities based on the contents of an interrupt request storage means and controlling information held in the acceptance number holding means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10287984A JPS60246440A (en) | 1984-05-22 | 1984-05-22 | Interruption control device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10287984A JPS60246440A (en) | 1984-05-22 | 1984-05-22 | Interruption control device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS60246440A JPS60246440A (en) | 1985-12-06 |
| JPH0376495B2 true JPH0376495B2 (en) | 1991-12-05 |
Family
ID=14339162
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP10287984A Granted JPS60246440A (en) | 1984-05-22 | 1984-05-22 | Interruption control device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS60246440A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3105554B2 (en) * | 1990-02-20 | 2000-11-06 | 日本電気株式会社 | Interrupt controller |
-
1984
- 1984-05-22 JP JP10287984A patent/JPS60246440A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS60246440A (en) | 1985-12-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3088180B2 (en) | Serial input interface circuit | |
| EP0464615B1 (en) | Microcomputer equipped with DMA controller | |
| US4807117A (en) | Interruption control apparatus | |
| US7761617B2 (en) | Multi-threaded DMA | |
| JP2661222B2 (en) | Pulse output device | |
| JP2900627B2 (en) | Interrupt control device | |
| JPS60246440A (en) | Interruption control device | |
| JPH0443302B2 (en) | ||
| JPS6022248A (en) | Interruption controller | |
| JP3105554B2 (en) | Interrupt controller | |
| JPS60175150A (en) | Interruption control device | |
| JPS6229819B2 (en) | ||
| JP2569534B2 (en) | Microcomputer | |
| JP2720427B2 (en) | Vector processing equipment | |
| JPH01321525A (en) | Hardware semaphore | |
| JPH0721117A (en) | DMA controller | |
| JPH0283779A (en) | Instruction execution control method for vector processing equipment | |
| JPS5814231A (en) | Multiplex information processing system | |
| JPH02144653A (en) | Data processor | |
| JPH047773A (en) | Dma controller | |
| JPS58181159A (en) | Storage circuit of state history | |
| JPH02176813A (en) | Central process unit and timer circuit | |
| JPS60160466A (en) | Device for controlling hierarchical sequence | |
| JPH087686B2 (en) | Interrupt controller device with priority setting function | |
| JPH10326266A (en) | Microcomputer |