I wanted to use the MMCM from the clock wizard to generate a 25MHz clock from the on-board 12MHz oscillator.
Currently I am using the code from the Getting Started Guide : Step 7.6 .
I followed the steps given in this answer, instantiated a clock wizard IP, used the MMCM with the 12MHz clock as the input and set the output frequency to 25MHz.
My issue is that whenever I use the clock wizard IP I get a timing violation error in the implementation step irrespective of the output frequency of the MMCM. The code works well without the MMCM, using the clock directly as the input, and it fails with the MMCM even if I set the output frequency to 12MHz.
Question
Kharade
I wanted to use the MMCM from the clock wizard to generate a 25MHz clock from the on-board 12MHz oscillator.
Currently I am using the code from the Getting Started Guide : Step 7.6 .
I followed the steps given in this answer, instantiated a clock wizard IP, used the MMCM with the 12MHz clock as the input and set the output frequency to 25MHz.
Screenshots of IP Configuration and Instantiation
IP:Config_1
------------------------------------------------------------------------------------------------------------------------------------------
IP:Config_2
--------------------------------------------------------------------------------------------------------------------------------------------
IP-Instantiation
---------------------------------------------------------------------------------------------------------------------------------------------
My issue is that whenever I use the clock wizard IP I get a timing violation error in the implementation step irrespective of the output frequency of the MMCM. The code works well without the MMCM, using the clock directly as the input, and it fails with the MMCM even if I set the output frequency to 12MHz.
SCREENSHOTS OF THE ERROR
1.
2.
3. Path with timing violation
As I mentioned before the issue does not arise when I remove the IP while keeping the rest of the design same.
Thanks in Advance
Parth.
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.