User Guide

Files needed for simulation
13
Stimulus file
A stimulus file contains time-based definitions for analog
input waveforms. You can create a stimulus file either:
manually using the Model Text View of the Model
Editor (or a standard 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-14
).
You can create an include file using any text editor, such
as Notepad. Typically, include file names have a .INC
extension.
Configuring model library, stimulus, and
include files
PSpice 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 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 a
ll
stimu
l
us
d
e
f
initions require a
stimulus file. In some cases, like DC and AC
sources, you must use a schematic symbol
and set its attributes.
S
ee What is the Stimulus Editor?
on page 1-9 for a description.
Examp
l
e: An inc
l
u
d
e
f
i
l
e t
h
at contains
definitions, using the PSpice .FUNC
command, for functions that you want to
use in numeric expressions elsewhere in
your design.
More on libraries...
Configuration for model libraries is similar
to that for other libraries that Capture uses,
including part libraries. To find out more,
refer to your Capture user’s guide.
Pspug.book Page 13 Wednesday, November 11, 1998 1:14 PM