Patent ID: 7848194

Claim:
A device for writing recording data including a plurality of synchronization frames, wherein each of the plurality of synchronization frames includes either one of a primary synchronization signal and a secondary synchronization signal, the device comprising: a comparator configured to compare a first accumulated digital sum value for specifying a first recording data including the primary synchronization signal for a synchronization frame with a second accumulated digital sum value for specifying a second recording data including the secondary synchronization signal for the synchronization frame, and generate a first selection signal based on a comparison of the first accumulated digital sum value with the second accumulated digital sum value; an inverter configured to invert the first selection signal with respect to each of at least one random number to generate a second selection signal; and a selection circuit configured to receive the primary synchronization signal and the secondary synchronization signal, and output either one of the primary synchronization signal and the secondary synchronization signal in response to the second selection signal.