A vertical resistor. A substrate includes a trench filled by an isolation
layer. A first doped-type region and a second doped-type region are
formed on both sides of the trench. The first doped-type region receives
a control bias, the second doped-type region receives a reference bias,
and a resistance between the second doped-type region and the substrate
is adjusted in response to a voltage difference between the control bias
and the reference bias.