Patent ID: 7670755

Claim:
A method for manufacturing a semiconductor device, comprising the steps of: preparing a first photomask with a first photomask pattern formed thereon; preparing a second photomask with a second photomask pattern formed thereon; forming a mask material film on a first film; forming a first resist film on the mask material film; forming a first resist pattern by transferring the first photomask pattern to the first resist film and developing the first resist film; forming a first mask pattern by etching the mask material film with the first resist pattern used as a mask; removing the first resist pattern, after forming the first mask pattern; forming a second resist film on the mask material film, after removing the first resist pattern; forming a second resist pattern by transferring the second photomask pattern to the second resist film and developing the second resist film; forming a second mask pattern by etching the mask material film with the second resist pattern used as a mask, the second mask pattern including the first mask pattern; removing the second resist pattern, after forming the second mask pattern; and forming a first film pattern by etching the first film with the second mask pattern used as a mask, after removing the second resist pattern, wherein the first photomask pattern is formed in accordance with a first writing pattern data which is generated by a writing pattern data generating method, in which the first writing pattern data is generated from a first pattern data, and, in order to generate the first writing pattern data, the first pattern data is corrected in accordance with a first formation change difference between the first resist pattern and the first mask pattern formed by etching the mask material film with the first resist pattern used as a mask and a second formation change difference between the first film pattern and the second mask pattern which is formed by etching the mask material film with the second resist pattern used as a mask, the second mask pattern including the first mask pattern.