A semiconductor device which is miniaturized while favorable characteristics thereof are maintained is provided. The worn inlet port has a funnel shape and a diameter greater than that of the extrusion channel. The first testing unit has at least one first alignment hole.