* Z:\tmp\asc_dec_bjh7r6w2\06f6537cfe78_3-bit-flash-adc2_dec1.asc
* Generated by LTspice 26.0.1 for Windows.
A11 N001 r7 0 0 0 0 N002 0 SCHMITT Vt=0 vh=.1m tripdt=1n
A6 N007 N008 0 0 0 0 2 0 XOR
A9 0 7 6 3 2 0 a1 0 OR
A5 N006 N007 0 0 0 0 3 0 XOR
A17 N001 r1 0 0 0 0 N009 0 SCHMITT Vt=0 vh=.1m tripdt=1n
R5 r4 r3 220
A15 N001 r3 0 0 0 0 N007 0 SCHMITT Vt=0 vh=.1m tripdt=1n
V3 v1 0 5
A7 N008 N009 0 0 0 0 1 0 XOR
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 2380 1240
WIRE 48 -400 -464 -400
WIRE -32 -304 -96 -304
WIRE 160 -304 -32 -304
WIRE 416 -288 224 -288
WIRE 48 -272 48 -400
WIRE 160 -272 48 -272
WIRE -32 -128 -96 -128
WIRE 160 -128 -32 -128
WIRE 416 -112 224 -112
WIRE 48 -96 48 -272
WIRE 160 -96 48 -96
WIRE 576 -16 528 -16
WIRE 688 32 640 32
WIRE 800 32 752 32
WIRE 688 48 656 48
WIRE -304 64 -304 32
WIRE 688 64 640 64
WIRE 48 80 48 -96
WIRE 160 80 48 80
WIRE 688 80 656 80
WIRE -96 96 -96 48
WIRE 416 144 416 64
WIRE 464 144 416 144
WIRE 688 144 640 144
WIRE 800 144 752 144
WIRE 464 160 416 160
WIRE 576 160 528 160
WIRE 688 160 656 160
WIRE -304 176 -304 144
WIRE 688 176 640 176
WIRE 688 192 656 192
WIRE -96 224 -96 176
WIRE -32 224 -96 224
WIRE 160 224 -32 224
WIRE 416 240 416 160
WIRE 416 240 224 240
WIRE 48 256 48 80
WIRE 160 256 48 256
WIRE 688 256 640 256
WIRE 800 256 752 256
WIRE -96 272 -96 224
WIRE 688 272 656 272
WIRE 688 288 640 288
WIRE 688 304 656 304
WIRE 416 320 416 240
WIRE 464 320 416 320
WIRE 464 336 416 336
WIRE 576 336 528 336
WIRE -96 400 -96 352
WIRE -32 400 -96 400
WIRE 160 400 -32 400
WIRE 416 416 416 336
WIRE 416 416 224 416
WIRE 48 432 48 256
WIRE 160 432 48 432
WIRE -96 448 -96 400
WIRE 416 496 416 416
WIRE 464 496 416 496
WIRE 464 512 416 512
WIRE 576 512 528 512
WIRE -32 576 -96 576
WIRE 160 576 -32 576
WIRE 416 592 416 512
WIRE 416 592 224 592
WIRE 48 608 48 432
WIRE 160 608 48 608
WIRE 416 672 416 592
WIRE 464 672 416 672
WIRE 464 688 416 688
WIRE 576 688 528 688
WIRE -32 752 -96 752
WIRE 160 752 -32 752
WIRE 416 768 416 688
WIRE 416 768 224 768
WIRE 48 784 48 608
WIRE 160 784 48 784
SYMBOL Digital\\diffschmtbuf 160 -224 M180
WINDOW 3 8 -12 Left 0
SYMATTR InstName A11
SYMATTR Value Vt=0 vh=.1m
SYMATTR Value2 tripdt=1n
SYMBOL Digital\\xor 512 464 R0
SYMATTR InstName A6
SYMBOL Digital\\or 720 96 R0
SYMATTR InstName A9
SYMBOL Digital\\xor 512 288 R0
SYMATTR InstName A5
SYMBOL Digital\\diffschmtbuf 160 832 M180
WINDOW 3 8 -12 Left 0
SYMATTR InstName A17
SYMATTR Value Vt=0 vh=.1m
SYMATTR Value2 tripdt=1n
SYMBOL res -112 256 R0
SYMATTR InstName R5
SYMATTR Value 220
SYMBOL Digital\\diffschmtbuf 160 480 M180
WINDOW 3 8 -12 Left 0
SYMATTR InstName A15
SYMATTR Value Vt=0 vh=.1m
SYMATTR Value2 tripdt=1n
SYMBOL voltage -304 48 R0
WINDOW 123 0 0 Left 0
WINDOW 39 24 132 Left 0
SYMATTR InstName V3
SYMATTR Value 5
SYMBOL Digital\\xor 512 640 R0
SYMATTR InstName A7
FLAG -304 32 v1
FLAG -304 176 0
FLAG 576 688 1
FLAG 576 512 2
FLAG 576 336 3
FLAG 576 160 4
FLAG 576 -16 5
FLAG 640 288 3
FLAG 656 272 5
FLAG 640 256 7
FLAG 656 304 1
FLAG 640 176 3
FLAG 656 160 6
FLAG 640 144 7
FLAG 656 192 2
FLAG 640 64 5
FLAG 656 48 6
FLAG 640 32 7
FLAG 656 80 4
FLAG 800 256 a0
FLAG 800 144 a1
FLAG 800 32 a2
FLAG -32 -304 r7
FLAG -32 -128 r6
FLAG -32 224 r4
FLAG -32 400 r3
FLAG -32 576 r2
FLAG -32 752 r1