Calibre学习总结 第一章 Calibre简述
1. 1 Calibre 简介
Calibre 作为Mentor Graphics 公司出品的后端物理验证(Physical Verification)
工具,它提供了最为有效的DRC/LVS/ERC 解决方案,特别适合超大规模IC电路的物
理验证。它支持平坦化(Flat mode )和层次化(Hierarchical mode)的验证,大大缩 短了验证的过程;它高效可靠的性能已经被各大Foundry 认证,作为Tape Out 之前的 验证标准。它独有的RVE(Result ViewEnviroment)界面可以把验证错误反标到版图 工具中去,而且良好的集成环境便于用户在版图和电路图之间轻松转换,大大提高了 改错的效率。xCalibre 具有版图寄生参数抽取的功能。
1.2手册
在工作站下输入mgcdocs &命令,就可阅读Calibre的所有手册。
1.3几个常用的缩写命令
1、 SVRF---Standard Verification Rule Format(标准的检查文件)
2、 RVE---Results Viewing Environment(显示结果用的环境窗口)
3、 SVDB---Standard Verification Database (LVS results)
4、 DRC---Design Rule Checking
5、 LVS---Layout Versus Schematic
6、 ERC---Electrical Rule Checking
第二章Calibre DRC
2. 1数据准备
完成CalbireDRC需要的数据有版图数据和执行DRC检查的命令文件(Runset)。版图数
据支持GDSII、CIF、BINARY、ASCII 格式。
2.2流程图
Runset Completed Layout
Calibre DRC ASCII Report DRC Results
Locate Errors Using Calibre RVE and Layout
Correct Layout
2.3 DRC Runset File
1 基本控制,原有DRACULA的file可以用drac_cvt sourcefile targetfile命令来
转换。
(1)Calibre是一个“Edge-Based”Tool,默认错误的显示是边
Error is between these
(2)DRC 检查的结果有三种控制 Euclidean(default)、Square、Opposite。
(3)常用的几条检查规则,具体可阅读Calibre的手册
(a) Internal(内边对内边)用来检查 Width、Overlap; (b) External(外边对外边)用来检查 Space、Notch; (c) Enclosure(内边对外边)
2 一般的DRC检查文件包含以下几个部分:
(1) 运行设置,设置GDS的位置,结果文件放的位置等; (2) 层次定义,定义输入的层次;
(3) 层次运算,产生运算需要的一些中间层次; (4) 规则检查,具体对每条规则的检查;
(5) 选择控制,可以只检查某几条规则或者只检查某个单元。
3一个简单的Rule File,“ . .
. .
中部开始有关RuleCheck Results 的统计,如下:
--- RULECHECK RESULTS STATISTICS ---
RULECHECK NW_1 ................. TOTAL Result Count = 0 RULECHECK NW_2a ................ TOTAL Result Count = 0 RULECHECK NW_2b ................ TOTAL Result Count = 0 RULECHECK NW_3 ................. TOTAL Result Count = 0 RULECHECK NR_1 ................. TOTAL Result Count = 0 RULECHECK NR_2 ................. TOTAL Result Count = 0 RULECHECK NR_3 ................. TOTAL Result Count = 0 RULECHECK NR_4 ................. TOTAL Result Count = 0 RULECHECK NR_5 ................. TOTAL Result Count = 0 RULECHECK NR_6 ................. TOTAL Result Count = 0 RULECHECK NR_7 ................. TOTAL Result Count = 0 RULECHECK NR_8 ................. TOTAL Result Count = 0
如RULECHECK NR_8 ................. TOTAL Result Count = 0 表示NR_8 这条规则
检查的结果是0 个错误,具体NR_8 规则的含义要看DRC Runset File 中的定义, 检查有错的如:
RULECHECK CT_9 ................. TOTAL Result Count = 0 RULECHECK CT_10 ................ TOTAL Result Count = 0 RULECHECK CT_11 ................ TOTAL Result Count = 0 RULECHECK CT_12 ................ TOTAL Result Count = 0 RULECHECK M1_1 ................. TOTAL Result Count = 0 RULECHECK M1_2 ................. TOTAL Result Count = 1 RULECHECK M1_3&4 ............... TOTAL Result Count = 0 RULECHECK M1_5 ................. TOTAL Result Count = 0 RULECHECK M1_6 ................. TOTAL Result Count = 3 RULECHECK M2_1 ................. TOTAL Result Count = 0 RULECHECK M2_2 ................. TOTAL Result Count = 0 RULECHECK PD_M1 ................ TOTAL Result Count = 0 RULECHECK PD_M2 ................ TOTAL Result Count = 1 RULECHECK PD_M3 ................ TOTAL Result Count = 1 RULECHECK PD_M4 ................ TOTAL Result Count = 1 RULECHECK PD_M5 ................ TOTAL Result Count = 1 RULECHECK PD_M6 ................ TOTAL Result Count = 1 RULECHECK Convention_FLT_NW .... TOTAL Result Count = 0
分别是1,3,1,1,1,1 个错误,最后是错误统计:
--- SUMMARY
---
TOTAL CPU Time: 0 TOTAL REAL Time: 1
TOTAL Original Layer Geometries: 73 TOTAL DRC RuleChecks Executed: 205 TOTAL DRC Results Generated: 9
可见一共检查出9 个DRC 错误。如果没有错,则最后的TOTAL DRC Results Generated 为0。
还可以查看DRC 检查结果的数据库“drc_err”, 如下:
test_nand3 1000 NW_1
0 0 2 Jan 2 20:10:47 2004 Rule File Pathname:
Minimum width of an NW region is NW_2a
0 0 3 Jan 2 20:10:47 2004 Rule File Pathname:
Minimum space between two NW regions with the same potential is Merge if space is less than NW_2b
0 0 2 Jan 2 20:10:47 2004 Rule File Pathname:
Minimum space between two NW with different potential is NW_3 ……
Rule File Pathname: NW without N+ pick up Convention_BPMO
0 0 2 Jan 2 20:10:48 2004 Rule File Pathname: Pmos in PW
Convention_BAD_IMP
0 0 2 Jan 2 20:10:48 2004 Rule File Pathname:
AA area without any implant __RVE_ERROR_TAG2__
0 0 14 Jan 11 10:10:57 2004 M1_2 151 1 1
M1_6 154 1 000
PD_M2 197 1 0
PD_M3 198 1