The usual waveforms available from a function generator are a sine wave, a triangle wave (which appears as repeated isosceles triangles in a graph) or a square wave (the time domain graph of the rotating battery above is a square wave).
Mar 12, 2010 · Here is a sine wave generator in VHDL.This module outputs integer values of the wave from a look up table.In the module I have declared an array of size 30 byte ,which stores the value of sine component at different angles.If you want to include more number of values,to increase the accuracy then you can do it in MATLAB.Type any one of the following comment in MATLAB: