摘要 |
PROBLEM TO BE SOLVED: To prevent erroneous program writing by suppressing variations in the size of regions (program regions) to be programmed within memory cells. SOLUTION: Data on a program region is corrected depending on whether or not ambient program regions are open, and the program pattern is formed with use of the connected data. When the program region coincides with a memory cell 10, fluctuations in the program region becomes larger, which is especially valid. In this case, the data correction is carried out preferably over the program regions of isolated remaining and missing patterns having great pattern width variations. In addition, the correction may be made over the other program regions. When such correction is carried out as to cancel the pattern width variations, the size of the program regions can be made uniform. Therefore, a margin necessary for overlap width of the transistor with a channel region 22 can be easily secured, thus enabling prevention of erroneous program writing. |