Methods, systems, devices, and media for generating a layout data format file
By employing reverse rotation and region partitioning methods, a large-area two-dimensional periodic micro/nano structure layout is generated, solving the problems of mesh capture distortion and computational resource overload, and achieving efficient, low-occupancy, and high-fidelity layout generation.
Patent Information
- Application Number
- CN202611019745.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-09
- Publication Date
- 2026-11-27
AI Technical Summary
Existing technologies suffer from problems such as mesh capture distortion, critical dimension deviation, excessive Boolean operation load, high memory consumption, and excessively large output file size when generating large-area two-dimensional periodic micro-nano structure layouts, making it difficult to meet the needs of industrial mass production and rapid design iteration.
By performing a reverse rotation on the global shielded boundary, the main domain and edge domain are divided, and layout data is generated in orthogonal coordinate space. The main domain layout data is generated in batches using array instantiation, and the edge domain layout data is generated one by one. A forward rotation is performed during encapsulation and output to avoid directly modifying the vertex coordinates of the cell pattern.
It significantly reduces computation time and memory usage, decreases output file size, maintains layout fidelity and computational efficiency, and is suitable for generating layouts of large-area, high-density two-dimensional periodic structures.
Smart Images

Figure CN123177014A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of micro / nano structure layout data generation technology, and more particularly to a method, system, device, and medium for generating layout data format files such as GDSII or OASIS. This invention is particularly applicable to the generation of layout files for large-area micro / nano optical components containing a large number of subwavelength periodic structures, such as superlenses, metasurfaces, optical waveguides, diffraction gratings, and beam-splitting diffraction optical components. Background Technology
[0002] In the patterning process of superlenses, metasurfaces, optical waveguides, diffraction gratings, and diffractive optical components, it is usually necessary to first convert the design pattern into a layout data format file such as GDSII or OASIS for reading by photomask fabrication equipment or electron beam writing equipment, and then further transfer the micro / nano structure to the target substrate. For example... Figure 1 As shown, existing layout generation techniques typically first define polygonal geometric patterns using vertex coordinates to construct basic units. Then, these basic units are spread out over a large area according to array parameters such as the number of rows and columns and periodic spacing of a one-dimensional raster or two-dimensional array. If the component design requires the pattern to have a specific tilt angle, existing techniques generally perform rotation processing on all generated units at the target angle. Subsequently, a geometric clipping algorithm or layer logic operation is used to perform Boolean intersection clipping between the periodic structure and the target global masking boundary to remove polygonal patterns that exceed the global masking boundary.
[0003] The aforementioned "direct rotation and global Boolean clipping" process has significant technical limitations when handling large-area two-dimensional periodic micro / nano structures. First, when the periodic lattice participates in Boolean operations on tilted polygons due to non-rectangular rotation, a large number of non-mesh or irrational coordinates are generated. Limited by the database unit grid points of the GDSII or OASIS archives, the system snaps the vertex coordinates to the nearest grid point, resulting in a grid snapping effect. This quantization error leads to unpredictable deformation of the cell pattern and causes critical dimension deviations. For example, as... Figure 2 As shown, for a two-dimensional periodic grating unit with a design side length of 50nm, the existing technology may cause the actual side length in the output file to shift to 50.7nm after a 22.5° counterclockwise rotation (accuracy 1nm), which seriously impairs the pattern fidelity and optical performance.
[0004] Secondly, existing technologies often employ a flattening logic, treating each micro-nano unit in the array as an independent polygon. When the component area scales up to the inch level, the number of subwavelength structures can reach hundreds of millions or even billions, requiring the system to perform Boolean intersection clipping on each unit individually. This global Boolean clipping method leads to a dramatic increase in CPU load, random access memory usage, and output file size, and may cause the layout generation program to crash or the photomask writing device to become unreadable. Figures 3A-3C As shown, when generating a two-dimensional periodic raster OASIS format file using existing technology, the memory load and file size increase linearly with the number of cells, while the computation time exhibits a significant non-linear exponential increase. In the two-dimensional periodic raster OASIS format file, the period in both the x and y directions is 1μm, the cell pattern is a square, the fill ratio is 0.5 (i.e., the side length of the square is 0.5μm), and there is no rotation. The file size directly depends on the total number of geometric vertices of the graphic and the degree of hierarchical design; memory usage is limited by the scale of data flattening in the generation program, the complexity of layout Boolean operations, and the cache configuration during multi-threaded parallel processing; while the computation time mainly depends on the number of object conversions between the high-level interpretation language environment and the underlying compilation core, the vertex intersection calculation of geometric Boolean operations, and the computation time for hierarchical transformation of the data structure, vertex segmentation, or feature recognition and compression encoding of repetitive geometric shapes when exporting the physical layout to a specific file format. For the task of generating a two-dimensional periodic grating with 40 million units, the computation time has reached 3.35 hours, and the RAM usage and file size have climbed to 35 GB and 152 MB, respectively. Extrapolating to inch-scale components with subwavelength structures in the hundreds of millions, if we use billions (… Taking a single cell as an example, its RAM requirement will balloon to approximately 900 GB, and the output file size will reach 3.9 GB. Such data scales often exceed the processing limits of typical commercial workstations or backend photomask writing devices, easily leading to hardware crashes or read errors. Limited by the aforementioned non-linear computational complexity, the estimated time to generate a single layout file will be several weeks. The above data clearly demonstrates that existing technologies have significant technical bottlenecks in computational efficiency and hardware resource management when processing large-area, high-density periodic structures, making it difficult to meet the demands of industrial mass production and rapid design iteration.
[0005] Therefore, how to meet the target rotation angle and boundary trimming requirements while avoiding critical dimension distortion caused by rotation Boolean trimming, and significantly reduce the computation time, memory usage and output file size in the process of generating large-area two-dimensional periodic micro-nano structure layouts, has become a technical problem that urgently needs to be solved in this field. Summary of the Invention
[0006] The purpose of this invention is to provide a method, system, device, and medium for generating layout data format files, so as to at least solve the technical problems caused by existing direct rotation and global Boolean clipping methods in generating large-area rotating periodic micro-nano structure layouts, such as mesh capture distortion, critical size deviation, excessive Boolean operation load, excessive memory consumption, and excessively large output file size.
[0007] To achieve the above objectives, the present invention provides a method for generating layout data format archives. The method includes: acquiring a cell pattern, a period parameter, a global shielding boundary, and a target rotation angle of the layout to be generated; performing a reverse rotation process on the global shielding boundary in the opposite direction to the target rotation angle, so that the cell pattern remains unrotated in the orthogonal coordinate space; based on the reverse-rotated global shielding boundary, generating a contraction shielding boundary and an expansion shielding boundary according to an offset distance related to the period parameter; dividing the area within the contraction shielding boundary into a main domain, and dividing the area within the expansion shielding boundary and outside the contraction shielding boundary into an edge domain; generating an orthogonal coordinate grid covering the global shielding boundary, wherein the grid spacing of the orthogonal coordinate grid corresponds to the period parameter, and the orthogonal coordinate... The grid position is used to determine the placement of the cell pattern; for grid positions located within the main domain, the main domain layout data of the cell pattern is generated in batches using array instantiation; for grid positions located within the edge domain, the cell pattern is generated one by one in the orthogonal coordinate space, and the cell pattern and the globally shielded boundary after inverse rotation are subjected to Boolean clipping operation to generate edge domain layout data; and the main domain layout data and the edge domain layout data are encapsulated into a top-level container unit, and the top-level container unit is subjected to forward rotation processing corresponding to the target rotation angle.
[0008] In one alternative implementation, the layout data file is a GDSII format file or an OASIS format file. The cell pattern can be a subwavelength micro / nano structure unit used to form metasurfaces, optical waveguides, diffraction gratings, or beam-splitting diffraction optical components. The cell pattern can include a single polygonal pattern or a matrix pattern composed of multiple polygonal patterns.
[0009] In one optional implementation, performing a reverse rotation process on the global shielding boundary that is opposite to the direction of the target rotation angle includes: translating the global shielding boundary to the global origin and rotating the global shielding boundary with the negative value of the target rotation angle; after performing a forward rotation process on the top-level container unit corresponding to the target rotation angle, the process further includes: translating the top-level container unit back to the starting position of the global shielding boundary in the global coordinate system.
[0010] In one optional embodiment, generating the contracted shielding boundary and the expanded shielding boundary according to an offset distance related to the period parameter includes: offsetting the reverse-rotated global shielding boundary inward with the offset distance to generate the contracted shielding boundary, and offsetting the reverse-rotated global shielding boundary outward with the offset distance to generate the expanded shielding boundary. The offset distance is one to two times the synthesis period; the synthesis period = , where a is the period in the first direction and b is the period in the second direction.
[0011] In one optional implementation, generating an orthogonal coordinate grid covering the extended shielding boundary includes: generating a two-dimensional orthogonal coordinate grid of a bounding rectangle covering the global shielding boundary. The grid spacing of the orthogonal coordinate grid in a first direction is equal to the period of the first direction, and the grid spacing of the orthogonal coordinate grid in a second direction is equal to the period of the second direction.
[0012] In one optional implementation, the array instantiation method includes GDS Repetition array method, OASIS Repetition array method, or Reference array reference method. When generating main domain layout data using array instantiation for grid positions located within the main domain, the main domain layout data includes cell definitions of cell patterns and array parameters used to describe multiple grid positions, without needing to store polygon vertices separately for each main domain cell pattern.
[0013] In one alternative implementation, the Boolean clipping operation is a Boolean AND operation used to remove portions of the cell pattern within the edge domain that extend beyond the globally masked boundary after inverse rotation. Because this Boolean clipping operation occurs in orthogonal coordinate space, the original vertices of the cell pattern can maintain horizontal or vertical relationships, thereby avoiding critical dimension distortion caused by skewed floating-point coordinate snapping.
[0014] This invention also provides a system for generating layout data format archives. The system includes an information acquisition module for acquiring cell patterns, periodic parameters, global shielding boundaries, and target rotation angles of the layout to be generated; the cell patterns are used to form periodic patterns according to the periodic parameters; a reverse rotation module for performing a reverse rotation process on the global shielding boundaries in the opposite direction to the target rotation angle, so that the cell patterns remain unrotated in orthogonal coordinate space; a region division module for generating shrinking shielding boundaries and expanding shielding boundaries based on the globally shielding boundaries after reverse rotation, according to offset distances related to the periodic parameters; dividing the region within the shrinking shielding boundaries into a main domain, and dividing the region within the expanding shielding boundaries but outside the shrinking shielding boundaries into edge domains; and a mesh generation module for generating an orthogonal coordinate mesh covering the expanding shielding boundaries. The grid spacing of the orthogonal coordinate grid corresponds to the periodic parameter, and the grid position of the orthogonal coordinate grid is used to determine the placement position of the cell pattern; the main domain graphics generation module is used to generate the main domain layout data of the cell pattern by instantiating the grid positions located within the main domain using an array instantiation method; the edge domain graphics generation module is used to generate the cell pattern in the orthogonal coordinate space for the grid positions located within the edge domain, and perform a Boolean clipping operation on the cell pattern and the globally shielded boundary after inverse rotation to generate edge domain layout data; and the encapsulation output module is used to encapsulate the main domain layout data and the edge domain layout data into a top-level container unit, and perform a forward rotation processing corresponding to the target rotation angle on the top-level container unit to generate the layout data format file.
[0015] The present invention also provides an electronic device, which includes a processor and a memory, the memory storing a computer program that, when executed by the processor, implements the above-described method.
[0016] The present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the above-described method.
[0017] Compared with the prior art, the present invention has at least the following beneficial effects: First, this invention does not directly rotate the cell pattern and then perform Boolean clipping on the rotated cell pattern. Instead, it performs a reverse rotation on the global shielding boundary, opposite to the target rotation angle, and keeps the cell pattern unchanged in orthogonal coordinate space. This ensures that the critical dimensions of the cell pattern do not participate in the tilted floating-point coordinate calculations during the Boolean clipping stage, thus avoiding geometric quantization errors caused by database unit grid point capture at the source. Therefore, after finally resetting through a forward rotation of the top-level container cell, the output layout still meets the target rotation angle requirements while maintaining the critical dimensions of the cell pattern without distortion.
[0018] Secondly, this invention creates shrinking and expanding shielding boundaries by offsetting the globally shielded boundary inward and outward after inverse rotation, thereby dividing the generated region into a main domain and an edge domain. Cell patterns within the main domain do not require Boolean clipping because they are far enough from the boundary, while cell patterns within the edge domain primarily cover a small number of units that may intersect the boundary. Thus, Boolean clipping operations are confined to the edge domain, allowing the system's computing power to focus on the graphics that truly need clipping, rather than performing meaningless clipping on a massive number of internally intact units, significantly reducing computation time and memory usage.
[0019] Furthermore, this invention generates layout data for the main domain using GDS Repetition, OASIS Repetition, or Reference array references. The main domain layout data only needs to store the cell definitions and array parameters of the cell patterns, without needing to store the complete polygon vertices of each main domain cell pattern. Therefore, this invention can retain the high compression ratio capability of the layout data format itself, changing the growth relationship between the output file size and the total number of cells from a linear growth under the traditional flattening logic to a lower data growth pattern, which is particularly suitable for large-area, high-density two-dimensional periodic structures.
[0020] Finally, in the encapsulation and output stage, this invention encapsulates the main domain layout data and the edge domain layout data into a top-level container unit, and uses the forward rotation corresponding to the target rotation angle as the metadata transformation of the top-level container unit reference object. This process ensures that the final layout meets the user's required rotation angle, while avoiding direct modification of the original polygon vertices of the cell pattern, thus achieving a synergistic effect between layout fidelity, computational efficiency, memory usage, and file compression. Attached Figure Description
[0021] Figure 1 Flowchart for generating existing technology landscape data format archives.
[0022] Figure 2 This is a schematic diagram illustrating the dimensional distortion produced by existing techniques when rotating a two-dimensional periodic pattern.
[0023] Figures 3A-3C This graph shows the evolution trend of processing time, random access memory usage, and output file size as the number of units increases for existing technologies.
[0024] Figure 4 This is a schematic diagram illustrating the steps of a method for generating a layout data format file according to an embodiment of the present invention.
[0025] Figure 5 This is a schematic diagram of a two-dimensional periodic pattern generated according to an embodiment of the present invention.
[0026] Figures 6A-6C This is a graph showing the evolution of processing time, random access memory usage, and output file size as the number of units increases in this embodiment.
[0027] Figure 7 This is a block diagram of a system for generating layout data format archives provided in an embodiment of the present invention.
[0028] Figure 8 This is a schematic diagram of the target layout in Embodiment 1 of the present invention.
[0029] Figures 9A-9C This is a schematic diagram of the layout generation process in Embodiment 1 of the present invention.
[0030] Figure 10 This is a schematic diagram of the target layout in Embodiment 2 of the present invention.
[0031] Figure 11A-11C This is a schematic diagram of the layout generation process in Embodiment 2 of the present invention. Detailed Implementation
[0032] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0033] The following is an explanation of terms related to this invention: Pattern data format file: refers to a data file used to record the geometric information of micro and nano patterns and can be read by photomask writing devices, electron beam writing devices or related patterning processing devices, preferably GDSII or OASIS format files.
[0034] Cell pattern: refers to the basic pattern unit that is repeatedly placed according to periodic parameters to form a periodic pattern. Cell pattern can be a single rectangle, square, polygon, curved shape or a combination thereof, or it can be an array substructure composed of multiple polygons.
[0035] Global masking boundary: refers to the geometric boundary that limits the effective generation area of the target map. The global masking boundary can be a rectangle, circle, polygon, or other arbitrary closed boundary, used to define the area where periodic patterns are preserved.
[0036] Target rotation angle: This refers to the rotation angle that the cell pattern in the final layout should exhibit relative to the global coordinate system. The target rotation angle is typically a non-right-angle rotation angle, such as 10°, 30°, 45°, or other angles. Since non-right-angle rotations are more likely to trigger the mesh snapping effect in existing technologies, the solution of this invention can more clearly demonstrate the effect of eliminating critical dimension distortion in this scenario.
[0037] Reverse rotation processing: This refers to performing a rotation on the global masking boundary that is opposite to the direction of the target rotation angle, rather than rotating the cell pattern by the target angle. For example, when the target rotation angle is 10° counterclockwise, reverse rotation processing can be performed by rotating the global masking boundary 10° clockwise.
[0038] Orthogonal coordinate space: This refers to the coordinate space in which the cell pattern remains unrotated. In this space, the horizontal edges, vertical edges, or orthogonal skeleton of the cell pattern do not transform into skewed floating-point coordinates due to the target rotation angle, thus avoiding mesh snapping errors caused by rotation Boolean clipping.
[0039] Shrinking Shield Boundary: This refers to the boundary obtained by offsetting the global shield boundary inwards in parallel after inverse rotation. Expanding Shield Boundary: This refers to the boundary obtained by offsetting the global shield boundary inwards in parallel. Body Domain: This refers to the area within the shrinking shield boundary where cell patterns can be safely and completely placed. Edge Domain: This refers to the area within the expanding shield boundary but outside the shrinking shield boundary, where cell patterns may need to be cropped.
[0040] Array instantiation: This refers to using Repetition, Reference, or similar array reference mechanisms in layout data formats such as GDSII or OASIS to express multiple repeated cell patterns with a single cell pattern definition and array parameters, without having to flatten each repeated cell into an independent polygon.
[0041] like Figure 4 As shown, this embodiment of the invention provides a method for generating map data format archives, including the following steps: S1, obtain the cell pattern, periodic parameters, global masking boundary, and target rotation angle of the layout to be generated.
[0042] S2, perform a reverse rotation process on the global shielding boundary that is opposite to the direction of the target rotation angle, so that the cell pattern remains unrotated in the orthogonal coordinate space.
[0043] S3, based on the globally shielded boundary after inverse rotation, a contraction shielded boundary and an expansion shielded boundary are generated according to the offset distance related to the periodic parameter. The area within the contraction shielded boundary is divided into the main domain, and the area within the expansion shielded boundary but outside the contraction shielded boundary is divided into the edge domain. The main domain corresponds to the safe area far from the global shielded boundary, and the cell patterns within the main domain can be completely preserved without clipping; the edge domain corresponds to the clipping area that may intersect with the global shielded boundary, and the cell patterns within the edge domain need to undergo high-precision Boolean clipping.
[0044] S4, Generate an orthogonal coordinate grid that covers the global shielding boundary. The grid spacing of the orthogonal coordinate grid corresponds to the period parameter. The grid position of the orthogonal coordinate grid is used to determine the placement position of the cell pattern.
[0045] S5. For grid positions located within the main domain, the main domain layout data of the cell patterns is generated in batches using array instantiation. For grid positions located within the edge domain, the cell patterns are generated one by one in the orthogonal coordinate space, and the cell patterns are subjected to Boolean clipping operations with the globally shielded boundary after inverse rotation to generate edge domain layout data.
[0046] S6, the main domain layout data and the edge domain layout data are encapsulated into a top-level container unit, and the top-level container unit is subjected to a forward rotation process corresponding to the target rotation angle.
[0047] The above method can be executed by a computer program to generate layout data format files. The method first obtains the cell pattern, periodic parameters, global masking boundary, and target rotation angle of the layout to be generated. The cell pattern is used to form a periodic pattern according to the periodic parameters, which can include a first-direction period and a second-direction period, such as the cell spacing (row and column spacing) of a two-dimensional periodic pattern in the X and Y directions. The global masking boundary is used to define the final retained area of the periodic pattern, and the target rotation angle is used to define the overall tilt angle of the final layout.
[0048] After acquiring the above information, the system translates the global shielding boundary to the global origin and performs a reverse rotation on the global shielding boundary, opposite to the direction of the target rotation angle. Since it is the global shielding boundary, not the cell pattern, that is rotated, the cell pattern remains in orthogonal coordinate space during subsequent clipping. Therefore, the vertex coordinates of the cell pattern will not be significantly transformed into non-mesh or irrational coordinates due to the target rotation angle, thus avoiding mesh snapping distortion. Translating the global shielding boundary to the global origin and then rotating it with a negative value of the target rotation angle simplifies the coordinate transformation relationship and makes the final forward rotation and translation reset easier to implement.
[0049] Subsequently, the system performs morphological offset processing based on the globally shielded boundary after inverse rotation. Specifically, the system offsets the globally shielded boundary inward by an offset distance to generate a contracted shielded boundary; and offsets it outward by an offset distance to generate an expanded shielded boundary. The offset distance is related to the period parameter, and can be, for example, one to two times the synthesis period, preferably 1.5 times the synthesis period. The period parameter includes a first direction period a and a second direction period b, wherein the synthesis period = The offset distances in the first and second directions can be the same. Considering that the target rotation angle may be large, and the global shielding boundary may not always be rectangular but could be an arbitrary polygon, to prevent the edge domain space from becoming too small after offset, the offset distance in this invention is set to one to two times the synthesis period, rather than one to two times the period in the first and second directions. The offset distance is related to the period parameter, ensuring that the cell pattern in the main domain falls completely within the global shielding boundary and that the edge domain covers all cell patterns that may intersect the boundary. The offset distance is preferably 1.5 times the synthesis period, which is an implementation method that strikes a balance between covering edge clipping units and reducing the computational load of the edge domain.
[0050] After forming the shrinking and expanding shielding boundaries, the system divides the generated region into a main domain and an edge domain based on these boundaries. The region within the shrinking shielding boundary is designated as the main domain, while the mesh locations within the expanding shielding boundary but outside the shrinking shielding boundary are designated as the edge domain. Because the shrinking shielding boundary is offset inwards relative to the inversely rotated global shielding boundary, the cell patterns in the main domain can remain completely within the effective boundary without requiring Boolean clipping. Because the expanding shielding boundary is offset outwards relative to the inversely rotated global shielding boundary, the edge domain can cover cell patterns that might intersect with the global shielding boundary, thus ensuring that patterns near the boundary are not missed.
[0051] The system further generates an orthogonal coordinate grid that covers the expanded shielding boundary. This orthogonal coordinate grid can cover the circumscribed rectangle of the globally shielded boundary after its inverse rotation. The grid spacing of the orthogonal coordinate grid corresponds to the period parameter. When the period parameter includes a first-direction period and a second-direction period, the grid spacing in the first direction can be equal to the first-direction period, and the grid spacing in the second direction can be equal to the second-direction period. Each grid position in the orthogonal coordinate grid represents a candidate placement position for the cell pattern.
[0052] For grid locations within the main domain, the system does not generate independent polygons for each cell pattern, nor does it perform Boolean clipping on the cell pattern. Instead, it uses array instantiation to batch generate the main domain layout data. The array instantiation methods include GDS Repetition array method, OASIS Repetition array method, or Reference array reference method. When generating the main domain layout data for grid locations within the main domain using the array instantiation method, the main domain layout data includes the cell pattern's unit definition and array parameters describing multiple grid locations, thus forming an array instantiation unit. Through GDS Repetition, OASIS Repetition, or Reference array reference methods, the main domain layout data only needs to record the cell pattern definition and array parameters, thereby avoiding flattening a massive number of internal units into independent polygons. Since the main domain typically occupies the majority of a large-area periodic pattern, this processing can significantly reduce the amount of polygon vertex data and the output file size.
[0053] For grid locations within the edge domain, the system generates edge domain cell patterns one by one in orthogonal coordinate space, and performs a Boolean clipping operation on the edge domain cell patterns and the inversely rotated global shielding boundary to generate edge domain layout data. Preferably, the Boolean clipping operation is a Boolean AND operation, used to retain the portion within the inversely rotated global shielding boundary and remove the portion exceeding the inversely rotated global shielding boundary. Since the edge domain cell patterns remain unrotated, this Boolean clipping operation is performed in orthogonal coordinate space, thus maintaining the critical dimensional accuracy of the cell patterns at the boundary clipping region.
[0054] After the main domain and edge domain layout data are generated, the system encapsulates them into a top-level container unit and performs a forward rotation on the top-level container unit corresponding to the target rotation angle. This forward rotation is a metadata transformation of the referenced object of the top-level container unit, rather than performing rotation floating-point operations on the original polygon vertices of the cell pattern. Subsequently, the system can translate the top-level container unit back to the starting position of the global shield boundary in the global coordinate system, generating the final layout and the corresponding GDSII or OASIS format file. Using forward rotation as a metadata transformation of the referenced object avoids destructive rotation operations on the vertex coordinates of the cell pattern while meeting the final angle requirements; translation and reset return the final layout to the predetermined position in the global coordinate system.
[0055] In the above method, the periodic pattern can be a two-dimensional periodic pattern, and the cell pattern can include a polygonal pattern or a matrix pattern composed of multiple polygonal patterns. This invention is particularly advantageous when the target rotation angle is a non-right-angle rotation angle, because non-right-angle rotation is more likely to induce tilt coordinate capture and critical dimension distortion in existing technologies. Figure 5 As shown, the solution adopted in the embodiment of the present invention, and Figure 2 After performing the same rotation, there is no dimensional distortion because the individual cell pattern does not participate in the rotation.
[0056] In this embodiment of the invention, the main field of directly calling syntax structures such as Reference and Repetition is separated from the edge field for Boolean trimming "AND". This significantly reduces the computational resource consumption of repetitive geometric shapes, while effectively reducing the scale of data flattening and the complexity of Boolean operations, thereby achieving the technical effects of shortening processing time, saving memory usage, and reducing file size. Figures 6A-6C As shown, for Figures 3A-3C For the same two-dimensional periodic raster OASIS format file, computation time and memory usage show a stable linear growth with increasing cell count, while the output file size exhibits excellent sublinear growth characteristics. Specifically, when the cell count reaches forty million ( When processing billions of data points, the solution of this invention can complete the generation task in just 3.98 seconds, with RAM usage and file size of only 2.46 GB and 0.15 MB respectively, demonstrating performance far superior to existing technologies. Furthermore, for billions of data points... Testing was conducted on a large-scale layout of 100 units. Theoretical calculations showed that using existing global Boolean operations would lead to a non-linear increase in computational complexity, potentially resulting in a lead time of several weeks. More importantly, the theoretical memory requirement would balloon to approximately 900 GB, far exceeding the hardware limits of typical commercial computing devices. This would cause traditional solutions to easily fail or crash due to resource exhaustion when handling large-area, high-density layouts. In contrast, the solution of this invention completes the generation task in just 106 seconds, while maintaining stable RAM usage at approximately 50.10 GB. This invention not only achieves a leap in instruction cycles but, more importantly, transforms the generation task of large-area layouts from a "theoretical bottleneck that hardware cannot handle" into a "routine task that can be executed by a general workstation," significantly improving the practicality and reliability of industrial production.
[0057] like Figure 7 As shown, this embodiment of the invention also provides a system for generating map data format archives, including an information acquisition module, a reverse rotation module, a region division module, a grid generation module, a main domain graphic generation module, an edge domain graphic generation module, and an encapsulation output module.
[0058] The information acquisition module acquires the cell patterns, periodic parameters, global shielding boundaries, and target rotation angles of the layout to be generated. The reverse rotation module performs a reverse rotation on the global shielding boundaries, opposite to the target rotation angle, ensuring the cell patterns remain unrotated in the orthogonal coordinate space. The region division module generates shrinking and expanding shielding boundaries based on the reverse-rotated global shielding boundaries and offset distances related to the periodic parameters. Regions within the shrinking shielding boundaries are divided into main domains, and regions within the expanding shielding boundaries but outside the shrinking shielding boundaries are divided into edge domains. The mesh generation module generates an orthogonal coordinate mesh covering the global shielding boundaries. The main domain graphic generation module generates main domain layout data for each grid position within the main domain using array instantiation. The edge domain generation module generates edge domain cell patterns one by one in the orthogonal coordinate space for each grid position within the edge domain, and performs a Boolean clipping operation between the edge domain cell patterns and the reverse-rotated global shielding boundaries to generate edge domain layout data. The encapsulation output module is used to encapsulate the main domain layout data and the edge domain layout data into a top-level container unit, and perform forward rotation processing on the top-level container unit corresponding to the target rotation angle to generate a layout data format file.
[0059] This invention also provides an electronic device, which includes a processor and a memory. The memory stores a computer program that, when executed by the processor, implements the method described above for generating layout data format files. The processor may be a central processing unit, a graphics processing unit, a digital signal processor, an application-specific integrated circuit, a field-programmable gate array, or a combination thereof; the memory may be a random access memory, a read-only memory, a solid-state drive, a magnetic disk, an optical disk, or other non-transitory storage media.
[0060] This invention also provides a computer-readable storage medium storing a computer program thereon. When executed by a processor, the computer program implements the method described above for generating layout data format files. This storage medium can be a non-transitory computer-readable storage medium.
[0061] Example 1 like Figure 8 As shown, the target layout in this embodiment is a two-dimensional optical waveguide grating applied to an optical waveguide. The overall size of the two-dimensional optical waveguide grating is 25mm × 10mm, and its cell pattern is a rectangular unit pattern. The period parameters of the rectangular unit pattern are 0.8μm in the X direction and 0.4μm in the Y direction, the size of the rectangular unit pattern is 0.4μm × 0.2μm, the target rotation angle is 10° counterclockwise, and the layout generation accuracy is 1nm.
[0062] like Figures 9A-9C As shown, the layout generation process in this embodiment is as follows: (1) Set global boundary: Set the global shielding boundary as a rectangle of 25mm×10mm, with the center point located at (20mm,1mm) in the global coordinate system.
[0063] (2) Define cell pattern: Set a rectangle with a period of 0.8μm x 0.4μm and a side length of 0.4μm x 0.2μm as the cell pattern.
[0064] (3) Reverse rotation of the boundary: The target pattern angle is rotated 10 degrees counterclockwise. Therefore, the global shielding boundary is first translated to the origin (0,0) and rotated 10 degrees clockwise. At this time, the rectangular unit pattern is still in the orthogonal coordinate space, instead of participating in Boolean clipping as a tilted polygon.
[0065] (4) Region division (main domain and edge domain): The global shielding boundary is shrunk inward and expanded outward by 1.5 times the synthesis period (i.e., offset by 1.342 μm) to generate a shrinking shielding boundary with a side length of 24.997317 mm x 9.997317 mm and an expanding shielding boundary with a side length of 25.002683 x 10.002683 mm. The coordinate positions located within the shrinking shielding boundary are divided into the main domain, while the coordinate positions located within the expanding shielding boundary and outside the shrinking shielding boundary are divided into the edge domain.
[0066] (5) Generate grid coordinates: Generate grid coordinates sufficient to cover the entire global shield boundary. Set the grid spacing to be equal to the cell period (0.8μm in the X direction and 0.4μm in the Y direction). This coordinate represents the position of each cell pattern.
[0067] (6) Pattern Fill and Boolean Clipping: For the main body region, use GDS Repetition or Reference array syntax to quickly generate the pattern, filling the coordinates of the entire main body region with the cell pattern. For the edge region, first fill the coordinates of the edge region with the cell pattern, then perform the AND operation of Boolean clipping to clip the part of the cell that exceeds the global mask boundary. Combining the cells of the main body region and the edge region forms a periodic pattern that fills the mask boundary.
[0068] (7) Final rotation and reset: Rotate the periodic pattern that fills the shield boundary counterclockwise by 10 degrees and translate it to the original coordinates (20mm, 1mm) to generate the final target pattern.
[0069] Generate using the technical solution of the present invention Figure 8 When generating the layout shown, the generation time was approximately 261.2 seconds, the maximum memory usage was approximately 56.1 GB, and the file size was approximately 1,585 KB, without any pattern distortion. In comparison, if existing technologies were used, the estimated memory requirement for a 25 mm × 10 mm area would exceed 4 TB, surpassing the specifications of typical commercial servers. If the existing technology's generation area was reduced to 2 mm × 2 mm, the generation time was approximately 10,998.5 seconds, the maximum memory usage was approximately 15.0 GB, the file size was approximately 68,495 KB, and the size of the rectangular unit pattern shifted from 0.4 μm × 0.2 μm to 0.399996 μm × 0.199918 μm. Therefore, this invention, while increasing the layout area by 62.5 times, only increased the maximum memory usage by approximately 3.74 times, reduced the generation time and file size by approximately 42 times and 43 times respectively, and successfully eliminated pattern distortion caused by rotation.
[0070] Example 2 like Figure 10As shown, the target layout in this embodiment is a periodic nanoprism used in a beam-splitting diffraction optical component, with an overall size of 2mm × 2mm and a period parameter of 3.6μm × 3.6μm. The cell pattern is a 9×9 matrix unit, which is composed of multiple square patterns. The center-to-center distance between adjacent square patterns is 0.4μm, the target rotation angle is 45° counterclockwise, and the layout generation accuracy is 1nm.
[0071] The design side length distribution of the square pattern in the 9×9 matrix unit is shown in the table below, with units of μm.
[0072] Table 1
[0073] like Figure 11A-11C As shown, the layout generation process in this embodiment is as follows: (1) Set global boundary: Set the global shielding boundary to a 2mm×2mm square with the center point located at (0,0) in the global coordinate system.
[0074] (2) Define cell pattern: Set a 9x9 square matrix pattern according to the side length listed in Table 1-1, with an adjacent center spacing of 0.4μm, forming a cell pattern with a period of 3.6μm × 3.6μm.
[0075] (3) Reverse rotation of the boundary: Rotate the global shield boundary clockwise by 45 degrees.
[0076] (4) Region division (main domain and edge domain): The global shielding boundary is shrunk inward and expanded outward by 1.5 times the synthesis period (i.e., offset by 7.637 μm) to generate a shrinking shielding boundary with a side length of 1.984726 mm x 1.984726 mm and an expanding shielding boundary with a side length of 2.015274 mm x 2.015274 mm. The coordinate positions located within the shrinking shielding boundary are divided into the main domain, while the coordinate positions located within the expanding shielding boundary and outside the shrinking shielding boundary are divided into the edge domain.
[0077] (5) Generate grid coordinates: Generate grid coordinates sufficient to cover the entire global shield boundary. Set the grid spacing to be equal to the cell period (3.6μm), and this coordinate represents the position of each cell pattern.
[0078] (6) Pattern Fill and Boolean Clipping: For the main body region, use GDS Repetition or Reference array syntax to quickly generate the pattern, filling the coordinates of the entire main body region with the cell pattern. For the edge region, first fill the coordinates of the edge region with the cell pattern, then perform the AND operation of Boolean clipping to clip the part of the cell that exceeds the global mask boundary. Combining the cells of the main body region and the edge region forms a periodic pattern that fills the mask boundary.
[0079] (7) Final rotation and reset: Rotate the periodic pattern that fills the shield boundary counterclockwise by 45 degrees to generate the final target pattern.
[0080] Generate using the technical solution of the present invention Figure 10 When generating the layout shown, the generation time was approximately 1.0765 seconds, the maximum memory usage was approximately 196.74 MB, and the file size was approximately 1,711 KB, without any pattern distortion. Using existing technologies, the generation time was approximately 6,526.157 seconds, the maximum memory usage was approximately 48,372.41 MB, and the file size was approximately 110,556 KB. Furthermore, all square patterns within the cells showed side length offsets, as shown in Table 2 (unit: μm), with an overall average offset of approximately 0.00034 μm. Therefore, the present invention reduces the generation time, maximum memory usage, and file size by approximately 6062 times, 246 times, and 65 times, respectively.
[0081] Table 2
[0082] The above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. All equivalent substitutions, improvements, or combinations made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
[0083] The above are merely specific embodiments of the present invention and should not be construed as limiting the scope of the present invention. Equivalent variations made by those skilled in the art based on this invention, as well as changes well-known to those skilled in the art, should still fall within the scope of the present invention.
Claims
1. A method for generating map data format archives, characterized in that, include: Obtain the cell pattern, periodic parameters, global masking boundary, and target rotation angle of the layout to be generated; Perform a reverse rotation process on the global shielding boundary that is opposite to the direction of the target rotation angle, so that the cell pattern remains unrotated in the orthogonal coordinate space; Based on the global shielding boundary after inverse rotation, a shrinking shielding boundary and an expanding shielding boundary are generated according to the offset distance related to the periodic parameter. The area within the shrinking shielding boundary is divided into the main domain, and the area within the expanding shielding boundary and outside the shrinking shielding boundary is divided into the edge domain. An orthogonal coordinate grid covering the global shielding boundary is generated, the grid spacing of the orthogonal coordinate grid corresponds to the period parameter, and the grid position of the orthogonal coordinate grid is used to determine the placement position of the cell pattern; For grid positions located within the main domain, the main domain layout data of the cell pattern is generated in batches using array instantiation. For each grid position located within the edge domain, the cell pattern is generated one by one in the orthogonal coordinate space, and the cell pattern is subjected to a Boolean clipping operation with the globally shielded boundary after inverse rotation to generate edge domain map data; as well as The main domain layout data and the edge domain layout data are encapsulated into a top-level container unit, and the top-level container unit is subjected to a forward rotation process corresponding to the target rotation angle.
2. The method for generating map data format archives according to claim 1, characterized in that, Performing a reverse rotation process on the global shielding boundary that is opposite to the direction of the target rotation angle includes: translating the global shielding boundary to the global origin, and rotating the global shielding boundary with the negative value of the target rotation angle; After performing a forward rotation process on the top-level container unit corresponding to the target rotation angle, the method further includes: translating the top-level container unit back to the starting position of the global shielding boundary in the global coordinate system.
3. The method for generating map data format archives according to claim 1, characterized in that, The step of generating the contraction shielding boundary and the expansion shielding boundary according to the offset distance related to the period parameter includes: performing an inward offset on the reverse-rotated global shielding boundary with the offset distance to generate the contraction shielding boundary, and performing an outward offset on the reverse-rotated global shielding boundary with the offset distance to generate the expansion shielding boundary.
4. The method for generating map data format archives according to claim 3, characterized in that, The offset distance is one to two times the synthesis period; the synthesis period = , where a is the period in the first direction and b is the period in the second direction.
5. The method for generating map data format archives according to claim 1, characterized in that, The process of generating an orthogonal coordinate grid covering the global shielding boundary includes: generating a two-dimensional orthogonal coordinate grid covering the circumscribed rectangle of the expanded shielding boundary after inverse rotation; the grid spacing of the orthogonal coordinate grid in the first direction is equal to the period of the first direction, and the grid spacing of the orthogonal coordinate grid in the second direction is equal to the period of the second direction.
6. The method for generating map data format archives according to claim 1, characterized in that, The array instantiation method includes GDS Repetition array method, OASIS Repetition array method, or Reference array reference method; when the array instantiation method is used to generate the main domain layout data for the grid positions located within the main domain, the main domain layout data includes the cell definition of the cell pattern and array parameters used to describe multiple grid positions.
7. A system for generating map data format archives, characterized in that, include: The information acquisition module is used to acquire the cell pattern, periodic parameters, global shielding boundary, and target rotation angle of the layout to be generated. The cell pattern is used to form a periodic pattern according to the periodic parameters. The reverse rotation module is used to perform reverse rotation processing on the global shielding boundary in the opposite direction to the target rotation angle, so that the cell pattern remains unrotated in the orthogonal coordinate space; The region division module is used to generate a shrinking shield boundary and an expanding shield boundary based on the global shield boundary after inverse rotation and according to the offset distance related to the periodic parameter. The region located within the shrinking shield boundary is divided into the main domain, and the region located within the expanding shield boundary and outside the shrinking shield boundary is divided into the edge domain. A mesh generation module is used to generate an orthogonal coordinate mesh that covers the expanded shielding boundary. The mesh spacing of the orthogonal coordinate mesh corresponds to the period parameter, and the mesh position of the orthogonal coordinate mesh is used to determine the placement position of the cell pattern. The main domain graphic generation module is used to generate the main domain layout data of the cell pattern by instantiating the grid positions located within the main domain using an array instantiation method; The edge domain graphics generation module is used to generate cell patterns in the orthogonal coordinate space for the grid positions located within the edge domain, and to perform a Boolean clipping operation on the cell patterns and the inversely rotated global shielding boundary to generate edge domain map data; as well as The encapsulation output module is used to encapsulate the main domain layout data and the edge domain layout data into a top-level container unit, and perform a forward rotation process on the top-level container unit corresponding to the target rotation angle to generate the layout data format file.
8. The system for generating map data format archives according to claim 7, characterized in that, The region division module is used to perform an inward offset on the reverse-rotated global shielding boundary using the offset distance to generate the contracted shielding boundary, and to perform an outward offset on the reverse-rotated global shielding boundary using the offset distance to generate the expanded shielding boundary.
9. An electronic device, characterized in that, It includes a processor and a memory, the memory storing a computer program that, when executed by the processor, implements the method of any one of claims 1 to 6.
10. A computer-readable storage medium, characterized in that, It stores a computer program that, when executed by a processor, implements the method of any one of claims 1 to 6.
