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.

Hspice program that no works!

Status
Not open for further replies.

ALIFARID

Newbie level 5
Joined
Oct 16, 2011
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Los Angles
Activity points
1,339
I wrote a code for NMOS .35u but a problem is the mosfet don't work and Idrain=0 when I put Vgs=2
& Vds=1 also source=0.

I need help.


Vds 2 0 1
Vgs 1 0 2
M1 2 1 0 0 BSIM3v3 l=.35u w=10u;
.MODEL BSIM3v3 NMOS
+Level = 49

+Lint = 4.e-08 Tox = 4.e-09
+Vth0 = 0.5999 Rdsw = 250
+ mobmod = 1.000000e+00 capmod = 1.000000e+00 nqsmod = 0.000000e+00
+ tox = 6.500000e-09 cdsc = 1.000000e-10 cdscb = 0.000000e+00
+ cdscd = 3.146578e-03 cit = -1.165567e-03 nfactor = 2.067847e+00
+ xj = 2.000000e-07 vsat = 1.733115e+05 at = 4.587946e+04
+ a0 = 1.208623e+00 ags = 2.664144e-01 a1 = 0.000000e+00
+ a2 = 3.926521e-01 keta = -5.969015e-03 nch = 3.053200e+17
+ k1 = 7.823191e-01 kt1 = -2.968857e-01 kt1l = 6.948321e-09
+ kt2 = -2.439718e-02 k2 = -5.976393e-02 k3 = -2.348052e+00
+ k3b = -2.995700e+00 w0 = 0.000000e+00 nlx = 2.343014e-07
+ dvt0 = 1.904429e+01 dvt1 = 8.095353e-01 dvt2 = 6.252991e-03
+ dvt0w = 0.000000e+00 dvt1w = 0.000000e+00 dvt2w = 0.000000e+00
+ drout = 5.600000e-01 dsub = 5.891755e-01 vth0 = 4.452273e-01
+ ua = -1.085785e-09 ua1 = 2.451017e-09 ub = 2.210053e-18
+ ub1 = -2.617479e-18 uc = 3.755569e-11 uc1 = 2.640885e-13
+ u0 = 3.324764e-02 ute = -1.230449e+00 voff = -8.793706e-02
+ delta = 9.688553e-03 rdsw = 4.385596e+02 prwg = 1.000000e-01
+ prwb = -7.964250e-02 prt = -4.162666e+01 eta0 = 1.722893e-01
+ etab = -5.113721e-02 pclm = 9.585992e-01 pdiblc1 = 2.537726e-12
+ pdiblc2 = 3.312959e-05 pdiblcb = -1.000000e-03 pscbe1 = 5.656369e+08
+ pscbe2 = 1.000000e-03 pvag = 1.000001e-12 wr = 9.107508e-01
+ dwg = -7.427878e-09 dwb = -3.328336e-09 b0 = 1.598826e-07
+ b1 = 5.141988e-17 alpha0 = 0.000000e+00 beta0 = 3.000000e+01
+ elm = 5.000000e+00 cgsl = 0.000000e+00 cgdl = 0.000000e+00
+ ckappa = 6.000000e-01 cf = 9.056200e-11 clc = 1.000000e-07
+ cle = 6.000000e-01 tnom = 2.500000e+01 cgso = 1.590000e-10
+ cgdo = 1.590000e-10 cgbo = 0.000000e+00 xpart = 1.000000e+00
+ rsh = 0.000000e+00 pb = 5.112000e-01 mj = 3.872000e-01
+ mjsw = 3.872000e-01 pbsw = 5.112000e-01 cj = 8.488000e-04
+ cjsw = 4.896000e-10 lint = 2.345145e-09 ll = 1.382235e-09
+ lln = 2.000000e-01 lw = 0.000000e+00 lwn = 0.000000e+00
+ lwl = 0.000000e+00 wint = 1.347400e-07 wl = 0.000000e+00
+ wln = 1.000000e+00 ww = -7.781819e-14 wwn = 1.000000e+00
+ wwl = 0.000000e+00 noimod = 1.000000e+00 kf = 2.000000e-29


.DC Vgs 2 2 .5
.DC Vds .5 2.5 .5
.PROBE vsd_id=par('Vds(M1)/I(M1)')
.PROBE vsd_id=par('Vgs(M1)/I(M1)')
.END
 

I think the problem is u should also give drain area, source area, drain perimeter and source perimeter
if u don't provide those then it will not work
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top