Article Details

ID: 1051
Case Type: faq
Category: Simulation
Related To: MTI
Family: All Devices

Search Answer Database

Search Text Image

Modelsim Lattice Edition: Simulation: Why does the simulation show the output clock phase constantly shifting with respect to the input clock in a PLL?

Modelsim Lattice Edition: Simulation: This phenomenon can occur if you force the simulator into an incorrect timescale. If a PLL is generated with a phase shift on the outputs, and the simulator is forced to an incorrect timescale by using a "-t " command, the phase of the PLL output clock may look like it's constantly moving with respect to its PLL input.


To correct this, remove any -t directives in your simulation command. The default timescale needs to be honored or reduced (-t 1fs) in order to correctly simulate the PLL with a phase shift.