The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Simulators >> Circuit Simulators >> How to add .lib to Cadence as like Hspice?
https://designers-guide.org/forum/YaBB.pl?num=1313044508

Message started by newic on Aug 10th, 2011, 11:35pm

Title: How to add .lib to Cadence as like Hspice?
Post by newic on 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


Title: Re: How to add .lib to Cadence as like Hspice?
Post by ywguo on 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

Title: Re: How to add .lib to Cadence as like Hspice?
Post by newic on 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)

Title: Re: How to add .lib to Cadence as like Hspice?
Post by ywguo on 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.

The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.