You are on page 1of 1

File Generators The File generator is used to drive a circuit from an analogue signal that is specified by series of time

points and data values contained in an ASCII file. It is thus very similar to the piecewise linear generator except that the data values are held externally rather than being given as device properties. The dialogue form has only one field, which specifies the name of the data file. There is no default extension for these files, and the file should be located in the same directory as the design file unless a full path is specified. Data File Format The ASCII data file should be formatted with one time/voltage pair on each line separated by white space (spaces or tabs, not commas). The time values must be in ascending order, and all values must be simple floating point numbers (no suffixes allowed). Example The following example data file produces three cycles of a saw-tooth waveform with rise time 0.9ms, fall time 0.1ms and amplitude 1V. 0 9E-4 1E-3 1.9E-3 2E-3 2.9E-3 3E-3 0 1 0 1 0 1 0

You might also like