JPH06350677A - Interrupt request type switching request signal monitoring system - Google Patents
Interrupt request type switching request signal monitoring systemInfo
- Publication number
- JPH06350677A JPH06350677A JP5133365A JP13336593A JPH06350677A JP H06350677 A JPH06350677 A JP H06350677A JP 5133365 A JP5133365 A JP 5133365A JP 13336593 A JP13336593 A JP 13336593A JP H06350677 A JPH06350677 A JP H06350677A
- Authority
- JP
- Japan
- Prior art keywords
- signal
- request signal
- interrupt request
- cpu
- switching 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.)
- Granted
Links
- 238000012544 monitoring process Methods 0.000 title claims description 13
- 238000005070 sampling Methods 0.000 claims abstract description 29
- 238000000034 method Methods 0.000 claims description 11
- 238000001514 detection method Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
Landscapes
- Computer And Data Communications (AREA)
- Detection And Prevention Of Errors In Transmission (AREA)
- Maintenance And Management Of Digital Transmission (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、切替え要求信号監視方
式に関し、特に通信装置間の伝送路の障害、あるいは装
置内パネルの障害によって発生する切替え要求信号の監
視を行う切替え要求信号監視方式に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a switching request signal monitoring system, and more particularly to a switching request signal monitoring system for monitoring a switching request signal generated due to a failure of a transmission line between communication devices or a failure of a panel in the device. .
【0002】[0002]
【従来の技術】従来の割込み要求型切替え要求信号監視
方式は、図2に示すように切替え要求信号Swを監視す
るCPU(プロセッサ)1と、CPU1からのアドレス
Adと読出し制御信号Reから切替え要求信号Swの状
態が格納されているレジスタの値をデータバスDa上に
出力することを許可する出力許可信号Enを出力する出
力許可制御部2と、出力許可制御部2からの出力許可信
号Enが入力されて割込み要求信号Inをリセットする
ためのリセット信号Rsを出力する割込み要求制御部3
と、N(N:正の整数)本の切替え要求信号Swの各々
をCPU1からのクロックClでサンプリングすること
によって各々の切替え要求信号Swの変化を検出し、割
込み要求信号Inと各々の切替え要求信号Swの状態を
レジスタへ書き込むためのレジスタ制御信号Stを出力
し、割込み要求制御部3からのリセット信号Rsが入力
されると割込み要求信号Inをリセットする変化点検出
部4と、変化点検出部4からのレジスタ制御信号Stに
よって各々の切替え要求信号の状態を格納し、出力許可
制御部2からの出力許可信号Enが入力されると各レジ
スタ値をデータバスDa上に出力するレジスタ部5とを
有している。2. Description of the Related Art In a conventional interrupt request type switching request signal monitoring system, as shown in FIG. 2, a CPU (processor) 1 for monitoring a switching request signal Sw, a switching request from an address Ad from the CPU 1 and a read control signal Re. The output permission control unit 2 for outputting the output permission signal En for permitting the value of the register storing the state of the signal Sw to be output onto the data bus Da, and the output permission signal En from the output permission control unit 2 An interrupt request control unit 3 that outputs a reset signal Rs that is input and resets the interrupt request signal In
And N (N: positive integer) switching request signals Sw are sampled by the clock Cl from the CPU 1 to detect changes in the switching request signals Sw, and the interrupt request signal In and the switching request signals are detected. A change point detection unit 4 that outputs a register control signal St for writing the state of the signal Sw to the register, and resets the interrupt request signal In when the reset signal Rs from the interrupt request control unit 3 is input; The register unit 5 stores the state of each switching request signal by the register control signal St from the unit 4, and outputs each register value to the data bus Da when the output enable signal En from the output permission control unit 2 is input. And have.
【0003】[0003]
【発明が解決しようとする課題】この従来の割込み要求
型切替え要求信号監視方式では、CPUから読出し制御
信号が出力され、データバス上のデータをCPUが取り
込んでから割込み要求信号がリセットされるまでの間に
切替え要求信号が変化した場合、この状態変化を割込み
要求信号でCPUに通知できない問題があった。According to this conventional interrupt request type switching request signal monitoring system, the CPU outputs a read control signal and the CPU takes in the data on the data bus until the interrupt request signal is reset. If the switching request signal changes during the period, there is a problem that the CPU cannot be notified of this state change by the interrupt request signal.
【0004】本発明の目的は、このような問題を解決し
た割込み要求型切替え要求信号監視方式を提供すること
にある。An object of the present invention is to provide an interrupt request type switching request signal monitoring system which solves such a problem.
【0005】[0005]
【課題を解決するための手段】本発明の割込み要求型切
替え要求信号監視方式は、割込み要求信号を入力してN
(N:正の整数)本の切替え要求信号を監視するCPU
と、このCPUからのアドレスと読出し制御信号を入力
してデータバス上への出力許可を与える出力許可信号を
出力する出力許可制御部と、この出力許可制御部からの
出力許可信号と前記CPUからのクロックを入力して前
記CPUのデータ読込み処理完了後前記割込み要求信号
をリセットするためのリセット信号を出力する割込み要
求制御部と、前記出力許可制御部からの出力許可信号と
前記CPUからのクロックを入力して前記CPUのデー
タ読込み処理から前記割込み要求信号リセット後まで前
記切替え要求信号のサンプリングを停止するサンプリン
グクロックを出力するサンプリング制御部と、前記切替
え要求信号と前記割込み要求制御部からのリセット信号
と前記サンプリング制御部からのサンプリングクロック
を入力して切替え要求信号の状態変化を前記CPUに通
知する前記割込み要求信号と各々の切替え要求信号状態
をレジスタに書き込むためのレジスタ制御信号を出力す
る変化点検出部と、この変化点検出部からのN本の切替
え要求信号に対するレジスタ制御信号と前記出力許可制
御部からの出力許可信号を入力してレジスタ値をデータ
バス上に出力するレジスタ部と、を備えることを特徴と
する。According to the interrupt request type switching request signal monitoring system of the present invention, an interrupt request signal is input and N is input.
(N: Positive integer) CPU that monitors the number of switching request signals
An output permission control unit for inputting an address and a read control signal from the CPU and outputting an output permission signal for permitting output on the data bus; and an output permission signal from the output permission control unit and the CPU. An interrupt request control unit for inputting the clock of the above and outputting a reset signal for resetting the interrupt request signal after the completion of the data reading process of the CPU, an output permission signal from the output permission control unit, and a clock from the CPU. A sampling control unit that outputs a sampling clock that stops sampling of the switching request signal from the data reading process of the CPU until the interrupt request signal is reset, and the switching request signal and the reset from the interrupt request control unit. Switching by inputting signal and sampling clock from the sampling control unit A change point detecting section for outputting the interrupt request signal for notifying the CPU of a change in the state of the request signal and a register control signal for writing each switching request signal state in the register, and N change point detecting sections from the change point detecting section. A register unit for inputting the register control signal for the switching request signal and the output permission signal from the output permission control unit and outputting the register value on the data bus is provided.
【0006】[0006]
【実施例】次に本発明の実施例について図面を参照して
説明する。Embodiments of the present invention will now be described with reference to the drawings.
【0007】図1は本発明の一実施例のブロック図であ
る。この割込み要求型切替え要求信号監視方式は、割込
み要求信号Inの入力によってN本の切替え要求信号S
wを監視するCPU(プロセッサ)1と、このCPU1
からのアドレスAdと読出し制御信号Reを入力してデ
ータバスDa上への出力許可を与える出力許可信号En
を出力する出力許可制御部2と、この出力許可制御部2
からの出力許可信号EnとCPU1からのクロックCl
を入力してCPU1のデータ読込み処理完了後に割込み
要求信号Inをリセットするためのリセット信号Rsを
出力する割込み要求制御部3と、出力許可制御部2から
の出力許可信号EnとCPU1からのクロックClを入
力してCPU1のデータ読込み処理から割込み要求信号
Inのリセット後まで切替え要求信号Swのサンプリン
グを停止するようなサンプリングクロックCsを出力す
るサンプリング制御部6と、N本の切替え要求信号Sw
と割込み要求制御部3からのリセット信号Rsとサンプ
リング制御部6からのサンプリングクロックCsを入力
して、切替え要求信号Swの状態変化をCPU1に通知
する割込み要求信号Inと各々の切替え要求信号Swの
状態をレジスタに書き込むためのレジスタ制御信号St
を出力する変化点検出部4と、変化点検出部4からのレ
ジスタ制御信号Stと出力許可制御部2からの出力許可
信号Enを入力してレジスタ値をデータバスDa上に出
力するレジスタ部5とから構成される。FIG. 1 is a block diagram of an embodiment of the present invention. In this interrupt request type switching request signal monitoring system, N switching request signals S are input by the input of the interrupt request signal In.
CPU (processor) 1 for monitoring w and this CPU 1
An output enable signal En for inputting the address Ad from the memory and the read control signal Re to give output permission to the data bus Da.
And the output permission control unit 2 for outputting
Output enable signal En from CPU and clock Cl from CPU 1
Is input to output the reset signal Rs for resetting the interrupt request signal In after the CPU 1 completes the data reading process, the output enable signal En from the output enable control unit 2 and the clock Cl from the CPU 1. Sampling control section 6 for outputting sampling clock Cs for stopping sampling of switching request signal Sw from the data reading process of CPU 1 to resetting of interrupt request signal In, and N switching request signals Sw.
The interrupt request signal In for notifying the CPU 1 of the state change of the switching request signal Sw by inputting the reset signal Rs from the interrupt request control unit 3 and the sampling clock Cs from the sampling control unit 6 and the respective switching request signals Sw. Register control signal St for writing the state to the register
And a register unit 5 for inputting the register control signal St from the change point detector 4 and the output permission signal En from the output permission control unit 2 and outputting the register value onto the data bus Da. Composed of and.
【0008】次に、本実施例の動作を説明する。Next, the operation of this embodiment will be described.
【0009】CPU1は割込み要求信号Inがアクティ
ブ状態になると、切替え要求信号Swの状態が格納され
ているレジスタに対応するアドレス値と読出し制御信号
Reを出力し、データバスDa上のデータを読込むこと
によって各々の切替え要求信号Swを監視する。割込み
要求信号Inのアクティブ状態の解除は、CPU1がデ
ータを完全に読込んだ後に割込み要求制御部3からリセ
ット信号Rsを出力することによって行われる。When the interrupt request signal In becomes active, the CPU 1 outputs the address value corresponding to the register storing the state of the switching request signal Sw and the read control signal Re to read the data on the data bus Da. Thus, each switching request signal Sw is monitored. The active state of the interrupt request signal In is released by the CPU 1 reading the data completely and then outputting the reset signal Rs from the interrupt request control unit 3.
【0010】サンプリング制御部6は、CPU1がレジ
スタ部5に対するデータ読出し処理を行っていない場合
は、クロックClをそのままサンプリングクロックCs
として出力し、CPU1がレジスタ部5に対してデータ
読出し処理を開始し、割込み要求信号Inがリセットさ
れるまではクロックClをマスクすることによってサン
プリングクロックCsの出力を停止する。When the CPU 1 is not performing the data reading process for the register unit 5, the sampling control unit 6 keeps the clock Cl as it is as the sampling clock Cs.
Then, the CPU 1 starts the data reading process with respect to the register unit 5 and masks the clock Cl until the interrupt request signal In is reset, thereby stopping the output of the sampling clock Cs.
【0011】変換点検出部4はサンプリングクロックC
sによって切替え要求信号の各々のエッジ検出を行い、
0から1への変化を検出するとレジスタ値を1に設定す
る、逆に、1から0への変化を検出するとレジスタ値を
0に設定するレジスタ制御信号Stを出力し、同時にど
ちらかの変化を検出すると割込み要求信号Inを出力す
る。The conversion point detector 4 uses the sampling clock C.
s detects each edge of the switching request signal,
When a change from 0 to 1 is detected, the register value is set to 1. Conversely, when a change from 1 to 0 is detected, a register control signal St for setting the register value to 0 is output, and at the same time, either change is made. When it is detected, the interrupt request signal In is output.
【0012】図2にサンプリングクロックCsが停止す
るタイミングの一例を示す。FIG. 2 shows an example of the timing at which the sampling clock Cs stops.
【0013】a点はCPU1がデータバスDa上のデー
タを取込むタイミングを示し、b点はサンプリングを再
開するタイミングを示し、c点は割込み要求信号Inが
リセットされるタイミングを示す。Point a shows the timing at which the CPU 1 takes in the data on the data bus Da, point b shows the timing at which sampling is restarted, and point c shows the timing at which the interrupt request signal In is reset.
【0014】a点からb点までの切替え要求信号Swの
状態変化はすべてb点においてサンプリングされ、c点
においてリセットされた割込み要求信号Inは再びb点
で出力される。All state changes of the switching request signal Sw from point a to point b are sampled at point b, and the interrupt request signal In reset at point c is output again at point b.
【0015】[0015]
【発明の効果】以上説明したように本発明は、CPUの
データ読込み処理から割込み要求信号のリセット後まで
切替え要求信号のサンプリングクロックを停止させるこ
とにより、CPUのデータ読込み処理から割込み要求信
号のリセット後までの切替え要求信号の状態変化は再び
割込み要求信号で通知できると効果を有する。As described above, according to the present invention, the sampling clock of the switching request signal is stopped from the data reading process of the CPU to the resetting of the interrupt request signal, thereby resetting the interrupt request signal from the data reading process of the CPU. It is effective that the state change of the switching request signal until later can be notified by the interrupt request signal again.
【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.
【図2】サンプリングクロックが停止するタイミングの
一例を示す図である。FIG. 2 is a diagram showing an example of a timing at which a sampling clock stops.
【図3】従来の割込み要求型切替え要求信号監視方式の
ブロック図である。FIG. 3 is a block diagram of a conventional interrupt request type switching request signal monitoring system.
1 CPU(プロセッサ) 2 出力許可制御部 3 割込み要求制御部 4 変化点検出部 5 レジスタ部 6 サンプリング制御部 Ad アドレス Re 読出し制御信号 Cl クロック En 出力許可信号 Rs リセット信号 Cs サンプリングクロック Sw 切替え要求信号 In 割込み要求信号 St レジスタ制御信号 Da データバス 1 CPU (processor) 2 Output permission control unit 3 Interrupt request control unit 4 Change point detection unit 5 Register unit 6 Sampling control unit Ad address Re Read control signal Cl clock En Output permission signal Rs Reset signal Cs Sampling clock Sw Switching request signal In Interrupt request signal St register control signal Da data bus
Claims (2)
数)本の切替え要求信号を監視するCPUと、 このCPUからのアドレスと読出し制御信号を入力して
データバス上への出力許可を与える出力許可信号を出力
する出力許可制御部と、 この出力許可制御部からの出力許可信号と前記CPUか
らのクロックを入力して前記CPUのデータ読込み処理
完了後前記割込み要求信号をリセットするためのリセッ
ト信号を出力する割込み要求制御部と、 前記出力許可制御部からの出力許可信号と前記CPUか
らのクロックを入力して前記CPUのデータ読込み処理
から前記割込み要求信号リセット後まで前記切替え要求
信号のサンプリングを停止するサンプリングクロックを
出力するサンプリング制御部と、 前記切替え要求信号と前記割込み要求制御部からのリセ
ット信号と前記サンプリング制御部からのサンプリング
クロックを入力して切替え要求信号の状態変化を前記C
PUに通知する前記割込み要求信号と各々の切替え要求
信号状態をレジスタに書き込むためのレジスタ制御信号
を出力する変化点検出部と、 この変化点検出部からのN本の切替え要求信号に対する
レジスタ制御信号と前記出力許可制御部からの出力許可
信号を入力してレジスタ値をデータバス上に出力するレ
ジスタ部と、 を備えることを特徴とする割込み要求型切替え要求信号
監視方式。1. A CPU for inputting an interrupt request signal to monitor N (N: positive integer) switching request signals, and an address and read control signal from this CPU for output on a data bus. An output permission control unit that outputs an output permission signal that gives permission, and an output permission signal from the output permission control unit and a clock from the CPU are input to reset the interrupt request signal after the data reading process of the CPU is completed. An interrupt request control unit for outputting a reset signal for inputting the output enable signal from the output enable control unit and a clock from the CPU, and the switching request from the data reading process of the CPU to after the interrupt request signal is reset. A sampling control unit that outputs a sampling clock that stops signal sampling; the switching request signal and the interrupt request The reset signal from the control unit and the sampling clock from the sampling control unit are input to change the state of the switching request signal by the C
A change point detecting section for outputting the interrupt request signal notified to the PU and a register control signal for writing each switching request signal state to a register, and a register control signal for N switching request signals from the change point detecting section And a register unit for inputting an output enable signal from the output enable control unit and outputting a register value on a data bus.
ックによって前記切替え要求信号の各々のエッジ検出を
行い、0から1への変化を検出するとレジスタ値を1に
設定する、逆に、1から0への変化を検出するとレジス
タ値を0に設定するレジスタ制御信号を出力し、同時に
どちらかの変化を検出すると割込み要求信号を出力する
ことを特徴とする請求項1記載の割込み要求型切替え要
求信号監視方式。2. The change point detection unit detects each edge of the switching request signal by the sampling clock, and when detecting a change from 0 to 1, sets a register value to 1, and vice versa. 2. The interrupt request type switching request signal according to claim 1, wherein a register control signal for setting the register value to 0 is output when the change to the interrupt request is detected, and an interrupt request signal is output when either change is detected at the same time. Monitoring method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5133365A JPH0831895B2 (en) | 1993-06-03 | 1993-06-03 | Interrupt request type switching request signal monitoring method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5133365A JPH0831895B2 (en) | 1993-06-03 | 1993-06-03 | Interrupt request type switching request signal monitoring method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH06350677A true JPH06350677A (en) | 1994-12-22 |
JPH0831895B2 JPH0831895B2 (en) | 1996-03-27 |
Family
ID=15103026
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP5133365A Expired - Lifetime JPH0831895B2 (en) | 1993-06-03 | 1993-06-03 | Interrupt request type switching request signal monitoring method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0831895B2 (en) |
-
1993
- 1993-06-03 JP JP5133365A patent/JPH0831895B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JPH0831895B2 (en) | 1996-03-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH06350677A (en) | Interrupt request type switching request signal monitoring system | |
JPH064301A (en) | Time division interrupt control method | |
JP2888654B2 (en) | Data input control method | |
JPS58107932A (en) | Common bus failure check system | |
JP2630077B2 (en) | Clock synchronous serial interface | |
JP2698431B2 (en) | Timeout detection device | |
JPH04106637A (en) | Stall detection circuit | |
JPS63155330A (en) | Microprogram controller | |
JP2870837B2 (en) | Arbitration circuit of central processing unit | |
JPH10340200A (en) | Information processor | |
JPS6037936B2 (en) | monitoring device | |
JPH07230432A (en) | Calculating device | |
JPH02297650A (en) | Receiver | |
JP2000267863A (en) | Interrupt control circuit | |
JPH03266110A (en) | Resetting device for computer | |
JPH1040217A (en) | Bus monitoring system | |
JPH04266147A (en) | Bus adaptor device | |
JPH0668015A (en) | Assign information holding circuit | |
JPH01251240A (en) | Runaway detecting system | |
JPH0713656A (en) | Information processing equipment | |
JP2006163597A (en) | Wait signal releasing circuit | |
JPH0234071B2 (en) | ||
JPH07111700B2 (en) | Down code collection circuit | |
JPS6311702B2 (en) | ||
JPH03270334A (en) | Receiving control device in start-stop synchronous communication |