The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Simulators >> Circuit Simulators >> How to convert hspice format netlist to spectre netlist? Thanks.
https://designers-guide.org/forum/YaBB.pl?num=1224512107

Message started by holddreams on Oct 20th, 2008, 7:15am

Title: How to convert hspice format netlist to spectre netlist? Thanks.
Post by holddreams on Oct 20th, 2008, 7:15am

Hi all,

The following is a hspice format netlist.

$gm/id vs. gate overdrive
.param gs=1

vds  d  0  dc 1.5v
vgs  g  0  dc 'gs'
mn1 d  g 0 0 nch L=0.35um W=10um

.op
.dc gs 0.4v 1.2v 10mv

.probe ov =par('gs-vth(mn1)')
.probe gm_id =par('gmo(mn1)/i(mn1)')

.options post brief
.lib './ee214_hspice.txt' nominal
.end

Then how to convert the above to spectre format?
If use spp -convert <test.sp> test.scs,
the .probe ......will not be convertered.
Also if in the spectre format netlist, say test.scs,  adding
simulation lang=hspice
...
simulation lang=spectre
...


it still doesn't work.

Is there a simple way realize this?
Cause not all companies has the license of hspice,
and I don't know how to measure thing like this
.probe gm_id =par('gmo(mn1)/i(mn1)') directly!

Your helps will be great appreciated.

Title: Re: How to convert hspice format netlist to spectre netlist? Thanks.
Post by Geoffrey_Coram on Oct 20th, 2008, 11:25am

If you look around a little in this forum, maybe search on "gm", you should be able to find the spectre syntax for requesting (save) device op-pt info such as gm and id.  
 save mn1:all
might work (and/or be overkill).

BTW: I think it's simulator lang=spectre, but that's not going to help here.

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