SVRF Statement Syntax Conventions SVRF语法语句约束
- Parameter Order 参数顺序
- Case sensitivity 大小写敏感区分
- Literal keywords versus variable parameters 原文关键字和变量的特征
- White space considerations 空白区域考虑(不太明白这个是是什么意思)
- Reserved keywords 保留关键字
- Reserved symbols 保留符号
语法语句举例
1.DRC Maximum Results
Purpose: Specifies the maximum number of results per RuleCheck Specifies the maximum number of results per RuleCheck Specifies the maximum number of results per RuleCheck written to the DRC results database
Syntax: DRC MAXIMUM RESULTS {maxresults | ALL}
(语法语句)
Primary keywords in a statement may not be interchanged. (原始定义的关键词在语句中的顺序是不能调换的,是固定的顺序)
Enclosed within the { } braces is a list of required parameters.The vertical bar indicates an either / or choice between items.
(在大括号内包括一个所需参数列表,单竖线| 代表这个参数是一个可选的选择)
Parameters: maxresults ——— non non---negative integer that specifies the negative integer that specifies the maximum number of DRC results maximum number of DRC results
ALL ALL ——— specifies unlimited count of DRC results specifies unlimited count of DRC results
Example: DRC MAXIMUM RESULTS all
(所有的语法语句的都是不区分大小写的 ALL == all ,但是除了cellname filename netname )
2.DRC Summary Report
Purpose: Specifies the DRC summary report filename and method in which it is written report.(指定DRC 结果的路径)
Syntax: DRC SUMMARY REPORT filename [REPLACE | APPEND][HIER]
Parameters:
Example: DRC SUMMARY REPORT “../drc_report” HIER
3. AND
Purpose: Selects all polygon regions common to one or more polygons
Syntax: AND layer0 [constraint] //single-layer AND
AND layer1 layer2 //two-layer AND
Parameters: 在有些操作中,参数的顺序是灵活的,例如下面四句得到的是同样的结果,但是layer 层的连接性会有不同。
Example: AND metal poly
metal AND poly
poly AND metal
metal poly AND
4.Perpendicular
Purpose: 测量直角边
Syntax: INTERNAL layer1 layer2 constraint[NOT] PERPENDICULAR [ONLY|ALSO]
You must order the words within a secondary keyword as shown in the syntax for the statement. For example, the following three statements are valid:
关键字和语句是语法中固定顺序的,ONLY 是指定只测量垂直边,ALSO 是 指定测量垂直的边另外还有其他方向的垂直边。
Specifies to measure only perpendicular edges. You cannotuse this keyword and a keyword from the other orientation_filter subsets in the same ENClosure operation. (PERPENDICULAR ONLY)
Specifies to measure perpendicular edges in addition to other orienations. (PERPENDICULAR ALSO)
INTERNAL metal < 5 PERPENDICULAR ONLY
INTERNAL metal < 5 PERPENDICULAR ALSO
INTERNAL metal poly < 5 NOT PERP
However, the following statement is invalid:
INTERNAL metal < 5 ONLY PERPENDICULAR
Parameters: ONLY --- Measures only perpendicular edges
Example: