We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 47382

DDS Compiler v4.0 - How to generate a variable frequency square wave using DDS?


Are there any example designs or recommended methods to generate a square wave (For example, 1-100Khz), using the DDS compiler?


No, DDS is primarily designed for sine, cosine and phase generation.

Its applications include phase and frequency modulation.


A variable frequency Square can be generated using a level threshold approach by taking the MSB of phase_out.

However, this method is not tested by Xilinx and the precision of the output is not assured.

AR# 47382
Date Created 04/23/2012
Last Updated 01/05/2015
Status Active
Type General Article
  • ChipScope Pro - 13.2
  • DDS Compiler