* SPICE netlist
Q1 P001 N009 0 0 2N3904
Q2 P002 N007 V1 0 2N3906
Q3 N006 N008 0 0 2N3904
Q4 N002 N005 0 0 2N3904
Q5 N010 N012 0 0 2N3904
Q6 N011 N013 0 0 2N3904
Q7 N004 N003 V1 0 2N3906
R1 V1 N007 10k
R2 N007 N006 3.3k
R3 N008 MEAS_LR 3.3k
R4 0 N008 10k
R5 MEAS_C N009 3.3k
R6 0 N009 10k
R7 dut1 P002 0.01
R8 P001 dut1 0.01
R9 LOWSIDE_R N012 3.3k
R10 0 N012 10k
R11 INTEGRATE N013 3.3k
R12 0 N013 10k
R13 0 N005 10k
R14 N005 HIGHSIDE_R 3.3k
R15 N003 V1 10k
R16 N002 N003 3.3k
R17 N004 dut2 100k
C1 dut2 N011 1
R18 dut2 N010 33
XU1 dut2 vcomp V1 0 out LTC6752 ;pnba +In)-In)VCC)VEE)Q
V1 NC_01 NC_02 5
V2 vcomp 0 2.469
D1 dut1 V1 1N5817
D2 0 dut1 1N5817
D3 dut2 V1 1N5817
D4 0 dut2 1N5817
V3 MEAS_LR 0 2.4
V4 MEAS_C 0 0.4
V5 HIGHSIDE_R 0 0.4
V6 LOWDISE_R 0 PULSE(0.4 2.4 0.001 0.00000001 0.00000001 0.09 0.025 2)
V7 INTEGRATE 0 0.4
L1 dut1 N001 100
R19 dut2 N001 0.01
C2 dut2 dut1 1f
.tran 0 9mS 0

* LTspice schematic (.asc)
Version 4
SHEET 1 3280 1648
WIRE 1464 -760 1320 -760
WIRE 1640 -760 1528 -760
WIRE 1320 -632 1320 -760
WIRE 1352 -632 1320 -632
WIRE 1544 -632 1432 -632
WIRE 1640 -632 1640 -760
WIRE 1640 -632 1624 -632
WIRE -312 -552 -312 -568
WIRE 296 -552 296 -568
WIRE 152 -472 152 -552
WIRE -312 -440 -312 -552
WIRE 296 -408 296 -552
WIRE -40 -360 -136 -360
WIRE 152 -360 152 -392
WIRE 152 -360 40 -360
WIRE 232 -360 152 -360
WIRE -136 -328 -136 -360
WIRE 360 -312 296 -312
WIRE -1000 -296 -1000 -312
WIRE -1496 -280 -1496 -312
WIRE -312 -280 -312 -360
WIRE -200 -280 -312 -280
WIRE -1000 -264 -1000 -296
WIRE -808 -232 -808 -248
WIRE -312 -216 -312 -280
WIRE 360 -184 360 -312
WIRE -1496 -152 -1496 -280
WIRE -136 -152 -136 -232
WIRE -808 -136 -808 -232
WIRE -1176 -88 -1288 -88
WIRE -1000 -88 -1000 -184
WIRE -1000 -88 -1096 -88
WIRE -872 -88 -1000 -88
WIRE -312 -72 -312 -136
WIRE -1288 -40 -1288 -88
WIRE 776 -40 776 -72
WIRE -1496 8 -1496 -72
WIRE -1352 8 -1496 8
WIRE 776 8 776 -40
WIRE 744 24 680 24
WIRE 1048 40 808 40
WIRE -808 56 -808 40
WIRE -632 56 -632 8
WIRE -632 56 -808 56
WIRE -408 56 -408 8
WIRE -104 56 -408 56
WIRE 360 56 360 -104
WIRE 360 56 -104 56
WIRE 376 56 360 56
WIRE 744 56 376 56
WIRE -808 72 -808 56
WIRE -1496 120 -1496 8
WIRE -632 152 -632 56
WIRE -408 152 -408 56
WIRE 776 168 776 72
WIRE 1368 168 1288 168
WIRE 1528 168 1448 168
WIRE 1544 168 1528 168
WIRE -104 184 -104 56
WIRE -984 200 -1112 200
WIRE -872 200 -984 200
WIRE 376 200 376 56
WIRE 680 200 680 24
WIRE 1048 200 680 200
WIRE 680 248 680 200
WIRE -1496 264 -1496 200
WIRE -1288 264 -1288 56
WIRE -1112 280 -1112 200
WIRE -984 280 -984 200
WIRE 1288 312 1288 168
WIRE 1368 312 1288 312
WIRE 1528 312 1448 312
WIRE 1544 312 1528 312
WIRE -808 344 -808 248
WIRE -104 376 -104 264
WIRE -104 376 -120 376
WIRE 376 376 376 264
WIRE 376 376 360 376
WIRE -984 424 -984 360
WIRE -264 424 -376 424
WIRE -184 424 -264 424
WIRE 232 424 104 424
WIRE 296 424 232 424
WIRE 680 424 680 328
WIRE -1112 456 -1112 360
WIRE -376 456 -376 424
WIRE -264 456 -264 424
WIRE 1288 456 1288 312
WIRE 1368 456 1288 456
WIRE 1512 456 1448 456
WIRE 1544 456 1512 456
WIRE 104 472 104 424
WIRE 232 472 232 424
WIRE 232 552 232 536
WIRE -264 584 -264 536
WIRE -120 584 -120 472
WIRE 232 600 232 552
WIRE 360 600 360 472
WIRE 1288 600 1288 456
WIRE 1368 600 1288 600
WIRE 1496 600 1448 600
WIRE 1544 600 1496 600
WIRE -376 616 -376 536
WIRE 104 632 104 552
WIRE 1288 744 1288 600
WIRE 1368 744 1288 744
WIRE 1512 744 1448 744
WIRE 1544 744 1512 744
WIRE 1288 824 1288 744
FLAG -808 344 0
FLAG -984 424 0
FLAG -264 584 0
FLAG -120 584 0
FLAG 232 600 0
FLAG 360 600 0
FLAG -136 -152 0
FLAG -1496 264 0
FLAG -1288 264 0
FLAG -312 -72 0
FLAG -1000 -296 V1
FLAG -808 -232 V1
FLAG -632 216 0
FLAG -408 216 0
FLAG -632 -56 V1
FLAG -408 -56 V1
FLAG 152 -552 V1
FLAG 296 -552 V1
FLAG 680 424 0
FLAG 776 168 0
FLAG 776 -40 V1
FLAG 1528 168 MEAS_LR
FLAG 1528 312 MEAS_C
FLAG 1512 456 HIGHSIDE_R
FLAG 1496 600 LOWDISE_R
FLAG 1512 744 INTEGRATE
FLAG 1288 824 0
FLAG -632 56 dut1
IOPIN 496 32 BiDir
FLAG -408 56 dut2
IOPIN 720 32 BiDir
FLAG 1320 -632 dut1
IOPIN 2448 -656 BiDir
FLAG 1640 -632 dut2
IOPIN 2768 -656 BiDir
FLAG 1048 40 out
IOPIN 2176 16 Out
FLAG 1048 200 vcomp
IOPIN 2176 176 Out
FLAG -1496 -280 MEAS_LR
IOPIN -368 -304 In
FLAG -376 616 LOWSIDE_R
IOPIN 752 592 In
FLAG 104 632 INTEGRATE
IOPIN 1232 608 In
FLAG -312 -552 HIGHSIDE_R
IOPIN 816 -576 In
FLAG -1112 456 MEAS_C
IOPIN 16 432 In
DATAFLAG -368 -304 "$"
DATAFLAG -368 -304 "$"
SYMBOL npn -872 152 R0
SYMATTR InstName Q1
SYMATTR Value 2N3904
SYMBOL pnp -872 -40 M180
SYMATTR InstName Q2
SYMATTR Value 2N3906
SYMBOL npn -1352 -40 R0
SYMATTR InstName Q3
SYMATTR Value 2N3904
SYMBOL npn -200 -328 R0
SYMATTR InstName Q4
SYMATTR Value 2N3904
SYMBOL npn -184 376 R0
SYMATTR InstName Q5
SYMATTR Value 2N3904
SYMBOL npn 296 376 R0
SYMATTR InstName Q6
SYMATTR Value 2N3904
SYMBOL pnp 232 -312 M180
SYMATTR InstName Q7
SYMATTR Value 2N3906
SYMBOL res -1016 -280 R0
SYMATTR InstName R1
SYMATTR Value 10k
SYMBOL res -1080 -104 R90
SYMATTR InstName R2
SYMATTR Value 3.3k
SYMBOL res -1480 -56 R180
SYMATTR InstName R3
SYMATTR Value 3.3k
SYMBOL res -1480 216 R180
SYMATTR InstName R4
SYMATTR Value 10k
SYMBOL res -1096 376 R180
SYMATTR InstName R5
SYMATTR Value 3.3k
SYMBOL res -968 376 R180
SYMATTR InstName R6
SYMATTR Value 10k
SYMBOL res -792 56 R180
SYMATTR InstName R7
SYMATTR Value 0.01
SYMBOL res -792 168 R180
SYMATTR InstName R8
SYMATTR Value 0.01
SYMBOL res -360 552 R180
SYMATTR InstName R9
SYMATTR Value 3.3k
SYMBOL res -248 552 R180
SYMATTR InstName R10
SYMATTR Value 10k
SYMBOL res 120 568 R180
SYMATTR InstName R11
SYMATTR Value 3.3k
SYMBOL res 248 568 R180
SYMATTR InstName R12
SYMATTR Value 10k
SYMBOL res -296 -120 R180
SYMATTR InstName R13
SYMATTR Value 10k
SYMBOL res -296 -344 R180
SYMATTR InstName R14
SYMATTR Value 3.3k
SYMBOL res 168 -376 R180
SYMATTR InstName R15
SYMATTR Value 10k
SYMBOL res -56 -344 R270
SYMATTR InstName R16
SYMATTR Value 3.3k
SYMBOL res 344 -200 R0
SYMATTR InstName R17
SYMATTR Value 100k
SYMBOL cap 360 200 R0
SYMATTR InstName C1
SYMATTR Value 1ľ
SYMBOL res -120 168 R0
SYMATTR InstName R18
SYMATTR Value 33
SYMBOL Comparators/LTC6752 776 -24 R0
SYMATTR InstName U1
SYMBOL voltage -1640 -824 R0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL voltage 680 232 R0
SYMATTR InstName V2
SYMATTR Value 2.469
SYMBOL schottky -616 8 R180
SYMATTR InstName D1
SYMATTR Value 1N5817
SYMATTR Description Zener Diode
SYMATTR Type zener
SYMBOL schottky -616 216 R180
SYMATTR InstName D2
SYMATTR Value 1N5817
SYMATTR Description Zener Diode
SYMATTR Type zener
SYMBOL schottky -392 8 R180
SYMATTR InstName D3
SYMATTR Value 1N5817
SYMATTR Description Zener Diode
SYMATTR Type zener
SYMBOL schottky -392 216 R180
SYMATTR InstName D4
SYMATTR Value 1N5817
SYMATTR Description Zener Diode
SYMATTR Type zener
SYMBOL voltage 1464 168 R90
SYMATTR InstName V3
SYMATTR Value 2.4
SYMBOL voltage 1464 312 R90
SYMATTR InstName V4
SYMATTR Value 0.4
SYMBOL voltage 1464 456 R90
SYMATTR InstName V5
SYMATTR Value 0.4
SYMBOL voltage 1464 600 R90
SYMATTR InstName V6
SYMATTR Value PULSE(0.4 2.4 0.001 0.00000001 0.00000001 0.09 0.025 2)
SYMBOL voltage 1464 744 R90
SYMATTR InstName V7
SYMATTR Value 0.4
SYMBOL ind 1336 -616 R270
SYMATTR InstName L1
SYMATTR Value 100ľ
SYMBOL res 1640 -648 R90
SYMATTR InstName R19
SYMATTR Value 0.01
SYMBOL cap 1528 -776 R90
SYMATTR InstName C2
SYMATTR Value 1f