In the above-described embodiments, other devices or elements (not particularly shown in the drawings) such as a device separation structure called local oxidation of silicon (LOCOS) or shallow trench isolation (STI), gates and pieces of wiring formed of polysilicon may also be formed in the semiconductor substrate 4.