摘要 |
PROBLEM TO BE SOLVED: To provide an encoding device in which data having longer bit length are encoded appropriately for a disk device by a comparatively simple circuit, and to provide a decoder for decoding the data encoded by the encoding device. SOLUTION: This encoding device includes an encoder 52 for forming a conversion code sequence of length M+1, while restricting respective continuous lengths for each of a plurality of code words able to appear in the code sequence, on the basis of the code sequence of length M; a pre-processor 51 for forming the code sequence of length M by excluding codes of (N-M) pieces at the predetermined position among the code sequence of length N to be input and outputting it to the encoder 52; and a post-processor 53 for forming the output code sequence of length N+1 and outputting it, by inserting each of the codes of (N-M) pieces at a predetermined position to be excluded by the preprocessor 51, to the prescribed inserting position of (N-M) pieces on the conversion code sequence of length M+1 to be output from the encoder 52. COPYRIGHT: (C)2007,JPO&INPIT
|