* Z:\tmp\asc_dec_bjh7r6w2\1256bb11b298_4046Vco_dec2.asc
* Generated by LTspice 26.0.1 for Windows.
Rm M N001 1
Badj Adj Vss V=TABLE ((abs(V(vdd)*V(M)/I(Er2)*I(Er1))),.5,1.43, 1,1.6, 10,1.04, 50,.67, 100,.84, 101,1, 102,1, 1000,1)
Rcext Ce1 Ce2 1g
Cint Sqr Vss 10f
Bm M N001 V=(if(v(vcoin,vss)<v(vdd,vss),S1*v(vcoin,vss),S2*(v(vcoin,vss)+v(vdd,vss)))*Kb+Vfree)
vcext Ce2 Vss 0
Vlimh 13 Vss {Vdd}
Vliml Vss 14 {Vdd}
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1176 680
WIRE -368 352 -368 336
WIRE -368 368 -368 352
WIRE -368 464 -368 432
WIRE -352 336 -368 336
WIRE -304 112 -304 96
WIRE -304 224 -304 192
WIRE -304 352 -368 352
WIRE -304 368 -304 352
WIRE -304 464 -368 464
WIRE -304 464 -304 448
WIRE -288 96 -304 96
WIRE -224 96 -288 96
WIRE -224 128 -224 96
WIRE -224 224 -304 224
WIRE -224 224 -224 208
WIRE -208 368 -208 352
WIRE -208 464 -304 464
WIRE -208 464 -208 448
WIRE -160 352 -208 352
WIRE -144 64 -176 64
WIRE -144 112 -160 112
WIRE -144 112 -144 64
WIRE -144 128 -144 112
WIRE -144 224 -224 224
WIRE -144 224 -144 208
WIRE -128 352 -160 352
WIRE -128 368 -128 352
WIRE -128 464 -208 464
WIRE -128 464 -128 448
WIRE -112 64 -144 64
WIRE -112 112 -144 112
WIRE -48 384 -48 352
WIRE -32 384 -48 384
WIRE -16 64 -32 64
WIRE -16 112 -48 112
WIRE -16 112 -16 64
WIRE -16 128 -16 112
WIRE -16 224 -144 224
WIRE -16 224 -16 208
WIRE 16 64 -16 64
WIRE 16 352 -48 352
WIRE 16 368 16 352
WIRE 16 464 -128 464
WIRE 16 464 16 448
WIRE 32 352 16 352
WIRE 80 224 -16 224
WIRE 160 112 112 112
WIRE 160 128 160 112
WIRE 160 224 80 224
WIRE 160 224 160 208
WIRE 176 464 16 464
WIRE 192 112 160 112
WIRE 288 112 272 112
WIRE 320 112 288 112
WIRE 320 112 320 80
WIRE 320 144 320 112
WIRE 320 224 160 224
WIRE 320 224 320 208
WIRE 368 112 320 112
WIRE 448 112 432 112
WIRE 464 112 448 112
WIRE 464 128 464 112
WIRE 464 224 320 224
WIRE 464 224 464 208
WIRE 480 80 320 80
WIRE 480 112 480 80
WIRE 480 352 464 352
WIRE 480 368 480 352
WIRE 512 112 480 112
WIRE 576 368 576 352
WIRE 592 112 576 112
WIRE 608 112 592 112
WIRE 608 128 608 112
WIRE 608 224 464 224
WIRE 608 224 608 208
WIRE 688 64 672 64
WIRE 688 128 688 64
WIRE 688 224 608 224
WIRE 688 224 688 208
WIRE 688 352 576 352
WIRE 688 368 688 352
WIRE 704 336 688 336
WIRE 704 352 688 352
WIRE 704 352 704 336
SYMBOL res -224 352 R0
WINDOW 0 24 47 Left 0
SYMATTR InstName Rm
SYMATTR Value 1
SYMBOL bv -224 112 R0
WINDOW 0 -30 56 Left 0
WINDOW 3 -191 127 Left 0
SYMATTR InstName Badj
SYMATTR Value V=TABLE ((abs(V(vdd)*V(M)/I(Er2)*I(Er1))),.5,1.43, 1,1.6, 10,1.04, 50,.67, 100,.84, 101,1, 102,1, 1000,1)
SYMBOL res -16 48 R90
WINDOW 0 17 123 VBottom 0
WINDOW 3 -11 11 VTop 0
SYMATTR InstName Rcext
SYMATTR Value 1g
SYMBOL cap 304 144 R0
WINDOW 0 -58 29 Left 0
WINDOW 3 -47 57 Left 0
SYMATTR InstName Cint
SYMATTR Value 10f
SYMBOL bv -128 352 R0
WINDOW 0 -18 58 Left 0
WINDOW 3 -162 125 Left 0
SYMATTR InstName Bm
SYMATTR Value V=(if(v(vcoin,vss)<v(vdd,vss),S1*v(vcoin,vss),S2*(v(vcoin,vss)+v(vdd,vss)))*Kb+Vfree)
SYMBOL voltage -144 112 R0
WINDOW 0 -32 55 Left 0
WINDOW 3 42 81 Left 0
SYMATTR InstName vcext
SYMATTR Value 0
SYMBOL voltage 464 112 R0
WINDOW 0 -67 99 Left 0
WINDOW 3 -30 61 Left 0
SYMATTR InstName Vlimh
SYMATTR Value {Vdd}
SYMBOL voltage 608 224 R180
WINDOW 0 20 15 Left 0
WINDOW 3 -30 56 Left 0
SYMATTR InstName Vliml
SYMATTR Value {Vdd}
FLAG 464 352 Vcoin
FLAG -160 352 M
FLAG -48 384 Ir1
FLAG -32 432 M
FLAG 32 352 r1
FLAG 80 224 Vss
FLAG -288 96 Adj
FLAG 16 64 Ce1
FLAG -176 64 Ce2
FLAG 112 112 Pul
FLAG 288 112 Sqr
FLAG 448 112 13
FLAG 592 112 14
FLAG 672 64 Vcout
FLAG -352 336 Zener
FLAG 688 336 Demout