JPS58206254A - Generating and inspecting system of error detecting code - Google Patents
Generating and inspecting system of error detecting codeInfo
- Publication number
- JPS58206254A JPS58206254A JP9010682A JP9010682A JPS58206254A JP S58206254 A JPS58206254 A JP S58206254A JP 9010682 A JP9010682 A JP 9010682A JP 9010682 A JP9010682 A JP 9010682A JP S58206254 A JPS58206254 A JP S58206254A
- Authority
- JP
- Japan
- Prior art keywords
- register
- block
- channel
- cell
- held
- 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
Links
- 238000001514 detection method Methods 0.000 claims abstract description 9
- 238000000034 method Methods 0.000 claims description 12
- 238000007689 inspection Methods 0.000 claims description 6
- 230000005540 biological transmission Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 230000006386 memory function Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/004—Arrangements for detecting or preventing errors in the information received by using forward error control
- H04L1/0056—Systems characterized by the type of code used
- H04L1/0057—Block codes
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Error Detection And Correction (AREA)
Abstract
Description
【発明の詳細な説明】
本発明はデータ伝送において、伝送品質の向上をはかる
為に用いられている鵬シ検出符号生tJy、/検査方式
に関するものである。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a detection code generation tJy/inspection method used in data transmission to improve transmission quality.
従来、パケット型伝送において、情報はフレーム率位で
伝送路に送出される。この時伝送品質の向上を計る為、
誤9検出符号をつける。その一つの方式としてCR,C
方式がある。Conventionally, in packet-type transmission, information is sent to a transmission path at a frame rate. At this time, in order to improve the transmission quality,
Add a false 9 detection code. One of the methods is CR, C
There is a method.
従来の伝送方式においては、伝送効率、トラフィックの
不均一、線内でのふくそう等の欠点を有す。この為、パ
ケットフレームを分割して、チャンネル毎に多l化して
伝送する方式が老兄られるが、この方式において間組に
なるのが唱り検出符号の生成/検査回路である。つまシ
チャンネル毎にこの回路を持つ拳は、回路部品数の増大
という欠点を有す。Conventional transmission systems have drawbacks such as transmission efficiency, traffic non-uniformity, and line congestion. For this reason, a popular method is to divide the packet frame and transmit it in multiple channels for each channel, but the middle part of this method is the generation/inspection circuit for the chant detection code. A fist having this circuit for each grip channel has the disadvantage of increasing the number of circuit components.
本発明の目的は前記欠点を解消する為、1理ぼりにはチ
ャンネル帖に検査機能を有するが、ランダム・アクセス
会メモリを用いる事によって回路部品を少なくシ、又簡
単な制御回路を付加する事によって、フレームに生成・
した後に検査をするという方式をとらずに、分割された
フレームのブロックを受信する毎に、ehcの計算を行
い、フレームの終了ブロックを受信した時点でswAk
iの検出を行う方式を提供する事である。The purpose of the present invention is to eliminate the above-mentioned drawbacks, by providing an inspection function in the channel book, but by using a random access memory, the number of circuit parts can be reduced, and a simple control circuit can be added. generated in the frame by
Instead of checking after the end of the frame, ehc is calculated every time a divided frame block is received, and swAk is calculated when the end block of the frame is received.
The purpose of this invention is to provide a method for detecting i.
本発明の誤シ検出符号生成/検査方式は、C凡C計算用
メモリと、チャンネル指定に使うレジスタと、メモリセ
ルでのシフト動作を補助するレジスタと、計算結果をと
シ出すレジスタと、これ等を制御する制御回路とを有す
る。The error detection code generation/inspection method of the present invention includes a memory for C calculation, a register used for channel specification, a register to assist shift operations in memory cells, a register for outputting calculation results, and and a control circuit that controls the following.
本発明のIt!4シ検出符号生成/検査方式のブロック
構造を第1図に示す。1は受信したシリアル信号のCR
Cを計算する為の記憶回路でIC)(当シ1アドレスが
割当てられる。このメモリのセル長(]アドレス肖りの
ビット数)はCRCの生成多項式による。(例えばCC
ITT−CRCの場合は16ビツト)又受信する信号の
チャンネル多重度がnの場合、このメモリはnセル必要
とする。従って生成多項式がm次の場合mxnビットの
メモリとなる。このメモリは機能的にはセルの中でシフ
ト・レジスタとして機能する。2はこのメモリをアクセ
スする為のアドレスを保持するレジスタであり、第iチ
ャンネルの分割ブロックを受信するとそれ用にわシあて
られたメモリのアドレスがロードされる。3はメモリの
シフト機能を行う為に必要なレジスタである。4はCI
L Cの生成/検査時に、このメモリから1直をとり出
す為のレジスタである。It! of the present invention! The block structure of the 4C detection code generation/inspection method is shown in FIG. 1 is the CR of the received serial signal
A memory circuit for calculating C (IC) (1 address is assigned to this memory. The cell length of this memory (the number of bits corresponding to the address) is determined by the CRC generating polynomial. (For example, CC
(16 bits in case of ITT-CRC) Also, if the channel multiplicity of the received signal is n, this memory requires n cells. Therefore, if the generating polynomial is of degree m, the memory will be m×n bits. Functionally, this memory functions as a shift register within the cell. 2 is a register that holds an address for accessing this memory, and when a divided block of the i-th channel is received, the address of the memory allocated for it is loaded. 3 is a register necessary to perform a memory shift function. 4 is CI
This register is used to take out one shift from this memory when generating/inspecting LC.
5はC1(、Cの生成多項式に依存して決まる論理回路
で排他論理和回路よりなる。6はこれ勢を制御する為の
制御回路である。7はCRC付加時は出力回路、検出時
は検出結果を出力する為の出力回路である。5 is a logic circuit determined depending on the generating polynomial of C1 (, C, and consists of an exclusive OR circuit. 6 is a control circuit for controlling this circuit. 7 is an output circuit when CRC is added, and when detecting This is an output circuit for outputting detection results.
本方式の詳細を具体的な実旅例に基すいて駅明する。C
RCの生成多項式はX ’ +X+ l である。The details of this method will be explained based on a specific example of an actual journey. C
The generating polynomial of RC is X'+X+l.
詳細回路を算2図に、その動作を示すタイムチャートを
第3図に示す。人力データ101からブロックのヘリダ
部がよみとられメづミンク209でレジスタ122にバ
ス123をとおして保持される。(図でに簾かホールド
さIしている9、このブロックがiチャンネルのもので
める争を示す。)つついて人力データはメモリR/ W
クロック102のタイミング!−01で出力されている
データ103と排他論理和をとりクロック104(でて
夕1ミング202でレジスタ105に保持さ11る。パ
スl−一に出力されるこの(ili!は203の1句に
メモリ107のレジスタ108に保持きれている値(i
)が示すセルの1ビツト目νこmli;tiitされる
。このΔピ憎された1直は、次のサイクル2040間に
バス109に欣み出され、又、同時に読み出されている
ノζス1()3の1籠と排他輸理和紫と多パス11(l
に出力され、タイミング205でレジスタ105に保持
嘔れ、タイミング206でメそり107のレジスタ10
3が示すセル(i)の2ビツト目にfir:tAされる
。以下上記扮作がタイミング210に示すブロックの終
りのデータブでセル(i)の4ビツト6々についてくシ
返ざILる。この時セル(i)ICはそれlでのデータ
Qこ関すCRC計算に朱が保持されている。A detailed circuit is shown in Fig. 2, and a time chart showing its operation is shown in Fig. 3. The helider part of the block is read from the manual data 101 and held in the register 122 via the bus 123 in the mezumink 209 . (In the figure, the block 9 that is held by the screen shows the contention of the i-channel.) The manual data is extracted from the memory R/W.
Clock 102 timing! Exclusive OR is performed with the data 103 outputted at -01 and stored in the register 105 at clock 104 (11). The value held in the register 108 of the memory 107 (i
) is applied to the first bit of the cell indicated by . During the next cycle 2040, this Δpi hated 1st shift is sent to the bus 109, and the 1st basket of No. Pass 11 (l
It is output to register 105 at timing 205, and is stored in register 10 of memory 107 at timing 206.
Fir:tA is applied to the second bit of cell (i) indicated by 3. Hereinafter, the above-mentioned operation is repeated for the 4 bits 6 of cell (i) at the data block at the end of the block shown at timing 210. At this time, the cell (i) IC retains red in the CRC calculation related to the data Q in it.
つついて、ブロックのヘッダh’19(fjしてこれか
:チャンネルのブ1コックな1:、タイミング211で
レジスタ108の内υはjとなる。以下、i−チャンネ
ルと同緑な操作が作われ、セル(J)V?:はj−チャ
ンオルのCTGC計3I結5々が保持される。タイミン
グ212に示すLうに6びi−チャンネルのブロックを
受信すると杓゛ひレジスタ+08の内容はタイミング2
】3でiとなり、前1す1のC托C計算結釆か−らひき
つづ@簡し7操作がくり返でれる。Then, block header h'19 (fj is this? Channel block 1 cock 1:, υ in register 108 becomes j at timing 211. Below, the same operation as i-channel is performed. I, cell (J) V?:, holds the CTGC total of 3I and 5 of j-chanol.When I receive the block of L 6 and i-channel shown at timing 212, the contents of the dip register +08 are changed to the timing 212. 2
] 3 becomes i, and the operation @simplified 7 is repeated from the previous 1 to 1 C calculation conclusion.
このブロックがi−チャ;ノイルフレームの終シならは
メモリセル−1の11かcrtcコードである。If this block is the end of the i-cha;noil frame, it is the 11 or crtc code of memory cell-1.
この−値はパルス111でタイミング207でレジスタ
112にロードされる。一方入力データはクロックパル
ス113にてシフトレジスタ114に入力され、比較器
116でレジスタ112の出力124と比較される。比
較器の出力117はノくバス118によってタイミング
208で7リツプフロツプ119に記憶され、赳り検出
結果を示す出ドされた値がクロック113によってシフ
トされ出力IJ121に出力される。This negative value is loaded into the register 112 at timing 207 with pulse 111. On the other hand, the input data is input to the shift register 114 at the clock pulse 113, and is compared with the output 124 of the register 112 at the comparator 116. The output 117 of the comparator is stored in the 7-lip flop 119 at timing 208 by the bus 118, and the output value indicating the overload detection result is shifted by the clock 113 and output to the output IJ 121.
本発明による方式により、フレームの分割チャンネル多
重化伝送を必要とするシステムにおいて小きほの回路と
簡単な制御回路でCRCの生成と検査ができる。又、こ
の方式においては生成多項式の違いはメモリ・セルの長
さと論理回路に関係するのみである。又受信データ長は
可変長である。The method according to the invention allows CRC generation and checking with a small circuit and a simple control circuit in a system requiring split channel multiplexed transmission of frames. Also, in this method, the difference in the generator polynomial is only related to the length of the memory cell and the logic circuit. Also, the length of the received data is variable.
メチヤンネル毎にCRCルール(生成多項式の違い)が
変わっても、簡単な論理回路と簡単な制御回路の追加で
対処でき、汎用性が大きい。Even if the CRC rules (differences in generator polynomials) change for each channel, this can be handled by adding a simple logic circuit and a simple control circuit, providing great versatility.
第1図は本発明の詳細な説明するブロック図である。第
2図は本発明の詳細な説明する詳細回路図である。第3
図は本発明の実施例の詳細動作を説明する為のタイミン
グ図である。
1・・・・・・記憶回路、2・・・・・・レジスタ、3
・・・・・・レジスタ、4・・・・・・レジスタ、5・
・・・・・論理回路、6・・・・・・制御回路、7・・
・・・・出力回路。
、、 、/”−”1
代理人 弁理士 内 原 日 、。
卒1侶FIG. 1 is a block diagram illustrating the invention in detail. FIG. 2 is a detailed circuit diagram illustrating the present invention in detail. Third
The figure is a timing diagram for explaining the detailed operation of the embodiment of the present invention. 1...Memory circuit, 2...Register, 3
...Register, 4...Register, 5.
...Logic circuit, 6...Control circuit, 7...
...output circuit. ,, ,/”-”1 Agent Patent attorney Hi Hara . 1st graduate
Claims (1)
タと、メモリセルでのシフト動作を補助するレジスタと
、計算結果をとシ出すレジスタと、これ等を制御する制
御回路とを有する岨シ検出符号生成/検食方式。A code detection code generator/code generator that has a memory for CRCIL, a register used for channel specification, a register that assists shift operations in memory cells, a register that outputs calculation results, and a control circuit that controls these. Food inspection method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP9010682A JPS58206254A (en) | 1982-05-27 | 1982-05-27 | Generating and inspecting system of error detecting code |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP9010682A JPS58206254A (en) | 1982-05-27 | 1982-05-27 | Generating and inspecting system of error detecting code |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS58206254A true JPS58206254A (en) | 1983-12-01 |
Family
ID=13989262
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP9010682A Pending JPS58206254A (en) | 1982-05-27 | 1982-05-27 | Generating and inspecting system of error detecting code |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS58206254A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS60250725A (en) * | 1984-05-26 | 1985-12-11 | Fujitsu Ltd | Cyclic redundancy check calculation method |
JPS62133825A (en) * | 1985-12-02 | 1987-06-17 | アドバンスト・マイクロ・デイバイシズ・インコ−ポレ−テツド | Crc bit calculator |
US5043989A (en) * | 1989-06-29 | 1991-08-27 | International Business Machines Corp. | Terminal adapter having a multiple HDLC communication channels receiver for processing control network management frames |
US5524116A (en) * | 1992-02-14 | 1996-06-04 | At&T Corp. | Packet framer |
WO1996041424A1 (en) * | 1995-06-07 | 1996-12-19 | Micron Technology, Inc. | High speed cyclical redundancy check system using a programmable architecture |
US6098188A (en) * | 1992-02-14 | 2000-08-01 | Lucent Technologies Inc. | Packet framer |
-
1982
- 1982-05-27 JP JP9010682A patent/JPS58206254A/en active Pending
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS60250725A (en) * | 1984-05-26 | 1985-12-11 | Fujitsu Ltd | Cyclic redundancy check calculation method |
JPH0224417B2 (en) * | 1984-05-26 | 1990-05-29 | Fujitsu Ltd | |
JPS62133825A (en) * | 1985-12-02 | 1987-06-17 | アドバンスト・マイクロ・デイバイシズ・インコ−ポレ−テツド | Crc bit calculator |
US5043989A (en) * | 1989-06-29 | 1991-08-27 | International Business Machines Corp. | Terminal adapter having a multiple HDLC communication channels receiver for processing control network management frames |
US5524116A (en) * | 1992-02-14 | 1996-06-04 | At&T Corp. | Packet framer |
US6098188A (en) * | 1992-02-14 | 2000-08-01 | Lucent Technologies Inc. | Packet framer |
WO1996041424A1 (en) * | 1995-06-07 | 1996-12-19 | Micron Technology, Inc. | High speed cyclical redundancy check system using a programmable architecture |
US5854800A (en) * | 1995-06-07 | 1998-12-29 | Micron Technlogy, Inc. | Method and apparatus for a high speed cyclical redundancy check system |
US5964896A (en) * | 1995-06-07 | 1999-10-12 | Micron Technology, Inc. | Method and apparatus for a high speed cyclical redundancy check system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH01265347A (en) | Address generating device | |
JPS58206254A (en) | Generating and inspecting system of error detecting code | |
US5408476A (en) | One bit error correction method having actual data reproduction function | |
US7124158B2 (en) | Technique for high speed PRBS generation | |
JP2998366B2 (en) | CRC check method | |
US6373410B2 (en) | Apparatus for and method of converting sampling frequency of digital signals | |
EP0661648A2 (en) | Digital signal processing circuit | |
JP3156750B2 (en) | Alarm issuing device | |
JPH07182863A (en) | Internal address generation circuit | |
JPH03198544A (en) | Parity count circuit | |
JPS62216557A (en) | Phase ambiguity removing circuit | |
JP2001308832A (en) | Device for converting speed | |
JP2685180B2 (en) | Error correction device | |
KR0155718B1 (en) | Synchronous Data Generator | |
JPH10187585A (en) | Electronic circuit configuration for address word discrimination | |
JPH11102282A (en) | Interface buffer circuit | |
JPH10294720A (en) | Signal transmission circuit and signal-transmitting method | |
JPS592583Y2 (en) | Cyclic code encoding circuit | |
JPH0629952A (en) | Crc check system for time division multiplex line | |
JP2000101483A (en) | Communication system and communication device | |
JPH0134493B2 (en) | ||
JP2577797B2 (en) | Pixel density conversion circuit | |
JP2848734B2 (en) | Error detection and correction device | |
JP2959479B2 (en) | FIFO control method | |
JPH04351039A (en) | Cell composition system |