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
Regular Visitor
polyee13
Posts: 45
Registered: ‎11-28-2011
0
Accepted Solution

DDS Compiler 4.0 Core not generating proper frequency

I am using the dds 4.0 core with the following attributes.  27.5MHz, phase width 19 bits, output 16 bits.

If I set my phase increment to 8A I should expect a frequency of 7.238KHz.  However, in my ModelSim simulation I am seeing double that frequency.  However, if I halve the phase increment to 45h then I get my desired frequency. What is going on? Thanks. 

 

 

Xilinx Employee
Xilinx Employee
ywu
Posts: 2,873
Registered: ‎11-28-2007
0

Re: DDS Compiler 4.0 Core not generating proper frequency

My guess is that the input clock used in the simulation is 55MHz (2x 27.5MHz). Can you post the waveform showing the input clock frequency and how the phase increment is set?

 


polyee13 wrote:

I am using the dds 4.0 core with the following attributes.  27.5MHz, phase width 19 bits, output 16 bits.

If I set my phase increment to 8A I should expect a frequency of 7.238KHz.  However, in my ModelSim simulation I am seeing double that frequency.  However, if I halve the phase increment to 45h then I get my desired frequency. What is going on? Thanks. 

 

 




Cheers,
Jim
Regular Visitor
polyee13
Posts: 45
Registered: ‎11-28-2011
0

Re: DDS Compiler 4.0 Core not generating proper frequency

Issue resolved.  After regenerating the core with 27.5MHz I didn't replace the files correctly in my simulation directory.