How does one do .MEASURE in Spectre ?

Status
Not open for further replies.

analogTechie

Junior Member level 1
Joined
Nov 2, 2004
Messages
15
Helped
3
Reputation
6
Reaction score
0
Trophy points
1,281
Location
USA
Activity points
170
spectre measure

Hi All,

Greetings!

Can anyone help with measuring propagation delay in Spectre ?

In HSPICE, one can do the following, for instance:

.MEAS TPLH TRIG PAR('V(2)-0.5*VDD') VAL=0 FALL=1
+ TARG PAR('V(3)-0.5*VDD') VAL=0 RISE=1

How can we make the same measurement in Spectre ?
I hear there is a deltax command but I cannot find it in either the User
Guide or the Ref Manual.

Thanks,
 

spectre mdl

Spectre's tools :calculator, there incude many useful mathmatical operation, just like the data post operation in Hspice
 

measure statements in spectre

Flamingo,

Thanks for the response.

I am using the command line interface to run spectre. I am not running it
within the Cadence Analog Design Environment. So to run spectre I give the
command

spectre filename.scs

Then I use the -format nutbin option to generate a .raw file which I can view
using a smartspice postprocessor. So I do not have access to spectre's
calculator.

Coming back to my original question, you can put .measure statements in your
HSPICE deck. Isn't there some equivalent command that you can put in your
spectre deck ?

thanks. all assistance is appreciated greatly.
 

measureing delay in cadence spectre

Hi,

As far as I know,there are two methods to solve the measurement problem in Spectre. One is to use verilog-a model, the other is to resort to OCEAN(Open Command Environment for Analysis). Attached is a tutorial about verilog-a;you can google for OCEAN tutorial.

Hope it helps.

regards,
jordan76
 

Attachments

  • spectre_tut_149.pdf
    179.4 KB · Views: 617

spectre measurement

You can use the tool :Spice Exp
 

cadence spectre .measure

is there any way to automatizate the measurement using calculator, i have not found any script language manual.

and please, how can i plot differential waves????

that is all thx
 

spectre .measure

You can using command :

spectrespp *.sp

directly, and spectre will create a file *.mdl to transform spice .measure and run, the rusult output file styled *.measure. But it seems just work for tran, ac, and dc analysis, not ready for pss and pac..(or there's newer version released?)

Added after 13 minutes:

morecode1234567890 said:
is there any way to automatizate the measurement using calculator, i have not found any script language manual.

and please, how can i plot differential waves????

that is all thx

You can use Cadence Analog Environment to indicate output waveform by calculator, and save by Session-->Save State; just load the state while running you circuit.
 

run spectre command line

use ocean, you can run spectre and measure many parameters.
 

.measure spectre

morecode1234567890 said:
is there any way to automatizate the measurement using calculator, i have not found any script language manual.

and please, how can i plot differential waves????

that is all thx

You can add the expression to the "Setup Outputs" form. E.g.:
Name: VIN
Expression: VT("/VINP")-VT("/INN")
 

spectre measure to file

I think you can not use it in spectra but spectre is power enough in graph interface
 

spectre meas

The full potential of spectre is only utilized when one uses a graphical interface. There are many people preparing to respond to this opening sentence.

I say to them that a very small minority of IC designers are good at OCEAN/SKILL scripting and it is prob. not the right thing to send a newbie into this whirlpool.

In the graphical mode, one can get a lot more work done with spectre, given the same proficiency level. Sorry Hspice/Eldo users! You need a cad specialist on site to setup you geeky scripts (typos anyone)

Learning SKILL/OCEAN as you go along is a worthwhile endeavor though, for it allows the same benefits as scripting does.

I think i am going in circles.
 

mdl spectre programing

hi, I just need one piece of lines using OCEAN to get a Y value from a waveform giving the X value.

Thanks
 

measure in spectre

 
Re: measure in spectre

 

Re: spectre measure


In my spectre (version 6.2 from 2007) I can just put in spice .measure commands enclosed by simulator lang directives in the spectre netlist:

Code:
simulator lang=spice
.MEAS  TPLH  TRIG   PAR('V(2)-0.5*VDD')  VAL=0  FALL=1  TARG  PAR('V(3)-0.5*VDD')  VAL=0  RISE=1
simulator lang=spectre
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…