The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 21st, 2024, 9:22am
Pages: 1
Send Topic Print
How to convert hspice format netlist to spectre netlist? Thanks. (Read 3000 times)
holddreams
Junior Member
**
Offline



Posts: 19

How to convert hspice format netlist to spectre netlist? Thanks.
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.
Back to top
 
 
View Profile   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1999
Massachusetts, USA
Re: How to convert hspice format netlist to spectre netlist? Thanks.
Reply #1 - 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.
Back to top
 
 

If at first you do succeed, STOP, raise your standards, and stop wasting your time.
View Profile WWW   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.