* Z:\tmp\asc_dec_bjh7r6w2\1256bb11b298_4046Vco_dec0.asc
* Generated by LTspice 26.0.1 for Windows.
Dliml 14 Sqr Dio
Bsqr Pul Vss V=(1.2e6*V(sqr)-1e7*V(Ce1))
Radj Adj Vss 1g
Er1 Vss Ir1 M Ir1 2e8
Cstray Ce1 Ce2 5p
Er2 Vss Ir2 Vdd Ir2 2e8
Rint Sqr Pul .1T
BOut Vcout Vss V=table ((1-u(v(inh)))*(v(sqr)),.1,.1, v(vdd),v(vdd))
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1176 680
WIRE -304 112 -304 96
WIRE -304 224 -304 192
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 -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 112 384 112 352
WIRE 128 384 112 384
WIRE 160 112 112 112
WIRE 160 128 160 112
WIRE 160 224 80 224
WIRE 160 224 160 208
WIRE 176 352 112 352
WIRE 176 368 176 352
WIRE 176 464 16 464
WIRE 176 464 176 448
WIRE 192 112 160 112
WIRE 192 352 176 352
WIRE 224 464 176 464
WIRE 272 384 272 352
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 336 352 272 352
WIRE 336 368 336 352
WIRE 336 464 224 464
WIRE 336 464 336 448
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 464 336 464
WIRE 512 112 480 112
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
SYMBOL diode 576 96 R90
WINDOW 0 1 32 VBottom 0
WINDOW 3 32 32 VTop 0
SYMATTR InstName Dliml
SYMATTR Value Dio
SYMBOL bv 160 112 R0
WINDOW 0 -26 59 Left 0
WINDOW 3 -52 155 Left 0
SYMATTR InstName Bsqr
SYMATTR Value V=(1.2e6*V(sqr)-1e7*V(Ce1))
SYMBOL res -320 96 R0
WINDOW 0 33 16 Left 0
WINDOW 3 34 48 Left 0
SYMATTR InstName Radj
SYMATTR Value 1g
SYMBOL e 16 464 M180
WINDOW 0 -17 58 Left 0
WINDOW 3 -58 96 Left 0
SYMATTR InstName Er1
SYMATTR Value 2e8
SYMBOL cap -48 96 R90
WINDOW 0 56 28 VBottom 0
WINDOW 3 -12 -16 VTop 0
SYMATTR InstName Cstray
SYMATTR Value 5p
SYMBOL e 176 464 M180
WINDOW 0 -17 58 Left 0
WINDOW 3 -59 96 Left 0
SYMATTR InstName Er2
SYMATTR Value 2e8
SYMBOL res 288 96 R90
WINDOW 0 -2 112 VBottom 0
WINDOW 3 -28 61 VTop 0
SYMATTR InstName Rint
SYMATTR Value .1T
SYMBOL bv 688 112 R0
WINDOW 0 -28 58 Left 0
WINDOW 3 -530 187 Left 0
SYMATTR InstName BOut
SYMATTR Value V=table ((1-u(v(inh)))*(v(sqr)),.1,.1, v(vdd),v(vdd))
FLAG 224 464 Vss
FLAG -160 352 M
FLAG 112 384 Ir2
FLAG 128 432 Vdd
FLAG 192 352 r2
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 272 384 Inh