* Z:\tmp\asc_dec_bjh7r6w2\0537480165b4_cmi_7b_2tone_dec1.asc
* Generated by LTspice 26.0.1 for Windows.
A9 N001 N002 VSS VSS VSS N003 VSS VSS XOR Vhigh = 1.8 Vlow = 0 Trise = {tff_rise} Tfall = {tff_rise} Td = {td_DFF}
A12 ~VCLK ~PRBS_OUT ~RESET1 VDD VDD ~DISCHARGE1 DISCHARGE1 0 AND Vhigh = 1.8 Vlow = 0 Trise = {tff_rise} Tfall = {tff_rise} Td = {td_DFF}
V3 VDD 0 1.8
G2 N014 0 V_snh 0 {G}
C2 Vp2 0 5p
S6 N015 Vp2 CHARGE2 0 MYSW
V5 VSS 0 0
A7 N006 N009 N008 N004 N010 N009 N007 N009 DFLOP Vhigh = 1.8 Vlow = 0 Trise = {tff_rise} Tfall = {tff_rise} Td = {td_DFF}
S4 N012 N011 ~CHARGE1 0 MYSW
S7 Vp2 N017 DISCHARGE2 0 MYSW
A13 RESET1 0 0 0 0 ~RESET1 0 0 BUF Vhigh = 1.8 Vlow = 0 Trise = {tff_rise} Tfall = {tff_rise} Td = {td_DFF}
A11 ~VCLK PRBS_OUT ~RESET1 VDD VDD ~CHARGE1 CHARGE1 0 AND Vhigh = 1.8 Vlow = 0 Trise = {tff_rise} Tfall = {tff_rise} Td = {td_DFF}
V2 Vin N013 SINE(0 {vamp1} {X1/T})
A15 ~VCLK PRBS_OUT ~RESET2 VDD VDD ~CHARGE2 CHARGE2 0 AND Vhigh = 1.8 Vlow = 0 Trise = {tff_rise} Tfall = {tff_rise} Td = {td_DFF}
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 2036 1496
WIRE 800 -1056 -976 -1056
WIRE -912 -1040 -976 -1040
WIRE -960 -1024 -976 -1024
WIRE -1056 -1008 -1280 -1008
WIRE -960 -1008 -960 -1024
WIRE -960 -1008 -976 -1008
WIRE -960 -992 -960 -1008
WIRE -960 -992 -976 -992
WIRE -1008 -960 -1008 -992
WIRE -992 -960 -1008 -960
WIRE -960 -960 -960 -992
WIRE -960 -960 -992 -960
WIRE 1232 -960 1232 -1024
WIRE 1376 -960 1376 -1024
WIRE 384 -864 112 -864
WIRE 688 -864 384 -864
WIRE 1056 -864 976 -864
WIRE 384 -800 384 -864
WIRE -912 -752 -912 -1040
WIRE 304 -752 192 -752
WIRE 608 -752 464 -752
WIRE 304 -704 272 -704
WIRE 608 -704 576 -704
WIRE 272 -624 272 -704
WIRE 272 -624 16 -624
WIRE 576 -624 576 -704
WIRE 576 -624 272 -624
WIRE 304 -592 304 -656
WIRE 384 -592 384 -656
WIRE -784 -192 -896 -192
WIRE -384 -192 -784 -192
WIRE 400 -176 400 -224
WIRE 384 -128 256 -128
WIRE 576 -128 464 -128
WIRE 576 -80 576 -128
WIRE 720 -80 576 -80
WIRE -1408 -64 -1424 -64
WIRE -1344 -64 -1408 -64
WIRE -1344 -48 -1424 -48
WIRE -1184 -48 -1280 -48
WIRE -1168 -48 -1184 -48
WIRE -1392 -32 -1408 -32
WIRE -1344 -32 -1392 -32
WIRE 1648 -32 1648 -64
WIRE 1648 -32 1568 -32
WIRE 1728 -32 1648 -32
WIRE 1840 -32 1792 -32
WIRE 1856 -32 1840 -32
WIRE -1344 -16 -1376 -16
WIRE -1168 -16 -1280 -16
WIRE -1424 0 -1456 0
WIRE -1376 0 -1376 -16
WIRE -1376 0 -1424 0
WIRE -1344 0 -1376 0
WIRE 432 16 256 16
WIRE 512 16 432 16
WIRE 576 16 512 16
WIRE -896 32 -896 -112
WIRE -1376 80 -1408 80
WIRE -1328 80 -1376 80
WIRE -1328 96 -1408 96
WIRE -1168 96 -1264 96
WIRE -1152 96 -1168 96
WIRE 576 96 576 16
WIRE -1376 112 -1392 112
WIRE -1328 112 -1376 112
WIRE 208 112 160 112
WIRE -1328 128 -1360 128
WIRE -1120 128 -1264 128
WIRE -1408 144 -1440 144
WIRE -1360 144 -1360 128
WIRE -1360 144 -1408 144
WIRE -1328 144 -1360 144
WIRE 256 192 256 128
WIRE 400 192 256 192
WIRE 208 256 144 256
WIRE 256 304 256 272
WIRE -1264 688 -1280 688
WIRE -1200 688 -1264 688
WIRE -1200 704 -1280 704
WIRE -1040 704 -1136 704
WIRE -1024 704 -1040 704
WIRE -1248 720 -1264 720
WIRE -1200 720 -1248 720
WIRE -1200 736 -1232 736
WIRE -1024 736 -1136 736
WIRE -1280 752 -1312 752
WIRE -1232 752 -1232 736
WIRE -1232 752 -1280 752
WIRE -1200 752 -1232 752
WIRE 256 752 256 688
WIRE 400 800 400 752
WIRE 208 816 144 816
WIRE -1232 832 -1264 832
WIRE -1184 832 -1232 832
WIRE -1184 848 -1264 848
WIRE -1024 848 -1120 848
WIRE -1008 848 -1024 848
WIRE 256 848 256 832
WIRE 384 848 256 848
WIRE 576 848 464 848
WIRE 256 880 256 848
WIRE 576 896 576 848
WIRE 720 896 576 896
WIRE 208 944 160 944
WIRE 256 992 256 960
WIRE 432 992 256 992
WIRE 512 992 432 992
WIRE 576 992 512 992
WIRE 256 1024 256 992
WIRE 576 1072 576 992
WIRE 832 1072 576 1072
WIRE 208 1088 160 1088
WIRE 256 1168 256 1104
WIRE 400 1168 256 1168
WIRE 704 1168 480 1168
SYMBOL Digital\\xor -1024 -1088 M0
SYMATTR InstName A9
SYMATTR Value2 Vhigh = 1.8 Vlow = 0
SYMATTR SpiceLine Trise = {tff_rise} Tfall = {tff_rise} Td = {td_DFF}
SYMBOL Digital\\and -1296 48 R0
SYMATTR InstName A12
SYMATTR Value2 Vhigh = 1.8 Vlow = 0
SYMATTR SpiceLine Trise = {tff_rise} Tfall = {tff_rise} Td = {td_DFF}
SYMBOL voltage 1232 -976 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V3
SYMATTR Value 1.8
SYMBOL g 256 288 M180
SYMATTR InstName G2
SYMATTR Value {G}
SYMBOL cap 416 992 R0
SYMATTR InstName C2
SYMATTR Value 5p
SYMBOL sw 256 864 R0
SYMATTR InstName S6
SYMATTR Value MYSW
SYMBOL voltage 1376 -976 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V5
SYMATTR Value 0
SYMBOL Digital\\dflop 384 -800 R0
SYMATTR InstName A7
SYMATTR SpiceLine Trise = {tff_rise} Tfall = {tff_rise} Td = {td_DFF}
SYMATTR Value2 Vhigh = 1.8 Vlow = 0
SYMBOL sw 480 -128 R90
SYMATTR InstName S4
SYMATTR Value MYSW
SYMBOL sw 256 1008 R0
SYMATTR InstName S7
SYMATTR Value MYSW
SYMBOL Digital\\inv 1728 -96 R0
SYMATTR InstName A13
SYMATTR Value2 Vhigh = 1.8 Vlow = 0
SYMATTR SpiceLine Trise = {tff_rise} Tfall = {tff_rise} Td = {td_DFF}
SYMBOL Digital\\and -1312 -96 R0
SYMATTR InstName A11
SYMATTR Value2 Vhigh = 1.8 Vlow = 0
SYMATTR SpiceLine Trise = {tff_rise} Tfall = {tff_rise} Td = {td_DFF}
SYMBOL voltage -896 -208 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value SINE(0 {vamp1} {X1/T})
SYMBOL Digital\\and -1168 656 R0
SYMATTR InstName A15
SYMATTR Value2 Vhigh = 1.8 Vlow = 0
SYMATTR SpiceLine Trise = {tff_rise} Tfall = {tff_rise} Td = {td_DFF}
FLAG -784 -192 Vin
FLAG 1232 -880 0
FLAG 1232 -1024 VDD
FLAG -992 -960 VSS
FLAG 256 304 0
FLAG 208 208 0
FLAG 512 16 Vp1
FLAG 144 256 V_snh
FLAG 416 240 0
FLAG 448 -176 0
FLAG -1424 -48 PRBS_OUT
FLAG -1184 -48 CHARGE1
FLAG -1392 -32 ~RESET1
FLAG -1424 0 VDD
FLAG -1408 96 ~PRBS_OUT
FLAG -1168 96 DISCHARGE1
FLAG -1376 112 ~RESET1
FLAG -1408 144 VDD
FLAG -1408 -64 ~VCLK
FLAG -1376 80 ~VCLK
FLAG 400 -224 ~CHARGE1
FLAG 160 112 DISCHARGE1
FLAG -1168 -16 ~CHARGE1
FLAG -1120 128 ~DISCHARGE1
FLAG 1376 -880 0
FLAG 1376 -1024 VSS
FLAG 1648 -64 RESET1
FLAG 1840 -32 ~RESET1
FLAG 256 688 VDD
FLAG 432 1056 0
FLAG 208 1184 0
FLAG 208 768 0
FLAG 512 992 Vp2
FLAG 144 816 V_snh
FLAG 208 896 0
FLAG 208 1040 0
FLAG 448 800 0
FLAG 160 944 CHARGE2
FLAG 400 752 ~CHARGE2
FLAG 160 1088 DISCHARGE2
FLAG -1280 704 PRBS_OUT
FLAG -1040 704 CHARGE2
FLAG -1248 720 ~RESET2
FLAG -1280 752 VDD
FLAG -1264 848 ~PRBS_OUT
FLAG -1024 848 DISCHARGE2
FLAG -1264 688 ~VCLK
FLAG -1232 832 ~VCLK
FLAG -1024 736 ~CHARGE2