* Z:\tmp\asc_dec_bjh7r6w2\0537480165b4_cmi_7b_2tone_dec0.asc
* Generated by LTspice 26.0.1 for Windows.
V1 VDC 0 0.9
A16 ~VCLK ~PRBS_OUT ~RESET2 VDD VDD ~DISCHARGE2 DISCHARGE2 0 AND Vhigh = 1.8 Vlow = 0 Trise = {tff_rise} Tfall = {tff_rise} Td = {td_DFF}
S9 N017 N016 ~CHARGE2 0 MYSW
S3 N013 N014 ~DISCHARGE1 0 MYSW
A4 N003 N007 VCLK N002 N008 N007 N004 N007 DFLOP Vhigh = 1.8 Vlow = 0 Trise = {tff_rise} Tfall = {tff_rise} Td = {td_DFF}
V6 N011 0 PULSE({VSS} {VDD} {4*T+Tp} 500p 500p {3*T+Tp} {8*T})
A3 PRBS_OUT N005 VCLK N002 N006 N005 N003 N005 DFLOP Vhigh = 1.8 Vlow = 0 Trise = {tff_rise} Tfall = {tff_rise} Td = {td_DFF}
S2 Vp1 N013 DISCHARGE1 0 MYSW
G4 N018 0 V_snh 0 {G}
S10 VDC Vp2 RESET2 0 MYSW
A17 VSS VSS VSS INIT N011 0 RESET1 0 OR Vhigh = 1.8 Vlow = 0 Trise = {tff_rise} Tfall = {tff_rise} Td = {td_DFF}
V9 N012 VDC SINE(0 {vamp2} {X2/T})
S1 N010 Vp1 CHARGE1 0 MYSW
G1 VDD N010 V_snh 0 {G}
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 2036 1496
WIRE -960 -992 -960 -1008
WIRE -960 -992 -976 -992
WIRE -960 -960 -960 -992
WIRE -960 -960 -992 -960
WIRE -768 -864 -1120 -864
WIRE -448 -864 -768 -864
WIRE -176 -864 -448 -864
WIRE -768 -800 -768 -864
WIRE -448 -800 -448 -864
WIRE -960 -752 -1040 -752
WIRE -912 -752 -912 -1040
WIRE -912 -752 -960 -752
WIRE -848 -752 -912 -752
WIRE -528 -752 -688 -752
WIRE -256 -752 -368 -752
WIRE -960 -704 -1024 -704
WIRE -928 -704 -960 -704
WIRE -848 -704 -880 -704
WIRE -528 -704 -560 -704
WIRE -256 -704 -272 -704
WIRE -880 -624 -880 -704
WIRE -880 -624 -1296 -624
WIRE -608 -624 -880 -624
WIRE -560 -624 -560 -704
WIRE -560 -624 -608 -624
WIRE -272 -624 -272 -704
WIRE -272 -624 -560 -624
WIRE 16 -624 -272 -624
WIRE -848 -592 -848 -656
WIRE -768 -592 -768 -656
WIRE -528 -592 -528 -656
WIRE -448 -592 -448 -656
WIRE -256 -592 -256 -656
WIRE 256 -224 256 -288
WIRE 400 -176 400 -224
WIRE 208 -160 144 -160
WIRE 256 -128 256 -144
WIRE 384 -128 256 -128
WIRE 256 -96 256 -128
WIRE 1296 -80 1216 -80
WIRE 1472 -48 1472 -96
WIRE 1504 -48 1472 -48
WIRE 208 -32 160 -32
WIRE 1472 -32 1472 -48
WIRE 1504 -32 1472 -32
WIRE 1648 -32 1648 -64
WIRE 1648 -32 1568 -32
WIRE 1728 -32 1648 -32
WIRE 1472 -16 1472 -32
WIRE 1504 -16 1472 -16
WIRE 1296 0 1296 -80
WIRE 1376 0 1296 0
WIRE 1504 0 1376 0
WIRE 256 16 256 -16
WIRE 432 16 256 16
WIRE 512 16 432 16
WIRE 576 16 512 16
WIRE 1504 16 1296 16
WIRE -896 32 -896 -112
WIRE 256 48 256 16
WIRE 576 96 576 16
WIRE 832 96 576 96
WIRE 208 112 160 112
WIRE 1296 144 1296 96
WIRE 256 192 256 128
WIRE 400 192 256 192
WIRE 704 192 480 192
WIRE 208 256 144 256
WIRE 256 304 256 272
WIRE 464 304 464 240
WIRE -896 352 -896 112
WIRE -896 384 -896 352
WIRE -896 512 -896 464
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 400 800 400 752
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 384 848 256 848
WIRE 576 848 464 848
WIRE -1232 864 -1248 864
WIRE -1184 864 -1232 864
WIRE -1184 880 -1216 880
WIRE -976 880 -1120 880
WIRE -1264 896 -1296 896
WIRE -1216 896 -1216 880
WIRE -1216 896 -1264 896
WIRE -1184 896 -1216 896
WIRE 576 896 576 848
WIRE 720 896 576 896
WIRE 432 992 256 992
WIRE 512 992 432 992
WIRE 576 992 512 992
WIRE 848 1024 848 960
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 208 1232 144 1232
WIRE 256 1280 256 1248
SYMBOL voltage -896 368 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 0.9
SYMBOL Digital\\and -1152 800 R0
SYMATTR InstName A16
SYMATTR Value2 Vhigh = 1.8 Vlow = 0
SYMATTR SpiceLine Trise = {tff_rise} Tfall = {tff_rise} Td = {td_DFF}
SYMBOL sw 480 848 R90
SYMATTR InstName S9
SYMATTR Value MYSW
SYMBOL sw 384 192 R270
SYMATTR InstName S3
SYMATTR Value MYSW
SYMBOL Digital\\dflop -448 -800 R0
SYMATTR InstName A4
SYMATTR SpiceLine Trise = {tff_rise} Tfall = {tff_rise} Td = {td_DFF}
SYMATTR Value2 Vhigh = 1.8 Vlow = 0
SYMBOL voltage 1296 0 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V6
SYMATTR Value PULSE({VSS} {VDD} {4*T+Tp} 500p 500p {3*T+Tp} {8*T})
SYMBOL Digital\\dflop -768 -800 R0
SYMATTR InstName A3
SYMATTR SpiceLine Trise = {tff_rise} Tfall = {tff_rise} Td = {td_DFF}
SYMATTR Value2 Vhigh = 1.8 Vlow = 0
SYMBOL sw 256 32 R0
SYMATTR InstName S2
SYMATTR Value MYSW
SYMBOL g 256 1264 M180
SYMATTR InstName G4
SYMATTR Value {G}
SYMBOL sw 928 1072 R90
SYMATTR InstName S10
SYMATTR Value MYSW
SYMBOL Digital\\or 1536 -80 R0
SYMATTR InstName A17
SYMATTR Value2 Vhigh = 1.8 Vlow = 0
SYMATTR SpiceLine Trise = {tff_rise} Tfall = {tff_rise} Td = {td_DFF}
SYMBOL voltage -896 16 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V9
SYMATTR Value SINE(0 {vamp2} {X2/T})
SYMBOL sw 256 -112 R0
SYMATTR InstName S1
SYMATTR Value MYSW
SYMBOL g 256 -128 M180
SYMATTR InstName G1
SYMATTR Value {G}
FLAG -896 512 0
FLAG -896 352 VDC
FLAG -960 -752 PRBS_OUT
FLAG -960 -704 ~PRBS_OUT
FLAG -608 -624 VCLK
FLAG 256 304 0
FLAG 256 -288 VDD
FLAG 432 80 0
FLAG 208 208 0
FLAG 208 -208 0
FLAG 512 16 Vp1
FLAG 144 -160 V_snh
FLAG 208 -80 0
FLAG 208 64 0
FLAG 416 240 0
FLAG 448 -176 0
FLAG 160 -32 CHARGE1
FLAG 400 -224 ~CHARGE1
FLAG 160 112 DISCHARGE1
FLAG 464 304 ~DISCHARGE1
FLAG 1296 144 0
FLAG 1648 -64 RESET1
FLAG 256 1280 0
FLAG 208 1184 0
FLAG 512 992 Vp2
FLAG 144 1232 V_snh
FLAG 416 1216 0
FLAG 448 800 0
FLAG 896 1024 0
FLAG 400 752 ~CHARGE2
FLAG 160 1088 DISCHARGE2
FLAG 848 960 RESET2
FLAG 912 1072 VDC
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 -1232 864 ~RESET2
FLAG -1264 896 VDD
FLAG -1264 688 ~VCLK
FLAG -1232 832 ~VCLK
FLAG -1024 736 ~CHARGE2
FLAG -976 880 ~DISCHARGE2
FLAG 1472 -96 VSS
FLAG 1216 0 0
FLAG 1376 0 INIT