I created a clock at a flip-flops Q output with the following create_clock command in XDC.
However, after implementation is completed, When I run "report_clocks", a different clock is returned for this same pin.
What is causing this difference?
This is caused by a re-definition of the clock on the same pin.
Check the XDC file to ensure that there are no identical create_clock commands.
In the example generating the above error message, the XDC file contains the following:Line 15,
These two clocks are both attached to the pin in question, and the second clock definition overrides the first one.
That is why gen_cpu_rst_clk|clk_div2_derived_clock is listed in the report_clocks result.
If you really want to define multiple clocks on the same source for simultaneous analysis with different clock waveforms, use the "create_clock -add" option.