* Z:\tmp\asc_dec_bjh7r6w2\13ff6b113288_schmidt_trigger_dec1.asc
* Generated by LTspice 26.0.1 for Windows.
Vin In 0 0
B1 In2 0 V={Vcc-V(in)}
Q15 N038 N038 N042 0 2N3904
C1 N001 0 1n
C6 N049 N052 10n
Q13 N023 N023 N019 0 2N3906
B2 N026 N031 V={V(in)}
R39 N037 N042 220
C5 N050 N052 10n
Q5 N005 N008 N011 0 2N3904
M8 N041 N044 N047 N047 2N7002
Vcc N012 N013 {Vcc}
C4 N043 N046 3n
V1 N014 N031 {VCC}
R9 N002 N005 1k
I2 N023 0 1m
M7 N015 N018 N032 N032 2N7002
R23 N014 N015 1k
V2 N033 N046 {VCC}
R14 N014 N020 1k
R28 N033 N040 10k
B3 N027 N031 V={Vcc-V(in)}
Q16 N039 N038 N042 0 2N3904
R4 N009 0 22
M12 N035 N040 N045 N045 2N7002
R20 N014 N022 10k
R17 N014 N021 1k
Q18 N038 N024 N019 0 2N3906
R8 N007 In2 22k
M5 N022 N015 N030 N030 2N7002
I3 N024 0 1m
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.backanno
.end

* LTspice schematic (.asc):
Version 4.1
SHEET 1 3940 3804
WIRE 2064 -352 1472 -352
WIRE 1680 -240 1056 -240
WIRE 1872 -240 1680 -240
WIRE 1680 -176 1680 -240
WIRE 608 -80 512 -80
WIRE 864 0 864 -96
WIRE 992 0 864 0
WIRE 1680 0 1680 -96
WIRE 1808 0 1680 0
WIRE 864 80 864 0
WIRE 1680 80 1680 0
WIRE 32 128 0 128
WIRE 144 128 112 128
WIRE 688 128 656 128
WIRE 800 128 768 128
WIRE 1472 128 1472 -352
WIRE 1504 128 1472 128
WIRE 1616 128 1584 128
WIRE 1472 208 1472 128
WIRE 208 240 208 176
WIRE 400 240 400 48
WIRE 400 240 208 240
WIRE 864 240 864 176
WIRE 1056 240 864 240
WIRE 1680 240 1680 176
WIRE 1872 240 1680 240
WIRE 0 256 0 128
WIRE 656 256 656 128
WIRE -320 272 -320 -240
WIRE 400 336 400 240
WIRE -320 480 -320 352
WIRE 0 480 0 336
WIRE 48 480 0 480
WIRE 400 480 400 416
WIRE 400 480 48 480
WIRE 656 480 656 336
WIRE 656 480 400 480
WIRE 1056 480 656 480
WIRE 1472 480 1472 272
WIRE 1472 480 1056 480
WIRE 1872 480 1872 416
WIRE 1872 480 1472 480
WIRE 2000 480 1872 480
WIRE 48 560 48 480
WIRE 224 624 -96 624
WIRE 352 624 224 624
WIRE 752 624 352 624
WIRE 880 624 752 624
WIRE 1392 624 880 624
WIRE 1520 624 1392 624
WIRE 1744 624 1520 624
WIRE 224 656 224 624
WIRE 352 656 352 624
WIRE 752 656 752 624
WIRE 880 656 880 624
WIRE 1392 656 1392 624
WIRE 1520 656 1520 624
WIRE 1744 656 1744 624
WIRE 1744 768 1744 736
WIRE 1744 768 1216 768
WIRE 1744 800 1744 768
WIRE 352 880 352 736
WIRE 880 880 880 736
WIRE 1520 880 1520 736
WIRE 1696 880 1520 880
WIRE 1520 896 1520 880
WIRE 3088 896 2864 896
WIRE 3312 896 3088 896
WIRE 3520 896 3312 896
WIRE 3744 896 3520 896
WIRE 3088 928 3088 896
WIRE 3312 928 3312 896
WIRE 3520 928 3520 896
WIRE 3744 928 3744 896
WIRE 224 976 224 736
WIRE 304 976 224 976
WIRE 752 976 752 736
WIRE 832 976 752 976
WIRE 1392 976 1392 736
WIRE 1472 976 1392 976
WIRE 3168 976 3152 976
WIRE 3216 976 3168 976
WIRE 3248 976 3216 976
WIRE 3616 976 3584 976
WIRE 3680 976 3616 976
WIRE -96 1024 -96 624
WIRE 224 1040 224 976
WIRE 752 1040 752 976
WIRE 1392 1040 1392 976
WIRE 3088 1072 3088 1024
WIRE 3104 1072 3088 1072
WIRE 3168 1072 3168 976
WIRE 3216 1088 3216 976
WIRE 3312 1088 3312 1024
WIRE 3312 1088 3216 1088
WIRE 3520 1088 3520 1024
WIRE 3616 1088 3616 976
WIRE 3616 1088 3520 1088
WIRE 176 1120 48 1120
WIRE 704 1120 576 1120
WIRE 1216 1120 1216 768
WIRE 1344 1120 1216 1120
WIRE 224 1168 224 1136
WIRE 352 1168 224 1168
WIRE 752 1168 752 1136
WIRE 880 1168 752 1168
WIRE 1392 1168 1392 1136
WIRE 1520 1168 1520 992
WIRE 1520 1168 1392 1168
WIRE 3312 1168 3312 1088
WIRE 3520 1168 3520 1088
WIRE 48 1184 48 1120
WIRE 576 1184 576 1120
WIRE 1216 1184 1216 1120
WIRE 3088 1200 3088 1072
WIRE 224 1216 224 1168
WIRE 752 1216 752 1168
WIRE 1392 1216 1392 1168
WIRE 3312 1280 3312 1248
WIRE 3520 1280 3520 1248
WIRE -96 1360 -96 1104
WIRE 48 1360 48 1264
WIRE 48 1360 -96 1360
WIRE 224 1360 224 1296
WIRE 224 1360 48 1360
WIRE 576 1360 576 1264
WIRE 576 1360 224 1360
WIRE 752 1360 752 1296
WIRE 752 1360 576 1360
WIRE 1216 1360 752 1360
WIRE 1744 1360 1744 896
WIRE -96 1392 -96 1360
WIRE 256 1680 32 1680
WIRE 464 1680 256 1680
WIRE 592 1680 464 1680
WIRE 720 1680 592 1680
WIRE 464 1712 464 1680
WIRE 592 1712 592 1680
WIRE 2736 1824 2736 1760
WIRE 256 1856 256 1680
WIRE 720 1856 720 1680
WIRE 592 1872 592 1792
WIRE 672 1872 592 1872
WIRE 2560 1904 2560 1376
WIRE 2688 1904 2560 1904
WIRE 592 1952 592 1872
WIRE 2736 1952 2736 1920
WIRE 2864 1952 2864 1776
WIRE 2864 1952 2736 1952
WIRE 3744 1952 3744 1024
WIRE 3744 1952 3648 1952
WIRE 3088 1968 3088 1568
WIRE 3104 1968 3088 1968
WIRE 2560 1984 2560 1904
WIRE 2736 2000 2736 1952
WIRE 3088 2016 3088 1968
WIRE 3744 2016 3744 1952
WIRE 464 2032 464 1792
WIRE 544 2032 464 2032
WIRE 3168 2064 3168 1968
WIRE 3168 2064 3152 2064
WIRE 3648 2064 3648 1952
WIRE 3648 2064 3168 2064
WIRE 3680 2064 3648 2064
WIRE 464 2096 464 2032
WIRE 976 2096 976 1872
WIRE 32 2128 32 1680
WIRE 2560 2144 2560 2048
WIRE 2560 2144 2336 2144
WIRE 2736 2144 2736 2080
WIRE 2736 2144 2560 2144
WIRE 3088 2144 3088 2112
WIRE 3088 2144 2736 2144
WIRE 3744 2144 3744 2112
WIRE 3744 2144 3088 2144
WIRE 256 2176 256 1952
WIRE 352 2176 256 2176
WIRE 416 2176 352 2176
WIRE 720 2176 720 1952
WIRE 848 2176 720 2176
WIRE 928 2176 848 2176
WIRE 256 2224 256 2176
WIRE 464 2224 464 2192
WIRE 592 2224 592 2048
WIRE 592 2224 464 2224
WIRE 352 2240 352 2176
WIRE 848 2240 848 2176
WIRE 464 2272 464 2224
WIRE 32 2416 32 2208
WIRE 256 2416 256 2304
WIRE 256 2416 32 2416
WIRE 352 2416 352 2304
WIRE 352 2416 256 2416
WIRE 464 2416 464 2352
WIRE 464 2416 352 2416
WIRE 720 2416 464 2416
WIRE 976 2416 976 2192
WIRE 464 3088 464 2992
WIRE 256 3136 256 2944
WIRE 352 3136 256 3136
WIRE 400 3136 352 3136
WIRE 720 3136 720 2944
WIRE 848 3136 720 3136
WIRE 960 3136 848 3136
WIRE 256 3216 256 3136
WIRE 464 3216 464 3184
WIRE 592 3216 464 3216
WIRE 720 3216 720 3136
WIRE 352 3232 352 3136
WIRE 848 3232 848 3136
WIRE 464 3264 464 3216
WIRE 256 3408 256 3296
WIRE 256 3408 32 3408
WIRE 352 3408 352 3296
WIRE 352 3408 256 3408
WIRE 464 3408 464 3344
WIRE 464 3408 352 3408
WIRE 720 3408 720 3296
WIRE 720 3408 464 3408
WIRE 848 3408 848 3296
WIRE 848 3408 720 3408
WIRE 1104 3408 848 3408
SYMBOL voltage 0 240 R0
SYMATTR InstName Vin
SYMATTR Value 0
SYMBOL bv 656 240 R0
SYMATTR InstName B1
SYMATTR Value V={Vcc-V(in)}
SYMBOL npn 3680 2016 R0
SYMATTR InstName Q15
SYMATTR Value 2N3904
SYMBOL cap 1456 208 R0
SYMATTR InstName C1
SYMATTR Value 1n
SYMBOL cap 336 3232 R0
SYMATTR InstName C6
SYMATTR Value 10n
SYMBOL pnp 3248 1024 M180
SYMATTR InstName Q13
SYMATTR Value 2N3906
SYMBOL bv 48 1168 R0
SYMATTR InstName B2
SYMATTR Value V={V(in)}
SYMBOL res 2720 1984 R0
SYMATTR InstName R39
SYMATTR Value 220
SYMBOL cap 832 3232 R0
SYMATTR InstName C5
SYMATTR Value 10n
SYMBOL npn 1616 80 R0
SYMATTR InstName Q5
SYMATTR Value 2N3904
SYMBOL nmos 928 2096 R0
SYMATTR InstName M8
SYMATTR Value 2N7002
SYMBOL voltage -320 256 R0
SYMATTR InstName Vcc
SYMATTR Value {Vcc}
SYMBOL cap 336 2240 R0
SYMATTR InstName C4
SYMATTR Value 3n
SYMBOL voltage -96 1008 R0
SYMATTR InstName V1
SYMATTR Value {VCC}
SYMBOL res 1664 -192 R0
SYMATTR InstName R9
SYMATTR Value 1k
SYMBOL current 3312 1168 R0
SYMATTR InstName I2
SYMATTR Value 1m
SYMBOL nmos 1696 800 R0
SYMATTR InstName M7
SYMATTR Value 2N7002
SYMBOL res 1728 640 R0
SYMATTR InstName R23
SYMATTR Value 1k
SYMBOL voltage 32 2112 R0
SYMATTR InstName V2
SYMATTR Value {VCC}
SYMBOL res 208 640 R0
SYMATTR InstName R14
SYMATTR Value 1k
SYMBOL res 448 1696 R0
SYMATTR InstName R28
SYMATTR Value 10k
SYMBOL bv 576 1168 R0
SYMATTR InstName B3
SYMATTR Value V={Vcc-V(in)}
SYMBOL npn 3152 2016 M0
SYMATTR InstName Q16
SYMATTR Value 2N3904
SYMBOL res 384 320 R0
SYMATTR InstName R4
SYMATTR Value 22
SYMBOL nmos 544 1952 R0
SYMATTR InstName M12
SYMATTR Value 2N7002
SYMBOL res 1376 640 R0
SYMATTR InstName R20
SYMATTR Value 10k
SYMBOL res 736 640 R0
SYMATTR InstName R17
SYMATTR Value 1k
SYMBOL pnp 3680 1024 M180
SYMATTR InstName Q18
SYMATTR Value 2N3906
SYMBOL res 784 112 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R8
SYMATTR Value 22k
SYMBOL nmos 1344 1040 R0
SYMATTR InstName M5
SYMATTR Value 2N7002
SYMBOL current 3520 1168 M0
SYMATTR InstName I3
SYMATTR Value 1m
FLAG 48 560 0
FLAG 0 128 In
FLAG 656 128 In2
FLAG 3312 1280 0
FLAG 3520 1280 0