* Z:\home\khalils\Downloads\files\data\raw_asc\0920e643c489_HW4_P6_d.asc
* Generated by LTspice 26.0.1 for Windows.
* --- Operating Point ---\n \nV(vout): 2.5 voltage\nV(vdd): 5 voltage\nV(n001): 0 voltage\nV(vref): 2.5 voltage\nV(vx): 2.31438 voltage\nI(Vdd): -0.0025 device_current\nI(Vref): 0 device_current\nI(R1): 0.0025 device_current\nI(E2): 0 device_current\nId(M1): -0.0025 device_current\nIg(M1): -0 device_current\nIs(M1): 0.0025 device_current\nIb(M1): 2.51e-12 device_current\nI(Iout): 0.0025 device_current
* --- MOSFET Transistors ---\nName: M1\nModel: pm_p6\nId: -2.50e-03\nVgs: -2.69e+00\nVds: -2.50e+00\nVbs: 0.00e+00\nVth: -8.00e-01\nVdsat: -1.89e+00\nGm: 2.65e-03\nGds: 1.11e-04\nGmb: 8.70e-04\nCbd: 0.00e+00\nCbs: 0.00e+00\nCgsov: 0.00e+00\nCgdov: 0.00e+00\nCgbov: 0.00e+00\nCgs: 0.00e+00\nCgd: 0.00e+00\nCgb: 0.00e+00
;.model PM_P6 PMOS(Kp=50u Vto=-800m Lambda=0 Gamma=0.5 Phi=0.58)
VIout N001 0 0
Vdd VDD 0 5
E2 Vx 0 Vout Vref 100Meg
R1 Vout N001 1k
Vref Vref 0 2.5
M1 Vout Vx VDD VDD PM_P6 l=1u w=25u m=1
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.op
.model PM_P6 PMOS(Kp=50u Vto=-800m Lambda=0.05 Gamma=0.5 Phi=0.58)
.option logopinfo
.backanno
.end

* LTspice schematic (.asc):
Version 4.1
SHEET 1 1612 680
WIRE -224 -80 -272 -80
WIRE 384 -80 336 -80
WIRE -272 -32 -272 -80
WIRE 384 64 384 -80
WIRE 336 80 128 80
WIRE -272 96 -272 48
WIRE 480 112 384 112
WIRE 128 128 128 80
WIRE 80 144 0 144
WIRE -224 160 -272 160
WIRE 80 192 32 192
WIRE 384 192 384 160
WIRE 384 192 272 192
WIRE -272 208 -272 160
WIRE 384 224 384 192
WIRE 128 256 128 208
WIRE 32 304 32 192
WIRE 32 304 0 304
WIRE 272 304 272 192
WIRE 272 304 32 304
WIRE -272 336 -272 288
WIRE 384 352 384 304
WIRE 384 480 384 432
DATAFLAG 272 80 ""
DATAFLAG 208 304 ""
SYMBOL e2 128 112 R0
SYMATTR InstName E2
SYMATTR Value 100Meg
SYMBOL pmos4 336 160 M180
WINDOW 123 56 4 Left 2
SYMATTR InstName M1
SYMATTR Value PM_P6
SYMATTR Value2 l=1u w=25u m=1
SYMBOL voltage -272 192 R0
SYMATTR InstName Vref
SYMATTR Value 2.5
SYMBOL voltage -272 -48 R0
SYMATTR InstName Vdd
SYMATTR Value 5
SYMBOL res 368 208 R0
SYMATTR InstName R1
SYMATTR Value 1k
SYMBOL voltage 384 336 R0
SYMATTR InstName Iout
SYMATTR Value 0
FLAG 128 256 0
FLAG -272 336 0
FLAG 128 80 Vx
FLAG 384 480 0
FLAG -272 96 0
FLAG 336 -80 VDD
FLAG -224 160 Vref
FLAG -224 -80 VDD
FLAG 0 144 Vref
FLAG 480 112 VDD
FLAG 0 304 Vout
TEXT 672 -40 Left 2 !.op
TEXT 672 -152 Left 2 !.model PM_P6 PMOS(Kp=50u Vto=-800m Lambda=0.05 Gamma=0.5 Phi=0.58)\n;.model PM_P6 PMOS(Kp=50u Vto=-800m Lambda=0 Gamma=0.5 Phi=0.58)
TEXT 672 -240 Left 2 !.option logopinfo
TEXT 728 -40 Left 2 ;--- Operating Point ---\n \nV(vout):         2.5             voltage\nV(vdd):          5               voltage\nV(n001):         0               voltage\nV(vref):         2.5             voltage\nV(vx):           2.31438         voltage\nI(Vdd):          -0.0025         device_current\nI(Vref):         0               device_current\nI(R1):           0.0025          device_current\nI(E2):           0               device_current\nId(M1):          -0.0025         device_current\nIg(M1):          -0              device_current\nIs(M1):          0.0025          device_current\nIb(M1):          2.51e-12        device_current\nI(Iout):         0.0025          device_current
TEXT 1288 -40 Left 2 ;--- MOSFET Transistors ---\nName:           M1\nModel:        pm_p6\nId:         -2.50e-03\nVgs:        -2.69e+00\nVds:        -2.50e+00\nVbs:         0.00e+00\nVth:        -8.00e-01\nVdsat:      -1.89e+00\nGm:          2.65e-03\nGds:         1.11e-04\nGmb:         8.70e-04\nCbd:         0.00e+00\nCbs:         0.00e+00\nCgsov:       0.00e+00\nCgdov:       0.00e+00\nCgbov:       0.00e+00\nCgs:         0.00e+00\nCgd:         0.00e+00\nCgb:         0.00e+00