User`s guide

Definin
g
a Di
g
ital Stimulus 14
-15
6
In the document that appears, find the set of consecutive
lines comprising the sequence that you want to repeat.
Each relevant line begins with the time of the transition and
ends with a value or change in value.
7
Ahead of these lines, insert a line that uses this syntax:
+ Repeat for
n_times
where n_times is one of the following:
A positive integer representing the number of
repetitions.
The keyword FOREVER, which means repeat this
sequence for an unlimited number of times (like a clock
signal).
8
Following all of these lines, insert a line that uses this
syntax:
+ Endrepeat
9
From the File menu, select Save.
10
From the File menu, select Exit.
To find out more about the
syntax of the stimulus
commands used in the stimulus
file, refer to the online
MicroSim
PSpice A/D Reference Manual
.
Example: Given the example
shown on pa
g
e 14-14, if you
wanted to repeat three times the
sequence shown from point A to
point B, then you would need to
modify the stimulus file as shown
here (added lines are in bold):
+ Repeat for 3
+ +0s 000000000
+ 250us INCR BY 000000001
+ 500us 000000010
+ 750us INCR BY 000000001
+ 1ms 000000000
+ Endrepeat