Pulse

General form (the PHASE parameter is only possible when XSPICE is enabled):

PULSE(V1 V2 TD TR TF PW PER PHASE)

Examples:

VIN 3 0 PULSE(-1 1 2NS 2NS 2NS 50NS 100NS)
Name
Parameter
Default Value
Units
V1
Initial value
-
V, A
V2
Pulsed value
-
V, A
TD
Delay time
0.0
sec
TR
Rise time
TSTEP
sec
TF
Fall time
TSTEP
sec
PW
Pulse width
TSTOP
sec
PER
Period
TSTOP
sec
PHASE
Phase
0.0
degrees

A single pulse, without phase offset, is described by the following table:

Time
Value
0
V1
TD
V1
TD+TR
V2
TD+TR+PW
V2
TD+TR+PW+TF
V1
TSTOP
V1

Intermediate points are determined by linear interpolation.