User`s guide

xiv Contents
Di
g
ital SimulationChapter 14
Chapter Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-1
What Is Digital Simulation? . . . . . . . . . . . . . . . . . . . . . . . . . . 14-2
Steps for Simulating Digital Circuits . . . . . . . . . . . . . . . . . . . . . . 14-2
Concepts You Need to Understand . . . . . . . . . . . . . . . . . . . . . . 14-3
States . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-3
Strengths . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-4
Defining a Digital Stimulus . . . . . . . . . . . . . . . . . . . . . . . . . . 14-5
Using Top-Level Interface Ports . . . . . . . . . . . . . . . . . . . . . . 14-6
Ways to start editing stimuli for interface ports . . . . . . . . . . . . 14-6
Using the DIGSTIM Symbol . . . . . . . . . . . . . . . . . . . . . . . 14-8
Defining Input Signals Using the Stimulus Editor . . . . . . . . . . . . . 14-8
Defining clock transitions . . . . . . . . . . . . . . . . . . . . . . . 14-8
Defining signal transitions . . . . . . . . . . . . . . . . . . . . . . . 14-9
Defining bus transitions . . . . . . . . . . . . . . . . . . . . . . . . 14-11
Adding loops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-14
Using the DIGCLOCK Symbol . . . . . . . . . . . . . . . . . . . . . . 14-16
Using STIM1, STIM4, STIM8, and STIM16 Symbols . . . . . . . . . . 14-16
Using the FILESTIM Device . . . . . . . . . . . . . . . . . . . . . . . 14-18
Defining Simulation Time . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-20
Adjusting Simulation Parameters . . . . . . . . . . . . . . . . . . . . . . . 14-20
Selecting Propagation Delays . . . . . . . . . . . . . . . . . . . . . . . 14-21
Circuit-wide propagation delays . . . . . . . . . . . . . . . . . . . . 14-21
Part instance propagation delays . . . . . . . . . . . . . . . . . . . 14-21
Initializing Flip-Flops . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-22
Starting the Simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-22
Analyzing Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-23
Adding Digital Signals to a Probe Plot . . . . . . . . . . . . . . . . . . 14-24
Adding Buses to a Probe Plot . . . . . . . . . . . . . . . . . . . . . . . 14-26
Tracking Timing Violations and Hazards . . . . . . . . . . . . . . . . . 14-28
Persistent hazards . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-28
Simulation condition messages . . . . . . . . . . . . . . . . . . . . 14-30
Output control options . . . . . . . . . . . . . . . . . . . . . . . . . 14-33
Severity levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-33
Mixed Analo
g
/Di
g
ital SimulationChapter 15
Chapter Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-1
Interconnecting Analog and Digital Parts . . . . . . . . . . . . . . . . . . . 15-1
Interface Subcircuit Selection by PSpice A/D . . . . . . . . . . . . . . . . . 15-3
Level 1 Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-4
Level 2 Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-5