While aluminum was used as the wiring layer material in the above embodiment, other materials such as aluminum alloy, tungsten, molybdenum, titanium-containing tungsten, polysilicon, gold, platinum and titanium nitride films or their multi-layered films may also be used.