The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Simulators >> Circuit Simulators >> Need help on PTV mebedded single deck
https://designers-guide.org/forum/YaBB.pl?num=1179220224

Message started by kiran123 on May 15th, 2007, 2:10am

Title: Need help on PTV mebedded single deck
Post by kiran123 on May 15th, 2007, 2:10am

Hi Experts,

       I am doing spectreMDL PTV based simulations i.e 3 PTV (fast,cold,normal) in same deck as listed below (File1.scs) ( i have just embedded deck and MDL code in same file for simplicity) but for slow and strong i observed there is difference of getting value if i use standalone SpectreMDL deck as shown by File2.scs.

 Can  anybody let me know is there any declaration error  in the File1.scs

Best Regards
Kiran Kumar

/-----------------------------------------------------------------------------------------------------------------------------
/-----------------------------------     File1.scs     -------------------------------------------------------------------------
/-----------------------------------------------------------------------------------------------------------------------------
simulator lang=spectre
global 0

include "Models_tt.scs"

include "INV.scs"


parameters  VA=1.2
parameters  VH=3.3
parameters  Temp=25
OP_TT  options temp=Temp

vvdds (VDDS VSS) vsource type=dc dc=VH
vvss (VSS 0  ) vsource type=dc dc=0
va (IN  0  ) vsource type=dc dc=0

X1 ( OUT VDDS VSS IN ) INV

dc_sweep dc print=yes

save IN  OUT  VDDS VSS Isour:currents Vsour:currents

ff_for altergroup {
parameters  Temp=-40
include "Models_ff.scs"
parameters VA =1.32
parameters VH =3.6
}
//dc_sweep_FF dc print=yes

ss_for altergroup {
parameters  Temp=125
include "Models_ss.scs"
parameters VA =1.08
parameters VH =3.0
}

//dc_sweep_SS dc print=yes


////******************** ************************///////
////****************  MDL File *****************///////
////******************** **********************///////


alias measurement VOH {                                                                                
   export real Voh

   run dc_sweep
    Voh = max(V(OUT))
}


run dc_sweep
run VOH as VOH_TYP                                                                              

run  ss_for
run VOH as VOH_SLOW                                                                              

run  ff_for
run VOH as VOH_FAST                                            
/************************************* END ***********************************/


/-----------------------------------------------------------------------------------------------------------------------------
/-----------------------------------     File2.scs     -------------------------------------------------------------------------
/-----------------------------------------------------------------------------------------------------------------------------

simulator lang=spectre
global 0

include "Models_ss.scs"

include "INV.scs"


parameters  VA=1.08
parameters  VH=3.0
parameters  Temp=125
OP_TT  options temp=Temp

vvdds (VDDS VSS) vsource type=dc dc=VH
vvss (VSS 0  ) vsource type=dc dc=0
va (IN  0  ) vsource type=dc dc=0

X1 ( OUT VDDS VSS IN ) INV

dc_sweep dc print=yes

save IN  OUT  VDDS VSS Isour:currents Vsour:currents


////******************** ************************///////
////****************  MDL File *****************///////
////******************** **********************///////


alias measurement VOH {                                                                                
   export real Voh

   run dc_sweep
    Voh = max(V(OUT))
}


run VOH

Title: Re: Need help on PTV mebedded single deck
Post by ywguo on Jun 4th, 2007, 8:12pm

Hi, Kiran,

That is interesting. What is the difference?


Thanks
Yawei

Title: Re: Need help on PTV mebedded single deck
Post by kiran123 on Jun 5th, 2007, 1:06am


ywguo wrote on Jun 4th, 2007, 8:12pm:
Hi, Kiran,

That is interesting. What is the difference?


Thanks
Yawei


Hi Yawei,
   
       It nice to see one response after a long time since i posted this , here  i have pasted the data

using "File1.scs" ( 3 corner simulations in same deck )
Measurement Name   :  VOH_TYP
Voh                =  2.93726

Measurement Name   :  VOH_SLOW
Voh                =  2.54443

Measurement Name   :  VOH_FAST
Voh                =  3.29538


using "File2.scs" the weak corner simulations results
Measurement Name   :  VOH
Voh                =  2.40291


you can see the difference of values of Slow corner is significant , so i am just expecting what is the currect way of declaration of corner simulations (if want to define coner to corner PTV)

Thanks & Regards
Kiran

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