$Revision:   1.2  $
$Author:   whb  $
$Date:   18 Jan 1990 17:46:36  $

"StmEd" on-line help file
Release 4.02, April 1989
(C) Copyright 1989 MicroSim Corporation
EXP 1
Exponential (EXP) Stimulus

The EXP form causes the current or voltage to be <i1/v1> for the first 
<td1> seconds.  Then the current or voltage decays exponentially from 
<i1/v1> to <i2/v2> with a time constant of <tc1>.   The decay lasts 
<td2 - td1> seconds.  Then, the current or voltage decays from
<i2/v2> back to <i1/v1> with a time constant of <tc2>.


Parameters			            Units         Default
----------				    -----	  -------

 <i1/v1>	initial current or voltage  amp or volt	  none
 <i2/v2>	peak current or voltage     amp or volt   none
 <td1>		rise delay	  	    sec		  0
 <tc1>		rise time constant	    sec		  TSTEP
 <td2>		fall delay	  	    sec		  <td1> + TSTEP
 <tc2>		fall time constant	    sec		  TSTEP


An '*' in front of a parameter name indicates that the default value for
the parameter is being used.
PULSE 1

Pulse Stimulus

The PULSE form causes the current or voltage to start at <i1/v1> and stay 
there for <td> seconds.  Then, the current or voltage goes linearly from 
<i1/v1> to <i2/v2> during the next <tr> seconds.  Then, the current or
voltage stays at <i2/v2> for <pw> seconds.  Then, it
goes linearly from <i2/v2> back to <i1/v1> during the next <tf> seocnds.  
It stays at <i1/v1> for <per> - ( <tr> + <pw> + <tf> seconds, and then 
the cycle is repeated except for the initial delay of <td> seconds.


Parameters			            Units         Default
----------				    -----	  -------

 <i1/v1>	initial current or voltage  amp or volt	  none
 <i2/v2>	pulsed current or voltage   amp or volt   none
 <td>		delay			    sec		  0
 <tr>		rise time		    sec		  TSTEP
 <tf>		fall time		    sec		  TSTEP
 <pw>	 	pulse width		    sec		  TSTOP
 <per>		period			    sec		  TSTOP


An '*' in front of a parameter name indicates that the default value for
the parameter is being used.
PWL 1

Piece-wise Linear (PWL) Stimulus

The PWL form describes a piecewise linear waveform.  Each pair of time-voltage
or time-current values specifies a corner of the waveform.  The voltages 
or currents at times between corners is the linear interpolation of the 
voltages or currents at the corners.

Times must be ascending order.


A '+' in front of the topmost corner indicates that there are more corners
above.  A '+' in front of the bottommost corner indicates that there are 
more corners below.  Choose the Modify_corner command to scroll the 
corners into view.




ADD_CORNER

This command will keep prompting you to enter <time, voltage> or <time,current>
pairs until you hit the <ESC> key or press <ENTER> without entering anything.
If you have a mouse, you will see a crosshair drawn in the plot.  Moving the
mouse will move the crosshair and display the <time, voltage> 
( or <time, current> ) of the crosshair at the bottom of the screen.  
Clicking either mouse button will add that corner to the list.  
Clicking both mouse buttons at the same time will return you to the menu.


MODIFY_CORNER

This command allow you to change a pair you have already entered.
SFFM 1

Single-Frequency FM (SFFM) Stimulus

The SFFM form causes the voltage or current to follow this formula:

	voff + vampl * sin (2pi * fc * TIME + mod * sin(2pi * fm *TIME))

Parameters			                  Units    Default
----------				          -----	  -------
 <ioff/voff>	offset current/voltage            amp/volt none
 <iampl/vampl>	peak amplitude of current/voltage amp/volt none
 <fc>		carrier frequency 	    	  Hertz	   1/TSTOP
 <mod>		modulation index		  	   0
 <fm>		modulation frequency	          Hertz	   1/TSTOP

An '*' in front of a parameter name indicates that the default value for
the parameter is being used.
SIN 1

Sinusoidal (SIN) Stimulus

The SIN form causes the current or voltage to start at <ioff/voff> and stay 
there for <td> seconds.  Then, the current or voltage becomes an exponentially 
dampled sine wave described by this formula:

 voff + vampl * sin( 2pi * ( freq * (TIME-td) -phase/360))*e-(TIME-td)*df

Parameters			                  Units    Default
----------				          -----	  -------
 <ioff/voff>	offset current/voltage            amp/volt none
 <iampl/vampl>	peak amplitude of current/voltage amp/volt none
 <freq>		frequency 	    	  	  Hertz	   1/TSTOP
 <td>	        delay				  sec	   0
 <df>	        damping factor			  1/sec	   0
 <phase>	phase				  degree   0



An '*' in front of a parameter name indicates that the default value for
the parameter is being used.
DGEDIT 1

The transient specification for a digital stimulus consists
of a series of "commands" that describe the output of the
stimulus over time.  If the topmost command has a '+' in
front of it, there are more commands before it that are not
being displayed.  If the bottommost command has a '+' in
front of it, there are more commands after it that are not
being displayed.  To see commands that are not being
displayed, use the Modify_command command.

Add_command displays a menu of the available commands that
can be used to define the stimulus.

The SET command prompts you to enter a <time> and a <value>.
At the given <time>, the output of the stimulus changes to
<value>.  The format of <value> depends on the "radix" of
the stimulus.  When you have entered all the SET commands
you want, press <Esc> to return to the menu of commands.

The GOTO N TIMES command prompts you to enter a <time>, a
<label name> and the number of times you want to repeat the
loop.  When the "goto" is encountered, the statement
following the <label name> is immediately executed.

The GOTO UNTIL GE/GT/LT/LE commands prompt you to enter a
<time>, a <label name> and a <value>.  The "goto" is done
until the value of the stimulus is GE (greater than or
equal), GT (greater than), LT (less than ) or LE ( less than
or equal to ) the value specified.  This command only
appears if the stimulus has more than one output node.

The INCR BY command prompts you for a <time> and a <value>.
The output of the stimulus is incremented by <value> each
time this command is executed.This command only appears if
the stimulus has more than one output node.

The DECR BY command prompts you for a <time> and a <value>.
The output of the stimulus is decremented by <value> each
time this command is executed.  This command only appears if
the stimulus has more than one output node.

The LABEL command prompts you for a label name.  This allows
you to define the labels that are used in "goto" commands.





