Classifying patterns in electronic circuit layouts using machine learning based coding
The use of machine learning-based autoencoders and distributed training for electronic circuit pattern classification addresses the memory and computational challenges of large circuit layouts, enabling efficient clustering and improved machine learning model training.
Patent Information
- Application Number
- JP2021569037
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-05-18
- Filing Date
- 2020-05-18
- Publication Date
- 2024-08-22
- Estimated Expiration
- 2040-05-18
AI Technical Summary
Existing electronic design automation systems struggle to efficiently process and cluster the large number of unique patterns in large electronic circuits due to memory and computational limitations, making it impractical to perform pattern collection and clustering on a single computing system.
A machine learning-based approach using neural network autoencoders for encoding and decoding circuit patterns, combined with distributed training and hierarchical clustering, allows for efficient processing and classification of large circuit layouts by reducing data size and leveraging multiple computer processors.
This method enables the classification and clustering of large electronic circuit patterns in a computationally efficient manner, reducing resource consumption and accelerating the process while maintaining accuracy, thus facilitating more comprehensive machine learning model training and evaluation.
Smart Images

Figure 0007538818000001 
Figure 0007538818000006 
Figure 0007538818000007
Abstract
Description
[Technical field]
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS This application claims the benefit of U.S. Patent Application No. 62 / 850,026, filed May 20, 2019, the contents of which are incorporated herein by reference.
[0002] The present disclosure relates generally to the field of electronic design automation, and more particularly to distributed pattern extraction and clustering for pattern classification of large layouts of electronic circuits using machine learning-based encoding of patterns. [Background technology]
[0003] Electronic design automation of large electronic circuits often processes large designs that contain billions of unique patterns. Some applications, such as lithography model fitting and machine learning (ML) model training, require an understanding of the types of patterns in the design so that the model can adequately extrapolate those patterns. Certain processes performed during electronic design automation of circuits group the patterns of the electronic circuit into subgroups or clusters, where each subgroup or cluster contains similar patterns such that one representative pattern from each cluster can be used to represent the cluster. Due to the large size of current electronic circuits, it is impractical to perform pattern collection and subsequent clustering involving a billion (or more) patterns on a single computing system. This is because a single computing system typically does not have enough memory and computing power to load and process such large electronic circuits. As a result, conventional techniques that cannot be distributed across a large number of computer processors can only process small electronic circuits. Summary of the Invention
[0004] Disclosed is an arrangement (e.g., a system, method, non-transitory computer readable storage medium having instructions executable by a processor) for classification of layouts of electronic circuits. A representation of a layout of a circuit is received. The layout representation includes geometric shapes. A set of circuit patterns is extracted from the layout representation of the circuit design. The set of circuit patterns is encoded to generate a set of encoded circuit patterns. The encoding of the circuit patterns is performed by receiving an input circuit pattern and providing the circuit patterns as input to a machine learning based encoder configured to generate the encoded circuit patterns. The encoded circuit patterns are represented using less data compared to the input circuit patterns. The encoder is run to generate an encoded circuit pattern corresponding to the input circuit pattern. The set of encoded circuit patterns is clustered into a plurality of clusters.
[0005] In one embodiment, the machine learning based encoder is a neural network based autoencoder that performs (1) encoding and (2) decoding, which can be performed using multiple sets of functions / steps.
[0006] These clusters can be used to train or evaluate a machine learning based model. For example, to train a machine learning based model, a subset of the circuit patterns from each cluster can be selected to train the machine learning based model. Similarly, to evaluate a machine learning based model, a subset of the circuit patterns from each cluster can be selected to evaluate the machine learning based model.
[0007] According to one embodiment, the machine learning based encoder is trained using distributed training. A training data set is determined accordingly. Each training data set includes a circuit pattern. The machine learning based encoder is trained in parallel using a computer processor. Each computer processor determines a set of parameters for the machine learning based encoder using one of the determined training data sets. These parameters represent weights of the machine learning based encoder. For example, the machine learning based model can be a neural network including nodes, where each node represents a linear combination of its inputs, which are weighted according to the parameters. The weights of the machine learning based encoder are adjustable parameters of the model and are adjusted during training of the machine learning based encoder, for example by a backpropagation process. The parameters of the trained machine learning based model are applied to new inputs to perform predictions using the model. The set of parameters generated in parallel is aggregated to obtain a combined set of parameters for the machine learning based encoder. This process can be repeated multiple times.
[0008] In one embodiment, the machine learning based encoder is a neural network that includes a convolution component with a set of layers that receives an input circuit pattern and generates an encoded circuit pattern, and a deconvolution component with a set of layers that receives the encoded circuit pattern as input and generates an output representation of the circuit pattern. The convolution component and the deconvolution component each include a set of layers of a neural network, each layer receiving a set of values, processing the set of values, and providing a result to the next layer. Alternatively, the convolution component and the deconvolution component each can be considered as a component that performs a series of steps, each step receiving an input, processing the input, and providing a result to the next step.
[0009] According to one embodiment, clustering of the encoded circuit patterns is performed using a hierarchical clustering technique that is performed using a distributed system that repeatedly divides each cluster into sub-clusters in parallel.
[0010] According to one embodiment, the hierarchical clustering determines, for each cluster, whether the cluster should be further subdivided into sub-clusters. For each cluster, a measure of similarity of the circuit patterns within the cluster is determined. The system determines whether the measure of similarity of the circuit patterns represents a degree of similarity that is less than a threshold degree of similarity between the circuit patterns of the cluster. If the measure of similarity of the circuit patterns of the cluster represents a degree of similarity that is less than the threshold degree of similarity of the circuit patterns of the cluster, then the cluster is further subdivided into sub-clusters. As described further herein, other embodiments may use other criteria to determine whether to continue to subdivide a cluster into sub-clusters.
[0011] The present disclosure will be more fully understood from the detailed description set forth below and from the accompanying drawings of embodiments of the present disclosure. The accompanying drawings are used to provide knowledge and understanding of the embodiments of the present disclosure. The accompanying drawings do not limit the scope of the present disclosure to these specific embodiments. Furthermore, the accompanying drawings are not necessarily drawn to scale. [Brief description of the drawings]
[0012] [Figure 1] 1 is a flow diagram of various processes used during the design and manufacture of integrated circuits according to some embodiments of the present disclosure. [Diagram 2] FIG. 1 is a block diagram of a system architecture of a layout classification system, according to one embodiment. [Diagram 3] 1 is a flow diagram illustrating the overall process of layout classification according to one embodiment. [Figure 4] FIG. 1 illustrates the overall process flow according to one embodiment using an example layout. [Diagram 5] FIG. 2 illustrates an autoencoder model according to one embodiment. [Figure 6] FIG. 2 illustrates an original rasterized circuit pattern and its encoded representation according to one embodiment. [Figure 7] FIG. 2 illustrates an example of top-down hierarchical clustering of a layout of a circuit, according to one embodiment. [Figure 8] FIG. 13 illustrates an example of cluster items after being unencoded and converted back into rasterized polygon space, according to one embodiment. [Figure 9] FIG. 1 is an abstract diagram of an exemplary computer system in which embodiments of the present disclosure can function. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] Large circuits often have some repeated circuit patterns. For example, a circuit layout may have repeated patterns of geometric shapes. Similar circuit patterns store similar information. Accordingly, if a large number of similar circuit patterns are provided as a training data set for training a machine learning model, the model may not be able to process other types of circuit patterns that were not provided as training data.
[0014] A layout classification system according to one embodiment classifies circuit patterns of a circuit to generate clusters of similar circuit patterns. These clusters of circuit patterns can be used to generate a training data set for training a machine learning model that includes different types of circuit patterns, rather than a training data set that includes a large number of similar circuit patterns. As a result, a machine learning model trained using the generated training data set can handle a much wider range of circuit patterns than a model trained using a training data set that includes a large number of similar circuit patterns.
[0015] A large electronic circuit layout may contain billions of circuit patterns. Loading and processing such a large amount of data may consume a large amount of computational and input / output resources. Conventional techniques for clustering such large circuit layouts are slow and inefficient or require expensive computational resources.
[0016] An embodiment performs clustering by performing multiple steps, including: (1) receiving a circuit design and finding all unique patterns in the circuit using distributed processing (DP); (2) training a machine learning based encoder model using distributed training, which compresses the circuit pattern to a smaller size such that the encoded representation of the circuit pattern uses significantly less data than the unencoded representation of the circuit pattern; and (3) clustering the compressed data patterns into multiple clusters, for example using a distributed hierarchical clustering method.
[0017] Encoding the circuit patterns to use less data allows computational resources to load and process a much larger number of circuit patterns. This reduces the computation time and input / output overhead for processing the circuits. Furthermore, the layout classification system performs distributed processing of various steps, such as training the machine learning based encoder and clustering the encoded circuit patterns. Distributed processing allows various steps of the clustering process to be performed in parallel using multiple computational processes, thereby accelerating the process and allowing much larger circuits to be processed in a reasonable time.
[0018] Electronic Design Automation Process FIG. 1 illustrates an exemplary set of processes 100 used to transform and verify design data and instructions that represent an integrated circuit during the design, verification, and manufacturing of such products. Each of these processes may be structured and enabled as multiple modules or operations. The term "EDA" refers to the term "electronic design automation." These processes begin with the generation of a product idea 110 with information provided by a designer. This information is transformed to produce a product using a set of EDA processes 112. Once the design is complete, the design is taped out 134. Tape-out is when the artwork (e.g., geometric patterns) for the integrated circuit is sent to a manufacturing facility to manufacture a mask set. This mask set is then used to manufacture the integrated circuit. After tape-out, semiconductor die are fabricated 136 and packaging and assembly processes 138 are performed to produce a completed integrated circuit 140.
[0019] Specifications for circuits or electronic structures may range from low-level transistor material layouts to high-level description languages. High levels of abstraction may be used to design circuits and systems using hardware description languages ("HDLs") such as VHDL, Verilog, SystemVerilog, SystemC, MyHDL, or OpenVera. HDL descriptions may be converted to logic level register transfer level ("RTL") descriptions, gate level descriptions, layout level descriptions, or mask level descriptions. Each lower level of abstraction adds more useful details to the design description, for example, more details for modules that comprise the design description. This lower level of abstraction may be computer-generated, retrieved from a design library, or produced by another design automation process. An example of a specification language at a lower level of abstraction for specifying more detailed descriptions is SPICE, which is used for detailed descriptions of circuits with many analog components. A description at each abstraction level is made available for use by the corresponding tool of that layer (e.g., a formal verification tool). The design process can use the sequence shown in Figure 1. The described process can be made available by an EDA product (or tool).
[0020] During system design 114, the functionality of the integrated circuit to be manufactured is specified. The design can be optimized for desired characteristics such as power consumption, performance, area (physical lines and / or instruction lines) and cost reduction. At this stage, a partitioning of the design into different types of modules or components can be performed.
[0021] During logic design and functional verification 116, modules or components in a circuit are specified in one or more description languages and the specifications are checked for functional correctness. For example, components of the circuit may be verified to produce outputs that are consistent with the requirements of the specification of the circuit or system being designed. Functional verification may use simulators and other programs such as testbench generators, static HDL checkers and formal verifiers. In some embodiments, special systems of components called "emulators" or "prototyping systems" are used to accelerate functional verification.
[0022] During synthesis and design for test 118, the HDL code is converted into a netlist. In some embodiments, the netlist can be a graph structure where the edges of the graph structure represent components of the circuit and the nodes of the graph structure represent how the components are interconnected. Both the HDL code and the netlist are hierarchical products that an EDA product can use to verify that an integrated circuit will operate according to a specified design when manufactured. The netlist can be optimized for a target semiconductor manufacturing technology. Furthermore, the completed integrated circuit can be tested to verify that it meets the requirements of the specification.
[0023] During netlist verification 120, the netlist is checked for adherence to timing constraints and correspondence with the HDL code. During design planning 122, an overall floorplan for the integrated circuit is constructed and analyzed for timing and top-level routing.
[0024] During layout or physical implementation 124, physical placement (positioning of circuit components such as transistors or capacitors) and routing (connection of circuit components by multiple conductors) can be performed, and selection of cells from a library can be performed to enable a particular logic function. As used herein, the term "cell" can designate a set of transistors, other components, and interconnections that provide a Boolean logic function (e.g., AND, OR, NOT, XOR) or a memory function (e.g., a flip-flop or latch). As used herein, a circuit "block" can refer to two or more cells. Both cells and circuit blocks can be referred to as modules or components, and are made available as physical structures and in simulations. Parameters such as size are specified for the selected cells (based on "standard cells") and made accessible in a database for use by the EDA product.
[0025] During analysis and extraction 126, the circuit functionality is verified at the layout level, which allows refinement of the layout design. During physical verification 128, the layout design is checked to ensure that manufacturing constraints, such as DRC constraints, electrical constraints, lithography constraints, etc., are correct and that the circuit functionality matches the HDL design specifications. During resolution enhancement 130, the geometry of the layout is transformed to improve how the circuit design will be manufactured.
[0026] During tape-out, data is generated that is used to produce a lithography mask (after lithography enhancements are applied, if appropriate). During mask data preparation 132, the "tape-out" data is used to produce a lithography mask that is used to produce a completed integrated circuit.
[0027] A storage subsystem of a computer system (such as computer system 900 of FIG. 9 or host system 807 of FIG. 8) can be used to store programs and data structures used by some or all of the EDA products described herein, as well as products used in the development of cells for the libraries and physical and logical design using the libraries.
[0028] Embodiments may be used to process circuit designs during various stages of an electronic design automation process that store a circuit layout, such as during layout or physical implementation 124, during analysis and extraction 126, during mask data preparation 132, and the like.
[0029] Layout Classification System Architecture 2 illustrates a block diagram of a system architecture of a layout classification system, according to one embodiment. The layout classification system 210 includes a circuit pattern generation component 220, an autoencoder 230, a model training component 240, and a clustering component 250. Other embodiments may include more or fewer components than those illustrated herein. Functions illustrated herein as being performed by particular components may also be performed by other components other than those illustrated herein.
[0030] The circuit pattern generation component 220 extracts a set of circuit patterns from a representation of the layout of the circuit. The circuit patterns are also referred to herein as clips. In one embodiment, the circuit pattern generation component 220 divides the layout into smaller fragments and calculates a unique identifier, such as a geometric hash key, for each fragment. The calculation of the unique identifier is performed so that the system can have a compact identifier for each clip that can be compared to other compact identifiers of other clips to determine whether the clips are identical. The hash key is a mathematical function of the vertex positions of the geometric shapes. For example, the mathematical function can aggregate the vertex positions and determine a modulo (or remainder) value using a predefined value as a divisor. Various embodiments can use other geometric hash functions. The circuit pattern generation component 220 stores the hash key for each clip in a database along with the clip's position so that the hash keys can be accessed later. This database allows for the identification of which circuit patterns are present at different locations in the circuit, and therefore which identify the unique set of circuit patterns that collectively represent all the various geometries in the circuit.
[0031] The autoencoder 240 is a machine learning based model that takes as input a representation of the circuit pattern and outputs a representation of the circuit pattern. The autoencoder 240 generates an intermediate representation of the circuit pattern that is an encoded representation of the input representation and that can be stored using fewer bits than the input representation.
[0032] A model training component 230 trains the autoencoder using circuit patterns obtained from the circuit. The model training component 230 trains the autoencoder 240 to output a representation of the circuit pattern that matches the input representation of the circuit pattern.
[0033] The clustering component 250 performs clustering of the circuit patterns of the input layout representation of the circuit. The clustering component 250 stores the clusters. In one embodiment, the generated clusters are used to train or evaluate a machine learning model. For example, a machine learning model can be trained by selecting a subset of circuit patterns from each cluster to use as a training data set. The use of circuit patterns from each cluster ensures that the training is performed using circuit patterns that are dissimilar to each other. This improves the computational efficiency of the training process because computational resources are not wasted training the model with repetitive training data, which would be a waste of resources.
[0034] Similarly, the machine learning model can be evaluated by selecting a subset of circuit patterns from each cluster for evaluating the machine learning based model. Evaluating the machine learning based model using circuit patterns from different clusters improves the quality of the evaluation of the machine learning based model and ensures that the evaluation coverage is sufficient across all different types of circuit patterns. Furthermore, the evaluation process using circuit patterns from different clusters improves the computational efficiency of conventional model evaluation techniques because computational resources are not wasted by evaluating the machine learning based model using similar circuit patterns.
[0035] Layout Classification Process 3 shows a flow diagram illustrating the overall process of layout classification, according to one embodiment. The steps shown in the flow diagram of FIG. 3 may be performed in a different order than that shown in the flow diagram. For example, certain steps may be performed in parallel with other steps. Additionally, the various steps shown in the flow diagram may be performed using parallel or distributed systems.
[0036] The layout classification system 210 receives a representation of a circuit layout including geometric shapes 310. The circuit pattern generation component 220 identifies unique circuit patterns from the circuit layout representation 320. The circuit pattern generation component 220 stores the unique patterns in a database.
[0037] The layout classification system 210 encodes the circuit patterns by repeating steps 330 and 340 for each identified circuit pattern to generate a set of encoded circuit patterns. The layout classification system 210 provides the circuit patterns as input to an encoder, e.g., an auto-encoder 230. The encoder is executed to generate, for each circuit pattern, an encoded circuit pattern. The encoded circuit patterns are represented using less data than the input circuit patterns.
[0038] The clustering component 250 performs clustering of the set of coded circuit patterns to generate a number of clusters of circuit patterns. The generated clusters are stored in a database. The various steps of the process of FIG. 3 are described in further detail herein. The step 320 of identifying unique circuit patterns is shown in FIG. 4. The steps 330, 340 of coding circuit patterns are shown in FIG. 5. FIG. 6 shows examples of coded and uncoded circuit patterns. The step 350 of clustering coded circuit patterns is shown in FIG. 7.
[0039] FIG. 4 illustrates the overall process flow according to one embodiment with an example layout.
[0040] Step 1: Identify all unique patterns in the layout In one embodiment, the distributed system divides the design into circuit patterns. Each circuit pattern is then processed in parallel to find all unique windows. For each circuit pattern, the layout classification system 210 obtains a hash key for that circuit pattern. In one embodiment, the layout classification system 210 calculates an integer hash key from a geometry layout clip. This hash key can be generated using a geometric hashing technique that generates a key based on the features (e.g., geometric patterns) of the input image that correspond to the geometry layout clip. This hash key is used to build a global database of all circuit patterns encountered in the circuit. In some embodiments, if circuit patterns can be derived from each other by mirroring, translating, or rotating, the layout classification system 210 treats them as the same circuit pattern. Accordingly, two circuit patterns that can be derived from each other by performing one or more of mirroring, translating, or rotating are mapped to the same hash key. The layout classification system 210 stores the geometry clips in a global database D. This global database D maps hash keys to circuit patterns, for example, D[hash key]=geometry_polygons. In one embodiment, the layout classification system 210 uses cloud storage to enable the generation of a large number of key-value pairs.
[0041] Step 2: Build an autoencoder model to reduce data size In one embodiment, the model training component 240 uses a distributed machine learning training process to train the autoencoder model 230 with a smaller data size at its midpoint that represents the encoded data. In one embodiment, the layout classification system 210 converts the polygon data of the circuit layout into a rasterized pixel grid and uses a convolutional neural network in a subsequent step to process the rasterized pixel grid.
[0042] FIG. 5 shows an autoencoder model that receives an input circuit pattern and reproduces the circuit pattern as an output. The autoencoder converts the input circuit pattern into a low-dimensional coded representation generated by a hidden layer of the model, and then converts the coded representation into an output circuit pattern that matches the input circuit pattern. As a result, the coded representation generated by the hidden layer of the autoencoder contains all the information of the circuit pattern necessary to reproduce the circuit pattern as an output. The hidden layer is also called the internal layer of the autoencoder model.
[0043] As shown in FIG. 5, the autoencoder receives a layout representation of a circuit pattern. The autoencoder may include the following components: (1) one or more convolutional layers for performing downsampling of the input circuit pattern. The convolutional layer scans the input circuit pattern to identify features of the circuit pattern. The convolutional layer may use one or more filters, each configured to recognize a particular feature in the circuit pattern. (2) dense connections to an encoded layer. The encoded layer is a hidden layer (or inner layer). The dense layer connects the output of the convolutional layer to the input of the encoded layer. The layer is dense because it has a large number of connections, for example, each output of the convolutional layer may be connected to each input of the encoded layer. (3) The encoded layer represents the input circuit pattern using an encoded representation that uses fewer data values than the input representation. An example of an encoded circuit pattern corresponding to the input circuit pattern is shown in FIG. 6. (4) a dense connection layer connects the output of the encoded layer to one or more deconvolutional layers. This layer is also dense, having a large number of connections, e.g., each output of the encoded layer is connected to a respective input of the deconvolution layer. (5) One or more deconvolution layers that upsample the encoded circuit pattern to generate a decoded representation of the circuit pattern that matches the input circuit pattern. The deconvolution layers reverse the process of convolution performed by the convolution layers and represent the inverse of the convolution operation.
[0044] In one embodiment, the model training component 240 performs distributed training of the autoencoder using stochastic weight averaging. This training can include the following steps: (1) the model training module 240 splits the training data into chunks. (2) the model training module 240 fits a model to each chunk in a partially parallel manner. (3) the model training module 240 averages the weights obtained by each partial fitting to generate a combined model. (3) the model training module 240 repeats these steps from step 2 and continues training the model from its latest weight values obtained in step 3.
[0045] This allows models to be fitted to larger data sets than could possibly be contained in the memory on a single computing system.
[0046] After the autoencoder is trained, an encoded version of each data point is stored. This encoded version can result in a 1024x1024 image being reduced to an encoded 8x8 representation. This is performed using distributed machine learning based model inferencing. Figure 6 shows an example of an original rasterized pattern 610 and its encoded representation 620.
[0047] In some embodiments, the layout classification system 210 uses the geometric density across different areas of the pattern. In response, the layout classification system 210 uses the geometric density to build an encoding of the circuit pattern. In one embodiment, the layout classification system 210 performs a sampling of the geometry polarity (polygon / empty space) within an area of a given size and sums the sampled values to obtain a density value to be used in the encoded circuit pattern. In another embodiment, the layout classification system 210 rasterizes the polygons and convolves the result with an indicator function that has a value of 1 within an area and a value of 0 outside the area to generate pixel values. The layout classification system 210 sums the pixel values to obtain a density value to be used in the encoded circuit pattern.
[0048] In some embodiments, the layout classification system 210 samples different convolutions of the rasterized pattern. Accordingly, the layout classification system 210 uses the rasterized convolved pattern. This is performed by rasterizing the pattern and then convolving it with a set of convolution kernels to obtain a set of convolved images. The layout classification system 210 sums the pixel values to obtain a convolved sum representation, similar to the density calculation described above.
[0049] In some embodiments, the layout classification system 210 performs local sampling of the rasterized pattern or the above convolution. In response, the layout classification system 210 determines a local set of sample points that are geometrically specified (e.g., as being near the center of the circuit pattern). At these points, the pixelated image (which may be computed from the rasterized pattern, the convolution, a lithography image, etc.) is then sampled, and the layout classification system 210 uses the sampled values directly or computes a mathematical function of the sampled values, such as a sum or aggregate value, for use in the encoded circuit pattern.
[0050] It should be noted that, depending on the application, other methods of generating the encoded data set may be used, for example, performing a lithography simulation of a polygon and extracting geometric / pixel information from the lithography simulation. The encoder used to encode the circuit pattern satisfies the following properties: if the encoder is applied to two different circuit patterns C1 and C2 that are similar according to a certain similarity measure, the output encoded circuit patterns (e.g. E1 and E2, respectively) will also be similar according to that similarity measure. Accordingly, clusters of input circuit patterns will be corresponding clusters in the encoded circuit patterns. Hash functions that generate keys that are not necessarily similar for similar inputs are encoders that do not satisfy the above properties. Such encoders that do not generate similar encoded circuit patterns for similar circuits are not used in the embodiments.
[0051] In some embodiments, the layout classification system 210 performs local sampling of a lithography simulation of the pattern. The layout classification system 210 receives the clip polygons and uses them as a mask representation and feeds it to a lithography simulation system to obtain a simulated wafer image. This simulated wafer image is then processed as described above by sampling, convolution, etc.
[0052] Step 3: Distributed clustering FIG. 7 illustrates a top-down hierarchical clustering of a circuit layout according to one embodiment.
[0053] In this step, the clustering component 250 clusters the encoded circuit patterns. In one embodiment, the clustering component 250 uses distributed hierarchical clustering because typical clustering algorithms have a computational complexity of O(kNd), where k is the number of clusters, N is the number of patterns to cluster, and d is the size of the patterns.
[0054] Clustering component 250 performs clustering as follows: Clustering component 250 initially contains all input circuit patterns as one large cluster. Clustering component 250 divides the cluster into smaller clusters. For each cluster, clustering component 250 determines a similarity measure of the coded circuit patterns in the cluster. Clustering component 250 determines whether the similarity measure of the coded circuit patterns meets a threshold condition based on the similarity between the coded circuit patterns of the cluster. If the similarity measure of the coded circuit patterns indicates a similarity less than (or equal to) the threshold similarity between the coded circuit patterns of the cluster, clustering component 250 further subdivides the cluster into sub-clusters. If the similarity measure of the coded circuit patterns indicates a similarity greater than the threshold similarity between the coded circuit patterns of the cluster, clustering component 250 ceases subdividing the cluster.
[0055] Thus, hierarchical clustering makes the clustering process computationally efficient by reducing k and N (and therefore the turnaround time per level) as data including a set of circuit patterns 710 from a circuit is partitioned sequentially into sub-clusters 720 that can be subdivided in parallel. So, instead of a clustering complexity of O(kNd), the system can distribute the work using, for example, two sub-clusters for each branch of the tree, resulting in a complexity of O(Ndlog(k)). This is a significant savings when k is large. Furthermore, conventional techniques require prohibitively large amounts of memory to run clustering algorithms with large k. In contrast, the disclosed embodiments improve memory usage by using encoded circuit patterns that occupy significantly less storage space compared to conventional representations of circuit patterns.
[0056] Other clustering methods running on a single machine or on distributed machines can also be used by the clustering module 250, such as k-means, spectral, agglomerative clustering methods, etc. The clustering method used will depend on the data volume and other data characteristics as to which clustering method is best suited for the task at hand.
[0057] In one embodiment, clustering component 250 uses k-means clustering at each hierarchical branch of the clustering tree. Clustering component 250 can use different methods to determine which cluster leaf 730 to split at a given level based on a respective leaf cluster metric, such as cluster inertia. Various embodiments can use other clustering methods instead of k-means at each hierarchical branch.
[0058] The coding of the circuit patterns separates the circuit patterns, for example based on the degree to which the geometric shapes of the patterns match, to a sufficient extent that the resulting clusters have patterns that satisfy a measure of similarity. Figure 8 shows a sample cluster item 810 after being uncoded and returned to rasterized polygon space. As shown in Figure 8, the various circuit patterns have significant similarities, although there may be small differences in the circuit patterns within a cluster.
[0059] After the clustering tree is completed, the leaves of the tree are used as the final clusters. For hierarchical clustering, the clustering component 250 can use the intermediate cluster branches of the tree to determine whether the "best number of clusters" (i.e., the number of clusters that do not over-cluster based on various metrics) is less than the total number of leaves of the tree. Different clustering results are then produced without performing any further work.
[0060] In some embodiments, the clustering component 250 uses an application specific metric to help identify when to further divide a cluster. For example, the clustering component 250 determines whether a measure of similarity of the encoded circuit patterns meets a threshold condition corresponding to the similarity between the encoded circuit patterns of the cluster. If the threshold condition is met, the clustering component 250 further subdivides the cluster. As an example, the threshold condition is met when a threshold percentage or more of the circuit patterns being compared differ, and the threshold condition is not met when fewer than a threshold percentage of the circuit patterns differ. This comparison of the circuit patterns can be performed using any of the following techniques:
[0061] Clustering component 250 can use the similarity of polygons closest to the centers of circuit patterns, for example, by comparing only a subset of the areas of the circuit patterns that encompass the centers of the circuit patterns. In response, clustering component 250 identifies polygons closest to the centers of the circuit patterns and compares those polygons among the different circuit patterns in the cluster. Limiting this comparison to polygons closest to the centers of polygons makes this process computationally efficient compared to a process that compares the entire circuit patterns.
[0062] The clustering component 250 can determine the polygon density of the circuit patterns to compare the circuit patterns in the clusters. In response, the clustering component 250 determines a measure of the polygon density of the circuit patterns of the clusters, for example, by counting the number of polygons in each cluster. The clustering component 250 determines a measure of similarity of the circuit patterns in the clusters by comparing the polygon densities of the circuit patterns.
[0063] In some embodiments, clustering component 250 performs sampling of simulated lithography images of polygons in the circuit patterns to compare the circuit patterns of the clusters to determine whether to further subdivide the clusters. In response, clustering component 250 samples the circuit patterns to select a subset or region in the circuit pattern and compares it to a corresponding subset or region of another circuit pattern.
[0064] In some embodiments, the clustering component 250 weights different portions of the encoded circuit pattern differently. For example, if each encoded circuit pattern has 16 values (numbers), the clustering component 250 weights some of the numbers more heavily and other portions less heavily. For example, values closer to the center of the geometric pattern can be weighted differently compared to values closer to the boundary of the circuit pattern. For example, values closer to the center of the geometric pattern can be weighted more heavily than values closer to the boundary of the circuit pattern. Accordingly, the clustering component 250 weights some of the values more heavily than other values. The determination of these weights is application dependent, since each encoded entry has a relative importance determined by the user. Accordingly, these weights can be received from the user and are configurable.
[0065] In some embodiments, clustering component 250 uses the encoded circuit patterns to perform the clustering, but uses the uncompressed (original) circuit patterns that correspond to the encoded circuit patterns to determine whether to further subdivide the clusters. Accordingly, clustering component 250 performs clustering that is hybrid in nature, where the actual clustering procedure is performed using the compressed data (encoded circuit patterns), but the decision of which clusters to divide is based on a metric on the corresponding original data set (unencoded circuit patterns). For example, even if clustering is performed using the encoded circuit patterns, the determination of a measure of similarity between two circuit patterns can be performed using the unencoded circuit patterns.
[0066] Computer Architecture 9 illustrates an exemplary computer system 900 machine within which a set of instructions may be executed to cause the machine to perform any one or more of the methods discussed herein. In alternative embodiments, the machine may be connected (e.g., networked) to other machines in a LAN, an intranet, an extranet, and / or the Internet. The machine may operate in the capacity of a server or a client machine in a client-server network environment, as a peer machine in a peer-to-peer (or distributed) network environment, or as a server or a client machine in a cloud computing infrastructure or environment.
[0067] The machine may be a personal computer (PC), tablet PC, set-top box (STB), personal digital assistant (PDA), mobile phone, web appliance, server, network router, switch or bridge, or any machine capable of executing (sequentially or otherwise) a set of instructions that specify operations that the machine is to perform. Additionally, although a single machine is shown, the term "machine" should also be construed to include any collection of machines that individually or collectively execute a set (or sets) of instructions to perform any one or more of the methods discussed herein.
[0068] The exemplary computer system 900 includes a processing unit 902, a main memory 904 (e.g., read-only memory (ROM), flash memory, dynamic random access memory (DRAM), such as synchronous DRAM (SDRAM), static memory 906 (e.g., flash memory, static random access memory (SRAM), etc.), and a data storage device 918, which communicate with each other via a bus 930.
[0069] Processing unit 902 represents one or more processors, such as a microprocessor, a central processing unit, etc. More specifically, the processing unit may be a complex instruction set computing (CISC) microprocessor, a reduced instruction set computing (RISC) microprocessor, a very long instruction word (VLIW) microprocessor, or a processor implementing other instruction sets or a combination of instruction sets. Processing unit 902 may also be one or more special-purpose processing units, such as an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), a digital signal processor (DSP), a network processor, etc. Processing unit 902 may be configured to execute instructions 926 to perform the operations and steps described herein.
[0070] Computer system 900 may further include a network interface device 908 for communicating across a network 920. Computer system 900 may further include a video display unit 910 (e.g., a liquid crystal display (LCD) or a cathode ray tube (CRT)), an alphanumeric input device 912 (e.g., a keyboard), a cursor control device 914 (e.g., a mouse), a graphics processing unit 922, a signal generating device 916 (e.g., a speaker), a graphics processing unit 922, a video processing unit 928, and an audio processing unit 932.
[0071] The data storage device 918 may include a machine-readable storage medium 924 (also known as a non-transitory computer-readable medium) having stored thereon one or more sets of instructions 926 or software that implement any one or more of the methods or functions described herein. The instructions 926 may further reside, completely or at least partially, within the main memory 904 and / or within the processing unit 902 during execution of the instructions 926 by the computer system 900. The main memory 904 and the processing unit 902 also constitute machine-readable storage media.
[0072] In some implementations, instructions 926 include instructions for performing functions corresponding to the present disclosure. Although machine-readable storage medium 924 is shown to be a single medium in an exemplary implementation, the term "machine-readable storage medium" should be interpreted to include a single medium or multiple media (e.g., a centralized or distributed database and / or associated caches and servers) having one or more sets of instructions stored thereon. The term "machine-readable storage medium" is also interpreted to include any medium capable of storing or encoding a set of instructions for execution by a machine, the set of instructions causing the machine and processing unit 902 to perform any one or more of the methods of the present disclosure. Accordingly, the term "machine-readable storage medium" is interpreted to include, but is not limited to, solid-state memory, optical media, and magnetic media.
[0073] Some portions of the above detailed descriptions are presented in the form of algorithms and symbolic representations of operations on data bits within a computer memory. These algorithmic descriptions and representations are the means used by those skilled in the data processing arts to most effectively convey the substance of their work to others skilled in the art. An algorithm may be a sequence of operations leading to a desired result. These operations are those requiring physical manipulation of physical quantities. Such physical quantities may take the form of electrical or magnetic signals that can be stored, combined, compared, and otherwise manipulated. Such signals may be referred to as bits, values, elements, symbols, characters, terms, numbers, or the like.
[0074] It should be noted, however, that all of these and similar terms are to be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. Unless specifically stated otherwise, as will be apparent from this disclosure, certain terms will be understood throughout this description to relate to operations and processes of a computer system or similar electronic computing device that manipulate data represented as physical (electronic) quantities in the computer system's registers and memories and convert those data into other data similarly represented as physical quantities in the computer system's memory or registers or other such information storage devices.
[0075] The present disclosure further relates to an apparatus for performing the operations herein. The apparatus may be specially constructed for an intended purpose or may include a computer selectively activated or reconfigured by a computer program stored therein. Such computer programs may be stored on a computer-readable storage medium, such as, but not limited to, any type of disk, including floppy disks, optical disks, CD-ROMs and magneto-optical disks, read-only memory (ROM), random access memory (RAM), EPROM, EEPROM, magnetic or optical cards, or any type of medium suitable for storing electronic instructions, each coupled to a computer system bus.
[0076] The algorithms and displays presented herein are not inherently related to a particular computer or other apparatus. Various other systems can be used with programs based on the teachings herein, or may prove convenient for constructing more specialized apparatus for carrying out the methods. Moreover, the present disclosure is not described with reference to any particular programming language. It will be understood that a variety of programming languages can be used to implement the teachings of the present disclosure as described herein.
[0077] The present disclosure may be provided as a computer program product or software, which may include a machine-readable medium having instructions stored thereon that may be used to program a computer system (or other electronic device) to perform a process according to the present disclosure. A machine-readable medium includes any mechanism for storing information in a form readable by a machine (e.g., a computer). For example, a machine-readable (e.g., computer-readable) medium includes a machine (e.g., computer) readable storage medium, such as a read-only memory ("ROM"), a random access memory ("RAM"), a magnetic disk storage medium, an optical storage medium, a flash memory device, or the like.
[0078] In the above disclosure, the embodiments of the present disclosure have been described with respect to certain exemplary embodiments thereof. It will be apparent that various modifications can be made to the embodiments of the present disclosure without departing from the broader spirit and scope of the embodiments of the present disclosure as set forth in the following claims. Where the present disclosure refers to some elements in the singular, two or more elements may be shown in the figures, and similar elements are labeled with similar reference numerals. Accordingly, the present disclosure and the figures should be regarded as illustrative and not restrictive.
Claims
1. 1. A method for performing a classification of a physical layout of a circuit, the method comprising: receiving a representation of the physical layout of the circuit; identifying a set of circuit patterns from a representation of the physical layout of the circuit; encoding, by a processor, the set of circuit patterns as a set of coded circuit patterns, the set of coded circuit patterns including one coded circuit pattern for each circuit pattern in the set of circuit patterns, and the encoding is performed using a machine learning based encoder; clustering the set of encoded circuit patterns into a plurality of clusters; The method includes:
2. 2. The method of claim 1 , wherein the machine learning based encoder is a neural network based autoencoder trained to receive a circuit pattern as input and generate an output representation of the circuit pattern that matches the input circuit pattern, and an inner layer of the neural network based autoencoder generates the encoded circuit pattern.
3. The neural network based autoencoder comprises: A convolution layer that receives the input circuit pattern and generates the encoded circuit pattern. The method of claim 2 , comprising:
4. The neural network based autoencoder comprises: a deconvolution layer that takes as input the encoded circuit pattern and generates an output representation of the circuit pattern; The method of claim 3 further comprising:
5. performing distributed training of the machine learning based encoder using the subset of circuit patterns. The method of claim 1 further comprising:
6. The distributed training comprises: determining a plurality of training data sets, each of the training data sets including a plurality of circuit patterns; training the machine learning based encoder in parallel using a plurality of computer processors, each computer processor determining a set of parameters for the machine learning based encoder using a training dataset of the plurality of training datasets; aggregating the sets of parameters generated in parallel to obtain a combined set of parameters for the machine learning based encoder; The method of claim 5 , comprising:
7. and further comprising: training a machine learning based model using the plurality of clusters of the circuit patterns, the training comprising selecting a subset of circuit patterns from each cluster for training the machine learning based model. The method of claim 1.
8. evaluating a trained machine learning based model using the plurality of clusters of circuit patterns, the evaluating including selecting a subset of circuit patterns from each cluster for evaluating the machine learning based model. The method of claim 1.
9. The method of claim 1 , wherein clustering the encoded circuit patterns is performed using a hierarchical clustering technique.
10. The method of claim 9 , wherein the hierarchical clustering technique is performed using a distributed system that divides each cluster into sub-clusters in parallel.
11. For each cluster, determining whether the cluster should be further subdivided into sub-clusters. and wherein said determining further comprises: determining, for each cluster, a measure of similarity of the encoded circuit patterns within that cluster; determining whether the measure of similarity of the encoded circuit patterns satisfies a threshold condition corresponding to the similarity between the encoded circuit patterns of the cluster; in response to determining that the measure of similarity of the encoded circuit patterns satisfies the threshold condition, further subdividing the cluster into sub-clusters. Including, The method of claim 10.
12. The method of claim 11 , wherein the measure of similarity of circuit patterns is determined for a pair of circuit patterns by comparing corresponding portions of each circuit pattern from the pair of circuit patterns.
13. The method of claim 11 , wherein the measure of similarity of encoded circuit patterns assigns different weights to different portions of the encoded circuit patterns.
14. The method of claim 11 , wherein the measure of similarity of circuit patterns is determined by comparing polygon densities of circuit patterns.
15. 12. The method of claim 11, wherein the measure of similarity of circuit patterns is determined using a circuit pattern input to the encoder, and wherein dividing the clusters into sub-clusters is performed using the encoded circuit pattern.
16. A non-transitory computer readable medium having instructions stored thereon, the instructions, when executed by a processor, causing the processor to perform a number of steps, the number of steps including: receiving a representation of a physical layout of a circuit; identifying a set of circuit patterns from a representation of the physical layout of the circuit; encoding, by a processor, the set of circuit patterns as a set of encoded circuit patterns, the set of encoded circuit patterns including one encoded circuit pattern for each circuit pattern in the set of circuit patterns, the encoding being based on execution of a machine learning based encoder; clustering the set of encoded circuit patterns into a plurality of clusters; 16. A non-transitory computer readable medium comprising:
17. 17. The non-transitory computer-readable medium of claim 16, wherein the machine learning based encoder is a neural network based autoencoder, the neural network based autoencoder being trained to receive a circuit pattern as input and generate an output representation of the circuit pattern that matches the input circuit pattern, an inner layer of the neural network based autoencoder generating the encoded circuit pattern.
18. The steps further include performing distributed training, the distributed training comprising: determining a plurality of training data sets, each of the training data sets including a plurality of circuit patterns; training the machine learning based encoder in parallel using a plurality of computer processors, each computer processor determining a set of parameters for the machine learning based encoder using a training dataset of the plurality of training datasets; aggregating the sets of parameters generated in parallel to obtain a combined set of parameters for the machine learning based encoder; 20. The non-transitory computer readable medium of claim 16, wherein the non-transitory computer readable medium is executed by:
19. The steps include: For each cluster, determining whether the cluster should be further subdivided into sub-clusters. and wherein said determining further comprises: determining, for each cluster, a measure of similarity of the circuit patterns within that cluster; determining whether the measure of similarity of the encoded circuit patterns satisfies a threshold condition corresponding to the similarity between the encoded circuit patterns of the cluster; in response to determining that the measure of similarity of circuit patterns satisfies the threshold condition, further subdividing the cluster into sub-clusters. Including, 20. The non-transitory computer readable medium of claim 16.
20. A memory storing instructions; a processor, coupled to the memory, for executing the instructions; wherein the instructions, when executed, cause the processor to perform a plurality of steps, the plurality of steps comprising: receiving a representation of a physical layout of a circuit; identifying a set of circuit patterns from a representation of the physical layout of the circuit; encoding the set of circuit patterns as a set of encoded circuit patterns, the set of encoded circuit patterns including one encoded circuit pattern for each circuit pattern in the set of circuit patterns, the encoding being based on execution of a machine learning based encoder; clustering the set of encoded circuit patterns into a plurality of clusters; Including, the system.
Citation Information
Patent Citations
Pattern detection method and device, and image processing device and method
JP2002008031A
CAD system for printed circuit board
JP2006235762A
Method for Analyzing Design of an Integrated Circuit
US20180307792A1
Method and system for context-specific mask inspection
WO2004008245A2
