Use this source to create an arbitrary waveform as a set of voltages (or currents) at various points in time.

Parameters

Parameter Description Units Default
DC DC Amplitude of the source used in operating point analysis. V or A 0
TVLIST

List of Time Voltage (or current) corner points. This parameter is alternative to FNAME. If a value is specified for both FNAME and TVLIST, FNAME takes precedence.

Example: REPEAT FOREVER (0,0 2m,0 6m,5 8m,5 10m,9 12.4m,9 12.5m,0) ENDREPEAT

s V or A  
FNAME

To read point values from a file, specifies the text file that supplies the time-value pairs. Only numbers (with units attached) can appear in the file; expressions for tn and vn values are invalid. All absolute time points in filename are with respect to the last (tn vn) entered. All relative time points are with respect to the last time point.

 

If FNAME do not specify a full path, the file is searched in the following order:

  1. In the current job. As an attached file or as a data block defined in an SPICE document by the .DATA instruction.
  2. In the current Job folder.
  3. In the library folders.
  4. In the component library files. As an attached file or as a data block defined in an SPICE document by the .DATA instruction.


Example:

REPEAT FOREVER 
0,0V 
2m,0V 
6m,5V 
8m,5V 
10m,9V 
12.4m,9V 
12.5m,0V
ENDREPEAT

The continuation + signs in the first column are unnecessary.

   
ACMAG AC Magnitude of small signal voltage or current. Set this if you plan to do a small signal AC analysis based on this source. V or A  
ACPHASE AC Phase of small signal voltage or current. Set this if you plan to do a small signal AC analysis based on this source. If phase is omitted, a value of zero is assumed. degrees  
DISTOF1 Set this if you plan to do a distortion analysis based on this source. Specify the amplitude and phase using space as separator. If phase is omitted, a value of zero is assumed.    
DISTOF2 Set this if you plan to do a distortion analysis based on this source. Specify the amplitude and phase using space as separator. If phase is omitted, a value of zero is assumed.    

Description

Corner points are:

AttenzioneSyntax:
<tn>,<vn>

To specify a point. Each pair of values (tn,vn) specifies that the value of the source is vn (in Volts or Amps) at time=tn.

REPEAT FOR <n> <<tn>,<vn>>* ENDREPEAT

To repeat n times. If n = 0, the data is ignored; n = -1 is interpreted as repeat forever.

REPEAT FOREVER <<tn>,<vn>>* ENDREPEAT

To repeat forever.

* Indicates that may be present several times.