[go: up one dir, main page]

CN118709635A - Layout generation method, device, medium, program product and terminal for optimizing pattern density distribution - Google Patents

Layout generation method, device, medium, program product and terminal for optimizing pattern density distribution Download PDF

Info

Publication number
CN118709635A
CN118709635A CN202411204926.2A CN202411204926A CN118709635A CN 118709635 A CN118709635 A CN 118709635A CN 202411204926 A CN202411204926 A CN 202411204926A CN 118709635 A CN118709635 A CN 118709635A
Authority
CN
China
Prior art keywords
layout
filling
grid
present application
graphic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202411204926.2A
Other languages
Chinese (zh)
Other versions
CN118709635B (en
Inventor
请求不公布姓名
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huaxincheng Hangzhou Technology Co ltd
Original Assignee
Huaxincheng Hangzhou Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huaxincheng Hangzhou Technology Co ltd filed Critical Huaxincheng Hangzhou Technology Co ltd
Priority to CN202411204926.2A priority Critical patent/CN118709635B/en
Publication of CN118709635A publication Critical patent/CN118709635A/en
Application granted granted Critical
Publication of CN118709635B publication Critical patent/CN118709635B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/39Circuit design at the physical level
    • G06F30/392Floor-planning or layout, e.g. partitioning or placement

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Architecture (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Document Processing Apparatus (AREA)
  • Design And Manufacture Of Integrated Circuits (AREA)

Abstract

本申请提供优化图形密度分布的版图生成方法、装置、介质、程序产品及终端,通过均衡化网格填充的方案,将原始曲线版图进行网格化,并填充空白网格,综合考虑周围版图图形,成功实现了对复杂曲线和不面规形状版图的有效填充。本申请在提高版图密度的同时,大大改善了版图的密度分布,确保了填充的均匀性,避免了由于填充不均造成的CMP效果不佳的问题。此外,本申请同时适用于曼哈顿版图和曲面版图,具备快速便捷的操作特性,并有效提高了版图利用率、设计效率和版图性能。

The present application provides a layout generation method, device, medium, program product and terminal for optimizing the distribution of graphic density. Through the scheme of equalizing grid filling, the original curve layout is gridded and the blank grids are filled. Taking the surrounding layout graphics into consideration, the effective filling of complex curves and irregular shapes is successfully achieved. While increasing the layout density, the present application greatly improves the density distribution of the layout, ensures the uniformity of filling, and avoids the problem of poor CMP effect caused by uneven filling. In addition, the present application is applicable to both Manhattan layouts and curved layouts, has fast and convenient operation characteristics, and effectively improves layout utilization, design efficiency and layout performance.

Description

优化图形密度分布的版图生成方法、装置、介质、程序产品及 终端Layout generation method, device, medium, program product and terminal for optimizing graphic density distribution

技术领域Technical Field

本申请涉及半导体领域,特别是涉及一种优化图形密度分布的版图生成方法、装置、介质、程序产品及终端。The present application relates to the semiconductor field, and in particular to a layout generation method, device, medium, program product and terminal for optimizing the distribution of graphic density.

背景技术Background Art

在现代集成电路设计与制造中,填充技术是一项关键工艺,其主要目的是优化电气性能、提高制造良率并保证芯片的可靠性。版图填充通常用于补充设计中的空白区域,确保结构的均匀性和稳定性,以降低制造过程中的缺陷风险。存在的空白区域可能导致结构均匀性下降,这会影响整体的制造质量。通过填充,可以保持一致的密度分布,从而避免在后续工艺中出现不均匀性的问题。填充技术还能够有效改善电路的电气性能,填补空白区域后,电流流动变得更加稳定,这不仅提高了信号的完整性,还降低了串扰和干扰的风险。此外,良好的填充设计能够防止材料分布不均,提高整体制造良率,同时对后续工艺如光刻和化学机械抛光(CMP,Chemical Mechanical Polishing)尤为重要,因为均匀的密度分布可减少加工过程中的不均匀性带来的问题。In modern integrated circuit design and manufacturing, filling technology is a key process, and its main purpose is to optimize electrical performance, improve manufacturing yield and ensure chip reliability. Layout filling is usually used to fill blank areas in the design to ensure the uniformity and stability of the structure to reduce the risk of defects in the manufacturing process. The existence of blank areas may lead to a decrease in structural uniformity, which will affect the overall manufacturing quality. Through filling, a consistent density distribution can be maintained, thereby avoiding the problem of non-uniformity in subsequent processes. Filling technology can also effectively improve the electrical performance of the circuit. After filling the blank area, the current flow becomes more stable, which not only improves the integrity of the signal, but also reduces the risk of crosstalk and interference. In addition, a good filling design can prevent uneven material distribution and improve the overall manufacturing yield. It is also particularly important for subsequent processes such as lithography and chemical mechanical polishing (CMP, Chemical Mechanical Polishing), because uniform density distribution can reduce the problems caused by non-uniformity during processing.

现有的填充技术主要分为多种类型,包括规则填充、随机填充、密度填充等,这些方法通过填补空白区域来改善电气特性和制造良率。具体来说,规则填充方法使用固定的几何形状填充空白区域,而密度填充则根据设计中的特定密度分布来优化填充策略。然而,这些传统方法主要基于曼哈顿几何的假设,也就是设计中的图形主要由水平和垂直的线段组成,形成规则的直线和矩形结构。因此上述填充技术大都适用于简单的直线和矩形结构,但在处理复杂的曲线版图时,难以灵活应对,导致填充不充分或产生形状不均匀。Existing filling technologies are mainly divided into several types, including regular filling, random filling, density filling, etc. These methods improve electrical characteristics and manufacturing yield by filling blank areas. Specifically, the regular filling method uses fixed geometric shapes to fill blank areas, while the density filling optimizes the filling strategy according to the specific density distribution in the design. However, these traditional methods are mainly based on the assumption of Manhattan geometry, that is, the graphics in the design are mainly composed of horizontal and vertical line segments, forming regular straight lines and rectangular structures. Therefore, most of the above filling techniques are suitable for simple straight lines and rectangular structures, but when dealing with complex curved layouts, it is difficult to respond flexibly, resulting in insufficient filling or uneven shapes.

此外,由于局限于固定的几何形状和密度分布,现有填充技术还可能引入周期性效应,影响信号的完整性,并进一步影响芯片的整体性能。同时,动态变化的设计需求也使得这些方法在适应性上显得不足,常常无法满足高效能和良率的制造要求。In addition, due to the limitation of fixed geometric shapes and density distribution, existing filling technologies may also introduce periodic effects, affecting signal integrity and further affecting the overall performance of the chip. At the same time, dynamically changing design requirements also make these methods insufficient in adaptability and often fail to meet the manufacturing requirements of high efficiency and yield.

发明内容Summary of the invention

鉴于以上所述现有技术的缺点,本申请的目的在于提供一种优化图形密度分布的版图生成方法、装置、介质、程序产品及终端,用于解决现有的填充技术在应对复杂曲线和不规则形状时表现出灵活性不足,导致填充效果不均匀并可能引发制造缺陷的问题。In view of the shortcomings of the prior art described above, the purpose of the present application is to provide a layout generation method, device, medium, program product and terminal for optimizing the distribution of graphic density, so as to solve the problem that the existing filling technology lacks flexibility when dealing with complex curves and irregular shapes, resulting in uneven filling effects and possible manufacturing defects.

为实现上述目的及其他相关目的,本申请的第一方面提供一种方法优化图形密度分布的版图生成方法,所述方法包括: 获取原始版图及图形间最小间距,所述原始版图中包含有一个或多个版图图形;基于图形间最小间距和所有版图图形,生成与所述原始版图对应的版图禁止区域;对所述原始版图进行正方形网格化,遍历每个网格,并判断每个网格与所述版图禁止区域的重叠关系,对与所述版图禁止区域不重叠的网格进行打标,以生成一个或多个标记网格;对每个标记网格,根据预设填充规则进行填充,以生成填充网格;将所述填充网格与所述原始版图进行合并,以生成图形密度优化版图。To achieve the above-mentioned purpose and other related purposes, the first aspect of the present application provides a method for generating a layout for optimizing the distribution of graphic density, the method comprising: obtaining an original layout and a minimum spacing between graphics, the original layout containing one or more layout graphics; generating a layout prohibited area corresponding to the original layout based on the minimum spacing between graphics and all layout graphics; square-gridding the original layout, traversing each grid, and determining the overlapping relationship between each grid and the layout prohibited area, marking the grids that do not overlap with the layout prohibited area to generate one or more marked grids; filling each marked grid according to a preset filling rule to generate a filled grid; merging the filled grid with the original layout to generate a layout with optimized graphic density.

于本申请的第一方面的一些实施例中,基于图形间最小间距和所有版图图形,生成与所述原始版图对应的版图禁止区域的过程包括:根据每个版图图形上下左右的极限坐标值,生成包围该图形的最小区域外边框;将每个所述最小区域外边框向远离对应的版图图形中心的方向,以图形间最小间距为距离进行扩展,以生成对应的版图图形的禁止区域;将所有版图图形的禁止区域进行合并,以生成版图禁止区域。In some embodiments of the first aspect of the present application, based on the minimum spacing between graphics and all layout graphics, the process of generating a layout prohibited area corresponding to the original layout includes: generating a minimum area outer frame surrounding the graphic according to the upper, lower, left and right limit coordinate values of each layout graphic; expanding each of the minimum area outer frames in a direction away from the center of the corresponding layout graphic by the minimum spacing between graphics to generate a prohibited area of the corresponding layout graphic; and merging the prohibited areas of all layout graphics to generate a layout prohibited area.

于本申请的第一方面的一些实施例中,所述最小区域外边框包括:圆形、椭圆形、多边形、不规则形状中的一种或多种。In some embodiments of the first aspect of the present application, the outer frame of the minimum area includes: one or more of a circle, an ellipse, a polygon, and an irregular shape.

于本申请的第一方面的一些实施例中,对每个标记网格,根据预设填充规则进行填充,以生成填充网格的过程包括:遍历每个标记网格,执行如下操作:以当前标记网格为中心,循环遍历预设方向集合,对每个预设方向,搜索该方向上距离最近的一个版图图形;将搜索到的多个版图图形以中心点对齐的方式进行重叠,以生成当前标记网格对应的待填充图形;将所述待填充图形进行缩放,以使缩放后的待填充图形不超出当前标记网格的网格边界,将缩放后的待填充图形填充至当前标记网格中,以生成填充网格。In some embodiments of the first aspect of the present application, each marked grid is filled according to a preset filling rule to generate a filled grid. The process includes: traversing each marked grid and performing the following operations: taking the current marked grid as the center, looping through a preset direction set, and for each preset direction, searching for a layout graphic that is closest to the direction; overlapping the searched multiple layout graphics in a manner of aligning the center points to generate a to-be-filled graphic corresponding to the current marked grid; scaling the to-be-filled graphic so that the scaled to-be-filled graphic does not exceed the grid boundary of the current marked grid, and filling the scaled to-be-filled graphic into the current marked grid to generate a filled grid.

于本申请的第一方面的一些实施例中,所述预设方向集合包括:上、下、左、右。In some embodiments of the first aspect of the present application, the preset direction set includes: up, down, left, and right.

于本申请的第一方面的一些实施例中,循环遍历预设方向集合,对每个预设方向,搜索该方向上距离最近的一个版图图形的过程还包括:若当前预设方向上未找到版图图形,则跳过当前预设方向,继续遍历所述预设方向集合中的下一预设方向。In some embodiments of the first aspect of the present application, a set of preset directions is traversed in a loop, and for each preset direction, a process of searching for a layout graphic that is closest to the direction also includes: if no layout graphic is found in the current preset direction, skipping the current preset direction and continuing to traverse the next preset direction in the preset direction set.

为实现上述目的及其他相关目的,本申请的第二方面提供一种优化图形密度分布的版图生成装置,包括:禁区生成模块:用于获取原始版图及图形间最小间距,所述原始版图中包含有一个或多个版图图形;基于图形间最小间距和所有版图图形,生成与所述原始版图对应的版图禁止区域;网格标记模块:用于对所述原始版图进行正方形网格化,遍历每个网格,并判断每个网格与所述版图禁止区域的重叠关系,对与所述版图禁止区域不重叠的网格进行打标,以生成一个或多个标记网格;填充优化模块:用于对每个标记网格,根据预设填充规则进行填充,以生成填充网格;将所述填充网格与所述原始版图进行合并,以生成图形密度优化版图。To achieve the above-mentioned purpose and other related purposes, the second aspect of the present application provides a layout generation device for optimizing the distribution of graphic density, including: a restricted area generation module: used to obtain the original layout and the minimum spacing between graphics, the original layout containing one or more layout graphics; based on the minimum spacing between graphics and all layout graphics, generate a layout prohibited area corresponding to the original layout; a grid marking module: used to square grid the original layout, traverse each grid, and determine the overlapping relationship between each grid and the layout prohibited area, mark the grids that do not overlap with the layout prohibited area to generate one or more marked grids; a filling optimization module: used to fill each marked grid according to a preset filling rule to generate a filled grid; merge the filled grid with the original layout to generate a graphic density optimized layout.

为实现上述目的及其他相关目的,本申请的第三方面提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现所述优化图形密度分布的版图生成方法。To achieve the above-mentioned purpose and other related purposes, the third aspect of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the layout generation method for optimizing the graphic density distribution is implemented.

为实现上述目的及其他相关目的,本申请的第四方面提供一种计算机程序产品,所述计算机程序产品中包括计算机程序代码,当所述计算机程序代码在计算机上运行时,使得所述计算机实现所述优化图形密度分布的版图生成方法。To achieve the above-mentioned purpose and other related purposes, the fourth aspect of the present application provides a computer program product, which includes a computer program code. When the computer program code is run on a computer, the computer implements the layout generation method for optimizing the graphic density distribution.

为实现上述目的及其他相关目的,本申请的第五方面提供一种电子终端,包括存储器、处理器及存储在存储器上的计算机程序;所述处理器执行所述计算机程序以实现所述优化图形密度分布的版图生成方法。To achieve the above-mentioned purpose and other related purposes, the fifth aspect of the present application provides an electronic terminal, including a memory, a processor and a computer program stored in the memory; the processor executes the computer program to implement the layout generation method for optimizing the graphic density distribution.

如上所述,本申请的优化图形密度分布的版图生成方法、装置、介质、程序产品及终端,具有以下有益效果:通过均衡化网格填充的方案,将原始曲线版图进行网格化,并填充空白网格,综合考虑周围版图图形,成功实现了对复杂曲线和不面规形状版图的有效填充。本申请在提高版图密度的同时,大大改善了版图的密度分布,确保了填充的均匀性,避免了由于填充不均造成的CMP效果不佳的问题。此外,本申请同时适用于曼哈顿版图和曲面版图,具备快速便捷的操作特性,并有效提高了版图利用率、设计效率和版图性能。As described above, the layout generation method, device, medium, program product and terminal for optimizing the distribution of graphic density of the present application have the following beneficial effects: through the scheme of equalizing grid filling, the original curve layout is gridded and the blank grids are filled, and the surrounding layout graphics are comprehensively considered to successfully achieve the effective filling of complex curves and irregular shape layouts. While improving the layout density, the present application greatly improves the density distribution of the layout, ensures the uniformity of filling, and avoids the problem of poor CMP effect caused by uneven filling. In addition, the present application is applicable to both Manhattan layouts and curved layouts, has fast and convenient operation characteristics, and effectively improves the layout utilization, design efficiency and layout performance.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1显示了本申请优化图形密度分布的版图生成方法一实施例的流程示意图。FIG. 1 is a schematic flow chart showing an embodiment of a layout generation method for optimizing pattern density distribution of the present application.

图2显示了本申请优化图形密度分布的版图生成方法一实施例中的原始版图。FIG. 2 shows an original layout in an embodiment of a layout generation method for optimizing pattern density distribution of the present application.

图3显示了本申请优化图形密度分布的版图生成方法一实施例中的最小区域外边框示意图。FIG. 3 shows a schematic diagram of the minimum area outer frame in an embodiment of a layout generation method for optimizing the pattern density distribution of the present application.

图4显示了本申请优化图形密度分布的版图生成方法一实施例中的版图禁止区域。FIG. 4 shows a layout forbidden area in an embodiment of a layout generation method for optimizing pattern density distribution of the present application.

图5显示了本申请优化图形密度分布的版图生成方法一实施例中的正方形网格化示意图。FIG. 5 shows a schematic diagram of square gridding in an embodiment of a layout generation method for optimizing pattern density distribution of the present application.

图6显示了本申请优化图形密度分布的版图生成方法一实施例中的空白网格打标示意图。FIG. 6 shows a schematic diagram of blank grid marking in an embodiment of a layout generation method for optimizing pattern density distribution of the present application.

图7显示了本申请优化图形密度分布的版图生成方法一实施例中的待填充图形示意图。FIG. 7 shows a schematic diagram of a graphic to be filled in an embodiment of a layout generation method for optimizing the distribution of graphic density of the present application.

图8显示了本申请优化图形密度分布的版图生成方法一实施例中的填充打标网格示意图。FIG8 shows a schematic diagram of a filling and marking grid in an embodiment of a layout generation method for optimizing pattern density distribution of the present application.

图9显示了本申请优化图形密度分布的版图生成装置一实施例的结构示意图。FIG. 9 shows a schematic structural diagram of an embodiment of a layout generation device for optimizing pattern density distribution of the present application.

图10显示了本申请优化图形密度分布的版图生成终端一实施例的结构示意图。FIG. 10 shows a schematic structural diagram of an embodiment of a layout generation terminal for optimizing the pattern density distribution of the present application.

具体实施方式DETAILED DESCRIPTION

以下通过特定的具体实例说明本申请的实施方式,本领域技术人员可由本说明书所揭露的内容轻易地了解本申请的其他优点与功效。本申请还可以通过另外不同的具体实施方式加以实施或应用,本说明书中的各项细节也可以基于不同观点与应用,在没有背离本申请的精神下进行各种修饰或改变。需说明的是,在不冲突的情况下,以下实施例及实施例中的特征可以相互组合。The following describes the embodiments of the present application through specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. The present application can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.

在对本申请进行进一步详细说明之前,对本申请实施例中涉及的名词和术语进行说明,本申请实施例中涉及的名词和术语适用于如下的解释:Before further describing the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations:

<1>芯片版图:芯片版图是集成电路设计过程中,用于描绘器件布局和电路连接的一种平面图形表示。其中包含了半导体器件(如晶体管、二极管等),互连导线和其他功能组件的物理位置和尺寸信息。<1> Chip layout: Chip layout is a planar graphic representation used to depict device layout and circuit connections during the integrated circuit design process. It contains the physical location and size information of semiconductor devices (such as transistors, diodes, etc.), interconnect wires and other functional components.

<2>版图图形:版图图形是指芯片版图中所包含的具体形状和结构,包括所有的电路元素和版图图形之间的连接。版图图形构成版图的视觉表现,通常以几何图形的形式显示。<2>Layout graphics: Layout graphics refer to the specific shapes and structures contained in the chip layout, including all the connections between circuit elements and layout graphics. Layout graphics constitute the visual representation of the layout and are usually displayed in the form of geometric figures.

<3>图形间最小间距:图形间最小间距是指在集成电路版图中,两个相邻图形(如导线或器件)之间允许的最小物理距离。这个参数对于确保制造过程的可行性和电路性能至关重要。<3>Minimum spacing between graphics: The minimum spacing between graphics refers to the minimum physical distance allowed between two adjacent graphics (such as wires or devices) in the integrated circuit layout. This parameter is crucial to ensure the feasibility of the manufacturing process and circuit performance.

<4>版图禁止区域:版图禁止区域是指在芯片设计中,某些区域被指定为不可放置任何电路元素或信号连接的区域。这通常是为了避免物理干涉或提高电路性能。<4> Layout forbidden area: Layout forbidden area refers to certain areas in chip design that are designated as areas where no circuit elements or signal connections can be placed. This is usually to avoid physical interference or improve circuit performance.

<5>网格化:网格化是将版图划分成多个小的网格单元的过程,以便进行优化填充或其他设计操作。通过这种方式,可以更有效地管理和调整版图的结构。<5> Gridding: Gridding is the process of dividing the layout into multiple small grid cells for optimized filling or other design operations. In this way, the structure of the layout can be managed and adjusted more effectively.

<6>版图密度:版图密度是指单位面积内所包含的电路元件数量或版图图形占据的面积比率。高版图密度通常意味着更小的芯片尺寸和提高的功能集成度。<6>Layout density: Layout density refers to the number of circuit components contained in a unit area or the area ratio occupied by the layout pattern. High layout density usually means smaller chip size and improved functional integration.

为便于理解本申请实施例,首先结合图1详细说明。图1展示了本申请实施例中的一种优化图形密度分布的版图生成方法的流程示意图。本实施例中的优化图形密度分布的版图生成方法主要包括如下各步骤:To facilitate understanding of the embodiment of the present application, a detailed description is first given in conjunction with FIG1. FIG1 shows a schematic flow chart of a layout generation method for optimizing the pattern density distribution in the embodiment of the present application. The layout generation method for optimizing the pattern density distribution in the present embodiment mainly includes the following steps:

步骤S11:获取原始版图及图形间最小间距,所述原始版图中包含有一个或多个版图图形;基于图形间最小间距和所有版图图形,生成与所述原始版图对应的版图禁止区域。Step S11: obtaining an original layout and a minimum spacing between graphics, wherein the original layout includes one or more layout graphics; based on the minimum spacing between graphics and all layout graphics, generating a layout prohibited area corresponding to the original layout.

图2展示了本申请一实施例中获取到的原始版图,其中包含有4中不同形状的版图图形。所述原始版图指集成电路的物理结构设计,用于描述电路中元件的尺寸、形状、位置和互连方式。版图是芯片制造的蓝图,决定了芯片的功能、性能和可靠性。图形间最小间距指的是版图上两个图形之间允许的最小距离。这个距离通常由制造工艺的能力决定,用于保证电路中不同图形之间不会发生短路或其他不良影响,从而确保芯片正常工作。FIG2 shows the original layout obtained in an embodiment of the present application, which contains 4 layout graphics of different shapes. The original layout refers to the physical structure design of the integrated circuit, which is used to describe the size, shape, position and interconnection method of the components in the circuit. The layout is a blueprint for chip manufacturing, which determines the function, performance and reliability of the chip. The minimum spacing between graphics refers to the minimum distance allowed between two graphics on the layout. This distance is usually determined by the capability of the manufacturing process and is used to ensure that short circuits or other adverse effects do not occur between different graphics in the circuit, thereby ensuring the normal operation of the chip.

在本申请一实施例中,基于图形间最小间距和所有版图图形,生成与所述原始版图对应的版图禁止区域的过程包括:根据每个版图图形上下左右的极限坐标值,生成包围该图形的最小区域外边框;将每个所述最小区域外边框向远离对应的版图图形中心的方向,以图形间最小间距为距离进行扩展,以生成对应的版图图形的禁止区域;将所有版图图形的禁止区域进行合并,以生成版图禁止区域。图3展示了本发明一实施例中,根据每个版图图形上下左右的极限坐标值,生成包围该图形的最小区域外边框的示意图。In one embodiment of the present application, based on the minimum spacing between graphics and all layout graphics, the process of generating a layout forbidden area corresponding to the original layout includes: generating a minimum area outer frame surrounding the graphic according to the upper, lower, left, and right limit coordinate values of each layout graphic; extending each of the minimum area outer frames away from the center of the corresponding layout graphic by the minimum spacing between graphics as a distance to generate a forbidden area of the corresponding layout graphic; merging the forbidden areas of all layout graphics to generate a layout forbidden area. Figure 3 shows a schematic diagram of generating a minimum area outer frame surrounding the graphic according to the upper, lower, left, and right limit coordinate values of each layout graphic in one embodiment of the present invention.

在本申请一实施例中,生成版图禁止区域的过程包括:识别所述原始版图中的版图图形,并获取的版图图形的类型及尺寸信息,基于每个版图图形的上下左右的极限坐标值,生成包围版图图形的最小矩阵区域。获取图形间最小间距,其中所述图形间最小间距包括统一间距或针对不同类型的版图图形生成不同的最小间距。示例性地,将金属层图形之间的最小间距设置为10nm,将金属层图形与其他版图图形之间的最小距离定义为5nm。将每个最小包围区域向远离对应图形中心的方向进行扩展,扩展距离为对应图形类型的最小间距,以生成最终的版图禁止区域。In one embodiment of the present application, the process of generating a layout prohibited area includes: identifying the layout graphics in the original layout, and obtaining the type and size information of the layout graphics, and generating a minimum matrix area surrounding the layout graphics based on the upper, lower, left and right limit coordinate values of each layout graphic. Obtain the minimum spacing between graphics, wherein the minimum spacing between graphics includes a uniform spacing or generating different minimum spacings for different types of layout graphics. Exemplarily, the minimum spacing between metal layer graphics is set to 10nm, and the minimum distance between the metal layer graphics and other layout graphics is defined as 5nm. Each minimum enclosing area is expanded in a direction away from the center of the corresponding graphic, and the expansion distance is the minimum spacing of the corresponding graphic type to generate the final layout prohibited area.

在本申请一实施例中,所述最小区域外边框包括:圆形、椭圆形、多边形、不规则形状中的一种或多种。In an embodiment of the present application, the outer frame of the minimum area includes: one or more of a circle, an ellipse, a polygon, and an irregular shape.

进一步地,掩膜版图中,常见的图形形状包括圆形、椭圆形、多边形和不规则形状。例如,圆形引线、圆形电容、圆形过孔采用圆形最小区域外边框包围;长方形引线、椭圆形电容、椭圆形过孔采用椭圆形外边框包围;多边形形状的金属图案、多边形形状的隔离区域则采用多边形外边框包围;而文字、符号、复杂形状的金属图案、包含曲线和直线的混合形状等则需要使采用不规则形状的外边框。对于圆角矩形等更复杂的图形,根据实际情况选择圆形、矩形或多边形组合,或者直接使采用多边形包围。Furthermore, in the mask layout, common graphic shapes include circles, ovals, polygons and irregular shapes. For example, circular leads, circular capacitors and circular vias are surrounded by a circular minimum area outer frame; rectangular leads, elliptical capacitors and elliptical vias are surrounded by an elliptical outer frame; polygonal metal patterns and polygonal isolation areas are surrounded by polygonal outer frames; and text, symbols, complex metal patterns, mixed shapes containing curves and straight lines, etc. require irregular outer frames. For more complex graphics such as rounded rectangles, choose a combination of circles, rectangles or polygons according to the actual situation, or directly use polygons to surround them.

图4展示了本申请一实施例中的版图禁止区域。其中,内侧的实线矩形框为版图图形,外侧虚线框为曲线版图生成的对应的禁止区域,内侧边框与外侧边框之间的距离为最小区域外边框,在本实施例中采用矩形框。本实施例中的最小间距设置为d。FIG4 shows the forbidden area of the layout in an embodiment of the present application. The solid rectangular frame on the inside is the layout figure, the dotted frame on the outside is the corresponding forbidden area generated by the curved layout, and the distance between the inner border and the outer border is the minimum area outer border. In this embodiment, a rectangular frame is used. The minimum spacing in this embodiment is set to d.

步骤S12:对所述原始版图进行正方形网格化,遍历每个网格,并判断每个网格与所述版图禁止区域的重叠关系,对与所述版图禁止区域不重叠的网格进行打标,以生成一个或多个标记网格。Step S12: square gridding the original layout, traversing each grid, and determining the overlapping relationship between each grid and the forbidden area of the layout, marking the grids that do not overlap with the forbidden area of the layout to generate one or more marked grids.

图5展示了本发明一实施例中,对所述原始版图进行正方形网格化的示意图。对所述原始版图进行正方形网格化的过程包括:将网格大小设置为DBU(Design Rule Unit,设计规则单位)的整数倍。这样设置的其优势在于,能够确保设计规则的遵守,提高设计精度,并简化设计流程。DBU是由工艺节点决定的,用来规范集成电路设计中各种元素的最小尺寸和间距,通常以纳米(nm)为单位。当网格大小为DBU的整数倍时,可以有效避免因网格尺寸与设计规则不匹配而导致的元件尺寸无法满足最小尺寸要求,或元件间距无法满足最小间距要求等问题,从而确保设计规则的遵守,提高设计精度,并简化设计流程,最终提高后续填充步骤的准确性和效率。FIG5 shows a schematic diagram of square gridding of the original layout in one embodiment of the present invention. The process of square gridding the original layout includes: setting the grid size to an integer multiple of DBU (Design Rule Unit). The advantage of such a setting is that it can ensure compliance with the design rules, improve design accuracy, and simplify the design process. DBU is determined by the process node and is used to standardize the minimum size and spacing of various elements in the integrated circuit design, usually in nanometers (nm). When the grid size is an integer multiple of DBU, it can effectively avoid problems such as the component size failing to meet the minimum size requirement or the component spacing failing to meet the minimum spacing requirement due to the mismatch between the grid size and the design rules, thereby ensuring compliance with the design rules, improving design accuracy, simplifying the design process, and ultimately improving the accuracy and efficiency of subsequent filling steps.

在本申请一实施例中,对与所述版图禁止区域不重叠的网格进行打标的过程包括:将与所述版图禁止区域不重叠的网格设置为特定颜色,或将不重叠的网格标记为可使用;重叠的网格标记为不可用;或生成一个新的网格数据结构,其中只包含有不重叠的网格信息,并将这些网格标记为可使用。In one embodiment of the present application, the process of marking grids that do not overlap with the prohibited area of the layout includes: setting the grids that do not overlap with the prohibited area of the layout to a specific color, or marking the non-overlapping grids as usable; marking the overlapping grids as unusable; or generating a new grid data structure that only contains non-overlapping grid information and marking these grids as usable.

图6展示了本申请一实施例中空白网格打标示意图。在对曲线版图进行网格化后,判断曲线版图与网格化后的图形的相互位置进行对比,并对与所述版图禁止区域不重叠的网格通过红色五角星进行打标。Figure 6 shows a schematic diagram of blank grid marking in an embodiment of the present application. After the curve layout is gridded, the relative positions of the curve layout and the gridded graphics are compared, and the grids that do not overlap with the forbidden area of the layout are marked with red five-pointed stars.

步骤S13:对每个标记网格,根据预设填充规则进行填充,以生成填充网格;将所述填充网格与所述原始版图进行合并,以生成图形密度优化版图。Step S13: Fill each marked grid according to a preset filling rule to generate a filled grid; merge the filled grid with the original layout to generate a graphic density optimized layout.

在本申请一实施例中,对每个标记网格,根据预设填充规则进行填充,以生成填充网格的过程包括:遍历每个标记网格,执行如下操作:以当前标记网格为中心,循环遍历预设方向集合,对每个预设方向,搜索该方向上距离最近的一个版图图形;将搜索到的多个版图图形以中心点对齐的方式进行重叠,以生成当前标记网格对应的待填充图形;将所述待填充图形进行缩放,以使缩放后的待填充图形不超出当前标记网格的网格边界,将缩放后的待填充图形填充至当前标记网格中,以生成填充网格。In one embodiment of the present application, each marked grid is filled according to a preset filling rule to generate a filled grid. The process includes: traversing each marked grid and performing the following operations: taking the current marked grid as the center, looping through a preset direction set, and for each preset direction, searching for a layout graphic that is closest to the direction; overlapping the searched multiple layout graphics in a manner of aligning the center points to generate a to-be-filled graphic corresponding to the current marked grid; scaling the to-be-filled graphic so that the scaled to-be-filled graphic does not exceed the grid boundary of the current marked grid, and filling the scaled to-be-filled graphic into the current marked grid to generate a filled grid.

在本申请一实施例中,遍历每个标记网格的顺序包括但不限于从左至右,以及/或者从上至下进行遍历。其中,所述预设方向集合中定义了搜索版图图形的方向。例如,集合中的搜索方向包括但不限于:上、下、左、右四个方向。还可包括多种不同预设角度的斜方向。In one embodiment of the present application, the order of traversing each marked grid includes but is not limited to traversing from left to right and/or from top to bottom. The preset direction set defines the direction of searching the layout graphics. For example, the search directions in the set include but are not limited to: up, down, left, and right. It can also include oblique directions of multiple different preset angles.

在本申请一实施例中,搜索每个预设方向上距离最近的一个版图图形的过程包括:以当前标记网格为中心,对每个预设方向进行搜索。搜索目标是距离当前标记网格中心点最近的版图图形。搜索方法包括但不限于距离计算,例如使用欧几里得距离。In one embodiment of the present application, the process of searching for the closest layout graphic in each preset direction includes: searching each preset direction with the current marked grid as the center. The search target is the layout graphic closest to the center point of the current marked grid. The search method includes but is not limited to distance calculation, such as using Euclidean distance.

在本申请一实施例中,将搜索到的多个版图图形以中心点对齐的方式进行重叠,有效地避免由于版图图形的形状和大小差异导致的填充不均匀问题。例如,如果搜索到的两个版图图形都是圆形,但半径不同,则通过中心对齐的方式将两个圆形版图进行重叠,以形成一个更大的圆形。图7展示了本申请一实施例中待填充图形的示意图,其生成的过程包括,对于左下角的五角星,通过位于上方的三角形和右侧的梯形进行中心叠加以生成图7中的第一个图案,并将图7中的第一个图案填充至图6中左下角到的打标位。图7中中间上侧的打标网格通过位于其左侧的三角形、下侧的梯形以及右侧的六边形进行中心重叠以生成图7中的第二个图案。同理,对于右下侧的打标网格,通过位于当前打标网格左侧的正方形和上方的六边形进行中心重叠,以生成图7中第三个图案,并将当前图案填充至右下方的打标网格。In one embodiment of the present application, the multiple layout graphics searched are overlapped in a center-point aligned manner, effectively avoiding the problem of uneven filling due to differences in the shape and size of the layout graphics. For example, if the two layout graphics searched are both circular, but the radii are different, the two circular layouts are overlapped by center alignment to form a larger circle. Figure 7 shows a schematic diagram of a figure to be filled in one embodiment of the present application, and the generation process includes, for the five-pointed star in the lower left corner, the triangle located above and the trapezoid on the right are centrally superimposed to generate the first pattern in Figure 7, and the first pattern in Figure 7 is filled to the marking position in the lower left corner of Figure 6. The marking grid on the upper middle side of Figure 7 is centrally overlapped by the triangle on its left side, the trapezoid on the lower side, and the hexagon on the right to generate the second pattern in Figure 7. Similarly, for the marking grid on the lower right side, the square on the left side of the current marking grid and the hexagon on the upper side are centrally overlapped to generate the third pattern in Figure 7, and the current pattern is filled to the marking grid on the lower right.

值得说明的是,上述通过中心点对齐进行重叠生成新图形的优势在于,生成新的图案可以有效解决现有技术在处理复杂曲线和不规则形状时遇到的填充效果不均匀和制造缺陷问题。通过中心重叠等操作,可以生成更复杂、更灵活的填充图案,以适应各种形状的填充需求,从而提高填充效果并优化制造过程,减少材料浪费和制造缺陷,最终提高制造效率和产品质量。It is worth noting that the advantage of the above-mentioned overlapping generation of new graphics by center point alignment is that the generation of new patterns can effectively solve the problems of uneven filling effect and manufacturing defects encountered by the existing technology when processing complex curves and irregular shapes. Through operations such as center overlap, more complex and flexible filling patterns can be generated to meet the filling needs of various shapes, thereby improving the filling effect and optimizing the manufacturing process, reducing material waste and manufacturing defects, and ultimately improving manufacturing efficiency and product quality.

在本申请一实施例中,将所述待填充图形进行缩放的过程包括:首先获取待填充图形的宽度和高度,以及当前标记网格的宽度和高度。然后,计算待填充图形宽度和高度与网格边界宽度和高度的比例,并选择较大的比例作为缩放比例。接着,使用该比例对待填充图形进行缩放。为了确保缩放后的图形完全在网格边界内。对缩放后的图形执行校验操作,具体地,比较缩放后的图形宽度和高度与网格边界宽度和高度,若发现图形超出边界,则需要重新计算缩放比例并重新执行缩放操作,直到满足对应的尺寸要求。In one embodiment of the present application, the process of scaling the graphic to be filled includes: first obtaining the width and height of the graphic to be filled, and the width and height of the current marked grid. Then, calculating the ratio of the width and height of the graphic to be filled to the width and height of the grid boundary, and selecting the larger ratio as the scaling ratio. Then, using this ratio to scale the graphic to be filled. In order to ensure that the scaled graphic is completely within the grid boundary. Perform a verification operation on the scaled graphic, specifically, compare the scaled graphic width and height with the grid boundary width and height. If it is found that the graphic exceeds the boundary, it is necessary to recalculate the scaling ratio and re-execute the scaling operation until the corresponding size requirement is met.

图8展示了本申请一实施例中的填充打标网格示意图,展示了将缩放后的待填充图形填充至当前标记网格中的过程。其中将图7站生成的待填充图形缩放至适当的大小并填充至经过打标的空白网格中。将所述填充网格与所述原始版图进行合并,以生成最终的图形密度优化版图。FIG8 shows a schematic diagram of a filled marking grid in an embodiment of the present application, showing the process of filling the scaled to-be-filled graphic into the current marked grid. The to-be-filled graphic generated in FIG7 is scaled to an appropriate size and filled into the marked blank grid. The filled grid is merged with the original layout to generate a final graphic density optimized layout.

在本申请一实施例中,循环遍历预设方向集合,对每个预设方向,搜索该方向上距离最近的一个版图图形的过程还包括:若当前预设方向上未找到版图图形,则跳过当前预设方向,继续遍历所述预设方向集合中的下一预设方向。In one embodiment of the present application, a set of preset directions is traversed in a loop, and for each preset direction, a process of searching for a layout graphic closest to the direction also includes: if no layout graphic is found in the current preset direction, skipping the current preset direction and continuing to traverse the next preset direction in the preset direction set.

在本实施例中,为了在包含角落打标网格的版图中有效地搜索最近的版图图形,采用循环遍历预设方向集合的策略。算法会依次尝试每个预设方向,并在当前方向上搜索距离最近的版图图形。如果在某个方向上没有找到图形,算法会跳过该方向,继续遍历下一个方向。这种设计确保即使在角落网格,也能找到距离最近的版图图形,从而提升了优化图形密度分布的版图生成方法的鲁棒性。In this embodiment, in order to effectively search for the nearest layout pattern in a layout containing a corner marking grid, a strategy of looping through a set of preset directions is adopted. The algorithm tries each preset direction in turn and searches for the closest layout pattern in the current direction. If no pattern is found in a certain direction, the algorithm skips that direction and continues to traverse the next direction. This design ensures that the nearest layout pattern can be found even in a corner grid, thereby improving the robustness of the layout generation method for optimizing the pattern density distribution.

需要说明的是,本申请实施例中,“示例性的”或者“例如”等词表示例子、例证或说明。本申请中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其他实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" represent examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

本申请实施例中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b或c中的至少一项(个),可以表示:a,b,c,a-b,a-c,b-c或a-b-c,其中a,b,c可以是单个,也可以是多个。In the embodiments of the present application, "at least one" refers to one or more, and "plurality" refers to two or more. "And/or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and/or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character "/" generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can represent: a, b, c, a-b, a-c, b-c or a-b-c, where a, b, c can be single or multiple.

图9是本申请实施例提供的优化图形密度分布的版图生成装置的示意性框图。如图9所示,该装置包括:禁区生成模块901、网格标记模块902以及填充优化模块903。Fig. 9 is a schematic block diagram of a layout generation device for optimizing pattern density distribution provided by an embodiment of the present application. As shown in Fig. 9 , the device includes: a restricted area generation module 901 , a grid marking module 902 , and a filling optimization module 903 .

禁区生成模块901:用于获取原始版图及图形间最小间距,所述原始版图中包含有一个或多个版图图形;基于图形间最小间距和所有版图图形,生成与所述原始版图对应的版图禁止区域。Forbidden zone generation module 901: used to obtain the original layout and the minimum spacing between graphics, wherein the original layout includes one or more layout graphics; based on the minimum spacing between graphics and all layout graphics, generate a layout forbidden area corresponding to the original layout.

网格标记模块902:用于对所述原始版图进行正方形网格化,遍历每个网格,并判断每个网格与所述版图禁止区域的重叠关系,对与所述版图禁止区域不重叠的网格进行打标,以生成一个或多个标记网格。Grid marking module 902: used to square grid the original layout, traverse each grid, and determine the overlapping relationship between each grid and the prohibited area of the layout, and mark the grids that do not overlap with the prohibited area of the layout to generate one or more marked grids.

填充优化模块903:用于对每个标记网格,根据预设填充规则进行填充,以生成填充网格;将所述填充网格与所述原始版图进行合并,以生成图形密度优化版图。Filling optimization module 903: used to fill each marked grid according to a preset filling rule to generate a filled grid; merge the filled grid with the original layout to generate a graphic density optimized layout.

应理解,各模块执行上述相应步骤的具体过程在上述方法实施例中已经详细说明,为了简洁,在此不再赘述。It should be understood that the specific process of each module executing the above corresponding steps has been described in detail in the above method embodiment, and for the sake of brevity, it will not be repeated here.

还应理解,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。另外,在本申请各个实施例中的各功能模块可以集成在一个处理器中,也可以是单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。It should also be understood that the division of modules in the embodiments of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional module in each embodiment of the present application may be integrated into a processor, or may exist physically separately, or two or more modules may be integrated into one module. The above-mentioned integrated modules may be implemented in the form of hardware or in the form of software functional modules.

图10是本申请实施例提供的电子终端的示意性框图。如图10所示,所述电子终端包括:至少一个处理器101、存储器102、至少一个网络接口103和用户接口105。装置中的各个组件通过总线系统104耦合在一起。可以理解的是,总线系统104用于实现这些组件之间的连接通信。总线系统104除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图10中将各种总线都标为总线系统。FIG10 is a schematic block diagram of an electronic terminal provided in an embodiment of the present application. As shown in FIG10 , the electronic terminal includes: at least one processor 101, a memory 102, at least one network interface 103 and a user interface 105. The various components in the device are coupled together via a bus system 104. It is understandable that the bus system 104 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 104 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, various buses are marked as bus systems in FIG10 .

其中,用户接口105可以包括显示器、键盘、鼠标、轨迹球、点击枪、按键、按钮、触感板或者触摸屏等。The user interface 105 may include a display, a keyboard, a mouse, a trackball, a click gun, keys, buttons, a touch pad or a touch screen.

可以理解,存储器102可以是易失性存储器或非易失性存储器,也可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(ROM,Read Only Memory)、可编程只读存储器(PROM,Programmable Read-Only Memory),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(SRAM,StaticRandom Access Memory)、同步静态随机存取存储器(SSRAM,Synchronous Static RandomAccess Memory)。本申请实施例描述的存储器旨在包括但不限于这些和任意其它适合类别的存储器。It is understood that the memory 102 can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), which is used as an external cache. By way of exemplary but not limiting explanation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM). The memory described in the embodiments of the present application is intended to include but is not limited to these and any other suitable categories of memory.

本申请实施例中的存储器102用于存储各种类别的数据以支持电子终端100的操作。这些数据的示例包括:用于在电子终端100上操作的任何可执行程序,如操作系统1021和应用程序1022;操作系统1021包含各种系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务。应用程序1022可以包含各种应用程序,例如媒体播放器(Media Player)、浏览器(Browser)等,用于实现各种应用业务。实现本申请实施例提供的优化图形密度分布的版图生成方法可以包含在应用程序1022中。The memory 102 in the embodiment of the present application is used to store various categories of data to support the operation of the electronic terminal 100. Examples of these data include: any executable program for operating on the electronic terminal 100, such as an operating system 1021 and an application 1022; the operating system 1021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks. The application 1022 may include various applications, such as a media player (Media Player), a browser (Browser), etc., for implementing various application services. The layout generation method for optimizing the graphic density distribution provided in the embodiment of the present application may be included in the application 1022.

上述本申请实施例揭示的方法可以应用于处理器101中,或者由处理器101实现。处理器101可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器101中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器101可以是通用处理器、数字信号处理器(DSP,Digital Signal Processor),或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。处理器101可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器101可以是微处理器或者任何常规的处理器等。结合本申请实施例所提供的配件优化方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成前述方法的步骤。The method disclosed in the above embodiment of the present application can be applied to the processor 101, or implemented by the processor 101. The processor 101 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of the hardware in the processor 101 or an instruction in the form of software. The above processor 101 may be a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor 101 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor 101 may be a microprocessor or any conventional processor, etc. In combination with the steps of the accessory optimization method provided in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in a memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

在示例性实施例中,电子终端100可以被一个或多个应用专用集成电路(ASIC,Application Specific Integrated Circuit)、DSP、可编程逻辑器件(PLD,ProgrammableLogic Device)、复杂可编程逻辑器件(CPLD,Complex Programmable Logic Device),用于执行前述方法。In an exemplary embodiment, the electronic terminal 100 may be implemented by one or more application specific integrated circuits (ASIC), DSP, programmable logic device (PLD), complex programmable logic device (CPLD) to execute the aforementioned method.

根据本申请实施例提供的方法,本申请还提供一种计算机程序产品,该计算机程序产品包括:计算机程序代码,当该计算机程序代码在计算机上运行时,使得该计算机执行如上所示实施例中任一实施例的优化图形密度分布的版图生成方法。According to the method provided in the embodiments of the present application, the present application also provides a computer program product, which includes: computer program code, when the computer program code is run on a computer, the computer executes the layout generation method for optimizing graphic density distribution in any of the embodiments shown above.

根据本申请实施例提供的方法,本申请还提供一种计算机可读存储介质,该计算机可读存储介质存储有程序代码,当该程序代码在计算机上运行时,使得该计算机执行如上所示实施例中任一实施例的优化图形密度分布的版图生成方法。According to the method provided in the embodiments of the present application, the present application also provides a computer-readable storage medium, which stores a program code. When the program code is run on a computer, the computer executes a layout generation method for optimizing graphic density distribution in any of the embodiments shown above.

在本说明书中使用的术语“部件”、“模块”、“系统”等用于表示计算机相关的实体、硬件、固件、硬件和软件的组合、软件、或执行中的软件。例如,部件可以是但不限于,在处理器上运行的进程、处理器、对象、可执行文件、执行线程、程序和/或计算机。通过图示,在计算设备上运行的应用和计算设备都可以是部件。一个或多个部件可驻留在进程和/或执行线程中,部件可位于一个计算机上和/或分布在2个或更多个计算机之间。此外,这些部件可从在上面存储有各种数据结构的各种计算机可读介质执行。部件可例如根据具有一个或多个数据分组(例如来自与本地系统、分布式系统和/或网络间的另一部件交互的二个部件的数据,例如通过信号与其它系统交互的互联网)的信号通过本地和/或远程进程来通信。The terms "component", "module", "system", etc. used in this specification are used to represent computer-related entities, hardware, firmware, a combination of hardware and software, software, or software in execution. For example, a component can be, but is not limited to, a process, a processor, an object, an executable file, an execution thread, a program and/or a computer running on a processor. By way of illustration, both applications and computing devices running on a computing device can be components. One or more components may reside in a process and/or an execution thread, and a component may be located on a computer and/or distributed between two or more computers. In addition, these components may be executed from various computer-readable media having various data structures stored thereon. Components may, for example, communicate through local and/or remote processes according to signals having one or more data packets (e.g., data from two components interacting with another component between a local system, a distributed system and/or a network, such as the Internet interacting with other systems through signals).

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各种说明性逻辑块(Illustrative Logical Block)和步骤(Step),能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art will appreciate that the various illustrative logical blocks and steps described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

在上述实施例中,各功能单元的功能可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。计算机程序产品包括一个或多个计算机指令(程序)。在计算机上加载和执行计算机程序指令(程序)时,全部或部分地产生按照本申请实施例的流程或功能。计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(Digital Subscriber Line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,高密度数字视频光盘(Digital Video Disc,DVD)、或者半导体介质(例如固态硬盘(Solid State Disk,SSD)等。In the above embodiments, the functions of each functional unit can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions (programs). When the computer program instructions (programs) are loaded and executed on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (Digital Subscriber Line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media integrated. Available media may be magnetic media (e.g., floppy disks, hard disks, tapes), optical media (e.g., high-density digital video discs (DVDs), or semiconductor media (e.g., solid state disks (SSDs)).

功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can essentially or in other words, the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, and other media that can store program codes.

以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

综上所述,本申请提供优化图形密度分布的版图生成方法、装置、介质、程序产品及终端,本申请提供了一种更加灵活高效的版图生成方案,通过均衡化网格填充的方案,将原始曲线版图进行网格化,并填充空白网格,综合考虑周围版图图形,成功实现了对复杂曲线和不面规形状版图的有效填充。本申请在提高版图密度的同时,大大改善了版图的密度分布,确保了填充的均匀性,避免了由于填充不均造成的CMP效果不佳的问题。此外,本申请同时适用于曼哈顿版图和曲面版图,具备快速便捷的操作特性,并有效提高了版图利用率、设计效率和版图性能。所以,本申请有效克服了现有技术中的种种缺点而具高度产业利用价值。In summary, the present application provides a layout generation method, device, medium, program product and terminal for optimizing the distribution of graphic density. The present application provides a more flexible and efficient layout generation scheme. The original curve layout is gridded by a balanced grid filling scheme, and blank grids are filled. The surrounding layout graphics are comprehensively considered, and the effective filling of complex curves and irregular shape layouts is successfully achieved. While improving the layout density, the present application greatly improves the density distribution of the layout, ensures the uniformity of the filling, and avoids the problem of poor CMP effect caused by uneven filling. In addition, the present application is applicable to both Manhattan layouts and curved layouts, has fast and convenient operating characteristics, and effectively improves layout utilization, design efficiency and layout performance. Therefore, the present application effectively overcomes the various shortcomings in the prior art and has a high industrial utilization value.

上述实施例仅例示性说明本申请的原理及其功效,而非用于限制本申请。任何熟悉此技术的人士皆可在不违背本申请的精神及范畴下,对上述实施例进行修饰或改变。因此,举凡所属技术领域中具有通常知识者在未脱离本申请所揭示的精神与技术思想下所完成的一切等效修饰或改变,仍应由本申请的权利要求所涵盖。The above embodiments are merely illustrative of the principles and effects of the present application and are not intended to limit the present application. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed in the present application shall still be covered by the claims of the present application.

Claims (10)

1. A layout generation method for optimizing density distribution of a graphic, the method comprising:
Obtaining an original layout and a minimum distance between patterns, wherein the original layout comprises one or more layout patterns; generating a layout forbidden region corresponding to the original layout based on the minimum distance between the figures and all the layout figures;
performing square gridding on the original layout, traversing each grid, judging the overlapping relation between each grid and the layout forbidden area, and marking the grids which are not overlapped with the layout forbidden area to generate one or more marked grids;
Filling each marking grid according to a preset filling rule to generate filling grids; and merging the filling grids with the original layout to generate a graph density optimization layout.
2. The layout generation method for optimizing a density distribution of a graphic according to claim 1, wherein the process of generating a layout exclusion area corresponding to the original layout based on a minimum pitch between the graphics and all the graphics of the layout comprises:
Generating an outer frame of a minimum area surrounding each layout graph according to the limit coordinate values of the upper, lower, left and right of the graph;
expanding the border outside each minimum area in a direction far away from the center of the corresponding layout graph by taking the minimum distance between the graphs as a distance so as to generate a forbidden area of the corresponding layout graph;
Merging the forbidden areas of all the layout graphs to generate a layout forbidden area.
3. The layout generating method for optimizing density distribution of a graphic according to claim 2, comprising: the minimum area outline includes: circular, oval, polygonal, irregular, or any combination thereof.
4. The layout generating method for optimizing density distribution of a graphic according to claim 1, wherein the process of filling each of the marker grids according to a preset filling rule to generate a filling grid comprises:
traversing each marking grid, performing the following operations: circularly traversing a preset direction set by taking the current marking grid as a center, and searching a layout figure closest to each preset direction; overlapping the searched layout graphs in a mode of aligning center points to generate graphs to be filled corresponding to the current marking grids; and scaling the graph to be filled so that the scaled graph to be filled does not exceed the grid boundary of the current marking grid, and filling the scaled graph to be filled into the current marking grid to generate a filling grid.
5. The layout generation method for optimizing a density distribution of a graphic according to claim 4, wherein the preset direction set comprises: upper, lower, left, right.
6. The layout generation method of claim 4, wherein the step of circularly traversing a set of predetermined directions, and searching for a layout pattern closest to the predetermined direction for each direction further comprises: if the layout pattern is not found in the current preset direction, skipping the current preset direction, and continuing to traverse the next preset direction in the preset direction set.
7. A layout generating apparatus for optimizing density distribution of a graphic, comprising:
A forbidden zone generation module: the method is used for obtaining an original layout and a minimum distance between patterns, wherein the original layout comprises one or more layout patterns; generating a layout forbidden region corresponding to the original layout based on the minimum distance between the figures and all the layout figures;
Grid marking module: the method comprises the steps of performing square gridding on the original layout, traversing each grid, judging the overlapping relation between each grid and the layout forbidden area, and marking grids which are not overlapped with the layout forbidden area to generate one or more marked grids;
And a filling optimization module: filling each marking grid according to a preset filling rule to generate filling grids; and merging the filling grids with the original layout to generate a graph density optimization layout.
8. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the layout generation method of optimizing a density distribution of a graphic according to any one of claims 1 to 6.
9. A computer program product comprising computer program code which, when run on a computer, causes the computer to implement a layout generation method of optimizing a density distribution of a graphic according to any of claims 1 to 6.
10. An electronic terminal comprising a memory, a processor and a computer program stored on the memory, wherein the processor executes the computer program to implement the layout generation method of optimizing a density distribution of a graphic according to any one of claims 1 to 6.
CN202411204926.2A 2024-08-30 2024-08-30 Layout generation method, device, medium, program product and terminal for optimizing graph density distribution Active CN118709635B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411204926.2A CN118709635B (en) 2024-08-30 2024-08-30 Layout generation method, device, medium, program product and terminal for optimizing graph density distribution

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411204926.2A CN118709635B (en) 2024-08-30 2024-08-30 Layout generation method, device, medium, program product and terminal for optimizing graph density distribution

Publications (2)

Publication Number Publication Date
CN118709635A true CN118709635A (en) 2024-09-27
CN118709635B CN118709635B (en) 2025-03-07

Family

ID=92818654

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202411204926.2A Active CN118709635B (en) 2024-08-30 2024-08-30 Layout generation method, device, medium, program product and terminal for optimizing graph density distribution

Country Status (1)

Country Link
CN (1) CN118709635B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119575772A (en) * 2025-02-10 2025-03-07 华芯程(杭州)科技有限公司 Method, device, medium, program product and terminal for generating a collection of curve mask test patterns

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102385656A (en) * 2011-10-31 2012-03-21 中国科学院微电子研究所 Method for filling redundant metal in integrated circuit layout and integrated circuit
CN103902789A (en) * 2014-04-22 2014-07-02 上海华力微电子有限公司 Filling method of redundant graphs
CN106649894A (en) * 2015-10-28 2017-05-10 北京华大九天软件有限公司 Method for quickly generating device array in integrated circuit layout
CN110765727A (en) * 2019-10-17 2020-02-07 上海华力集成电路制造有限公司 Filling method of layout graph
WO2023015663A1 (en) * 2021-08-13 2023-02-16 长鑫存储技术有限公司 Virtual pattern filling method and semiconductor device layout
CN115983182A (en) * 2022-12-29 2023-04-18 上海集成电路装备材料产业创新中心有限公司 Chip layout redundancy filling method, device and equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102385656A (en) * 2011-10-31 2012-03-21 中国科学院微电子研究所 Method for filling redundant metal in integrated circuit layout and integrated circuit
CN103902789A (en) * 2014-04-22 2014-07-02 上海华力微电子有限公司 Filling method of redundant graphs
CN106649894A (en) * 2015-10-28 2017-05-10 北京华大九天软件有限公司 Method for quickly generating device array in integrated circuit layout
CN110765727A (en) * 2019-10-17 2020-02-07 上海华力集成电路制造有限公司 Filling method of layout graph
WO2023015663A1 (en) * 2021-08-13 2023-02-16 长鑫存储技术有限公司 Virtual pattern filling method and semiconductor device layout
CN115983182A (en) * 2022-12-29 2023-04-18 上海集成电路装备材料产业创新中心有限公司 Chip layout redundancy filling method, device and equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
卢普生;李雪;范忠;吕冬琴;李天真;张立夫;: "一种能提高DRC友好性和CMP形貌的冗余金属填充方法", 中国集成电路, no. 06, 26 September 2011 (2011-09-26), pages 84 - 87 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119575772A (en) * 2025-02-10 2025-03-07 华芯程(杭州)科技有限公司 Method, device, medium, program product and terminal for generating a collection of curve mask test patterns
CN119575772B (en) * 2025-02-10 2025-05-23 华芯程(杭州)科技有限公司 Method, device and medium for generating a collection of curve mask test patterns

Also Published As

Publication number Publication date
CN118709635B (en) 2025-03-07

Similar Documents

Publication Publication Date Title
US10867100B2 (en) Integrated circuit designing system
US6412102B1 (en) Wire routing optimization
CN114970439B (en) Automatic wiring method, apparatus, computer device, and storage medium
Ding et al. Pin accessibility-driven detailed placement refinement
CN118395935B (en) Standard cell size adjustment method, device and computer equipment
KR102478753B1 (en) Power grid healing techniques
CN118709635A (en) Layout generation method, device, medium, program product and terminal for optimizing pattern density distribution
US7960836B2 (en) Redundant micro-loop structure for use in an integrated circuit physical design process and method of forming the same
US9165103B1 (en) Methods, systems, and articles of manufacture for tessellating and labeling routing space for routing electronic designs
CN117688894B (en) Chip layout optimization method, device, computer equipment and storage medium
JP2004252717A (en) Method and device for designing semiconductor integrated circuit, data structure of cell library, and automatic layout program
CN120297221A (en) A method, device, equipment and storage medium for cutting layout and layout file
US20240265183A1 (en) Air bridge layout method and apparatus in circuit layout, device, medium, and product
KR100491773B1 (en) Graphic processing system
JPH11102380A (en) Graphic processing method, graphic processing apparatus, and recording medium
CN116402008B (en) Layout construction method, system, medium and equipment for quantum chip frequency control line
CN118734785A (en) Multi-layer curve layout correction method, device, terminal, medium and program product
WO2024244338A1 (en) Method and apparatus for generating chip layout, computer device, and storage medium
US8181143B2 (en) Method and apparatus for generating a memory-efficient representation of routing data
US8132141B2 (en) Method and apparatus for generating a centerline connectivity representation
CN116484791A (en) Methods, devices and media for graphic generation
CN116127898A (en) Layout automatic layout hole method, device and terminal equipment
CN116205194A (en) Method, apparatus and medium for graphics generation
CN116362190A (en) Interactive layout planning method and related equipment for chip design
CN115145565A (en) A method and device for data visualization large-screen layout based on rule engine

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant