Patent ID: 7190653

Claim:
A data recording device which records a multi-level data to a recording medium, comprising: a block division unit dividing a sequence of input user data blocks into first blocks and second blocks; a plurality of multi-level data generating units generating multi-level data blocks from both the first blocks and the second blocks output from the block division unit; a group data storage unit storing first and second groups of code data corresponding to one user data block; a plurality of averaging units each calculating an average of DC levels based on the multi-level data of one of the blocks output from the plurality of multi-level data generating units; a level comparison unit comparing each of the DC level averages output from the plurality of averaging units with a predetermined value; a revision data generating unit generating a revision data using a result of the comparison by the level comparison unit; a data selection unit selecting one of the first and second groups of code data stored in the group data storage unit; and an output storage unit storing the multi-level data of the first blocks, and the multi-level data of the second blocks generated by using the code data of the group selected by the data selection unit, in addition to the revision data output from the revision data generating unit.