list( ddGetObj( "XXXX" ) "cv" "layout" ) ; end of list for first argument
(
XXX
) ; end of pcell parameters
let(
() ; no local variables in this example
XXX
) ; end of body_of_code let
) ; end of pcDefinePCell
2.利用rodcreatepolygn实现多边形的创建,如下
pcDefinePCell(
list( ddGetObj( "XXXX" ) "cv" "layout" ) ; end of list for first argument
(
( layer string "TE")
) ; end of pcell parameters
let(
() ; no local variables in this example
rodCreatePolygon(
?name "resTop"
?cvId pcCellView
?layer layer
?pts list(0.0 0.0) (100.0 200.0) (200.0 80.0)
)
) ; end of body_of_code let
) ; end of pcDefinePCell
) ; end of pcell parameters
let(
() ; no local variables in this example
rodCreatePolygon(
?name "resTop"
?cvId pcCellView
?layer layer
?pts ptList
)
) ; end of body_of_code let
) ; end of pcDefinePCell
CIW warning:*WARNING* rodCreatePolygon: ?pts argument is not a list of points - "((0.0 0.0) (100.0 200.0) (200.0 80.0))"
*WARNING* rodCreatePolygon: command failed
因为我记得pcDefinePCell中第一个模块定义的就是用户输入(定义name、type与初始value),随之rodcreatepolygon中我引用ptList,为何会提示?pts argument is not a list of points,是格式不对么?应该怎么解决。
let(
() ; no local variables in this example
ptList=list(0:0 100:200 200:80)
rodCreatePolygon(
?name "resTop"
?cvId pcCellView
?layer layer
?pts ptList
)