coding mmcm_clock module finished. Some bugs may be in this module.