This applet demonstrates an Input Waveform Generator, which could be used as an graphical input data generator or as an Analog to Digital Converter Emulator. The data can be a Function or a Draw. In mathematics, a function is a relation, such that each element of a set (the domain) is associated with a unique element of another (possibly the same) set (the codomain or image). For a Draw, one element domain can have one or more image point. This feature is only to easily the graphical input assign. When a domain point has more than one image point, only the highest value will taken into account during the scanning.

Use the popup-menu ('edit') on the waveform component to open the window with the graphical visualization.

Set the Draw Area Scale. Type the Minimum X value X0, Maximum X Value X, Grid X Value GridX, Minimum Y value Y0, Maximum Y Value Y, Grid Y Value GridY, then press Set Scale.

The input waveform generator supports four operation modes:

Please, save the Graphical Input by using the 'File and Save' menu option. If the graphical window is closed without saving, the current graphic will be lost. Click the Normalized button to convert the (x,y) value to Binary Code from 0 to N-bit (where N is the Y resolution). T The normalized value will be send to Y output. The X (sampling) and Y bitwidth must be set and click on Add to Hades to configure the output signal bitwidth. Note that the bitwidth cannot be changed, if the waveform component is already connected to other component on the current Hades design. If necessary, disconnect the waveform generator component, change the parameters via the GUI, and then reconnect the waveform generator.

The graphic value will be send as digital values. Set bit resolution (Y) and the rate sample resolution (X). The Waveform component has three inputs:

The Waveform component has three outputs:

Component written by Wellerson Freitas and Ricardo Ferreira, DPI, Universidade Federal Vicosa, Brazil,