* Z:\tmp\asc_mix_bvbm4pog\mix_199.asc
* Generated by LTspice 26.0.1 for Windows.
M1 N001 Vin1 Vpos Vpos PMOS
M2 N001 Vin2 Vpos Vpos PMOS
M3 N001 Vin1 N002 N002 NMOS
M4 N002 Vin2 Vneg Vneg NMOS
M5 Vout N001 Vpos Vpos PMOS
M6 Vout N001 Vneg Vneg NMOS
V1 IN 0 3.8
C1 OUT 0 3.3
S1 0 OUT N004 0 5mA
V2 N004 0 PULSE(0 1 600u 10n 10n 200u 10m)
S2 OUT IN N003 0 5mA
V3 N003 0 PULSE(0 1 100u 10n 10n 200u 10m)
XU1 IN IN 0 OUT OUT LTC6655-3.3 ;pnba _SHDN)IN)GND)OUT_S)OUT_F
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.tran 1m
.model 5mA SW(Ron=10 Roff=1G Vt=.5 Vh=-.2 Ilimit=5m level=2)
* Turn on and off 5mA of sink current\nand then on and off 5mA of source current
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\References\LTC6655-3.3.asy)
.lib LTC6655-3.3.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 2352 896
WIRE 272 -16 272 -48
WIRE 272 -16 176 -16
WIRE 416 -16 272 -16
WIRE 624 0 624 -32
WIRE 704 0 624 0
WIRE 576 16 544 16
WIRE 176 32 176 -16
WIRE 256 32 176 32
WIRE 416 32 416 -16
WIRE 496 32 416 32
WIRE 704 48 704 0
WIRE 704 48 624 48
WIRE 256 80 256 32
WIRE 256 80 176 80
WIRE 496 80 496 32
WIRE 496 80 416 80
WIRE 176 144 176 128
WIRE 272 144 176 144
WIRE 416 144 416 128
WIRE 416 144 272 144
WIRE 272 192 272 144
WIRE 544 192 544 16
WIRE 544 192 272 192
WIRE 624 192 624 96
WIRE 720 192 624 192
WIRE 272 224 272 192
WIRE 624 240 624 192
WIRE 352 272 272 272
WIRE 704 288 624 288
WIRE 352 320 352 272
WIRE 352 320 272 320
WIRE 544 320 544 192
WIRE 576 320 544 320
WIRE 704 336 704 288
WIRE 704 336 624 336
WIRE 272 352 272 320
WIRE 624 368 624 336
WIRE 352 400 272 400
WIRE 352 448 352 400
WIRE 352 448 272 448
WIRE 272 480 272 448
WIRE 1664 256 1056 256
WIRE 1664 272 1664 256
WIRE 1968 288 1712 288
WIRE 2080 288 2048 288
WIRE 1728 336 1712 336
WIRE 1152 352 1104 352
WIRE 1472 352 1440 352
WIRE 1056 384 1056 256
WIRE 1056 384 976 384
WIRE 1104 384 1104 352
WIRE 1104 384 1056 384
WIRE 1472 384 1472 352
WIRE 1552 384 1472 384
WIRE 1664 384 1664 352
WIRE 1664 384 1552 384
WIRE 1760 384 1664 384
WIRE 976 400 976 384
WIRE 1552 400 1552 384
WIRE 1664 400 1664 384
WIRE 1104 416 1104 384
WIRE 1152 416 1104 416
WIRE 1472 416 1472 384
WIRE 1472 416 1440 416
WIRE 1968 416 1712 416
WIRE 2080 416 2048 416
WIRE 1728 464 1712 464
WIRE 1296 480 1296 448
WIRE 1552 480 1552 464
WIRE 976 496 976 480
WIRE 1664 496 1664 480
IOPIN 272 -48 In
IOPIN 128 48 In
IOPIN 224 304 In
IOPIN 224 432 In
IOPIN 720 192 Out
IOPIN 368 48 In
IOPIN 272 480 In
IOPIN 624 -32 In
IOPIN 624 368 In
SYMBOL pmos4 128 128 M180
SYMATTR InstName M1
SYMBOL pmos4 368 128 M180
SYMATTR InstName M2
SYMBOL nmos4 224 224 R0
SYMATTR InstName M3
SYMBOL nmos4 224 352 R0
SYMATTR InstName M4
SYMBOL pmos4 576 96 M180
SYMATTR InstName M5
SYMBOL nmos4 576 240 R0
SYMATTR InstName M6
SYMBOL voltage 976 384 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 3.8
SYMBOL cap 1536 400 R0
SYMATTR InstName C1
SYMATTR Value 3.3
SYMBOL sw 1664 496 R180
WINDOW 0 -7 103 Right 2
WINDOW 3 -10 16 Right 2
SYMATTR InstName S1
SYMATTR Value 5mA
SYMBOL voltage 1952 416 M90
WINDOW 123 74 56 VTop 2
WINDOW 39 53 56 VTop 2
WINDOW 0 -32 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName V2
SYMATTR Value PULSE(0 1 600u 10n 10n 200u 10m)
SYMBOL sw 1664 368 R180
WINDOW 0 -11 104 Right 2
WINDOW 3 -11 10 Right 2
SYMATTR InstName S2
SYMATTR Value 5mA
SYMBOL voltage 1952 288 M90
WINDOW 123 74 56 VTop 2
WINDOW 39 53 56 VTop 2
WINDOW 3 32 56 VTop 2
WINDOW 0 -32 56 VBottom 2
SYMATTR Value PULSE(0 1 100u 10n 10n 200u 10m)
SYMATTR InstName V3
SYMBOL LTC6655-3.3 1296 384 R0
SYMATTR InstName U1
FLAG 272 -48 Vpos
FLAG 128 48 Vin1
FLAG 224 304 Vin1
FLAG 224 432 Vin2
FLAG 720 192 Vout
FLAG 368 48 Vin2
FLAG 272 480 Vneg
FLAG 624 -32 Vpos
FLAG 624 368 Vneg
FLAG 1296 480 0
FLAG 1760 384 OUT
FLAG 976 384 IN
FLAG 976 496 0
FLAG 1552 480 0
FLAG 1664 496 0
FLAG 1728 464 0
FLAG 2080 416 0
FLAG 1728 336 0
FLAG 2080 288 0
TEXT 2040 592 Left 2 !.tran 1m\n.model 5mA SW(Ron=10 Roff=1G Vt=.5 Vh=-.2 Ilimit=5m level=2)
TEXT 1984 240 Bottom 2 ;Turn on and off 5mA of sink current\nand then on and off 5mA of source current