Matched drain resistor