lokesh garg
Member level 5
my Hspice code is.......
VGG 3 0 DC 2V
VS 1 0 DC 0.1V
vx 1 5 dc 0v
*r1 1 2 5k
*r2 1 3 5k
*r3 4 7 5k
*r4 5 0 5k
*r5 8 6 5k
*r6 8 9 5k
*r7 10 0 5k
QHBT1 2 3 4 0 HBT
QHBT2 5 4 0 0 HBT
MOS1 4 5 0 0 MOS w = 50u l = 0.5u
.MODEL MOS NMOS( vth0 = 0.7v kp = 134u)
.MODEL HBT NPN (level=11 IS = 1.2E-18 NF = 1 NR = 1 BF = 200
+ BR = 5 VAF = 60 VAR = 20 ISE = 1E-17
+ NE = 1.4 ISEX = 4E-24 NEX = 1.3 ISCX = 1E-14
+ NCX = 2 ISC = 1E-16 NC = 2 NA = 10
+ ISA = 2.18E-10 NB = 10 ISB = 1E10 RE = 16
+ REX = 20 RBI = 20 BVC = 28 NBC = 6
+ FA = 0.995 RCX = 30 RCI = 20 CJE = 1.8E-14
+ VJE = 1.45 CXMIN = 1E-16 MJE = 0.5 FC = 0.8
+ ICRIT0 = 0.23 CCMIN = 3E-15 TR = 3.5E-10 VJCX = 1.4
+ CJCX = 8E-15 MJCX = 0.35 XCJC = 1 VJS = 1.4
+ CJS = 5E-16 MJS = 0.01 CTH = 1E-6 RTH = 0
+ EG = 1.645 XTI = 0 XTB = -1.8 EAA = -0.495
+ EAB = -0.1 EAE = 0.105 TNE = 0 EAC = 0.34
+ XTTF = 1.5 ICS = 1E-30 NCS = 2 CEMIN = 1E-15
+ FCE = 0.8 TFB = 2E-12 TFC0 = 2.5E-11 TBEXS = 1E-14
+ ITC = 7E-3 ITC2 = 0.014 VTC = 40 TKRK = 5E-13
+ VKRK = 10 IKRK = 0.012 TRX = 3.5E-10 FEX = 0
+ XTITC = 1.5 XTITC2 = 1 TREF = 25 CJC = 7E-15
+ VJC = 1.4 MJC = 0.35)
.dc VS 0v 2v 0.001v
.plot dc i(vx)
.op
.probe
.option post
.end
i want to scale the current i(vx) to nano-amperes keeping the voltage corresponding to peak current around 0.5v.
VGG 3 0 DC 2V
VS 1 0 DC 0.1V
vx 1 5 dc 0v
*r1 1 2 5k
*r2 1 3 5k
*r3 4 7 5k
*r4 5 0 5k
*r5 8 6 5k
*r6 8 9 5k
*r7 10 0 5k
QHBT1 2 3 4 0 HBT
QHBT2 5 4 0 0 HBT
MOS1 4 5 0 0 MOS w = 50u l = 0.5u
.MODEL MOS NMOS( vth0 = 0.7v kp = 134u)
.MODEL HBT NPN (level=11 IS = 1.2E-18 NF = 1 NR = 1 BF = 200
+ BR = 5 VAF = 60 VAR = 20 ISE = 1E-17
+ NE = 1.4 ISEX = 4E-24 NEX = 1.3 ISCX = 1E-14
+ NCX = 2 ISC = 1E-16 NC = 2 NA = 10
+ ISA = 2.18E-10 NB = 10 ISB = 1E10 RE = 16
+ REX = 20 RBI = 20 BVC = 28 NBC = 6
+ FA = 0.995 RCX = 30 RCI = 20 CJE = 1.8E-14
+ VJE = 1.45 CXMIN = 1E-16 MJE = 0.5 FC = 0.8
+ ICRIT0 = 0.23 CCMIN = 3E-15 TR = 3.5E-10 VJCX = 1.4
+ CJCX = 8E-15 MJCX = 0.35 XCJC = 1 VJS = 1.4
+ CJS = 5E-16 MJS = 0.01 CTH = 1E-6 RTH = 0
+ EG = 1.645 XTI = 0 XTB = -1.8 EAA = -0.495
+ EAB = -0.1 EAE = 0.105 TNE = 0 EAC = 0.34
+ XTTF = 1.5 ICS = 1E-30 NCS = 2 CEMIN = 1E-15
+ FCE = 0.8 TFB = 2E-12 TFC0 = 2.5E-11 TBEXS = 1E-14
+ ITC = 7E-3 ITC2 = 0.014 VTC = 40 TKRK = 5E-13
+ VKRK = 10 IKRK = 0.012 TRX = 3.5E-10 FEX = 0
+ XTITC = 1.5 XTITC2 = 1 TREF = 25 CJC = 7E-15
+ VJC = 1.4 MJC = 0.35)
.dc VS 0v 2v 0.001v
.plot dc i(vx)
.op
.probe
.option post
.end
i want to scale the current i(vx) to nano-amperes keeping the voltage corresponding to peak current around 0.5v.