Patent ID: 8039358

Claim:
A method of manufacturing a semiconductor device, comprising: forming a trench on a semiconductor substrate to define a first element region and a second element region; burying a first oxide film in said trench; forming a second oxide film on surfaces of said first and second element regions; performing a first ion doping through the second oxide film into the semiconductor substrate using a first mask which is exposing a first region containing said first element region and a part of said first oxide film; performing a second ion doping through the second oxide film into the semiconductor substrate using a second mask which is exposing a second region containing said second element region and a part of said first oxide film; after performing the first ion doping and the second ion doping, removing said second oxide film formed in said first element region and said second element region by etching, after removing said second oxide film, forming an insulator film on said first and second element regions; forming a conductive film on said insulator film; and forming a gate electrode of a transistor by patterning said conductive film; wherein said first oxide film in said second region is selectively thinned using said second mask so that an upper surface of said first oxide film in said second element region is lower than an upper surface of said first oxide film in the first element region and is higher than a surface of said semiconductor substrate, after performing said first or second ion doping and before removing said second oxide film.