User Guide

Contents
vii
Changing the model name . . . . . . . . . . . . . . . . . . . . . . 111
Starting the Model Editor
from the schematic page editor in Capture . . . . . . . . . . 111
What is an instance model? . . . . . . . . . . . . . . . . . . . . . 112
Starting the Model Editor . . . . . . . . . . . . . . . . . . . . . . 112
Saving design models . . . . . . . . . . . . . . . . . . . . . . . . 113
Example: editing a Q2N2222 instance model . . . . . . . . . . . . . . 114
Starting the Model Editor . . . . . . . . . . . . . . . . . . . . . . 114
Editing the Q2N2222-X model instance . . . . . . . . . . . . . . 114
Saving the edits and updating the schematic . . . . . . . . . . . 115
Using the Create Subcircuit command . . . . . . . . . . . . . . . . . . . 115
Changing the model reference to an existing model definition . . . . . . 117
Reusing instance models . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
Reusing instance models in the same schematic . . . . . . . . . . . . 118
Making instance models available to all designs . . . . . . . . . . . 119
Configuring model libraries . . . . . . . . . . . . . . . . . . . . . . . . . 120
The Libraries and Include Files tabs . . . . . . . . . . . . . . . . . . . 120
How PSpice uses model libraries . . . . . . . . . . . . . . . . . . . . 121
Search order . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
Handling duplicate model names . . . . . . . . . . . . . . . . . . 122
Adding model libraries to the configuration . . . . . . . . . . . . . . 122
Changing design and global scope . . . . . . . . . . . . . . . . . . . 123
Changing model library search order . . . . . . . . . . . . . . . . . . 124
Changing the library search path . . . . . . . . . . . . . . . . . . . . 125
Creating parts for models 127Chapter 5
Chapter overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
What’s different about parts used for simulation? . . . . . . . . . . . . . 129
Ways to create parts
for models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Preparing your models for part creation . . . . . . . . . . . . . . . . . . 130
Using the Model Editor to create parts . . . . . . . . . . . . . . . . . . . 131
Starting the Model Editor . . . . . . . . . . . . . . . . . . . . . . . . . 131
Setting up automatic part creation . . . . . . . . . . . . . . . . . . . 132
Basing new parts on a custom set of parts . . . . . . . . . . . . . . . . . 133
Editing part graphics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
How Capture places parts . . . . . . . . . . . . . . . . . . . . . . . . 135
Defining grid spacing . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
Grid spacing for graphics . . . . . . . . . . . . . . . . . . . . . . 136
Grid spacing for pins . . . . . . . . . . . . . . . . . . . . . . . . . 136
Attaching models to parts . . . . . . . . . . . . . . . . . . . . . . . . . . 138
Pspug.book Page vii Wednesday, November 11, 1998 1:14 PM