By using the lowerelectrode material as a local wiring in a peripheral circuit area in this way, flexibility of wiring layout can be increased and reduction of a chip dimension can be easily implemented.In the respective embodiments described above, the lower or upper electrode of a capacitor may be formed of another conductive material such as polysilicon or tungsten.