Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[Moved again]: monte carlo simulation in hspice

Status
Not open for further replies.

lili94

Newbie level 4
Joined
Nov 6, 2015
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
47
Hi everyone,
I have a question about hspice. I want to simulate a basic ring oscillator with variation block & Monte Carlo simulation in hspice, & this is my code:


Code:
*CMOS Ring Oscillator
	
V1 vdd 0 0.9V
V2 vss 0 0V

.subckt inv vdd vss in out
 Mp1 vdd in out vdd pmos l=0.35u w=20.0u
 Mn1 vss in out vss nmos l=0.35u w=10.0u
 Cload out vss 100f
.ends


*5 stage ring
x1 vdd vss 1 2 inv
x2 vdd vss 2 3 inv
x3 vdd vss 3 4 inv
x4 vdd vss 4 5 inv
x5 vdd vss 5 1 inv



* Beta Version 


* PTM 22nm NMOS 
 
.model  nmos  nmos  level = 54


* PTM 22nm PMOS
 
.model  pmos  pmos  level = 54


.Variation
  .Global_Variation
      Parameter var=N() Y='0.8 + 0.6 * var' Z='0.5 + 0.6 * var'
      Nmos nch
  + tox =Perturb('Z')
  + leff=Perturb('Y')
  + vth0=Perturb('-6.2E-12*Y')
      Pmos pch
  + tox =Perturb('0.9*Z')
  + leff=Perturb('0.81*Y')
  + vth0=Perturb('-6.2E-12*Y')
  .End_Global_Variation

  .Local_Variation
      Parameter var=N() Y='0.7 + 0.6 * var' Z='0.5 + 0.6 * var'
      Nmos nch
  + tox =Perturb('Z')
  + leff=Perturb('Y')
  + vth0=Perturb('-6.2E-12*Y')
      Pmos pch
  + tox =Perturb('0.9*Z')
  + leff=Perturb('0.81*Y')
  + vth0=Perturb('-6.2E-12*Y')
  .End_Local_Variation
.End_Variation


.TRAN 20p 1n sweep monte=10
.print v(1) v(2) v(3) v(4)
.Measeure
.end


But when I get the results, measures for every index of monte carlo is same, all of them are same. What's my mistake???
 

results of the hspice

Hi,
It's the results of edited netlist. I highlight some of warnings & erros by making them red. I'll be thankful if there be a answer to these.:sad::cry:

Code:
 ****** HSPICE -- G-2012.06-SP1 32-BIT (Aug 27 2012) win32 ******               
 
 **warning** unknown command ".Measeure" is ignored
1****** HSPICE -- G-2012.06-SP1 32-BIT (Aug 27 2012) win32 ******               
 ******  
 *cmos ring oscillator

  ******  circuit name directory
 circuit number to circuit name directory
   number circuitname                     definition         multiplier
        0 main circuit
        1 x1.                             inv                1.00 
        2 x2.                             inv                1.00 
        3 x3.                             inv                1.00 
        4 x4.                             inv                1.00 
        5 x5.                             inv                1.00 
        6 x6.                             inv                1.00 
        7 x7.                             inv                1.00 
1****** HSPICE -- G-2012.06-SP1 32-BIT (Aug 27 2012) win32 ******               
 ******  
 *cmos ring oscillator

  ******  mos   model parameters tnom=  25.000 temp=  25.000 *****
 Model Name: nmos  
 BSIM4 Model (Level 54)
    MOBMOD = 0
    BINUNIT = 1
    PARAMCHK = 1
    CAPMOD = 2
    DIOMOD = 1
    RDSMOD = 0
    TRNQSMOD = 0
    ACNQSMOD = 0
    RBODYMOD = 1
    RGATEMOD = 1
    PERMOD = 1
    GEOMOD = 1
    RGEOMOD = 0
    FNOIMOD = 1
    TNOIMOD = 0
    IGCMOD = 1
    IGBMOD = 1
    STIMOD = 0
    VERSION =      4 
    TOXREF = 1.2e-009 
    TOXE = 1.2e-009 
    TOXP = 9e-010 
    TOXM = 1.2e-009 
    DTOX = 3e-010 
    EPSROX =    3.9 
    CDSC =      0 
    CDSCB =      0 
    CDSCD =      0 
    CIT =      0 
    NFACTOR =    2.3 
    XJ = 7.2e-009 
    VSAT = 2e+005 
    A0 =      1 
    AGS =      0 
    A1 =      0 
    A2 =      1 
    AT = 3.3e+004 
    KETA =   0.04 
    NSUB = 6e+016 
    NDEP = 1.2e+019 
    NSD = 2e+020 
    NGATE = 2e+020 
    GAMMA1 =      0 
    GAMMA2 =      0 
    VBX =      0 
    VBM =     -3 
    XT = 1.55e-007 
    K1 =    0.4 
    KT1 =  -0.11 
    KT1L =      0 
    KT2 =  0.022 
    K2 =      0 
    K3 =      0 
    K3B =      0 
    LPE0 =      0 
    LPEB =      0 
    DVTP0 = 1e-011 
    DVTP1 =    0.1 
    W0 = 2.5e-006 
    DVT0 =      1 
    DVT1 =      2 
    DVT2 =      0 
    DVT0W =      0 
    DVT1W =      0 
    DVT2W =      0 
    DROUT =    0.5 
    DSUB =  0.078 
    VTH0 = 0.5118 
    EU =   1.67 
    UA = -5e-010 
    UA1 = 4.31e-009 
    UB = 1.7e-018 
    UB1 = 7.61e-018 
    UC =      0 
    UC1 = -5.6e-011 
    U0 = 0.0181 
    UTE =   -1.5 
    VOFF =  -0.13 
    VOFFL =      0 
    MINV =   0.05 
    FPROUT =    0.2 
    PDITS =   0.01 
    PDITSD =   0.23 
    PDITSL = 2.3e+006 
    DELTA =   0.01 
    RDSW =    130 
    RDSWMIN =      0 
    RDWMIN =      0 
    RSWMIN =      0 
    RDW =     75 
    RSW =     75 
    PRWG =      0 
    PRWB =      0 
    PRT =      0 
    ETA0 = 0.0045 
    ETAB =      0 
    PCLM =   0.06 
    PDIBLC1 =  0.001 
    PDIBLC2 =  0.001 
    PDIBLCB = -0.005 
    PSCBE1 = 8.14e+008 
    PSCBE2 = 1e-007 
    PVAG = 1e-020 
    WR =      1 
    DWG =      0 
    DWB =      0 
    XW =      0 
    XWREF =      0 
    XL = -9e-009 
    XLREF = -9e-009 
    B0 =      0 
    B1 =      0 
    ALPHA0 =  0.074 
    ALPHA1 =  0.005 
    AGIDL = 0.0002 
    BGIDL = 2.1e+009 
    CGIDL = 0.0002 
    PHIN =      0 
    EGIDL =    0.8 
    AIGC =  0.012 
    BIGC = 0.0028 
    CIGC =  0.002 
    AIGSD =  0.012 
    BIGSD = 0.0028 
    CIGSD =  0.002 
    AIGBACC =  0.012 
    BIGBACC = 0.0028 
    CIGBACC =  0.002 
    AIGBINV =  0.014 
    BIGBINV =  0.004 
    CIGBINV =  0.004 
    NIGC =      1 
    NIGBINV =      3 
    NIGBACC =      1 
    NTOX =      1 
    EIGBINV =    1.1 
    PIGCD =      1 
    POXEDGE =      1 
    XRCRG1 =     12 
    TNOIA =    1.5 
    TNOIB =    3.5 
    NTNOI =      1 
    XRCRG2 =      5 
    BETA0 =     30 
    IJTHDFWD =   0.01 
    IJTHSFWD =   0.01 
    IJTHDREV =  0.001 
    IJTHSREV =  0.001 
    XJBVD =      1 
    XJBVS =      1 
    BVD =     10 
    BVS =     10 
    VFB = -1.058 
    GBMIN = 1e-010 
    RBDB =     15 
    RBPB =      5 
    RBSB =     15 
    RBPS =     15 
    RBPD =     15 
    CGSL = 2.653e-010 
    CGDL = 2.653e-010 
    CKAPPAS =   0.03 
    CKAPPAD =   0.03 
    CF = 1.278e-010 
    CLC = 1e-007 
    CLE =    0.6 
    DWC = 5e-009 
    DLC = 2e-009 
    DLCIG = 2e-009 
    DWJ =      0 
    VFBCV =     -1 
    ACDE =      1 
    MOIN =     15 
    NOFF =    0.9 
    VOFFCV =   0.02 
    DMCG =      0 
    DMCI =      0 
    DMDG =      0 
    DMCGT =      0 
    XGW =      0 
    XGL =      0 
    RSHG =    0.4 
    NGCON =      1 
    TCJ =  0.001 
    TPB =  0.005 
    TCJSW =  0.001 
    TPBSW =  0.005 
    TCJSWG =  0.001 
    TPBSWG =  0.005 
    SK0 =      0 
    SK1 =      0 
    SK2 =      0 
    SL = 2e-006 
    SW = 2e-006 
    K =      0 
    TNOM =  300.1 
    CGSO = 6.5e-011 
    CGDO = 6.5e-011 
    CGBO = 2.56e-011 
    XPART =      0 
    RSH =      5 
    JSS = 0.0001 
    JSWS = 1e-011 
    JSWGS = 1e-010 
    PBS =      1 
    MJS =    0.5 
    PBSWS =      1 
    MJSWS =   0.33 
    CJS = 0.0005 
    CJSWS = 5e-010 
    NJS =      1 
    PBSWGS =      1 
    MJSWGS =   0.33 
    CJSWGS = 3e-010 
    XTIS =      3 
    JSD = 0.0001 
    JSWD = 1e-011 
    JSWGD = 1e-010 
    PBD =      1 
    MJD =    0.5 
    PBSWD =      1 
    MJSWD =   0.33 
    CJD = 0.0005 
    CJSWD = 5e-010 
    NJD =      1 
    PBSWGD =      1 
    MJSWGD =   0.33 
    CJSWGD = 5e-010 
    XTID =      3 
    LMLT =      1 
    WMLT =      1 
    LINT = 2e-009 
    LL =      0 
    LLC =      0 
    LLN =      1 
    LW =      0 
    LWC =      0 
    LWN =      1 
    LWL =      0 
    LWLC =      0 
    LMIN =      0 
    LMAX =      1 
    WINT = 5e-009 
    WL =      0 
    WLC =      0 
    WLN =      1 
    WW =      0 
    WWC =      0 
    WWN =      1 
    WWL =      0 
    WWLC =      0 
    WMIN =      0 
    WMAX =      1 
    NOIA = 6.25e+041 
    NOIB = 3.125e+026 
    NOIC = 8.75e+009 
    EM = 4.1e+007 
    EF =      1 
    AF =      1 
    KF =      0 
    TRS =      0 
    TRD =      0 
 Model Name: pmos  
 BSIM4 Model (Level 54)
    MOBMOD = 0
    BINUNIT = 1
    PARAMCHK = 1
    CAPMOD = 2
    DIOMOD = 1
    RDSMOD = 0
    TRNQSMOD = 0
    ACNQSMOD = 0
    RBODYMOD = 1
    RGATEMOD = 1
    PERMOD = 1
    GEOMOD = 1
    RGEOMOD = 0
    FNOIMOD = 1
    TNOIMOD = 0
    IGCMOD = 1
    IGBMOD = 1
    STIMOD = 0
    VERSION =      4 
    TOXREF = 1.2e-009 
    TOXE = 1.2e-009 
    TOXP = 9e-010 
    TOXM = 1.2e-009 
    DTOX = 3e-010 
    EPSROX =    3.9 
    CDSC =      0 
    CDSCB =      0 
    CDSCD =      0 
    CIT =      0 
    NFACTOR =    2.3 
    XJ = 7.2e-009 
    VSAT = 7.8e+004 
    A0 =      1 
    AGS = 1e-020 
    A1 =      0 
    A2 =      1 
    AT = 3.3e+004 
    KETA = -0.047 
    NSUB = 6e+016 
    NDEP = 4.4e+018 
    NSD = 2e+020 
    NGATE = 2e+020 
    GAMMA1 =      0 
    GAMMA2 =      0 
    VBX =      0 
    VBM =     -3 
    XT = 1.55e-007 
    K1 =    0.4 
    KT1 =  -0.11 
    KT1L =      0 
    KT2 =  0.022 
    K2 =  -0.01 
    K3 =      0 
    K3B =      0 
    LPE0 =      0 
    LPEB =      0 
    DVTP0 = 1e-011 
    DVTP1 =   0.05 
    W0 = 2.5e-006 
    DVT0 =      1 
    DVT1 =      2 
    DVT2 = -0.032 
    DVT0W =      0 
    DVT1W =      0 
    DVT2W =      0 
    DROUT =    0.6 
    DSUB =    0.1 
    VTH0 = -0.372 
    EU =      1 
    UA = -5e-010 
    UA1 = 4.31e-009 
    UB = 1.6e-018 
    UB1 = 7.61e-018 
    UC =      0 
    UC1 = -5.6e-011 
    U0 = 0.0023 
    UTE =   -1.5 
    VOFF =  -0.13 
    VOFFL =      0 
    MINV =   0.05 
    FPROUT =    0.2 
    PDITS =   0.08 
    PDITSD =   0.23 
    PDITSL = 2.3e+006 
    DELTA =   0.01 
    RDSW =    130 
    RDSWMIN =      0 
    RDWMIN =      0 
    RSWMIN =      0 
    RDW =     65 
    RSW =     65 
    PRWG =      0 
    PRWB =      0 
    PRT =      0 
    ETA0 = 0.0037 
    ETAB =      0 
    PCLM =    0.1 
    PDIBLC1 =  0.001 
    PDIBLC2 =  0.001 
    PDIBLCB = 3.4e-008 
    PSCBE1 = 8.14e+008 
    PSCBE2 = 9.58e-007 
    PVAG = 1e-020 
    WR =      1 
    DWG =      0 
    DWB =      0 
    XW =      0 
    XWREF =      0 
    XL = -9e-009 
    XLREF = -9e-009 
    B0 =      0 
    B1 =      0 
    ALPHA0 =  0.074 
    ALPHA1 =  0.005 
    AGIDL = 0.0002 
    BGIDL = 2.1e+009 
    CGIDL = 0.0002 
    PHIN =      0 
    EGIDL =    0.8 
    AIGC =   0.69 
    BIGC = 0.0012 
    CIGC = 0.0008 
    AIGSD = 0.0087 
    BIGSD = 0.0012 
    CIGSD = 0.0008 
    AIGBACC =  0.012 
    BIGBACC = 0.0028 
    CIGBACC =  0.002 
    AIGBINV =  0.014 
    BIGBINV =  0.004 
    CIGBINV =  0.004 
    NIGC =      1 
    NIGBINV =      3 
    NIGBACC =      1 
    NTOX =      1 
    EIGBINV =    1.1 
    PIGCD =      1 
    POXEDGE =      1 
    XRCRG1 =     12 
    TNOIA =    1.5 
    TNOIB =    3.5 
    NTNOI =      1 
    XRCRG2 =      5 
    BETA0 =     30 
    IJTHDFWD =   0.01 
    IJTHSFWD =   0.01 
    IJTHDREV =  0.001 
    IJTHSREV =  0.001 
    XJBVD =      1 
    XJBVS =      1 
    BVD =     10 
    BVS =     10 
    VFB = -1.058 
    GBMIN = 1e-010 
    RBDB =     15 
    RBPB =      5 
    RBSB =     15 
    RBPS =     15 
    RBPD =     15 
    CGSL = 2.653e-010 
    CGDL = 2.653e-010 
    CKAPPAS =   0.03 
    CKAPPAD =   0.03 
    CF = 1.278e-010 
    CLC = 1e-007 
    CLE =    0.6 
    DWC = 5e-009 
    DLC = 2e-009 
    DLCIG = 2e-009 
    DWJ =      0 
    VFBCV =     -1 
    ACDE =      1 
    MOIN =     15 
    NOFF =    0.9 
    VOFFCV =   0.02 
    DMCG =      0 
    DMCI =      0 
    DMDG =      0 
    DMCGT =      0 
    XGW =      0 
    XGL =      0 
    RSHG =    0.4 
    NGCON =      1 
    TCJ =  0.001 
    TPB =  0.005 
    TCJSW =  0.001 
    TPBSW =  0.005 
    TCJSWG =  0.001 
    TPBSWG =  0.005 
    SK0 =      0 
    SK1 =      0 
    SK2 =      0 
    SL = 2e-006 
    SW = 2e-006 
    K =      0 
    TNOM =  300.1 
    CGSO = 6.5e-011 
    CGDO = 6.5e-011 
    CGBO = 2.56e-011 
    XPART =      0 
    RSH =      5 
    JSS = 0.0001 
    JSWS = 1e-011 
    JSWGS = 1e-010 
    PBS =      1 
    MJS =    0.5 
    PBSWS =      1 
    MJSWS =   0.33 
    CJS = 0.0005 
    CJSWS = 5e-010 
    NJS =      1 
    PBSWGS =      1 
    MJSWGS =   0.33 
    CJSWGS = 3e-010 
    XTIS =      3 
    JSD = 0.0001 
    JSWD = 1e-011 
    JSWGD = 1e-010 
    PBD =      1 
    MJD =    0.5 
    PBSWD =      1 
    MJSWD =   0.33 
    CJD = 0.0005 
    CJSWD = 5e-010 
    NJD =      1 
    PBSWGD =      1 
    MJSWGD =   0.33 
    CJSWGD = 5e-010 
    XTID =      3 
    LMLT =      1 
    WMLT =      1 
    LINT = 2e-009 
    LL =      0 
    LLC =      0 
    LLN =      1 
    LW =      0 
    LWC =      0 
    LWN =      1 
    LWL =      0 
    LWLC =      0 
    LMIN =      0 
    LMAX =      1 
    WINT = 5e-009 
    WL =      0 
    WLC =      0 
    WLN =      1 
    WW =      0 
    WWC =      0 
    WWN =      1 
    WWL =      0 
    WWLC =      0 
    WMIN =      0 
    WMAX =      1 
    NOIA = 6.188e+040 
    NOIB = 1.5e+025 
    NOIC = 8.75e+009 
    EM = 4.1e+007 
    EF =      1 
    AF =      1 
    KF =      0 
    TRS =      0 
    TRD =      0 
 [COLOR="#FF0000"][SIZE=2]**warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.[/SIZE][/COLOR]
  
      

MONTE CARLO DEFINITIONS


Random number generator is MOA            , and seed =      1, stream =   1

 Only variation block is active, to enable agauss format variation, set option sampling_method = SRS.

Global variations:    model               parameter
                      nmos                dtox            
                      nmos                lint            
                      nmos                vth0            
                      pmos                dtox            
                      pmos                lint            
                      pmos                vth0            

Local variations:     model               parameter
                      nmos                dtox            
                      nmos                lint            
                      nmos                vth0            
                      pmos                dtox            
                      pmos                lint            
                      pmos                vth0            
 **info** set option symb=1 internally to help for convergence.
 *****************************************************************
 ******  option summary
 ******
 runlvl  = 3         bypass  = 2         
  Opening plot unit= 79
 file=7ringosci.pa0

 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
[COLOR="#FF0000"][SIZE=2] **warning** the perturbation 0.50000     on the first sample is not zero.[/SIZE][/COLOR]
 **warning** the perturbation 0.80000     on the first sample is not zero.
 **warning** the perturbation-4.96000E-12 on the first sample is not zero.
 **warning** the perturbation 0.45000     on the first sample is not zero.
 **warning** the perturbation 0.64800     on the first sample is not zero.
 **warning** the perturbation-4.96000E-12 on the first sample is not zero.
 **warning** the perturbation 0.50000     on the first sample is not zero.
 **warning** the perturbation 0.70000     on the first sample is not zero.
 **warning** the perturbation-4.34000E-12 on the first sample is not zero.
 [COLOR="#FF0000"][SIZE=2]**warning**(nmos:mn1)Warning: toxe, toxp and dtox all given and toxe != toxp + dtox; dtox ignored.
 **error** L54: Effective channel length <= 0 for 'mn1'[/SIZE][/COLOR]
 **warning** the perturbation 0.50000     on the first sample is not zero.
 **warning** the perturbation 0.70000     on the first sample is not zero.
 **warning** the perturbation-4.34000E-12 on the first sample is not zero.
 **warning** the perturbation 0.50000     on the first sample is not zero.
 **warning** the perturbation 0.70000     on the first sample is not zero.
 **warning** the perturbation-4.34000E-12 on the first sample is not zero.
 **warning** the perturbation 0.50000     on the first sample is not zero.
 **warning** the perturbation 0.70000     on the first sample is not zero.
 **warning** the perturbation-4.34000E-12 on the first sample is not zero.
 **warning** the perturbation 0.50000     on the first sample is not zero.
 **warning** the perturbation 0.70000     on the first sample is not zero.
 **warning** the perturbation-4.34000E-12 on the first sample is not zero.
 **warning** the perturbation 0.50000     on the first sample is not zero.
 **warning** the perturbation 0.70000     on the first sample is not zero.
 **warning** the perturbation-4.34000E-12 on the first sample is not zero.
 **warning** the perturbation 0.50000     on the first sample is not zero.
 **warning** the perturbation 0.70000     on the first sample is not zero.
 **warning** the perturbation-4.34000E-12 on the first sample is not zero.
 **warning** the perturbation 0.45000     on the first sample is not zero.
 **warning** the perturbation 0.56700     on the first sample is not zero.
 **warning** the perturbation-4.34000E-12 on the first sample is not zero.
 **warning** the perturbation 0.45000     on the first sample is not zero.
 **warning** the perturbation 0.56700     on the first sample is not zero.
 **warning** the perturbation-4.34000E-12 on the first sample is not zero.
 **warning** the perturbation 0.45000     on the first sample is not zero.
 **warning** the perturbation 0.56700     on the first sample is not zero.
 **warning** the perturbation-4.34000E-12 on the first sample is not zero.
 **warning** the perturbation 0.45000     on the first sample is not zero.
 **warning** the perturbation 0.56700     on the first sample is not zero.
 **warning** the perturbation-4.34000E-12 on the first sample is not zero.
 **warning** the perturbation 0.45000     on the first sample is not zero.
 **warning** the perturbation 0.56700     on the first sample is not zero.
 **warning** the perturbation-4.34000E-12 on the first sample is not zero.
 **warning** the perturbation 0.45000     on the first sample is not zero.
 **warning** the perturbation 0.56700     on the first sample is not zero.
 **warning** the perturbation-4.34000E-12 on the first sample is not zero.
 **warning** the perturbation 0.45000     on the first sample is not zero.
 **warning** the perturbation 0.56700     on the first sample is not zero.
 **warning** the perturbation-4.34000E-12 on the first sample is not zero.

        [COLOR="#FF0000"][SIZE=2]  ***** job aborted[/SIZE][/COLOR]
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning: toxe, toxp and dtox all given and toxe != toxp + dtox; dtox ignored.
[COLOR="#FF0000"] **error** L54: Effective channel length <= 0 for 'mn1'[/COLOR]

         [COLOR="#FF0000"] ***** job aborted[/COLOR]
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning: toxe, toxp and dtox all given and toxe != toxp + dtox; dtox ignored.
 [COLOR="#FF0000"]**error** L54: Effective channel length <= 0 for 'mn1'[/COLOR]

       [COLOR="#FF0000"]   ***** job aborted[/COLOR]
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning: toxe, toxp and dtox all given and toxe != toxp + dtox; dtox ignored.
 **error** L54: Effective channel length <= 0 for 'mn1'

          ***** job aborted
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning: toxe, toxp and dtox all given and toxe != toxp + dtox; dtox ignored.
 **error** L54: Effective channel length <= 0 for 'mn1'

          ***** job aborted
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning: toxe, toxp and dtox all given and toxe != toxp + dtox; dtox ignored.
 **error** L54: Effective channel length <= 0 for 'mn1'

          ***** job aborted
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning: toxe, toxp and dtox all given and toxe != toxp + dtox; dtox ignored.
 **error** L54: Effective channel length <= 0 for 'mn1'

          ***** job aborted
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning: toxe, toxp and dtox all given and toxe != toxp + dtox; dtox ignored.
 **error** L54: Effective channel length <= 0 for 'mn1'

          ***** job aborted
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning: toxe, toxp and dtox all given and toxe != toxp + dtox; dtox ignored.
 **error** L54: Effective channel length <= 0 for 'mn1'

          ***** job aborted
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning:  Acde = 0.202052 may be too small in BSIM4 model with w=2e-006 l=2.5e-007.
 **warning**(pmos:mp1)Warning:  Acde = 0.259654 may be too small in BSIM4 model with w=6e-006 l=2.5e-007.
 **warning**(nmos:mn1)Warning: toxe, toxp and dtox all given and toxe != toxp + dtox; dtox ignored.
 **error** L54: Effective channel length <= 0 for 'mn1'

          ***** job aborted

          ***** job aborted
1****** HSPICE -- G-2012.06-SP1 32-BIT (Aug 27 2012) win32 ******               
 ******  
 *cmos ring oscillator

  ******  job statistics summary tnom=  25.000 temp=  25.000 *****

  ******  HSPICE Threads Information  ******

  Command Line Threads Count :     1
  Available CPU Count        :     2
  Actual Threads Count       :     1


  ******  Circuit Statistics  ******
  # nodes       =      65 # elements   =      16
  # resistors   =       0 # capacitors =       1 # inductors   =       0
  # mutual_inds =       0 # vccs       =       0 # vcvs        =       0
  # cccs        =       0 # ccvs       =       0 # volt_srcs   =       1
  # curr_srcs   =       0 # diodes     =       0 # bjts        =       0
  # jfets       =       0 # mosfets    =      14 # U elements  =       0
  # T elements  =       0 # W elements =       0 # B elements  =       0
  # S elements  =       0 # P elements =       0 # va device   =       0
  # vector_srcs =       0 # N elements =       0


  ******  Runtime Statistics (seconds)  ******

  analysis           time    # points   tot. iter  conv.iter
  op point           0.00           1           0
  transient          0.05         510           0           0 rev=         0
  readin             0.05
  errchk             0.02
  setup              0.00
  output             0.00


           peak memory used         50.72 megabytes
           total cpu time            0.12 seconds
           total elapsed time        6.59 seconds
           job started at     06:07:59 11/29/2015
           job ended   at     06:08:06 11/29/2015


  lic: Release hspice token(s) 
 lic: total license checkout elapse time:        6.42(s)
 

Hi Lili,

first: forget about the warnings. Just the error message is important, for now:
**error** L54: Effective channel length <= 0 for 'mn1'

I guess, somewhere in your .INCLUDE files a SCALE=1e-6 factor is hidden, which reduces your W and L values from µm to pm, and then leff reduction reduces the effective channel length to <0. I've often seen such a SCALE parameter in order to "facilitate" W and L to write these values without the need of adding "um" or "u" - then it means units of meters. With the hierarchical SCALE factor these are µm values, again.

Just an idea. Try and remove the "u" after the W and L values of your inverter subcircuit.
 

Hi erikl,
Thanks for your reply. I tried what you said, but it didn't work. Also, In an other simulation, I changed the values of L & W, but it didn't work too. I also changed the library with other libraries in third simulation, but everytime I got the same results. There's one thing, when I use the BSIM libraries of Berkeley, I got the error for mp1:
**error** L54: Effective channel length <= 0 for 'mp1'
but when I use the libraries from PTM, I got the error for mn1:
**error** L54: Effective channel length <= 0 for 'mn1'

I'm really confused, I think there must be a problem with my code.:|
 

**error** L54: Effective channel length <= 0 for 'mp1'
but when I use the libraries from PTM, I got the error for mn1:
**error** L54: Effective channel length <= 0 for 'mn1'
Probably the BSIM and PTM libs just have the opposite order of nmos & pmos. First one wins (respectively looses :-( )

I also cannot understand where this Effective channel length <= 0 error comes from, 'cause your channel lengths are really long enough (350 nm), so the usual LINT resp. LEFF reductions shouldn't be the reason for it.

Did you already try and run the simulation without the monte command? If so, did it work? If not, try it. Then come back and report. We will then try and isolate and hopefully find the error reason.

BTW:
**warning** unknown command ".Measeure" is ignored
Is this a typo ou est'ce que tu es Français(e)? ;-)
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top