A method of manufacturing a semiconductor device includes the steps of bonding a semiconductor chip to a first side of a circuit board, bonding a metal base for dissipating heat produced by the semiconductor chip to a second side of the circuit board, and forming a dam on the metal base by a dam material so as to restrict flow of a solder used in bonding a plurality of the circuit boards to the metal base.