本文最后更新于82 天前,其中的信息可能已经过时,如有错误请发送邮件到daoshilaoqi@qq.com
这个指令非常常用,这次将会同时学习coincident edge, coincident inside edge 和coincident outside edge
一、Overview
Type: layer operation
Purpose:
- coin edge: 选择与layer2 重合的边(edges)或者部分边(edges)
- coin inside edge: 选择与layer2的一条边重合且具有相同内侧的边或部分边。
- coin outside edge: 选择与layer2的一条边重合但具有相反内侧的边或部分边。
二、Usage
1. COINcident EDGE layer1 layer2 / coin edge layer1 layer2
2. COINcident INside EDGE layer1 layer2 / coin in edge layer1 layer2
3. COINcident OUTside EDGE layer1 layer2 / coin out edge layer1 layer2
三、Input & parameter
- layer 1: original layer或layer set,或者derived polygon,以及edge layer。
- layer 2: original layer或layer set,或者derived polygon,以及edge layer。
四、Description
首先,是关于边(edge)的方向性问题。按照manual的说法,当两个polygon共享某部分area时,两个polygon 重合边就具有方向性。当指向面积的方向是一致的,则可以用coin inside edge 挑出来;当指向的面积方向是相反的,同理可以用coin outside edge挑出来。
五、Test cases
一般很少有直接检查重合边,重合内/外贴边的rule,都是作为其他rule的中间检查步骤,比较常见的是挑Gate的四个edge,然后再去判断Gate四个edge在channel width/length方向的length 获取其他符合rule要求的检查情况。
还有就是,如果直接判断两个layer的所有边是完全coin edge的或者drawn identically,都是通过XOR 来实现,rule的写法和drc 检查是非常灵活的。
比如,以planner 为例,我要挑出gate的四条边,然后要满足下面两条假设的rule:
Rule name | Description | Op | Value |
O_GATE.L.1 | the min length of (PO and OD) in channel length direction. | >= | 2 |
O_GATE.L.2 | the max length of (PO and OD) in channel length direction. | <= | 8 |
O_GATE.L.3 | the min length of (PO and OD) in channel width direction. | >= | 10 |
O_GATE.L.4 | the max length of (PO and OD) in channel width direction. | <= | 40 |
DRC code:
Gate = PO and OD
GATE_channel_length_edges = Gate coin inside edge OD
GATE_channel_width_edges =Gate coin inside edge PO
drc select check O_GATE.L.1 O_GATE.L.2 O_GATE.L.3 O_GATE.L.4
O_GATE.L.1 { @ comments....
LENGTH GATE_channel_length_edges < 2
}
O_GATE.L.2 { @ comments....
LENGTH GATE_channel_length_edges > 8
}
O_GATE.L.3 { @ comments....
LENGTH GATE_channel_width_edges < 10
}
O_GATE.L.4 { @ comments....
LENGTH GATE_channel_width_edges > 40
}
Test patterns:
Highlight results:
这个指令没啥好说的,比较简单。此外,在svrf中 coincident 可以缩写为coin,inside 和outside 分别可以缩写为in 和 out。