원시데이터 수집 시스템
선정목록으로

CHIP: Clustering Hotspots in Layout Using Integer Programming

관련 필름·전자재료 · (13) 프리즘 필름

기본 정보

저자
  1. Rohit Reddy Takkala — Dept. of Electrical and Computer Engineering, Iowa State University, Ames 50011, USA
  2. Chris Chu — Dept. of Electrical and Computer Engineering, Iowa State University, Ames 50011, USA
DOI
10.1155/2019/9430593
저널
Journal of Electrical and Computer Engineering
발행년도
2019
발행기관
Hindawi Publishing Corporation
피인용수
3
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1155/2019/9430593
토픽
Advancements in Photolithography Techniques
OpenAlex ID
W2899410127

평가 내용

관련도
관련
사업분야
필름·전자재료 · (13) 프리즘 필름
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > 프리즘 필름' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Clustering algorithms have been explored in recent years to solve hotspot clustering problems in integrated circuit design. With various applications in design for manufacturability flow such as hotspot library generation, systematic yield optimization, and design space exploration, generating good quality clusters along with their representative clips is of utmost importance. With several generic clustering algorithms at our disposal, hotspots can be clustered based on the distance metric defined while satisfying some tolerance conditions. However, the clusters generated from generic clustering algorithms need not achieve optimal results. In this paper, we introduce two optimal integer linear programming formulations based on triangle inequality to solve the problem of minimizing cluster count while satisfying given constraints. Apart from minimizing cluster count, we generate representative clips that best represent the clusters formed. We achieve a better cluster count for both formulations in most test cases as compared to the results published in the literature in the ICCAD 2016 contest benchmarks as well as the reference results reported in the ICCAD 2016 contest website.

본문 45,829자

본문 펼치기
Hindawi Journal of Electrical and Computer Engineering Volume 2019, Article ID 9430593, 12 pages [https://doi.org/10.1155/2019/9430593](https://doi.org/10.1155/2019/9430593) # _Research Article_ CHIP: Clustering Hotspots in Layout Using Integer Programming Rohit Reddy Takkala and Chris Chu _Dept._ _of_ _Electrical_ _and_ _Computer_ _Engineering,_ _Iowa_ _State_ _University,_ _Ames_ _50011,_ _USA_ [Correspondence should be addressed to Rohit Reddy Takkala; rohitreddytakkala@gmail.com](mailto:rohitreddytakkala@gmail.com) Received 24 July 2018; Revised 30 October 2018; Accepted 27 November 2018; Published 17 January 2019 Academic Editor: Maurizio Martina [Copyright © 2019 Rohit Reddy Takkala and Chris Chu.,is is an open access article distributed under the Creative Commons](https://creativecommons.org/licenses/by/4.0/) [Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is](https://creativecommons.org/licenses/by/4.0/) properly cited. Clustering algorithms have been explored in recent years to solve hotspot clustering problems in integrated circuit design. With various applications in design for manufacturability flow such as hotspot library generation, systematic yield optimization, and design space exploration, generating good quality clusters along with their representative clips is of utmost importance. With several generic clustering algorithms at our disposal, hotspots can be clustered based on the distance metric defined while satisfying some tolerance conditions. However, the clusters generated from generic clustering algorithms need not achieve optimal results. In this paper, we introduce two optimal integer linear programming formulations based on triangle inequality to solve the problem of minimizing cluster count while satisfying given constraints. Apart from minimizing cluster count, we generate representative clips that best represent the clusters formed. We achieve a better cluster count for both formulations in most test cases as compared to the results published in the literature in the ICCAD 2016 contest benchmarks as well as the reference results reported in the ICCAD 2016 contest website. 1. Overview As the feature size decreases rapidly, the problem of manufacturability in integrated circuits increases due to limitations in lithographic wavelength used during the fabrication stage.,ese problems identified as hotspots are a set of problematic patterns in the layout that have printing issues. ,ese are detected either using traditional lithographic simulations or machine learning-based detection methods that have been proposed in recent years. When such defects are found, finding patterns of similar kind is of high interest. It becomes useful to cluster these clips of interest into groups and process them together.,is is called layout pattern classification [1] or hotspot clustering. Layout pattern classification has been utilized in recent years in design for manufacturability flow for various applications. Few examples of such applications are hotspot library generation [2], hierarchical data storage [3], and systematic yield optimization. With several applications in the DFM stage, finding good quality clusters is important. Few works such as [4] use pattern classification within their tool flow.,ey use a modified version of incremental clustering where they update the representative of the clusters formed. Wu et al. [5] have worked on a modified problem statement, where they consider dummy fills during hotspot classification, can therefore accurately identify the process hotspots in the layout with dummification in EUVL. An interesting approach is adopted [6] where they shift the clips to expand the solution space while satisfying given constraints, thereby reducing the cluster count.,e minimal cluster count is achieved for the ICCAD 2016 benchmark suite in their approach. Different distance metric instead in of the XOR logic is explored in [7, 8] to encapsulate rotations/mirroring and other topological features. However, using these metrics is a trade-off between computational cost and quality of the clusters generated.,ere are several other works such as [9–12] which focus on hotspot detection frameworks, whereas hotspot clustering has been rarely explored but plays an important role in various applications in the design for manufacturability flow. 2 Journal of Electrical and Computer Engineering In previous work [2, 13, 14], a few generic clustering algorithms such as _k_ -means clustering [14], hierarchical and incremental clustering [2], and Markov clustering [13, 15] were explored to solve this problem. In _k_ -means clustering, the value of _k_ needs to be provided by the user, but the user may not know the cluster count a priori.,erefore, it does not solve the purpose of finding good quality clusters automatically. In the hierarchical clustering algorithm, starting from each data point as a cluster, the data are hierarchically grouped together based on different types of linkages. Since hierarchical clustering finds groups of data in a hierarchical manner, it is again user dependent to get the clusters. In incremental clustering, in the order of processing data, either new clusters are created or existing clusters are grown incrementally.,is algorithm depends on the order of processing data and therefore does not produce good quality solutions. Markov clustering [15] is known to find good quality clusters in a short time, but the clustering depends on fine tuning several parameters in the algorithm.,ere are several other clustering algorithms in the literature to cluster any kind of data; however, the problem formulations of those algorithms are different from that of the hotspot clustering problem.,erefore, a postprocessing step is required while using those algorithms to regroup clusters in order to satisfy the given constraints. In this paper, we discuss our tool called CHIP which solves the given hotspot clustering problem optimally. We formulate two integer linear programs to solve for the optimal number of clusters, i.e., the objective of both formulations is to minimize cluster count. With some tolerance given by area constraint or edge constraint, our tool classifies given clips into clusters without assuming that the representative clips must be from the given data set. Since the representative clip is not required to be one of the given clips, we generate the representative clip based on the cluster data and the tolerance provided.,is framework can achieve optimal cluster count while satisfying the constraints as per the results from ICCAD 2016 Contest Problem C-Pattern Classification for Integrated Circuit Design Space Analysis [1]. ,e paper is further organized as follows: In Section 2, we describe the problem, define the terminology, and elaborate the two modes in clustering. In Section 3, we discuss the overview of our tool flow. In Section 4, we define our integer linear programming formulations which exactly represent the problem statement, and in Section 5, the framework to generate representative clips is elaborated. Furthermore, in Section 6, we report the results of the formulation and compare with existing algorithms. We conclude the work in Section 7. 2. Problem Description _2.1. Overview._,is problem is taken from the ICCAD 2016 Contest-Problem C. Given a GDS file with markers and clip size and the constraints as inputs, the hotspot classification tool has to cluster the clips formed around the markers and output the corresponding cluster identities and a set of representative clips which represent the clusters.,ere are two types of constraints given to the tool, i.e., area constraint (a) and edge constraint (e). Based on the type of constraint, the tool has to perform clustering in the respective mode. ,e tool takes either area constraint or edge constraint but not both as the input. Figure 1 depicts a sample layout where the polygons (in yellow) are the interconnects of a circuit indicated in a layer. On this layer, there are several markers placed at various locations throughout the layout. Given these input data, clips centered at the markers should be extracted according to the given dimensions. Note that the center of the clip can be anywhere inside the marker. We define the terminology used in the problem description as follows: _Definition 1._ Marker: a marker is a polygon which locates the presence of a hotspot in the layout.,ese markers are placed on a different layer other than the design layer. For practical purposes, these markers are picked to be small—about the height & width of minimum width allowed in the layout. _Definition_ _2._ Clip: a clip is defined as a set of polygons extracted from the layout, based on the position of the marker.,ese set of polygons are extracted by a bounding polygon (width _w_ and height _h_ ) with its center anywhere inside the marker. A sample clip is shown in Figure 2. For practical purposes, the center of the clip can be assumed to be the center of the marker. _Definition_ _3._ Cluster: a cluster is a set of clips which are grouped together based on the similarity metric defined. _Definition_ _4._ Representative clip: a representative clip is defined for each cluster which is similar to all its clips, where the degree of similarity is constrained by a tolerance parameter given as input. For practical purposes, representative clips can be chosen from existing clips for each cluster. But it need not necessarily exist in the layout. _2.1.1. Additional Specifications._ Mirroring of clips is allowed, i.e., 180 <sup>°</sup> rotation along the axes passing through the clip’s center.,erefore, there are 4 possible combinations for each clip.,is is depicted in Figure 3. Also, since the clip’s center need not be at the center of the marker, clip shifting can be performed to generate a set of clips for one marker. A sample set of possible clips are depicted in Figure 4 by shifting a clip’s center. In this work, for simplicity, we consider the center of the clip to be at the center of the marker, i.e., we only consider the clip in Figure 4(a). In general, clustering algorithms require pairwise similarity relation of data points in order to group the data into clusters. Pairwise distances of data points are one of the ways to establish the similarity measure, i.e., the greater the distance, the greater the dissimilarity.,ere are various types of distances used for different applications such as L1 norm for images, L2 norm for any _d_ -dimensional set of points, and Hamming distance for distance between two strings. In hotspot classification, each clip ( _xi_ ) is represented as a _w_ × _h_ dimensional data point, i.e., _xi_ ∈ _R_ <sup>_d_</sup>, where _d_ - _w_ × _h_ . For any two clips _x_ 1 and _x_ 2, XOR( _x_ 1 _, x_ 2) produces a clip Journal of Electrical and Computer Engineering 3 Figure 1: Sample layout. Clip boundary Marker boundary Clip center Polygon Figure 2: Sample clip. which depicts the dissimilarity between the given two clips. Furthermore, based on the two constraints—area-constrained clustering and edge-constrained clustering—the distance metric is defined for each mode by imposing the respective constraints on the resultant clip. In the following subsections, the two constraint-based clustering modes are explained in detail. _2.2. Constrained Clustering_ _2.2.1._ _Area-Constrained_ _Clustering._ In area-constrained clustering (ACC), the distance metric is computed based on the area of the resultant clip from exclusive OR operation applied to two clips _x_ 1 and _x_ 2: _D_ - _x_ 1 _, x_ 2? - area� XOR� _x_ 1 _, x_ 2?? _._ (1) For example, in Figure 5, two clips are overlapped against each other whose dissimilarity is depicted through arrows. In Figure 6, the resultant XOR of the two clips is shown.,e distance of the clips is therefore the area of the polygons (rectangles in this case) in Figure 6, i.e., _D_ ( _x_ 1 _, x_ 2) � area(XOR( _x_ 1 _, x_ 2)). Given this distance function between a pair of clips, ACC constrains the distance between any clip _S_ in a cluster and its representative clip _R_ as follows: _<u>D</u>_ <u>(</u> _<u>R, S</u>_ <u>)</u> ( _w_ × _h_ ) <sup>≤</sup> <sup>(1 −</sup> <sup>_a_</sup> <sup>)</sup> <sup>_,_</sup> (2) where _w_ × _h_ is the area of the clip and 0 ≤ _a_ ≤ 1. Here, _a_ is the parameter given to the tool which constraints the distance between the clips. If _a_ - 1, the tool has to perform exact clip matching. For practical purposes, _a_ is close to 1.,is constraint need not enforce two clips to be clustered together if they satisfy it. However, if two clips do not satisfy the constraint, then they cannot be clustered together. _2.2.2._ _Edge-Constrained_ _Clustering._ In edge-constrained clustering (ECC), the distance between two clips _x_ 1 and _x_ 2 is given by the maximum shift along an edge either inward or outward in clip _x_ 1 with respect to clip _x_ 2; that is, if _ei_ is _i_ th shift along one edge out of all possible edge shifts in clip _x_ 1 with respect to the clip _x_ 2, then _D_ ( _x_ 1 _, x_ 2) � max( _e_ 1 _, e_ 2 _,_ . . .). An example pair of clips with edge shifts is shown in Figure 5. For any clip _S_ in a cluster and its representative clip _R_, then according to ECC, the following should be satisfied: _D_ ( _R, S_ ) ≤ _e,_ (3) where _e_ is given as a parameter. Here, _e_ is a nonnegative real number. For practical purposes, _e_ is close to 0. Similar to ACC, ECC does not enforce the clips to be clustered together if they satisfy the constraint. If the clips do not satisfy the constraint, they should not be clustered together. 3. Overview of the Tool ,e proposed tool flow is discussed in this chapter. Figure 7(a) shows our proposed tool flow with the steps. In the layout data processing step, we convert all the polygons into rectangles for easier data processing. We then handle the layout data (in rectangles) using a grid structure in order to speed up the process of clip extraction. In distance computation step, we reorient all clips in a canonical way to consider mirroring of the clips. Exact pattern matching is performed to reduce data size, and therefore, redundant computations are avoided in the subsequent steps. ,en, we compute the pairwise distances between these reduced data according to the constraint type. Using this distance matrix ( _D_ ) and given tolerance ( _Dc_, which is determined by either _a_ or _e_ depending on the constraint type), in the clustering step, an optimizer is called to solve the optimization problem based on the formulations discussed in Section 4 and an optimal solution is arrived along with the cluster indices. Furthermore, since we assume each cluster need not have its representative amongst given data, we use ILP formulation again to search feasible solution space to 4 Journal of Electrical and Computer Engineering (a) (b) (c) (d) Figure 3: Four possible configurations of a clip. (a) (b) (c) (d) Figure 4: A sample set of configurations of a clip (with shifting) [6]. generate the representative clip. Te following subsections and chapters discuss each step in our proposed flow in detail. _3.1. Layout Data Processing._ In this step, firstly, the polygons are converted into rectangles using a standard algorithm. Note that this conversion need not be optimal in nature. Ten, the entire layout is divided into a grid structure where each unit is of width _w_ and height _h_ as shown in Figure 7(b). With this grid structure, the rectangles overlapping each grid are stored in a data structure. While extracting the clip for a given marker, we use the information stored in the data structure to take relevant rectangles to form the clip. Tis process avoids scanning all rectangles and finding intersection between them and the clips of interest. Tis is illustrated in Figure 7(b). At most 4 grid structures and Journal of Electrical and Computer Engineering 5 X Figure 5: Two clips overlapped with each other [1]. Figure 6: XOR of the two clips [1]. Overall flow Layout data processing Reorientation Exact clip matching Reduced pairwise distance computation Integer linear program solver Representative clip generation (a) Step1: preprocessing Step2: distance computation Step3: clustering (b) _~~h~~_ <u>1</u> 2 <u>3</u> <u>4</u> _w_ _h_ _w_ Figure 7: Overview of the tool and preprocessing step. (a) An overview of the tool. (b) Layout data processing. 6 Journal of Electrical and Computer Engineering correspondingly the rectangles present in them are scanned for any clip to be extracted. _3.2. Distance Computation_ _3.2.1._ _Reorientation._ Since we consider reflections along _x_ axis or _y_ -axis or both, in this step, before computing distances between the clips based on area or edge constraint, we perform reorientation of the clips in a canonical way. We compute the center of mass (COM) for a given clip and divide the clip into 4 quadrants. Here, center of mass metric is defined as follows. Let _ai_ be a clip which is mapped to a _R_ <sup>2</sup> space with _w_ × _h_ number of data points, with the range - _w_ /2 to _w_ /2 on the _x_ -axis, - _h_ /2 to _h_ /2 on the _y_ -axis, and the center of the clip at (0, 0). With this mapping, if there is a pixel at ( _x, y_ ), then its value is 1, i.e., _ai_ ( _x, y_ ) � 1 and 0 otherwise. Let ( _xc, yc_ ) represent the center of mass of this notation. ,erefore, <sup>_h_</sup> _y_ <sup>/2</sup> �− _h_ <u>/2</u> <sup>_a_</sup> _i_ <sup>(</sup> <sup>_x, y_</sup> <sup>)</sup> <sup>∗</sup> <sup>_x_</sup> _xc_ _yc_ ? <sup>_w_</sup> _x_ - <sup>/2</sup> <u>−</u> <sup>_w_</sup> _x_ - <sup>/2</sup> <u>−</u> _w_ <u>/2</u> <sup>?</sup> <sup>_h_</sup> _y_ <sup>/2</sup> ? <sup>_w_</sup> _x_ - <sup>/2</sup> <sup>_w_</sup> _x_ - <sup>/2</sup> - _w_ /2 <sup>?</sup> <sup>_h_</sup> _y_ <sup>/2</sup> ? <sup>_w_</sup> _x_ - <sup>/2</sup> <sup>_w_</sup> _x_ - <sup>/2</sup> - _w_ /2 <sup>?</sup> <sup>_h_</sup> _y_ <sup>/2</sup> <sup>_h_</sup> _y_ <sup>/2</sup> �− _h_ /2 <sup>_a_</sup> _i_ <sup>(</sup> <sup>_x, y_</sup> <sup>)</sup> _,_ (4) binary value. As a result, the distance of the two clips can be easily computed based on the binary values for each grid and its corresponding area, as shown in Figure 9. _3.2.3._ _Distance_ _Computation._ In this final step, pairwise distances are computed between the reduced set of clips. To compute the distance between the two clips, each clip is divided into nonuniform grids where the grid lines are along the boundaries of the polygons on the two clips as discussed in the Section 3.2.2.,erefore, the distance between a pair of clips can be easily computed based on the binary values for each grid and its corresponding area, as shown in Figure 9. 4. ILP Formulations One of the objectives of the problem is to minimize the cluster count while satisfying the tolerance in terms of ACC/ ECC. In the following formulations, we define the objective of the ILP as minimizing the number of clusters.,erefore, the optimizer solves for the optimal number of clusters for a given constraint. Also, we leverage the idea of triangle inequality, as defined in Proposition 1, in order to generate the minimal cluster count; that is, the representative clip need not be chosen from the given clips, and therefore, we explore the solution space without unnecessary restrictions while satisfying the given constraints. We formulate two integer linear programming approaches describing the given problem in different ways. Both these formulations are described in the following subsections. _4.1. CHIP Node._ In this formulation, we describe the clustering problem using nodes as variables, where each node is assigned a cluster identity based on the distance metric and the constraints. We define _Ci_ as the variable representing each data point _i_, and its value indicates the cluster index of that data point: ? <sup>_w_</sup> _x_ - <sup>/2</sup> <u>−</u> <sup>_w_</sup> _x_ - <sup>/2</sup> <u>−</u> _w_ <u>/2</u> <sup>?</sup> <sup>_h_</sup> _y_ <sup>/2</sup> <sup>_h_</sup> _y_ <sup>/2</sup> �− _h_ <u>/2</u> <sup>_a_</sup> _i_ <sup>(</sup> <sup>_x, y_</sup> <sup>)</sup> <sup>∗</sup> <sup>_y_</sup> <sup>_h_</sup> _y_ <sup>/2</sup> �− _h_ /2 <sup>_a_</sup> _i_ <sup>(</sup> <sup>_x, y_</sup> <sup>)</sup> _~~.~~_ ,en, we orient all the clips such that every clip’s COM is in a fixed quadrant, e.g., lower-left quadrant as shown in Figure 8.,is preprocessing step enables us to find exact clip matching patterns. In Figures 8(a)–8(d), all possible reflections along the axes are indicated, and Figure 8(e) is the canonical representation of all orientations. Note that in case the center of mass is closer to the origin, then a higher order metric can be computed to shift the COM away from the origin. _3.2.2._ _Clip_ _Matching._ Once the clips are reoriented in a canonical way, clip matching step is performed in order to merge exact clips in the given data. In an IC with millions of gates, it is most likely to find identical patterns in the layout, and hence, this step would reduce the amount of data to be processed. Exact clip matching can be performed with pattern matching algorithms or by string comparison if each clip is encoded into a string as proposed in [4]. In this work, exact clip matching is performed in two levels. First, the given data are divided into different bins, where a bin contains all the clips of same area.,en, the clips in each of the bins are iterated through, with new clusters formed whenever there is a mismatch with the existing clusters in the bin; that is, incremental clustering is performed, where two or more clips are clustered together if the pairwise distance between them is zero. To compute the distance between the two clips, each clip is divided into a nonuniform grid where the grid lines are along the boundaries of the polygons on the two clips.,erefore, each grid in the clip is either completely covered by a polygon or completely empty and, hence, can now be represented by a Here, the variables _Ci_ are upper bounded by another variable, _K_, representing the cluster count, i.e., 1 ≤ _Ci_ ≤ _K_, ∀ _i_ - 1 _,_ 2 _,_ . . . _, n_ and _K_ ≥ 1. With this setup, the objective to minimize the cluster count is to minimize _K_ in our formulation. Let _D_ ( _i, j_ ) be the distance between _i_ th clip and _j_ th clip and the constrained distance be _Dc_ . Proposition 1. _Triangle_ _inequality_ _for_ _clustering:_ _given_ _a_ _cluster_ _of_ _clips_ _and_ _the_ _distance_ _constraint_ _Dc,_ _if_ _D_ ( _i, j_ ) ≤ 2 × _Dc,_ ∀ _i, j_ ∈ _same_ _cluster,_ _then_ ∃ _r_ _such_ _that_ _D_ ( _i, r_ ) ≤ _Dc_ - ∀ _i._ ILP Formulation : Objective : _minimize_ _K_ . Constraints : ∀ _i_ ≠ _j_ _Ci_ - _Cj_ ⟺ _i, j_ ∈ same cluster _,_ _Ci_ ≠ _Cj_ ⟺ _i, j_ ∉ same cluster _,_ ∀ _i, j_ - 1 _,_ 2 _,_ . . . _n,_ where _n_ - number of data points. (5) Journal of Electrical and Computer Engineering 7 (a) (b) (e) (c) (d) Figure 8: Reorientation of the clip. (a) (b) 0 0 0 0 <u>0</u> 0 <u>0</u> 0 0 0 0 0 <u>0</u> 0 0 0 0 0 <u>0</u> 0 0 0 0 0 0 <u>0</u> 0 <u>0</u> 0 <u>1</u> <u>1</u> 1 1 0 0 <u>1</u> 1 <u>1</u> 0 <u>0</u> 0 <u>0</u> 0 0 0 <u>0</u> 0 <u>0</u> 0 0 <u>0</u> <u>0</u> <u>0</u> 0 0 0 0 0 1 1 0 0 0 0 0 0 0 (c) (d) Figure 9: Grid data structure to compute distance. 8 Journal of Electrical and Computer Engineering <u>2</u> _<u>Dc</u>_ _Ci_ ≥ _Cj_ +?1 −? ~~?~~ ? - _Sij_ × _H,_ _D_ ( _i, j_ ) <u>2</u> _<u>Dc</u>_ _Ci_ ≤ _Cj_ −?1 −? ~~?~~ ? +?1 − _Sij_ ? × _H._ _D_ ( _i, j_ ) (6) We define a graph where the nodes are clips and the edges between them indicate whether the clips can be clustered together. We define _sij_ as a variable indicating whether two clips _i_ and _j_ are clustered together, i.e., _sij_ - 1 if _i_, _j_ are clustered together and 0 otherwise ∀ _i, j_ . In other words, _Here,_ _H_ _is_ _a_ _huge_ _constant,_ _Ci_ _is_ _integer_ ∀ _i_ _and_ _Sij_ _is_ 0 _or_ 1 ∀ _i, j_ . Bounds: 1 ≤ _Ci_ ≤ _K_ ∀ _i_ ,e above two constraints enforce the condition that if the distance between two clips ( _i_ and _j_ ) _D_ ( _i, j_ ) > 2 _D_ c, then the two clips (nodes) cannot be clustered together, i.e., _Ci_ ≠ _Cj_ . However, the constraints can be ignored whenever the distance constraint is satisfied; that is, the clips can be either clustered together or not.,is is elaborated in the following two cases: _Case_ _1._ If _D_ ( _i, j_ ) > 2 _Dc_ : Constraints : _sij_ - 1 ⟺ _i, j_ ∈ same cluster _,_ _sij_ - 0 ⟺ _i, j_ ∉ same cluster _,_ ∀ _i, j_ - 1 _,_ 2 _,_ . . . _, n._ (8) _Ci_ ≥ _Cj_ + ϵ − _Sij_ × _H,_ _Ci_ ≤ _Cj_ - ϵ +?1 − _Sij_ ? × _H_ ⟹ _Ci_ ≠ _Cj._ Note: Here, _ε_ is a small value. _Case_ _2._ If _D_ ( _i, j_ ) ≤ 2 _Dc_ : Constraints : _Ci_ ≤ _Cj_ or _Ci_ ≥ _Cj_ depending on the value of _Sij_ . (7) ,ese _sij_ variables are given as input (constant value � 0) if two clips cannot be clustered together. Else, they can take either 0 or 1 (variable in the formulation).,is is based on the condition that two clips cannot be clustered together if the distance constraint is not satisfied. However, they can either be clustered or not, if the distance constraint is satisfied. ILP Formulation : Objective : minimize _n_ - (? _i_ < _jtij_ ) Constraints : _tij_ ≤ _sij_ ∀ _i_ < _j,_ (9) _tij_ ≤ 2 − _ski_ - _skj_ ∀ _k_ < _i_ < _j,_ (10) _sij_ + _sjk_ - 2 × _sik_ ≤ 1 _,_ (11) ∀ _i, j_ and _k_ where 1 ≤ _i, j, k_ ≤ _n, i_ ≠ _j_ ≠ _k_ . Here, constraint (11) enforces the condition that if _i_ and _j_ are in the same cluster and _j_ and _k_ are in same the cluster, then _i_ and _k_ has to be in the same cluster. Apart from _sij_, binary variables _tij_ are introduced. Constraint (9) implies that _tij_ must be 0 if _sij_ is 0. Even if _sij_ - 1, if there exists _k_ such that _k_ < _i_ < _j_ and both _ski_ and _skj_ are 1, then _tij_ must be 0 too.,erefore, _tij_ can be 1 if _i_ (< _j_ ) is the node with the smallest index in the cluster defined by _s_ 1 containing the edge _ij_ . As the sum, ? _i,jtij_ is maximized, the edges with _tij_ - 1 will define a spanning forest (i.e., collection of trees) which is a subgraph of the graph defined by the edges with _sij_ - 1. Here, the summation, ? _i,jtij_, indicates the summation of [number of cluster members - 1] of all the clusters. ,erefore, it can be observed that the objective _n_ (? _i_ < _jtij_ ) � _K_, where _K_ is the number of clusters as per the 1st formulation. _Example for CHIP Edge_ . Let there be 9 clips (nodes). Given, a pairwise distance relation amongst these 9 clips, the graph formed (with _sij_ as edges) at an instance during the optimization is shown in Figure 10. According to the constraints, the variables _tij_ take the values 0 or 1. ,e resultant graph with _tij_ as edges is shown in Figure 11. From this figure, the objective value can be computed, which is 9 − (2 + 3 + 1) � 9 − 6 � 3 (�number of clusters). _4.2.1._ _Area-Constrained_ _Clustering._ In the case of areaconstrained clustering, _D_ ( _i, j_ ) � area(XOR( _xi, xj_ )) as Note that a preprocessing step elaborated in Section 3.2.2 is applied to eliminate exactly the matched patterns. Hence, _D_ ( _i, j_ ) will never be zero in this formulation. _4.1.1._ _Area-Constrained_ _Clustering._ In the case of areaconstrained clustering, _D_ ( _i, j_ ) � area(XOR( _xi, xj_ )) as defined in Section 2.2.1 and _Dc_ - _w_ × _h_ × (1 − _a_ ), where _a_ is the area constraint ranging between 0 and 1. Notice that, for _a_ - 1, _Dc_ - 0 ⟹ _Ci_ ≠ _Cj_, ∀ _i, j_ . _4.1.2._ _Edge-Constrained_ _Clustering._ In the case of edgeconstrained clustering, _D_ ( _i, j_ ) � max( _e_ 1 _, e_ 2 _,_ . . .) as defined in Section 2.2.2 and _Dc_ - _e_, where _e_ is the given edge constraint (in nm). _4.2._ _CHIP_ _Edge._ In the 2nd formulation, we describe the clustering problem using edges, where two nodes connected by an edge are clustered together. We define that the objective of the ILP is to minimize the number of clusters. Similar to the previous formulation, we leverage the idea of triangle inequality in order to generate minimal cluster count; that is, the representative clip need not be chosen from the given clips, and therefore, we explore the solution space without unnecessary restrictions while satisfying the given constraints. Journal of Electrical and Computer Engineering 9 1 9 7 (a) (b) 3 6 4 5 8 (c) Figure 10: Example for the CHIP edge formulation (with _sij_ as edges). 9 9 1 9 7 (a) (b) 3 6 4 5 8 (c) Figure 11: Example for the CHIP the area-constraint ranging between 0 and 1. defined in Section 2.2.1 and _Dc_ - _w_ × _h_ × (1 − _a_ ), where _a_ is _4.2.2._ _Edge-Constrained_ _Clustering._ In the case of edgeconstrained clustering, _D_ ( _i, j_ ) � max( _e_ 1 _, e_ 2 _,_ . . .) as defined in Section 2.2.2 and _Dc_ - _e_, where _e_ is the given edge constraint (in nm). 5. Representative Clip Generation In this section, we discuss the framework to generate representative clips for the clusters formed in the clustering step. Firstly, each cluster is checked whether there exists any clip among the cluster members that satisfies the constraints to be a representative clip. If a representative clip does not exist amongst the given clips, then we proceed to the following steps: (1) data preprocessing; (2) MILP formulation; and (3) representative clip generation, and these steps are discussed in the following subsections. _5.1._ _Data_ _Preprocessing._ In this step, we build a grid data structure formed along the edges of polygons of all the clips in the cluster. Tis structure is similar to that used in distance computation in Section 3.2.2, where only two clips are used to form the grid data structure as compared to considering all the clips in the cluster in this step. Using this structure, we can represent each clip in the cluster using a vector where each dimension represents the area covered by a polygon in a particular grid. Each grid data structure is unique with respect to the clusters. _5.2._ _MILP_ _Formulation._ Using the grid data structure, we formulate a mixed integer linear program to find a feasible solution that satisfies the given constraints. Tis Bounds : _crj_ ≤ _Aj_ Figure 11: Example for the CHIP edge formulation (with _tij_ as edges). feasible solution is then used to generate the representative clip. Formulation : Let _c_ 1 _, c_ 2 _, c_ 3 _,_ . . . _, cq_ be a set of clips which belong to a cluster and _cr_ be its representative clip. Terefore, as per the clustering formulations, such that where _Dc_ is the given constraint. ∃ _cr_ _D_ ( _c_ Let the number of grids in the grid data structure of a _r, ci_ ) ≤ _Dc,_ ∀ _i_ - 1 _,_ 2 _,_ . . . _, n_ Let the number of grids in the grid data structure of a particular cluster be _d_ ; that is, the given clips and the representative clip of the cluster can be represented by a _d_ dimensional vector with corresponding areas ( _Aj_ ) as upper bound for each dimension. Let the vector be represented by each dimension. Let the vector be rep _ci_ - - _ci_ 1 _, ci_ 2 _, ci_ 3 _,_ . . . _, cid_ - _,_ (12) _j,_ ∀ _j_ . _ci_ - For a cluster, we wherecalled theeacharea _cij_ ≤vector _Aj,_ ∀ _j_ . For a cluster, we define another _d_ -dimensional vector called the area vector ( _A_ ) where _A_ �[ _A_ 1 _, A_ 2 _, A_ 3 _,_ . . . _, Ad_ ]; that is, each _Ai_ is the area of a grid in the grid data structure. Based on the grid structure formulation, each given clip in the cluster can be represented by either 0 (empty) or _Aj_ written as a linear function. (filled)For ∀ _j_ example,. Terefore,letdistancearea vectorbetweenof _cr_ aandcluster _ci_ can bebe For example, let area vector of a cluster be _A_ - - 100 200 150 50 - and one of the clips ( _c_ 1) be - 100 200 0 50 - ⟹ _D_ ( _cr, c_ 1) � 100 − _cr_ 1+ 200 − _cr_ 2 + _cr_ 3+ Objective : No objective 50 − _cr_ 4. Objective : No objective _D_ - _c_ Constraints : ∀ _i_ _D_ - _cr, ci_ - ≤ _Dc._ (13) 10 Journal of Electrical and Computer Engineering As per the constraints and bounds, each variable ( _crj_ ) takes values from 0 to _Aj_ ∀ _j_ ; that is, it takes continuous values rather than discrete.,ese values are then used to fill the grids using heuristics discussed in the next subsection. Finding feasible solution step can be further sped up by removing redundant dimensions (grids) which are either always empty or always filled in all the clips of a cluster. _5.3._ _Representative_ _Clip_ _Generation._ In this subsection, a heuristic is proposed to generate the representative clip as described in Algorithm 1. From the feasible solution of MILP formulation, we obtain a solution vector of continuous variables, where each dimension is in the range [0, _Aj_ ]. Let the result vector be represented by _cr_ �[ _cr_ 1 _, cr_ 2 _,_ _cr_ 3 _,_ . . . _, crd_ ]. In Algorithm 1, _crl_, _crr_, _crt_, and _crb_ represent the neighboring grids (left, right, top, and bottom, respectively) of a grid in _cr_ . In this algorithm, if _crj_ - _Aj_, we fill the grid entirely. If _crj_ < _Aj_, then the grid has to be filled partially. ,is can either be done along the _x_ -axis or _y_ -axis, until the condition is satisfied. For uniformity, we design a heuristic function (PREFERENCE in Algorithm 1) to capture the local neighborhood and fill the grid accordingly. 6. Experimental Results We implemented our approach using C++ programming language with STL and Boost libraries. We use IBM CPLEX Optimizer [17] to solve the integer linear program. We performed the experiments based on the benchmarks provided by ICCAD 2016 Contest as shown in Table 1. A 1.7 GHz dual-core system with a memory of 8 GB is used to perform the evaluation. Since the results reported in contest and the papers are based on experiments conducted in different platforms (8 Core 2.3 GHz KVM Processors and with 64 GB memory), the runtime reported here is used to get a rough estimation but not to be compared with the previous results. In some test cases, we found the optimization to exceed the time limit of 2 hours as per the contest.,erefore, for practical purposes, linear/binary search is performed for the minimal _k_ value, where each iteration of the optimization is limited by time threshold. Without such time threshold, the optimization may consume more than 2 hours. From Table 2, it can be observed that the ILP formulations, which solve the constrained clustering problem, scale well for the test cases, due to the reduction in data size after exact pattern matching is performed in prior steps. Also, we observe that default case (exact pattern matching) takes majority of the runtime (from Table 3). It can be easily reduced with the parallelization of the exact pattern matching tasks. In future work, the preprocessing steps could be further optimized in order to reduce the bottleneck of our tool and therefore achieve even faster overall runtime for the tool. Based on Table 4, we achieve better results in most of the test cases in terms of the cluster count as compared to previous work. Since we perform a search for the minimal _k_ (1) function CLIPGENERATION ( _cr, c_ ) (2) for each dimension in grid data structure do (3) if _crj_ - _Aj_ then (4) fill the grid completely (5) if _crj_ < _Aj_ then (6) if PREFERENCE ( _l_, _r_, _t_, _b_ ) - _x_ then (7) while fill < _crj_ do (8) fill the grid with horizontal rows of pixels (9) if PREFERENCE ( _l_, _r_, _t_, _b_ ) - _y_ then (10) while fill < _crj_ do (11) fill the grid with vertical rows of pixels (12) function PREFERENCE ( _l_, _r_, _t_, _b_ ) (13) _neighbors_ �[ _crl, crr, crt, crb_ ]; (14) sort the _neighbors_ vector in descending order; (15) if most filled cell is left or right then return _y_ (16) else return _x_ ALGORITHM 1: Representative clip generation. Table 1: Benchmarks from ICCAD 2016. <u>Test</u> <u>case</u> <u>No.</u> <u>of</u> <u>markers</u> <u>No.</u> <u>of</u> <u>polygons</u> <u>Clip</u> <u>size</u> 1 16 77 200 × 200 2 200 845 200 × 200 3 5068 9779 200 × 200 <u>4</u> <u>264824</u> <u>147764</u> <u>250 × 250</u> value, where each iteration of the optimization is limited by time threshold (for practical run times), optimality is not seen in some of the test cases. Also, due to this search, different cluster counts are seen for CHIP node and CHIP edge, which should otherwise return the same optimal cluster count, i.e., both CHIP node and CHIP edge are optimal in theory. It is also observed that CHIP node is better in practice as compared to CHIP edge in both runtime and cluster count. Even though we do not adopt clip shifting, we achieve results that are comparable to the results in [6], which are best in terms of the cluster count so far but employ clip shifting. Also, clip shifting could be easily added to our formulations to further reduce the cluster count. 7. Conclusion In this paper, we introduce the problem of layout pattern classification in the integrated circuit design. With several applications in design for manufacturability flow such as hotspot library generation, hierarchical data storage, and systematic yield optimization, clustering the hotspots optimally with good quality representative hotspots is important. We formally introduce the hotspot clustering problem and briefly discuss the overview of our proposed tool.,en, we introduce the two integer linear program formulations which solve for optimal clusters for the pattern classification problem in IC layout, subject to constraints given by ACC or ECC. Apart from minimizing cluster count, we generate representative clips that best represent the clusters. Journal of Electrical and Computer Engineering 11 Table 2: Constrained clustering—comparison of CHIP v/s others (runtime (s)). GRASP [18] <u>(</u> _<u>Te</u>_ <u>+</u> _<u>Tc</u>_ <u>)</u> Chen et al. [6] <u>(</u> _<u>Tc</u>_ <u>)</u> CHIP node <u>(</u> _<u>Tc</u>_ <u>)</u> CHIP edge <u>(</u> _<u>Tc</u>_ <u>)</u> Reference [1] Test case Constraints <u>(</u> _<u>Te</u>_ <u>+</u> _<u>Tc</u>_ <u>)</u> iClaire [13] <u>(</u> _<u>Tc</u>_ <u>)</u> acc - 0.95 1 _e_ - 4 acc - 0.95 1 _e_ - 4 acc - 0.9 2 _e_ - 4 acc - 0.9 2 _e_ - 4 acc - 0.85 3 _e_ - 8 acc - 0.85 3 _e_ - 8 acc - 0.99 4 _<u>e</u>_ <u>�</u> <u>2</u> acc - 0.99 4 1.808 0.004 0.001 0.01 0.01 0.08 1.324 0.004 0.001 0.03 0.02 0.06 1.168 0.006 0.014 0.05 0.09 2.6 0.874 0.007 0.017 0.19 0.09 0.68 1.232 0.020 0.159 0.15 1.09 28.4 1.311 0.040 0.161 1.04 6.44 25.1 4.740 0.1 2.352 21 15.1 35.3 <u>4.364</u> <u>0310</u> <u>2.428</u> <u>39</u> <u>13.4</u> <u>29.7</u> Table 3: Exact pattern matching (default constraint). iClaire [13] Our approach Test case <u>#Clusters</u> <u>(CC)</u> <u>Runtime,</u> _<u>Te</u>_ <u>(s)</u> <u>#Clusters</u> <u>(CC)</u> <u>Runtime,</u> _<u>Te</u>_ <u>(s)</u> 1 8 0.001 8 0.012 2 26 0.004 26 0.047 3 70 0.060 70 0.760 <u>4</u> <u>72</u> <u>4.170</u> <u>72</u> <u>125.2</u> Table 4: Constrained clustering—comparison of CHIP v/s others (cluster count). <u>Test</u> <u>case</u> <u>Constraints</u> <u>Reference</u> <u>[1]</u> <u>iClaire</u> <u>[13]</u> <u>GRASP</u> <u>[18]</u> <u>Chen</u> <u>et</u> <u>al.</u> <u>[6]</u> <u>CHIP</u> <u>node</u> <u>CHIP</u> <u>edge</u> acc - 0.95 1 _e_ - 4 acc - 0.9 2 _e_ - 4 acc - 0.85 3 _e_ - 8 acc - 0.99 4 _<u>e</u>_ <u>�</u> <u>2</u> 4 3 3 3 3 3 5 5 5 5 5 5 10 7 11 4 4 5 18 18 18 13 18 18 26 13 13 8 8 10 52 37 47 34 39 39 31 24 24 17 21 21 <u>57</u> <u>46</u> <u>52</u> <u>44</u> <u>48</u> <u>48</u> We achieve better results in majority of the test cases as compared to the existing results published in the literature and the reference results reported in ICCAD 2016 contest website. Although the runtime of the ILP is more than the other methods, our main focus in this work is to develop a generic framework to cluster the hotspots in a layout optimally.,ese formulations describe the given problem exactly unlike other works in the literature which try to adapt the existing clustering algorithms to this problem, with some postprocessing steps. In future work, clip shifting can be adopted to the tool flow to increase the solution space and thereby further reduce the cluster count. Data Availability ,e benchmark data used to support the findings of this study are provided by the ICCAD 2016 Contest organizers and can be found in [1].,e program developed to support the findings of this study are available from the corresponding author upon request. Disclosure ,is paper is a revised version of the corresponding author’s thesis [16] submitted to the Graduate College, Iowa State University. Conflicts of Interest ,e authors declare that there are no conflicts of interest regarding the publication of this paper. References [1] R. O. Topaloglu, “ICCAD-2016 CAD contest in pattern classification for integrated circuit design space analysis and benchmark suite,” in _Proceedings_ _of_ _35th_ _International_ _Con-_ _ference on Computer-Aided Design (ICCAD’16)_, pp. 41:1–41:4, ACM, Austin, TX, USA, November 2016. [2] N. Ma, _Automatic IC hotspot classification and detection using_ _pattern-based clustering_, Ph.D. thesis, University of California, Berkeley, CA, USA, 2009. [3] P. Morey-Chaisemartin and F. Brault, “Is it time to switch to oasis. mask?,” _Solid State Technology_, vol. 58, no. 5, pp. 33–38, 2015. [4] Y.-T. Yu, G.-H. Lin, I. H.-R. Jiang, and C. Chiang, “Machine learning-based hotspot detection using topological classification and critical feature extraction,” _IEEE_ _Transactions_ _on_ _Computer-Aided_ _Design_ _of_ _Integrated_ _Circuits_ _and_ _Systems_, vol. 34, no. 3, pp. 460–470, 2015. [5] P. H. Wu, C. W. Chen, C. R. Wu, and T. Y. Ho, “Triangle based process hotspot classification with dummification in euvl,” in _Proceedings of Technical Papers of 2014 International_ _Symposium_ _on_ _VLSI_ _Design,_ _Automation_ _and_ _Test_, pp. 1–4, Hsinchu, Taiwan, April 2014. 12 Journal of Electrical and Computer Engineering [6] K.-J. Chen, Y.-K. Chuang, B.-Y. Yu, and S.-Y. Fang, “Mini mizing cluster number with clip shifting in hotspot pattern classification,” in _Proceedings_ _of_ _the_ _54th_ _Annual_ _Design_ _Automation Conference 2017 (DAC’17)_, pp. 63:1–63:6, ACM, Austin, TX, USA, June 2017. [7] J. W. Park, R. Todd, and X. Song, “Geometric pattern match using edge driven dissected rectangles and vector space,” _IEEE_ _Transactions on Computer-Aided Design of Integrated Circuits_ _and_ _Systems_, vol. 35, no. 12, pp. 2046–2055, 2016. [8] F. Yang, S. Sinha, C. C. Chiang, X. Zeng, and D. Zhou, “Improved tangent space-based distance metric for lithographic hotspot classification,” _IEEE_ _Transactions_ _on_ _Computer-Aided_ _Design_ _of_ _Integrated_ _Circuits_ _and_ _Systems_, vol. 36, no. 9, pp. 1545–1556, 2017. [9] D. Ding, X. Wu, J. Ghosh, and D. Z. Pan, “Machine learning based lithographic hotspot detection with critical-feature extraction and classification,” in _Proceedings_ _of_ _2009_ _IEEE_ _International_ _Conference_ _on_ _IC_ _Design_ _and_ _Technology_, pp. 219–222, Austin, TX, USA, May 2009. [10] J.-Y. Wuu, F. G. Pikus, A. Torres, and M. Marek-Sadowska, “Rapid layout pattern classification,” in _Proceedings_ _of_ _16th_ _Asia_ _and_ _South_ _Pacific_ _Design_ _Automation_ _Conference_ _(ASPDAC’11)_, pp. 781–786, IEEE Press, Yokohama, Japan, January 2011. [11] Y.-T. Yu, Y.-C. Chan, S. Sinha, I. H.-R. Jiang, and C. Chiang, “Accurate process-hotspot detection using critical design rule extraction,” in _Proceedings of 49th Annual Design Automation_ _Conference_ _(DAC’12)_, pp. 1167–1172, ACM, San Francisco, CA, USA, June 2012. [12] Y.-T. Yu, G.-H. Lin, I. H.-R. Jiang, and C. Chiang, “Machine learning-based hotspot detection using topological classification and critical feature extraction,” in _Proceedings_ _of_ _50th_ _Annual Design Automation Conference (DAC’13)_, pp. 67:1–67: 6, ACM, Austin, TX, USA, May 2013. [13] W.-C. Chang, I. H.-R. Jiang, Y.-T. Yu, and W.-F. Liu, “iClaire: a fast and general layout pattern classification algorithm,” in _Proceedings of the 54th Annual Design Automation Conference_ _2017_ _(DAC’17)_, pp. 64:1–64:6, ACM, Austin, TX, USA, June 2017. [14] W. C. J. Tam and R. D. Blanton, “LASIC: layout analysis for systematic ic-defect identification using clustering,” _IEEE_ _Transactions on Computer-Aided Design of Integrated Circuits_ _and_ _Systems_, vol. 34, no. 8, pp. 1278–1290, 2015. [15] S. V. Dongen, _Graph_ _clustering_ _by_ _flow_ _simulation_, Ph.D. thesis, University of Utrecht, Utrecht, Netherlands, 2000. [16] R. R. Takkala, “CHIP: clustering hotspots in layout using integer programming,” _Creative_ _Components_, vol. 33, 2018, [https://lib.dr.iastate.edu/creativecomponents/33.](https://lib.dr.iastate.edu/creativecomponents/33) [17] IBM CPLEX, _Ibm_ _Ilog_ _Cplex_ _Optimizer_, [http://www-01.ibm.](http://www-01.ibm.com/software/integration/optimization/cplex-optimizer/) [com/software/integration/optimization/cplex-optimizer/.](http://www-01.ibm.com/software/integration/optimization/cplex-optimizer/) [18] M. Woo, S. Kim, and S. Kang, “GRASP based metaheuristics for layout pattern classification,” in _Proceedings_ _of_ _36th_ _International_ _Conference_ _on_ _Computer-Aided_ _Design_, pp. 512–518, IEEE Press, Irvine, CA, USA, November 2017.

섹션 본문

섹션 본문이 없습니다.

참고문헌 4건

  1. LASIC: Layout Analysis for Systematic IC-Defect Identification Using Clustering IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems · Institute of Electrical and Electronics Engineers · 2015 10.1109/tcad.2015.2406854
  2. Machine-Learning-Based Hotspot Detection Using Topological Classification and Critical Feature Extraction IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems · Institute of Electrical and Electronics Engineers · 2015 10.1109/tcad.2014.2387858
  3. Geometric Pattern Match Using Edge Driven Dissected Rectangles and Vector Space IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems · Institute of Electrical and Electronics Engineers · 2016 10.1109/tcad.2016.2535908
  4. Improved Tangent Space-Based Distance Metric for Lithographic Hotspot Classification IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems · Institute of Electrical and Electronics Engineers · 2016 10.1109/tcad.2016.2638440