working with cadence

38
Beginners’ Working with Cadence using GUI Dipankar Pal Dept. of EEE & EI BI!"Pilani# $. $. Birla Goa Ca%pus ' (une to )* (ul )*,

Upload: samyak-dhole

Post on 24-Feb-2018

227 views

Category:

Documents


1 download

TRANSCRIPT

7/25/2019 Working With Cadence

http://slidepdf.com/reader/full/working-with-cadence 1/38

Beginners’ Workingwith Cadence using GUI

Dipankar Pal

Dept. of EEE & EI

BI!"Pilani# $. $. Birla GoaCa%pus

' (une to )* (ul )*,

7/25/2019 Working With Cadence

http://slidepdf.com/reader/full/working-with-cadence 2/38

 To start Cadence:

 

• Open the terminal

• On the prompt type:csh

 (enter)

• On the next prompt type: source 

cshrc (enter)

• On the next prompt type: -irtuoso

& (enter)

7/25/2019 Working With Cadence

http://slidepdf.com/reader/full/working-with-cadence 3/38

After the irtuoso Editor/-irtuoso 0.*.,.

log12ho%e2)*342CD!.log5 window opens up, the beginner

should rst create a new li6rar+ and attach it to an existing

technolog+ li6rar+

7/25/2019 Working With Cadence

http://slidepdf.com/reader/full/working-with-cadence 4/38

 To open a new 7i6rar+:

 rom the tool6ar (top) clic! on7i6rar+ 9anager" #ext, fromthe window that pops up, selectthe option to open a new

7i6rar+" $i%e it a name, say&:+;'"

7/25/2019 Working With Cadence

http://slidepdf.com/reader/full/working-with-cadence 5/38

Option to attach with an

existing li6rar+ will appear"

 The system installed in $oa

campus oers a number of

technolog+ li6raries  to

attach new li6rar+ (&:+;') to"

or beginners gpdk)3,  is an

7/25/2019 Working With Cadence

http://slidepdf.com/reader/full/working-with-cadence 6/38

 The next logical step

would be to open a new

cell -iew under the newly

created 7i6rar+ (in this

case &:+;')"

7/25/2019 Working With Cadence

http://slidepdf.com/reader/full/working-with-cadence 7/38

or this clic! on the newly created7i6rar+  (in this case &:+;') from

the 7i6rar+ 9anager window

elect new cell"-iew  option"#ame the cell"-iew"

*t is recommended to gi%e meaningful namessuch as &7ogic Gates', &D"<lip <lop',&Co%%on !ource !tage' and the li!e so that ata later time (when many cell"-iews2 li6raries 

would ha%e been created), one can identify which

7/25/2019 Working With Cadence

http://slidepdf.com/reader/full/working-with-cadence 8/38

Cell"iew can be of sche%atic 

or la+out (or e:tracted)"

 The beginner would do the

simulation as a rst post+design

tas! and hence should selectsche%atic"

7/25/2019 Working With Cadence

http://slidepdf.com/reader/full/working-with-cadence 9/38

At this stage new cell"-iew (e"g" &C9=! In-erter') will

open up"

 The user can now enter

herhis design on the

7/25/2019 Working With Cadence

http://slidepdf.com/reader/full/working-with-cadence 10/38

To enter an instance (e"g", a -Oor ./T, a 0apacitor or a source

etc") use either 6indke+s or clic!

on the icons a%ailable"

The 6indke+ &i' is for inserting an

instance"

7/25/2019 Working With Cadence

http://slidepdf.com/reader/full/working-with-cadence 11/38

 To select a de%ice scroll o%er theli6raries  and select the

appropriate one" ome commonli6raries are:

gpdk)3,: for selecting -O,

./T etc" (of dierent types)

analog li6: for selecting passi%e

components (resistor,capacitor), sources  (such as

DC, IDC, I!I>, PU7!E  etc"

7/25/2019 Working With Cadence

http://slidepdf.com/reader/full/working-with-cadence 12/38

After instances are entered,

next logical step is toconnect them by a wire"

 The 6indke+ /w5 or the icon for it can be used"

 The connection is usually made bydragging the wire with the left click   of%ouse  and releasing it upon reachingdestination (

node) to be connected)"

7/25/2019 Working With Cadence

http://slidepdf.com/reader/full/working-with-cadence 13/38

1sing the edit"option /fro% the

drop"down %enu5 the user can

%o-e# cop+ ...  the instances2 

part(s) or whole of the circuit"

To t the circuit in the centre the

6indke+ f can be used"

7/25/2019 Working With Cadence

http://slidepdf.com/reader/full/working-with-cadence 14/38

After the design is completed andentered, it should be sa-ed under the cell"-iew  with theclick  of the icon to sa%e"

*f there are errors  or warnings,the same will be indicated on thecell -iew by ?ickering light on

the section where errorwarning exists. 

 The next logical step is

7/25/2019 Working With Cadence

http://slidepdf.com/reader/full/working-with-cadence 15/38

 To si%ulate:

rom the tool6ar, the 7aunch icon has to be clicked" rom the

drop down menu, select the

@nalog Design En-iron%ent 

(@DE7) option" A new window

called @nalog Design

7/25/2019 Working With Cadence

http://slidepdf.com/reader/full/working-with-cadence 16/38

echnolog+ Ale  of acti-e 

de-ices  used in design isautomatically linked  (as

concerned technolog+ li6rar+  is

already attached to user2s li6rar+" 

A crosschec! is done by clicking on to %odel li6raries  in drop

down %enu  under set"up  in

7/25/2019 Working With Cadence

http://slidepdf.com/reader/full/working-with-cadence 17/38

1nder the same drop down%enu, clic!ing on  to si%ulator2

director2host.  user should

also nd the option &spectre'

acti%e"

7/25/2019 Working With Cadence

http://slidepdf.com/reader/full/working-with-cadence 18/38

ome common types of anal+sis 

a beginner has to do include:

ransient @nal+sis: this does

the ti%e do%ain anal+sis  and

gi%es the output beha%ior(-oltage current  etc") %ersus

ti%e"

7/25/2019 Working With Cadence

http://slidepdf.com/reader/full/working-with-cadence 19/38

DC @nal+sis: this gi%es the

6iasing infor%ation  (dc sweep 

etc")

@C @nal+sis1 this does

freuenc+ do%ain anal+sis and

i%es information such as ain as

7/25/2019 Working With Cadence

http://slidepdf.com/reader/full/working-with-cadence 20/38

To do transient anal+sis  user

has to rst clic! on the @nal+sis 

icon  (from the tool6ar  of @DE7 

window), then select transient

anal+sis  option from Choose

@nal+sis"

7/25/2019 Working With Cadence

http://slidepdf.com/reader/full/working-with-cadence 21/38

or transient anal+sis, start andstop ti%e are to be entered" The

period of input pulse freuencyof input sine wa-e  decides it"1ser may also li!e to specify step

si;e, step  nu%6er  and t+pe  ofsweep  of (-oltage, current, 4)

li!e linear, logarith%ic,auto%atic 4"

This is done in the same window 

7/25/2019 Working With Cadence

http://slidepdf.com/reader/full/working-with-cadence 22/38

#ext from the output  icon  of

@DE7 window the output to beplotted are to be selected"

1sually node current and net

-oltages  are selected by

clicking on concerned node or

7/25/2019 Working With Cadence

http://slidepdf.com/reader/full/working-with-cadence 23/38

inally, the green  (pla+ icon) is

to be clicked  to start si%ulation" Alternati%ely one

can clic! on !i%ulation icon  of

@DE7 window and select run"

*f there are no errors, si%ulation 

will be successful and

7/25/2019 Working With Cadence

http://slidepdf.com/reader/full/working-with-cadence 24/38

5xample of DC @nal+sis  is study

of %ariation of ID  with respect to

D! (or DD) in a 9=!"

 To do dc anal+sis  user has to

rst clic! on the @nal+sis  icon 

(from the tool6ar  of @DE7 

window), then select dc anal+sis 

7/25/2019 Working With Cadence

http://slidepdf.com/reader/full/working-with-cadence 25/38

#ext the -aria6le to be swept  is

selected, e"g", D!  (or DD) in

aforesaid case" To select -aria6le 

from cell"-iew, user is to click  on

the -aria6le icon from tool6ar of

@DE7 window"

A new window  will pop up" The

user has to select the

7/25/2019 Working With Cadence

http://slidepdf.com/reader/full/working-with-cadence 26/38

The range  of sweep  (e"g", the

%ini%u% and %a:i%u% %alue of

DC (or DD) is also to be entered"

The user may also li!e to specify

the step si;e, nu%6er and t+pe 

(linear, logarith%ic, auto%atic 

4) in the window  by entering 

appropriate -alue  or by selecting

6 l d i

7/25/2019 Working With Cadence

http://slidepdf.com/reader/full/working-with-cadence 27/38

#ow output to 6e plotted  is to

be selected" /ust li!e the case of

transient anal+sis, here too

node current  and or net-oltage  are selected from cell"

-iew"

This is done by clic!ing output 

7/25/2019 Working With Cadence

http://slidepdf.com/reader/full/working-with-cadence 28/38

As before, the green  (pla+ icon)

can be clicked  to start 

si%ulation" Alternati%ely one can

clic! on !i%ulation icon of @DE7 

window and select run"

*f there are no errors, si%ulation 

will be successful and wa-efor%s 

7/25/2019 Working With Cadence

http://slidepdf.com/reader/full/working-with-cadence 29/38

Para%etric @nal+sis To get information on stable biaspoints, 3uiescent points etc", it

becomes necessary to plot on thesame window a chain of cur%es"

5"g", it is common to plot ID %ersusD!  for %arying G!" *n 0adence

this is done by para%etric

T d t i l i th

7/25/2019 Working With Cadence

http://slidepdf.com/reader/full/working-with-cadence 30/38

To do para%etric anal+sis, thepara%eter  to be %aried o%er a

range  is gi%en a -aria6le na%e and an arbitrary -alue" 5"g", usermay gi%e a -aria6le na%e, say,

G!  to suppl+ -oltage  (DC) that

is connected between gate  and

source"

aria6le na%e  is gi%en to the

instance  (   in this case) by

7/25/2019 Working With Cadence

http://slidepdf.com/reader/full/working-with-cadence 31/38

To assign an arbitrary %alue, user

has to go to -aria6le icon  from

tool6ar  of @DE7 window  and

from the list that appears in drop

down %enu, set a %alue to

# t t i t t t l i

7/25/2019 Working With Cadence

http://slidepdf.com/reader/full/working-with-cadence 32/38

#ext step is to go to tools icon 

from tool6ar %enu  of @DE7

window" A drop down %enu will

appear from where user has toclick   on para%etric anal+sis" A

new window will appear" *n this

window user has to select %ariable

7/25/2019 Working With Cadence

http://slidepdf.com/reader/full/working-with-cadence 33/38

*n options table that appears,

enter  %ini%u%  and %a:i%u% -alue  or range  o%er which the

para%eter  is %aried" 1ser may

also li!e to specify step t+pe 

(linear, logarith%ic, auto%atic 

4), si;e, or nu%6er of steps"

After ma!ing appropriate selection

7/25/2019 Working With Cadence

http://slidepdf.com/reader/full/working-with-cadence 34/38

After ma!ing appropriate selection

as per re3uirement, user may

click   on green icon  (pla+ sign)

from para%etric anal+sis 

window"

5xample of @C @nal+sis  is:fre3uency domain beha%ior of

circuits" To do @C @nal+sis user

7/25/2019 Working With Cadence

http://slidepdf.com/reader/full/working-with-cadence 35/38

#ext the freuenc+ range  is

selected + usually from * to *))9 (h6)"

1nder output option user can go

to calculator  and select

para%eter to be %iewed (e"g", for

gain, ratio of output node

7/25/2019 Working With Cadence

http://slidepdf.com/reader/full/working-with-cadence 36/38

.efore running  the si%ulation,

user has to assign appropriate%alue to input  (in freuenc+

do%ain)"

This is done by selecting instance 

and going to properties#  then

assigning appropriate -alue to

para%eter (e"g", ac %agnitude)"

#ow as earlier green (pla+

7/25/2019 Working With Cadence

http://slidepdf.com/reader/full/working-with-cadence 37/38

#ow, as earlier, green  (pla+

icon) is clicked  to start 

si%ulation" Alternati%ely one can

clic! on !i%ulation icon of @DE7 window and select run"

*f there are no errors, si%ulation 

will be successful and the

7/25/2019 Working With Cadence

http://slidepdf.com/reader/full/working-with-cadence 38/38

 e  f u n

  w i t h  C a

 d e n c e