A semiconductor device is provided which includes a first semiconductor chip,
a
substrate onto which the first semiconductor chip is flip-chip bonded and on which
a concave is formed along one side of the first semiconductor chip which is flip-chip
bonded, a second semiconductor chip which is flip-chip bonded onto a portion on
the substrate opposite the first semiconductor chip across the concave on the substrate,
and a resin applied to spaces between the substrate and the first and second semiconductor chips.