Patent ID: 7786542

Claim:
A method comprising: forming a first device by: forming a first inclined step on a first wafer, forming a first reflective face on an inclined plane on the first inclined step to reflect light incoming from a lateral side, and forming at least a first microlens over a lower end face adjacent the first inclined step; and forming a second device by: forming a second inclined step on a second wafer, forming a second reflective face on an inclined plane on the second inclined step to reflect the light incoming from the lateral side, and forming at least a second microlens over a first portion of an upper end face adjacent the second inclined step; forming a first via-hole on an upper end face adjacent the first inclined step and forming a second via-hole on a second portion of the upper end face of the second wafer; filling the first and second via-holes with metal; and connecting the metal within the first via-hole and the metal within the second via-hole together.