a method for generating a write clock of a constant angular velocity compact storage device and the device thereof . the compact storage device has a counter for generating a count number by a reference clock counting a wobble signal , and a phase detector for generating an adjustment value by comparing a phase shift between an atip synchronization signal and an encoded subcode frame synchronization signal . according to the count number and the adjustment value , a rectification value is found , and the rectification value and the reference clock is used for generating a reference write clock to modify the encoded subcode frame synchronization signal . if the phase shift between an atip synchronization signal and an encoded subcode frame synchronization signal is smaller than a predetermined value , the reference write clock is the write clock used by the compact storage device .