A semiconductor device has a structure that is capable of reducing warping
of a semiconductor wafer when the semiconductor device is manufactured.
The semiconductor device is manufactured by a method including the steps
for forming an interlayer dielectric film having an internal compression
stress and an interlayer dielectric film having an internal tensile
stress. As a result, when semiconductor devices are manufactured, the
tensile stress and the compression stress act on the semiconductor wafer.
As a consequence, the overall stress that acts on the semiconductor wafer
are reduced to a small level or to zero, and thus warping of the
semiconductor wafer is reduced or eliminated when semiconductor devices
are manufactured.