Analog fault simulation using Spectre

V

vedank

Guest
Hi,

I want to use spectre (from command line) for analog fault simulation.
I have a spectre netlist file (e.g. input.scs) which contains some
values in terms of parameters. (e.g. R1 = 1000*a, C1 = b*1e-6) Now i
want to have a file which will have the fault list(e.g. a=1 b=1, a=1.5
b=1, a=1 b=1.5, a=0.8 b=1.2 ...) Spectre should take this file and
simulate the same circuit (input.scs) the required number of times,
each time taking the specified set of values of a and b.

Is this possible, and if yes, how? I am using spectre 5.0.

--
Vedank Tripathi
M.Tech. (Reliability Engineering)
IIT Bombay,
India
 
what you are describing is called "parameters" in spectre jargon.
iterating over a set of parameter is called a "sweep" in spectre jargon,
or a "parametric analysis" in analog design environment.

try doing spectre -h sweep

to take the input from a file, put the sweep definition in an include file



vedank wrote:
Hi,

I want to use spectre (from command line) for analog fault simulation.
I have a spectre netlist file (e.g. input.scs) which contains some
values in terms of parameters. (e.g. R1 = 1000*a, C1 = b*1e-6) Now i
want to have a file which will have the fault list(e.g. a=1 b=1, a=1.5
b=1, a=1 b=1.5, a=0.8 b=1.2 ...) Spectre should take this file and
simulate the same circuit (input.scs) the required number of times,
each time taking the specified set of values of a and b.

Is this possible, and if yes, how? I am using spectre 5.0.

--
Vedank Tripathi
M.Tech. (Reliability Engineering)
IIT Bombay,
India
 
Hi Vedank,
You can use parametric analysis option available in Spectre tool. Keep R
and C as variables in schematic view and copy these variable in Analog
Design Enviornment Window. After that, use the following steps-

Tools--> Parametric Analysis...
and give the variaable names and sweep range with steps.

Meghna
 
In particular you probably want to create a paramset and then
sweep that. You'd do something like this:

mydata paramset {
a b
1 1
1.5 1
1 1.5
0.8 1.2
....
}

datasweep sweep paramset=mydata {
// analyses within the sweep
tran tran stop=1u
ac ac start=10 stop=1G dec=20
}

Andrew.

On Fri, 11 Mar 2005 11:39:49 +0100, "S. Badel"
<stephane.badel@REMOVETHISepfl.ch> wrote:

what you are describing is called "parameters" in spectre jargon.
iterating over a set of parameter is called a "sweep" in spectre jargon,
or a "parametric analysis" in analog design environment.

try doing spectre -h sweep

to take the input from a file, put the sweep definition in an include file



vedank wrote:
Hi,

I want to use spectre (from command line) for analog fault simulation.
I have a spectre netlist file (e.g. input.scs) which contains some
values in terms of parameters. (e.g. R1 = 1000*a, C1 = b*1e-6) Now i
want to have a file which will have the fault list(e.g. a=1 b=1, a=1.5
b=1, a=1 b=1.5, a=0.8 b=1.2 ...) Spectre should take this file and
simulate the same circuit (input.scs) the required number of times,
each time taking the specified set of values of a and b.

Is this possible, and if yes, how? I am using spectre 5.0.

--
Vedank Tripathi
M.Tech. (Reliability Engineering)
IIT Bombay,
India
 
vedankwrote:
Hi,

I want to use spectre (from command line) for analog fault
simulation.
I have a spectre netlist file (e.g. input.scs) which contains some
values in terms of parameters. (e.g. R1 = 1000*a, C1 = b*1e-6) Now
i
want to have a file which will have the fault list(e.g. a=1 b=1,
a=1.5
b=1, a=1 b=1.5, a=0.8 b=1.2 ...) Spectre should take this file and
simulate the same circuit (input.scs) the required number of times,
each time taking the specified set of values of a and b.

Is this possible, and if yes, how? I am using spectre 5.0.

--
Vedank Tripathi
M.Tech. (Reliability Engineering)
IIT Bombay,
India


If you want to completely avoid using of any kind of scripts, just
netlist (if I understood well), you should use parametric sweep
analysis in outermost loop giving there a list of parameters (a and
b). You could give this list in include file as well (your fault list
file), just be careful about the format of data (paramset
statement).This would be much faster than generating a bunch of
different netlists and running them simultaniosly in a script.

Btw thanks for the question because you indirectly reminded me that in
include file, C macro preprocessor could be used which could be
solution to some of the problems that I have :).

greets,

Milos Stanisavljevic
 

Welcome to EDABoard.com

Sponsor

Back
Top