Patent ID: 7205911

Claim:
An apparatus for checking validity of a code-group comprising: a 6B/5B disparity classification unit which receives an 8B/10B code-group, classifies the least significant 6-bit nibble of the received 8B/10B code-group, and outputs the characteristic information of the disparity; a 4B/3B disparity classification unit which classifies the most significant 4-bit nibble of the received 8B/10B code-group and outputs the characteristic information of the disparity; an RD6 detection unit which receives the running disparity of a previously received 8B/10B code-group and the disparity classification characteristic information of the least significant 6-bit nibble, and generates the running disparity of the least significant 6-bit nibble of the 8B/10B code-group; an RD4 detection unit which receives the running disparity of the least significant 6-bit nibble output from the RD6 detection unit and the disparity classification characteristic information of the most significant 4-bit nibble, and generates the running disparity of the most significant 4-bit nibble of the 8B/10B code-group; an 8B/10B line code rule violation detection unit which detects whether or not the received 8B/10B code-group violates a predetermined line code rule; an RD error detection unit which receives the disparity classification characteristic information of the least significant 6-bit nibble, the disparity classification characteristic information of the most significant 4-bit nibble, the running disparity of the previously received 8B/10B code-group, and the running disparity of the least significant 6-bit nibble output from the RD6 detection unit, and detects a running disparity error of the least significant 6-bit nibble and an error of the most significant 4-bit nibble of the 8B/10B code-group; and a unit which receives and combines the output signal of the 8B/10B line code rule violation detection unit and the error signal of the RD error detection unit, and outputs whether or not the received 8B/10B code-group is valid.