spectre-MDL file: noise measurements

J

Jos

Guest
Hi,

I'm trying to create a measurement statement in a spectreMDL file to
measure the noise at a certain frequency, but I don't succeed.

The example below lists the code which I use to extract the gain at
10Hz in dB, and the input referred noise at 1kHz.
However, only the GAIN is reported, the noise-measurement-statements do
no work. Spectre does execute the noise analysis, but does not give the
requested results, nor does it report any errors.

Should I reference the input referred noise in a different way? I
cannot find a noise-example in the MDL-manual.

Can anyone help me on this?
Thanks
Jos

--------------- MDL part ------------------
alias measurement acrun {
run ac
export real GAIN
GAIN = db(mag(V(va)))@10
}

alias measurement noiserun {
run noise
export real TEST2
TEST2=in@1k
export real TEST3
TEST3=mag(in)@1k
}

run acrun
run noiserun
--------------- MDL part ------------------
 

Welcome to EDABoard.com

Sponsor

Back
Top