Patent ID: 8574995

Claim:
A method, comprising: provide a substrate having a first recess formed in a first surface; depositing a first doping layer on and over the first surface of the substrate including on sidewalls of the first recess; annealing the substrate and first doping layer, wherein the annealing drives dopants of a first type from the first doping layer into the sidewalls of the first recess thereby providing a doped region of the substrate; and after annealing the substrate and first doping layer, growing an epitaxial region on the doped region of the substrate and in the first recess wherein the annealing drives dopants of a first type from the first doping layer through the sidewalls of the first recess to form a first doped region of the semiconductor substrate: forming a second doping layer on sidewalls of a second recess formed in the semiconductor substrate; and after forming the second doping layer, annealing the semiconductor substrate and second doping layer, wherein the annealing drives dopants of a second type, opposite the first type, from the second doping layer through the sidewalls of the second recess to form a second doped region of the semiconductor substrate.