JPH05120182A - Interruption control method - Google Patents

Interruption control method

Info

Publication number
JPH05120182A
JPH05120182A JP28113191A JP28113191A JPH05120182A JP H05120182 A JPH05120182 A JP H05120182A JP 28113191 A JP28113191 A JP 28113191A JP 28113191 A JP28113191 A JP 28113191A JP H05120182 A JPH05120182 A JP H05120182A
Authority
JP
Japan
Prior art keywords
subordinate
main control
signal
interrupt request
control unit
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
JP28113191A
Other languages
Japanese (ja)
Inventor
Shinsaku Jinnai
晋作 陣内
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP28113191A priority Critical patent/JPH05120182A/en
Publication of JPH05120182A publication Critical patent/JPH05120182A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain an interruption control method to reduce the number of connection lines for interruption processing between a main control part and plural subordinate parts. CONSTITUTION:The main control part 200 is connected to the plural subordinate parts 230, 231,..., 236 with the signal line of a clock signal 206 with frame and an interruption request bus 205 which transmits an interruption request signal from each subordinate part to the main control part 200, and the main control part 200 transmits the clock signal with frame equipped with a frame signal to identify a frame at every prescribed number of clocks to all the subordinate parts, and data to designate the subordinate part from which the interruption request signal is outputted to a bus in time division is generated in common, and the subordinate part outputs an interruption request in sequence of generation to the bus, and the main control part discriminates a request origin based on the sequence. and performs the interruption processing.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はマイクロプロセッサなど
により構成される主制御部と複数の従属部とを備えた交
換機などのプロセッサ制御システムにおいて、前記従属
部が前記主制御部にそのプログラム処理の流れの変更を
要求したとき、要求元を認識して処理する割り込み制御
方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a processor control system such as an exchange having a main control unit composed of a microprocessor and a plurality of subordinate units, wherein the subordinate unit controls the main control unit to execute its program processing. The present invention relates to an interrupt control method for recognizing and processing a request source when requesting a flow change.

【0002】[0002]

【従来の技術】近年、交換機などの主制御部に複数の従
属部が接続されたシステムが種々使用され、各従属部か
らの割り込み処理を制御する手段の簡略化が課題であ
る。
2. Description of the Related Art In recent years, various systems in which a plurality of subordinate units are connected to a main control unit such as an exchange are used, and the problem is to simplify means for controlling interrupt processing from each subordinate unit.

【0003】以下、従来の割り込み制御方法について図
面を参照しながら説明する。図5は従来の割り込み制御
が行なわれるシステムの構成をブロック図で示す。図に
おいて、100はマイクロプロセッサなどで構成される
主制御部、120、130、・・・、190はそれぞれ
主制御部100に割り込みを要求する従属部、121、
131、・・・、191はぞれぞれ前記従属部より主制
御部100に対し、その動作を制御するプログラムの流
れを変更要求する割り込み要求信号線である。
A conventional interrupt control method will be described below with reference to the drawings. FIG. 5 is a block diagram showing the configuration of a conventional system in which interrupt control is performed. In the figure, reference numeral 100 denotes a main control unit configured by a microprocessor or the like, 120, 130, ..., 190 denote slave units requesting an interrupt to the main control unit 100, 121,
Reference numerals 131, ..., 191 are interrupt request signal lines for requesting the main control unit 100 from the subordinate unit to change the flow of a program for controlling its operation.

【0004】従属部120、130、・・・、190は
それぞれの従属部内部の状態により主制御部100のプ
ログラムの流れを変更したいとき、それぞれ割り込み要
求信号線121、131、・・・、191を介して主制
御部100に変更要求を通知する。
.., 190 are interrupt request signal lines 121, 131, .., 191 respectively when it is desired to change the program flow of the main control unit 100 according to the internal states of the respective dependent parts. The change request is notified to the main control unit 100 via.

【0005】[0005]

【発明が解決しようとする課題】このような従来の割り
込み制御方法では、主制御部が非同期に発生する各従属
部からの割り込み要求信号を個々に入力して判別し、そ
れに対応する処理を行なう必要があり、また、主制御側
は各従属部ごとに割り込み要求信号受信用の割り込み入
力ポートを設けているので、従属部の増加に伴って接続
線数および割り込みポート数が増加し、システムのフレ
キシブルな拡張が阻害されるという問題があった。
In such a conventional interrupt control method, the main control unit individually inputs and determines the interrupt request signals from the respective slave units that are asynchronously generated, and performs the corresponding processing. Also, since the main control side has an interrupt input port for receiving an interrupt request signal for each subordinate unit, the number of connecting lines and the number of interrupt ports increase as the number of subordinate units increases. There was a problem that flexible expansion was hindered.

【0006】本発明は上記の課題を解決するもので、従
属部の数を増加させても接続線数および入力ポート数の
増加しない割り込み制御方法を提供することを目的とす
る。
An object of the present invention is to solve the above problems, and an object thereof is to provide an interrupt control method in which the number of connecting lines and the number of input ports do not increase even if the number of dependent parts is increased.

【0007】[0007]

【課題を解決するための手段】本発明は上記の目的を達
成するために、主制御部と、前記主制御部に割り込み要
求信号を出力して割り込み処理を要求する複数の従属部
とでなるシステムにおいて、前記主制御部からクロック
信号をすべての前記従属部に伝達する共通なクロック信
号線と、前記すべての従属部から割り込み要求信号を前
記主制御部に伝達する共通な割り込み要求バスを設け、
前記主制御部は、所定数のクロックごとのフレームを識
別するフレーム信号を備えた前記フレーム付きクロック
信号を、前記クロック信号線を介してすべての従属部に
送出し、主制御部および各従属部は前記フレーム付きク
ロック信号のフレームのタイミングを基準に従属部を所
定の順序で時分割に指定するデータを前記クロックのタ
イミングで発生し、従属部のうち前記データで指定され
た従属部がその期間中に割り込み要求信号を前記割り込
み要求バスに出力し、主制御部は割り込み要求信号の入
力タイミングから割り込み要求元の従属部を判別すると
ともに割り込み処理を行なうようにした割り込み制御方
法である。
In order to achieve the above object, the present invention comprises a main control section and a plurality of subordinate sections which output an interrupt request signal to the main control section to request interrupt processing. In the system, a common clock signal line for transmitting a clock signal from the main control unit to all the subordinate units and a common interrupt request bus for transmitting an interrupt request signal from all the subordinate units to the main control unit are provided. ,
The main control unit sends the framed clock signal including a frame signal for identifying a frame for each predetermined number of clocks to all the subordinate units via the clock signal line, and the main control unit and each subordinate unit Generates at the clock timing data that designates the subordinate portions in a predetermined order in time division with reference to the frame timing of the framed clock signal, and the subordinate portion of the subordinate portions designated by the data is in that period. In this interrupt control method, an interrupt request signal is output to the interrupt request bus, and the main control unit determines the subordinate unit of the interrupt request source from the input timing of the interrupt request signal and performs interrupt processing.

【0008】[0008]

【作用】本発明は上記の構成において、主制御部がフレ
ーム付きクロック信号をすべての従属部に送出し、主制
御部およびすべての従属部がそのフレーム付きクロック
信号のフレームを基準とした、従属部が割り込み要求信
号をバスに出力する順序を時分割に指定するデータを発
生し、従属部はその指定されたタイミングで割り込み要
求信号をバスに出力し、主制御部は割り込み要求信号の
タイミングから要求元を判別して割り込み処理を実行す
る。
According to the present invention, in the above structure, the main control unit sends the framed clock signal to all the subordinate units, and the main control unit and all the subordinate units refer to the frame of the framed clock signal as a reference. Section generates data that specifies the order of outputting interrupt request signals to the bus in a time-sharing manner, the subordinate section outputs the interrupt request signal to the bus at the specified timing, and the main control section starts from the timing of the interrupt request signal. Determines the request source and executes interrupt processing.

【0009】[0009]

【実施例】【Example】

(実施例1)以下、本発明の一実施例の割り込み制御方
法について図面を参照しながら説明する。
(Embodiment 1) An interrupt control method according to an embodiment of the present invention will be described below with reference to the drawings.

【0010】図1は本発明の一実施例の割り込み制御方
法を用いたシステムの構成をブロック図で示す。図にお
いて、200はマイクロプロセッサなどで構成される主
制御部、230、231、・・・、236はそれぞれ従
属部である。主制御部200は、主制御部の動作を制御
する主制御部プロセッサ201と、各従属部の割り込み
要求信号の出力タイミングを規定するフレーム付きクロ
ック信号206とタイミング信号207とを生成するク
ロック信号生成回路202と、割り込み要求バス205
を介して従属部から送られてきた割り込み要求信号によ
りタイミンク信号207の出力値をラッチし、一旦ラッ
チしたのちは、起動信号212が入力されるまで、その
状態を保持するラッチ部203と、ラッチ部203のラ
ッチしたラッチ出力208を主制御部プロセッサ201
にデータバス209を介して出力するゲート回路部20
4とで構成される。
FIG. 1 is a block diagram showing the configuration of a system using an interrupt control method according to an embodiment of the present invention. In the figure, reference numeral 200 is a main control unit including a microprocessor and the like, and 230, 231, ..., 236 are subordinate units. The main control unit 200 generates a main control unit processor 201 that controls the operation of the main control unit, a clock signal 206 with a frame that defines the output timing of the interrupt request signal of each subordinate unit, and a clock signal 207 that generates a timing signal 207. Circuit 202 and interrupt request bus 205
The output value of the timing signal 207 is latched by the interrupt request signal sent from the subordinate unit via the latch unit 203, and once latched, the latch unit 203 that holds the state until the activation signal 212 is input, and the latch unit 203 The latch output 208 latched by the unit 203 is used as the main control unit processor 201.
To the gate circuit unit 20 that outputs to the output via the data bus 209
4 and.

【0011】従属部230は、従属部の動作を制御し、
管理下の状況により主制御部200に割り込みが必要な
場合に割り込み要求信号227を出力する従属部制御部
221と、主制御部200から出力されたフレーム付き
クロック信号206のフレームを検出し、タイミング信
号225を出力するタイミング信号生成回路222と、
タイミング信号225と各従属部に与えられた固有のタ
イミング設定信号226とを比較し、前記割り込み要求
信号227が割り込み要求バス205へ出力するタイミ
ングを制御する割り込み要求制御信号228を生成する
比較回路223と、割り込み要求制御信号228の制御
により割り込み要求信号227を割り込み要求バス20
5へ出力する出力ゲート回路224とで構成される。
The subordinate unit 230 controls the operation of the subordinate unit,
Timing is detected by detecting a subordinate unit control unit 221 that outputs an interrupt request signal 227 when an interrupt is required to the main control unit 200 due to a situation under management, and a frame of the framed clock signal 206 output from the main control unit 200. A timing signal generation circuit 222 that outputs a signal 225;
A comparison circuit 223 that compares the timing signal 225 with a unique timing setting signal 226 given to each subordinate unit and generates an interrupt request control signal 228 that controls the timing at which the interrupt request signal 227 is output to the interrupt request bus 205. And the interrupt request signal 227 is controlled by the interrupt request control signal 228.
5 and an output gate circuit 224 which outputs the signal to the output terminal 5.

【0012】図2は主制御部200におけるクロック信
号生成回路202の構成をブロック図で示す。図におい
て、クロック信号生成回路202は、主制御部と各従属
部間の基準クロックとなるクロック信号を生成してクロ
ック信号304を出力するクロック発振器300と、前
記クロック信号304の立ち下がりで更新されるタイミ
ング信号207を出力するカウンタ301と、タイミン
グ信号207がすべてHレベルになったとき、フレーム
付きクロック信号206の1フレームを形成させるため
のフレーム同期信号305を生成する3入力NANDゲ
ート302と、フレーム同期信号305がHレベルの期
間はクロック信号出力304を伝達し、Lレベルである
期間はクロック信号の伝達を休止してその部分をフレー
ム信号とする動作によりフレーム付きクロック信号20
6を出力する2入力ANDゲート303とで構成され
る。なお、タイミング信号207はクロック信号304
のタイミングで変化するデータ(実施例では3ビットの
データ)を与え、複数の従属部に対応する番号を与える
ものである。前記クロック信号304、タイミング信号
207、フレーム同期信号305およびフレーム付きク
ロック信号206の関係を図4のタイミングチャートに
示す。
FIG. 2 is a block diagram showing the configuration of the clock signal generation circuit 202 in the main control unit 200. In the figure, a clock signal generation circuit 202 is a clock oscillator 300 that generates a clock signal serving as a reference clock between a main control unit and each subordinate unit and outputs a clock signal 304, and is updated at the fall of the clock signal 304. A counter 301 that outputs a timing signal 207, and a 3-input NAND gate 302 that generates a frame synchronization signal 305 for forming one frame of the framed clock signal 206 when the timing signals 207 are all at the H level. While the frame synchronization signal 305 is at the H level, the clock signal output 304 is transmitted, while during the L level, the transmission of the clock signal is stopped and that portion is used as a frame signal.
And a 2-input AND gate 303 for outputting 6. The timing signal 207 is the clock signal 304.
The data (3 bits data in the embodiment) that changes at the timing of (3) is given, and the numbers corresponding to the plurality of subordinate parts are given. The relationship between the clock signal 304, the timing signal 207, the frame synchronization signal 305, and the framed clock signal 206 is shown in the timing chart of FIG.

【0013】図3は従属部230内のタイミング信号生
成回路222の構成をブロック図で示す。図において、
タイミング信号生成回路222は、フレーム付きクロッ
ク信号206の1フレームごと、すなわちフレーム付き
クロック信号206のHレベルが欠けているタイミング
ごとにトリガがかからず、そのタイミングにのみLレベ
ルとなる出力パルスを生成し、フレーム同期信号402
として出力するモノステーブルマルチバイブレータ40
1と、フレーム付きクロック信号206の立ち下がりで
出力を更新し、フレーム同期信号402がLレベルにな
るときにクロック入力206とは非同期にリセットされ
るタイミング信号225を生成して出力するカウンタ4
00とで構成される。なお、フレーム同期信号402、
およびタイミング信号225の関係を図4のタイミング
チャートで示す。
FIG. 3 is a block diagram showing the configuration of the timing signal generating circuit 222 in the subordinate unit 230. In the figure,
The timing signal generation circuit 222 does not trigger an output pulse for each frame of the framed clock signal 206, that is, for each timing when the H level of the framed clock signal 206 is missing, and outputs an output pulse that becomes an L level only at that timing. Generate and frame sync signal 402
Output as a monostable multivibrator 40
1 and a counter 4 that outputs and updates the output at the falling edge of the framed clock signal 206, and generates and outputs a timing signal 225 that is reset asynchronously with the clock input 206 when the frame synchronization signal 402 goes to L level.
00 and. The frame synchronization signal 402,
The relationship between the timing signal 225 and the timing signal 225 is shown in the timing chart of FIG.

【0014】以上の構成により、主制御部200内のカ
ウンタ301と従属部230内のカウンタ400は同期
動作し、タイミング信号207とタイミング信号225
のタイミング値は同じになる。また、他の従属部23
1、・・・、236も従属部230と同じに構成され
る。
With the above configuration, the counter 301 in the main control unit 200 and the counter 400 in the subordinate unit 230 operate synchronously, and the timing signal 207 and the timing signal 225.
Have the same timing value. In addition, another subordinate unit 23
1, ..., 236 have the same configuration as the subordinate portion 230.

【0015】以下、上記構成においてその動作を説明す
る。各従属部では、各従属部それぞれにあらかじめ固有
の番号を与えられ、その番号に相当するタイミング設定
信号226と、前記タイミング信号225とを比較回路
223で比較し、全信号が一致した時刻を自従属部の割
り込み要求信号227を出力するタイミングとして、割
り込み要求制御信号228を有効状態とし、その他の時
刻では、割り込み要求制御信号228を非有効状態とす
る。たとえば、本実施例の従属部230では、前記タイ
ミング設定信号226を”HLL(カウント値が1)”
に設定されており、タイミング信号が”HLL”となる
時刻に割り込み要求制御信号228が有効状態となる。
The operation of the above arrangement will be described below. In each subordinate unit, a unique number is given to each subordinate unit in advance, and the timing setting signal 226 corresponding to the number is compared with the timing signal 225 by the comparison circuit 223, and the time when all the signals match is automatically detected. As the timing of outputting the interrupt request signal 227 of the subordinate unit, the interrupt request control signal 228 is set to the valid state, and the interrupt request control signal 228 is set to the invalid state at other times. For example, in the subordinate unit 230 of this embodiment, the timing setting signal 226 is set to "HLL (count value is 1)".
, And the interrupt request control signal 228 becomes valid at the time when the timing signal becomes “HLL”.

【0016】出力ゲート回路224は、トライステート
ゲートにより構成され、比較回路223からの割り込み
要求制御信号228が有効状態でスルー状態となり、従
属制御部221から割り込み要求信号227が割り込み
要求バス205に出力される。また、前記割り込み要求
信号228が非有効状態のときは、バイインピーダンス
出力状態になり、割り込み要求信号227は割り込み要
求バス205に出力されない。このようにカウンタ40
0の出力するタイミング信号の状態により、図4の50
1に示すように、割り込み要求信号を出力する時刻が各
従属部に順次与えられる。各従属部の出力ゲート回路2
24の出力は割り込み要求バス205に接続されてお
り、各従属部制御部が出力する割り込み要求信号227
は、各従属部に与えられた時刻にのみ割り込み要求バス
205上に出力される。
The output gate circuit 224 is formed of a tri-state gate, and the interrupt request control signal 228 from the comparison circuit 223 is in a through state when it is in a valid state, and the subordinate control unit 221 outputs the interrupt request signal 227 to the interrupt request bus 205. To be done. Further, when the interrupt request signal 228 is in the invalid state, it is in a bi-impedance output state, and the interrupt request signal 227 is not output to the interrupt request bus 205. In this way the counter 40
Depending on the state of the timing signal output by 0, 50 in FIG.
As shown in 1, the time at which the interrupt request signal is output is sequentially given to each subordinate unit. Output gate circuit 2 of each subordinate unit
The output of 24 is connected to the interrupt request bus 205, and the interrupt request signal 227 output by each subordinate control unit is output.
Is output to the interrupt request bus 205 only at the time given to each subordinate unit.

【0017】各従属部が自従属部の割り込み要求信号出
力タイミングで出力する割り込み要求信号227は、割
り込み要求バス205を介して主制御部200における
主制御部プロセッサ201の割り込み入力、およびラッ
チ部203のラッチイネーブル信号として入力される。
ラッチ部203によってラッチされたタイミング信号2
07のデータは、主制御プロセッサ201からラッチ部
203へ起動信号212が出力されるまでは、次のラッ
チイネーブル信号が入力されても、その値は保持される
ものとする。割り込み要求バス205を介して割り込み
要求信号が出力された場合、割り込み要求信号が前記ラ
ッチ部203のラッチイネーブル信号として入力される
ことにより、カウンタ301から出力されたタイミング
信号207がラッチ部203にラッチされる。このラッ
チ出力208は割り込み要求元の固有な番号に等しいデ
ータを与える。ラッチ出力208はトライステートゲー
トにより構成されたゲート回路部204を介して主制御
プロセッサ201のデータバス209に接続され、前記
主制御プロセッサ201は、選択信号210およびリー
ド信号211を制御することにより、割り込み要求元を
ゲート回路部204の出力データで確認できる。主制御
部プロセッサ201から起動信号212が出力される
と、ラッチ部203は再度、新規のデータをラッチでき
る状態になる。
The interrupt request signal 227 output by each subordinate unit at the interrupt request signal output timing of its own subordinate unit receives the interrupt input of the main control unit processor 201 in the main control unit 200 via the interrupt request bus 205 and the latch unit 203. Is input as a latch enable signal of.
Timing signal 2 latched by the latch unit 203
It is assumed that the value of the data 07 is held until the activation signal 212 is output from the main control processor 201 to the latch unit 203 even if the next latch enable signal is input. When the interrupt request signal is output via the interrupt request bus 205, the interrupt request signal is input as the latch enable signal of the latch unit 203, so that the timing signal 207 output from the counter 301 is latched in the latch unit 203. To be done. The latch output 208 provides data equal to the unique number of the interrupt request source. The latch output 208 is connected to the data bus 209 of the main control processor 201 via the gate circuit section 204 constituted by a tri-state gate, and the main control processor 201 controls the selection signal 210 and the read signal 211, The interrupt request source can be confirmed from the output data of the gate circuit unit 204. When the activation signal 212 is output from the main controller processor 201, the latch unit 203 is again ready to latch new data.

【0018】ここで、モノステーブルマルチバイブレー
タ401の精度が低い場合、出力パルスがLレベルにな
るタイミングを確定することができず、そのためにカウ
ンタ400がリセット(タイミング信号225がすべて
Lレベル)されるタイミングも確定することができない
ため、カウンタ400およびカウンタ301がすべてL
レベルとなるタイミングに時間的なずれが発生し、誤動
作の原因となる恐れがあるの。それを回避するために図
4の501に示した「***」部分をタイミング調整部
として設け、すべての従属部の割り込み要求信号出力が
非有効となるタイミングとしている。したがって、十分
に精度の高いモノステーブルマルチバイブレータを使用
すれば、タイミング調整部を無くすることができる。な
お、本実施例ではカウンタ400のカウンタの出力がす
べてHレベルのタイミングで従属部236が前記割り込
み要求バスに割り込み要求信号を出力し得る時間幅を確
保するために、モノステーブルマルチバイブレータ40
1の出力パルス幅が、フレーム付きクロック信号206
の1周期以上、1.5周期未満になるように設定され、
また、前記フレーム付きクロック信号のクロックの0.
5周期の時間幅は各従属部が割り込み要求バス205に
割り込み要求信号を出し得るために十分なものとする。
Here, when the accuracy of the monostable multivibrator 401 is low, it is not possible to determine the timing when the output pulse becomes the L level, and therefore the counter 400 is reset (the timing signals 225 are all at the L level). Since the timing cannot be fixed, counter 400 and counter 301 are all L
There is a possibility that there will be a time lag in the timing of reaching the level, which may cause a malfunction. In order to avoid this, the "***" portion 501 shown in FIG. 4 is provided as a timing adjustment unit so that the interrupt request signal output of all the subordinate units becomes ineffective. Therefore, if a sufficiently stable monostable multivibrator is used, the timing adjustment unit can be eliminated. In this embodiment, the monostable multivibrator 40 is provided in order to secure a time width in which the subordinate unit 236 can output the interrupt request signal to the interrupt request bus at the timing when all the outputs of the counter 400 are at the H level.
The output pulse width of 1 is the clock signal 206 with frame
Is set to be 1 cycle or more and less than 1.5 cycle,
The clock of the clock signal with the frame is 0.
The time width of 5 cycles is sufficient for each subordinate unit to issue an interrupt request signal to the interrupt request bus 205.

【0019】このように本発明の実施例の割り込み制御
方法によれば、主制御部はフレーム付きクロック信号を
発生して1本のクロック信号線を介してすべての従属部
に伝送し、主制御部および各従属部制御部は前記フレー
ム付きクロック信号から割り込み要求信号を出力する従
属部を時分割に指定するデータを共通に作成し、従属部
は指定されたタイミングで割り込み要求信号を1本の割
り込み要求バス上に出力し、主制御部は割り込み要求信
号のタイミングから要求元を認識して割り込み処理を行
なう割り込み制御方法とすることにより、1本のクロッ
ク信号線と1本の割り込み要求バスだけで割り込み要求
信号を衝突することなく主制御部に伝送でき、従属部を
簡単に増設できる。
As described above, according to the interrupt control method of the embodiment of the present invention, the main control unit generates a clock signal with a frame and transmits it to all the subordinate units via one clock signal line to perform the main control. The sub-unit and each sub-unit control unit commonly create data for designating the sub-unit that outputs the interrupt request signal from the clock signal with the frame in a time-sharing manner, and the sub-units generate one interrupt request signal at the designated timing. Only one clock signal line and one interrupt request bus are output by using the interrupt control method that outputs to the interrupt request bus and the main control unit recognizes the request source from the timing of the interrupt request signal and performs interrupt processing. The interrupt request signal can be transmitted to the main control unit without collision, and the subordinate unit can be easily added.

【0020】[0020]

【発明の効果】以上の実施例から明かなように、本発明
は主制御部と、前記主制御部に割り込み要求信号を出力
して割り込み処理を要求する複数の従属部とでなるシス
テムにおいて、前記主制御部からクロック信号をすべて
の前記従属部に伝達する共通なクロック信号線と、前記
すべての従属部から割り込み要求信号を前記主制御部に
伝達する共通な割り込み要求バスを設け、前記主制御部
は、所定数のクロックごとのフレームを識別するフレー
ム信号を備えた前記フレーム付きクロック信号を、前記
クロック信号線を介してすべての従属部に送出し、主制
御部および各従属部は前記フレーム付きクロック信号の
フレームのタイミングを基準に従属部を所定の順序で時
分割に指定するデータを前記クロックのタイミングで発
生し、従属部のうち前記データで指定された従属部がそ
の期間中に割り込み要求信号を前記割り込み要求バスに
出力し、主制御部は割り込み要求信号の入力タイミング
から割り込み要求元の従属部を判別するとともに割り込
み処理を行なうようにした割り込み制御方法とすること
により、割り込み要求に関する信号線は従属部の数に無
関係に1本の割り込み要求バスと1本のクロック信号線
だけとなり、主制御部と各従属部間の接続線数を削減で
きるので、同じレベルの割り込み要求権をもつ多数の従
属部を簡単に接続でき、たとえば、従属部の追加が頻繁
に行なわれる交換機の割り込み制御方法などに有効であ
る。
As is apparent from the above embodiments, the present invention provides a system comprising a main control unit and a plurality of subordinate units for outputting interrupt request signals to the main control unit to request interrupt processing. A common clock signal line for transmitting a clock signal from the main control unit to all the subordinate units, and a common interrupt request bus for transmitting an interrupt request signal from all the subordinate units to the main control unit are provided. The control unit sends out the framed clock signal including a frame signal for identifying a frame for each predetermined number of clocks to all the subordinate units via the clock signal line, and the main control unit and each subordinate unit includes the Data for designating the dependent portion in time division in a predetermined order based on the frame timing of the framed clock signal is generated at the clock timing, and The subordinate unit designated by the data outputs an interrupt request signal to the interrupt request bus during the period, and the main control unit determines the subordinate unit of the interrupt request source from the input timing of the interrupt request signal and performs interrupt processing. With the above-described interrupt control method, the signal line relating to the interrupt request is only one interrupt request bus and one clock signal line regardless of the number of subordinate parts, and the connection between the main control part and each subordinate part is established. Since the number of lines can be reduced, a large number of subordinate units having the same level of interrupt request right can be easily connected, which is effective, for example, in an interrupt control method of a switching system in which subordinate units are frequently added.

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

【図1】本発明の一実施例の割り込み制御方法を用いた
システムの構成を示すブロック図
FIG. 1 is a block diagram showing the configuration of a system using an interrupt control method according to an embodiment of the present invention.

【図2】本発明の一実施例の割り込み制御方法を用いた
システムにおけるフレーム付きクロック信号を生成する
回路の構成を示すブロック図
FIG. 2 is a block diagram showing a configuration of a circuit for generating a framed clock signal in a system using the interrupt control method according to the embodiment of the present invention.

【図3】本発明の一実施例の割り込み制御方法を用いた
システムにおいて従属部を時分割指定するタイミング信
号を生成する回路の構成を示すブロック図
FIG. 3 is a block diagram showing a configuration of a circuit that generates a timing signal for time-divisionally designating a dependent portion in a system using the interrupt control method according to the embodiment of the present invention.

【図4】本発明の一実施例の割り込み制御方法の動作を
示すタイミングチャート
FIG. 4 is a timing chart showing the operation of the interrupt control method according to the embodiment of the present invention.

【図5】従来の割り込み制御方法を用いたシステムの構
成を示すブロック図
FIG. 5 is a block diagram showing a configuration of a system using a conventional interrupt control method.

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

200 主制御部 205 割り込み要求バス 206 フレーム付きクロック 230、231、・・・、236 従属部 200 Main control unit 205 Interrupt request bus 206 Clock with frame 230, 231, ..., 236 Subordinate unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 主制御部と、前記主制御部に割り込み要
求信号を出力して割り込み処理を要求する複数の従属部
とでなるシステムにおいて、前記主制御部からクロック
信号をすべての前記従属部に伝達する共通なクロック信
号線と、前記すべての従属部から割り込み要求信号を前
記主制御部に伝達する共通な割り込み要求バスを設け、
前記主制御部は、所定数のクロックごとのフレームを識
別するフレーム信号を備えた前記フレーム付きクロック
信号を、前記クロック信号線を介してすべての従属部に
送出し、主制御部および各従属部は前記フレーム付きク
ロック信号のフレームのタイミングを基準に従属部を所
定の順序で時分割に指定するデータを前記クロックのタ
イミングで発生し、従属部のうち前記データで指定され
た従属部がその期間中に割り込み要求信号を前記割り込
み要求バスに出力し、主制御部は割り込み要求信号の入
力タイミングから割り込み要求元の従属部を判別すると
ともに割り込み処理を行なうようにした割り込み制御方
法。
1. A system comprising a main control unit and a plurality of subordinate units for outputting an interrupt request signal to the main control unit to request interrupt processing, wherein a clock signal is supplied from the main control unit to all the subordinate units. A common clock signal line for transmitting to the main control unit and a common clock signal line for transmitting an interrupt request signal from all the subordinate units to the main control unit.
The main control unit sends the framed clock signal including a frame signal for identifying a frame for each predetermined number of clocks to all the subordinate units via the clock signal line, and the main control unit and each subordinate unit Generates at the clock timing data that designates the subordinate portions in a predetermined order in time division with reference to the frame timing of the framed clock signal, and the subordinate portion of the subordinate portions designated by the data is in that period. An interrupt control method in which an interrupt request signal is output to the interrupt request bus, and the main control unit determines the dependent unit of the interrupt request source from the input timing of the interrupt request signal and performs interrupt processing.
JP28113191A 1991-10-28 1991-10-28 Interruption control method Pending JPH05120182A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28113191A JPH05120182A (en) 1991-10-28 1991-10-28 Interruption control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28113191A JPH05120182A (en) 1991-10-28 1991-10-28 Interruption control method

Publications (1)

Publication Number Publication Date
JPH05120182A true JPH05120182A (en) 1993-05-18

Family

ID=17634802

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28113191A Pending JPH05120182A (en) 1991-10-28 1991-10-28 Interruption control method

Country Status (1)

Country Link
JP (1) JPH05120182A (en)

Similar Documents

Publication Publication Date Title
JP3209776B2 (en) Emulation device and microcontroller used for it
US4797884A (en) Redundant device control unit
EP0695987B1 (en) Improved timer for a data processor
US6504854B1 (en) Multiple frequency communications
JPH05120182A (en) Interruption control method
JP2780623B2 (en) Information processing device
JPH0962304A (en) Multiplex system for controller
JPS59176863A (en) Timer synchronizing system
JP2512119B2 (en) Microprocessor
JP3314791B2 (en) Synchronization method for multiprocessor systems
JPS6315628B2 (en)
JPH0736720A (en) Duplex computer equipment
JP2502030B2 (en) Synchronizer for a synchronous data processing system.
JP2002041492A (en) Multiprocessor device
JPH04308938A (en) Interruption controller
JPH07248803A (en) Synchronizing device for dual device
JP3224554B2 (en) Schedule control device
KR0178720B1 (en) Shared memory control device
JPS6033654A (en) Inter-microprocessor data transferring system
JP2517943B2 (en) Timer device
JPH08507165A (en) Synchronous arbitration technique and apparatus
KR960014829B1 (en) Bus requester operating method
JP2559214B2 (en) Data transmission control circuit
JPS648369B2 (en)
JPH04135268A (en) Multi-cpu system