* Z:\tmp\asc_mix_bvbm4pog\mix_6.asc
* Generated by LTspice 26.0.1 for Windows.
M3 Out A Vdd N006 NMOD1 l=1u w=25u
M4 Out B Vdd N007 NMOD1 l=1u w=25u
M1 Vss A N005 Vss PMOD1 l=1u w=100u
M2 N005 B Out Vss PMOD1 l=1u w=100u
V1 N004 0 -15
V2 N001 0 15
R1 N002 0 10k
R2 Vout N002 5k
R3 N003 V1 10k
R4 V2 N003 10k
XU1 N003 N002 N001 N004 Vout LT1001 ;pnba In+)In-)V+)V-)OUT
V4 V1 0 SINE(0 0.2 50)
V3 V2 0 SINE(0 0.1 150)
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.model PMOD1 pmos (KP=100u GAMMA=0.9 phi=0.6 lambda=0.02 VTO=-0.7)
.model NMOD1 nmos (KP=200u GAMMA=0.9 phi=0.6 lambda=0.02 VTO=0.7)
.tran 0 60m 0 1u
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\OP07.asy)
.lib LTC.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1792 768
WIRE 208 48 208 32
WIRE 240 48 208 48
WIRE 208 64 208 48
WIRE 240 112 240 48
WIRE 240 112 208 112
WIRE 160 144 128 144
WIRE 208 208 208 160
WIRE 240 256 240 112
WIRE 240 256 208 256
WIRE 160 288 128 288
WIRE 208 352 208 304
WIRE 208 352 96 352
WIRE 320 352 208 352
WIRE 352 352 320 352
WIRE 96 368 96 352
WIRE 320 368 320 352
WIRE 48 448 16 448
WIRE 96 448 96 416
WIRE 272 448 240 448
WIRE 320 448 320 416
WIRE 96 480 96 464
WIRE 208 480 96 480
WIRE 320 480 320 464
WIRE 320 480 208 480
WIRE 208 512 208 480
WIRE 1392 -256 1328 -256
WIRE 1328 -224 1328 -256
WIRE 1328 -128 1328 -144
WIRE 1264 -48 1232 -48
WIRE 1504 -48 1344 -48
WIRE 1392 32 1392 -256
WIRE 1120 48 1024 48
WIRE 1232 48 1232 -48
WIRE 1232 48 1200 48
WIRE 1360 48 1232 48
WIRE 1504 64 1504 -48
WIRE 1504 64 1424 64
WIRE 1568 64 1504 64
WIRE 1360 80 1280 80
WIRE 752 128 672 128
WIRE 1120 128 752 128
WIRE 1280 128 1280 80
WIRE 1280 128 1200 128
WIRE 1392 160 1392 96
WIRE 672 176 672 128
WIRE 1008 240 960 240
WIRE 1120 240 1008 240
WIRE 1280 240 1280 128
WIRE 1280 240 1200 240
WIRE 1392 272 1392 240
WIRE 672 288 672 256
WIRE 960 288 960 240
WIRE 960 400 960 368
IOPIN 208 32 In
IOPIN 208 512 In
IOPIN 16 448 In
IOPIN 128 144 In
IOPIN 240 448 In
IOPIN 128 288 In
IOPIN 352 352 Out
SYMBOL nmos4 48 368 R0
SYMATTR InstName M3
SYMATTR Value NMOD1
SYMATTR Value2 l=1u w=25u
SYMBOL nmos4 272 368 R0
SYMATTR InstName M4
SYMATTR Value NMOD1
SYMATTR Value2 l=1u w=25u
SYMBOL pmos4 160 64 R0
SYMATTR InstName M1
SYMATTR Value PMOD1
SYMATTR Value2 l=1u w=100u
SYMBOL pmos4 160 208 R0
SYMATTR InstName M2
SYMATTR Value PMOD1
SYMATTR Value2 l=1u w=100u
SYMBOL voltage 1392 144 R0
SYMATTR InstName V1
SYMATTR Value -15
SYMBOL voltage 1328 -240 R0
SYMATTR InstName V2
SYMATTR Value 15
SYMBOL res 1216 32 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 10k
SYMBOL res 1360 -64 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 5k
SYMBOL res 1216 112 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 10k
SYMBOL res 1104 256 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R4
SYMATTR Value 10k
SYMBOL Opamps\\OP07 1392 0 R0
SYMATTR InstName U1
SYMBOL voltage 672 160 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V4
SYMATTR Value SINE(0 0.2 50)
SYMBOL voltage 960 272 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V3
SYMATTR Value SINE(0 0.1 150)
FLAG 208 32 Vss
FLAG 208 512 Vdd
FLAG 16 448 A
FLAG 128 144 A
FLAG 240 448 B
FLAG 128 288 B
FLAG 352 352 Out
FLAG 1392 272 0
FLAG 1328 -128 0
FLAG 1568 64 Vout
FLAG 752 128 V1
FLAG 672 288 0
FLAG 1024 48 0
FLAG 1008 240 V2
FLAG 960 400 0
TEXT -112 640 Left 2 !.model PMOD1 pmos (KP=100u GAMMA=0.9 phi=0.6 lambda=0.02 VTO=-0.7)
TEXT -112 608 Left 2 !.model NMOD1 nmos (KP=200u GAMMA=0.9 phi=0.6 lambda=0.02 VTO=0.7)
TEXT 496 208 Left 2 !.tran 0 60m 0 1u