JPS5942341B2 - Data acquisition circuit - Google Patents
Data acquisition circuitInfo
- Publication number
- JPS5942341B2 JPS5942341B2 JP52127521A JP12752177A JPS5942341B2 JP S5942341 B2 JPS5942341 B2 JP S5942341B2 JP 52127521 A JP52127521 A JP 52127521A JP 12752177 A JP12752177 A JP 12752177A JP S5942341 B2 JPS5942341 B2 JP S5942341B2
- Authority
- JP
- Japan
- Prior art keywords
- clock
- data
- register
- parity check
- parity
- 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
Links
Landscapes
- Detection And Correction Of Errors (AREA)
Description
【発明の詳細な説明】
本発明はデータの送受信を行なうコンピュータ等の情報
処理装置を対象とする。DETAILED DESCRIPTION OF THE INVENTION The present invention is directed to information processing apparatuses such as computers that transmit and receive data.
従来技術について第1図を用いて説明する。The prior art will be explained using FIG. 1.
クロック1によつてレジスタ1にデータを取込み、他の
回路へデータを送信する。この動作を繰返すことにより
データを順次他の回路へ送信する。また、データ誤りを
監視する為にレジスタ1の後にパリテイチェック回路2
を設けてある。従来の回路は、数ビットのデータにデー
タ誤りがある場合には、パリテイチェック回路2によつ
てパリテイエラーを検出する。Data is taken into register 1 by clock 1 and the data is transmitted to other circuits. By repeating this operation, data is sequentially transmitted to other circuits. In addition, a parity check circuit 2 is installed after register 1 to monitor data errors.
is provided. In the conventional circuit, if there is a data error in several bits of data, the parity check circuit 2 detects the parity error.
しかし、レジスタ1のクロック信号であるクロック1が
来なくなつた場合、レジスタ1は前に取込んだデータを
送信しつづける。クロック1が来なくなるまでの動作に
データ誤りがなかつたならば、レジスタのデータは、パ
リテイエラーとならないので異常検出が行なわれない。
本発明の目的はクロック1が来なくなつた場合でも、異
常の検出を可能とすることにある。However, if clock 1, which is the clock signal for register 1, stops coming, register 1 continues to transmit the previously captured data. If there is no data error in the operation until the clock 1 stops coming, the data in the register will not have a parity error, so no abnormality detection will be performed.
An object of the present invention is to make it possible to detect an abnormality even when the clock 1 stops coming.
本発明の特徴はレジスタ内にデータを取込んで他の回路
へ、データを送信し次のクロックが来る前にパリテイエ
ラーとなるパターンをセットすることにより、レジスタ
にクロック信号が来なくなつた場合でもパリテイエラー
として異常を検出することを可能にすることにある。本
発明の具体例を第2図を用いて説明する。The feature of the present invention is that the clock signal no longer comes to the register by loading data into the register, transmitting the data to other circuits, and setting a pattern that causes a parity error before the next clock arrives. The object of the present invention is to make it possible to detect an abnormality as a parity error even in the case of a parity error. A specific example of the present invention will be explained using FIG. 2.
本回路の構成は、クロック入力、データ入力及びセット
することにより出力がパリテイ誤りとなるセット入力を
持つたレジスタ3の後にパリテイチェック回路2を接続
してある。またレジスタ3のクロック入力及びセット入
力には、データに同期して、かつ位相のずれたクロック
を入力する。本回路の動作は、クロック1によつて、レ
ジスタ3にデータを取込み、他の回路にデータを送信す
る。その後、クロック2によりレジスタ3をセットし、
出力をパリテイ誤りの状態にする。その後、再びクロッ
ク1によつてレジスタ3に次のデータを取込み、他の回
路にデータを送信する。この動作を繰返すことによりデ
ータを順次他の回路へ送信する。尚、パリテイチェック
回路2は、例えばクロック1とクロック2との間で発生
するタイミング信号により動作させればよい。このよう
にすれば、クロック2が来てクロック1が来るまでの間
はパリテイチェック回路2がマスクされたことになるた
め、クロック1が正常に到来する限り、パリテイチェッ
ク回路はクロック1による取り込みデータに対してのみ
パリテイチェックを行なうことになる。ここで、クロツ
ク1が来なくなつた場合、レジスタ3はクロツク2によ
つてパリテイ誤りの状態となつているので、パリテイチ
エツク回路2によつてパリテイエラーとして検出される
。In the configuration of this circuit, a parity check circuit 2 is connected after a register 3 which has a clock input, a data input, and a set input whose output causes a parity error when set. Furthermore, a clock input to the clock input and set input of the register 3 is inputted in synchronization with the data and out of phase with the data. The operation of this circuit is to load data into the register 3 and transmit the data to other circuits using the clock 1. After that, register 3 is set by clock 2,
Puts the output in a parity error state. Thereafter, the next data is taken into the register 3 again by the clock 1, and the data is transmitted to other circuits. By repeating this operation, data is sequentially transmitted to other circuits. Note that the parity check circuit 2 may be operated by a timing signal generated between clock 1 and clock 2, for example. In this way, parity check circuit 2 is masked from clock 2 until clock 1 arrives, so as long as clock 1 arrives normally, the parity check circuit depends on clock 1. A parity check will be performed only on the captured data. Here, if clock 1 stops coming, register 3 is in a parity error state due to clock 2, so parity check circuit 2 detects it as a parity error.
以上説明した本発明の構成によれば、例えば奇数パリテ
イを採用した場合、クロツク2によりレジスタ3をりセ
ツト(オール零のデータセツト)するだけでパリテイ誤
り状態を実現できるため、極めて簡単な構成でもつて従
来の回路では検出できなかつたクロツクが来なくなると
いう異常に対してもパリテイエラーとして検出すること
が可能となる。According to the configuration of the present invention described above, when odd parity is adopted, for example, a parity error state can be realized by simply resetting register 3 (all zero data set) using clock 2, so even an extremely simple configuration can be used. Therefore, it becomes possible to detect an abnormality in which a clock does not arrive, which could not be detected by conventional circuits, as a parity error.
第1図は従来のデータ取込み回路のプロツク図、第2図
は本発明の一実施例を示すプロツク図である。
1,3・・・・・・レジスタ、2・・・・・・パリテイ
チエツク回路。FIG. 1 is a block diagram of a conventional data acquisition circuit, and FIG. 2 is a block diagram showing an embodiment of the present invention. 1, 3...Register, 2...Parity check circuit.
Claims (1)
スタと、上記レジスタから他の回路への出力データにつ
いて所定のタイミングでパリテイチェックを行なうパリ
テイチェック回路とからなるデータ取り込み回路におい
て、パリテイチェック動作の後、上記第1クロックに先
立つて発生する第2クロックにより上記レジスタの内容
をパリテイ誤り状態に設定することを特徴とするデータ
取り込み回路。1. In a data capture circuit that includes a register that captures data using a first clock and a parity check circuit that performs a parity check at a predetermined timing on output data from the register to other circuits, a parity check operation is performed. The data acquisition circuit is characterized in that the contents of the register are set to a parity error state by a second clock generated prior to the first clock.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP52127521A JPS5942341B2 (en) | 1977-10-26 | 1977-10-26 | Data acquisition circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP52127521A JPS5942341B2 (en) | 1977-10-26 | 1977-10-26 | Data acquisition circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5461437A JPS5461437A (en) | 1979-05-17 |
| JPS5942341B2 true JPS5942341B2 (en) | 1984-10-15 |
Family
ID=14962064
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP52127521A Expired JPS5942341B2 (en) | 1977-10-26 | 1977-10-26 | Data acquisition circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5942341B2 (en) |
-
1977
- 1977-10-26 JP JP52127521A patent/JPS5942341B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5461437A (en) | 1979-05-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6545508B2 (en) | Detection of clock signal period abnormalities | |
| JPS5942341B2 (en) | Data acquisition circuit | |
| JP3217993B2 (en) | Parity check circuit | |
| JPS62293441A (en) | Data outputting system | |
| JPS5835284B2 (en) | Data bus check method | |
| JP2735760B2 (en) | Pattern detection circuit | |
| JP2727660B2 (en) | A / D converter | |
| JPH02245939A (en) | Parity inspection device | |
| JPS63121999A (en) | Output decision circuit for s/d converter | |
| JPH06244822A (en) | Data communication system | |
| JPH11306096A (en) | Serial communication device and method, and recording medium recording serial communication control program | |
| JPS61115143A (en) | Detection circuit of malfunction of scan bus | |
| JPH11289318A (en) | Serial data communication device and error checking method for serial data communication device | |
| JPS61103266A (en) | Interface system of microprocessor | |
| JPS58221535A (en) | Serial data transmitter | |
| JPS6286942A (en) | Data anomaly detection method | |
| JPH0730525A (en) | Self-diagnosis device for digital equipment | |
| JP2000293278A (en) | Noise detecting circuit | |
| JPH086870A (en) | Data transfer device | |
| JPS61134845A (en) | Error detecting system | |
| JPH11143813A (en) | Burst transfer error detection method and microcomputer | |
| JPH0523259U (en) | Data receiving circuit | |
| JPS5953585B2 (en) | Scan-in-out control device | |
| JPH06101753B2 (en) | Signal transmission method | |
| JPS5989053A (en) | Synchronism error detector |