The digital clock system based on clock chip is studied.FPGA was used as the control chip to realize the read-write control of PCF8563 based on I2C bus.At the same time,the switch display of clock/calendar and manual adjustment of clock/calendar were also realized.Under adjustment state,the flickering in dication function of the digital tube was realized when the data-shift.The system design progarm and the detailed design of each module of FPGA were given.The technical feasibility of the system function was verified by the signal tap logic analyzer,and completed debugging on development board. This paper can provide certain reference for FPGA developers.