Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2728021B2 - Parity check method - Google Patents
[go: Go Back, main page]

JP2728021B2 - Parity check method - Google Patents

Parity check method

Info

Publication number
JP2728021B2
JP2728021B2 JP7101260A JP10126095A JP2728021B2 JP 2728021 B2 JP2728021 B2 JP 2728021B2 JP 7101260 A JP7101260 A JP 7101260A JP 10126095 A JP10126095 A JP 10126095A JP 2728021 B2 JP2728021 B2 JP 2728021B2
Authority
JP
Japan
Prior art keywords
parity
signal
output
input
unit
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
JP7101260A
Other languages
Japanese (ja)
Other versions
JPH08297586A (en
Inventor
和宏 新迫
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
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP7101260A priority Critical patent/JP2728021B2/en
Publication of JPH08297586A publication Critical patent/JPH08297586A/en
Application granted granted Critical
Publication of JP2728021B2 publication Critical patent/JP2728021B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明はコンピュータ装置に利用
する。特に、入力側と出力側とでデータ順序が入れ替わ
る装置内におけるパリティチェック技術に関する。
BACKGROUND OF THE INVENTION The present invention is applied to a computer device. In particular, the present invention relates to a parity check technique in a device in which the data order is switched between the input side and the output side.

【0002】[0002]

【従来の技術】従来の装置内におけるパリティチェック
方式を図4に示す。図4は従来の装置内パリティチェッ
ク方式を示す図である。従来は、監視対象回路21に入
力する並列信号の同一タイムスロット上のビットからパ
リティビットを生成するパリティ生成部22と、監視対
象回路21の出力の並列信号の同一タイムスロット上の
ビットからパリティビットを生成するパリティ生成部2
3と、パリティ生成部22とパリティ生成部23とで生
成されたパリティを比較するパリティチェック部24と
で構成され、監視対象回路21の前後の同一タイムスロ
ット上のビットよりパリティビットを生成し比較するこ
とにより、パリティチェックを行っていた。
2. Description of the Related Art FIG. 4 shows a parity check system in a conventional apparatus. FIG. 4 is a diagram showing a conventional in-device parity check method. Conventionally, a parity generation unit 22 that generates a parity bit from a bit on the same time slot of a parallel signal input to the monitored circuit 21 and a parity bit from a bit on the same time slot of the parallel signal output from the monitored circuit 21 Parity generation unit 2 that generates
3 and a parity check unit 24 that compares the parity generated by the parity generation unit 22 and the parity generation unit 23. The parity check unit 24 generates parity bits from bits on the same time slot before and after the monitored circuit 21 and compares By doing so, a parity check was performed.

【0003】[0003]

【発明が解決しようとする課題】従来例の問題点を図5
および図6を参照して説明する。図5は出力側パリティ
生成部5のパリティ生成方法を示す図である。図6はデ
ータの並べ替え方法を示す図である。この従来の装置内
パリティチェック方式は、図5に示すように、信号の同
一タイムスロットからパリティビットを生成するため、
フレーム同期検出のように監視対象回路21の前後で信
号の並べ替えを行い、監視対象回路の出力信号の同一タ
イムスロット上のビットからパリティビットを生成して
も、監視対象回路前のパリティビットと一致しない可能
性のある部分では、監視を行えないという欠点がある。
FIG. 5 shows a problem of the conventional example.
This will be described with reference to FIG. FIG. 5 is a diagram illustrating a parity generation method of the output-side parity generation unit 5. FIG. 6 is a diagram showing a data sorting method. In this conventional parity check method in a device, as shown in FIG. 5, a parity bit is generated from the same time slot of a signal.
Even if the signals are rearranged before and after the monitored circuit 21 as in the frame synchronization detection, and the parity bits are generated from the bits on the same time slot of the output signal of the monitored circuit, the parity bits before and after the monitored circuit are not generated. There is a disadvantage that monitoring cannot be performed at a part that may not match.

【0004】図6に示すように、二番目の入力データに
フレーム同期パターンFの先頭ビットが含まれるとき、
入力データの一番目を出力データの末尾に置き、入力デ
ータの二番目を出力データの先頭に置いてデータの並べ
替えを行う。したがって、監視対象回路21の出力信号
の同一タイムスロット上のビットからパリティビットを
生成しても、監視対象回路21の入力前のパリティビッ
トと一致しない。
[0006] As shown in FIG. 6, when the second input data includes the first bit of the frame synchronization pattern F,
The data is rearranged by placing the first of the input data at the end of the output data and the second of the input data at the beginning of the output data. Therefore, even if the parity bit is generated from the bit on the same time slot of the output signal of the monitored circuit 21, it does not match the parity bit before the input of the monitored circuit 21.

【0005】この入力前のパリティビットが出力側で一
致するようにする技術として、特開平2−246445
号公報に開示されたものがある。これは、被監視信号が
直並列変換回路を経由するような場合に、直並列変換回
路に入力する前に生成したパリティビットが、直並列変
換回路を経由した後で一致するように、特別のRAMを
設けて、このRAMの中で直並列変換回路に対応するパ
リティビットの処理を実行するものであり、装置が複雑
高価になることが免れられない。
As a technique for making the parity bits before input coincide on the output side, Japanese Patent Application Laid-Open No. 2-246445 discloses a technique.
Is disclosed in Japanese Patent Application Laid-Open Publication No. HEI 9-203 (1995). This is so that when the monitored signal passes through the serial / parallel conversion circuit, the parity bit generated before input to the serial / parallel conversion circuit matches after passing through the serial / parallel conversion circuit. A RAM is provided to execute processing of a parity bit corresponding to a serial-parallel conversion circuit in the RAM, and the apparatus is inevitably complicated and expensive.

【0006】本発明は、このような背景に行われたもの
であり、入力側と出力側とでデータ順序が入れ替わる装
置内でもパリティチェックを正しく行うことができるパ
リティチェック方式を提供することを目的とする。本発
明は、フレームの全ビットに対しパリティチェックを行
うことができる簡単な装置構成のパリティチェック方式
を提供することを目的とする。
The present invention has been made in view of such a background, and an object of the present invention is to provide a parity check method capable of correctly performing a parity check even in a device in which the data order is switched between the input side and the output side. And SUMMARY OF THE INVENTION It is an object of the present invention to provide a parity check system having a simple device configuration capable of performing a parity check on all bits of a frame.

【0007】[0007]

【課題を解決するための手段】本発明は、入力直列信号
を並列信号に変換する直並列変換部と、その並列信号の
並べ替えを行い出力する信号選択部とを含む監視対象回
路のパリティチェック方式である。
The present invention SUMMARY OF] is monitored circuit including a serial-parallel converter for converting an input serial signal into parallel signals, and a signal selection unit for force out and rearrange the parallel signals This is a parity check method.

【0008】ここで、本発明の特徴とするところは、前
記並列信号のそれぞれについてパリティ信号を生成する
入力側パリティ生成部と、前記信号選択部の出力信号か
らパリティ信号を生成する出力側パリティ生成部と、前
記入力側パリティ生成部の出力を前記信号選択部と同一
論理で選択するパリティ選択部と、このパリティ選択部
の出力と前記出力側パリティ生成部の出力とを照合する
パリティチェック部とを備えたところにある。
The present invention is characterized in that an input-side parity generation section for generating a parity signal for each of the parallel signals, and an output-side parity generation section for generating a parity signal from an output signal of the signal selection section. A parity selection unit that selects the output of the input-side parity generation unit with the same logic as the signal selection unit, and a parity check unit that compares the output of the parity selection unit with the output of the output-side parity generation unit. It is located with.

【0009】前記信号選択部と前記パリティ選択部とは
共通のフレーム同期信号により同期して制御されること
が望ましい。
It is preferable that the signal selector and the parity selector are controlled in synchronization by a common frame synchronization signal.

【0010】[0010]

【作用】コンピュータ装置内を伝搬するデータは、その
順序が入替えられることがある。これは、例えば、フレ
ーム同期パターンの先頭ビットが含まれるデータを一番
目にもってくるようなことが行われるからである。
The order of data propagating in a computer device may be changed. This is because, for example, data including the first bit of the frame synchronization pattern is brought first.

【0011】本発明では、入力側で生成されたパリティ
信号をデータ信号と同じ方法で順番を入れ替えて出力さ
せ、そのパリティ信号とデータ信号とを比較することに
よりパリティチェックを行っているので、入出力側でパ
リティビットは必ず一致する。
In the present invention, the parity signal generated on the input side is rearranged in the same manner as the data signal and output, and the parity check is performed by comparing the parity signal with the data signal. The parity bits always match on the output side.

【0012】これにより、入力側と出力側とでデータ順
序が入れ替わる装置内でもパリティチェックを正しく行
うことができる。したがって、フレームの全ビットに対
しパリティチェックを行うことができる。
Thus, the parity check can be correctly performed even in a device in which the data order is switched between the input side and the output side. Therefore, a parity check can be performed on all bits of the frame.

【0013】本発明の方式では、入力側の直並列変換部
の監視を実質的に行うことができない。しかし一般に、
このような監視対象回路では信号の並べ替えのときに、
特に同期がくずれたときに誤りが発生する場合が大部分
であり、入力直列信号をいったん並列信号に変換する回
路ではほとんど誤りが発生しないことから、本発明の方
式によって、実用的に十分なていどに、監視対象回路の
誤動作を監視することができる。すなわち、本発明の方
式では複雑なRAMによる制御は不要であり、装置を安
価に構成することができる。
According to the method of the present invention, the serial-to-parallel converter on the input side cannot be monitored substantially. But in general,
In such a monitored circuit, when rearranging signals,
In most cases, errors occur when synchronization is lost, and almost no errors occur in a circuit that converts an input serial signal into a parallel signal once. Therefore, the method of the present invention is practically sufficient. However, it is possible to monitor the malfunction of the monitored circuit. That is, in the method of the present invention, complicated control by the RAM is unnecessary, and the apparatus can be configured at low cost.

【0014】[0014]

【実施例】本発明実施例の構成を図1を参照して説明す
る。図1は本発明実施例装置のブロック構成図である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described with reference to FIG. FIG. 1 is a block diagram of an apparatus according to an embodiment of the present invention.

【0015】本発明は、入力直列信号を並列信号に変換
する直並列変換部1と、その並列信号の並べ替えを行
力する信号選択部3とを含む監視対象回路21のパリ
ティチェック方式である。
[0015] The present invention includes a serial-parallel converter 1 for converting an input serial signal into parallel signals, the row physician sorting of the parallel signal
A parity check method of the monitored circuit 21 and a signal selection unit 3 for output force.

【0016】ここで、本発明の特徴とするところは、前
記並列信号のそれぞれについてパリティ信号を生成する
入力側パリティ生成部41 〜4n と、信号選択部3の出
力信号からパリティ信号を生成する出力側パリティ生成
部5と、入力側パリティ生成部41 〜4n の出力を信号
選択部3と同一論理で選択するパリティ選択部6と、こ
のパリティ選択部6の出力と出力側パリティ生成部5の
出力とを照合するパリティチェック部7とを備えたとこ
ろにある。
Here, the feature of the present invention is that the parity signals are generated from the output signals of the input side parity generators 4 1 to 4 n for generating the parity signals for each of the parallel signals and the signal selector 3. an output-side parity generator 5, a parity selection unit 6 for selecting an output of the input-side parity generation unit 4 1 to 4 n by the signal selecting portion 3 and the same logic, the output-side parity generation and output of the parity selector 6 And a parity check unit 7 for checking the output of the unit 5.

【0017】信号選択部3とパリティ選択部6とは共通
のフレーム同期信号により同期して制御される。
The signal selector 3 and the parity selector 6 are controlled in synchronization by a common frame synchronization signal.

【0018】次に、本発明実施例の動作を図2および図
3を参照して説明する。図2は本発明実施例の入力側パ
リティ生成部41 〜4n のパリティ生成方法を示す図で
ある。図3は本発明実施例の出力側パリティ生成部5の
パリティ生成方法を示す図である。図1において、入力
された直列信号は直並列変換部1でn本に直並列変換さ
れ、フレーム同期パターン検出部2および信号選択部3
に入力される。フレーム同期パターン検出部2では、フ
レーム同期パターンを検出し、検出されたフレーム同期
パターンをもとにn本のデータの内のどのデータにフレ
ーム同期パターン先頭ビットが含まれているかを示す先
頭ビット検出情報を信号選択部3およびパリティ選択部
6に出力する。信号選択部3では、すでに図6で示した
ように直並列変換部1より入力されたn本のデータをフ
レーム同期パターン先頭ビット検出情報をもとに並べ替
える。図2に示すように、入力側パリティ生成部41
n では、信号選択部3の入力データn本から、信号選
択部3の出力として考えられるn通りのパリティ信号を
生成する。パリティ選択部6では、フレーム同期パター
ン検出部2より入力されたフレーム同期パターン先頭ビ
ット検出情報をもとにn通りのパリティ信号から信号選
択部3の出力と同じ並び順に対応したパリティビットを
選択する。
Next, the operation of the embodiment of the present invention will be described with reference to FIGS. Figure 2 is a diagram showing an input-side parity generation unit 4 1 to 4 n method of parity generation in the embodiment of the present invention. FIG. 3 is a diagram showing a parity generation method of the output side parity generation unit 5 according to the embodiment of the present invention. In FIG. 1, an input serial signal is serial-to-parallel converted by a serial-to-parallel conversion unit 1 into n signals, and a frame synchronization pattern detection unit 2 and a signal selection unit 3
Is input to The frame synchronization pattern detection unit 2 detects the frame synchronization pattern and detects a leading bit indicating which of the n pieces of data includes the leading bit of the frame synchronization pattern based on the detected frame synchronization pattern. The information is output to the signal selection unit 3 and the parity selection unit 6. The signal selection unit 3 rearranges the n pieces of data input from the serial-parallel conversion unit 1 based on the frame synchronization pattern head bit detection information, as already shown in FIG. As shown in FIG. 2, the input-side parity generator 4 1
In 4 n , n kinds of parity signals considered as an output of the signal selection unit 3 are generated from n pieces of input data of the signal selection unit 3. The parity selection unit 6 selects the parity bits corresponding to the same arrangement order as the output of the signal selection unit 3 from the n kinds of parity signals based on the frame synchronization pattern head bit detection information input from the frame synchronization pattern detection unit 2. .

【0019】図3に示すように、出力側パリティ生成部
5において、信号選択部3の出力信号n本より、それぞ
れの信号の同一タイムスロット上の全ビットからパリテ
ィビットを一括して生成し、パリティチェック部7にて
パリティ選択部6で選択されたパリティビットと比較す
ることにより、フレーム中の全ビットについてパリティ
チェックを行うことができる。
As shown in FIG. 3, in the output side parity generation section 5, parity bits are collectively generated from all bits in the same time slot of each signal from n output signals of the signal selection section 3, By comparing the parity check unit 7 with the parity bit selected by the parity selection unit 6, it is possible to perform a parity check on all bits in the frame.

【0020】[0020]

【発明の効果】以上説明したように、本発明によれば、
入力側と出力側とでデータ順序が入れ替わる装置内でも
パリティチェックを正しく行うことができる。したがっ
て、フレームの全ビットに対しパリティチェックを行う
ことができる。
As described above, according to the present invention,
Parity check can be correctly performed even in a device in which the data order is switched between the input side and the output side. Therefore, a parity check can be performed on all bits of the frame.

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

【図1】本発明実施例装置のブロック構成図。FIG. 1 is a block diagram of an apparatus according to an embodiment of the present invention.

【図2】本発明実施例の入力側パリティ生成部のパリテ
ィ生成方法を示す図。
FIG. 2 is a diagram illustrating a parity generation method of an input-side parity generation unit according to the embodiment of the present invention.

【図3】本発明実施例の出力側パリティ生成部のパリテ
ィ生成方法を示す図。
FIG. 3 is a diagram illustrating a parity generation method of an output-side parity generation unit according to the embodiment of the present invention.

【図4】従来の装置内パリティチェック方式を示す図。FIG. 4 is a diagram showing a conventional in-device parity check method.

【図5】出力側パリティ生成部のパリティ生成方法を示
す図。
FIG. 5 is a diagram illustrating a parity generation method of an output-side parity generation unit.

【図6】データの並べ替え方法を示す図。FIG. 6 is a diagram showing a data sorting method.

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

1 直並列変換部 2 フレーム同期パターン検出部 3 信号選択部 41 〜4n 入力側パリティ生成部 5 出力側パリティ生成部 6 パリティ選択部 7 パリティチェック部 21 監視対象回路 22、23 パリティ生成部 24 パリティチェック部Reference Signs List 1 serial-parallel conversion unit 2 frame synchronization pattern detection unit 3 signal selection unit 4 1 to 4 n input-side parity generation unit 5 output-side parity generation unit 6 parity selection unit 7 parity check unit 21 monitored circuits 22, 23 parity generation unit 24 Parity check section

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 入力直列信号をnビットの並列信号に変
換する直並列変換部と、その並列信号の並べ替えを行
力する信号選択部とを含む監視対象回路のパリティチ
ェック方式において、 前記nビットの並列信号について1ビットずつシフトし
たn通りの組み合わせのそれぞれについてパリティ信号
を生成する入力側パリティ生成部と、 前記信号選択部の出力信号からパリティ信号を生成する
出力側パリティ生成部と、 前記入力側パリティ生成部の出力を前記信号選択部と同
一論理で選択するパリティ選択部と、 このパリティ選択部の出力と前記出力側パリティ生成部
の出力とを照合するパリティチェック部とを備えたこと
を特徴とするパリティチェック方式。
1. A and serial-parallel converter for converting an input serial signal into parallel signals of n bits, the row physician sorting of the parallel signal
In the parity check method of the monitored circuit and a signal selection unit for output power, shifted by one bit for parallel signals of n bits
An input-side parity generation unit that generates a parity signal for each of the n combinations , an output-side parity generation unit that generates a parity signal from an output signal of the signal selection unit, and an output of the input-side parity generation unit. A parity check method comprising: a parity selection unit that selects with the same logic as a signal selection unit; and a parity check unit that checks the output of the parity selection unit and the output of the output side parity generation unit.
【請求項2】 前記信号選択部と前記パリティ選択部と
は共通のフレーム同期信号により同期して制御される請
求項1記載のパリティチェック方式。
2. The parity check method according to claim 1, wherein said signal selection section and said parity selection section are controlled synchronously by a common frame synchronization signal.
JP7101260A 1995-04-25 1995-04-25 Parity check method Expired - Lifetime JP2728021B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7101260A JP2728021B2 (en) 1995-04-25 1995-04-25 Parity check method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7101260A JP2728021B2 (en) 1995-04-25 1995-04-25 Parity check method

Publications (2)

Publication Number Publication Date
JPH08297586A JPH08297586A (en) 1996-11-12
JP2728021B2 true JP2728021B2 (en) 1998-03-18

Family

ID=14295953

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7101260A Expired - Lifetime JP2728021B2 (en) 1995-04-25 1995-04-25 Parity check method

Country Status (1)

Country Link
JP (1) JP2728021B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6557160B2 (en) 2016-02-23 2019-08-07 株式会社ニューフレアテクノロジー Diagnostic method, charged particle beam drawing apparatus, and program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06274313A (en) * 1993-03-18 1994-09-30 Fujitsu Ltd Fault detection circuit for elastic store memory

Also Published As

Publication number Publication date
JPH08297586A (en) 1996-11-12

Similar Documents

Publication Publication Date Title
US6584592B2 (en) Semiconductor testing apparatus for testing semiconductor device including built in self test circuit
US8086918B2 (en) High-speed serial transfer device test data storage medium and device
US4860236A (en) Cellular automaton for generating random data
JPS613400A (en) Method and apparatus for testing high-density on chip
US6725408B1 (en) Built-in self-test for multi-channel transceivers without data alignment
US5001418A (en) Method for compressing data-vectors for a circuit board testing machine
JP2728021B2 (en) Parity check method
US4961159A (en) Cellular automaton for generating random data
JP4678335B2 (en) Physical random number generator
KR100825727B1 (en) Apparatus for collecting digitally converted analog signals using serial bus and method thereof
JP4564689B2 (en) Hardware function verification method and hardware function verification apparatus
JP3070305B2 (en) Fail memory
JPH075837A (en) Information display device
US5144628A (en) Microprogram controller in data processing apparatus
JP2001110200A (en) RAM diagnosis method and LSI
JP2500609B2 (en) Cable misconnection monitoring method
JP3093694B2 (en) Fault LSI detection method
JPH0766346B2 (en) Event recording method
JP2586803B2 (en) Selector monitoring circuit
KR920003884B1 (en) TMR logic circuit
JPH1074151A (en) Data recording / reproducing device having self-diagnosis function
JP2010130038A (en) Image processing system and program
JPH02266731A (en) Loopback test system
JPH1145213A (en) Method and circuit for monitoring fifo memory
JPH10229430A (en) Continuity test method