Thereafter, processes including formation of an insulating layer 34 using SOG and CVD (Chemical Vapor Deposition), a polysilicon contact 36 by deposition, metal wiring 38 and a protective coat 40 are performed, thus obtaining a complementary MOS and a diode, as shown in FIG. 7.