Patent ID: 7361933

Claim:
A semiconductor device comprising: a semiconductor substrate including a first active area formed so as to extend in a first direction and having an end, a first trench formed in the end of the first active area, a second active area formed so as to be adjacent to the first active area in a second direction perpendicular to the first direction and so as to extend in the first direction, the second active area having an end, and a second trench formed in the end of the second active area so as to be adjacent to the first active area in the second direction, the second trench having an outer periphery; a first trench capacitor formed in the first trench; a second trench capacitor formed in the second trench; a first gate electrode disposed above the first active area; a second gate electrode disposed above the second active area; a first impurity doped region formed in the outer periphery of the second trench including a boundary adjacent to the second trench and doped with an impurity of a first conduction type, the first impurity doped region being provided with the second gate electrode and the second trench capacitor both connected together and located in the first active area that is located below the first gate electrode adjacent to the second trench in the second direction; and a second impurity doped region provided in the first impurity doped region so as to include the first active area that is located below the first gate electrode, the second impurity doped region being doped with an impurity of a second conduction type opposite relative to the impurity of the first conduction type.