* Z:\tmp\asc_dec_bjh7r6w2\04a8c385d606_aoi_dec0.asc
* Generated by LTspice 26.0.1 for Windows.
Q1 N005 N006 N007 0 2N3904
R200 IN N004 1m
R103 BIT3 0 10Mega
R9 N011 INT1c 520
Q13 N019 N012 INT1c 0 2N3906
R7 VCC N011 1m
Q4 N014 N016 N017 0 2N3904
R10 N011 N015 520
R6 VCC N001 1m
C1 OUT_NN 0 50p
R4 N001 N003 520
Q14 N018 BIT1 INT1c 0 2N3906
Q8 N010 N009 N008 0 2N3906
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.backanno
.end

* LTspice schematic (.asc):
Version 4.1
SHEET 1 14868 10612
WIRE -288 80 -304 80
WIRE -272 80 -288 80
WIRE -144 80 -160 80
WIRE -128 80 -144 80
WIRE -304 208 -304 80
WIRE -160 208 -160 80
WIRE 1984 416 1920 416
WIRE 2208 416 2064 416
WIRE 2448 416 2208 416
WIRE 2208 448 2208 416
WIRE -304 480 -304 272
WIRE -160 480 -160 272
WIRE 2208 576 2208 528
WIRE 2560 576 2208 576
WIRE 2208 624 2208 576
WIRE 2208 624 2080 624
WIRE 2208 656 2208 624
WIRE -96 672 -240 672
WIRE 64 672 -16 672
WIRE 128 672 64 672
WIRE 2080 832 2080 624
WIRE 2896 976 2896 416
WIRE 2832 1024 2560 1024
WIRE 2736 1104 2736 624
WIRE 2896 1104 2896 1072
WIRE 2896 1104 2736 1104
WIRE 2896 1120 2896 1104
WIRE 2320 1264 2320 1056
WIRE 2256 1312 1904 1312
WIRE 2080 1472 2080 928
WIRE 2080 1472 1968 1472
WIRE 2208 1472 2208 752
WIRE 2208 1472 2080 1472
WIRE 2320 1472 2320 1360
WIRE 2320 1472 2208 1472
WIRE 2448 1472 2448 1184
WIRE 2448 1472 2320 1472
WIRE 2896 1472 2448 1472
WIRE 1984 1824 1920 1824
WIRE 2208 1824 2064 1824
WIRE 2448 1824 2208 1824
WIRE 2736 1824 2448 1824
WIRE 2208 1856 2208 1824
WIRE 2448 1856 2448 1824
WIRE 2208 1984 2208 1936
WIRE 2560 1984 2208 1984
WIRE 2672 1984 2560 1984
WIRE 2208 2032 2208 1984
WIRE 2208 2032 2080 2032
WIRE 2208 2064 2208 2032
WIRE 2144 2112 1904 2112
WIRE 2080 2240 2080 2032
WIRE 1904 2288 1872 2288
WIRE 2016 2288 1904 2288
WIRE 3136 2304 3008 2304
WIRE 2896 2384 2896 1824
WIRE 2448 2432 2448 1936
WIRE 2832 2432 2560 2432
WIRE 2736 2512 2736 2032
WIRE 2896 2512 2896 2480
WIRE 2896 2512 2736 2512
WIRE 2896 2592 2896 2512
WIRE 3008 2592 3008 2304
WIRE 2080 2880 2080 2336
WIRE 2208 2880 2208 2160
SYMBOL npn 2832 976 R0
SYMATTR InstName Q1
SYMATTR Value 2N3904
SYMBOL res 0 656 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R200
SYMATTR Value 1m
SYMBOL res -624 1440 R0
SYMATTR InstName R103
SYMATTR Value 10Mega
SYMBOL res 2192 1840 R0
SYMATTR InstName R9
SYMATTR Value 520
SYMBOL pnp 2144 2160 M180
SYMATTR InstName Q13
SYMATTR Value 2N3906
SYMBOL res 1968 1840 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R7
SYMATTR Value 1m
SYMBOL npn 2832 2384 R0
SYMATTR InstName Q4
SYMATTR Value 2N3904
SYMBOL res 2432 1840 R0
SYMATTR InstName R10
SYMATTR Value 520
SYMBOL res 1968 432 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R6
SYMATTR Value 1m
SYMBOL cap -176 208 R0
SYMATTR InstName C1
SYMATTR Value 50p
SYMBOL res 2192 432 R0
SYMATTR InstName R4
SYMATTR Value 520
SYMBOL pnp 2016 2336 M180
SYMATTR InstName Q14
SYMATTR Value 2N3906
SYMBOL pnp 2256 1360 M180
SYMATTR InstName Q8
SYMATTR Value 2N3906
FLAG -768 1456 BIT2
FLAG -768 1536 0
FLAG -608 1456 BIT3
FLAG -608 1536 0
FLAG -448 1456 BIT4
FLAG -448 1536 0
FLAG 1920 416 VCC
FLAG 64 672 IN
FLAG -288 80 OUT
FLAG -144 80 OUT_NN
FLAG -160 480 0
FLAG 1920 1824 VCC
FLAG 2560 1984 INT1c
FLAG 1904 2288 BIT1