The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
May 3rd, 2024, 4:58am
Pages: 1
Send Topic Print
hspice to spectre model conversion (Read 6680 times)
jazzdup
New Member
*
Offline



Posts: 2

hspice to spectre model conversion
Jan 25th, 2011, 10:59am
 
Hello, I have a level=49 hspice model and need to convert to a spectre-readable model. Any advice? Thanks.
Back to top
 
 
View Profile   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1998
Massachusetts, USA
Re: hspice to spectre model conversion
Reply #1 - Jan 26th, 2011, 5:42am
 
Did you try just running it straight?  The Cadence folks on this board often mention Spectre's ability to read (H)Spice syntax; for a single model, I would expect it to work.
Back to top
 
 

If at first you do succeed, STOP, raise your standards, and stop wasting your time.
View Profile WWW   IP Logged
bernd
Senior Member
****
Offline



Posts: 229
Munich/Germany
Re: hspice to spectre model conversion
Reply #2 - Jan 26th, 2011, 6:21am
 
You may try the Cadence command line tool 'spp'.
There is also an old App. Note on SourceLink (http://support.cadence.com)
'BSIM3V3.X MOSFET Model Compatibility:
HSPICE Level 49 - Spectre BSIM3V3.X'
http://support.cadence.com/wps/mypoc/cos?uri=deeplinkmin:DocumentViewer;src=wp;q...
which may help.

* bernd
Back to top
 
 

Just another lonesome cad guy
View Profile WWW   IP Logged
jazzdup
New Member
*
Offline



Posts: 2

Re: hspice to spectre model conversion
Reply #3 - Jan 26th, 2011, 8:16am
 
Thanks to all who replied.
Running it straight without modification throws an error at the level=49 specification.
We did try the spp command but that threw an error as well after the second line. The error msg was not helpful, something about an 'unexpected new line character after VERSION ='. There wasn't a new line character on that line.
I'll the cadence app note and give it another shot. Thanks again.
Back to top
 
 
View Profile   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1998
Massachusetts, USA
Re: hspice to spectre model conversion
Reply #4 - Jan 26th, 2011, 9:58am
 
Are you using a recent version of Spectre?
Back to top
 
 

If at first you do succeed, STOP, raise your standards, and stop wasting your time.
View Profile WWW   IP Logged
bernd
Senior Member
****
Offline



Posts: 229
Munich/Germany
Re: hspice to spectre model conversion
Reply #5 - Jan 27th, 2011, 5:08am
 
It might be useful to check the model syntax definition as
well. An unexpected new line error might result form a missing
'+' as new line indicator or a missing '\' as a end of line
statement.

* bernd
Back to top
 
 

Just another lonesome cad guy
View Profile WWW   IP Logged
Ken Kundert
Global Moderator
*****
Offline



Posts: 2384
Silicon Valley
Re: hspice to spectre model conversion
Reply #6 - Jan 27th, 2011, 8:27am
 
If the file came from a different operating system it might be using a different convention for newllines. You might try opening it in vim and typing
Code:
:set fileformat 


If is says 'fileformat=unix' then this is not the problem. If it doesn't, you should type
Code:
:set fileformat=unix 


and the save the file with
Code:
:wq 



-Ken

Back to top
 
 
View Profile WWW   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

Life, don't talk to
me about Life...

Posts: 1742
Bracknell, UK
Re: hspice to spectre model conversion
Reply #7 - Jan 30th, 2011, 1:23pm
 
As Geoffrey asked, are you using a recent version of spectre (if so, what is it?). Ken's point is valid too (although I think that's handled OK nowadays, but I didn't check).

I wouldn't recommend using spp. This is obsolete and has not be maintained for maybe 6 years or so. The supported flow is to read the model directly in spectre. Ideally if it's in SPICE syntax, make sure the file name it is included in does not end in ".scs" (which means spectre syntax by default), and then it should behave.

Maybe you can show the error message you're getting?

Regards,

Andrew.
Back to top
 
 
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.