Example 2 : Relative Sine Wave
This example will show you how to create a relative frequency sine wave. The relative sine wave is different from the absolute
sine wave in that you use a frequency factor to mulitply with the input clock to get the output sine wave. The output frequency
will always be the same factor of the input frequency.
Click on the Waveform tab. In that panel, make sure that the Waveform Code is set to "2". This is the code for relatve frequency sine waves.
You should see that in the Waveform Type box it will say "A/B Sine". On the bottom you will see two boxes: DIV A and DIV B.
DIV A is the numerator of the factor that you will multiply to the input clock and DIV B is the denominator of the factor. So if
wanted to have a factor of 3/4 then you would have DIV A be equal to 3 and DIV B equal to 4. So if your input frequency was
2 Ghz then the output frequency of the sine wave would be 1.5 GHz.
You can also change the number of points that the waveform will have per cycle. To do this, change the Data Length to the number
of points you want and then make sure that the Memory Depth is either equal to or more than the Data Length. Please note that the
Data Length is specified in hexidecimal. For more information on Memory Depth and Data Length, please see the
Memory Depth and Data Length page.
Press the Download
button (at the lower right corner of the waveform panel). You
must press the Download button each time you finish changing the parameters.
Press the Restart button as needed to restart the waveform.