* Z:\home\khalils\Downloads\files\data\raw_asc\8a636d659772_HW4_P4.asc
* Generated by LTspice 26.0.1 for Windows.
M1 Vy Vy VDD VDD PM_P4 l=0.5u w=40u m=1
M3 N001 Vcm Vx 0 PN_P4 l=0.5u w=10u m=1
Vs VDD 0 3.3
VI1 Vy N001 0
VI2 Vout N002 0
Vcm Vcm 0 2
VI3 Vx N003 0
Iref VDD Vbn 1m
M2 Vout Vy VDD VDD PM_P4 l=0.5u w=40u m=1
M4 N002 Vcm Vx 0 PN_P4 l=0.5u w=10u m=1
M5 N003 Vbn 0 0 PN_P4 l=0.5u w=10u m=2
M6 Vbn Vbn 0 0 PN_P4 l=0.5u w=10u m=2
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.option logopinfo
.param Kn 200u
;.model PN_P4 NMOS(Kp={Kn} Vto=450m Lambda=0.07 Gamma=0.55 Phi=600m)
;.model PM_P4 PMOS(Kp={Kn}/4 Vto=-550m Lambda=0.05 Gamma=0.4 Phi=600m)
.model PN_P4 NMOS(Kp={Kn} Vto=450m Lambda=0 Gamma=0 Phi=0)
.model PM_P4 PMOS(Kp={Kn}/4 Vto=-550m Lambda=0 Gamma=0 Phi=0)
.op
* --- Operating Point ---\n \nV(vdd): 3.3 voltage\nV(vcm): 2 voltage\nV(vx): 1.05 voltage\nV(n002): 2.25 voltage\nV(vy): 2.25 voltage\nV(n001): 2.25 voltage\nV(vout): 2.25 voltage\nV(n003): 1.05 voltage\nV(vbn): 0.95 voltage\nId(M1): -0.0005 device_current\nIg(M1): -0 device_current\nIs(M1): 0.0005 device_current\nIb(M1): 1.06e-12 device_current\nI(Vs): -0.002 device_current\nI(I2): 0.0005 device_current\nI(Iref): 0.001 device_current\nId(M5): 0.001 device_current\nIg(M5): 0 device_current\nIs(M5): -0.001 device_current\nIb(M5): -2.12e-12 device_current\nI(Vcm): 0 device_current\nI(I1): 0.0005 device_current\nId(M4): 0.0005 device_current\nIg(M4): 0 device_current\nIs(M4): -0.0005 device_current\nIb(M4): -3.32e-12 device_current\nId(M6): 0.001 device_current\nIg(M6): 0 device_current\nIs(M6): -0.001 device_current\nIb(M6): -1.92e-12 device_current\nId(M3): 0.0005 device_current\nIg(M3): 0 device_current\nIs(M3): -0.0005 device_current\nIb(M3): -3.32e-12 device_current\nI(I3): 0.001 device_current\nId(M2): -0.0005 device_current\nIg(M2): -0 device_current\nIs(M2): 0.0005 device_current\nIb(M2): 1.06e-12 device_current
* --- MOSFET Transistors ---\nName: M3 M4 M5 M6 M1\nModel: pn_p4 pn_p4 pn_p4 pn_p4 pm_p4\nId: 5.00e-04 5.00e-04 1.00e-03 1.00e-03 -5.00e-04\nVgs: 9.50e-01 9.50e-01 9.50e-01 9.50e-01 -1.05e+00\nVds: 1.20e+00 1.20e+00 1.05e+00 9.50e-01 -1.05e+00\nVbs: -1.05e+00 -1.05e+00 0.00e+00 0.00e+00 0.00e+00\nVth: 4.50e-01 4.50e-01 4.50e-01 4.50e-01 -5.50e-01\nVdsat: 5.00e-01 5.00e-01 5.00e-01 5.00e-01 -5.00e-01\nGm: 2.00e-03 2.00e-03 4.00e-03 4.00e-03 2.00e-03\nGds: 0.00e+00 0.00e+00 0.00e+00 0.00e+00 0.00e+00\nGmb: 0.00e+00 0.00e+00 0.00e+00 0.00e+00 0.00e+00\nCbd: 0.00e+00 0.00e+00 0.00e+00 0.00e+00 0.00e+00\nCbs: 0.00e+00 0.00e+00 0.00e+00 0.00e+00 0.00e+00\nCgsov: 0.00e+00 0.00e+00 0.00e+00 0.00e+00 0.00e+00\nCgdov: 0.00e+00 0.00e+00 0.00e+00 0.00e+00 0.00e+00\nCgbov: 0.00e+00 0.00e+00 0.00e+00 0.00e+00 0.00e+00\nCgs: 0.00e+00 0.00e+00 0.00e+00 0.00e+00 0.00e+00\nCgd: 0.00e+00 0.00e+00 0.00e+00 0.00e+00 0.00e+00\nCgb: 0.00e+00 0.00e+00 0.00e+00 0.00e+00 0.00e+00\n \nName: M2\nModel: pm_p4\nId: -5.00e-04\nVgs: -1.05e+00\nVds: -1.05e+00\nVbs: 0.00e+00\nVth: -5.50e-01\nVdsat: -5.00e-01\nGm: 2.00e-03\nGds: 0.00e+00\nGmb: 0.00e+00\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
.backanno
.end

* LTspice schematic (.asc):
Version 4.1
SHEET 1 2368 1280
WIRE -240 16 -288 16
WIRE 176 16 128 16
WIRE 672 16 624 16
WIRE 128 48 128 16
WIRE 128 48 32 48
WIRE 624 48 624 16
WIRE 720 48 624 48
WIRE -288 64 -288 16
WIRE 128 64 128 48
WIRE 624 64 624 48
WIRE 224 80 176 80
WIRE 368 80 224 80
WIRE 576 80 368 80
WIRE 32 112 32 48
WIRE 128 112 32 112
WIRE 720 112 720 48
WIRE 720 112 624 112
WIRE 128 208 128 160
WIRE 224 208 224 80
WIRE 224 208 128 208
WIRE 624 208 624 160
WIRE 672 208 624 208
WIRE 128 288 128 208
WIRE 624 288 624 208
WIRE 128 480 128 368
WIRE 624 480 624 368
WIRE 224 528 128 528
WIRE 624 528 528 528
WIRE 32 560 -80 560
WIRE 80 560 32 560
WIRE 720 560 672 560
WIRE 224 592 224 528
WIRE 528 592 528 528
WIRE -80 608 -80 560
WIRE -272 624 -320 624
WIRE 128 624 128 576
WIRE 368 624 128 624
WIRE 624 624 624 576
WIRE 624 624 368 624
WIRE -320 672 -320 624
WIRE 32 672 32 560
WIRE 720 672 720 560
WIRE 720 672 32 672
WIRE 368 720 368 624
WIRE -320 800 -320 752
WIRE -224 800 -320 800
WIRE -320 848 -320 800
WIRE 368 848 368 800
WIRE -320 896 -416 896
WIRE 464 896 368 896
WIRE -224 928 -224 800
WIRE -224 928 -272 928
WIRE 320 928 -224 928
WIRE -416 960 -416 896
WIRE 464 960 464 896
WIRE -320 992 -320 944
WIRE 368 992 368 944
FLAG -288 144 0
FLAG -240 16 VDD
FLAG 672 16 VDD
FLAG 176 16 VDD
FLAG 368 80 Vy
FLAG 672 208 Vout
FLAG 528 592 0
FLAG 224 592 0
FLAG 368 624 Vx
FLAG -80 560 Vcm
FLAG 464 960 0
FLAG 368 992 0
FLAG -80 688 0
FLAG -224 800 Vbn
FLAG -272 624 VDD
FLAG -416 960 0
FLAG -320 992 0
SYMBOL pmos4 176 160 R180
WINDOW 123 56 0 Left 2
SYMATTR Value2 l=0.5u w=40u m=1
SYMATTR InstName M1
SYMATTR Value PM_P4
SYMBOL nmos4 80 480 R0
WINDOW 123 56 100 Left 2
SYMATTR Value2 l=0.5u w=10u m=1
SYMATTR InstName M3
SYMATTR Value PN_P4
SYMBOL voltage -288 48 R0
SYMATTR InstName Vs
SYMATTR Value 3.3
SYMBOL voltage 128 272 R0
SYMATTR InstName I1
SYMATTR Value 0
SYMBOL voltage 624 272 R0
SYMATTR InstName I2
SYMATTR Value 0
SYMBOL voltage -80 592 R0
SYMATTR InstName Vcm
SYMATTR Value 2
SYMBOL voltage 368 704 R0
SYMATTR InstName I3
SYMATTR Value 0
SYMBOL current -320 672 R0
SYMATTR InstName Iref
SYMATTR Value 1m
SYMBOL pmos4 576 160 M180
WINDOW 123 56 0 Left 2
SYMATTR Value2 l=0.5u w=40u m=1
SYMATTR InstName M2
SYMATTR Value PM_P4
SYMBOL nmos4 672 480 M0
WINDOW 123 56 100 Left 2
SYMATTR Value2 l=0.5u w=10u m=1
SYMATTR InstName M4
SYMATTR Value PN_P4
SYMBOL nmos4 320 848 R0
WINDOW 123 56 100 Left 2
SYMATTR Value2 l=0.5u w=10u m=2
SYMATTR InstName M5
SYMATTR Value PN_P4
SYMBOL nmos4 -272 848 M0
WINDOW 123 56 100 Left 2
SYMATTR Value2 l=0.5u w=10u m=2
SYMATTR InstName M6
SYMATTR Value PN_P4
TEXT 904 -40 Left 2 !.option logopinfo\n.param Kn 200u\n;.model PN_P4 NMOS(Kp={Kn} Vto=450m Lambda=0.07 Gamma=0.55 Phi=600m)\n;.model PM_P4 PMOS(Kp={Kn}/4 Vto=-550m Lambda=0.05 Gamma=0.4 Phi=600m)\n.model PN_P4 NMOS(Kp={Kn} Vto=450m Lambda=0 Gamma=0 Phi=0)\n.model PM_P4 PMOS(Kp={Kn}/4 Vto=-550m Lambda=0 Gamma=0 Phi=0)
TEXT 936 136 Left 2 !.op
TEXT 1000 136 Left 2 ;--- Operating Point ---\n \nV(vdd):          3.3             voltage\nV(vcm):          2               voltage\nV(vx):           1.05            voltage\nV(n002):         2.25            voltage\nV(vy):           2.25            voltage\nV(n001):         2.25            voltage\nV(vout):         2.25            voltage\nV(n003):         1.05            voltage\nV(vbn):          0.95            voltage\nId(M1):          -0.0005         device_current\nIg(M1):          -0              device_current\nIs(M1):          0.0005          device_current\nIb(M1):          1.06e-12        device_current\nI(Vs):           -0.002          device_current\nI(I2):           0.0005          device_current\nI(Iref):         0.001           device_current\nId(M5):          0.001           device_current\nIg(M5):          0               device_current\nIs(M5):          -0.001          device_current\nIb(M5):          -2.12e-12       device_current\nI(Vcm):          0               device_current\nI(I1):           0.0005          device_current\nId(M4):          0.0005          device_current\nIg(M4):          0               device_current\nIs(M4):          -0.0005         device_current\nIb(M4):          -3.32e-12       device_current\nId(M6):          0.001           device_current\nIg(M6):          0               device_current\nIs(M6):          -0.001          device_current\nIb(M6):          -1.92e-12       device_current\nId(M3):          0.0005          device_current\nIg(M3):          0               device_current\nIs(M3):          -0.0005         device_current\nIb(M3):          -3.32e-12       device_current\nI(I3):           0.001           device_current\nId(M2):          -0.0005         device_current\nIg(M2):          -0              device_current\nIs(M2):          0.0005          device_current\nIb(M2):          1.06e-12        device_current
TEXT 1560 136 Left 2 ;--- MOSFET Transistors ---\nName:           M3          M4          M5          M6          M1\nModel:        pn_p4       pn_p4       pn_p4       pn_p4       pm_p4\nId:          5.00e-04    5.00e-04    1.00e-03    1.00e-03   -5.00e-04\nVgs:         9.50e-01    9.50e-01    9.50e-01    9.50e-01   -1.05e+00\nVds:         1.20e+00    1.20e+00    1.05e+00    9.50e-01   -1.05e+00\nVbs:        -1.05e+00   -1.05e+00    0.00e+00    0.00e+00    0.00e+00\nVth:         4.50e-01    4.50e-01    4.50e-01    4.50e-01   -5.50e-01\nVdsat:       5.00e-01    5.00e-01    5.00e-01    5.00e-01   -5.00e-01\nGm:          2.00e-03    2.00e-03    4.00e-03    4.00e-03    2.00e-03\nGds:         0.00e+00    0.00e+00    0.00e+00    0.00e+00    0.00e+00\nGmb:         0.00e+00    0.00e+00    0.00e+00    0.00e+00    0.00e+00\nCbd:         0.00e+00    0.00e+00    0.00e+00    0.00e+00    0.00e+00\nCbs:         0.00e+00    0.00e+00    0.00e+00    0.00e+00    0.00e+00\nCgsov:       0.00e+00    0.00e+00    0.00e+00    0.00e+00    0.00e+00\nCgdov:       0.00e+00    0.00e+00    0.00e+00    0.00e+00    0.00e+00\nCgbov:       0.00e+00    0.00e+00    0.00e+00    0.00e+00    0.00e+00\nCgs:         0.00e+00    0.00e+00    0.00e+00    0.00e+00    0.00e+00\nCgd:         0.00e+00    0.00e+00    0.00e+00    0.00e+00    0.00e+00\nCgb:         0.00e+00    0.00e+00    0.00e+00    0.00e+00    0.00e+00\n \nName:           M2\nModel:        pm_p4\nId:         -5.00e-04\nVgs:        -1.05e+00\nVds:        -1.05e+00\nVbs:         0.00e+00\nVth:        -5.50e-01\nVdsat:      -5.00e-01\nGm:          2.00e-03\nGds:         0.00e+00\nGmb:         0.00e+00\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