The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 22nd, 2024, 4:27pm
Pages: 1
Send Topic Print
Need help on PTV mebedded single deck (Read 2084 times)
kiran123
Community Member
***
Offline



Posts: 42

Need help on PTV mebedded single deck
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
Back to top
 
 
View Profile   IP Logged
ywguo
Community Fellow
*****
Offline



Posts: 943
Shanghai, PRC
Re: Need help on PTV mebedded single deck
Reply #1 - Jun 4th, 2007, 8:12pm
 
Hi, Kiran,

That is interesting. What is the difference?


Thanks
Yawei
Back to top
 
 
View Profile   IP Logged
kiran123
Community Member
***
Offline



Posts: 42

Re: Need help on PTV mebedded single deck
Reply #2 - 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
Back to top
 
 
View Profile   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.