If a DRAM and a logic such as a processor are to be integrated on a common semiconductor chip, it is necessary that MOS transistors (insulated gate type field effect transistors) which are components of the logic have insulating films different in thickness from those of the memory cell transistors of the DRAM. In this case, therefore, the gate insulating films of the MOS transistors of the logic