OrCAD PSpice A/DHow to use this online manual How to print this online manualWelcome to OrCADOverviewCommandsAnalog devicesDigital devicesCustomizing device equationsGlossaryReference Manual
Index
Version 9.0, October, 1998.
Copyright 1998, OrCAD, Inc. All rights reserved.
Printed in the United States of America.
OrCAD trademarks
OrCAD, OrCAD Layout, and OrCAD Simulate are registered trademarks, and EDA for the Windows NT Enterprise,
Enterprise CIS, Enterprise Component Information System, OrCAD Capture CIS, OrCAD Express, OrCAD Express CIS,
OrCAD Layout Engineer's Edition, OrCAD Optimizer, SmartRoute, OrCAD Capture, OrCAD Design Desktop, OrCAD
Express, SmartDrag, SmartPlace, SmartRoute, and SmartWire are trademarks of OrCAD, Inc.
Referenced herein are the trademarks used by OrCAD, Inc., to identify its products. OrCAD is the exclusive owners of
“MicroSim,” “PSpice,” “PLogic,” “PLSyn.”
Additional marks of OrCAD include: “StmEd,” “Stimulus Editor,” “Probe,” “Parts,” “Monte Carlo,” “Analog Behavioral
Modeling,” “Device Equations,” “Digital Simulation,” “Digital Files,” “Filter Designer,” “Schematics,”
“PLogic,” ”PCBoards,” “PSpice Optimizer,” and “PLSyn” and variations theron (collectively the “Trademarks”) are used
in connection with computer programs. OrCAD owns various trademark registrations for these marks in the United States
and other countries.
SPECCTRA is a registered trademark of Cooper & Chyan Technology, Inc.
All other trademarks
Microsoft, MS-DOS, Windows, Windows NT and the Windows logo are either registered trademarks or trademarks of
Microsoft Corporation.
Adobe, the Adobe logo, Acrobat, the Acrobat logo, Exchange and PostScript are trademarks of Adobe Systems Incorporated
or its subsidiaries and may be registered in certain jurisdictions.
ShapeBased is a trademark and SPECCTRA and CCT are registered trademarks of Cooper & Chyan Technologies Inc.
(CCT). Materials related to the CCT SPECCTRA Autorouter have been reprinted by permission of Cooper & Chyan
Technology, Inc.
Xilinx is a registered trademark of Xilinx Inc. All, X- and XC- prefix product designations are trademarks of Xilinx, Inc.
EENET is a trademark of Eckert Enterprises.
All other brand and product names mentioned herein are used for identification purposes only, and are trademarks or
registered trademarks of their respective holders.
Copyright notice
Except as permitted under the United States Copyright Act of 1976, no part of this publication may be reproduced or
distributed in any form or by any means, or stored in a data base or retrieval system, without the prior written permission of
OrCAD, Inc.
As described in the license agreement, you are permitted to run one copy of the OrCAD software on one computer at a time.
Unauthorized duplication of the software or documentation is prohibited by law. Corporate Program Licensing and multiple
copy discounts are available.
Contact information
Technical support
(503) 671-9400
Technical support e-mail
techsupport@orcad.com
Corporate offices
(503) 671-9500
General e-mail
info@orcad.com
Fax
(503) 671-9501
World Wide Web
http://www.orcad.com
ContentsHow to Use This
Online Manual
How to print this online manual . . . . . . . . . . . . . . . . . . . . .
xiv
Welcome to OrCAD . . . . . . . . . . . . . . . . . . . . . . . . . . . .
xv
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
xviTypographical conventions . . . . . . . . . . . . . . . . . . . . . .
xvi
Command syntax formats . . . . . . . . . . . . . . . . . . . . . .
xvii
Numeric value conventions . . . . . . . . . . . . . . . . . . . . .
xviii
Numeric expression conventions . . . . . . . . . . . . . . . . . . .
xixCommand line options
for OrCAD applications . . . . . . . . . . . . . . . . . . . . .
xxiiCommand files . . . . . . . . . . . . . . . . . . . . . . . . . . . .
xxiiCreating and editing command files . . . . . . . . . . . . . . .
xxiiLog files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
xxiiiEditing log files . . . . . . . . . . . . . . . . . . . . . . . . .
xxivSimulation command line specification format . . . . . . . . . . .
xxvSimulation command line options . . . . . . . . . . . . . . . .
xxvi
Specifying simulation command line options. . . . . . . . . .
xxviiCommands
Command reference
for PSpice and PSpice A/D . . . . . . . . . . . . . . . . . . . . .
30.AC (AC analysis) . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
32
.ALIASES, .ENDALIASES
(aliases and endaliases) . . . . . . . . . . . . . . . . . . . . . . .
33.DC (DC analysis) . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
34Linear sweep . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
35
Logarithmic sweep . . . . . . . . . . . . . . . . . . . . . . . . . . .
35
Nested sweep . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
36.DISTRIBUTION (user-defined distribution) . . . . . . . . . . . . . . .
37Deriving updated parameter values . . . . . . . . . . . . . . . . . .
37Usage example . . . . . . . . . . . . . . . . . . . . . . . . . .
38.END (end of circuit) . . . . . . . . . . . . . . . . . . . . . . . . . . . .
39
.EXTERNAL (external port) . . . . . . . . . . . . . . . . . . . . . . . .
40
.FOUR (Fourier analysis) . . . . . . . . . . . . . . . . . . . . . . . . .
41
.FUNC (function) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
42
.IC (initial bias point condition) . . . . . . . . . . . . . . . . . . . . . .
43
.INC (include file) . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
44
.LIB (library file) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
45
.LOADBIAS (load bias point file) . . . . . . . . . . . . . . . . . . . . .
46
.MC (Monte Carlo analysis) . . . . . . . . . . . . . . . . . . . . . . . .
47
.MODEL (model definition) . . . . . . . . . . . . . . . . . . . . . . . .
50Parameters for setting temperature . . . . . . . . . . . . . . . . . . .
53Model parameters for device temperature . . . . . . . . . . . .
53
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
53
ContentsSpecial considerations. . . . . . . . . . . . . . . . . . . . . . .
54.NODESET (set approximate node voltage for bias point) . . . . . . . .
55
.NOISE (noise analysis) . . . . . . . . . . . . . . . . . . . . . . . . . .
56
.OP (bias point) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
58
.OPTIONS (analysis options) . . . . . . . . . . . . . . . . . . . . . . .
59Flag options . . . . . . . . . . . . . . . . . . . . . . . . . . . .
59
Option with a name as its value . . . . . . . . . . . . . . . . . .
60
Numerical options with their default values . . . . . . . . . . .
61PSpice A/D digital simulation condition messages . . . . . . . . . .
63.PARAM (parameter) . . . . . . . . . . . . . . . . . . . . . . . . . . . .
65
.PLOT (plot) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
66
.PRINT (print) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
68
.PROBE (Probe) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
69DC Sweep and transient analysis output variables . . . . . . . . . . .
70Multiple-terminal devices . . . . . . . . . . . . . . . . . . . . . .
71AC analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
73
Noise analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
74.SAVEBIAS (save bias point to file) . . . . . . . . . . . . . . . . . . . .
75Usage examples . . . . . . . . . . . . . . . . . . . . . . . . . .
76.SENS (sensitivity analysis) . . . . . . . . . . . . . . . . . . . . . . . .
78
.STEP (parametric analysis) . . . . . . . . . . . . . . . . . . . . . . . .
79Usage examples . . . . . . . . . . . . . . . . . . . . . . . . . . . .
81.STIMLIB (stimulus library file) . . . . . . . . . . . . . . . . . . . . . .
82
.STIMULUS (stimulus) . . . . . . . . . . . . . . . . . . . . . . . . . .
83
.SUBCKT (subcircuit) . . . . . . . . . . . . . . . . . . . . . . . . . . .
84
.ENDS (end subcircuit) . . . . . . . . . . . . . . . . . . . . . . . . . . .
84Usage examples . . . . . . . . . . . . . . . . . . . . . . . . . . . .
86.TEMP (temperature) . . . . . . . . . . . . . . . . . . . . . . . . . . . .
87
.TEXT (text parameter) . . . . . . . . . . . . . . . . . . . . . . . . . . .
88
.TF (transfer) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
89
.TRAN (transient analysis) . . . . . . . . . . . . . . . . . . . . . . . . .
90
.VECTOR (digital output) . . . . . . . . . . . . . . . . . . . . . . . . .
92
.WATCH (watch analysis results) . . . . . . . . . . . . . . . . . . . . .
94
.WCASE (sensitivity/worst-case analysis) . . . . . . . . . . . . . . . . .
95
* (comment) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
99
; (in-line comment) . . . . . . . . . . . . . . . . . . . . . . . . . . . .
100
+ (line continuation) . . . . . . . . . . . . . . . . . . . . . . . . . . .
101
Differences between PSpice and Berkeley SPICE2 . . . . . . . . . . .
102Analog devices
Analog devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
106
Device types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
107Analog device summary . . . . . . . . . . . . . . . . . . . . . . .
107GaAsFET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
110Capture parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
111Setting operating temperature . . . . . . . . . . . . . . . . . . .
111Model parameters . . . . . . . . . . . . . . . . . . . . . . . . . .
112GaAsFET model parameters for all levels . . . . . . . . . . . .
112
GaAsFET model parameters specific to model levels . . . . . .
1134
ContentsAuxiliary model parameters BTRK, DVT, and DVTT . . . . . .
116GaAsFET equations . . . . . . . . . . . . . . . . . . . . . . . . .
117GaAsFET equations for DC current: all levels . . . . . . . . . .
117
GaAsFET equations for DC current: specific to model levels . .
118
GaAsFET equations for capacitance . . . . . . . . . . . . . . .
123
GaAsFET equations for temperature effect . . . . . . . . . . .
125
GaAsFET equations for noise. . . . . . . . . . . . . . . . . . .
126References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
127Capacitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
128Capture parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
129Breakout parts . . . . . . . . . . . . . . . . . . . . . . . . . . .
129Capacitor model parameters . . . . . . . . . . . . . . . . . . . . .
130
Capacitor equations . . . . . . . . . . . . . . . . . . . . . . . . . .
130Capacitor value formula. . . . . . . . . . . . . . . . . . . . . .
130
Capacitor equation for noise . . . . . . . . . . . . . . . . . . .
130Diode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
131Capture parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
132Setting operating temperature . . . . . . . . . . . . . . . . . . .
132Diode model parameters . . . . . . . . . . . . . . . . . . . . . . .
133
Diode equations . . . . . . . . . . . . . . . . . . . . . . . . . . .
134Diode equations for DC current . . . . . . . . . . . . . . . . .
134
Diode equations for capacitance . . . . . . . . . . . . . . . . .
134
Diode equations for noise . . . . . . . . . . . . . . . . . . . . .
135References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
135Diode equations for temperature effects . . . . . . . . . . . . .
135Voltage-controlled voltage source . . . . . . . . . . . . . . . . . . . .
136
Voltage-controlled current source . . . . . . . . . . . . . . . . . . . .
136Basic SPICE polynomial expressions (POLY) . . . . . . . . . . . .
138Basic controlled source properties . . . . . . . . . . . . . . . .
138
Implementation examples . . . . . . . . . . . . . . . . . . . . .
139Current-controlled current source . . . . . . . . . . . . . . . . . . . .
141
Current-controlled voltage source . . . . . . . . . . . . . . . . . . . .
141Basic SPICE polynomial expressions (POLY) . . . . . . . . . . . .
141Independent current source & stimulus . . . . . . . . . . . . . . . . .
142
Independent voltage source & stimulus . . . . . . . . . . . . . . . . .
142Independent current source & stimulus (EXP) . . . . . . . . . . . .
144Independent current source and stimulus
exponential waveform formulas . . . . . . . . . . . . .
144Independent current source & stimulus (PULSE) . . . . . . . . . .
145Independent current source and stimulus
pulse waveform formulas . . . . . . . . . . . . . . . . .
146Independent current source & stimulus (PWL) . . . . . . . . . . .
147
Independent current source & stimulus (SFFM) . . . . . . . . . .
150
Independent current source & stimulus (SIN) . . . . . . . . . . . .
151Independent current source and stimulus
sinusoidal waveform formulas . . . . . . . . . . . . . .
152Junction FET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
153Capture parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
154Setting operating temperature . . . . . . . . . . . . . . . . . . .
1545
ContentsModel parameters . . . . . . . . . . . . . . . . . . . . . . . . . .
155
JFET equations . . . . . . . . . . . . . . . . . . . . . . . . . . . .
156JFET equations for DC current . . . . . . . . . . . . . . . . . .
157
JFET equations for capacitance . . . . . . . . . . . . . . . . . .
158
JFET equations for temperature effects . . . . . . . . . . . . . .
159
JFET equations for noise . . . . . . . . . . . . . . . . . . . . .
159Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
159Inductor coupling (and magnetic core) . . . . . . . . . . . . . . . . . .
160
Transmission line coupling . . . . . . . . . . . . . . . . . . . . . . . .
160Inductor coupling
. . . . . . . . . . . . . . . . . . . . . . . .
161Capture parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
163Breakout parts . . . . . . . . . . . . . . . . . . . . . . . . . . .
163
Inductor coupling: Jiles-Atherton model . . . . . . . . . . . . .
165Inductor coupling model parameters . . . . . . . . . . . . . . . .
165Including air-gap effects in the inductor coupling model. . . . .
166
Getting core inductor coupling model values . . . . . . . . . . .
167Transmission line coupling . . . . . . . . . . . . . . . . . . . . . .
167Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
168
Lossy lines . . . . . . . . . . . . . . . . . . . . . . . . . . . .
168References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
169Inductor
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
170Capture parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
171Breakout parts . . . . . . . . . . . . . . . . . . . . . . . . . . .
172Inductor equations . . . . . . . . . . . . . . . . . . . . . . . . . .
173Inductance value formula . . . . . . . . . . . . . . . . . . . . .
173
Inductor equation for noise . . . . . . . . . . . . . . . . . . . .
173Inductor model parameters . . . . . . . . . . . . . . . . . . . . . .
173MOSFET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
174Capture parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
177Setting operating temperature . . . . . . . . . . . . . . . . . . .
177MOSFET model parameters . . . . . . . . . . . . . . . . . . . . .
178For all model levels . . . . . . . . . . . . . . . . . . . . . . . .
178
Model levels 1, 2, and 3 . . . . . . . . . . . . . . . . . . . . . .
178
Model level 4 . . . . . . . . . . . . . . . . . . . . . . . . . . .
178
Model level 5 (EKV version 2.6) . . . . . . . . . . . . . . . . .
179
Model level 6 (BSIM3 version 2.0) . . . . . . . . . . . . . . . .
181
Model level 7 (BSIM3 version 3.1) . . . . . . . . . . . . . . . .
181
MOSFET model parameters . . . . . . . . . . . . . . . . . . .
184MOSFET Equations . . . . . . . . . . . . . . . . . . . . . . . . .
198MOSFET equations for DC current. . . . . . . . . . . . . . . .
199
MOSFET equations for capacitance . . . . . . . . . . . . . . .
200
MOSFET equations for temperature effects . . . . . . . . . . .
201
MOSFET equations for noise . . . . . . . . . . . . . . . . . .
202References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
203Bipolar transistor . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
204Capture parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
205Setting operating temperature . . . . . . . . . . . . . . . . . . .
205Bipolar transistor model parameters . . . . . . . . . . . . . . . . .
206Distribution of the CJC capacitance . . . . . . . . . . . . . . .
2086
ContentsBipolar transistor equations . . . . . . . . . . . . . . . . . . . . .
209Bipolar transistor equations for DC current. . . . . . . . . . . .
210
Bipolar transistor equations for capacitance . . . . . . . . . . .
211
Bipolar transistor equations for quasi-saturation effect . . . . .
212
Bipolar transistor equations for temperature effect . . . . . . .
213
Bipolar transistor equations for noise . . . . . . . . . . . . . .
214References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
214Resistor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
215Capture parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
215Breakout parts . . . . . . . . . . . . . . . . . . . . . . . . . . .
216Resistor model parameters . . . . . . . . . . . . . . . . . . . . . .
217
Resistor equations . . . . . . . . . . . . . . . . . . . . . . . . . .
218Resistor value formulas . . . . . . . . . . . . . . . . . . . . . .
218
Resistor equation for noise . . . . . . . . . . . . . . . . . . . .
218Voltage-controlled switch . . . . . . . . . . . . . . . . . . . . . . . .
219Capture parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
220Ideal switches . . . . . . . . . . . . . . . . . . . . . . . . . . .
220Voltage-controlled switch model parameters . . . . . . . . . . . .
220Special considerations. . . . . . . . . . . . . . . . . . . . . . .
220Voltage-controlled switch equations . . . . . . . . . . . . . . . . .
221Voltage-controlled switch equations for switch resistance . . . .
222
Voltage-controlled switch equation for noise . . . . . . . . . . .
222Transmission line . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
223Ideal line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
224
Lossy line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
225
Capture parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
226Ideal and lossy transmission lines. . . . . . . . . . . . . . . . .
226
Coupled transmission lines . . . . . . . . . . . . . . . . . . . .
227
Simulating coupled lines . . . . . . . . . . . . . . . . . . . . .
228
Simulation considerations. . . . . . . . . . . . . . . . . . . . .
228Transmission line model parameters . . . . . . . . . . . . . . . . .
229
References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
230Independent voltage source & stimulus . . . . . . . . . . . . . . . . .
231
Current-controlled switch . . . . . . . . . . . . . . . . . . . . . . . .
232Capture parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
233Ideal switches . . . . . . . . . . . . . . . . . . . . . . . . . . .
233Current-controlled switch model parameters . . . . . . . . . . . . .
234Special considerations. . . . . . . . . . . . . . . . . . . . . . .
234Current-controlled switch equations . . . . . . . . . . . . . . . . .
234Current-controlled switch equations for switch resistance . . . .
235
Current-controlled switch equation for noise . . . . . . . . . . .
235Subcircuit instantiation . . . . . . . . . . . . . . . . . . . . . . . . . .
236
IGBT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
237Capture parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
238Setting operating temperature . . . . . . . . . . . . . . . . . . .
238IGBT device parameters . . . . . . . . . . . . . . . . . . . . . . .
239
IGBT model parameters . . . . . . . . . . . . . . . . . . . . . . .
240
IGBT equations . . . . . . . . . . . . . . . . . . . . . . . . . . . .
241IGBT equations for DC current . . . . . . . . . . . . . . . . . .
2427
ContentsIGBT equations for capacitance . . . . . . . . . . . . . . . . .
243References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
244Digital devices
Digital device summary . . . . . . . . . . . . . . . . . . . . . . . . .
246
Digital primitive summary . . . . . . . . . . . . . . . . . . . . . . . .
247General digital primitive format . . . . . . . . . . . . . . . . . . .
250
Timing models . . . . . . . . . . . . . . . . . . . . . . . . . . . .
252Treatment of unspecified propagation delays . . . . . . . . . . .
252
Treatment of unspecified timing constraints . . . . . . . . . . .
253Gates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
254Standard gates . . . . . . . . . . . . . . . . . . . . . . . . . . .
255
Standard gate timing model parameters. . . . . . . . . . . . . .
257
Tristate gates . . . . . . . . . . . . . . . . . . . . . . . . . . .
258
Tristate gate types . . . . . . . . . . . . . . . . . . . . . . . . .
259
Tristate gate timing model parameters . . . . . . . . . . . . . .
260
Bidirectional transfer gates . . . . . . . . . . . . . . . . . . . .
261Flip-flops and latches . . . . . . . . . . . . . . . . . . . . . . . . .
264Initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . .
264
Timing violations . . . . . . . . . . . . . . . . . . . . . . . . .
264
Edge-triggered flip-flops . . . . . . . . . . . . . . . . . . . . .
265
Edge-triggered flip-flop timing model parameters . . . . . . . .
267
Edge-triggered flip-flop truth tables DFF and JKFF
. . . .
268Edge-triggered flip-flop truth tables DFFDE and JKFFDE. . . .
269
Gated latch . . . . . . . . . . . . . . . . . . . . . . . . . . . .
270
Gated latch truth tables . . . . . . . . . . . . . . . . . . . . . .
272Pullup and pulldown . . . . . . . . . . . . . . . . . . . . . . . . .
273
Delay line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
274
Programmable logic array . . . . . . . . . . . . . . . . . . . . . .
275
Read only memory . . . . . . . . . . . . . . . . . . . . . . . . . .
279
Random access read-write memory . . . . . . . . . . . . . . . . .
283
Multi-bit A/D and D/A converter . . . . . . . . . . . . . . . . . .
286Multi-bit analog-to-digital converter . . . . . . . . . . . . . . .
287
Multi-bit digital-to-analog converter . . . . . . . . . . . . . . .
289Behavioral primitives . . . . . . . . . . . . . . . . . . . . . . . . .
291Logic expression . . . . . . . . . . . . . . . . . . . . . . . . .
292
Pin-to-pin delay . . . . . . . . . . . . . . . . . . . . . . . . . .
295
Constraint checker . . . . . . . . . . . . . . . . . . . . . . . .
304Stimulus devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
310Stimulus generator . . . . . . . . . . . . . . . . . . . . . . . . . .
311Time units . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
312
Stimulus generator examples . . . . . . . . . . . . . . . . . . .
313File stimulus . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
317Stimulus file format . . . . . . . . . . . . . . . . . . . . . . . .
317
Transition format . . . . . . . . . . . . . . . . . . . . . . . . .
318
File stimulus device . . . . . . . . . . . . . . . . . . . . . . . .
319Input/output model . . . . . . . . . . . . . . . . . . . . . . . . . . . .
322Input/output model parameters . . . . . . . . . . . . . . . . . . .
322Digital/analog interface devices . . . . . . . . . . . . . . . . . . . . .
3248
ContentsDigital input (N device) . . . . . . . . . . . . . . . . . . . . . . .
324Digital input model parameters . . . . . . . . . . . . . . . . . .
325Digital output (O Device) . . . . . . . . . . . . . . . . . . . . . .
328Digital output model parameters . . . . . . . . . . . . . . . . .
328Digital model libraries . . . . . . . . . . . . . . . . . . . . . . . . .
3327400-series TTL and CMOS library files . . . . . . . . . . . . . .
333
4000-series CMOS library . . . . . . . . . . . . . . . . . . . . . .
333
Programmable array logic devices . . . . . . . . . . . . . . . . . .
334Customizing device equations
Introduction to Device Equations . . . . . . . . . . . . . . . . . . . .
336
Making device model changes . . . . . . . . . . . . . . . . . . . . . .
337Changing a parameter name . . . . . . . . . . . . . . . . . . . . .
338
Giving a parameter an alias . . . . . . . . . . . . . . . . . . . . .
338
Adding a parameter . . . . . . . . . . . . . . . . . . . . . . . . . .
338
Changing the device equations . . . . . . . . . . . . . . . . . . . .
339Functional subsections of the device source file . . . . . . . . .
340Adding a new device . . . . . . . . . . . . . . . . . . . . . . . . .
341
Specifying new internal device structure . . . . . . . . . . . . . . .
342Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
342
Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
343Recompiling and linking the
Device Equations option . . . . . . . . . . . . . . . . . . . . .
345Personalizing your DLL . . . . . . . . . . . . . . . . . . . . . . .
345Simulating with the Device Equations option . . . . . . . . . . . . . .
346Selecting which models to use from a Device Equations DLL . . .
346GlossaryIndex9
Contents10
Document Outline
- Contents
- How to Use This Online Manual
- Commands
- Analog devices
- Digital devices
- Customizing device equations
- Glossary
- Index
- How to Use This Online Manual
- How to print this online manual
- Welcome to OrCAD
- Overview
- Typographical conventions
- Command syntax formats
- Numeric value conventions
- Numeric expression conventions
- Command line options for OrCAD applications
- Command files
- Log files
- Simulation command line specification format
- Commands
- Command reference for PSpice and PSpice A/D
- .AC(ACanalysis)
- .ALIASES,.ENDALIASES (aliases and endaliases)
- .DC(DCanalysis)
- Linear sweep
- Logarithmic sweep
- Nested sweep
- .DISTRIBUTION(user-defineddistribution)
- Deriving updated parameter values
- .END(endofcircuit)
- .EXTERNAL(externalport)
- .FOUR(Fourieranalysis)
- .FUNC(function)
- .IC(initialbiaspointcondition)
- .INC(includefile)
- .LIB(libraryfile)
- .LOADBIAS(loadbiaspointfile)
- .MC(MonteCarloanalysis)
- .MODEL(model definition)
- Parametersforsettingtemperature
- .NODESET(setapproximatenode voltagefor biaspoint)
- .NOISE(noiseanalysis)
- .OP(biaspoint)
- .OPTIONS(analysisoptions)
- PSpice A/D digital simulation condition messages
- .PARAM(parameter)
- .PLOT(plot)
- .PRINT(print)
- .PROBE(Probe)
- DC Sweep and transient analysis output variables
- AC analysis
- Noise analysis
- .SAVEBIAS(savebiaspointtofile)
- .SENS(sensitivityanalysis)
- .STEP(parametricanalysis)
- .STIMLIB(stimuluslibraryfile)
- .STIMULUS(stimulus)
- .SUBCKT (subcircuit)
- .ENDS(end subcircuit)
- .TEMP(temperature)
- .TEXT(text parameter)
- .TF(transfer)
- .TRAN(transient analysis)
- .VECTOR(digital output)
- .WATCH(watch analysis results)
- .WCASE(sensitivity/worst-case analysis)
- *(comment)
- ;(in-linecomment)
- +(linecontinuation)
- Differences between PSpice and Berkeley SPICE2
- Analog devices
- Analog devices
- Device types
- Analog device summary (continued)
- GaAsFET
- Capture parts
- Model parameters
- GaAsFET equations
- References
- Capacitor
- Capture parts
- Capacitor model parameters
- Capacitor equations
- Diode
- Capture parts
- Diode model parameters
- Diode equations
- References
- Voltage-controlled voltage source
- Voltage-controlled current source
- Basic SPICE polynomial expressions (POLY)
- Current-controlled current source
- Current-controlled voltage source
- Basic SPICE polynomial expressions (POLY)
- Independent current source & stimulus
- Independent voltage source & stimulus
- Independent current source & stimulus (EXP)
- Independent current source & stimulus (PULSE)
- Independent current source & stimulus (PWL)
- Independent current source & stimulus (SFFM)
- Independent current source & stimulus (SIN)
- Junction FET
- Capture parts
- Model parameters
- JFET equations
- Reference
- Inductor coupling (and magnetic core)
- Transmission line coupling
- Inductor coupling
- Capture parts
- Inductor coupling model parameters
- Transmission line coupling
- References
- Inductor
- Capture parts
- Inductor model parameters
- Inductor equations
- MOSFET
- Capture parts
- MOSFET model parameters
- MOSFET Equations
- References
- Bipolar transistor
- Capture parts
- Bipolar transistor model parameters
- Bipolar transistor equations
- References
- Resistor
- Capture parts
- Resistor model parameters
- Resistor equations
- Voltage-controlled switch
- Capture parts
- Voltage-controlled switch model parameters
- Voltage-controlled switch equations
- Transmission line
- Ideal line
- Lossy line
- Capture parts
- Transmission line model parameters
- References
- Independent voltage source & stimulus
- Current-controlled switch
- Capture parts
- Current-controlled switch model parameters
- Current-controlled switch equations
- Subcircuit instantiation
- IGBT
- Capture parts
- IGBT device parameters
- IGBT model parameters
- IGBT equations
- References
- Digital devices
- Digital device summary
- Digital primitive summary
- General digital primitive format
- Timing models
- Gates
- Flip-flops and latches
- Pullup and pulldown
- Delay line
- Programmable logic array
- Read only memory
- Random access read-write memory
- Multi-bit A/D and D/A converter
- Behavioral primitives
- Stimulus devices
- Stimulus generator
- File stimulus
- Input/output model
- Input/output model parameters (continued)
- Digital/analog interface devices
- Digital input (N device)
- Digital output (O Device)
- Digital model libraries
- 7400-series TTL and CMOS library files
- 4000-series CMOS library
- Programmable array logic devices
- Customizing device equations
- Introduction to Device Equations
- Making device model changes
- Changing a parameter name
- Giving a parameter an alias
- Adding a parameter
- Changing the device equations
- Adding a new device
- Specifying new internal device structure
- Recompiling and linking the Device Equations option
- Simulating with the Device Equations option
- Selecting which models to use from a Device Equations DLL
- Glossary
- Index
- Numerics
- A
- B
- C
- D
- E
- F
- G
- H
- I
- J
- K
- L
- M
- N
- O
- P
- Q
- R
- S
- T
- U
- V
- W
- X
- Z
Add New Comment