Patent ID: 8739098

Claim:
A method for defect reconstruction and compensation repair, the method comprising: determining, by at least one computing device, a defect starting point of a defect of a mask, the defect starting point comprising a size of the defect and a location of the defect; simulating, by at least one computing device, a performance of the mask with the defect; comparing, by at least one computing device, the simulated performance of the mask to an empirical analysis of the mask; determining, by the at least one computing device, whether the simulated performance of the mask is similar to the empirical analysis of the mask within a predetermined statistical amount, wherein the defect starting point is accepted in the case that the simulated performance of the mask is similar to the empirical analysis of the mask within the predetermined statistical amount, and wherein the defect starting point is modified in the case that the simulated performance of the mask is not similar to the empirical analysis of the mask within the predetermined statistical amount; determining, by at least one computing device, a profile of the mask and the defect based on the comparing; determining, by at least one computing device, a geometry of the mask based on the profile of the mask and the defect; calculating, by at least one computing device, an initial image of the mask geometry with the defect of the mask; comparing, by at least one computing device, the initial image of the mask geometry to a target image of the mask; and generating a compensated layout from the comparison of the initial image of the mask geometry and the target image of the mask.