* Z:\tmp\asc_dec_bjh7r6w2\13ff6b113288_schmidt_trigger_dec0.asc
* Generated by LTspice 26.0.1 for Windows.
R38 N021 N033 10k
R21 N017 N020 10k
C3 N045 N047 1n
M14 N045 N037 N035 N035 BSS84
Q17 N026 N026 N021 0 2N3906
R24 N035 osc_out 10k
Q9 N050 N051 N057 0 2N3904
R37 N021 N036 10k
V3 N053 N058 {VCC}
Q3 N006 N009 N013 0 2N3904
M3 N023 N029 N031 N031 2N7002
R31 N048 N050 10k
Q11 N054 N049 N048 0 2N3906
M16 N034 N033 N027 N027 BSS84
R30 N046 N047 220
M6 N020 N024 N032 N032 2N7002
R2 N001 N005 1k
Q14 N027 N025 N021 0 2N3906
Q12 N055 N050 N048 0 2N3906
M2 N018 N022 N030 N030 2N7002
D2 N041 N039 BAT54
R33 N054 N059 10k
M1 N022 N028 N030 N030 2N7002
M15 N034 N033 N039 N039 2N7002
R29 N035 N037 10k
M11 N040 N044 N046 N046 2N7002
R12 N011 N010 22k
R10 N002 N004 1k
V4 N021 N042 {VCC}
Q2 Out N005 N012 0 2N3904
R36 N056 N055 1k
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.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 208 -240 -320 -240
WIRE 400 -240 208 -240
WIRE 864 -240 400 -240
WIRE 1680 -240 1056 -240
WIRE 1872 -240 1680 -240
WIRE 2000 -240 1872 -240
WIRE 2000 -224 2000 -240
WIRE 208 -176 208 -240
WIRE 400 -176 400 -240
WIRE 1680 -176 1680 -240
WIRE 1872 -176 1872 -240
WIRE 2064 -144 2000 -144
WIRE 2000 -128 2000 -144
WIRE 400 -80 400 -96
WIRE 512 -80 400 -80
WIRE 608 -80 512 -80
WIRE 1872 -80 1872 -96
WIRE 1936 -80 1872 -80
WIRE 400 -48 400 -80
WIRE 1872 -48 1872 -80
WIRE 208 0 208 -96
WIRE 336 0 208 0
WIRE 864 0 864 -96
WIRE 992 0 864 0
WIRE 1680 0 1680 -96
WIRE 1808 0 1680 0
WIRE 208 80 208 0
WIRE 864 80 864 0
WIRE 1680 80 1680 0
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 400 240 400 48
WIRE 864 240 864 176
WIRE 1056 240 864 240
WIRE 1680 240 1680 176
WIRE 1872 240 1680 240
WIRE 656 256 656 128
WIRE 1472 480 1472 272
WIRE 1472 480 1056 480
WIRE 1872 480 1472 480
WIRE 2000 480 2000 -32
WIRE 1392 624 880 624
WIRE 1520 624 1392 624
WIRE 1744 624 1520 624
WIRE 1392 656 1392 624
WIRE 1520 656 1520 624
WIRE 352 880 352 736
WIRE 528 880 352 880
WIRE 880 880 880 736
WIRE 1056 880 880 880
WIRE 1520 880 1520 736
WIRE 1696 880 1520 880
WIRE 352 896 352 880
WIRE 880 896 880 880
WIRE 1520 896 1520 880
WIRE 2736 896 2336 896
WIRE 2864 896 2736 896
WIRE 3088 896 2864 896
WIRE 3312 896 3088 896
WIRE 3520 896 3312 896
WIRE 3744 896 3520 896
WIRE 2736 928 2736 896
WIRE 2864 928 2864 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 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 224 1168 224 1136
WIRE 352 1168 352 992
WIRE 352 1168 224 1168
WIRE 752 1168 752 1136
WIRE 880 1168 880 992
WIRE 880 1168 752 1168
WIRE 1520 1168 1520 992
WIRE 3312 1168 3312 1088
WIRE 3520 1168 3520 1088
WIRE 48 1184 48 1120
WIRE 576 1184 576 1120
WIRE 3088 1200 3088 1072
WIRE 224 1216 224 1168
WIRE 752 1216 752 1168
WIRE 3040 1216 2960 1216
WIRE 3088 1376 3088 1296
WIRE 3088 1376 2560 1376
WIRE 3088 1472 3088 1376
WIRE 2864 1552 2864 1008
WIRE 2960 1552 2960 1216
WIRE 2960 1552 2864 1552
WIRE 3040 1552 2960 1552
WIRE 1088 1600 112 1600
WIRE 464 1680 256 1680
WIRE 592 1680 464 1680
WIRE 720 1680 592 1680
WIRE 976 1680 720 1680
WIRE 2864 1680 2864 1552
WIRE 464 1712 464 1680
WIRE 592 1712 592 1680
WIRE 976 1712 976 1680
WIRE 2736 1760 2736 1008
WIRE 720 1856 720 1680
WIRE 2336 1856 2336 896
WIRE 592 1872 592 1792
WIRE 672 1872 592 1872
WIRE 976 1872 976 1792
WIRE 1088 1872 1088 1600
WIRE 1088 1872 976 1872
WIRE 1136 1872 1088 1872
WIRE 592 1952 592 1872
WIRE 3744 1952 3744 1024
WIRE 3088 1968 3088 1568
WIRE 3104 1968 3088 1968
WIRE 3088 2016 3088 1968
WIRE 464 2032 464 1792
WIRE 544 2032 464 2032
WIRE 3168 2064 3168 1968
WIRE 3168 2064 3152 2064
WIRE 3648 2064 3168 2064
WIRE 464 2096 464 2032
WIRE 976 2096 976 1872
WIRE 2336 2144 2336 1936
WIRE 3088 2144 3088 2112
WIRE 3088 2144 2736 2144
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 720 2224 720 2176
WIRE 352 2240 352 2176
WIRE 848 2240 848 2176
WIRE 464 2272 464 2224
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 720 2304
WIRE 720 2416 464 2416
WIRE 848 2416 848 2304
WIRE 848 2416 720 2416
WIRE 912 2416 848 2416
WIRE 976 2416 976 2192
WIRE 976 2416 912 2416
WIRE 912 2464 912 2416
WIRE 464 2672 256 2672
WIRE 592 2672 464 2672
WIRE 720 2672 592 2672
WIRE 1168 2672 720 2672
WIRE 464 2704 464 2672
WIRE 592 2704 592 2672
WIRE 256 2848 256 2672
WIRE 720 2848 720 2672
WIRE 112 2896 112 2592
WIRE 192 2896 112 2896
WIRE 592 2896 592 2784
WIRE 656 2896 592 2896
WIRE 592 2944 592 2896
WIRE 464 2992 464 2784
WIRE 528 2992 464 2992
WIRE 464 3088 464 2992
WIRE 1168 3088 1168 2864
WIRE 32 3120 32 2672
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 1104 3136 1040 3136
WIRE 256 3216 256 3136
WIRE 592 3216 592 3040
WIRE 720 3216 720 3136
WIRE 352 3232 352 3136
WIRE 848 3232 848 3136
WIRE 32 3408 32 3200
WIRE 256 3408 256 3296
WIRE 352 3408 352 3296
WIRE 1168 3408 1168 3184
SYMBOL res 2848 912 R0
SYMATTR InstName R38
SYMATTR Value 10k
SYMBOL res 1504 640 R0
SYMATTR InstName R21
SYMATTR Value 10k
SYMBOL cap 832 2240 R0
SYMATTR InstName C3
SYMATTR Value 1n
SYMBOL pmos 672 1952 M180
SYMATTR InstName M14
SYMATTR Value BSS84
SYMBOL pnp 3584 1024 R180
SYMATTR InstName Q17
SYMATTR Value 2N3906
SYMBOL res 960 1696 R0
SYMATTR InstName R24
SYMATTR Value 10k
SYMBOL npn 528 2944 R0
SYMATTR InstName Q9
SYMATTR Value 2N3904
SYMBOL res 2720 912 R0
SYMATTR InstName R37
SYMATTR Value 10k
SYMBOL voltage 32 3104 R0
SYMATTR InstName V3
SYMATTR Value {VCC}
SYMBOL npn 800 80 R0
SYMATTR InstName Q3
SYMATTR Value 2N3904
SYMBOL nmos 704 1040 R0
SYMATTR InstName M3
SYMATTR Value 2N7002
SYMBOL res 576 2688 R0
SYMATTR InstName R31
SYMATTR Value 10k
SYMBOL pnp 192 2944 M180
SYMATTR InstName Q11
SYMATTR Value 2N3906
SYMBOL pmos 3040 1296 M180
SYMATTR InstName M16
SYMATTR Value BSS84
SYMBOL res 448 2256 R0
SYMATTR InstName R30
SYMATTR Value 220
SYMBOL nmos 1472 896 R0
SYMATTR InstName M6
SYMATTR Value 2N7002
SYMBOL res 192 -192 R0
SYMATTR InstName R2
SYMATTR Value 1k
SYMBOL pnp 3152 1024 R180
SYMATTR InstName Q14
SYMATTR Value 2N3906
SYMBOL pnp 656 2944 M180
SYMATTR InstName Q12
SYMATTR Value 2N3906
SYMBOL nmos 304 896 R0
SYMATTR InstName M2
SYMATTR Value 2N7002
SYMBOL diode 3168 1984 M270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D2
SYMATTR Value BAT54
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL res 240 3200 R0
SYMATTR InstName R33
SYMATTR Value 10k
SYMBOL nmos 176 1040 R0
SYMATTR InstName M1
SYMATTR Value 2N7002
SYMBOL nmos 3040 1472 R0
SYMATTR InstName M15
SYMATTR Value 2N7002
SYMBOL res 576 1696 R0
SYMATTR InstName R29
SYMATTR Value 10k
SYMBOL nmos 416 2096 R0
SYMATTR InstName M11
SYMATTR Value 2N7002
SYMBOL res 1600 112 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R12
SYMATTR Value 22k
SYMBOL res 1856 -192 R0
SYMATTR InstName R10
SYMATTR Value 1k
SYMBOL voltage 2336 1840 R0
SYMATTR InstName V4
SYMATTR Value {VCC}
SYMBOL npn 336 -48 R0
SYMATTR InstName Q2
SYMATTR Value 2N3904
SYMBOL res 1056 3120 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R36
SYMATTR Value 1k
FLAG 512 -80 Out
FLAG 656 128 In2
FLAG 1136 1872 osc_out