JPH0678348A - Changing point detection circuit - Google Patents

Changing point detection circuit

Info

Publication number
JPH0678348A
JPH0678348A JP22546992A JP22546992A JPH0678348A JP H0678348 A JPH0678348 A JP H0678348A JP 22546992 A JP22546992 A JP 22546992A JP 22546992 A JP22546992 A JP 22546992A JP H0678348 A JPH0678348 A JP H0678348A
Authority
JP
Japan
Prior art keywords
priority
fifo
data
cpu
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP22546992A
Other languages
Japanese (ja)
Other versions
JP2906853B2 (en
Inventor
Masahiro Konno
真博 今野
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 JP22546992A priority Critical patent/JP2906853B2/en
Publication of JPH0678348A publication Critical patent/JPH0678348A/en
Application granted granted Critical
Publication of JP2906853B2 publication Critical patent/JP2906853B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Interface Circuits In Exchanges (AREA)
  • Use Of Switch Circuits For Exchanges And Methods Of Control Of Multiplex Exchanges (AREA)
  • Time-Division Multiplex Systems (AREA)

Abstract

PURPOSE:To relieve the load of a CPU and to improve the processing capability of the system by monitoring input of plural signals and writing an input terminal number subject to change and its changing direction to a FIFO in the order of priority. CONSTITUTION:Input signal data of n-set are replaced with a cross connect section 3 with priority controlled by a CM section 2. Data multiplexed by a multiplexer section 4 are outputted to a comparison detection section 6 in the order of priority via a replacement circuit 5. When a current value and a preceding value are dissident through the comparison, the result is written in a FIFO 9. Furthermore, the circuit 9 gives the preceding data to the FIFO. An output of a counter 7 is outputted to the FIFO via a table 8 according to the data set by the priority and only when a write signal from the detection section 6 comes, an output of the table 8 and the preceding value from the circuit 5 are written. Then a CPU 10 reads the FIFO to detect which input signal changes in what way according to the priority.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は変化点検出回路に関し、
特に入力される複数の信号に対して優先順位をもって変
化点を監視する変化点検出回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a change point detection circuit,
In particular, the present invention relates to a change point detection circuit that monitors change points with a priority for a plurality of input signals.

【0002】[0002]

【従来の技術】従来、この種の変化点検出回路は、入力
される複数の信号の全てに対して変化点の検出を行い、
変化点検出の結果全てをCPUで監視し優先順位に従っ
て処理を行っており、優先順位の変更もCPU内で行っ
て、これらを一定時間内で処理をしていた。
2. Description of the Related Art Conventionally, this kind of change point detection circuit detects a change point for all of a plurality of input signals,
All the results of change point detection are monitored by the CPU and processed according to the priority order. The priority order is also changed within the CPU and these are processed within a fixed time.

【0003】図2は従来の変化点検出回路の一例を示す
ブロック図である。入力端子11−1〜nの入力信号n
個全てに対し変化点検出回路の一例を示すブロック図で
ある。入力端子11−1〜nの入力信号n個全てに対し
変化点検出部12−1〜nを有し、変化点検出部12−
1〜nからの出力n個全てのCPU13で監視し、CP
U13で優先順位に従って処理を行っている。
FIG. 2 is a block diagram showing an example of a conventional change point detection circuit. Input signal n of the input terminals 11-1 to 11-n
It is a block diagram showing an example of a change point detection circuit for all the pieces. The change point detectors 12-1 to 12-n are provided for all n input signals from the input terminals 11-1 to 11-n.
Outputs from 1 to n are monitored by all n CPUs 13 and CP
In U13, processing is performed according to the priority order.

【0004】[0004]

【発明が解決しようとする課題】この従来の変化点検出
回路では、入力される信号の全てに対して変化点検出部
を有し、その全ての変化点検出部からの出力をCPUに
て監視し、入力信号の変更がある度に優先順位の変更と
優先順位に従って処理をCPUにて一定時間内に行って
いるため、変化点が増加した場合や一定時間の周期が短
い場合にはCPUの負担が多くなってしまい一定時間内
に信号の処理が行えないという問題点があった。
This conventional change point detection circuit has a change point detection section for all input signals, and the CPU monitors the outputs from all the change point detection sections. However, each time the input signal is changed, the priority order is changed and the processing is performed by the CPU within a fixed time. Therefore, when the change point increases or the cycle of the fixed time is short, the CPU There has been a problem that the load is increased and the signal cannot be processed within a fixed time.

【0005】[0005]

【課題を解決するための手段】本発明の変化点検出回路
は、入力される複数の信号を設定された優先順位に従っ
て入れ替えて出力する第1の手段と、この第1の手段か
らの信号を多重し多重信号として出力する第2の手段
と、この第2の手段からの信号を所定時間遅延させ遅延
多重信号として出力する第3の手段と、前記多重信号と
前記遅延多重信号とが不一致のとき書込信号を出力する
第4の手段と、前記優先順位に対応するカウント値を出
力する第5の手段と、前記カウント値をデータに従って
変換する第6の手段と、前記書込信号により、前記遅延
多重信号と前記カウント値とをFIFOメモリに記憶す
る第7の手段と、前記FIFOメモリから読み出した信
号の処理および前記優先順位の変更を行う第8の手段と
を有する。
SUMMARY OF THE INVENTION A change point detection circuit according to the present invention outputs first signals for exchanging a plurality of input signals in accordance with a set priority and outputting the signals from the first means. Second means for multiplexing and outputting as a multiplexed signal, third means for delaying the signal from the second means for a predetermined time and outputting as a delayed multiplexed signal, and the multiplexed signal and the delayed multiplexed signal do not match. When a fourth means for outputting a write signal, a fifth means for outputting a count value corresponding to the priority, a sixth means for converting the count value according to data, and a write signal are used. It has a seventh means for storing the delayed multiplexed signal and the count value in a FIFO memory, and an eighth means for processing the signal read from the FIFO memory and changing the priority order.

【0006】[0006]

【実施例】次に本発明について図面を参照して説明す
る。図1は本発明の一実施例のブロック図である。
The present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of an embodiment of the present invention.

【0007】本実施例は、n個の信号が入力されるn個
の入力端子1−1〜1−nと、優先順位によるCPU1
0から設定されたデータによりクロスコネクト部3を制
御するCM部2と、入力端子1−1〜1−nからの信号
をCM部2のデータをもとに優先順位に従って入れ替え
を行うクロスコネクト部3と、クロスコネクト部3から
入力される信号を多重化する多重部4と、多重部4から
の信号を遅延させる遅延回路5と、多重部4からの出力
値と遅延回路5からの出力値とを比較し不一致の場合に
FIFO9に対して書き込み信号を出力する比較検出部
6と、1〜nの値を出力するm段カウンタ7と、CPU
10から設定された優先順位によるデータをもちm段カ
ウンタ7からの値をデータに従って変換して出力するテ
ーブル8と、比較検出部6からの値によりテーブル8か
らの値と遅延回路5からの値とを記憶するFIFO9
と、FIFO9から読み取ったデータにより処理を行い
優先順位を変える際にはCM部2とテーブル8に書き込
む優先順位を変更するCPU10とを有して構成され
る。
In this embodiment, n input terminals 1-1 to 1-n to which n signals are input, and a CPU 1 according to a priority order.
The CM section 2 that controls the cross-connect section 3 by the data set from 0, and the cross-connect section that exchanges the signals from the input terminals 1-1 to 1-n according to the priority order based on the data of the CM section 2. 3, a multiplexer 4 that multiplexes the signal input from the cross-connect unit 3, a delay circuit 5 that delays the signal from the multiplexer 4, an output value from the multiplexer 4 and an output value from the delay circuit 5. And a comparison detection unit 6 that outputs a write signal to the FIFO 9 when they do not match, an m-stage counter 7 that outputs the values 1 to n, and a CPU
Table 8 which has data according to the priority order set from 10 and which converts and outputs the value from the m-stage counter 7 according to the data, and the value from the table 8 and the value from the delay circuit 5 according to the value from the comparison detection unit 6. FIFO9 that stores and
And a CPU 10 for changing the priority order when processing is performed by the data read from the FIFO 9 and the priority order is changed.

【0008】次に、本実施例の動作について説明する。
入力端子1−1〜1−nに入力されているn個の信号
は、CPU10により優先順位に従い設定されたCM部
2により制御されるクロスコネクト部3によって優先順
位に従ってデータの入れ替えが行われる。入れ替えが行
われたあとのデータは多重部4において多重化され優先
順位の順で比較検出部6に出力され、かつ遅延回路5を
介してから比較検出部6へ出力される。比較検出部6で
はそれぞれの入力端子からの信号に対する今回値と前回
値とが入力され入力信号に変化があったかどうか比較さ
れる。比較により不一致があった場合にはFIFOに対
して書き込み信号として出力される。遅延回路5はFI
FO9へも接続されデータの変化があった際の情報とし
て前回値のデータをFIFO9に渡している。またカウ
ンタ7では各入力端子1からnの比較時にその端子の番
号に対応する値をテーブル8に出力している。テーブル
8ではCPU10から優先順位により設定されたデータ
に従って、カウンタ7からの1〜nの出力を優先順位の
順番でFIFO9へ出力しており、比較検出部6からの
書き込み信号があった場合にだけテーブル8からの出力
値と遅延回路からの前回値が書き込まれる。そしてCP
U10がFIFO9を読出しにくいことによりどの入力
端子の信号がどう変化したかを優先順位に従って検出す
る。そしてCPU10では検出結果により処理を行い優
先順位を変えるときにはCM部2およびテーブル8に変
更した優先順位による設定を行い新たな優先順位をもっ
て変化点検出を行う。
Next, the operation of this embodiment will be described.
The n signals input to the input terminals 1-1 to 1-n are exchanged in data by the cross-connect unit 3 controlled by the CM unit 2 which is set by the CPU 10 according to the priority order. The data after the replacement is multiplexed in the multiplexing unit 4, is output to the comparison detection unit 6 in order of priority, and is output to the comparison detection unit 6 via the delay circuit 5. The comparison / detection unit 6 inputs the current value and the previous value for the signals from the respective input terminals, and compares whether or not there is a change in the input signals. If there is a mismatch as a result of comparison, it is output as a write signal to the FIFO. The delay circuit 5 is FI
The data of the previous value is passed to the FIFO 9 as information when the data is changed by being connected to the FO 9. Further, the counter 7 outputs the value corresponding to the terminal number to the table 8 when comparing the respective input terminals 1 to n. In the table 8, the outputs of 1 to n from the counter 7 are output to the FIFO 9 in the order of priority according to the data set by the CPU 10 according to the priority, and only when there is a write signal from the comparison detector 6. The output value from the table 8 and the previous value from the delay circuit are written. And CP
Since it is difficult for U10 to read the FIFO 9, it is detected which input terminal signal has changed according to the priority order. Then, the CPU 10 performs processing according to the detection result, and when changing the priority order, the CM section 2 and the table 8 are set according to the changed priority order and the change point is detected with the new priority order.

【0009】図3において、入力端子へのデータが〜
のように変化したとする。→の場合に入力端子
1,3,5のデータが0→1へと変化した端子番号と変
化の方向として前回の値が書き込まれる。そしてCPU
10から優先順位の高いFIFO9から順番に読み出す
ので優先順位の高い入力端子の変化点をいち早く知るこ
とができ、また書き込まれた値により変化点の変化の方
向を知ることができる。→の場合も同様に2→5→
1の順でFIFO9に書き込みCPU10から読み出さ
れる。このようにして入力データの状態遷移ごとにFI
FO9には優先順位にしたがって変化した端子と変化の
方向が書き込まれ、CPU10がFIFO9を読み出す
ことにより優先順位の順にデータの変化点を検出するこ
とができる。
In FIG. 3, the data to the input terminals are
It has changed like. In the case of →, the previous value is written as the terminal number in which the data of the input terminals 1, 3, 5 changed from 0 to 1 and the direction of the change. And CPU
Since the FIFO 9 having the highest priority is sequentially read from 10, the change point of the input terminal having the high priority can be known quickly, and the direction of change of the change point can be known from the written value. In case of →, similarly 2 → 5 →
The data is written in the FIFO 9 in the order of 1 and read from the CPU 10. In this way, the FI is set for each state transition of the input data.
The changed terminal and the direction of change are written in the FO 9, and the CPU 10 reads the FIFO 9 to detect the data change point in the order of the priority.

【0010】[0010]

【発明の効果】以上説明したように本発明は、複数信号
の入力に対して変化点を優先順位をもって監視し、変化
のあった入力端子のみ端子番号と変化の方向を優先順位
の順番でFIFOに書き込むことにより、CPUでは各
入力端子を監視しなくてもFIFOの値を読み込むこと
で、各入力端子の変化点と変化の方向を優先順位の高い
順に検出でき、また、CPUで行っていた優先順位の変
更と優先処理をCPUの外部でデータの入力部分で行う
ため優先順位が変更になるまでは一度設定を行えば済む
ため効率が向上し、またCPUの外部で優先順位の変更
及び優先処理を行うことが分散処理により、全体的なシ
ステムで見た場合の処理能力が向上するため、変化点が
増加した場合や処理を行うべき周期が短い場合にも処理
を可能にするという効果がある。
As described above, according to the present invention, the change points are monitored in priority order with respect to the input of a plurality of signals, and only the input terminals that have changed have the terminal number and the direction of change in the order of priority in the FIFO. By writing to the CPU, the CPU can detect the change point and the direction of change of each input terminal in descending order of priority by reading the value of the FIFO without monitoring each input terminal. Since priority change and priority processing are performed outside the CPU at the data input part, it is only necessary to make settings once until the priority is changed, improving efficiency. Also, changing and prioritizing the priority outside the CPU Since distributed processing improves the processing capacity of the overall system, processing can be performed even when the number of change points increases or the processing cycle is short. There is an effect.

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

【図1】本発明の変化点検出回路の一実施例のブロック
図である。
FIG. 1 is a block diagram of an embodiment of a change point detection circuit of the present invention.

【図2】従来の変化点検出回路の一例を示すブロック図
である。
FIG. 2 is a block diagram showing an example of a conventional change point detection circuit.

【図3】本実施例のFIFOへの書き込み動作を示す図
である。
FIG. 3 is a diagram showing a write operation to a FIFO of this embodiment.

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

1−1〜n 入力端子1,2…n 2 CM部 3 クロスコネクト部 4 多重部 5 遅延回路 6 比較検出部 7 m段カウンタ 8 テーブル 9 FIFO 10,13 CPU 11−1〜n 入力端子1,2…n 12−1〜n 変化点検出部1,2…n 1-1 to n input terminals 1, 2 ... 2 ... n 12-1 to n Change point detection units 1, 2 ... n

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 入力される複数の信号を設定された優先
順位に従って入れ替えて出力する第1の手段と、この第
1の手段からの信号を多重し多重信号として出力する第
2の手段と、この第2の手段からの信号を所定時間遅延
させ遅延多重信号として出力する第3の手段と、前記多
重信号と前記遅延多重信号とが不一致のとき書込信号を
出力する第4の手段と、前記優先順位に対応するカウン
ト値を出力する第5の手段と、前記カウント値をデータ
に従って変換する第6の手段と、前記書込信号により、
前記遅延多重信号と前記カウント値とをFIFOメモリ
に記憶する第7の手段と、前記FIFOメモリから読み
出した信号の処理および前記優先順位の変更を行う第8
の手段とを有することを特徴とする変化点検出回路。
1. A first means for exchanging a plurality of input signals in accordance with a set priority order and outputting the multiplexed signals, and a second means for multiplexing the signals from the first means and outputting the multiplexed signals. Third means for delaying the signal from the second means for a predetermined time and outputting it as a delayed multiplexed signal; and fourth means for outputting a write signal when the multiplexed signal and the delayed multiplexed signal do not match. The fifth means for outputting the count value corresponding to the priority, the sixth means for converting the count value according to the data, and the write signal
Seventh means for storing the delayed multiplexed signal and the count value in a FIFO memory, and eighth means for processing a signal read from the FIFO memory and changing the priority order.
And a change point detection circuit.
JP22546992A 1992-08-25 1992-08-25 Change point detection circuit Expired - Lifetime JP2906853B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22546992A JP2906853B2 (en) 1992-08-25 1992-08-25 Change point detection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22546992A JP2906853B2 (en) 1992-08-25 1992-08-25 Change point detection circuit

Publications (2)

Publication Number Publication Date
JPH0678348A true JPH0678348A (en) 1994-03-18
JP2906853B2 JP2906853B2 (en) 1999-06-21

Family

ID=16829810

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22546992A Expired - Lifetime JP2906853B2 (en) 1992-08-25 1992-08-25 Change point detection circuit

Country Status (1)

Country Link
JP (1) JP2906853B2 (en)

Also Published As

Publication number Publication date
JP2906853B2 (en) 1999-06-21

Similar Documents

Publication Publication Date Title
US6002561A (en) Arcing fault detection module
NL8502476A (en) METHOD FOR TESTING CARRIERS WITH MULTIPLE DIGITAL-ACTING INTEGRATED CIRCUITS, CARRYING WITH SUCH CIRCUITS, INTEGRATED CIRCUIT SUITABLE FOR APPLICATION TO SUCH CARRIER, AND TESTING DEVICE FOR TESTING SUCH.
US6510487B1 (en) Design architecture for a parallel and serial programming interface
JP2906853B2 (en) Change point detection circuit
US6255844B1 (en) Semiconductor testing apparatus
US20040190503A1 (en) Pipeline architecture for the design of a single-stage cross-connect system
HU188105B (en) Tester for groups of the input/output unit of a programable control
KR100200821B1 (en) A multiplexing circuit of interrupt signal
JPH05151488A (en) Change point detection circuit
US5821850A (en) Method and apparatus for comparing magnitude of data from a plurality of data sources
US20010039628A1 (en) Device for selecting normal circuit in communication system
KR0142357B1 (en) Multiple fault alarm processing device using group event flag
JP2697477B2 (en) Packet switch
US5247294A (en) Signal select control circuit and signal select circuit using the same
US6750670B2 (en) Integrated test circuit
JPH0198034A (en) Multiplex redundant system circuit
JPH0512052A (en) Internal fault detection system using pipe line
JPS59151371A (en) Semiconductor memory element
US6928089B1 (en) Pattern synchronous circuit
JPH0659656A (en) Screen saver by hardware
JPS61131136A (en) History accumulating system
US5774853A (en) Serial interface speech synthesizers
US7752517B2 (en) Test device and method for circuit device and manufacturing method for the same
JP2526516B2 (en) Fault monitoring method
KR970058105A (en) Redundant switching circuit

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19990302