The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Simulators >> Circuit Simulators >> spectre to spice conversion
https://designers-guide.org/forum/YaBB.pl?num=1244627881

Message started by anirban on Jun 10th, 2009, 2:58am

Title: spectre to spice conversion
Post by anirban on Jun 10th, 2009, 2:58am

Hi

I have a spectre netlist and for some verification purpose I want to convert it to spice format. Can anybody tell me how to do that? Thanks in advance

Anirban

Title: Re: spectre to spice conversion
Post by Geoffrey_Coram on Jun 11th, 2009, 6:41am

Some things are easy to convert; some things may be impossible.

Are you looking for a script to do it automatically?  Is it small enough you can do it by hand?  I assume you know how to translate
V1 (n1 n2) vsource dc=5
Are you looking for help with transistor models?

Title: Re: spectre to spice conversion
Post by anirban on Jun 11th, 2009, 9:02pm

Yeah I am looking for a script to do it automatically because it is huge parasitic netlist. It will be a great help for me.

Title: Re: spectre to spice conversion
Post by Geoffrey_Coram on Jun 12th, 2009, 10:36am

I think you need to learn perl.  I don't have a script to do what you need, though I have written several that do similar things.

Title: Re: spectre to spice conversion
Post by cmos.analogvala on Jun 13th, 2009, 9:41am

Try following command ...
spp -convert < spicenetlist.sp > spectrenietlist.scs

***  Don't omit < >  
-CA

Title: Re: spectre to spice conversion
Post by pancho_hideboo on Jun 15th, 2009, 2:11am


cmos.analogvala wrote on Jun 13th, 2009, 9:41am:
Try following command ...
spp -convert < spicenetlist.sp > spectrenietlist.scs
This is not useful at all.
See start of this thread surely. http://www.designers-guide.org/Forum/YaBB.pl?num=1244627881/0#0


anirban wrote on Jun 11th, 2009, 9:02pm:
Yeah I am looking for a script to do it automatically because it is huge parasitic netlist. It will be a great help for me.

If you have Agilent ADS, see "$HPEESOF_DIR/links/spice/perl/spectre".
There are perl scrips for translating Spectre netlists to ADSsim netlists.
However we can modify these scripts for translating Spectre netlists to HSPICE netlists

http://edocs.soco.agilent.com/display/ads2009/Netlist+Translator+for+SPICE+and+Spectre
http://edocs.soco.agilent.com/display/ads2009/Importing+a+Netlist+File
http://edocs.soco.agilent.com/display/ads2009/Advanced+Methods+for+Importing+Files

Current ADSsim can understand Spectre netlists directly, so perl scrips for translating are not used.


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