Semiconductor sample testing

The system uses a trained classifier to align and register semiconductor images with design data, addressing misalignment issues in semiconductor testing by generating test recipes that automatically detect and correct discrepancies, enhancing testing efficiency and accuracy.

JP7536881B2Active Publication Date: 2024-08-20APPL MATERIALS ISRAEL LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2022554197
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-03-31
Filing Date
2020-11-04
Publication Date
2024-08-20
Estimated Expiration
2040-11-04

AI Technical Summary

Technical Problem

Current semiconductor testing methods struggle to accurately align and register images of manufactured devices with design data, leading to inefficient and time-consuming manual inspections to detect misalignments, which can result in misleading test results and increased time-to-recipe (TtR).

Method used

A system and method for generating test recipes using a processor and memory circuit (PMC) that superimposes captured images with design data, employing a trained classifier to determine the effectiveness of image alignment based on edge and profile attributes, generating layer scores and thresholds to automatically detect and correct misalignments.

Benefits of technology

Automatically detects and corrects image misalignments, providing reliable test results and reducing manual inspection efforts, thereby improving testing efficiency and accuracy in semiconductor manufacturing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007536881000005
    Figure 0007536881000005
  • Figure 0007536881000001
    Figure 0007536881000001
  • Figure 0007536881000010
    Figure 0007536881000010
Patent Text Reader

Abstract

A system and method for testing a semiconductor specimen using a test recipe is provided. The method includes obtaining an overlaid image pair for each design-based structural element associated with a given layer, calculating edge attributes, using a trained classifier to determine the class of the design-based structural element, and generating a layer score usable to determine the validity of the overlaid image pair. A system and method for generating a test recipe usable for testing a semiconductor specimen is also provided.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The subject matter disclosed herein relates generally to the field of testing of specimens, and more particularly to testing of semiconductor specimens using test recipes. [Background technology]

[0002] Current demands for increased density and performance associated with ultra-large scale integration of manufactured devices necessitate sub-micron features, increased transistor and circuit speeds, and improved reliability. Such demands necessitate the formation of device features with high precision and uniformity, which requires careful monitoring of the manufacturing process, including automated testing of the devices while at the semiconductor wafer.

[0003] As a non-limiting example, runtime testing may use a two-stage procedure, such as inspection of a specimen followed by review of potential defect locations. During the first stage, the surface of the specimen is inspected at a high speed and relatively low resolution. In the first stage, a defect map is created to indicate suspect locations on the specimen that have a high probability of being defective. During the second stage, at least some of the suspect locations are more thoroughly analyzed at a relatively high resolution. In some cases, both stages may be performed by the same inspection tool, and in some other cases, the two stages are performed by different inspection tools.

[0004] Testing processes are used at various steps during semiconductor manufacturing to detect and classify defects on the specimens and to perform metrology-related operations. Process automation, such as automatic defect classification (ADC), automatic defect review (ADR), image segmentation, etc., can improve the effectiveness of testing. Summary of the Invention

[0005] According to certain aspects of the subject matter disclosed herein, a system for testing a semiconductor specimen using a test recipe is provided, the system comprising a processor and memory circuit (PMC), the processor and memory circuit (PMC) acquires a superimposed image pair including a first image captured by a test tool and representative of at least a portion of the semiconductor specimen, and a second image generated based on design data depicting at least a portion of the specimen, the second image providing information of one or more design-based structural elements presented in the design data and respective layers associated with each design-based structural element, and for each design-based structural element associated with a given layer, a design-based structural element associated with the given layer is generated based on the design data. The test recipe is configured to calculate edge attributes associated with the structural elements and indicative of a probable presence of an edge of the image-based structural element in the first image at the location of the edge of the design-based structural element in the second image, determine a class of the design-based structural element based on the edge attribute associated therewith using a trained classifier included in the test recipe, the class of the design-based structural element indicative of the validity of the registration between the first image and the second image at the location of the design-based structural element, and generate a layer score for a given layer based on the class of each design-based structural element associated with a given layer that can be used to determine the validity of the registered image pair based on a layer threshold value predefined in the test recipe.

[0006] In addition to the features described above, systems according to this aspect of the subject matter disclosed in this specification may include one or more of the following features (i)-(vi) in any desired combination or permutation that is technically possible. (i) The first image may be a high resolution image captured by a review tool. (ii) The second image can be generated by running a simulation on the design data. (iii) the PMC may be further configured to calculate, for each design-based structural element associated with a given layer, one or more gray level profiles along one or more characteristic directions at a location of the design-based structural element in the first image that corresponds to the location of the design-based structural element in the second image, and calculate one or more profile attributes associated with the design-based structural element and each indicative of a difference between the respective gray level profile and a respective baseline gray level profile included in the test recipe, wherein each baseline gray level profile is calculated along a respective characteristic direction for a family of design-based structural elements to which the design-based structural element belongs, and determining the class using the trained classifier is based on the edge attributes and one or more profile attributes associated therewith. (iv) The PMC may be configured to calculate edge attributes by applying a statistical test between two pixel populations from either side of an edge of the design-based structural element in the first image and determining a separation distance between the two pixel populations based on the result of the statistical test. (v) The layer score may be the percentage of the design-based structural elements that are classified as being validly overlapped. (vi) the second image may provide information of one or more design-based structural elements associated with a plurality of layers, and the calculations, uses, and generation are performed for each of the plurality of layers to yield a plurality of layer scores, and the PMC is further configured to determine the validity of the superimposed image pair based on the plurality of layer scores and a plurality of layer thresholds predefined in the test recipe.

[0007] According to another aspect of the subject matter disclosed herein, there is provided a method for testing a semiconductor specimen using a test recipe, the method being executed by a processor and memory circuit (PMC), the method including: acquiring a superimposed image pair including a first image captured by a test tool and representative of at least a portion of the semiconductor specimen, and a second image generated based on design data depicting at least a portion of the specimen, the second image providing information of one or more design-based structural elements presented in the design data and respective layers associated with each design-based structural element; and, for each design-based structural element associated with a given layer, acquiring a superimposed image pair including a first image representing at least a portion of the semiconductor specimen, the second image providing information of one or more design-based structural elements presented in the design data and respective layers associated with each design-based structural element; The method includes calculating edge attributes associated with the first and second images, the edge attributes being indicative of a probable presence of an edge of an image-based structural element in the first image at the edge of the design-based structural element in the second image, using a trained classifier included in the test recipe to determine a class of the design-based structural element based on the edge attributes associated therewith, the class of the design-based structural element being indicative of validity of a registration between the first and second images at the location of the design-based structural element, and generating a layer score for a given layer based on the class of each design-based structural element associated with a given layer, the layer score being usable to determine validity of the registered image pair based on a layer threshold value predefined in the test recipe.

[0008] This aspect of the disclosed subject matter may include one or more of features (i)-(vi) listed above with respect to the system, mutatis mutandis, in any desired combination or permutation that is technically possible.

[0009] According to another aspect of the subject matter disclosed herein, a non-transitory computer readable medium is provided that includes instructions that, when executed by a computer, cause the computer to perform a method of testing a semiconductor specimen using a test recipe, the method being executed by a processor and memory circuit (PMC), comprising: acquiring a superimposed image pair including a first image captured by a test tool and representative of at least a portion of the semiconductor specimen, and a second image generated based on design data depicting at least a portion of the specimen, the second image providing information of one or more design-based structural elements presented in the design data and respective layers associated with each design-based structural element; and determining a layer associated with each design-based structural element. For each designed-based structural element, calculating an edge attribute associated with the designed-based structural element and indicative of a probable presence of an edge of the image-based structural element in the first image at the location of the edge of the designed-based structural element in the second image; determining a class of the designed-based structural element based on its associated edge attribute using a trained classifier included in the test recipe, the class indicating validity of a registration between the first and second images at the location of the designed-based structural element; and generating a layer score for a given layer based on the class of each designed-based structural element associated with a given layer, the layer score being usable to determine validity of the registered image pair based on a layer threshold value predefined in the test recipe.

[0010] This aspect of the disclosed subject matter may include one or more of features (i)-(vi) listed above with respect to the system, mutatis mutandis, in any desired combination or permutation that is technically possible.

[0011] In accordance with certain aspects of the subject matter disclosed herein, a system for generating a test recipe usable for testing a semiconductor specimen is provided, the system comprising a processor and memory circuit (PMC) that generates a test recipe for a semiconductor specimen comprising: i) a first subset including one or more first image pairs, each first image pair including a first image captured by a test tool and representative of at least a portion of the specimen, and a second image generated based on design data depicting at least a portion of the specimen, the first image and the second image being validly overlaid, the second image providing information of one or more design-based structural elements presented in the design data and respective layers associated with each design-based structural element; and ii) a second subset including one or more second image pairs, each second image pair being generated by modifying at least one of the first image and the second image in a respective first image pair in the first subset, such that the generated second image pair is invalidly overlaid. the first image and the second image of each image pair in the training set; associating each of one or more designed-based structural elements in the second image of each image pair in the training set with a label indicative of validity of the registration; calculating, for each designed-based structural element, an edge attribute associated with the designed-based structural element and indicative of a probable presence of an edge of the image-based structural element in the first image at the location of the edge of the designed-based structural element in the second image; training a classifier to determine validity of the registration between the first image and the second image at the location of the designed-based structural element using the edge attribute associated with each designed-based structural element associated with a given layer and its label; determining a class for each designed-based structural element associated with a given layer of each image pair based on the edge attribute associated therewith; generating a layer score for the given layer based on the class determined for each designed-based structural element; generating a layer threshold based on the layer score for the given layer of each image pair in the training set; and including the trained classifier and the layer threshold associated with the given layer in a test recipe.

[0012] In addition to the features described above, systems according to this aspect of the subject matter disclosed in this specification may include one or more of the following features (i)-(vi) in any desired combination or permutation that is technically possible. (i) At least one second image pair can be generated by modifying content of a first image in the first image pair. (ii) At least one second image pair can be generated by modifying the relative position between the first image and the second image in the first image pair. (iii) The PMC may be configured to perform the association based on at least one of validity of registration of the corresponding image pair and correction if the corresponding image pair is a second image pair. (iv) the PMC may be further configured to: calculate, for each designed-based structural element, a gray level profile along a characteristic direction at a location of the designed-based structural element in the first image that corresponds to the location of the designed-based structural element in the second image; calculate, for each family of designed-based structural elements among the validly superimposed designed-based structural elements, a baseline gray level profile along a characteristic direction based on the gray level profile of each designed-based structural element in the family; and calculate, for each designed-based structural element, a profile attribute associated therewith and indicative of a difference between its gray level profile and the baseline gray level profile; and training the classifier and using the trained classifier are based on the edge attribute and the profile attribute associated therewith. The test recipe may further include the baseline gray level profile. (v) For each family, multiple baseline gray level profiles along multiple specific directions can be calculated and included in the test recipe. (vi) The second image in each image pair may provide information of one or more design-based structural elements associated with the multiple layers, and association, calculation, training, utilization, and inclusion may be performed for each of the multiple layers to yield multiple test recipes corresponding to the multiple layers.

[0013] According to another aspect of the subject matter disclosed herein, a method is provided for generating a test recipe usable for testing a semiconductor specimen, the method comprising: obtaining a training set including: i) a first subset including one or more first image pairs, each first image pair including a first image captured by a test tool and representative of at least a portion of the specimen, and a second image generated based on design data depicting at least a portion of the specimen, the first image and the second image being validly registered, the second image providing information of one or more design-based structural elements presented in the design data and respective layers associated with each design-based structural element; and ii) a second subset including one or more second image pairs, each second image pair generated by modifying at least one of the first image and the second image in each first image pair in the first subset, whereby the generated second image pair is invalidly registered; The method includes associating each of one or more designed-based structural elements in the image with a label indicating validity of the registration; calculating, for each designed-based structural element, an edge attribute associated with the designed-based structural element and indicating a probable presence of an edge of the image-based structural element in the first image at the location of the edge of the designed-based structural element in the second image; training a classifier to determine validity of the registration between the first image and the second image at the location of the designed-based structural element using the edge attribute associated with each designed-based structural element associated with a given layer and its label; using the trained classifier to determine a class for each designed-based structural element associated with a given layer of each image pair based on its associated edge attribute, and generating a layer score for the given layer based on the class determined for each designed-based structural element; generating a layer threshold based on the layer score for the given layer of each image pair in the training set; and including the trained classifier and the layer threshold associated with the given layer in a test recipe.

[0014] This aspect of the disclosed subject matter may include one or more of features (i)-(vi) listed above with respect to the system, mutatis mutandis, in any desired combination or permutation that is technically possible.

[0015] According to another aspect of the subject matter disclosed herein, a non-transitory computer readable medium is provided that includes instructions that, when executed by a computer, cause the computer to perform a method of generating a test recipe usable for testing a semiconductor specimen, the method including generating a training report including: i) a first subset including one or more first image pairs, each first image pair including a first image captured by a test tool and representative of at least a portion of the specimen, and a second image generated based on design data depicting at least a portion of the specimen, the first image and the second image being validly registered, the second image providing information of one or more design-based structural elements presented in the design data and respective layers associated with each design-based structural element; and ii) a second subset including one or more second image pairs, each second image pair generated by modifying at least one of the first image and the second image in a respective first image pair in the first subset, such that the generated second image pair is invalidly registered. The method includes obtaining a training set; associating each of one or more designed-based structural elements in a second image of each image pair in the training set with a label indicative of validity of the registration; calculating, for each designed-based structural element, an edge attribute associated with the designed-based structural element and indicative of a probable presence of an edge of the image-based structural element in the first image at the location of the edge of the designed-based structural element in the second image; training a classifier to determine validity of the registration between the first image and the second image at the location of the designed-based structural element using the edge attribute associated with each designed-based structural element associated with a given layer and its label; determining a class for each designed-based structural element associated with a given layer of each image pair based on its associated edge attribute, using the trained classifier, and generating a layer score for the given layer based on the class determined for each designed-based structural element; generating a layer threshold based on the layer score for the given layer of each image pair in the training set; and including the trained classifier and the layer threshold associated with the given layer in a test recipe.

[0016] This aspect of the disclosed subject matter may include one or more of features (i)-(vi) listed above with respect to the system, mutatis mutandis, in any desired combination or permutation that is technically possible.

[0017] In order to understand the present disclosure and to see how it can be carried out in practice, embodiments will now be described, by way of non-limiting example only, with reference to the accompanying drawings, in which: [Brief description of the drawings]

[0018] [Figure 1A] FIG. 1 is a functional block diagram of a recipe creation system in accordance with certain embodiments of the subject matter disclosed herein. [Figure 1B] FIG. 1 is a functional block diagram of a test system in accordance with certain embodiments of the subject matter disclosed herein. [Diagram 2] 1 is a schematic flow diagram for generating a test recipe that can be used to test a semiconductor specimen in accordance with certain embodiments of the subject matter disclosed herein. [Diagram 3] 1 illustrates a schematic flow diagram of testing a semiconductor specimen using a test recipe in accordance with certain embodiments of the subject matter disclosed herein. [Figure 4] 1A-1C illustrate an exemplary image overlay process in accordance with certain embodiments of the subject matter disclosed herein. [Diagram 5] 1A-1C are diagrams illustrating several examples of invalidly registered image pairs in accordance with certain embodiments of the subject matter disclosed herein. [Figure 6] 1A-1C are diagrams illustrating several examples of second image pairs artificially generated based on a first image pair according to certain embodiments of the subject matter disclosed herein. [Figure 7] FIG. 2 is a schematic diagram illustrating how edge attributes are used to test for the presence of an edge in accordance with certain embodiments of the subject matter disclosed herein. [Figure 8]FIG. 2 illustrates an example of calculation of a GL profile and a baseline GL profile according to certain embodiments of the subject matter disclosed herein. [Figure 9] FIG. 2 illustrates some examples of profile attributes according to certain embodiments of the subject matter disclosed herein. [Figure 10] FIG. 1 is a schematic diagram of training a classifier using attributes and labels of design-based structural elements according to certain embodiments of the subject matter disclosed herein. [Figure 11] 1 is a schematic graph of generating layer thresholds according to certain embodiments of the subject matter disclosed herein; [Figure 12] FIG. 1 illustrates a schematic diagram of an example of run-time testing of a specimen using a test recipe in accordance with certain embodiments of the subject matter disclosed herein. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0019] In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure. However, it will be understood by those skilled in the art that the subject matter disclosed herein may be practiced without these specific details. In other instances, well-known methods, procedures, components, and circuits are not described in detail so as not to obscure the subject matter disclosed herein.

[0020] As will become apparent from the discussion below, unless specifically stated otherwise, throughout this specification discussions utilizing terms such as "test", "obtain", "calculate", "use", "produce", "determine", "associate", "train", "contain", "modify", "execute", and the like will be understood to refer to computer operations and / or processes that manipulate and / or transform data into other data, said data being represented as physical, e.g., electronic, quantities, and said data representing physical objects. The term "computer" should be interpreted inclusively to encompass any type of hardware-based electronic device having data processing capabilities, including, as non-limiting examples, the testing systems, recipe generation systems, and respective portions thereof, disclosed in this application.

[0021] As used herein, the terms "non-transitory memory" and "non-transitory storage medium" should be interpreted generically to encompass any volatile or non-volatile computer memory suitable for the subject matter disclosed herein.

[0022] The term "sample" as used herein should be interpreted inclusively to encompass any type of wafer, mask, and other structures, combinations, and / or portions thereof used to produce semiconductor integrated circuits, magnetic heads, flat panel displays, and other semiconductor fabricated articles.

[0023] The term "testing" as used herein should be interpreted inclusively to encompass any type of metrology-related operation, as well as operations related to the detection and / or classification of defects in a specimen during its manufacture. Testing is provided by using a non-destructive testing tool during or after the manufacture of the specimen to be tested. As non-limiting examples, the testing process may include run-time scanning (single or multiple scans), sampling, review, measurement, classification, and / or other operations provided in relation to the specimen or portions thereof, using the same or different inspection tools. Similarly, testing may be provided prior to the manufacture of the specimen to be tested, and may include, for example, the generation of a test recipe and / or other configuration operations. It should be noted that unless specifically stated otherwise, the term "testing" as used herein or its derivatives are not limited with respect to the resolution or size of the inspection area. Various non-destructive testing tools include, as non-limiting examples, scanning electron microscopes, atomic force microscopes, optical inspection tools, and the like.

[0024] The term "defect" as used herein should be interpreted comprehensively to encompass any type of abnormality or undesirable feature formed on or within a specimen.

[0025] The term "design data" as used herein should be interpreted inclusively to encompass any data that represents a hierarchical physical design (layout) of a sample. The design data can be provided by a respective designer and / or derived from a physical design (e.g., complex simulations, simple geometric operations, Boolean operations, etc.). The design data can be provided in different formats, as non-limiting examples, GDSII format, OASIS format, etc. The design data can be presented in vector format, grayscale intensity image format, etc.

[0026] It will be understood that certain features of the subject matter disclosed herein that are described in the context of separate embodiments can also be provided in combination in a single embodiment, unless specifically stated otherwise. Conversely, various features of the subject matter disclosed herein that are described in the context of a single embodiment can also be provided separately or in any suitable subcombination. In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the methods and apparatus.

[0027] With this in mind, attention is directed to FIG. 1A, which illustrates a functional block diagram of a recipe generation system in accordance with certain embodiments of the subject matter disclosed herein.

[0028] The recipe generation system 100 shown in FIG. 1A can be used to generate a test recipe usable by a test system 130 (shown in FIG. 1B) for testing a semiconductor specimen (e.g., a wafer and / or a portion thereof). The illustrated system 100 can be a computer-based system capable of automatically generating a test recipe based on a training set including image pairs representing at least a portion of the specimen, as described in more detail below with reference to FIG. 2. According to certain embodiments of the subject matter disclosed herein, the system 100 can be operatively connected to one or more test tools 120 configured to capture one or more images of the specimen. Details of the test tools and the images captured thereby are described in more detail with reference to FIG. 1B. According to certain embodiments, the system 100 can further be operatively connected to a design data server 110 (e.g., a CAD server) configured to store and provide design data characterizing the specimen. The design data of the specimen can be in any of the following forms: a physical design layout of the specimen (e.g., a CAD clip), a raster image, and a simulated image derived from the design layout. The images and design data of the specimen can be pre-collected and stored in a storage unit 122 and can be used for generating the training set.

[0029] System 100 includes a processor and memory circuit (PMC) 102 operatively connected to a hardware-based I / O interface 126. PMC 102 is configured to provide all processing necessary to operate system 101, as will be described in further detail with reference to FIG. 2, and includes a processor (not separately shown) and a memory (not separately shown). The processor of PMC 102 may be configured to execute a number of functional modules according to computer-readable instructions executed on non-transitory computer-readable memory included in the PMC. Such functional modules are hereinafter referred to as being included in the PMC.

[0030] According to certain embodiments of the subject matter disclosed herein, the functional modules included in the PMC 102 may include a training set generator 103, an attribute generator 104, a training module 105, a classifier 106, and a recipe generator 107. The training set generator 103 may be configured to obtain a training set including a first subset including one or more first image pairs and a second subset including one or more second image pairs. Each first image pair includes two properly / validly superimposed images, i.e., a first image captured by a test tool and representing at least a portion of the specimen, and a second image generated based on design data depicting at least a portion of the specimen. Each second image pair is artificially / synthetically generated based on the corresponding first image pair, for example by modifying at least one of the first image and the second image in the first image pair, thereby causing the two images in the generated second image pair to be invalidly superimposed. In some cases, the training set may be pre-generated and stored in the storage unit 122 and may be retrieved from the storage unit 122 by the training set generator 103. In some other cases, the training set may be generated by the system 100. As an example, the training set generator 103 may be configured to receive, via the I / O interface 126, the captured images from the test tool 120 and the corresponding design data from the design data server 110, and perform image registration therebetween. The training set generator 103 may be further configured to generate a second subset of image pairs. The image registration as well as the generation of the second subset will be described in further detail below with reference to FIG. 2.

[0031] Each second image may provide information of one or more design-based structural elements represented in the design data and respective layers associated with each design-based structural element. The training set generator 103 may be further configured to associate each of the one or more design-based structural elements in the second image of each image pair of the training set with a label indicating the validity of the registration.

[0032] For each designed-based construction element, the attribute generator 104 can be configured to calculate an edge attribute associated with the designed-based construction element that indicates a presumed presence of an edge of the image-based construction element in the first image at the edge of the designed-based construction element in the second image. The training module 105 can be configured to train the classifier 106 to use the label of each designed-based construction element and its associated edge attribute to determine the validity of the registration between the first image and the second image at the design-based construction element.

[0033] The recipe generator 107 can be configured to use the trained classifier to determine a class for each of the one or more design-based structural elements associated with a given layer of each image pair based on its associated edge attribute, and to generate a layer score for the given layer based on the determined class of the one or more design-based structural elements. The recipe generator 107 can be further configured to generate a layer threshold based on the layer score for the given layer of each image pair of the training set, and to include the trained classifier and layer threshold in a test recipe.

[0034] The operation of the system 100, the PMC 102, and the functional modules therein are described in further detail with reference to FIG.

[0035] According to certain embodiments, the system 100 may include a storage unit 122. The storage unit 122 may be configured to store any data required to operate the system 100, such as data related to the inputs and outputs of the system 100, as well as intermediate processing results generated by the system 100. By way of example, the storage unit 122 may be configured to store training images and / or derivatives thereof created by the test tool 120. The storage unit 122 may also be configured to store design data and / or derivatives thereof characterizing the specimen. In some embodiments, the storage unit 122 may be configured to store a pre-generated training set, as described above. Accordingly, the stored data may be retrieved from the storage unit 122 and provided to the PMC 102 for further processing.

[0036] In some embodiments, the system 100 may optionally include a computer-based graphical user interface (GUI) 124 configured to enable user-specified input related to the system 100. For example, a visual representation of the sample including image data and / or design data of the sample may be presented to the user (e.g., by a display forming portion of the GUI 124). Via the GUI, the user may be provided with options for defining certain operating parameters, e.g., training of configuration parameters. The user may also view operating results, e.g., training results, on the GUI.

[0037] Those skilled in the art will readily appreciate that the teachings of the subject matter disclosed herein are not constrained by the system shown in FIG. 1A and that equivalent and / or modified functionality may be otherwise integrated or divided and may be implemented in any suitable combination of software, firmware and / or hardware.

[0038] It should be noted that the recipe generation system shown in FIG. 1A can be executed in a distributed computing environment, and the aforementioned functional modules shown in FIG. 1A can be distributed among several local and / or remote devices and can be linked through a communication network. It should be further noted that in other embodiments, at least a portion of the storage unit 122 and / or the GUI 124 can be located outside the system 100 and can be operative to data communicate with the system 100 via the I / O interface 126. The system 100 can be executed as a stand-alone computer used in conjunction with a test tool. Alternatively, in some cases, each of the functions of the system 100 can be at least partially integrated with one or more test tools 120.

[0039] Attention is directed to FIG. 1B, which illustrates a functional block diagram of a test system in accordance with certain embodiments of the subject matter disclosed herein.

[0040] The test system 130 shown in FIG. 1B can be used for testing semiconductor specimens (e.g., wafers and / or portions thereof) as part of a specimen manufacturing process. The system 130 can test the specimen using a test recipe generated by the recipe generation system 100 shown in FIG. 1A. The illustrated test system 130 can include a computer-based system 131 capable of automatically determining test-related information using images acquired during specimen manufacturing (hereinafter referred to as manufacturing process (FP) images or images) and design data characterizing the specimen. The system 131 can be generally referred to as a FPEI (Manufacturing Process Test Information) system. According to certain embodiments of the subject matter disclosed herein, the system 131 can be configured to determine the validity of the overlay of image pairs, as described in more detail below with reference to FIG. 3. The system 131 can be operatively connected to one or more test tools 120. The test tools 120 are configured to capture FP images and / or interrogate the captured FP images and / or enable or provide measurements related to the captured images. The system 131 may further be operatively connected to a design data server 110 and a storage unit 142 .

[0041] By way of example, the FP images (also referred to herein as images) can be selected from multiple images of the specimen (e.g., a wafer or portion thereof) captured during the manufacturing process, derivatives of captured images obtained by various pre-processing stages (e.g., an image of a portion of a wafer or photomask captured by an SEM or optical inspection system, an SEM image roughly centered around a defect to be classified by ADC, an SEM image of a larger area where defects are to be identified by ADR, overlaid images of different test modalities corresponding to the same mask location, segmented images, height map images, etc.). It is noted that in some cases, these images can include image data (e.g., captured images, processed images, etc.) and associated numerical data (e.g., metadata, handiwork attributes, etc.). It is further noted that the image data can include data related to the layer and / or one or more layers of the specimen.

[0042] The term "test tool" as used herein should be interpreted inclusively to encompass any tool that can be used in a test-related process, including, as non-limiting examples, imaging, scanning (single or multiple scans), sampling, reviewing, measuring, sorting, and / or other processes provided in association with a specimen or portion thereof. One or more test tools 120 can include one or more inspection tools and / or one or more review tools. In some cases, at least one of the test tools 120 can be an inspection tool configured to scan the specimen (e.g., an entire wafer, an entire die, or portions thereof) to capture inspection images (typically at a relatively fast speed and / or low resolution) for detection of potential defects. In some cases, at least one of the test tools 120 can be a review tool configured to capture review images of at least some of the defects detected by the inspection tool to ascertain whether the potential defects are in fact defects. Such review tools are typically configured to inspect pieces of a die one at a time (typically at a relatively slow speed and / or high resolution). The inspection tool and review tool can be different tools located at the same or different locations, or a single tool operating in two different modes. In some cases, at least one test tool may have metrology capabilities.

[0043] It should also be noted, without limiting the scope of the present disclosure in any way, that the test tool 120 can be implemented as various types of inspection machines, such as optical imaging machines, electron beam inspection machines, etc. In some cases, the same test tool can provide low resolution image data and high resolution image data.

[0044] System 131 includes a processor and memory circuit (PMC) 132 operatively connected to a hardware-based I / O interface 136. PMC 132 is configured to provide all processing necessary to operate system 131, as will be described in further detail with reference to FIG. 3, and includes a processor (not separately shown) and a memory (not separately shown). The processor of PMC 132 may be configured to execute a number of functional modules in accordance with computer-readable instructions executed on non-transitory computer-readable memory included in the PMC. Such functional modules are hereinafter referred to as being included in the PMC.

[0045] According to certain embodiments, functional modules included in the PMC 132 may include an attribute generator 134, a classifier 135, and a validation module 138. The PMC 132 may be configured to acquire, via the I / O interface 136, a superimposed image pair including a first image captured by a test tool and representing at least a portion of a semiconductor sample, and a second image generated based on design data depicting at least a portion of the sample, at run-time (i.e., production time / stage), and a second image. The second image may provide information of one or more design-based structural elements presented in the design data, and respective layers associated with each design-based structural element. In some embodiments, the image superimposition between the first image and the second image may be performed by the system 131 upon receiving, via the I / O interface 136, the captured image from the test tool 120 and the corresponding design data from the design data server 110. Alternatively, the image registration, or at least a portion of its functionality, can be performed externally (e.g., by a system located outside system 131) and the registration result (i.e., the registered image pair) can be provided to system 131 for further processing.

[0046] For each design-based structural element associated with a given layer, the attribute generator 134 can be configured to calculate an edge attribute associated with the design-based structural element and indicative of a presumed presence of an edge of the image-based structural element in the first image at the edge of the design-based structural element in the second image. A classifier 135 (i.e., a trained classifier) ​​included in the test recipe can be used to determine a class of the design-based structural element based on its associated edge attribute. The class indicates the validity of the registration between the first image and the second image at the design-based structural element. The validity determination module 138 can be configured to generate a layer score for the given layer based on the class of each design-based structural element associated with the given layer. The score can be used to determine the validity of the registered image pair based on a threshold value predefined in the test recipe.

[0047] The operation of system 130, system 131, PMC 132, and the functional modules therein are described in further detail with reference to FIG.

[0048] According to certain embodiments, the system 130 may include a storage unit 142. The storage unit 142 may be configured to store any data required to operate the system 130, such as data related to the inputs and outputs of the system 130, as well as intermediate processing results generated by the system 130. By way of example, the storage unit 142 may be configured to store images and / or derivatives thereof created by the test tool 120. The storage unit 142 may also be configured to store design data and / or derivatives thereof characterizing the specimen. In some embodiments, the storage unit 142 may be configured to store pre-generated overlaid image pairs, as described above. Accordingly, the stored data may be retrieved from the storage unit 142 and provided to the PMC 132 for further processing.

[0049] In some embodiments, the system 130 may optionally include a computer-based graphical user interface (GUI) 144 configured to enable user-specified input related to the system 130. For example, a visual representation of the specimen including image data and / or design data of the specimen may be presented to the user (e.g., by a display forming portion of the GUI 144). Through the GUI, the user may be provided with options to define certain operating parameters. The user may also view the results of the operation, e.g., test results, on the GUI. In some cases, the system 131 may be further configured to send the results (or portions thereof) to the storage unit 142, and / or the test tool 120, and / or an external system (e.g., a revenue management system (YMS) of the FAB) via the I / O interface 126.

[0050] According to certain embodiments, the system 131 may be operatively connected to a segmentation network 112 configured to perform segmentation on the test results of the system 131. The segmentation network 112 may be a deep learning model, such as a deep neural network (DNN), which includes layers organized according to a respective DNN architecture. As non-limiting examples, the layers of the DNN may be organized according to a convolutional neural network (CNN) architecture, a recurrent neural network architecture, a recurrent neural network architecture, a generative adversarial network (GAN) architecture, and the like. Optionally, at least some of these layers may be organized in multiple DNN sub-networks. Each layer of a DNN may include multiple fundamental computational elements (CEs), typically referred to in the art as dimensions, neurons, or nodes.

[0051] Generally, a computational element of a given layer may be connected to a CE of a preceding layer and / or a subsequent layer. Each connection between a CE of a preceding layer and a CE of a subsequent layer is associated with a weighting value. A given CE may receive inputs from a CE of a previous layer through each connection, and each given connection may be associated with a weighting value that may be applied to the input of the given connection. The weighting value may determine the relative strength of the connection and therefore the relative influence that each input has on the output of the given CE. A given CE may be configured to calculate an activation value (e.g., a weighted sum of the inputs) and further derive an output by applying an activation function to the calculated activation. It should be noted that the teachings of the subject matter disclosed herein are not constrained by a specific architecture of the DNN.

[0052] In some embodiments, the system 131 may further comprise a segmentation network 112 or a portion thereof. In other words, the respective functionality of the segmentation network 112 may be at least partially integrated within the system 131.

[0053] In addition to system 131, test system 100 may include one or more test modules, such as, for example, a defect detection module, and / or an automatic defect review module (ADR), and / or an automatic defect classification module (ADC), and / or a metrology-related module, and / or other test modules. Such test modules may utilize the output of system 131 and / or the output of segmentation network 112 for testing of semiconductor specimens. In some cases, one or more test modules may be at least partially integrated with one or more test tools 120.

[0054] Those skilled in the art will readily appreciate that the teachings of the subject matter disclosed herein are not constrained by the system shown in FIG. 1B, and that equivalent and / or modified functionality may be integrated or divided in other ways and may be implemented in any suitable combination of software, firmware, and / or hardware.

[0055] It should be noted that the recipe generation system shown in FIG. 1B can be executed in a distributed computing environment, and the aforementioned functional modules shown in FIG. 1B can be distributed among several local and / or remote devices and can be linked through a communication network. It should be further noted that in another embodiment, at least some of the test tools 120, the storage unit 142, and / or the GUI 144 can be located outside the system 130 and can be operative to data communicate with the system 130 via the I / O interface 126. The system 130 can be executed as a stand-alone computer used in conjunction with a test tool. Alternatively, in some cases, the respective functions of the system 130 can be at least partially integrated with one or more test tools 120, thereby facilitating and enhancing the functions of the test tools 120 in test-related processes.

[0056] 1B , a test system 130 including the test tool 120 may be configured to capture one or more images of a specimen to perform test-related operations, such as, for example, defect detection, and / or defect review, and / or metrology-related operations. According to certain embodiments, the test system may be configured to obtain the images captured by the test tool and corresponding design data (e.g., CAD data) and perform a registration between the images and the CAD data in order to perform further test operations, such as, for example, segmentation and metrology measurements.

[0057] Referring next to FIG. 4, an exemplary image overlay process is shown in accordance with certain embodiments of the subject matter disclosed herein.

[0058] An FP image 402 (also referred to herein as a first image) can be obtained from a test tool, and the FP image 402 can represent a portion of a wafer. Design data 404 (e.g., a CAD clip) characterizing the same portion of the wafer can be obtained from a CAD server. As shown in this example, the CAD clip 404 presents two types of design-based structural elements (e.g., polygons), namely, pillar-shaped polygons in a first layer and square polygons in a second layer. Based on this CAD data, a design-based image 406 (also referred to herein as a second image) can be generated. For example, the CAD clip 404 can be subjected to a simulation to produce a simulated CAD image 406. In some cases, such a simulation can take into account differences between the design-based structural elements and the corresponding image-based structural elements. For example, in some cases, due to factors such as, for example, manufacturing process variations (e.g., printing a design pattern on a wafer with an optical lithography tool) and / or design tool constraints, a design-based structural element, such as, for example, a square polygon, may actually appear as an oval shape in the image, as shown in simulated CAD image 406. The simulation can take such differences into account to generate a simulated image that includes structural elements having a simulated shape as they would appear in the image. As can be seen, the shapes of the polygons in simulated CAD image 406 are more consistent with the polygons in captured image 402 as compared to CAD data 404.

[0059] The FP image 402 and the simulated CAD image 406 can be overlaid to align the CAD image with the FP image. As an example, a global overlay can be performed to globally align the two images in terms of the relative position between these images. For example, such a relative position between the CAD image and the FP image can be caused by a navigation problem of the test tool when capturing the FP image. As another example, in some cases, a two-stage overlay can be performed, namely, the global overlay described above, and a layer-by-layer overlay that respectively aligns the polygons within each layer of the sample. FIG. 4 illustrates such a two-stage overlay process. As shown, after the global overlay, the globally overlaid image pair is shown at 408, and although the columnar polygons are properly overlaid (e.g., corresponding polygons in both images match), there is a mismatch (e.g., relative misalignment) between the positions of the oval polygons in the two images. In this example, this can be caused, for example, by an overlay problem during the manufacturing process, resulting in a relative misalignment between the two layers of the manufactured sample compared to the design.

[0060] When layer-by-layer registration is being performed, the oval polygons in the second layer of the simulated CAD image 406 are offset and matched accordingly to corresponding polygons in the FP image, resulting in the registered image pair 410.

[0061] According to certain embodiments of the present disclosure, after registration (e.g., global registration or two-step registration as described above), an image pair in which the FP image and the corresponding design base image are aligned and the layer-by-layer structural elements between the two images are aligned (e.g., satisfying a predefined alignment criterion) is referred to herein as valid / properly registered (such an image pair is also referred to as a "good image pair"). When further test operations, such as segmentation and metrology measurements, are performed on a validly registered image pair, a user can be convinced and assured that the test results obtained (e.g., measurements of overlay, CD, etc.) are accurate and trustworthy.

[0062] However, in some cases, even after the above-described registration process, the image pair is not properly registered, i.e., there is still a misalignment or inconsistency between the FP image and the corresponding design base image after registration (e.g., does not meet a predefined alignment criterion). Such image pairs are referred to herein as invalid / improperly registered image pairs (also referred to as "faulty image pairs"). Referring now to FIG. 5, some examples of invalidly registered image pairs are shown according to certain embodiments of the subject matter disclosed herein.

[0063] At 502, misalignment between the FP image and the CAD due to navigation errors is shown. For example, a test tool may navigate inaccurately and thus capture an FP image from a wrong location that does not correspond to the CAD data. At 504, misalignment between the FP image and the CAD due to focus issues is shown. As shown, the FP image at 504 is captured out of focus (e.g., polygons in the image have blurred edges) and therefore does not match the CAD polygons. At 506, an example of polygon overlay failure at a particular layer is shown. Specifically, oval polygons in the FP image and the CAD are not properly overlaid. At 508 and 510, two different examples of pattern failures where the patterns in the FP image and the CAD do not match. For example, due to possible manufacturing errors, at 508, some polygons are missing in the FP image when compared to the CAD data, and at 510, the pattern in the image is completely different from the design. At 512, an example of an empty FP image does not capture any pattern when compared to the CAD data.

[0064] The misalignment / inconsistency between the images and the CAD data exemplified above may occur for various reasons, such as test system issues (e.g., focus issues, navigation errors), algorithm issues (e.g., overlay faults), and / or manufacturing process faults (e.g., pattern defects, blank images). Running further test operations (e.g., segmentation and metrology measurements, etc.) on such invalidly overlaid image pairs without knowing that a misalignment issue exists may report meaningless results to the user. Such results may provide misleading information regarding adjustments to the manufacturing process and thus, in some cases, may cause serious damage and reduce the user's confidence in the test system. As an example, incorrect overlay measurements (due to invalid overlay between image pairs) may mislead future manufacturing processes, thereby producing defective production wafers.

[0065] Certain statistics show that about 5% of the locations on the wafer may be associated with such inconsistency / mismatch issues between the image and the corresponding design data. Such locations are also referred to herein as low confidence locations. Certain test systems do not provide a filtering mechanism to detect such issues during the test process. To mitigate such issues, users can manually inspect all locations on the wafer before testing to look for outliers, or inspect test results for the entire wafer after testing, but both of these measures are extremely time-consuming, inefficient, and ineffective. In some cases, users must repeat the calibration process of the test recipe multiple times until these instances become rare, which significantly increases the time-to-recipe (TtR).

[0066] According to certain embodiments of the disclosed subject matter, methods are proposed for generating test recipes capable of detecting such invalid overlay problems, and for testing samples using the so generated test recipes, as described in more detail with reference to Figures 2 and 3. These methods are machine learning based and involve minimal user calibration and interaction.

[0067] Referring to FIG. 2, a schematic flow diagram for generating a test recipe that can be used to test a semiconductor specimen in accordance with certain embodiments of the subject matter disclosed herein is shown.

[0068] A training set may be obtained (202) (e.g., by training set generator 103, via I / O interface 126 or from storage unit 122). The training set may include a first subset 204 including one or more first image pairs, and a second subset 206 including one or more second image pairs. Each first image pair in the first subset includes two effectively superimposed images, i.e., a first image captured by a test tool and representative of at least a portion of the specimen, and a second image generated based on design data that depicts at least a portion of the specimen. By way of example, the first image may be a FP image captured by the test tool. In some cases, the first image is a high-resolution image captured by a review tool, such as, for example, a scanning electron microscope (SEM) image captured by a SEM machine.

[0069] The second image may be a simulated image generated by running a simulation on the design data, such as, for example, a CAD simulated image. As described above, the simulation may generate a simulated image that includes structural elements having a simulated shape that would appear in the image, taking into account differences between the design-based structural elements and corresponding image-based structural elements.

[0070] The second image may include one or more layers corresponding to the design layers in the design data. The second image may provide information of one or more design-based structural elements presented in the design data and respective layers associated with each design-based structural element. Each layer may be considered as a binary image in which the design-based structural elements are separated from the background. The first image and the second image are effectively superimposed. The image superimposition between the first image and the second image may be performed in a similar manner as described above with reference to FIG. 4.

[0071] A structural element, as used herein, can refer to any original object on image data or design data having a geometric shape or structure, including a contour. In some cases, a structural element can refer to multiple objects combined to form a pattern. A structural element placed / presented on image data can be referred to as an image-based structural element (also referred to as an image structural element or an image polygon). A structural element placed / presented on design data can be referred to as a design-based structural element (also referred to as a design structural element or a design polygon or a CAD polygon). A structural element can be presented, for example, in the form of a polygon, as illustrated in FIG. 4. A structural element can be defined by a user or automatically, for example, using rule-based or machine learning techniques.

[0072] Each design-based structural element may be associated with a respective layer in which the element is located. In some cases, a given layer may contain more than one type of structural element (e.g., each type corresponding to a respective design pattern). In such cases, each design-based structural element may be further associated with a label indicating its type.

[0073] The first image pairs included in the first subset are validly registered image pairs that have been preselected from a training database, e.g., by a user. The user may select and check the validity of multiple positions to ensure that there are no undesired inconsistencies between the images and the corresponding CAD data, as described above.

[0074] Generally, invalid / faulty image pairs are rare within a wafer, so the present disclosure proposes a method to artificially / synthetically generate such image pairs (i.e., herein, second image pairs) to constitute part of the training set. According to certain embodiments, the second image pairs can be artificially generated based on the corresponding first image pairs. As an example, the second image pairs can be created by modifying at least one of the first image and the second image in the first image pair, whereby the two images in the generated second image pair are invalidly superimposed. As an example, at least one second image pair can be generated by modifying the content of the first image in the first image pair. As another example, at least one second image pair can be generated by modifying the relative position between the first image and the second image in the first image pair. In some embodiments, one or more second image pairs can be generated for each first image pair.

[0075] Referring next to FIG. 6, several examples of second image pairs artificially generated based on first image pairs are shown in accordance with certain embodiments of the subject matter disclosed herein.

[0076] In the second image pair shown at 602, the content of the original FP image of the first image pair is modified, e.g., replaced with a blank image (e.g., an image composed only of random noise), while the CAD-simulated image remains the same. In 604 and 606, the relative positions between the FP image and the CAD-simulated image, or parts thereof, are modified. In particular, the design-based structural elements in a particular layer of the CAD-simulated image are shifted relative to the FP image, while the FP image remains unchanged. For example, in 604, a pillar-shaped polygon in one layer is shifted to the left, while an oval polygon in another layer does not move. In 606, an oval polygon is shifted to the left, while an oval polygon in another layer does not move. Thus, in this example, three different second image pairs are created for one first image pair.

[0077] It should be noted that the example shown in Figure 6 is provided for illustrative purposes and should not be considered as limiting the present disclosure in any way. Additionally or alternatively, other possible methods of modifying the first image and / or the second image may be used, such as, for example, modifying the size and / or shape of one or more of the design-based structural elements in a particular layer, reducing the focus of the FP image, for example by convolving the image with a Gaussian kernel, replacing a portion of the FP image with random noise, etc.

[0078] In some embodiments, the training set can be pre-generated and stored in storage unit 122 and retrieved by training set generator 103 during training. In such cases, the image overlay and / or second subset generation functions (or at least parts thereof) can be performed outside of system 100 and prior to the recipe generation method proposed herein and described in Figure 2. In some other embodiments, such functions can be performed by system 100 (e.g., training set generator 103) and thus can be considered to be part of this flow of Figure 2.

[0079] Continuing to refer to the description of FIG. 2, after a training set including a first subset and a second subset is obtained, each of the one or more design-based structural elements in the second image of each image pair in the training set can be associated with a label indicating the validity of the registration (208) (e.g., by the training set generator 103).

[0080] According to certain embodiments, the labeling can be performed based on at least one of the following factors: validity of registration of the corresponding image pairs and correction when the corresponding image pairs are second image pairs. For example, for each first image pair in the first subset selected and confirmed by the user as a validly registered image pair, the design-based structural element in the second image is labeled as a validly registered structural element.

[0081] As another example, for a second image pair in the second subset that is artificially generated as an invalidly superimposed image pair, the labeling depends on the specific modification applied. If the content of the FP image is modified, for example, by replacing the FP image with a blank image, all of the design-based structural elements in the second image are labeled as invalidly superimposed structural elements. In another example, if the relative position between the first image and the second image is modified, for example, by shifting polygons in a specific layer of the second image relative to the first image, the shifted polygons in the specific layer are labeled as invalidly superimposed structural elements, while the polygons in the other layers remain labeled as validly superimposed structural elements. In this way, all of the design-based structural elements in the training set are associated with a respective label that indicates the validity of the superposition.

[0082] One or more attributes of the design-based construction element may be computed, which, together with the label associated with the design-based construction element, are used to train the classifier. The computation of attributes is now described below with reference to block 210.

[0083] For each design-based construction element, an edge attribute associated with the design-based construction element may be calculated (210) (e.g., by the attribute generator 104). The edge attribute may indicate the estimated presence of an edge of the image-based construction element in the first image at the edge of the design-based construction element in the second image.

[0084] The edge attribute is used as a measure for the presence of a gray level edge (e.g., an edge of an image polygon) in the FP image at the edge of a CAD polygon in the simulated CAD image. According to a particular embodiment, the edge attribute can be calculated by applying a statistical test between two pixel populations from either side of the edge of the design-based structural element in the first image and determining a separation distance between the two pixel populations based on the result of the statistical test. The separation distance can indicate whether an edge actually exists in the FP image at the estimated location (e.g., at the CAD polygon edge).

[0085] Referring to FIG. 7, there is shown a schematic diagram of how edge attributes are used to test for the presence of an edge according to certain embodiments of the subject matter disclosed herein.

[0086] As shown in examples 702, 704, and 706, a strip of pixels is taken from either side of the estimated edge in the FP image (shown as two dashed lines from inside and outside the estimated edge location) and a statistical test is applied between the two pixel populations to test the separation between them. The better the separation, the higher the probability that an edge exists at the estimated location. One possible test that can be applied is the Kolmogorov-Smirnov (KS) test. The KS test quantifies the maximum distance between the distribution functions of the two populations (normalized cumulative distribution functions (CDFs) as shown in this example), which can indicate the separation between the two populations.

[0087] For example, image 702 shows that when an image polygon edge matches a CAD polygon edge, i.e., when an edge actually exists in the FP image at the CAD polygon edge, the edge attributes calculated by the KS test indicate a large separation between the two populations (e.g., the vertical line 701 shown corresponds to the maximum distance between the two curves in the corresponding graph 703). On the other hand, in image 704, which shows a misregistration between an estimated edge and an actual edge in the FP image, and in image 706, which shows a blank image without polygons and edges, the edge attributes calculated by the KS test indicate a small or no separation between the two populations (e.g., the vertical line 708, which corresponds to the maximum distance between the two curves, shows a small separation between the two curves in the corresponding graph 705, and in the corresponding graph 707, the two curves almost overlap).

[0088] Thus, by using the edge attributes so calculated, it is possible to estimate whether an edge actually exists in the FP image at the CAD polygon edge.

[0089] According to certain embodiments, optionally, for each design-based structural element associated with a given layer, one or more profile attributes associated with the design-based structural element may be calculated in addition to the edge attributes.

[0090] Specifically, in some embodiments, a gray level (GL) profile for each design-based structural element may be calculated along a unique direction at a location in the first image that corresponds to the location of the design-based structural element in the second image. After a GL profile is obtained for each design-based structural element, a baseline GL profile may be calculated for each family of design-based structural elements among the validly superimposed design-based structural elements. The baseline calculation may be performed along a unique direction in the first image based on the GL profile of each design-based structural element in the family. For example, the baseline may be calculated by averaging the GL profile of each design-based structural element in the family. A family of design-based structural elements includes equivalent design-based structural elements that share the same design pattern. For example, the oval polygon in 406 of FIG. 4 belongs to one family and the column-shaped polygon belongs to another family. In some cases, a given layer may include one or more families of design-based structural elements.

[0091] After the baseline GL profile is created, for each design-based construction element, a profile attribute can be calculated that indicates the difference between its gray level profile and the baseline gray level profile.

[0092] Referring now to FIG. 8, an example of calculation of a GL profile and a baseline GL profile according to certain embodiments of the subject matter disclosed herein is shown.

[0093] In 802, an FP image of a single oval polygon is illustrated. Since the location in the FP image for calculating the GL profile should be determined according to the location of the design-based structural element in the CAD simulated image, in this example, it is assumed that the polygon is effectively overlaid between the image and the CAD data, i.e., the location of the image polygon matches the location of the CAD polygon. Thus, the GL profile should be calculated at the location of the image polygon. Therefore, a specific direction / angle 804 (shown as a parallel chord) is selected along which the profile attributes are calculated. Note that the image of the polygon has been processed by masking the overlapping portion where another polygon (e.g., a column-shaped polygon) overlaps from above in the original FP image. The GL profile is calculated along the direction 804 for the oval polygon, for example, by averaging the GL values ​​in the polygon along the parallel chord. The resulting GL profile is shown in graph 806 (after omitting the uninformative chords, i.e., the masked portion).

[0094] After the GL profiles are calculated for all equivalent polygons from a given family, as shown in graph 808 where the GL profiles of the three polygons are obtained, a baseline GL profile can be calculated based on the GL profiles of the equivalent polygons. For example, the baseline GL profile can be obtained by averaging the GL profiles of the three polygons, as shown in graph 810. In some cases, the GL profiles can be independently normalized in terms of both size (i.e., number of points) and intensity (i.e., gray level) before averaging.

[0095] Referring now to FIG. 9, some examples of profile attributes are shown in accordance with certain embodiments of the subject matter disclosed herein.

[0096] After the baseline GL profile is created, a profile attribute can be calculated for each design-based structural element. As an example, the profile attribute can be calculated as the difference between its gray level profile and the baseline gray level profile. For example, the difference can be the L2 distance between the GL profile and the baseline GL profile. Continuing with the above example of the baseline GL profile, FIG. 9 shows three polygons for which respective profile attributes are calculated. In the case where the polygon is validly registered 902, the calculated GL profile for this polygon is shown in graph 903 along with the baseline GL profile obtained as described in FIG. 8. It can be seen that the difference between the two curves is relatively small, as demonstrated by the calculated profile attribute as 0.13. In the case where the polygon is misregistered between the image and the CAD 904, the calculated GL profile is far from the baseline GL profile, as shown in graph 905, and the profile attribute indicates that the difference is relatively large, for example 3.46. Similarly, where the FP image is a blank image with random noise 906, the calculated GL profile is a random curve, as shown in graph 907, and the profile attribute is also calculated as a relatively large 3.80.

[0097] It should be noted that in some cases, multiple gray level profiles can be calculated along multiple specific directions for each design-based structural element. The multiple specific directions can be defined by a user. Accordingly, multiple baseline GL profiles can be calculated along multiple specific directions for each family of polygons. The multiple baseline GL profiles are included as part of the test recipe.

[0098] Continuing with FIG. 2, after the attributes of the design-based structural elements (e.g., edge attributes and / or one or more profile attributes) have been obtained, a classifier can be trained (212) (e.g., by training module 105) to use the label of each design-based structural element associated with a given layer (obtained with reference to block 208) and its associated attributes to determine the validity of registration between the first image and the second image at the location of the design-based structural elements.

[0099] The term "classifier" or "classification model" as referred to herein should be broadly construed to encompass any learning model capable of identifying which of a set of categories / classes a new instance belongs to based on a training set of data. A classifier can be implemented as various types of machine learning models, such as, for example, a linear classifier, a support vector machine (SVM), a neural network, a decision tree, etc. In some cases, the learning algorithm used by the classifier can be supervised learning. In such cases, the training set can include training instances with labels indicating their categories. FIG. 2 shows an example of such a training process. In some other cases, the classifier can use unsupervised or semi-supervised learning algorithms. The subject matter disclosed herein is not limited to the particular type of classifier and / or learning algorithm performed by it.

[0100] Each design-based structural element may be represented by attributes associated with it, such as, for example, edge attributes and / or one or more profile attributes, as described above. The design-based structural elements may be projected into an attribute space characterized by the attributes. A classifier may be trained based on the attributes of the design-based structural elements in the training set and their associated labels. By way of example, the classifier may be implemented as a binary classifier, such as, for example, an SVM model, that may be used to determine a decision boundary in the attribute space to separate validly superimposed structural elements from invalidly superimposed structural elements.

[0101] Referring now to FIG. 10, a schematic diagram of training a classifier using attributes and labels of design-based structural elements according to certain embodiments of the subject matter disclosed herein is shown.

[0102] Assume that for each design-based structural element, two attributes associated with it are obtained: an edge attribute and a profile attribute. An attribute space is created and shown as a coordinate system in FIG. 10, with the edge attribute as the X-axis and the profile attribute as the Y-axis. Each point in the attribute space represents a design-based structural element characterized by its unique attribute. As illustrated, the points marked by dots represent validly superimposed structural elements, and the remaining points represent invalidly superimposed structural elements, including the points marked by pentagons representing invalid cases caused by blank images, and the points marked by triangles representing invalid cases caused by mis-superimposition. Attributes of the design-based structural elements can be fed into an SVM model, and parameters of the SVM model can be iteratively adjusted and modified by comparing predictions of the SVM model with ground truth (e.g., labels of the design-based structural elements) until the training model is able to determine a decision boundary 1002 in attribute space that can separate validly superimposed structural elements (e.g., points marked by circles) from invalidly superimposed structural elements (e.g., remaining points) that meet predefined criteria.

[0103] It should be noted that the classifiers described above are trained based on the design-based structural elements within a given layer. Hence, the classifiers are also referred to as layer-wise classifiers. The layer-wise classifiers for each layer are included as part of the test recipe.

[0104] Since the classifier is trained to classify at the polygon level and validity must be determined for each layer, a layer score and layer threshold are calculated. Specifically, the trained classifier can be used to determine a class for each design-based structural element associated with a given layer of each image pair based on its associated attributes (214). A layer score can be generated for the given layer based on the class determined for each design-based structural element. A layer threshold can be generated (216) (e.g., by recipe generator 107) based on the layer score for the given layer of each image pair in the training set. The layer threshold for each layer can be included as part of the test recipe.

[0105] Referring now to FIG. 11, a schematic graph of generating layer thresholds in accordance with certain embodiments of the subject matter disclosed herein is shown.

[0106] In this example, the trained classifier for a given layer can be applied to the polygons of the given layer of the 10 first image pairs (i.e., validly registered image pairs) in the first subset as well as the corresponding artificial image pairs (i.e., invalidly registered image pairs) created in the second subset (assuming that one or more artificial image pairs are created for each first image pair). As an example, the layer score (L) for layer i can be calculated as, for example, the percentage of passed polygons (i.e., classified as valid registrations) in the total number of polygons of the given layer, L i =N pass / N poly It can be calculated as follows.

[0107] A layer score is generated for each given layer of the image pairs. The layer scores for the 10 validly registered image pairs will likely be relatively high, close to 1, with values ​​ranging from 80% to 100%, as represented by the circles in FIG. 11. On the other hand, the layer scores for the invalidly registered image pairs will likely be relatively low, with values ​​ranging from 0% to 20%, as represented by the squares in FIG. 11.

[0108] A layer threshold can be generated based on the layer scores of the image pairs. For example, the layer threshold can be determined so that classification accuracy is maintained. In this example, the threshold is determined to be slightly above the layer scores of the invalid image pairs so as not to overlook any valid registered image pairs.

[0109] The trained classifier and the layer threshold associated with a given layer can be included (218) in a test recipe (e.g., by the recipe generator 107).

[0110] According to certain embodiments, the second image (e.g., a CAD-simulated image) in each image pair provides information of one or more design-based structural elements associated with the multiple layers. Correspondingly, polygon labeling, attribute calculation, classifier training, layer score and layer threshold generation, and recipe generation are performed for each of the multiple layers, resulting in multiple test recipes corresponding to the multiple layers. The test recipes so generated can be used to test the specimen, as described below with reference to FIG.

[0111] Referring now to FIG. 3, there is shown a schematic flow diagram of testing a semiconductor specimen using a test recipe in accordance with certain embodiments of the subject matter disclosed herein.

[0112] A superimposed image pair including a first image and a second image can be acquired during run-time. According to certain embodiments, a first image can be acquired (302), for example by capture during run-time by a test tool. The first image can represent at least a portion of a semiconductor specimen. A second image can be generated (304) based on design data that depicts at least a portion of the specimen. The second image can provide information for one or more design-based structural elements presented in the design data and respective layers associated with each design-based structural element.

[0113] As described above with reference to FIG. 2, the first image may be an FP image captured by a test tool. By way of example, the first image may be a high-resolution image captured by a review tool, such as a scanning electron microscope (SEM) image captured by a SEM machine. The second image may be a simulated image generated by running a simulation on the design data, such as a CAD simulated image. The second image may include one or more layers corresponding to design layers in the design data. Each layer may be considered to be a binary image in which the design-based structural elements are separated from the background. Each design-based structural element may be associated with the respective layer in which the element is located. The first image and the second image are overlaid (306) in a manner similar to that described above with reference to FIG. 4.

[0114] It should be noted that while blocks 302, 304, and 306 are shown as part of Figure 3, in some embodiments, the functionality of these processes (or at least portions thereof) may be performed outside of system 131 and prior to the testing methodology proposed herein and described in Figure 3. In some other embodiments, such functionality may be performed by system 131 and thus may be considered to be part of this test flow.

[0115] For each design-based construction element associated with a given layer, an edge attribute associated with the design-based construction element may be calculated (308) (e.g., by attribute generator 134). As described above, the edge attribute may indicate a presumed presence of an edge of the image-based construction element in the first image at the edge of the design-based construction element in the second image. By way of example, the edge attribute may be calculated by applying a statistical test between two pixel populations from either side of the edge of the design-based construction element in the first image and determining a separation distance between the two pixel populations based on the results of the statistical test. Further details of the calculation of the edge attribute and its use to determine the presence of an edge are described above with reference to FIGS. 2 and 7.

[0116] In some embodiments, one or more gray level profiles may be calculated along one or more characteristic directions at locations of the first image that correspond to locations of the designed-based structural elements in the second image. One or more profile attributes associated with the designed-based structural elements may be calculated. Each profile attribute indicates a difference between its respective gray level profile and a respective baseline gray level profile included in the test recipe. The respective baseline gray level profiles are calculated along respective characteristic directions during the training phase for the family of the designed-based structural elements to which the designed-based structural elements belong, as described above with reference to Figures 2, 8, and 9.

[0117] A trained classifier, trained during the training phase and included in the test recipe, may be used to determine (310) the class of the design-based construction element based on its associated attributes (e.g., edge attributes and / or one or more profile attributes) (e.g., by validity determination module 138). The class may indicate the validity of the registration between the first image and the second image at the location of the design-based construction element (also referred to as the validity of the registration of the design-based construction element).

[0118] As mentioned above, the classifiers referred to herein should be broadly construed to encompass any learning model capable of identifying which of a set of categories / classes a new instance belongs to based on a training set of data. The classifiers can be implemented as various types of machine learning models and can utilize different kinds of learning algorithms. In some embodiments, the trained classifiers used in block 310 can be supervised learning models, such as, for example, classifiers created and trained as described in FIG. 2. In some other embodiments, the trained classifiers used in block 310 can also be unsupervised or semi-supervised learning models, such as, for example, cluster models, anomaly detection models, etc. The subject matter disclosed herein is not limited to the particular type of classifier and / or learning algorithms executed thereby.

[0119] A layer score can be generated (312) for a given layer based on the class of each design-based structural element associated with the given layer (e.g., by the validity determination module 138). By way of example, the layer score can be calculated as the percentage of the design-based structural elements classified as validly registered. The layer score can be used to determine the validity of the registered image pair based on a layer threshold predefined in the test recipe. By way of example, if a sample has only one layer, the validity of the registered image pair can be determined based on the layer score relative to the layer threshold.

[0120] As another example, if the sample has multiple layers and the second image provides information of one or more design-based structural elements associated with the multiple layers, the calculation of attributes, classification using the trained classifier, and generation of layer scores are performed for each of the multiple layers to result in multiple layer scores. Based on the multiple layer scores and multiple layer thresholds predefined in the test recipe, the validity of the registered image pair can be determined. For example, one criterion can be that if any of the layers are not validly registered (i.e., the layer score of any layer does not meet the criteria for the layer threshold), the validity of the registered image pair can be denied. In other words, if any layer score is below its layer threshold, the position represented by the image pair as a whole is rejected. On the other hand, if all layers are validly registered (i.e., the layer scores of all layers meet the criteria for their respective layer thresholds), the validity of the registered image pair can be confirmed. The layer results and / or the position results can be stored in a storage unit and / or presented in a GUI for the user to review.

[0121] Referring now to FIG. 12, an example of run-time testing of a specimen using a test recipe in accordance with certain embodiments of the subject matter disclosed herein is shown generally.

[0122] As shown, the sample has multiple layers L 1 ,L 2 ,...L l Assume that the design-based structural element has: 1202, 1203, 1204, 1205, 1206, 1207, 1208, 1209, 1300, 1310, 1320, 1330, 1340, 1350, 1360, 1370, 1380, 1390, 1400, 1410, 1420, 1430, 1440, 1450, 1460, 1470, 1480, 1490, 1500, 1510, 1520, 1530, 1540, 1550, 1560, 1570, 1580, 1590, 1600, 1610, 1620, 1630, 1640, 1650, 1660, 1670, 1680, 1690, 1700, 1710, 1720, 1730, 1740, 1750, 1760, 1770, 1780, 1790, 1800, 1810, 1820, 1830, 1840, 1850, 1860, 1870, 1880, 1890, 1900, 1910, 1920, 1930, 1940, 1950, 1960, 1970, 1980, 1990, 1990, 1991, 1992, 1993, 1994, 1

[0123] The attributes of the design-based structural elements in a given layer can be fed into a classifier trained for that given layer. The trained classifier can determine the class of each design-based structural element based on its associated attributes. The classes are binary classes that indicate the validity of the registration of the design-based structural elements. The decision boundaries 1206 and 1208 represent the separation distance between validly registered structural elements and invalidly registered structural elements.

[0124] Accordingly, each layer L 1 ,L 2 ,...L l A layer score is calculated for each layer, and a decision can be made for each layer based on the layer score and a layer threshold value predefined in the test recipe. The validity of the registered image pair can be determined based on the decision for each layer.

[0125] It should be noted that the examples shown are described herein for illustrative purposes and should not be construed as limiting the present disclosure in any way. Other suitable examples may be used in addition to or instead of the above.

[0126] Among the advantages of certain embodiments of the test process described herein are the ability to automatically detect inconsistencies / mismatches between FP images and corresponding design data before performing further test operations such as, for example, segmentation and metrology measurements, thereby enabling reliable test results (e.g., measurements of overlay, CD, etc.) to be provided to the user and avoiding providing misleading test information to the manufacturing process.

[0127] Among the advantages of particular embodiments of the recipe generation process described herein are, as described above, the provision of test recipes that can be used to automatically detect inconsistencies / mismatches between FP images and corresponding design data prior to performing further test operations.

[0128] Among the advantages of certain embodiments of the testing process described herein are automated testing processes for detecting discrepancies between FP images and corresponding design data, thereby eliminating the need for a user to manually inspect every location on a wafer before testing or inspect test results for the entire wafer after testing for outliers. This is made possible by at least using a trained classifier to perform classification of structural elements based on one or more attributes of the structural elements and generating a location indication based on the classification results.

[0129] Among the advantages of certain embodiments of the recipe generation process described herein are generating training sets, including creating artificial / synthetic fault training subsets by modifying valid / good training subsets to provide sufficient labeled training data.

[0130] The test process disclosed herein can be used for different applications such as, for example, ADC, ADR, defect detection, alignment, metrology, and other test tasks.

[0131] It is to be understood that the present disclosure is not limited, with respect to its field of application, to the details set forth in the description contained herein or shown in the drawings.

[0132] It will also be appreciated that the system according to the present disclosure may be at least partially executed by a suitably programmed computer. Similarly, the present disclosure contemplates a computer program readable by a computer for executing the methods of the present disclosure. The present disclosure further contemplates a non-transitory computer readable memory tangibly embodying a program of instructions executable by a computer for executing the methods of the present disclosure.

[0133] The present disclosure is capable of other embodiments and of being practiced and carried out in various ways. It is therefore to be understood that the terms and terminology used herein are for the purpose of description and should not be regarded as limiting. Thus, those skilled in the art will appreciate that the conception on which the present disclosure is based may readily be utilized as a basis for the designing of other structures, methods and systems which embody some of the purposes of the subject matter disclosed herein.

[0134] It will be readily apparent to those skilled in the art that various modifications and changes can be applied to the embodiments of the present disclosure described above without departing from the scope of the present disclosure, which is thereby defined in the appended claims.

Claims

1. 1. A computerized testing system for semiconductor specimens using test recipes, comprising: a processor and memory circuit (PMC), the processor and memory circuit (PMC) comprising: obtaining a superimposed image pair including a first image captured by a test tool and representative of at least a portion of the semiconductor specimen, and a second image generated based on design data characterizing the at least a portion of the semiconductor specimen, the second image providing information of one or more design-based structural elements presented in the design data and respective layers associated with each design-based structural element; for each design-based structural element associated with a given layer of the semiconductor specimen, calculating edge attributes associated with the design-based construction element and indicative of a probable presence of an edge of an image-based construction element in the first image at an edge of the design-based construction element in the second image; determining a class of the design-based construction element based on the edge attributes associated therewith, the class indicating a validity of registration between the first image and the second image at the location of the design-based construction element using a trained classifier included in the test recipe; and a computerized testing system configured to generate a layer score for the given layer based on the class of each design-based structural element associated with the given layer, the layer score being usable to determine validity of the registered image pair based on a layer threshold value predefined in the test recipe.

2. The computerized system of claim 1 , wherein the first image is a high resolution image captured by a review tool.

3. The computerized system of claim 1 , wherein the second image is generated by running a simulation on the design data.

4. the PMC, for each design-based structural element associated with the given layer, calculating one or more grey level profiles along one or more characteristic directions at locations of the first image that correspond to locations of the design-based construction elements in the second image; and further configured to calculate one or more profile attributes associated with the design-based structural elements, each indicative of a difference between a respective gray level profile and a respective baseline gray level profile included in the test recipe, the respective baseline gray level profiles being calculated along respective characteristic directions for a family of design-based structural elements to which the design-based structural elements belong; The computerized system of claim 1 , wherein determining a class using a trained classifier is based on the edge attribute and the one or more profile attributes associated therewith.

5. 2. The computerized system of claim 1, wherein the PMC is configured to calculate the edge attributes by applying a statistical test between two pixel populations from either side of the edge of the design-based structural element in the first image and determining a separation distance between the two pixel populations based on a result of the statistical test.

6. The computerized system of claim 1 , wherein the ply score is a percentage of the design-based structural elements that are classified as being validly overlapped.

7. 2. The computerized system of claim 1, wherein the second image provides information of one or more design-based structural elements associated with a plurality of layers, and wherein the calculation, use, and generation is performed for each of the plurality of layers to yield a plurality of layer scores, and the PMC is further configured to determine validity of the registered image pair based on the plurality of layer scores and a plurality of layer thresholds predefined in the test recipe.

8. 1. A computerized method for testing a semiconductor specimen using a test recipe, the method being executed by a processor and memory circuit (PMC), the method comprising: obtaining a superimposed image pair including a first image captured by a test tool and representative of at least a portion of the semiconductor specimen, and a second image generated based on design data characterizing the at least a portion of the semiconductor specimen, the second image providing information of one or more design-based structural elements presented in the design data and respective layers associated with each design-based structural element; for each design-based structural element associated with a given layer of the semiconductor specimen, calculating edge attributes associated with the design-based construction element and indicative of a probable presence of an edge of an image-based construction element in the first image at an edge of the design-based construction element in the second image; determining a class of the design-based construction element based on the edge attributes associated therewith, the class indicating validity of registration between the first image and the second image at the location of the design-based construction element using a trained classifier included in the test recipe; and generating a layer score for the given layer based on the class of each design-based structural element associated with the given layer, the layer score being usable to determine validity of the registered image pair based on a layer threshold value predefined in the test recipe.

9. The computerized method of claim 8 , wherein the first image is a high resolution image captured by a review tool.

10. The computerized method of claim 8 , wherein the second image is generated by running a simulation on the design data.

11. For each design-based structural element associated with said given layer, calculating one or more grey level profiles along one or more characteristic directions at locations of the first image that correspond to locations of the design-based construction elements in the second image; and calculating one or more profile attributes associated with the design-based structural elements, each indicative of a difference between a respective gray level profile and a respective baseline gray level profile included in the test recipe, the respective baseline gray level profiles being calculated along respective characteristic directions for a family of design-based structural elements to which the design-based structural elements belong; 10. The computerized method of claim 8, wherein determining a class using a trained classifier is based on the edge attribute and the one or more profile attributes associated therewith.

12. 9. The computerized method of claim 8, wherein the edge attributes are calculated by applying a statistical test between two pixel populations from either side of the edge of the design-based structural element in the first image and determining a separation distance between the two pixel populations based on the result of the statistical test.

13. 9. The computerized method of claim 8, wherein the ply score is a percentage of the design-based structural elements that are classified as being validly overlapped.

14. 9. The computerized method of claim 8, wherein the second image provides information of one or more design-based structural elements associated with a plurality of layers, and performing the calculation, use, and generation for each of the plurality of layers to yield a plurality of layer scores, the method further comprising determining a validity of the registered image pair based on the plurality of layer scores and a plurality of layer thresholds predefined in the test recipe.

15. A non-transitory computer readable storage medium tangibly embodying a program of instructions that, when executed by a computer, cause the computer to perform a method of testing a semiconductor specimen using a test recipe, the method comprising: obtaining a superimposed image pair including a first image captured by a test tool and representative of at least a portion of the semiconductor specimen, and a second image generated based on design data characterizing the at least a portion of the semiconductor specimen, the second image providing information of one or more design-based structural elements presented in the design data and respective layers associated with each design-based structural element; for each design-based structural element associated with a given layer of the semiconductor specimen, calculating edge attributes associated with the design-based construction element and indicative of a probable presence of an edge of an image-based construction element in the first image at an edge of the design-based construction element in the second image; determining a class of the design-based construction element based on the edge attributes associated therewith, the class indicating validity of registration between the first image and the second image at the location of the design-based construction element using a trained classifier included in the test recipe; and generating a layer score for the given layer based on the class of each design-based structural element associated with the given layer, the layer score being usable to determine validity of the overlaid image pair based on a layer threshold value predefined in the test recipe.

16. 1. A computerized system for generating a test recipe usable for testing a semiconductor specimen, the system comprising: a processor and memory circuit (PMC), the processor and memory circuit (PMC) comprising: obtain a training set including: i) a first subset including one or more first image pairs, each first image pair including a first image captured by a test tool and representing at least a portion of a semiconductor sample and a second image generated based on design data characterizing the at least a portion of the semiconductor sample, the first image and the second image being validly registered, and the second image providing information of one or more design-based structural elements presented in the design data and respective layers associated with each design-based structural element; and ii) a second subset including one or more second image pairs, each second image pair being generated by modifying at least one of the first image and the second image in each first image pair in the first subset, whereby the generated second image pair is invalidly registered; associating each of the one or more design-based structural elements in the second image of each image pair of the training set with a label indicative of the validity of the registration; calculating, for each design-based construction element, an edge attribute associated with said design-based construction element and indicative of a probable presence of an edge of an image-based construction element in said first image at an edge of said design-based construction element in said second image; training a classifier to determine validity of registration between the first image and the second image at the location of the design-based structural element using the edge attributes associated with each design-based structural element associated with a given layer of the semiconductor specimen and the label thereof; using the trained classifier to determine a class for each design-based structural element associated with the given layer of each image pair based on its associated edge attributes; and generating a layer score for the given layer based on the determined class for each design-based structural element; generating a layer threshold based on the layer score for the given layer for each image pair of the training set; A computerized system configured to include the trained classifier and the layer threshold associated with the given layer in the test recipe.

17. 17. The computerized system of claim 16, wherein at least one second image pair is generated by modifying content of the first image in the first image pair.

18. 17. The computerized system of claim 16, wherein at least one second image pair is generated by modifying a relative position between the first image and the second image in the first image pair.

19. 17. The computerized system of claim 16, wherein the PMC is configured to perform the association based on at least one of: validity of the registration of corresponding image pairs and the correction if the corresponding image pair is a second image pair.

20. The PMC is calculating, for each designed-based construction element, a grey level profile along a characteristic direction at a location in the first image that corresponds to a location of the designed-based construction element in the second image; calculating a baseline gray level profile for each family of design-based construction elements among the validly overlapped design-based construction elements along the characteristic direction based on the gray level profile of each design-based construction element in the family; and further configured to calculate, for each design-based construction element, a profile attribute associated therewith and indicative of a difference between said gray level profile and said baseline gray level profile, and training said classifier and using said trained classifier are based on said edge attribute and said profile attribute associated therewith; 20. The computerized system of claim 16, wherein the test recipe further comprises the baseline gray level profile.

21. 21. The computerized system of claim 20, wherein a plurality of baseline gray level profiles are calculated for each family along a plurality of specific directions and included in the test recipe.

22. 17. The computerized system of claim 16, wherein the second image in each image pair provides information of one or more design-based structural elements associated with a plurality of layers, and the associating, calculating, training, using, and including are performed for each of the plurality of layers to produce a plurality of test recipes corresponding to the plurality of layers.

23. A non-transitory computer readable storage medium tangibly embodying a program of instructions that, when executed by a computer, cause the computer to perform a method of generating a test recipe usable for testing a semiconductor specimen, the method comprising: obtaining a training set including: i) a first subset including one or more first image pairs, each first image pair including a first image captured by a test tool and representing at least a portion of a semiconductor sample and a second image generated based on design data characterizing the at least a portion of the semiconductor sample, the first image and the second image being validly registered, and the second image providing information of one or more design-based structural elements presented in the design data and respective layers associated with each design-based structural element; and ii) a second subset including one or more second image pairs, each second image pair being generated by modifying at least one of the first image and the second image in each first image pair in the first subset, whereby the generated second image pair is invalidly registered; Associating each of the one or more design-based structural elements in the second image of each image pair of the training set with a label indicative of the validity of the registration; calculating, for each design-based construction element, an edge attribute associated with said design-based construction element and indicative of a probable presence of an edge of an image-based construction element in said first image at an edge of said design-based construction element in said second image; training a classifier to determine validity of registration between the first image and the second image at the location of the design-based structural element using the edge attributes associated with each design-based structural element associated with a given layer of the semiconductor specimen and the label thereof; using the trained classifier to determine a class for each design-based structural element associated with the given layer of each image pair based on the edge attributes associated therewith, and generating a layer score for the given layer based on the determined class for each design-based structural element; generating a layer threshold based on the layer score for the given layer for each image pair of the training set; and including the trained classifier and the layer threshold associated with the given layer in the test recipe.

24. 24. The non-transitory computer-readable storage medium of claim 23, wherein at least one second image pair was generated by modifying content of the first image in the first image pair.

25. 24. The non-transitory computer-readable storage medium of claim 23, wherein at least one second image pair is generated by modifying a relative position between the first image and the second image in the first image pair.

26. 24. The non-transitory computer-readable storage medium of claim 23, wherein the association is performed based on at least one of validity of the registration of corresponding image pairs and the correction if the corresponding image pair is a second image pair.

27. The method further comprising: calculating, for each designed-based construction element, a grey level profile along a characteristic direction at a location in the first image that corresponds to a location of the designed-based construction element in the second image; calculating a baseline gray level profile for each family of design-based construction elements among the validly overlapped design-based construction elements along the characteristic direction based on the gray level profile of each design-based construction element in the family; and calculating, for each design-based construction element, a profile attribute associated therewith and indicative of a difference between said gray level profile and said baseline gray level profile, and training said classifier and using said trained classifier are based on said edge attribute and said profile attribute associated therewith; 24. The non-transitory computer-readable storage medium of claim 23, wherein the test recipe further comprises the baseline gray level profile.

28. 30. The non-transitory computer readable storage medium of claim 27, wherein a plurality of baseline gray level profiles are calculated for each family along a plurality of specific directions and are included in the test recipe.

29. 24. The non-transitory computer-readable storage medium of claim 23, wherein the second image in each image pair provides information of one or more design-based structural elements associated with a plurality of layers, and the associating, calculating, training, using, and including are performed for each of the plurality of layers to result in a plurality of test recipes corresponding to the plurality of layers.

Citation Information

Patent Citations

  • Pattern grouping method based on machine learning

    US20200020092A1

  • Semiconductor inspection device and semiconductor inspection method using the same

    WO2011001635A1