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

Message started by jobless on Jan 12th, 2007, 5:51am

Title: how to convert spectre netlist to hspice netlist
Post by jobless on Jan 12th, 2007, 5:51am

is there a way to convert spectre netlist into hspice ?

Title: Re: how to convert spectre netlist to hspice netli
Post by Andrew Beckett on Jan 12th, 2007, 5:57am

The easiest way would be to write a perl script, but in IC610, you could use File->Import->SPICE (I think that's the menu) which can create a real schematic from a spectre netlist, and then you could netlist that in the hspiceD interface in ADE.

Regards,

Andrew.

Title: Re: how to convert spectre netlist to hspice netli
Post by simon2 on Sep 20th, 2007, 4:29pm

... try this in Wordpad (although for some search and replace functions, Word might be better)

***************************************************************************
***      Spectre            to       Hspice
***      //                               **
***      \                                <return> +
***      Inn                              Xnn
***      subckt                        .sub
***      ends                          .ends
***      resistor r=                  (empty)
***      capacitor c=               (empty)
***      sa, sb, sca, scb           (comment out)      NB: ignored in Spectre & Hspice
***      scc in MOS                  (comment out)      NB: ignored in Spectre & Hspice
***      (Vdc3/2)                     'Vdc3/2'                 brackets ( ) to single quotes ' '
***      Rnn n1 n2 rppolywo     XRnn n1 n2 rppolywo
***************************************************************************

You may have to write a subckt for XRnn depending on the foundry model files you are using.

I find the above covers most cases.

Cheers,
           SimonH.

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