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.