Patent ID: 7307288

Claim:
A semiconductor device comprising: an enclosure including a bottom portion and side portions and having an aperture on an upper part thereof; a semiconductor element fixed to a surface of the bottom portion and having at least one of a light accepting portion or a light emitting portion; a plurality of leads buried in the bottom portion and arranged so that a first end thereof approaches the semiconductor element; conductive wires to connect the semiconductor element to each lead; and a lid that occludes the aperture and that is transparent to at least one of light received by the light accepting portion or light emitted by the light emitting portion, wherein each lead includes different first and second convex portions exposed at the bottom portion of the enclosure, and the first and second convex portions are on each lead, wherein the first convex portion of each lead is directly under a region where the conductive wire is connected to the lead and wherein a distance between respective first convex portions is less than a distance between respective second convex portions.