Patent ID: 8692334

Claim:
A resistor integrated with a transistor having metal gate comprising: a substrate having a transistor region and a resistor region defined thereon; a transistor positioned in the transistor region, the transistor further comprising a metal gate; and a resistor positioned in the resistor region, the resistor further comprising: a polysilicon portion; a pair of conductive terminals respectively positioned at two opposite ends of the polysilicon portion, the conductive terminals and the metal gate comprising a same structure; and two protecting layers respectively positioned in between the polysilicon portion and the conductive terminal; and wherein the substrate comprises at least a shallow trench isolation (STI) formed in the resistor region, and the conductive terminals are positioned on the STI; and wherein a portion of the conductive terminals and a portion of the protecting layers are embedded in the STI, and bottoms of the conductive terminals and the protecting layers are lower than a surface of the STI.