JPH0453327B2 - - Google Patents

Info

Publication number
JPH0453327B2
JPH0453327B2 JP61015532A JP1553286A JPH0453327B2 JP H0453327 B2 JPH0453327 B2 JP H0453327B2 JP 61015532 A JP61015532 A JP 61015532A JP 1553286 A JP1553286 A JP 1553286A JP H0453327 B2 JPH0453327 B2 JP H0453327B2
Authority
JP
Japan
Prior art keywords
value
circuit
parity
counter
output
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.)
Expired - Lifetime
Application number
JP61015532A
Other languages
Japanese (ja)
Other versions
JPS62173818A (en
Inventor
Hiroshi Yuzawa
Hisashi Morikawa
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 JP1553286A priority Critical patent/JPS62173818A/en
Publication of JPS62173818A publication Critical patent/JPS62173818A/en
Publication of JPH0453327B2 publication Critical patent/JPH0453327B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔概要〕 カウンタ回路のシーケンス動作チエツク回路で
あつて、プラオリテイエンコーダ回路からカウン
タ回路の“0”値が存在する最下位の桁位置を検
出して検出位置に応じて決まる値を出力し、該値
と予測パリテイ値出力回路から出力されていた予
測パリテイ値を反転した値との排他的論理和を次
の予測パリテイ値として出力し、この出力された
予測パリテイ値を前記カウンタ回路のカウンタ値
に付加して該カウンタ値のパリテイチエツクをパ
リテイチエツカ回路で行なつてカウンタ回路のシ
ーケンス動作のチエツクを行なう。
[Detailed Description of the Invention] [Summary] This is a sequence operation check circuit for a counter circuit, which detects the lowest digit position where the “0” value of the counter circuit exists from a priority encoder circuit, and detects the lowest digit position where the “0” value exists in the counter circuit, and The determined value is output, and the exclusive OR of this value and the inverted value of the predicted parity value output from the predicted parity value output circuit is output as the next predicted parity value, and this output predicted parity value is The parity checker circuit performs a parity check of the counter value by adding it to the counter value of the counter circuit, thereby checking the sequence operation of the counter circuit.

〔産業上の利用分野〕[Industrial application field]

本発明は、カウンタ回路のシーケンス動作チエ
ツク回路に関し、特に、ある規則性の基に順次変
化する状態が正しく生じているか否はを確認する
カウンタ回路のシーケンス動作チエツク回路に関
するものである。
The present invention relates to a sequence operation check circuit for a counter circuit, and more particularly to a sequence operation check circuit for a counter circuit that confirms whether states that change sequentially based on a certain regularity are occurring correctly.

例えば、デイジタルデータ通信の分野では、複
数の区分けされたデイジタルデータタ(フレー
ム)のそれぞれを対応する各別の時間隔に載せて
送受するようにしている。そのときの各時間隔は
個別に定められたものであり、“タイムスロツト”
として作り出されるようになつている。
For example, in the field of digital data communications, a plurality of divided digital data (frames) are transmitted and received at corresponding time intervals. Each time interval at that time is determined individually and is called a “time slot”.
It is beginning to be produced as a.

〔従来の技術〕 従来、そのように定義されるタイムスロツト
は、例えばカウンタ(フレームカウンタ)でクロ
ツクパルスを計数し、そのカウンタの計数状態に
応じて定まる時間隔によつて形成していた。カウ
ンタはクロツクの入力毎にその規則性に従つてそ
の計数状態が順次変化するものであり、かような
順次変化状態に基づく時間長はクロツク時間隔の
整数倍である。
[Prior Art] Conventionally, a time slot defined as such has been formed by counting clock pulses with a counter (frame counter), for example, and using a time interval determined according to the counting state of the counter. The counting state of the counter changes sequentially in accordance with the regularity of each clock input, and the time length based on such sequentially changing states is an integral multiple of the clock time interval.

そのようにして作られるタイムスロツトに従つ
て各デイジタルデータ列を伝送回線にて搬送して
いる。このようにして、搬送されるデイジタルデ
ータ列を搬送するタイムスロツトは決まるので、
送信側および受信側でタイムスロツト(フレー
ム)の同期を正確にとることにより多重化伝送が
可能となる。
Each digital data string is conveyed via a transmission line according to the time slots created in this manner. In this way, the time slot for conveying the digital data string to be conveyed is determined.
Multiplex transmission is possible by accurately synchronizing time slots (frames) on the transmitting and receiving sides.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

ところで、定義されるタイムスロツトと当該タ
イムスロツトに対応されるデータ列とが“整合”
しなければデイジタルデータ通信は適正に行なわ
れなくなる。その場合、特にタイムスロツトの長
さ(時間長)が正しく形成されなければ、そのタ
イムスロツトにて載せられるべきデータ列が正し
く載らなくなるといつた事態が生じてしまう。
By the way, if the defined time slot and the data string corresponding to the time slot are "consistent"
Otherwise, digital data communication will not be performed properly. In that case, especially if the length (time length) of the time slot is not formed correctly, a situation may arise in which the data string that should be loaded in that time slot is not loaded correctly.

しかしながら、従来タイムスロツトを形成する
カウンタの計数動作(規則的順次変化状態の変化
動作)が正しく行なわれているか否かを監視する
手段が講じられていなかつた。そのため、カウン
タが何らかの原因で正しく動作していなければ正
確なタイムスロツトが定義されないこととなり、
正しいデイジタルデータ適信が行なわれなくな
る。このようにカウンタの動作に障害を来たすこ
とになるとデイジタルデータ通信を為すシステム
全体としての障害となつてしまうといつた問題点
があつた。
However, conventionally, no means has been taken to monitor whether or not the counting operation (regular and sequential changing state changing operation) of the counter forming the time slot is being performed correctly. Therefore, if the counter is not working properly for some reason, the accurate time slot will not be defined.
Correct digital data transmission will not be performed. There is a problem in that if the operation of the counter is disturbed in this way, the entire digital data communication system is affected.

本発明は、このような点に鑑みて創作されたも
のであり、規則性のある順次変化状態が正しく動
作変化しているか否かを監視できるようにしたカ
ウンタ回路のシーケンス動作チエツク回路を提供
することを目的としている。
The present invention has been created in view of the above points, and provides a sequence operation check circuit for a counter circuit that can monitor whether or not regular and sequentially changing states are changing correctly. The purpose is to

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明のカウンタ回路のシーケンスチ
エツク回路の原理ブロツク図である。
FIG. 1 is a principle block diagram of a sequence check circuit of a counter circuit according to the present invention.

図において、カウンタ回路115は、クロツク
信号111に応答して各クロツク信号毎に、カウ
ンタ値113を順次に出力する。
In the figure, a counter circuit 115 responds to a clock signal 111 and sequentially outputs a counter value 113 for each clock signal.

プラオリテイエンコーダ回路117は、前記カ
ウンタ回路から出力されるカウンタ値の“0”値
が存在する最下位の桁位置を検出して検出位置に
応じて決まる値A0119を出力する。
The priority encoder circuit 117 detects the lowest digit position where the "0" value of the counter value outputted from the counter circuit exists, and outputs a value A 0 119 determined according to the detected position.

予測パリテイ値出力回路114は、クロツク信
号111、プラオリテイエンコーダ回路117の
出力値A0119、及び予測パリテイ値出力回路
から出力されていた予測パリテイ値を反転した値
116との排他的論理和を次の予測パリテイ値1
27として出力する。
The predicted parity value output circuit 114 performs an exclusive OR with the clock signal 111, the output value A 0 119 of the priority encoder circuit 117, and the inverted value 116 of the predicted parity value output from the predicted parity value output circuit. Next predicted parity value 1
Output as 27.

パリテイチエツカ回路129は、前記予測パリ
テイ値出力回路114からの予測パリテイ値を前
記カウンタ回路115からのカウンタ値に付加し
た値全体についてのパリテイチエツクを行なう。
The parity checker circuit 129 performs a parity check on the entire value obtained by adding the predicted parity value from the predicted parity value output circuit 114 to the counter value from the counter circuit 115.

これらの構成により、カウンタ回路のシーケン
ス動作をチエツクすることができる。
With these configurations, it is possible to check the sequence operation of the counter circuit.

〔作用〕[Effect]

クロツク信号111に応答して順次に出力され
て来るカウンタ回路115のカウンタ値は、プラ
オリテイエンコーダ回路117によつて、前記カ
ウンタ回路から出入されているカウンタ値の
“0”値が存在する最下位の桁位置を検出して検
出位置に応じて決まる値A0119を出力する。
The counter values of the counter circuit 115 that are sequentially output in response to the clock signal 111 are determined by the priority encoder circuit 117 to be the lowest value in which the "0" value of the counter values input and output from the counter circuit exists. Detects the digit position of and outputs a value A 0 119 determined according to the detected position.

この値A0119は、クロツク信号111の供
給を受けている予測パリテイ値出力回路114へ
入力され、該予測パリテイ値出力回路114にお
いて自身から出力されていた予測パリテイ値を反
転した値との排他的論理和を次の予測パリテイ値
として出力すする。
This value A 0 119 is input to the predicted parity value output circuit 114 which is supplied with the clock signal 111, and is excluded from the value obtained by inverting the predicted parity value output from itself in the predicted parity value output circuit 114. The logical OR is output as the next predicted parity value.

前記予測パリテイ値出力回路114からの予測
パリテイ値と、前記カウンタ回路115からのカ
ウンタ値とに応答してそれら全体についてのパリ
テイチエツクをパリテイチエツカ回路129で行
なうことで、前記カウンタ回路115から出力さ
れたカウンタ値のチエツクを行なうことができ
る。
In response to the predicted parity value from the predicted parity value output circuit 114 and the counter value from the counter circuit 115, a parity checker circuit 129 performs a parity check on the entirety of the predicted parity value, so that the output from the counter circuit 115 is The counter value can be checked.

〔実施例〕〔Example〕

第2図は本発明の一実施例を示す。ここでは、
本発明をTDM多重方式により通信を行なうシス
テムに適用されるものとして、そのタイムスロツ
トアドレス発生用としてのシーケンス回路での動
作を監視する装置を例として述べる。
FIG. 2 shows an embodiment of the invention. here,
Assuming that the present invention is applied to a system that performs communication using the TDM multiplexing method, a device for monitoring the operation of a sequence circuit for generating time slot addresses will be described as an example.

図において、規則性順次動作装置としてのフレ
ームカウンタ211がタイムスロツトアドレス発
生用としてのシーケンス回路であり、タイムスロ
ツトTSクロツク信号213がそのクロツク入力
端子CLに導入されている。このフレームカウン
タ211の出力端子OUTからは、その計数状態
であるTSアドレスを表す複数ビツト(例えば4
ビツト)の出力信号215が発生される。
In the figure, a frame counter 211 as a regular sequential operating device is a sequence circuit for generating time slot addresses, and a time slot TS clock signal 213 is introduced into its clock input terminal CL. From the output terminal OUT of this frame counter 211, multiple bits (for example, 4
An output signal 215 (bit) is generated.

出力信号215はプライオリテイエンコーダ2
17の入力端子PEiに下位ビツトが上位ビツト端
子に入力するごとくして供給され、その最下位ビ
ツトの出力端子A0からは1ビツトの符号出力信
号219が排他的論理和ゲート221に供給され
る。このゲート221の出力信号223はD形フ
リツプフロツプ225のD入力端に供給され、当
該D形フリツプフロツプ225の出力信号は排
他的論理和ゲート221に帰還されるようになつ
ている。このプライオリテイエンコーダ217と
D形フリツプフロツプ225により予測手段を構
成している。
Output signal 215 is priority encoder 2
The lower bit is supplied to the 17 input terminal PEi as if it were input to the upper bit terminal, and the 1-bit sign output signal 219 is supplied from the output terminal A0 of the least significant bit to the exclusive OR gate 221. . The output signal 223 of this gate 221 is supplied to the D input terminal of a D-type flip-flop 225, and the output signal of the D-type flip-flop 225 is fed back to the exclusive OR gate 221. The priority encoder 217 and the D-type flip-flop 225 constitute a prediction means.

また、TSクロツク信号213がD形フリツプ
フロツプ225のクロツク入力端子CLに導入さ
れ、そのQ出力信号227はパリテイチエツカ2
29の第1入力端子PC1に供給される。更に、フ
レームカウンタ211の出力信号215がパリテ
イチエツカ229の第2入力端子PC2に導入され
る。
Also, the TS clock signal 213 is introduced into the clock input terminal CL of the D-type flip-flop 225, and its Q output signal 227 is applied to the parity checker 2.
29 is supplied to the first input terminal PC1 . Furthermore, the output signal 215 of the frame counter 211 is introduced into the second input terminal PC 2 of the parity checker 229.

パリテイチエツカ229の出力端子PC0からの
パリテイ出力信号231がR−GSフリツプフロ
ツプ233のセツト入力端子Sに、また、外部か
らのリセツト信号235がリセツト入力端子Rに
それぞれ供給されるようになつている。このフリ
ツプフロツプ233のQ出力信号237が確認信
号となつて発生される。このパリテイチエツカ2
29とフリツプフロツプ233には検査手段を構
成している。
A parity output signal 231 from the output terminal PC0 of the parity checker 229 is supplied to the set input terminal S of the R-GS flip-flop 233, and a reset signal 235 from the outside is supplied to the reset input terminal R. The Q output signal 237 of this flip-flop 233 is generated as a confirmation signal. This paritei chietsuka 2
29 and flip-flop 233 constitute testing means.

次に、上述構成の動作を以下に説明する。 Next, the operation of the above configuration will be explained below.

本実施例にあつては、フレームカウンタ211
の計数状態に次のような規則性があり、その規則
性に基づいて所定時間後(つまりフレームカウン
タ211では次のクロツク時点)でのパリテイを
予測している。
In this embodiment, the frame counter 211
There is the following regularity in the counting state, and based on this regularity, the parity after a predetermined time (that is, at the next clock time in the frame counter 211) is predicted.

この場合の規則性を第3図に従つて説明する。 The regularity in this case will be explained with reference to FIG.

いま、フレームカウンタ211を4ビツトb0
b3のカウンタとすると、計数情報(0〜F)と、
それら4ビツトの計数状態とは第3図の左半分に
示す対応関係となる。但し、ビツトb0が最下位ビ
ツトである。また、各計数状態に対するプライオ
リテイエンコーダ217の値は、3ビツトA0
A2として同図の左から第3欄に示す如くである。
Now, set the frame counter 211 to 4 bits b 0 ~
b If it is a 3 counter, count information (0 to F),
The counting states of these 4 bits have a corresponding relationship shown in the left half of FIG. However, bit b0 is the least significant bit. Furthermore, the value of the priority encoder 217 for each counting state is 3 bits A 0 to
A 2 is shown in the third column from the left in the figure.

ところで、図からも明らかな如く、プライオリ
テイエンコード217の最下位ビツトA0の値
(論理状態)は、フレームカウンタ211の4ビ
ツトb0〜b3にあつて“0”をとる最も下位の桁か
らみて、その桁よりも下位のビツト数が「奇数」
の場合は“1”、「偶数」の場合には“0”となる
関係にある。
By the way, as is clear from the figure, the value (logical state) of the least significant bit A 0 of the priority encode 217 is the lowest digit of the 4 bits b 0 to b 3 of the frame counter 211 that is "0". The number of bits lower than that digit is an "odd number"
In the case of , it is "1", and in the case of "even number", it is "0".

このような規則性を基にして、プライオリテイ
エンコーダ217の最下位ビツトA0のみを出力
しておき、前のクロツクにてセツトあるいはリセ
ツト状態が規制されてその状態を保持しているD
形フリツプフロツプ225の出力と排他的論理
和がとらられる。その排他的論理和をとつた論理
状態(信号223で表される)の“0”,“1”に
従いTSクロツク信号213のクロツクパルスに
応動して、D形フリツプフロロツプ225は、
“0”“1”の状態保持を続行する。このようにD
形フリツプ225の出力信号が排他的論理和ゲ
ート221に帰還されていることに因り、当該フ
リツプフロツプ225のQ出力信号227の論理
状態がTSクロツク信号に対して移り変わる態様
は第3図の最右欄に示すようになる。
Based on this regularity, only the lowest bit A0 of the priority encoder 217 is output, and the set or reset state is regulated by the previous clock and D is kept in that state.
The output of flip-flop 225 is exclusive-ORed with the output of flip-flop 225. In response to the clock pulse of the TS clock signal 213, the D-type flip-flop 225 performs the
Continues to maintain the state of “0” and “1”. Like this D
Since the output signal of the flip-flop 225 is fed back to the exclusive OR gate 221, the manner in which the logic state of the Q output signal 227 of the flip-flop 225 changes with respect to the TS clock signal is shown in the rightmost column of FIG. It becomes as shown in .

上述したように、プライオリテイエンコーダ2
17の出力に基づいて排他的論理和ゲート221
およびD形フリツプフロツプ225によつて生成
された次回パリテイ(信号227の論理状態)が
次段のパリテイチエツカ229に与えられる。
As mentioned above, priority encoder 2
Exclusive OR gate 221 based on the output of 17
The next parity (logic state of signal 227) generated by D-type flip-flop 225 is applied to parity checker 229 at the next stage.

つまり、この関係図からも判るとおり、フレー
ムカウンタ211の4ビツトb0〜b3でビツトの立
つていない最下位桁から更に下位桁のビツト数が
奇数の場合(プライオリテイエンコーダ217の
最下位ビツトA0が“1”)には次の計数状態(出
力信号215で表される)でのパリテイ(予測パ
リテイ)は何ら変化しないが、偶数の場合(A0
=“0”)には次の計数状態での(予測)パリテイ
は反転する。
In other words, as can be seen from this relationship diagram, if the number of bits from the least significant digit where no bit is set in the 4 bits b 0 to b 3 of the frame counter 211 is an odd number (the least significant bit of the priority encoder 217 When A 0 is “1”), the parity (predicted parity) at the next counting state (represented by the output signal 215) does not change at all; however, in the case of an even number (A 0
="0"), the (predicted) parity in the next counting state is reversed.

パリテイチエツカ229にはまた、フレームカ
ウンタ211の出力信号215が供給されてお
り、その第2入力端子PC2側では4ビツト信号の
うちビツトが立つている(‘1”)ビツト数が偶
数の場合(含む零)には“1”、奇数の場合には
“0”とそれぞれなるようなパリテイを規定する
ものである。
The parity checker 229 is also supplied with the output signal 215 of the frame counter 211, and on its second input terminal PC2 side, if the number of bits that are set ('1') among the 4-bit signal is an even number ( Parity is defined such that parity is "1" for zeros (including zero) and "0" for odd numbers.

いま、例えばクロツク信号213に応じてフレ
ームカウンタ211の計数情報が「「1」(“1000)
から「2」(0100)へと還移したものとする。
Now, for example, in response to the clock signal 213, the count information of the frame counter 211 is "1"("1000").
It is assumed that the value has been transferred from ``2'' (0100) to ``2'' (0100).

すると、D形フリツプフロツプ225から与え
られる「予測パリテイ」は“0”である。また、
計数情報「2」を表す4ビツトb0〜b3は“0100”
であるから、パリテイチエツカ229での第2入
力端子PC2側での規定パリテイは“0”である。
従つて、第1入力端子PC1に与えられていた予測
パリテイも“0”であるから、両パリテイが一致
するという所望の関係が成立するので、パリテイ
チエツカ229からは論理状態“0”をとる出力
信号231を発生する。
Then, the "predicted parity" given from the D-type flip-flop 225 is "0". Also,
4 bits b0 to b3 representing count information “2” are “0100”
Therefore, the specified parity on the second input terminal PC2 side of the parity checker 229 is "0".
Therefore, since the predicted parity given to the first input terminal PC 1 is also "0", the desired relationship that the two parities match is established, so the output from the parity checker 229 takes the logic state "0". A signal 231 is generated.

続いて、計数続行によりフレームカウンタ21
1の計数情報が「2」(0100)から「3」(1100)
へと移行したものとする。すると、予測パリテイ
は“1”となる。これに対して、出力信号215
での4ビツトb0〜b3は“1100”であるから“1”
のビツト数が2であり、パリテイエツカ229で
の第2入力端子PC2側での規定パリテイは“1”
である。従つて、パリテイチエツカ229の出力
状態は“0”のままである。
Subsequently, by continuing counting, the frame counter 21
Count information of 1 is from "2" (0100) to "3" (1100)
It is assumed that the transition to Then, the predicted parity becomes "1". In contrast, the output signal 215
The 4 bits b0 to b3 are “1100”, so they are “1”.
The number of bits is 2, and the specified parity at the second input terminal PC 2 side of the parity checker 229 is “1”.
It is. Therefore, the output state of parity checker 229 remains "0".

その他、フレームカウンタ211がクロツク信
号213に応動して、第3図に示す如く、それの
規則性に従つて正しく計数を行なう限り、パリテ
イチエツカ229の出力状態が“0”以外となる
ことはなない。そのため、当初リセツト信号23
5によつてリセツトされていたR−Sフリツプフ
ロツプ233はそのリセツト状態を保持し続け
る。従つて、R−Sフリツプフロツプ233のQ
出力信号237の“0”論理状態が維持されて、
「アラーム信号」は発生されず、フレームカウン
タ211の計数状態を表す出力信号215はタイ
ムスロツト発生部(図示せず)に供給されて正し
いタイムスロツトが形成されることとなるのであ
る。
In addition, as long as the frame counter 211 responds to the clock signal 213 and correctly counts according to its regularity as shown in FIG. 3, the output state of the parity checker 229 will never be other than "0". . Therefore, initially the reset signal 23
The R-S flip-flop 233, which had been reset by 5, continues to maintain its reset state. Therefore, the Q of R-S flip-flop 233
The "0" logic state of the output signal 237 is maintained,
No "alarm signal" is generated, and the output signal 215 representing the counting state of the frame counter 211 is supplied to a time slot generator (not shown) to form a correct time slot.

上述したのは、フレームカウンタ211が本来
的な規則性に従つて順次その状態を変化させるも
のであり、クロツク信号213に応動して正しい
変化動作を為している場合である。
What has been described above is a case where the frame counter 211 sequentially changes its state according to its inherent regularity, and performs the correct changing operation in response to the clock signal 213.

これに対して、何らかの原因でフレームカウン
タ211が規則性に従わない不都合な動作をした
ものとする。例えば、その原因としては、フレー
ムカウンタ211自体の故障,雑音での応動,そ
れの駆動電源電圧の低下等が考えられる。
On the other hand, suppose that for some reason the frame counter 211 performs an inconvenient operation that does not follow the regularity. For example, possible causes include a failure of the frame counter 211 itself, a response to noise, and a drop in the driving power supply voltage.

いま、不規則な動作として、フレームカウンタ
211がクロツク信号213に応動して、例えば
「2」(“0100”)から「4」(“0010”)へを飛んだ
ものとする。その場合、「2」の状態後のクロツ
クに応動して、D形フリツプフロツプ2225か
ら生成される予測パリテイは“1”である。しか
し、結果的にフレームカウンタ211からの出力
信号215で表される計数状態の4ビツトb0〜b3
は“0010”であつて、1ビツトのみが立つている
ので、パリテイチエツカ229の第2入力端子
PC2側での規定パリテイは“0”である。このよ
うに、予測パリテイと規定パリテイとは所望(一
致)の関係にない。従つて、パリテイチエツカ2
29の出力信号231の論理状態は“1”となつ
て、R−Sフリツプフロツプ233をセツト状態
とする。このセツト状態は、リセツト信号235
が印加されるまで続行するので、その間フリツプ
フロツプ233のQ出力信号237は論理状態を
維持し続け、「アラーム信号」が発生され続ける
こととなる。このようにして発生されるアラーム
信号(信号237)によつて、フレームカウンタ
211の出力信号215による他回路への付勢を
解除する(但し、その解除手段は省略する)。従
つて、フレームカウンタ211の規則性に従わな
い動作に因る多重化送信又は受信への悪影響(シ
ステム障害)を未然に防止することができる。
Assume now that the frame counter 211 jumps, for example, from "2"("0100") to "4"("0010") in response to the clock signal 213 as an irregular operation. In that case, the expected parity produced by D-type flip-flop 2225 in response to the clock after the "2" state is "1". However, as a result, the 4 bits b 0 to b 3 of the counting state represented by the output signal 215 from the frame counter 211
is “0010” and only 1 bit is set, so the second input terminal of parity checker 229
The specified parity on the PC 2 side is "0". In this way, the predicted parity and the specified parity do not have the desired (matching) relationship. Therefore, Paritei Chietsuka 2
The logic state of the output signal 231 of 29 becomes "1", and the R-S flip-flop 233 is set. This set state is determined by the reset signal 235.
The Q output signal 237 of the flip-flop 233 continues to maintain a logic state during this time, and the "alarm signal" continues to be generated. The alarm signal (signal 237) generated in this manner cancels the energization of other circuits by the output signal 215 of the frame counter 211 (however, the means for canceling this is omitted). Therefore, it is possible to prevent an adverse effect on multiplex transmission or reception (system failure) due to irregular operation of the frame counter 211.

また、フレームカウンタ211の計数状態が他
の状態から2段飛んでも全く同様にアラーム信号
が発生される。
Further, even if the counting state of the frame counter 211 jumps two steps from another state, an alarm signal is generated in exactly the same way.

なお、上述した実施例では、フレームカウンタ
211の計数動作におけるいわば次クロツクの状
態を予測して、実際上の変化動作状態と比較する
ものであつたが、これに限ることはない。例え
ば、予測する段階を数クロツク先であるものとし
てもよい。
In the above embodiment, the state of the next clock in the counting operation of the frame counter 211 is predicted and compared with the actual changing state of the clock, but the present invention is not limited to this. For example, the prediction step may be several clocks ahead.

また、シーケンス回路としてのカウンタ211
の計数状態の監視のみならず、他の規則性ある順
次変化状態を呈するものの変化動作を確認する装
置としてもよい。但し、順次変化状態の変化と、
予測手段による予測状態の発生とはタイミング的
に関連付けておく必要がある。
In addition, a counter 211 as a sequence circuit
The device may be used not only to monitor the counting state of the device, but also to check the changing behavior of other things that exhibit regular and sequential changing states. However, if the state changes sequentially,
It is necessary to correlate timing with the occurrence of the predicted state by the prediction means.

〔発明の効果〕〔Effect of the invention〕

以上述べてきたように本発明によれば、簡単な
回路構成によつて、規則性ある順序で変化する状
態を出力する装置自体の動作を監視することがで
きるので、実用的に極めて有用である。
As described above, according to the present invention, it is possible to monitor the operation of a device itself that outputs states that change in a regular order with a simple circuit configuration, so it is extremely useful in practice. .

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

第1図は本発明のカウンタ回路のシーケンス動
作チエツク回路の原理ブロツク図、第2図は本発
明の一実施例の構成を示すブロツク図、第3図は
本発明の実施例での動作を真理値表的に示す対応
説明図である。 第1図において、111はクロツク信号、11
3はカウンタ値、114は予測パリテイ値出力回
路、115はカウンタ回路、116は予測パリテ
イ値の反転値、117はプラオリテイエンコーダ
回路、119は検出位置に応じて決まる値、12
7はは次のパリテイ予測値、129はパリテイチ
エツカ回路、 第2図において、211はフレームカウンタ、
213はTSクロツク信号、217はプライオリ
テイエンコーダ、221は排他的論理和ゲート、
225はD形フリツプフロツプ、227は出力信
号、229はパリテイチエツカ、233はR−S
フリツプフツプである。
FIG. 1 is a principle block diagram of a sequence operation check circuit of a counter circuit according to the present invention, FIG. 2 is a block diagram showing the configuration of an embodiment of the present invention, and FIG. 3 is a diagram illustrating the operation of an embodiment of the present invention. It is a correspondence explanatory diagram shown in a value table. In FIG. 1, 111 is a clock signal;
3 is a counter value, 114 is a predicted parity value output circuit, 115 is a counter circuit, 116 is an inverted value of the predicted parity value, 117 is a priority encoder circuit, 119 is a value determined according to the detection position, 12
7 is the next parity predicted value, 129 is the parity checker circuit, and in FIG. 2, 211 is the frame counter;
213 is a TS clock signal, 217 is a priority encoder, 221 is an exclusive OR gate,
225 is a D-type flip-flop, 227 is an output signal, 229 is a parity checker, 233 is an R-S
It's flip flop.

Claims (1)

【特許請求の範囲】 1 クロツク信号111をカウントするカウンタ
回路115とそのチエツク回路を備え、 該カウンタ回路115の出力値に前もつて予測
生成されたパリテイ値を付加し、カウンタ回路の
シーケンス動作を確認する回路において、 前記カウンタ回路から出力されたカウンタ値の
状態を調べ、“0”値が存在する最下位の桁位置
を検出して検出位置に応じて決まる値A0119
を出力するプライオリテイエンコーダ回路117
と、 前記クロツク信号111に応答して該プライオ
リテイエンコーダ回路117から出力された値
と、該値が出力される前に発生していた予測パリ
テイ値を反転した値116との排他的論理和を取
つて次の予測パリテイ値127として出力する予
測パリテイ値出力回路114と、 該予測パリテイ値出力回路114から出力され
た予測パリテイ値を前記カウンタ値に付加し、そ
の全体の値のパリテイチエツクを行なうパリテイ
チエツカ回路129とを備えたことを特徴とする
カウンタ回路のシーケンス動作チエツク回路。
[Claims] 1. A counter circuit 115 that counts the clock signal 111 and a check circuit thereof, and adds a predicted parity value generated in advance to the output value of the counter circuit 115 to control the sequence operation of the counter circuit. In the circuit to be checked, check the state of the counter value output from the counter circuit, detect the lowest digit position where the "0" value exists, and determine the value A 0 119 determined according to the detected position.
A priority encoder circuit 117 that outputs
and the exclusive OR of the value output from the priority encoder circuit 117 in response to the clock signal 111 and the value 116 obtained by inverting the predicted parity value generated before the output of the value. A predicted parity value output circuit 114 outputs the predicted parity value as the next predicted parity value 127, and the predicted parity value outputted from the predicted parity value output circuit 114 is added to the counter value, and a parity check of the entire value is performed. 1. A sequence operation check circuit for a counter circuit, comprising a parity checker circuit 129 for performing a parity check circuit.
JP1553286A 1986-01-27 1986-01-27 Operation confirming device for regular sequential operation device Granted JPS62173818A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1553286A JPS62173818A (en) 1986-01-27 1986-01-27 Operation confirming device for regular sequential operation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1553286A JPS62173818A (en) 1986-01-27 1986-01-27 Operation confirming device for regular sequential operation device

Publications (2)

Publication Number Publication Date
JPS62173818A JPS62173818A (en) 1987-07-30
JPH0453327B2 true JPH0453327B2 (en) 1992-08-26

Family

ID=11891417

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1553286A Granted JPS62173818A (en) 1986-01-27 1986-01-27 Operation confirming device for regular sequential operation device

Country Status (1)

Country Link
JP (1) JPS62173818A (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5141512A (en) * 1974-10-07 1976-04-07 Nippon Musical Instruments Mfg
JPS57100336U (en) * 1980-12-11 1982-06-21

Also Published As

Publication number Publication date
JPS62173818A (en) 1987-07-30

Similar Documents

Publication Publication Date Title
EP0177690B1 (en) Method for error detection and correction by majority voting
JPH05304519A (en) Frame synchronization circuit
US4926427A (en) Software error detection apparatus
JPH0453327B2 (en)
JP3217993B2 (en) Parity check circuit
JPH0738626B2 (en) Word sync detection circuit
JPS61148939A (en) Frame synchronization system
SU1336254A1 (en) System for correcting errors in transmission of n-position code words
SU1591019A1 (en) DEVICE FOR CONTROL AND RESTORATION OF INFORMATION BY MODULE TWO
JP2814978B2 (en) Frame synchronization circuit
JPS6254257B2 (en)
SU1352491A1 (en) Device for checking by modulus two with monitoring
SU1478218A1 (en) Data check unit
JPS60200631A (en) Code error detecting circuit
JPS63312754A (en) Error generation circuit
KR100213256B1 (en) 5 bit and 16 bit cyclic redundancy check circuit
JP2759607B2 (en) Synchronous signal detection device
JPH0425240A (en) Burst signal monitoring circuit
JPS61236233A (en) Supervision equipment for transmission system
JPS63190445A (en) signal transmission equipment
JPH0316054B2 (en)
JPS62188442A (en) Counter circuit
JPS61276439A (en) Data transmission equipment
JPH02164148A (en) Code error monitoring system
JPH0420138A (en) Serial data transmission system