Using Spice in Lab Using Spice in Lab Practicing for Analog Practicing for Analog
ASIC DesignASIC Design
Goran JovanoviGoran Jovanović, ć,
Faculty of Electronic Faculty of Electronic Engineering Engineering
UniversityUniversity of of Niš Niš
Serbia and MontenegroSerbia and Montenegro
2038 Analog integrated circuits2038 Analog integrated circuits
ContentContent IntroductionIntroduction
Parts of Spice softwareParts of Spice software (schematic, simulator and (schematic, simulator and wave-form viewer)wave-form viewer)
Spice software on market and making choiceSpice software on market and making choice Library models and design rules for select Library models and design rules for select
technologytechnology First example: DC, Transient, AC simulation of First example: DC, Transient, AC simulation of
CMOS InverterCMOS Inverter Second example: Parametric simulation of Inverter Second example: Parametric simulation of Inverter
like Voltage Controlled Delay Linelike Voltage Controlled Delay Line Third example: Delay Locked LoopThird example: Delay Locked Loop ConclusionConclusion References References
2038 Analog integrated circuits2038 Analog integrated circuits
IntroductionIntroductionSPICE (Simulation Program with SPICE (Simulation Program with Integrated Circuit Emphasis) was Integrated Circuit Emphasis) was introduced in May 1972introduced in May 1972 by the by the University of Berkeley, California. University of Berkeley, California.
It soon became a standard for It soon became a standard for electronic circuitelectronic circuit simulation, used by simulation, used by both, the industry and the universities. both, the industry and the universities.
This fact is based on the technicalThis fact is based on the technical expertise of the developers of SPICE: expertise of the developers of SPICE: especially Prof. Pederson, and Prof. especially Prof. Pederson, and Prof. Nagel.Nagel.
ContentContent IntroductionIntroduction
Parts of Spice softwareParts of Spice software (schematic, simulator and wave-(schematic, simulator and wave-form viewer)form viewer)
Spice software on market and making choiceSpice software on market and making choice Library models and design rules for select Library models and design rules for select
technologytechnology First example: DC, Transient, AC simulation of First example: DC, Transient, AC simulation of
CMOS InverterCMOS Inverter Second example: Parametric simulation of Second example: Parametric simulation of
Inverter like Voltage Controlled Delay LineInverter like Voltage Controlled Delay Line Third example: Delay Locked LoopThird example: Delay Locked Loop ConclusionConclusion References References
2038 Analog integrated circuits2038 Analog integrated circuits
Parts of Spice softwareParts of Spice software ((schematic, simulator and wave-schematic, simulator and wave-
form viewerform viewer))Schematic
Net list
Text editor
Design Entry
Simulation
Wave-Form Viewer
view simulationresults
print simulationresults
Design entry can be generated by textual or schematic editor.
When the simulator finish its job, results is an output binary or an ascii file. For view or print simulation results is used software named as wave-form viewer.
ContentContent IntroductionIntroduction Parts of Spice softwareParts of Spice software description description (schematic, (schematic,
simulator and wave-form viewer)simulator and wave-form viewer) Spice software on market and making Spice software on market and making
choicechoice Library models and design rules for select technologyLibrary models and design rules for select technology First example: DC, Transient, AC simulation of CMOS First example: DC, Transient, AC simulation of CMOS
InverterInverter Second example: Parametric simulation of Inverter like Second example: Parametric simulation of Inverter like
Voltage Controlled Delay LineVoltage Controlled Delay Line Third example: Delay Locked LoopThird example: Delay Locked Loop ConclusionConclusion References References
2038 Analog integrated circuits2038 Analog integrated circuits
Spice software on market and Spice software on market and making choicemaking choice
There are many Spice software in the marked:
Star-Spice, Smart-Spice, Tanner T-Spice, PSpice, Intuisoft Spice,…
The professional analog designer in the most company use Synario HSpice also named like Star-Spice. This software has a superior mathematical solution and the “gold” accurate simulation.
A software for Student practice must be free and easy available. In category of free Spice software good choice is PSpice (evaluation student version).
PSpice has friendly shell with all three parts of the software (schematic, simulator and a wave-form schematic, simulator and a wave-form viewerviewer)
ContentContent IntroductionIntroduction Parts of Spice softwareParts of Spice software description description (schematic, (schematic,
simulator and wave-form viewer)simulator and wave-form viewer) Spice software on market and making choiceSpice software on market and making choice
Library models and design rules for Library models and design rules for select technologyselect technology
First example: DC, Transient, AC simulation of First example: DC, Transient, AC simulation of CMOS InverterCMOS Inverter
Second example: Parametric simulation of Inverter Second example: Parametric simulation of Inverter like Voltage Controlled Delay Linelike Voltage Controlled Delay Line
Third example: Delay Locked LoopThird example: Delay Locked Loop ConclusionConclusion References References
2038 Analog integrated circuits2038 Analog integrated circuits
Library models and design rules Library models and design rules for select technologyfor select technology
For present student practice it was used library models, level 6, for CMOS 1.2m double-metal double-poly technology
Library models and design rules Library models and design rules for select technologyfor select technology
MOS transistors attributes like:
L - channel length
W - channel width
AD, AS - drain & source diffusion area
PD, PS - drain & source diffusion perimeters
NRx – relative resistance of drain,…
…
mast be set with respect of design rules for this technology
ContentContent IntroductionIntroduction Parts of Spice softwareParts of Spice software description description (schematic, (schematic,
simulator and wave-form viewer)simulator and wave-form viewer) Spice software on market and making choiceSpice software on market and making choice Library models and design rules for select Library models and design rules for select
technologytechnology First example: First example: DC, Transient and DC, Transient and
AC simulation of CMOS InverterAC simulation of CMOS Inverter Second example: Parametric simulation of Second example: Parametric simulation of
Inverter like Voltage Controlled Delay LineInverter like Voltage Controlled Delay Line Third example: Delay Locked LoopThird example: Delay Locked Loop ConclusionConclusion References References
2038 Analog integrated circuits2038 Analog integrated circuits
First example: Inverter First example: Inverter (DC)(DC)
- Schematic editor is used for design entry.
- DC analysis setup and DC sweep setup is done.
First example: Inverter First example: Inverter (DC)(DC)
DC simulation result: Output voltage in term of voltage V2
First example: Inverter First example: Inverter (TRANSIENT)(TRANSIENT)
- Schematic editor is used for inverter design entry.
- Transient analysis setup is done.
First example: Inverter First example: Inverter (TRANSIENT)(TRANSIENT)
Transient simulation result: Input and output voltage
First example: Inverter First example: Inverter (TRANSIENT)(TRANSIENT)
Transient simulation result: Inverter power consumption
First example: Inverter (AC)First example: Inverter (AC)
- Schematic editor is used for inverter like voltage amplifier design entry.
- AC analysis setup is done.
First example: Inverter First example: Inverter (AC)(AC)
AC simulation result: Inverter amplifying [dB] in term of input frequency.Second probe cursor display maximal amplifying 27dB and first cursor display upper cutoff frequency at 595MHz.
ContentContent IntroductionIntroduction Parts of Spice softwareParts of Spice software (schematic, simulator and (schematic, simulator and
wave-form viewer)wave-form viewer) Spice software on market and making choiceSpice software on market and making choice Library models and design rules for select technologyLibrary models and design rules for select technology First example: DC, Transient, AC simulation of CMOS First example: DC, Transient, AC simulation of CMOS
InverterInverter Second example: Parametric Second example: Parametric
simulation of Inverter like Voltage simulation of Inverter like Voltage Controlled Delay LineControlled Delay Line
Third example: Delay Locked LoopThird example: Delay Locked Loop ConclusionConclusion References References
2038 Analog integrated circuits2038 Analog integrated circuits
Second example:Second example: Parametric Parametric simulation of Inverter like simulation of Inverter like
Voltage Controlled Delay LineVoltage Controlled Delay LineCircuit propagation delay time simulation for inverter with current supply.
Parameter is value of V3 voltage source.
Second example:Second example: Parametric Parametric simulation of Inverter like simulation of Inverter like
Voltage Controlled Delay LineVoltage Controlled Delay Line
Parametric transient simulation result: Input and output voltage of delay line for different
value of voltage V3 like parameter.
ContentContent IntroductionIntroduction Parts of Spice softwareParts of Spice software (schematic, simulator and (schematic, simulator and
wave-form viewer)wave-form viewer) Spice software on market and making choiceSpice software on market and making choice Library models and design rules for select Library models and design rules for select
technologytechnology First example: DC, Transient, AC simulation of First example: DC, Transient, AC simulation of
CMOS InverterCMOS Inverter Second example: Parametric simulation of Second example: Parametric simulation of
Inverter like Voltage Controlled Delay LineInverter like Voltage Controlled Delay Line Third example: Delay Locked LoopThird example: Delay Locked Loop
ConclusionConclusion References References
2038 Analog integrated circuits2038 Analog integrated circuits
Third example: Delay Locked Third example: Delay Locked LoopLoop
Also, Spice software can be used for simulation of some complex circuits like DLL.
Complete DLL circuits is consisted from:
phase detector,
charge pump,
LP filter and
voltage controlled delay line.
Phase detector who is implemented like True Single Phase Logic circuits.
Third example: Delay Locked Third example: Delay Locked LoopLoop
Classic Charge Pump circuit scheme
Four stages Voltage Controlled Delay Line circuit scheme.
Third example: Delay Locked Third example: Delay Locked LoopLoop
CLK in phasedetector
currentpump
LPfilter
updown
DC 1 DC 2 DC 3 DC n
VCDL
Hierarchical schema of DLL circuits shows interconnection between components
Control Voltage
Referent clock
Output clock
ContentContent IntroductionIntroduction Parts of Spice softwareParts of Spice software description description (schematic, (schematic,
simulator and wave-form viewer)simulator and wave-form viewer) Spice software on market and making choiceSpice software on market and making choice Library models and design rules for select technologyLibrary models and design rules for select technology First example: DC, Transient, AC simulation of CMOS First example: DC, Transient, AC simulation of CMOS
InverterInverter Second example: Parametric simulation of Inverter Second example: Parametric simulation of Inverter
like Voltage Controlled Delay Linelike Voltage Controlled Delay Line Third example: Delay Locked LoopThird example: Delay Locked Loop
ConclusionConclusion References References
2038 Analog integrated circuits2038 Analog integrated circuits
ConclusionConclusion
After six years experience of using PSpice After six years experience of using PSpice software in a laboratory practice, I can software in a laboratory practice, I can note:note: students (an absolutely beginners) can 15 students (an absolutely beginners) can 15
minutes after introduce time to start with an minutes after introduce time to start with an independent work,independent work,
45 minutes after, students usually finish their 45 minutes after, students usually finish their first simulation,first simulation,
Friendly environment enables short Friendly environment enables short training time and a clearly presentation of training time and a clearly presentation of design structure and simulation results.design structure and simulation results.
ContentContent IntroductionIntroduction Parts of Spice softwareParts of Spice software description description (schematic, (schematic,
simulator and wave-form viewer)simulator and wave-form viewer) Spice software on market and making choiceSpice software on market and making choice Library models and design rules for select technologyLibrary models and design rules for select technology First example: DC, Transient, AC simulation of CMOS First example: DC, Transient, AC simulation of CMOS
InverterInverter Second example: Parametric simulation of Inverter Second example: Parametric simulation of Inverter
like Voltage Controlled Delay Linelike Voltage Controlled Delay Line Third example: Delay Locked LoopThird example: Delay Locked Loop ConclusionConclusion
References References
2038 Analog integrated circuits2038 Analog integrated circuits
ReferencesReferences1.Avant!, Star-Hspice Manual, Release 1998.2,
July 1998
2.OrCad, PSpice reference guide, 2000.
3.San Jose State University, EE124 Web Site - Introduction to PSPICE, http://www.engr.sjsu.edu/ee124/p-intro.html