JPH05143364A - Interruption control device - Google Patents

Interruption control device

Info

Publication number
JPH05143364A
JPH05143364A JP3307935A JP30793591A JPH05143364A JP H05143364 A JPH05143364 A JP H05143364A JP 3307935 A JP3307935 A JP 3307935A JP 30793591 A JP30793591 A JP 30793591A JP H05143364 A JPH05143364 A JP H05143364A
Authority
JP
Japan
Prior art keywords
pattern
signal
interrupt
control device
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
JP3307935A
Other languages
Japanese (ja)
Inventor
Yasuo Kato
泰夫 加藤
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP3307935A priority Critical patent/JPH05143364A/en
Publication of JPH05143364A publication Critical patent/JPH05143364A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To obtain an interruption control device capable of receiving an inter ruption request from a peripheral circuit at approximately equal probability and eliminating necessity for developing a program for controlling priority order in respect of an interruption control device for receiving plural interruptions generated at random at the approximately equal probability. CONSTITUTION:The subject interruption control device is constituted of a select signal forming means 10 for forming a select signal A having a pattern to be changed at a prescribed time interval and circularly returned to the initial pattern at the time of arriving at a prescribed pattern, and a selection means 11 having input parts 10 to In for interruption request signals RQ0 to RQn corresponding to respective patterns of the signal A formed by the means 10 and selecting and outputting one of the signals RQ0 to RQn inputted to the input parts 10 to In in accordance with each pattern of the signal A.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ランダムに発生する複
数の割込を略均等な確率で受け付ける割込制御装置に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an interrupt control device that accepts a plurality of interrupts that occur randomly with a substantially equal probability.

【0002】近年、マイクロプロセッサとその周辺回路
とを用いて種々の制御装置を構成する場合が多い。かか
る制御装置では、マイクロプロセッサと周辺回路との間
の情報の送受を円滑且つ効率よく行なうために割込機能
を用いることが多い。
In recent years, various control devices are often constructed using a microprocessor and its peripheral circuits. In such a control device, an interrupt function is often used in order to smoothly and efficiently transmit and receive information between the microprocessor and peripheral circuits.

【0003】しかしながら、複数の周辺回路から割込要
求がランダムに発生した場合、受け付けられる割込要求
が所定の周辺回路に偏ってしまい、システムとして正常
に動作しない場合が発生する。したがって、マイクロプ
ロセッサに複数の周辺回路を接続してシステムを構築す
る場合、各周辺回路からの割込要求を均等な確率で受け
付るものが望まれている。
However, when interrupt requests are randomly generated from a plurality of peripheral circuits, the accepted interrupt requests are biased to predetermined peripheral circuits, and the system may not operate normally. Therefore, when a system is constructed by connecting a plurality of peripheral circuits to a microprocessor, it is desired that the interrupt requests from each peripheral circuit be accepted with equal probability.

【0004】[0004]

【従来の技術】従来、図5に示すように、複数の周辺回
路からの割込要求信号RQ0〜RQ3を受け付け、プロ
セッサ(CPU)51に制御を渡すために、例えばLS
Iで構成された汎用の割込コントローラ50が使用され
ている。
2. Description of the Related Art Conventionally, as shown in FIG. 5, in order to receive interrupt request signals RQ0 to RQ3 from a plurality of peripheral circuits and pass control to a processor (CPU) 51, for example, an LS.
A general-purpose interrupt controller 50 composed of I is used.

【0005】この割込コントローラ50は、内部にプロ
グラムを記憶するメモリを有し、該プログラムにより割
込の優先順位を設定できるようになっている。そして、
上記プログラムの制御の下に、複数の割込要求が同時に
発生した場合は、プログラミングされた優先順位に従っ
て割込要求を受け付けるというものである。
The interrupt controller 50 has a memory for storing programs therein, and the priority of interrupts can be set by the programs. And
Under the control of the above program, when a plurality of interrupt requests occur simultaneously, the interrupt requests are accepted according to the programmed priority order.

【0006】しかしながら、かかる従来の方法によれ
ば、必ず優先順位を設定しなければならないため、同程
度発生させたい割込が複数種類存在する場合、優先順位
を低くプログラミングされた周辺回路からの割込要求は
受け付けられる確率が低くなるという欠点があった。
However, according to such a conventional method, the priorities must be set without fail. Therefore, when there are a plurality of types of interrupts that should be generated to the same degree, the interrupts from the peripheral circuits programmed with low priorities are generated. There is a drawback in that the probability of receiving an embedded request is low.

【0007】また、プログラムにより優先順位を制御す
るという構成になっているため、優先順位を制御するた
めのプログラムの開発が必要であり、手間がかかるとい
う問題もあった。
Further, since the priority order is controlled by the program, there is a problem that it is necessary to develop a program for controlling the priority order, which is troublesome.

【0008】[0008]

【発明が解決しようとする課題】本発明は、上記事情に
鑑みてなされたもので、周辺回路からの割込要求を略均
等な確率で受け付けることができ、また、優先順位を制
御するためのプログラムを開発する必要のない割込制御
装置を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances and is capable of accepting interrupt requests from peripheral circuits with a substantially equal probability and for controlling priority. It is an object of the present invention to provide an interrupt control device that does not need to develop a program.

【0009】[0009]

【課題を解決するための手段】本発明の割込制御装置
は、図1に原理的に示すように、所定時間間隔で変化す
るパターンであって、所定のパターンに到達すると最初
のパターンに戻って循環するパターンの選択信号Aを生
成する選択信号生成手段10と、該選択信号生成手段1
0で生成される選択信号Aの各パターンに対応する割込
要求信号RQ0〜RQnの入力部I0〜Inを有し、前
記選択信号Aの各パターンに応じて前記入力部I0〜I
nに入力された割込要求信号RQ0〜RQnの中の1つ
を選択して出力する選択手段11とを具備したことを特
徴とする。
As shown in principle in FIG. 1, the interrupt control device of the present invention has a pattern that changes at a predetermined time interval and returns to the first pattern when the predetermined pattern is reached. Selection signal generating means 10 for generating a selection signal A having a circulating pattern, and the selection signal generating means 1
0 has input parts I0 to In of interrupt request signals RQ0 to RQn corresponding to the respective patterns of the selection signal A generated by 0, and the input parts I0 to I according to the respective patterns of the selection signal A.
The selection means 11 selects and outputs one of the interrupt request signals RQ0 to RQn input to n.

【0010】[0010]

【作用】本発明は、所定時間間隔で変化しながら循環す
るパターンの選択信号Aを生成し、該選択信号Aの各パ
ターンに対応して複数の割込要求信号RQ0〜RQnの
中の1つを選択するようにしたものである。
According to the present invention, the selection signal A having a pattern that circulates while changing at a predetermined time interval is generated, and one of the plurality of interrupt request signals RQ0 to RQn corresponding to each pattern of the selection signal A is generated. Is to be selected.

【0011】これにより、或る割込要求信号が選択され
るタイミングは、循環するパターンの中の特定のパター
ンの時のみであり、各割込要求信号RQ0〜RQnは選
択される機会を均等に得ることになる。換言すれば、例
えば周辺回路からの割込要求を略均等な確率で受け付け
ることができる。
As a result, the timing at which a certain interrupt request signal is selected is only in the case of a specific pattern among the circulating patterns, and the interrupt request signals RQ0 to RQn are evenly selected. You will get it. In other words, for example, interrupt requests from peripheral circuits can be accepted with a substantially equal probability.

【0012】また、従来のように優先順位を制御するた
めのプログラムを開発する必要がないので、開発が少な
い手間で済むという利点も有する。
Further, since it is not necessary to develop a program for controlling the priority as in the conventional case, there is an advantage that the development can be done with less labor.

【0013】[0013]

【実施例】図2は、本発明の割込制御装置の一実施例の
構成を示すものである。なお、以下においては、説明を
簡単にするために、割込要求を発生する周辺回路は4個
存在するものとして説明する。また、図1と同一又は相
当部には同一符号を付して説明する。
FIG. 2 shows the configuration of an embodiment of the interrupt control device of the present invention. In the following, for simplification of explanation, it is assumed that there are four peripheral circuits that generate an interrupt request. In addition, the same or corresponding parts as those in FIG.

【0014】図において、10は選択信号生成手段とし
てのパターン生成部である。このパターン生成部10に
は、図示しないクロック発生回路から、2種類のクロッ
クCLK0、CLK1が供給されるようになっている。
In the figure, reference numeral 10 is a pattern generation section as selection signal generation means. The pattern generation unit 10 is supplied with two types of clocks CLK0 and CLK1 from a clock generation circuit (not shown).

【0015】クロックCLK0、CLK1は、それぞれ
デューティが略50%程度のクロック信号であり、クロ
ックCLK1は、クロックCLK0の2倍の周期を1サ
イクルとするものである。
The clocks CLK0 and CLK1 are clock signals each having a duty of about 50%, and the clock CLK1 has a cycle twice as long as the clock CLK0 as one cycle.

【0016】パターン生成部10は、上記2種類のクロ
ックCLK0、CLK1を入力し、位相を揃える処理を
施した後に、選択信号A0、A1として出力するもので
ある。これにより、選択信号A0、A1は、図3に示す
ように、位相ずれのない変化点が揃った信号としてセレ
クタ11に供給される。
The pattern generation section 10 inputs the above-mentioned two types of clocks CLK0 and CLK1, performs processing for aligning the phases, and then outputs them as selection signals A0 and A1. As a result, the selection signals A0 and A1 are supplied to the selector 11 as signals in which the change points are aligned without phase shift, as shown in FIG.

【0017】この2本の選択信号A1、A0により、2
ビットの「00、01、10、11」の4つのパターン
が作成されることになる。
By these two selection signals A1 and A0, 2
Four patterns of bits "00, 01, 10, 11" will be created.

【0018】11はセレクタであり、4つのデータ入力
端子I0〜I3と、2つの選択信号入力端子S0,S1
及び1つの出力端子Oを有している。そして、データ入
力端子I0〜I3には、図示しない周辺回路から、割込
要求信号RQ0〜RQ3がそれぞれ供給されるようにな
っている。
Reference numeral 11 denotes a selector, which has four data input terminals I0 to I3 and two selection signal input terminals S0 and S1.
And one output terminal O. The interrupt request signals RQ0 to RQ3 are supplied to the data input terminals I0 to I3 from a peripheral circuit (not shown).

【0019】また、選択信号入力端子S0,S1には、
パターン生成部10が出力する2本の選択信号A1,A
0がそれぞれ供給されるようになっている。
The selection signal input terminals S0 and S1 are connected to
Two selection signals A1 and A output by the pattern generator 10
0 is supplied respectively.

【0020】このセレクタ11は、選択信号入力端子S
0,S1に入力された選択信号A1,A0のパターンに
応じて、データ入力端子I0〜I3に供給される割込要
求信号RQ0〜RQ3の何れかを選択して出力端子Oか
ら出力するものである。
The selector 11 has a selection signal input terminal S.
0, S1 selects any one of the interrupt request signals RQ0 to RQ3 supplied to the data input terminals I0 to I3 according to the pattern of the selection signals A1 and A0, and outputs it from the output terminal O. is there.

【0021】即ち、選択信号A1,A0のパターンが
「00」の場合はデータ入力端子I0に供給される割込
要求信号RQ0を選択して出力し、「01」の場合はデ
ータ入力端子I1に供給される割込要求信号RQ1を選
択して出力し、「10」の場合はデータ入力端子I2に
供給される割込要求信号RQ2を選択して出力し、「1
1」の場合はデータ入力端子I3に供給される割込要求
信号RQ3を選択して出力する。
That is, when the pattern of the selection signals A1 and A0 is "00", the interrupt request signal RQ0 supplied to the data input terminal I0 is selected and output, and when the pattern is "01", it is output to the data input terminal I1. The supplied interrupt request signal RQ1 is selected and output, and in the case of "10", the interrupt request signal RQ2 supplied to the data input terminal I2 is selected and output, and "1" is output.
In the case of "1", the interrupt request signal RQ3 supplied to the data input terminal I3 is selected and output.

【0022】次に、上記の構成において、図3のタイミ
ングチャートを参照しながら動作を説明する。
Next, the operation of the above configuration will be described with reference to the timing chart of FIG.

【0023】今、図示するタイミングT0で、2つの割
込要求信号RQ1,RQ2が同時に発生したとする。
Now, assume that two interrupt request signals RQ1 and RQ2 are simultaneously generated at the timing T0 shown in the figure.

【0024】このT0点は、パターン「11」であるの
で、データ入力端子I3に供給される割込要求信号RQ
3を選択して出力するタイミングであるが、割込要求信
号RQ3はアクティブ(Hレベル)にされていないの
で、セレクタ11の出力はノンアクティブ(Lレベル)
のままである。この際、割込要求信号RQ1,RQ2は
Hレベルを維持する。
Since the point T0 is the pattern "11", the interrupt request signal RQ supplied to the data input terminal I3.
Although it is the timing of selecting and outputting 3, the output of the selector 11 is non-active (L level) because the interrupt request signal RQ3 is not activated (H level).
It remains. At this time, the interrupt request signals RQ1 and RQ2 maintain the H level.

【0025】次に、パターン生成部10は、パターン
「00」の選択信号を出力する。これは、データ入力端
子I0に供給される割込要求信号RQ0を選択して出力
するタイミングであるが、割込要求信号RQ0もアクテ
ィブ(Hレベル)にされていないので、セレクタ11の
出力はノンアクティブ(Lレベル)のままである。この
場合も、割込要求信号RQ1,RQ2はHレベルを維持
する。
Next, the pattern generator 10 outputs a selection signal for the pattern "00". This is the timing for selecting and outputting the interrupt request signal RQ0 supplied to the data input terminal I0. However, since the interrupt request signal RQ0 is not activated (H level), the output of the selector 11 is non-transmission. It remains active (L level). In this case as well, the interrupt request signals RQ1 and RQ2 maintain the H level.

【0026】次に、パターン生成部10は、パターン
「01」の選択信号を出力する。これは、データ入力端
子I1に供給される割込要求信号RQ0を選択して出力
するタイミングである。この場合、割込要求信号RQ1
はアクティブ(Hレベル)を維持した状態にあるので、
セレクタ11の出力にはアクティブ(Hレベル)の割込
要求信号IRQが出力される(図3のT1点)。即ち、
割込要求信号RQ1が受け付けられたことになる。
Next, the pattern generator 10 outputs a selection signal for the pattern "01". This is the timing for selecting and outputting the interrupt request signal RQ0 supplied to the data input terminal I1. In this case, the interrupt request signal RQ1
Is in an active (H level) state,
An active (H level) interrupt request signal IRQ is output to the output of the selector 11 (point T1 in FIG. 3). That is,
This means that the interrupt request signal RQ1 has been accepted.

【0027】この際、割込要求信号RQ2はHレベルを
維持したままである。この割込要求信号RQ2は、次
に、パターン生成部10がパターン「10」の選択信号
を出力したときに、上記と同様の方法で受け付けられる
ことになる。
At this time, the interrupt request signal RQ2 remains at H level. The interrupt request signal RQ2 will be accepted by the same method as described above when the pattern generation unit 10 next outputs the selection signal of the pattern "10".

【0028】また、図示するタイミングT2で、2つの
割込要求信号RQ1,RQ2が同時に発生したとする。
It is also assumed that two interrupt request signals RQ1 and RQ2 are simultaneously generated at the timing T2 shown in the figure.

【0029】このT2点は、パターン「10」であるの
で、データ入力端子I2に供給される割込要求信号RQ
2を選択して出力するタイミングである。このタイミン
グで、割込要求信号RQ2はアクティブ(Hレベル)に
されるので、セレクタ11の出力にはアクティブ(Hレ
ベル)の割込要求信号IRQが出力される。即ち、割込
要求信号RQ2は発生と同時に受け付けられたことにな
る。
Since the point T2 is the pattern "10", the interrupt request signal RQ supplied to the data input terminal I2.
This is the timing for selecting 2 and outputting. At this timing, the interrupt request signal RQ2 is activated (H level), so that the active (H level) interrupt request signal IRQ is output to the output of the selector 11. That is, the interrupt request signal RQ2 is accepted at the same time as it is generated.

【0030】この際、割込要求信号RQ1はHレベルを
維持したままである。この割込要求信号RQ2は、次回
に、パターン生成部10がパターン「01」の選択信号
を出力したときに、上記と同様の方法で受け付けられる
ことになる。
At this time, the interrupt request signal RQ1 remains at H level. This interrupt request signal RQ2 will be accepted by the same method as the above when the pattern generation unit 10 outputs the selection signal of the pattern "01" next time.

【0031】以上のように、この実施例によれば、或る
割込要求信号が選択されるタイミングは、パターン生成
部10で循環するように生成されるパターンの中の特定
のパターンの時のみであり、各割込要求信号RQ0〜R
Q3は選択される機会を均等に得ることになる。換言す
れば、周辺回路からの割込要求を略均等な確率で受け付
けることができるという効果を有する。
As described above, according to this embodiment, the timing at which a certain interrupt request signal is selected is only when a specific pattern among the patterns cyclically generated by the pattern generation unit 10 is selected. And each interrupt request signal RQ0-R
Q3 will get an equal chance of being selected. In other words, there is an effect that the interrupt request from the peripheral circuit can be accepted with a substantially equal probability.

【0032】また、従来のように優先順位を制御するた
めのプログラムを開発する必要がないので、開発が少な
い手間で済むという利点も有する。
Further, since it is not necessary to develop a program for controlling the priority order as in the conventional case, there is an advantage that the development can be done with less labor.

【0033】次に、本発明を通信制御装置に適用した場
合の例について、図4を参照しながら説明する。
Next, an example in which the present invention is applied to a communication control device will be described with reference to FIG.

【0034】図において、パターン生成部10及びセレ
クタ11は、図2の実施例で説明したものと同一である
ので、説明は省略する。
In the figure, the pattern generator 10 and the selector 11 are the same as those described in the embodiment of FIG.

【0035】20〜23は通信制御部であり、全て同一
の構成である。通信制御部20〜23は、本通信制御装
置と外部の装置との間で、回線を通じて行なうデータの
送受を制御するものである。
Reference numerals 20 to 23 denote communication control units, which have the same configuration. The communication control units 20 to 23 control transmission and reception of data between the communication control device and an external device through a line.

【0036】各通信制御部20〜23は、DMA(ダイ
レクトメモリアクセス)によりデータの送受を行なう機
能を有するものである。具体的には、CPU12の動作
とは無関係に、メモリ14からシステムバス15を介し
て回線にデータを送信し、又はその逆の動作でデータを
受信するものである。
Each of the communication control units 20 to 23 has a function of transmitting and receiving data by DMA (Direct Memory Access). Specifically, regardless of the operation of the CPU 12, data is transmitted from the memory 14 to the line via the system bus 15 or vice versa.

【0037】各通信制御部20〜23は、システムバス
15との間でデータの送受が可能になっているととも
に、各通信制御部20〜23からは、DMA転送要求の
割込信号HRQ0〜HRQ3がセレクタ11に出力され
るようになっている。また、デコーダ13から割込許可
信号HLA0〜HLA3が入力されるようになってい
る。さらに、各通信制御部20〜23には回線が接続さ
れるようになっている。
The communication control units 20 to 23 can send and receive data to and from the system bus 15, and the communication control units 20 to 23 send DMA transfer request interrupt signals HRQ0 to HRQ3. Are output to the selector 11. Further, the interrupt enable signals HLA0 to HLA3 are input from the decoder 13. Further, a line is connected to each of the communication control units 20-23.

【0038】プロセッサ(CPU)12は、当該通信制
御装置の全体を制御するものである。このCPU12
は、システムバス15を介して他の周辺回路とデータの
送受を行なうようになっている。
The processor (CPU) 12 controls the entire communication control device. This CPU12
Transmits / receives data to / from other peripheral circuits via the system bus 15.

【0039】また、CPU12には、セレクタ11から
HOLD信号が供給されるようになっている。このHO
LD信号は、CPU12に対する割込信号であり、CP
U12の動作停止を要求する信号である。
The HOLD signal is supplied from the selector 11 to the CPU 12. This HO
The LD signal is an interrupt signal for the CPU 12, and CP
This signal is a request for stopping the operation of U12.

【0040】また、CPU12からはHLDA信号がデ
コーダ13に供給されるようになっている。このHLD
A信号は、上記HOLD信号に対する応答信号であり、
動作停止要求を受け付けた旨を示す信号である。
Further, the HLDA signal is supplied from the CPU 12 to the decoder 13. This HLD
The A signal is a response signal to the HOLD signal,
This is a signal indicating that the operation stop request has been accepted.

【0041】デコーダ13は、パターン生成部10から
の選択信号に応じて、入力されたHLDA信号を何れの
出力端子に出力するかを制御するものである。このデコ
ーダ13の4つの出力は、割込許可信号HLA0〜HL
A3として、それぞれ通信制御部20〜23に供給され
るようになっている。
The decoder 13 controls to which output terminal the input HLDA signal is output in accordance with the selection signal from the pattern generating section 10. The four outputs of this decoder 13 are interrupt enable signals HLA0 to HL.
A3 is supplied to the communication control units 20 to 23, respectively.

【0042】メモリ14は、制御プログラムの他、種々
のデータを記憶するものである。このメモリ14内のデ
ータが、DMA転送の対象となる。
The memory 14 stores various data in addition to the control program. The data in the memory 14 is the target of the DMA transfer.

【0043】システムバス15は、CPU12、メモリ
14、通信制御部20〜23を相互に接続するバスであ
り、これら各要素の間で各種信号を送受するものであ
る。
The system bus 15 is a bus for connecting the CPU 12, the memory 14, and the communication control units 20 to 23 to each other, and sends and receives various signals between these respective elements.

【0044】次に、上記の構成において動作を説明す
る。通信制御部20〜23は、ランダムにDMA転送要
求の割込信号HRQ0〜HRQ3を発生する。
Next, the operation of the above configuration will be described. The communication control units 20 to 23 randomly generate interrupt signals HRQ0 to HRQ3 of a DMA transfer request.

【0045】今、通信制御部20がDMA転送要求の割
込信号HRQ0を発生したとすると、該DMA転送要求
の割込信号HRQ0は、パターン生成部10からの選択
信号のパターンが「00」であるときに、セレクタ11
で選択されて、HOLD信号としてCPU12に供給さ
れる。
Now, assuming that the communication control unit 20 generates the DMA transfer request interrupt signal HRQ0, the pattern of the selection signal from the pattern generation unit 10 is "00" for the DMA transfer request interrupt signal HRQ0. Selector 11
And is supplied to the CPU 12 as a HOLD signal.

【0046】CPU12は、このHOLD信号を受け
て、システムバス15を解放するとともに、HLDA信
号をデコーダ13に送出する。デコーダ13は、パター
ン生成部10からの選択信号のパターンが「00」であ
るので、割込許可信号HLA0を通信制御部20に送信
する。これにより通信制御部20は、メモリ14と回線
との間でDMA転送を開始することになる。
Upon receipt of this HOLD signal, the CPU 12 releases the system bus 15 and sends the HLDA signal to the decoder 13. Since the pattern of the selection signal from the pattern generation unit 10 is “00”, the decoder 13 transmits the interrupt permission signal HLA0 to the communication control unit 20. As a result, the communication control unit 20 starts DMA transfer between the memory 14 and the line.

【0047】他の通信制御部からDMA転送要求の割込
信号が発生した場合も同様であり、当該通信制御部に割
り当てられた選択信号のパターンが生成された時に、セ
レクタ11で割込要求が受け付けられることになる。
The same applies when an interrupt signal for a DMA transfer request is generated from another communication control unit. When the pattern of the selection signal assigned to the communication control unit is generated, the selector 11 issues an interrupt request. It will be accepted.

【0048】また、同時に2つ以上のDMA転送要求の
割込信号が発生した場合は、既に図2及び図3を用いて
説明したように、最も早く制御信号のパターンに一致し
た通信制御部からの割込要求が受け付けられ、システム
バス15を専有してDMA転送を行なうことになる。
When two or more DMA transfer request interrupt signals are generated at the same time, as described above with reference to FIG. 2 and FIG. The interrupt request is accepted, and the system bus 15 is exclusively used for DMA transfer.

【0049】以上のように、各通信制御部からの割込要
求は、「00→01→10→11→00→…」と循環し
て生成される選択信号のパターンに一致したときにのみ
受け付けられるようにしたので、各通信制御部からの割
込要求を均等に受け付けることができ、したがって、各
通信制御部に均等にDMA転送を許可することができる
ものとなっている。
As described above, the interrupt request from each communication control unit is accepted only when the pattern of the selection signal which is cyclically generated as "00 → 01 → 10 → 11 → 00 → ..." matches. As a result, the interrupt requests from the respective communication control units can be accepted evenly, and therefore, the DMA transfer can be evenly permitted to the communication control units.

【0050】なお、上記実施例では、4つの周辺回路か
らランダムに割込要求信号が発生する場合について説明
したが、割込要求信号を発生する周辺回路は4つに限定
されるものでない。システムの必要に応じて任意の数の
周辺回路から割込要求信号を発生し、これを循環して生
成されるパターンに応じて受け付けるように構成しても
て良く、この場合も上記実施例と同様の作用効果を奏す
る。
In the above embodiment, the case where the interrupt request signals are randomly generated from the four peripheral circuits has been described, but the peripheral circuits which generate the interrupt request signals are not limited to four. It may be configured to generate an interrupt request signal from any number of peripheral circuits as required by the system and receive the interrupt request signal in accordance with a pattern generated by circulating the interrupt request signal. The same effect is obtained.

【0051】[0051]

【発明の効果】以上詳述したように、本発明によれば、
周辺回路からの割込要求を略均等な確率で受け付けるこ
とができ、また、優先順位を制御するためのプログラム
を開発する必要のない割込制御装置を提供することがで
きる。
As described in detail above, according to the present invention,
It is possible to provide an interrupt control device that can receive interrupt requests from peripheral circuits with substantially equal probability and that does not require the development of a program for controlling the priority order.

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

【図1】本発明の割込制御装置の原理図である。FIG. 1 is a principle diagram of an interrupt control device of the present invention.

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

【図3】図2に示した実施例の動作を説明するためのタ
イミングチャートである。
FIG. 3 is a timing chart for explaining the operation of the embodiment shown in FIG.

【図4】本発明を通信制御装置に適用した例を示す図で
ある。
FIG. 4 is a diagram showing an example in which the present invention is applied to a communication control device.

【図5】従来の割込制御回路を説明するための図であ
る。
FIG. 5 is a diagram for explaining a conventional interrupt control circuit.

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

10 パターン生成部(選択信号生成手段) 11 セレクタ(選択手段) 10 pattern generation unit (selection signal generation means) 11 selector (selection means)

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 所定時間間隔で変化するパターンであっ
て、所定のパターンに到達すると最初のパターンに戻っ
て循環するパターンの選択信号(A) を生成する選択信号
生成手段(10)と、 該選択信号生成手段(10)で生成される選択信号(A) の各
パターンに対応する割込要求信号(RQ0〜RQn)の入力部
(I0〜In) を有し、前記選択信号(A) の各パターンに応
じて前記入力部 (I0〜In) に入力された割込要求信号(R
Q0〜RQn)の中の1つを選択して出力する選択手段(11)と
を具備したことを特徴とする割込制御装置。
1. A selection signal generating means (10) for generating a selection signal (A) of a pattern that changes at a predetermined time interval and returns to the first pattern when the predetermined pattern is reached and circulates, Input section of interrupt request signals (RQ0 to RQn) corresponding to each pattern of the selection signal (A) generated by the selection signal generation means (10)
(I0 to In), and the interrupt request signal (R) input to the input section (I0 to In) according to each pattern of the selection signal (A).
An interrupt control device comprising: a selection means (11) for selecting and outputting one of Q0 to RQn).
【請求項2】 前記選択信号生成手段(10)は、所定周期
のパルス信号と、該パルス信号を分周した信号に対応す
るパルス信号とにより前記信号パターンを生成すること
を特徴とする請求項1記載の割込制御装置。
2. The selection signal generating means (10) generates the signal pattern by a pulse signal having a predetermined cycle and a pulse signal corresponding to a signal obtained by dividing the pulse signal. The interrupt control device according to 1.
JP3307935A 1991-11-22 1991-11-22 Interruption control device Pending JPH05143364A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3307935A JPH05143364A (en) 1991-11-22 1991-11-22 Interruption control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3307935A JPH05143364A (en) 1991-11-22 1991-11-22 Interruption control device

Publications (1)

Publication Number Publication Date
JPH05143364A true JPH05143364A (en) 1993-06-11

Family

ID=17974947

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3307935A Pending JPH05143364A (en) 1991-11-22 1991-11-22 Interruption control device

Country Status (1)

Country Link
JP (1) JPH05143364A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013510375A (en) * 2009-11-06 2013-03-21 クゥアルコム・インコーポレイテッド System, method and apparatus for data communication
US9063929B2 (en) 2012-08-31 2015-06-23 Fujitsu Limited Information processing apparatus, information processing method, computer-readable recording medium having stored therein program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013510375A (en) * 2009-11-06 2013-03-21 クゥアルコム・インコーポレイテッド System, method and apparatus for data communication
US9063929B2 (en) 2012-08-31 2015-06-23 Fujitsu Limited Information processing apparatus, information processing method, computer-readable recording medium having stored therein program

Similar Documents

Publication Publication Date Title
US4621342A (en) Arbitration circuitry for deciding access requests from a multiplicity of components
US4237534A (en) Bus arbiter
US6694398B1 (en) Circuit for selecting interrupt requests in RISC microprocessors
EP0117432B1 (en) Enhanced reliability interrupt control apparatus
US5283903A (en) Priority selector
JPH10154021A (en) Clock switching device and clock switching method
JPH05143364A (en) Interruption control device
US5446847A (en) Programmable system bus priority network
US4180855A (en) Direct memory access expander unit for use with a microprocessor
US4459688A (en) Access request selecting circuit
JPH06187066A (en) Microprocessor with plural cpu
CA2002104C (en) Vector processing apparatus
JP2004213666A (en) Dma module and its operating method
KR100190184B1 (en) Transmitting circuit for data with serial bus line
JP2837698B2 (en) Direct memory access controller
JP2582414B2 (en) Interrupt processing device
JPS5858664A (en) Memory access controller
JPH0520261A (en) Priority control cirucit
KR920004419B1 (en) Interrupt control processing circuit
JP2000076199A (en) Multiprocessor device provided with debugging terminal
JP2533923B2 (en) Storage controller
JPH0759173A (en) Reset control system
JPH0289143A (en) Storage device
JPH09297732A (en) Serial i/o
JPS5953923A (en) Data processing system

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20010130