[0017]FIGS. 3A and 3B are schematic cross sectional views of a semiconductor substrate explaining the effects of the embodiment shown in FIGS. 1A to 1I and FIGS. 2A to 2C. [0018]FIGS. 4A, 4B, and 4C are a cross sectional view and circuit diagrams illustrating the structure of the peripheral circuit of the semiconductor device shown in FIGS. 1A to 1I and FIGS. 2A to 2C. [0019]FIGS. 5A and 5B are a