CGS resistor