User`s guide
1
-
14 Thin
g
s You Need to Know
Stimulus file
A stimulus file contains time-based definitions for analog and/
or digital input waveforms. You can create a stimulus file either:
• manually using a text editor to create the definition (a
typical file extension is
.stm), or
• automatically using the Stimulus Editor (which generates a
.stl file extension).
Include file
An include file is a user-defined file that contains:
• PSpice commands, or
• supplemental text comments that you want to appear in the
PSpice output file (see page 1-16
).
You can create an include file using the MicroSim Text Editor.
Typically, include file names have a
.inc extension.
Confi
g
urin
g
model librar
y
, stimulus, and
include files
PSpice A/D searches model libraries, stimulus files, and include
files for any information it needs to complete the definition of a
part or to run a simulation.
The files that PSpice A/D searches depend on how you
configure your model libraries and other files. Much of the
configuration is set up for you automatically, however, you can
do the following yourself:
• Add and delete files from the configuration.
• Change the scope of a file: that is, whether the file applies to
one design only (local) or to any design (global).
• Change the search order.
Note
Not all stimulus
definitions require a stimulus
file. In some cases, like DC
and AC sources, you must
use a schematic symbol and
set its attributes.
See What is
the Stimulus
Editor? on
page 1-9 for a
description.
not
included
in:
Example: An include file that
contains definitions, usin
g
the
PSpice .FUNC command, for
functions that you want to use in
numeric expressions elsewhere
in the circuit.
More on libraries...
Confi
g
uration for model libraries
is similar to that for other libraries
that Schematics uses. These
include symbol and packa
g
e
libraries. To find out more, refer
to your
MicroSim Schematics
User’s Guide
.