The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
May 5th, 2024, 9:36am
Pages: 1
Send Topic Print
How to add .lib to Cadence as like Hspice? (Read 877 times)
newic
Senior Member
****
Offline



Posts: 138

How to add .lib to Cadence as like Hspice?
Aug 10th, 2011, 11:35pm
 
how could cadence ADE to have .lib function as in the hspice? I know cadence can only include the file, but not choosing the variable in .lib (eg: term_ss in this case)

in hspice, users can make lib setting easily as below:

in the spice deck:
.lib 'my_setting.lib'  term_ss

content in my_setting.txt
.lib term_ss
vvar   var1 0  0
......
......
.endl

.lib term_ff
vvar var1 0  vcc
......
......
endl

Back to top
 
 
View Profile   IP Logged
ywguo
Community Fellow
*****
Offline



Posts: 943
Shanghai, PRC
Re: How to add .lib to Cadence as like Hspice?
Reply #1 - Aug 13th, 2011, 6:30pm
 
include "/process/smic_5.0/smic18/smic18mmrf1833.c.1/smic18mmrf/../models/spectre/ms018_
v1p9_spe.lib" section=tt
include "/process/smic_5.0/smic18/smic18mmrf1833.c.1/smic18mmrf/../models/spectre/ms018_
v1p9_spe.lib" section=bjt_tt
include "/process/smic_5.0/smic18/smic18mmrf1833.c.1/smic18mmrf/../models/spectre/ms018_
v1p9_spe.lib" section=res_tt
include "/process/smic_5.0/smic18/smic18mmrf1833.c.1/smic18mmrf/../models/spectre/ms018_
v1p9_spe.lib" section=mom_tt
include "/process/smic_5.0/smic18/smic18mmrf1833.c.1/smic18mmrf/../models/spectre/ms018_
v1p9_spe.lib" section=var_tt
Back to top
 
 
View Profile   IP Logged
newic
Senior Member
****
Offline



Posts: 138

Re: How to add .lib to Cadence as like Hspice?
Reply #2 - Aug 14th, 2011, 5:23pm
 
the .lib is used for param setting instead of library setting. I know how to set library seting in ADE & Hspice.

I want to use .lib to choose param ( a group of setting usually)
Back to top
 
 
View Profile   IP Logged
ywguo
Community Fellow
*****
Offline



Posts: 943
Shanghai, PRC
Re: How to add .lib to Cadence as like Hspice?
Reply #3 - Aug 14th, 2011, 6:01pm
 
Don't forget you have already define a group of parameter in library section. That is a part of a library.

Usually some parameters are defined in model file. So you can choose a group of parameter with library setup.
Back to top
 
 
View Profile   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.