The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl Simulators >> Circuit Simulators >> hspice to spectre model conversion https://designers-guide.org/forum/YaBB.pl?num=1295981979 Message started by jazzdup on Jan 25th, 2011, 10:59am |
Title: hspice to spectre model conversion Post by jazzdup on 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. |
Title: Re: hspice to spectre model conversion Post by Geoffrey_Coram on 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. |
Title: Re: hspice to spectre model conversion Post by bernd on 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=ApplicationNotes/Custom_IC_Design/BSIM3V3.X_MOSFET_Model_Compatibility_HSPICE.pdf which may help. * |
Title: Re: hspice to spectre model conversion Post by jazzdup on 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. |
Title: Re: hspice to spectre model conversion Post by Geoffrey_Coram on Jan 26th, 2011, 9:58am Are you using a recent version of Spectre? |
Title: Re: hspice to spectre model conversion Post by bernd on 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. * |
Title: Re: hspice to spectre model conversion Post by Ken Kundert on 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:
If is says 'fileformat=unix' then this is not the problem. If it doesn't, you should type Code:
and the save the file with Code:
-Ken |
Title: Re: hspice to spectre model conversion Post by Andrew Beckett on 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. |
The Designer's Guide Community Forum » Powered by YaBB 2.2.2! YaBB © 2000-2008. All Rights Reserved. |