[Calibre command] Coincident (inside/outside) edge
本文最后更新于82 天前,其中的信息可能已经过时,如有错误请发送邮件到daoshilaoqi@qq.com

这个指令非常常用,这次将会同时学习coincident edge, coincident inside edge 和coincident outside edge

一、Overview

Type: layer operation

Purpose:

  1. coin edge: 选择与layer2 重合的边(edges)或者部分边(edges)
  2. coin inside edge: 选择与layer2的一条边重合且具有相同内侧的边或部分边。
  3. 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

  1. layer 1: original layer或layer set,或者derived polygon,以及edge layer。
  2. 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 nameDescriptionOpValue
O_GATE.L.1the min length of (PO and OD) in channel length direction.>=2
O_GATE.L.2the max length of (PO and OD) in channel length direction.<=8
O_GATE.L.3the min length of (PO and OD) in channel width direction.>=10
O_GATE.L.4the 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。

作者:ZLS
版权声明: 本博客所有文章除特别声明外,均采用CC BY-NC-SA 4.0协议
转载请注明文章地址及作者哦~
上一篇
下一篇