User`s guide

Contents v
Part Two Desi
g
n Entr
y
Preparin
g
a Schematic for SimulationChapter 3
Chapter Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
Checklist for Simulation Setup . . . . . . . . . . . . . . . . . . . . . . . . . 3-2
Typical Simulation Setup Steps . . . . . . . . . . . . . . . . . . . . . . . 3-2
Advanced Design Entry and Simulation Setup Steps . . . . . . . . . . . . 3-4
When Netlisting Fails or the Simulation
Does Not Start . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
Things to check in your schematic . . . . . . . . . . . . . . . . . . . 3-5
Things to check in your system configuration . . . . . . . . . . . . . 3-6
Using Parts That You Can Simulate . . . . . . . . . . . . . . . . . . . . . . . 3-7
Vendor-Supplied Parts . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-8
Part naming conventions . . . . . . . . . . . . . . . . . . . . . . . . 3-8
Finding the part that you want . . . . . . . . . . . . . . . . . . . . . 3-9
Passive Parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-11
Breakout Parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-12
Behavioral Parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-13
Using Global Parameters and Expressions for Values . . . . . . . . . . . . . 3-14
Global Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-14
Declaring and using a global parameter . . . . . . . . . . . . . . . . 3-14
Expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-16
Specifying expressions . . . . . . . . . . . . . . . . . . . . . . . . . 3-16
Defining Power Supplies . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-21
For the Analog Portion of Your Circuit . . . . . . . . . . . . . . . . . . . 3-21
For A/D Interfaces in Mixed-Signal Circuits . . . . . . . . . . . . . . . . 3-21
Default digital power supplies . . . . . . . . . . . . . . . . . . . . . 3-21
Custom digital power supplies . . . . . . . . . . . . . . . . . . . . . 3-21
Defining Stimuli . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-23
Analog Stimuli . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-23
Using VSTIM and ISTIM . . . . . . . . . . . . . . . . . . . . . . . . 3-24
If you want to specify multiple stimulus types . . . . . . . . . . . . . 3-25
Digital Stimuli . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-26
Things to Watch For . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-28
Unmodeled Parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-28
Do this if the part in question is from the MicroSim libraries . . . . . 3-28
Check for this if the part in question is custom-built . . . . . . . . . . 3-30
Unconfigured Model, Stimulus, or Include Files . . . . . . . . . . . . . . 3-30
Check for this . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-31
Unmodeled Pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-31
Check for this . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-32