Sign In

Don't have a Xilinx account yet?

  • Choose to receive important news and product information
  • Gain access to special content
  • Personalize your web experience on Xilinx.com

Create Account

Username

Password

Forgot your password?
XClose Panel
Xilinx Home
Reply
Visitor
ppaysarvi
Posts: 6
Registered: ‎03-22-2011
0

MMCM problem in Virtex 6 - unexpected output phase in behavioral simulation

Hi,

 

I have a problem with the output phase of the MMCM (DCM) in simulation. I am simulating the very simple scheme of "clock deskew"using MMCM. Based on UG, the CLKIN1 and CLKFBIN must be aligned but, in my simulation, they are not aligned and CLKFBIN is some amount of time behind CLKIN1. I ran the simulation several times and looks like the time difference between CLKIN1 and CLKFBIN is exactly equivalent to the VCO clock period. BTW, I tried both the "zhold" and "internal" compensations but the results are the same. Would you please let me know why am I seeing this phase difference?

 

Thanks,

MMCM_phase.JPG
Xilinx Employee
sandrao
Posts: 107
Registered: ‎08-08-2007
0

Re: MMCM problem in Virtex 6 - unexpected output phase in behavioral simulation

There is an bug in the behavourial simulation model in 12.4 that caused the outputs to be misaligned. This was fixed in 13.1.

What version of SW are you using?

Visitor
ppaysarvi
Posts: 6
Registered: ‎03-22-2011
0

Re: MMCM problem in Virtex 6 - unexpected output phase in behavioral simulation

I am using the version 12.4. So the simulator has a problem not the block itself? Will I still see the phase difference in real implementation using 12.4 version?

Xilinx Employee
sandrao
Posts: 107
Registered: ‎08-08-2007
0

Re: MMCM problem in Virtex 6 - unexpected output phase in behavioral simulation

The issue was only with the behavourial simulation the hardware would function as expected.

Visitor
djiss
Posts: 4
Registered: ‎07-04-2011
0

Re: MMCM problem in Virtex 6 - unexpected output phase in behavioral simulation

[ Edited ]

Hi !

 

I've the same problem as ppaysarvi. Output clock phases of MMCM_ADV Xilinx primitive are not as expected in behavioral and post-route simulations. I've followed your advice and I've tried with ISE 13.1but this problem remains the same. I've verified in implementing on hardware the MMCM_ADV and output clocks are correct. 

 

It seems that ISE 13.1 doesn't correct this bug. Anyone would have a solution to solve this problem ?

 

Thanks for your help,

Expert Contributor
rcingham
Posts: 2,010
Registered: ‎09-09-2010
0

Re: MMCM problem in Virtex 6 - unexpected output phase in behavioral simulation

Did you regenerate the IP with the new version of CoreGen?

------------------------------------------
"If it don't work in simulation, it won't work on the board."
Visitor
djiss
Posts: 4
Registered: ‎07-04-2011
0

Re: MMCM problem in Virtex 6 - unexpected output phase in behavioral simulation

Thanks for your answer rcingham,

 

I use the MMCM_ADV primitive. But I've tested the use of Clocking Wizard in the CoreGen available with ISE 13.1 but the problem is similar. In functionnal and post-route simulation, output frequencies are correct but output phases (for example, I expect a 90° phase on a CLKOUT3 but it generates a in-phase CLKOUT3). I've tested this IP generated by Clocking Wizard CoreGen on a board and all output phases are as expected !

 

This issue is known by Xilinx for ISE 12.4. Would it be a similar bug with ISE 13.1 ?

Expert Contributor
rcingham
Posts: 2,010
Registered: ‎09-09-2010
0

Re: MMCM problem in Virtex 6 - unexpected output phase in behavioral simulation

ISE 13.2 now available for download...
The Release Notes might hint at whether this is a known/fixed bug.

------------------------------------------
"If it don't work in simulation, it won't work on the board."
Visitor
djiss
Posts: 4
Registered: ‎07-04-2011
0

Re: MMCM problem in Virtex 6 - unexpected output phase in behavioral simulation

Hi,

 

This problem of unexpected phase was solved in using ISim instead of ModelSim for simulations. It was not an ISE problem but a bug in ModelSim.

 

 

Expert Contributor
rcingham
Posts: 2,010
Registered: ‎09-09-2010
0

Re: MMCM problem in Virtex 6 - unexpected output phase in behavioral simulation

"It was not an ISE problem but a bug in ModelSim."

Or possibly a bug in the model that ModelSim picks up but that Isim doesn't?

BTW, I don't work for Mentor, and I do know that ModelSim does have some bugs, as detailed in their Release Notes.


------------------------------------------
"If it don't work in simulation, it won't work on the board."