Вы находитесь на странице: 1из 10

Introduction Lab 1-1

Synopsys 60-I-032-BLG-005
During this lab, you will:
1. Create a HSPICE netlist
2. Use the Discovery!"S Si#ulation Inter$ace to set u%
the si#ulation
&. Use HSPICE to si#ulate the netlist
'. (iew the results in Cos#osSco%e
!$ter co#%leting this lab, you shoul) be able to:
Create an HSPICE netlist
Use the Discovery!"S Si#ulation Inter$ace
Use Cos#osSco%e to view results
Passive Devices
and Analysis
Lab Duration:
90 minutes
Learning Objectives
1
Passive Devices
and Analysis
1
Lab Duration:
90 minutes
Learning Objectives
Lab 1
Getting Started
If you need help
Use the lecture #aterial or S*+D.
!ile Locations
!ll $iles $or this lab are locate) in your ho#e )irectory, or the
HSPICE_adv_topics )irectory
Lab 1-" Introduction
Synopsys HSPICE Advanced opics
Lab 1
Instructions
#as$ 1% &reate a 'etlist
1. Create a netlist na#e) lab1_p1.cir that )escribes the circuit shown in
,igure 1.
Figure 1. Circuit for Lab1_p1
The .cir file should only contain the element definitions for the
components. Any HSPICE commands and options will be added by
the DiscoveryA!S "#I.
Introduction Lab 1-(
Synopsys HSPICE Advanced opics
Lab 1
#as$ "% )se the Discovery A*S Si+ulation
Interface to Setup an OP Analysis
1. Start Discovery !"S Si#ulation Inter$ace.
% simif &
2. Clic- on the Setup a new project icon to begin a new %ro.ect
3. Enter your %ro.ect na#e in the Project Name $iel), $or e/a#%le,
hspice_lab1, an) s%eci$y your %ro.ect location either by )irectly ty%ing in
the %ath or by using $ile browser. Clic- Finish to continue.
4. Clic- on the Create a new test icon on the right to begin your setu%. In the
Create Simulation win)ow, choose HSPICE in the Analo simulator $iel)
an) ty%e in your test na#e in the !est name $iel), $or e/a#%le, lab1_1.
Clic- Finish to continue.
". Highlight Netlist # Stimulus by clic-ing on it in the %ro.ect hierarchy
win)ow on the le$t. Clic- on the E$ternal Files tab on the right si)e. Un)er
Netlist Files, clic- on the $irst line an) s%eci$y the lab1_p1.cir netlist $ile
that you create). 0ou can clic- on the icon at the en) o$ the netlist $ile line to
browse an) select $iles.
%. 1o setu% the si#ulation, clic- on HSPICE Setup in the %ro.ect hierarchy
win)ow. 1his will highlight HSPICE setup an) the !nalysis screen will
a%%ear on the right. In the Anal&sis screen, 'peratin Point shoul) be
highlighte).
(. Un)er 'peratin point, $or the $iel) o$ Point le)el, leave it as )e$ault, which
selects all2 enter 3 in the Point time $iel). Clic- the Appl& button at the lower
right o$ the win)ow.
*. Clic- the +un button above the %ro.ect hierarchy screen, the si#ulation screen
will o%en on the right. In the Current test win)ow, a chec- shoul) be in the
bo/ ne/t to lab1_1. Un)er the Current project win)ow, clic- on the +un
button. 1his will start HSPICE an) the listing (.lis) $ile will be )is%laye) in
the Current test win)ow while the si#ulation is running.
Lab 1-, Introduction
Synopsys HSPICE Advanced opics
Lab 1
#as$ (% -ie. the Operating Point Analysis /esults
1. In the listing $ile, $in) the o%erating %oint in$or#ation $or the circuit. 0ou
shoul) see the $ollowing te/t:
operati!" poi!t i!formatio! t!om# $%.&&& temp# $%.&&&

operati!" poi!t stat's is all sim'latio! time is &.
!ode #volta"e !ode #volta"e
(&)1 # 1&.&&&& &)$ # %.&&&&
#as$ ,% 0dit the lab11p1%cir 'etlist
1. Co%y the netlist $ro# lab1_p1.cir to lab1_p$.cir.
2. !)) a ca%acitor as shown in ,igure 2.
Figure 2. Circuit for Lab1_p2
3. Change the voltage source by a))ing a 1 volt !C source to it.
Introduction Lab 1-2
Synopsys HSPICE Advanced opics
Lab 1
#as$ 2% )se the Discovery A*S Si+ulation
Interface to setup an A& Analysis
4ow you are going to setu% an !C analysis using the lab1_p$.cir $ile.
1. Create a new test un)er the sa#e %ro.ect. In the %ro.ect hierarchy screen, clic-
on the %ro.ect na#e, hspice_lab1, an) clic- the setup button.
2. Clic- on the Create a new test icon. Select HSPICE as the si#ulator. Select
HSPICE $or the ty%e o$ si#ulation. Enter a test na#e. Clic- on the Finish
button.
2. Clic- on the Create a new test icon on the right to begin your setu%. In the
Create Simulation win)ow, choose HSPICE in the Analo simulator $iel)
an) ty%e in your test na#e in the !est name $iel), $or e/a#%le, lab1_$.
Clic- Finish to continue.
3. Highlight Netlist # Stimulus by clic-ing on it in the %ro.ect hierarchy
win)ow on the le$t. Clic- on the E$ternal Files tab on the right si)e. 1he
Netlist Files screen will a%%ear on the right. Un)er Netlist Files, clic- on the
$irst line an) s%eci$y the lab15%2.cir netlist $ile that you create).
4. 1o setu% the si#ulation, clic- on HSPICE Setup in the %ro.ect hierarchy
win)ow. 1his will highlight HSPICE setup an) the !nalysis screen will
a%%ear on the right. In the Anal&sis screen clic- on AC.
". Un)er AC Anal&sis Settins, select ,eca-e $ro# the .ariation %ull )own.
S%eci$y the Num/er o0 points as 1&. Enter 1* $or the Start )alue an) 1me"
$or the Stop )alue.
Clic- the Appl& button in the lower right o$ the win)ow.
%. Clic- on the 1a)e0orm tab. Select AC $ro# the Anal&sis %ull )own. Select
)oltae $ro# the Parameter %ull )own. Select manitu-e $ro# the
Parameter .alue. In the No-e names line, enter 1 $ an) select Print.
6o to the ne/t line an) s%eci$y that the !C #agnitu)e o$ the current through
+$ an) C1 be %rinte).
(. Clic- the +un button above the %ro.ect hierarchy screen, the si#ulation screen
will o%en on the right. In the Current test win)ow, the bo/ ne/t to lab1_$
shoul) be chec-e). Un)er the Current project win)ow, clic- on the +un
button. 1his will start HSPICE an) the listing (.lis) $ile will be )is%laye) in
the Current test win)ow while the si#ulation is running.
Lab 1-3 Introduction
Synopsys HSPICE Advanced opics
Lab 1
#as$ 3% -ie. the A& Analysis /esults
1. In the listing $ile, $in) the results $ro# the .%rint state#ents in the netlist. 0ou
shoul) see the $ollowing te/t:
ac a!al,sis t!om# $%.&&& temp# $%.&&&
-
.re/ volta"e m volta"e m
1 $
1.&&&&&* 1.&&&& 011.112%m
1.$%314* 1.&&&& 011.1151m
1.%3031* 1.&&&& 011.1143m
)
)
54&.1%240* 1.&&&& $$%.$&21m
210.4$3$4* 1.&&&& 13%.1352m
1.&&&&&6 1.&&&& 1%1.5%2$m
,
6
fre/ i ma" i ma"
r$ c1
1.&&&&&* 011.112%' 4.1015'
1.$%314* 011.1151' 4.1%%&'
1.%3031* 011.1143' 0.121&'
)
)
54&.1%240* $$%.$&21' 31$.3131'
210.4$3$4* 13%.1352' 1$3.$044'
1.&&&&&6 1%1.5%2$' 1%$.31&%'
,
#as$ 4% /un &os+osScope
1. Clic- on the 1a)e0orm button in the #i))le o$ the +un screen. 1his will start
Cos#osSco%e by )e$ault. Cos#osSco%e will o%en the !C analysis %lot$ile by
)e$ault. 1he na#e o$ the $ile will be 7desi"!_!ame89
7sim'latio!_!ame8.ac3. ,or e/a#%le, the $ile na#e will be
lab1_$.ac&.
2. Plot the signal vm($)
3. Plot the signals im(c1) an) im(r$) so that they are on the sa#e %lot.
4. 7ight clic- on the 8a/is. ,ro# the !/is #enu, select scale an) lo to change
the 8a/is scale $ro# linear to logarith#ic.
Introduction Lab 1-4
Synopsys HSPICE Advanced opics
Lab 1
#as$ 5% 0dit the lab11p"%cir 'etlist
1. Co%y lab1_p$.cir to lab1_p4.cir.
2. +eave the circuit as it is an) a)) a %ulse in%ut to the voltage source, (1, as
$ollows:
Start volta"e # &
P'lse volta"e # %
:ela, # 1&!
+ise time # fall time # $&!
P'lse ;idth # %&&!
P'lse repetitio! time # $'
3. Save the $ile.
#as$ 6% )se the DIS&O-0/7 A*S Si+ulation
Interface to Setup a #ransient Analysis
4ow you are going to setu% a transient analysis using the lab1_p4.cir $ile. !gain,
you will create a new test un)er the sa#e %ro.ect.
1. In the %ro.ect hierarchy screen, clic- on the %ro.ect na#e, hspice_lab1 an)
clic- setup.
2. Clic- on the Create a new test icon on the right to begin your setu%. In the
Create Simulation win)ow, choose HSPICE in the Analo simulator $iel)
an) ty%e in your test na#e in the !est name $iel), $or e/a#%le, lab1_4.
Clic- Finish to continue.
3. Highlight Netlist # Stimulus by clic-ing on it in the %ro.ect hierarchy
win)ow on the le$t. Clic- on the E$ternal Files tab at the right si)e. Un)er
Netlist Files, clic- on the $irst line an) s%eci$y the lab1_p4.cir netlist $ile
that you create).
4. 1o setu% the si#ulation, clic- on HSPICE Setup in the %ro.ect hierarchy
win)ow. 1his will highlight HSPICE setup an) the !nalysis screen will
a%%ear on the right. In the Anal&sis screen clic- on !ransient.
". Un)er !ransient Anal&sis Settins, set the Stop time to $'S an) the
Increment to 1&!S.
Clic- the Appl& button in the lower right o$ the win)ow.
Lab 1-5 Introduction
Synopsys HSPICE Advanced opics
Lab 1
%. Clic- the 1a)e0orm tab on the HSPICE Setup win)ow. Select !+AN $ro#
the Anal&sis %ull )own. Select )oltae $ro# the Parameter %ull )own. In the
No-e names line, enter 1 $ an) select Print.
6o to the ne/t line an) s%eci$y that the current through +$ an) C1 be %rinte).
(. Clic- the +un button above the %ro.ect hierarchy screen, the si#ulation screen
will o%en on the right. In the Current test win)ow, a chec- shoul) be in the
bo/ ne/t to lab1_4. Un)er the Current project win)ow, clic- on the +un
button. 1his will start HSPICE an) the listing 9.lis: $ile will be )is%laye) in the
Current test win)ow while the si#ulation is running.
#as$ 18% -ie. the #ransient Analysis /esults
1. In the listing $ile, $in) the results $ro# the .%rint state#ents in the netlist. 0ou
shoul) see the $ollowing te/t:
tra!sie!t a!al,sis t!om# $%.&&& temp# $%.&&&

6
time volta"e volta"e
1 $
&. &. &.
1&.&&&&&! &. &.
$&.&&&&&! $.%&&& 14.3222m
4&.&&&&&! %.&&&& %&.$21%m
)
1.13&&&' &. 1&.%&%4m
1.11&&&' &. 33.5%0%m
$.&&&&&' &. 35.35%%m
,
6
time c'rre!t c'rre!t
r$ c1
&. &. &.
1&.&&&&&! &. &.
$&.&&&&&! 14.3222' $.02$$m
4&.&&&&&! %&.$21%' 0.3110m
)
1.11&&&' 33.5%0%' 9122.4&1&'
$.&&&&&' 35.35%%' 9124.241&'
Introduction Lab 1-6
Synopsys HSPICE Advanced opics
Lab 1
#as$ 11% /un &os+osScope
1. Clic- on the 1a)e0orm button in the #i))le o$ the +un screen. 1his will start
Cos#osSco%e by )e$ault. Cos#osSco%e will o%en the transient analysis
%lot$ile by )e$ault. 1he na#e o$ the $ile will be 7desi"!_!ame89
7sim'latio!_!ame8.tr&. ,or e/a#%le, the $ile na#e will be
lab1_4.tr&.
2. Plot the signals v(1) an) v($) so that they are on the sa#e %lot.
3. Plot the signals i(c1) an) i(r$) so that they are on the sa#e %lot.
4. ,ro# the tool bar, select the At 2 3easurement icon an) #easure the
#a/i#u# voltage at the out%ut an) the #a/i#u# current through resistor, +$.
Lab 1-18 Introduction
Synopsys HSPICE Advanced opics

Вам также может понравиться