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
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
analogTechie said: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.
Hi
You can't perform directly the .measurement in spectre how you declare in Hpice and SPICE within deck(signle file) the reason here the measurement is done seperately as below
1) from the simulation ersults using waveform viewer u can select the calculator
( there you will see many functions)
2) else to direct dumping of the value in a file using MDL approach
if you are using command line spectre run you can give spectre mdl run to compute that value as below
spectremdl -b file1.mdl -d file2.scs
where file2.scs ----> is your deck
file1.mdl ----> is your mdl file ( sample is pasted below to use your purpose just change the simulation name "run ANA_tran_TT" ANA_tran_TT with your transient analysis name )
the results will be displayed in "file1.measure" always it is better to give same name file1 = file2
Hope this helps your need
//***********************************************
alias measurement Tr_Tf_Delay {
//Variable declaration of real type
export real Fall_Time , Rise_Time ,Delay_R ,Delay_F
//Calling Analysis name declared in deck
run ANA_tran_TT
// Fall, Rise , Rise Delay, Fall Delay measurement
Fall_Time = falltime(V(OUT),1,0,theta1=90,theta2=10)
Rise_Time = risetime(V(OUT),0,1,theta1=10,theta2=90)
Delay_R = deltax( sig1=V(IN), dir1='rise, thresh1=0.5*VDD,\
sig2=V(OUT), dir2='rise, thresh2=0.5*VDD )
Delay_F = deltax( sig1=V(IN), dir1='fall, thresh1=0.5*VDD,\
sig2=V(OUT), dir2='fall, thresh2=0.5*VDD )
}
// Running the Function declared in MDL file
run Tr_Tf_Delay
kumar123 said:analogTechie said: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.
Hi
You can't perform directly the .measurement in spectre how you declare in Hpice and SPICE within deck(signle file) the reason here the measurement is done seperately as below
1) from the simulation ersults using waveform viewer u can select the calculator
( there you will see many functions)
2) else to direct dumping of the value in a file using MDL approach
if you are using command line spectre run you can give spectre mdl run to compute that value as below
spectremdl -b file1.mdl -d file2.scs
where file2.scs ----> is your deck
file1.mdl ----> is your mdl file ( sample is pasted below to use your purpose just change the simulation name "run ANA_tran_TT" ANA_tran_TT with your transient analysis name )
the results will be displayed in "file1.measure" always it is better to give same name file1 = file2
Hope this helps your need
//***********************************************
alias measurement Tr_Tf_Delay {
//Variable declaration of real type
export real Fall_Time , Rise_Time ,Delay_R ,Delay_F
//Calling Analysis name declared in deck
run ANA_tran_TT
// Fall, Rise , Rise Delay, Fall Delay measurement
Fall_Time = falltime(V(OUT),1,0,theta1=90,theta2=10)
Rise_Time = risetime(V(OUT),0,1,theta1=10,theta2=90)
Delay_R = deltax( sig1=V(IN), dir1='rise, thresh1=0.5*VDD,\
sig2=V(OUT), dir2='rise, thresh2=0.5*VDD )
Delay_F = deltax( sig1=V(IN), dir1='fall, thresh1=0.5*VDD,\
sig2=V(OUT), dir2='fall, thresh2=0.5*VDD )
}
// Running the Function declared in MDL file
run Tr_Tf_Delay
I use the new MDL like this:
spectre =mdl *.mdl #.scs
if *=#, then auto produce one *(#).measure file
But, if it can not produce, how to reslove?
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,
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
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?