--- Quote Start ---
Did you try to run the code onto your FPGA as well? Most probably the timing analyzer doesn't know (because you did not tell him) that he is crossing two different clock domains so the skew is only apparent. If this is true, you will see your FPGA working correctly. Try and let us know.
--- Quote End ---
Thanks for your reply. I run the code onto my FPGA and it was working correctly. The waveform I observed in the oscillograph was perfect without any problem, no glitch at all. However, when I tried to add a few more codes to my design such as the sort of "and" logic(very simple logic code). I found out my FPGA wasn't working correctly. There're a few glitches in the waveform. I guess it may be still the timing problem. What do you think?