* Z:\tmp\asc_dec_bjh7r6w2\0095130328f1_low_power_inverter_dec2.asc
* Generated by LTspice 26.0.1 for Windows.
R32 N007 N011 R=R_fb
Q3 N010 N014 N020 0 2N3904
Q6 N007 N011 N017 0 2N3904
VCC1 N004 0 {VL}
D4 N014 N010 BAT54
R1 N015 N012 R=R_b
Q2 N009 N013 N019 0 2N3904
R8 N006 N009 R=R_c
R14 N014 N022 R=R_d
R107 COUT_1 N001 1m
Q1 N008 N012 N018 0 2N3904
R4 N008 N012 R=R_fb
D10 N021 N023 1N914
V_BIT5 A_IN N004 PULSE(0 {VH-VL} 0 {rise} {rise} {1/freq/2-rise} {1/freq} {256*reps}) AC {VH}
R17 N020 N024 R=R_e
D11 N011 N007 BAT54
D2 N013 N009 BAT54
.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
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 20052 9880
WIRE 1392 1344 1280 1344
WIRE 1584 1344 1472 1344
WIRE 1648 1344 1584 1344
WIRE 32 1504 -224 1504
WIRE 1632 1504 1376 1504
WIRE -96 1536 -240 1536
WIRE -224 1616 -224 1504
WIRE -176 1616 -224 1616
WIRE 80 1616 -16 1616
WIRE 1376 1616 1376 1504
WIRE -272 1664 -368 1664
WIRE -176 1664 -272 1664
WIRE 32 1664 32 1584
WIRE 32 1664 0 1664
WIRE 80 1664 80 1616
WIRE 128 1664 80 1664
WIRE 224 1664 128 1664
WIRE 1632 1664 1632 1504
WIRE -368 1696 -368 1664
WIRE -368 1792 -368 1776
WIRE -240 1792 -240 1536
WIRE -240 1792 -368 1792
WIRE -176 1792 -176 1712
WIRE -176 1792 -240 1792
WIRE -96 1792 -96 1712
WIRE -96 1792 -176 1792
WIRE -48 1792 -96 1792
WIRE 160 1792 -48 1792
WIRE -48 1824 -48 1792
WIRE -32 3280 -896 3280
WIRE 832 3280 -32 3280
WIRE -32 3344 -32 3280
WIRE -1760 3632 -2160 3632
WIRE -896 3632 -1296 3632
WIRE -32 3632 -32 3424
WIRE -32 3632 -432 3632
WIRE 832 3632 432 3632
WIRE -2160 3680 -2160 3632
WIRE -1296 3680 -1296 3632
WIRE -432 3680 -432 3632
WIRE 432 3680 432 3632
WIRE -2048 3792 -2096 3792
WIRE -1760 3792 -1760 3632
WIRE -1760 3792 -1984 3792
WIRE -1184 3792 -1232 3792
WIRE -896 3792 -896 3632
WIRE -896 3792 -1120 3792
WIRE -320 3792 -368 3792
WIRE -32 3792 -32 3632
WIRE -32 3792 -256 3792
WIRE 544 3792 496 3792
WIRE 832 3792 832 3632
WIRE 832 3792 608 3792
WIRE -1760 3856 -1760 3792
WIRE -896 3856 -896 3792
WIRE -32 3856 -32 3792
WIRE 832 3856 832 3792
WIRE -2208 3904 -2256 3904
WIRE -2160 3904 -2160 3760
WIRE -2160 3904 -2208 3904
WIRE -2096 3904 -2096 3792
WIRE -2096 3904 -2160 3904
WIRE -1824 3904 -2096 3904
WIRE -1616 3904 -1616 3632
WIRE -1472 3904 -1616 3904
WIRE -1344 3904 -1392 3904
WIRE -1296 3904 -1296 3760
WIRE -1296 3904 -1344 3904
WIRE -1232 3904 -1232 3792
WIRE -1232 3904 -1296 3904
WIRE -960 3904 -1232 3904
WIRE -480 3904 -528 3904
WIRE -432 3904 -432 3760
WIRE -432 3904 -480 3904
WIRE -368 3904 -368 3792
WIRE -368 3904 -432 3904
WIRE -96 3904 -368 3904
WIRE 256 3904 112 3904
WIRE 384 3904 336 3904
WIRE 432 3904 432 3760
WIRE 432 3904 384 3904
WIRE 496 3904 496 3792
WIRE 496 3904 432 3904
WIRE 768 3904 496 3904
WIRE -2208 4112 -2208 3904
WIRE -1344 4112 -1344 3904
WIRE -480 4112 -480 3904
WIRE 384 4112 384 3904
WIRE -1760 4304 -1760 3952
WIRE -896 4304 -896 3952
WIRE -32 4304 -32 3952
WIRE 832 4304 832 3952
WIRE -1344 4400 -1344 4192
WIRE 384 4400 384 4192
WIRE -1344 4736 -1344 4464
WIRE 832 4736 832 4384
SYMBOL res -2176 3664 R0
SYMATTR InstName R32
SYMATTR Value R=R_fb
SYMBOL npn 768 3856 R0
SYMATTR InstName Q3
SYMATTR Value 2N3904
SYMBOL npn -1824 3856 R0
SYMATTR InstName Q6
SYMATTR Value 2N3904
SYMBOL voltage -48 1808 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName VCC1
SYMATTR Value {VL}
SYMBOL schottky 544 3808 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D4
SYMATTR Value BAT54
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL res -1488 3920 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R1
SYMATTR Value R=R_b
SYMBOL npn -96 3856 R0
SYMATTR InstName Q2
SYMATTR Value 2N3904
SYMBOL res -48 3328 R0
SYMATTR InstName R8
SYMATTR Value R=R_c
SYMBOL res 368 4096 R0
SYMATTR InstName R14
SYMATTR Value R=R_d
SYMBOL res 1488 1328 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R107
SYMATTR Value 1m
SYMBOL npn -960 3856 R0
SYMATTR InstName Q1
SYMATTR Value 2N3904
SYMBOL res -1312 3664 R0
SYMATTR InstName R4
SYMATTR Value R=R_fb
SYMBOL diode -1360 4400 R0
SYMATTR InstName D10
SYMATTR Value 1N914
SYMBOL voltage -368 1680 R0
WINDOW 123 -77 30 VRight 2
WINDOW 39 0 0 Left 0
WINDOW 0 -51 28 VRight 2
WINDOW 3 46 -379 VRight 2
SYMATTR Value2 AC {VH}
SYMATTR InstName V_BIT5
SYMATTR Value PULSE(0 {VH-VL} 0 {rise} {rise} {1/freq/2-rise} {1/freq} {256*reps})
SYMBOL res 816 4288 R0
SYMATTR InstName R17
SYMATTR Value R=R_e
SYMBOL schottky -2048 3808 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D11
SYMATTR Value BAT54
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL schottky -320 3808 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D2
SYMATTR Value BAT54
SYMATTR Description Diode
SYMATTR Type diode
FLAG -272 1664 A_IN
FLAG 128 1664 B_IN
FLAG 1584 1344 COUT_1
FLAG -48 1904 0