JPH03257535A - Multi-signal interruption circuit system - Google Patents

Multi-signal interruption circuit system

Info

Publication number
JPH03257535A
JPH03257535A JP5696790A JP5696790A JPH03257535A JP H03257535 A JPH03257535 A JP H03257535A JP 5696790 A JP5696790 A JP 5696790A JP 5696790 A JP5696790 A JP 5696790A JP H03257535 A JPH03257535 A JP H03257535A
Authority
JP
Japan
Prior art keywords
signal
change
signals
cpu
circuit
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
JP5696790A
Other languages
Japanese (ja)
Inventor
Toshiya Tanabe
田邉 俊也
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP5696790A priority Critical patent/JPH03257535A/en
Publication of JPH03257535A publication Critical patent/JPH03257535A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily decide the occurring position of a CPU interruption by outputting the position of the change signal that causes the interruption to a parallel input port led to the CPU in the number numerical value in the conditions where 2 or more change signals never produces the interruptions at one time. CONSTITUTION:The (n) sets of signal changing point detection circuits 11 - 1n detect the changes of the input signals and output these changes to an OR circuit 30 and a change signal position output circuit 50 as the changing signals. The circuit 30 outputs the changing signals to a CPU 20 as the interruption requiring signals. Then an interruption requirement is produced to the CPU 20 in the case of the change of either one of (n) sets of input signals. Meanwhile the circuit 50 receives the changing signals and converts the positions of the origins of transmission into the integer number values including the numerical values(1-n) and then turns these numerical values into the digital binary codes to output the changing signal position code of log2n to a parallel input port 40. In such a constitution, the CPU 20 can directly read the positions of the changing signals out of the port 40 based on the number numerical values of the digital codes at the reception of an interruption requiring signal.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、複数の割り込み発生要因となる信号を入力と
し、同時に二つ以上の信号が割り込み要因とならないと
いう特性を持つ複数信号割り込み回路方式に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention provides a multi-signal interrupt circuit system that receives signals that cause multiple interrupts as input and has the characteristic that two or more signals do not simultaneously cause interrupts. Regarding.

〔従来の技術〕[Conventional technology]

従来、この種の複数信号割り込み回路方式は、複数の信
号の変化点で中央演算処理装置(以f& CPU)へ割
り込みを行う場合、入力信号の変化点を検出し論理和回
路を介してCPUへ割込要求信号を送信すると共に、変
化信号の検出は入力信号を直接入力するパラレル入力ポ
ートからの出力でcpuが処理していた。
Conventionally, this type of multi-signal interrupt circuit system detects the change point of input signals and sends an interrupt to the CPU via an OR circuit when interrupting the central processing unit (hereinafter referred to as f&CPU) at a change point of multiple signals. In addition to transmitting an interrupt request signal, the CPU processes the detection of a change signal using the output from a parallel input port that directly inputs an input signal.

第2図は従来の一例を示すブロック図である。FIG. 2 is a block diagram showing a conventional example.

第2図に示すように、n組の入力信号のそれぞれはパラ
レル入力ポート80に接続すると共に、n個の信号変化
点検出回路11〜1nのそれぞれにも接続する。信号変
化点検出回路11〜1nの出力は論理和回路30に接続
し、この論理和回路30は一つの割込要求信号をCPU
90へ出力する。パラレル入力ポート80はn組の入力
信号を直接受信し、CPU90は変化信号位置をパラレ
ル入力ポート80の変化位置を読んで判断していた。
As shown in FIG. 2, each of the n sets of input signals is connected to the parallel input port 80, and also connected to each of the n signal change point detection circuits 11 to 1n. The outputs of the signal change point detection circuits 11 to 1n are connected to an OR circuit 30, and this OR circuit 30 sends one interrupt request signal to the CPU.
Output to 90. The parallel input port 80 directly receives n sets of input signals, and the CPU 90 determines the change signal position by reading the change position of the parallel input port 80.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来の複数信号割り込み回路方式は、割り込み
要因となる信号をそのままパラレル入力ポートに入力し
ているため、割り込み要因となる信号nに比例してパラ
レル入力ポートの数が多くなり、回路規模が大きくなる
と共に、どの信号が変化して割り込み要因となっている
かをCPUの処理によって判定するため、CPUの処理
量が大きくなるという問題点があった。
In the conventional multi-signal interrupt circuit system described above, the signal that causes the interrupt is directly input to the parallel input port, so the number of parallel input ports increases in proportion to the signal n that causes the interrupt, and the circuit scale increases. As the number of signals increases, the amount of processing by the CPU increases because the CPU determines which signal has changed and caused an interrupt.

本発明の目的は、変化信号を位置信号に変換してパラレ
ル入力ポートに入力する変化信号位置出力回路を配備す
ることにより、上記問題点を解決した複数信号割り込み
回路を提供することにある。
An object of the present invention is to provide a multi-signal interrupt circuit that solves the above problems by providing a change signal position output circuit that converts a change signal into a position signal and inputs the position signal to a parallel input port.

〔課題を解法するための手段〕[Means for solving problems]

本発明による複数信号割り込み回路方式は、複数の割り
込み発生要因となる変化信号を入力とし同時には二つ以
上の変化信号が割り込み要因とならないような複数信号
による割り込みを要求する複数信号割り込み回路方式に
おいて、 n組の入力信号ごとに設け入力信号の変化点を検出して
変化信号を出力するn個の信号変化点検出回路と、 このn個の信号変化点検出回路の出力を入力して一つの
割込要求信号を出力する論理和回路と、前記変化信号を
受信したとき受信した変化信号の発信元の一つの信号変
化点検出回路の位置をrlog2n」の変化信号位置符
号として出力する変化信号位置出力回路とを有する。
The multi-signal interrupt circuit system according to the present invention is a multi-signal interrupt circuit system that inputs change signals that cause multiple interrupts and requests interrupts by multiple signals such that two or more change signals do not become interrupt causes at the same time. , n signal change point detection circuits are provided for each of n sets of input signals to detect the change points of the input signals and output change signals, and the outputs of these n signal change point detection circuits are inputted to form one signal change point detection circuit. a change signal position that outputs the position of an OR circuit that outputs an interrupt request signal and a signal change point detection circuit of one of the sources of the received change signal as a change signal position code of "rlog2n" when the change signal is received; It has an output circuit.

〔実施例〕〔Example〕

次に本発明について第1図を参照して説明する。 Next, the present invention will be explained with reference to FIG.

第1図は本発明の一実施例を示すブロック構成図である
FIG. 1 is a block diagram showing one embodiment of the present invention.

第1図において、既に説明した従来技術の第2図に示す
と同一の構成要素には同一番号符号を付与してその説明
は省略する。
In FIG. 1, the same components as shown in FIG. 2 of the prior art described above are given the same numbers and symbols, and the explanation thereof will be omitted.

第1図に示すように、本発明は、n組の入力信号を割り
込み要求として中央演算処理装220に入力させる割り
込み回路がn個の信号変化点検出回路11〜1n、これ
らの出力を入力とする論理和回路30および変化信号位
l出力回路50並びにパラレル入力ポート40を有する
As shown in FIG. 1, the present invention includes an interrupt circuit that inputs n sets of input signals as interrupt requests to the central processing unit 220, and n signal change point detection circuits 11 to 1n, and their outputs as inputs. It has an OR circuit 30, a change signal level output circuit 50, and a parallel input port 40.

従来同様、信号変化点検出回路11〜1nの出力を入力
とする論理和回路30は割込要求信号をCPU20へ出
力する。
As in the prior art, the OR circuit 30 which receives the outputs of the signal change point detection circuits 11 to 1n outputs an interrupt request signal to the CPU 20.

変化信号位置出力回路50は、信号変化点検出回路11
〜1nから一つの変化信号を受信したとき、受信した変
化信号の発信元位置をディジタル符号化による番号数値
化し、n組の位置に対してrlog2n」個の出力線を
パラレル入力ポート40に変化信号位置符号として接続
する。従って、CPU20はパラレル入力ポート40か
ら変化信号値Iをディジタル符号で直接読み取ることが
できる。
The change signal position output circuit 50 is connected to the signal change point detection circuit 11.
When one change signal is received from ~1n, the source position of the received change signal is converted into a numerical value by digital encoding, and the change signal is sent to the parallel input port 40 by rlog2n'' output lines for n sets of positions. Connect as a position code. Therefore, the CPU 20 can directly read the changing signal value I from the parallel input port 40 in digital code.

次に動作について、第1図を参照して説明する。n組の
信号変化点検出回路11〜inは入力信号の変化を検出
し論理和回路30および変化信号位置出力回路50へ変
化信号として出力する。
Next, the operation will be explained with reference to FIG. The n sets of signal change point detection circuits 11 to in detect changes in the input signals and output them to the OR circuit 30 and the change signal position output circuit 50 as change signals.

論理和回路30は変化信号を割込要求信号としてCPU
20へ出力する。従って、n組の入力信号の何れか一つ
の信号が変化したときCPU20への割込要求が発生す
る。
The OR circuit 30 outputs the change signal to the CPU as an interrupt request signal.
Output to 20. Therefore, when any one of the n sets of input signals changes, an interrupt request to the CPU 20 is generated.

一方、変化信号位置出力回路50は変化信号を受信した
とき受信した変化信号の発信元位置を数値1〜nまでの
整数番号値に変換し、ディジタル2進符号化し、’1o
g2n、1数による変化信号位置符号をパラレル入カポ
−)−40へ出力する。
On the other hand, when the change signal position output circuit 50 receives the change signal, it converts the source position of the received change signal into an integer number value from 1 to n, encodes it in digital binary, and converts it into a '1o
g2n, outputs the change signal position code by the number 1 to the parallel input capo-40.

従って、CPU20は割込要求信号を受信したときパラ
レル入力ポート40からディジタル符号の番号数値によ
り変化信号の位置を直接読み取ることができる。
Therefore, when the CPU 20 receives the interrupt request signal, it can directly read the position of the change signal from the parallel input port 40 based on the numerical value of the digital code.

〔発明の効果〕 以上説明したように本発明は、割り込み要因となる変化
信号が複数ある場合、2つ以上の変化信号が同時に割り
込み要因とならないという条件のもとに、割り込み発生
の要因となって変化信号の位置を番号数値でCPUへの
パラレル入力ポートに出力することにより、パラレル入
力ボート数を減らすことのできる効果と、CPUの割り
込み発生の位置の判定が容易にできる効果とがある。
[Effects of the Invention] As explained above, in the case where there are a plurality of change signals that can cause an interrupt, the present invention can prevent two or more change signals from becoming a cause of an interrupt, provided that two or more change signals do not become a cause of an interrupt at the same time. By outputting the position of the change signal as a numerical value to the parallel input port to the CPU, the number of parallel input ports can be reduced, and the position of the CPU interrupt occurrence can be easily determined.

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

第1図は本発明の複数信号割り込み回路方式の一実施例
を示すブロック構成図、第2図は従来の一例を示すブロ
ック構成図である。 11、〜1n・・・信号変化点検出回路、20・・・中
央演算処理装置(CPU)= 30・・・論理和回路、
40・・・パラレル入力ポート、50・・・変化信号値
I出力回路。
FIG. 1 is a block diagram showing an embodiment of the multiple signal interrupt circuit system of the present invention, and FIG. 2 is a block diagram showing a conventional example. 11, ~1n... Signal change point detection circuit, 20... Central processing unit (CPU) = 30... OR circuit,
40...Parallel input port, 50...Change signal value I output circuit.

Claims (1)

【特許請求の範囲】 複数の割り込み発生要因となる変化信号を入力とし同時
には二つ以上の変化信号が割り込み要因とならないよう
な複数信号による割り込みを要求する複数信号割り込み
回路方式において、 n組の入力信号ごとに設け入力信号の変化点を検出して
変化信号を出力するn個の信号変化点検出回路と、 このn個の信号変化点検出回路の出力を入力して一つの
割込要求信号を出力する論理和回路と、前記変化信号を
受信したとき受信した変化信号の発信元の一つの信号変
化点検出回路の位置を「log_2n」の変化信号位置
符号として出力する変化信号位置出力回路とを有する ことを特徴とする複数信号割り込み回路方式。
[Claims] In a multiple signal interrupt circuit system that inputs change signals that cause multiple interrupts and requests interrupts by multiple signals such that two or more change signals do not simultaneously cause interrupts, n sets of interrupts are provided. n signal change point detection circuits are provided for each input signal to detect the change point of the input signal and output a change signal, and one interrupt request signal is generated by inputting the outputs of the n signal change point detection circuits. and a change signal position output circuit that outputs the position of one signal change point detection circuit that is the source of the received change signal as a change signal position code of "log_2n" when the change signal is received. A multi-signal interrupt circuit system characterized by having:
JP5696790A 1990-03-07 1990-03-07 Multi-signal interruption circuit system Pending JPH03257535A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5696790A JPH03257535A (en) 1990-03-07 1990-03-07 Multi-signal interruption circuit system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5696790A JPH03257535A (en) 1990-03-07 1990-03-07 Multi-signal interruption circuit system

Publications (1)

Publication Number Publication Date
JPH03257535A true JPH03257535A (en) 1991-11-18

Family

ID=13042298

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5696790A Pending JPH03257535A (en) 1990-03-07 1990-03-07 Multi-signal interruption circuit system

Country Status (1)

Country Link
JP (1) JPH03257535A (en)

Similar Documents

Publication Publication Date Title
US20020129074A1 (en) Modulo remainder generator
JPH03257535A (en) Multi-signal interruption circuit system
CA2048939C (en) Zero-sync-time apparatus for encoding and decoding
US7154418B2 (en) Apparatus and method for encoding digital data
JPS61153739A (en) Interrupting circuit of microprocessor
US7484148B2 (en) Interface error monitor system and method
JP2864611B2 (en) Semiconductor memory
JPH04209020A (en) Microcomputer
AU745572B2 (en) Multi-Level random access priority encoder
KR940008602Y1 (en) Simultaneous Position Conversion Circuit of Digital Exchange
JPH03159421A (en) Optimum error correction encoding selection system in data transmission system
KR100226021B1 (en) A code transition circuit with parity checking function
JP2759607B2 (en) Synchronous signal detection device
JPH08307405A (en) Frame synchronism detection device
SU920728A1 (en) Variable priority device
JPS5678295A (en) Digital signal reception system
GB2171544A (en) Switch reading circuit
SU1221657A2 (en) Information input device
JP3203751B2 (en) Error counting device
JPH03160821A (en) Conversion circuit to b8zs pattern
JPH03266523A (en) Code conversion circuit
JPH02280256A (en) Detecting system for connecting position
JPH02149153A (en) Multi-code detecting circuit
JPH0944281A (en) Multiplex input device for digital input signal
JPS62256159A (en) microprocessor