跳至内容
wiki
用户工具
登录
站点工具
搜索
工具
显示页面
修订记录
导出 PDF
反向链接
最近更改
媒体管理器
网站地图
登录
>
最近更改
媒体管理器
网站地图
您在这里:
start
»
语法
»
tcl_synopsys
您的足迹:
语法:tcl_synopsys
本页面只读。您可以查看源文件,但不能更改它。如果您觉得这是系统错误,请联系管理员。
====== tcl for synopsys ====== 这个tcl是只用于snps的tcl环境,其它家可能不能用。 ===== - filter expression ===== ==== - 表达式匹配 expression ==== <code tcl> get_cells * -filter "full_name =~ *abc*" # 这个例子是获取full_name与*abc*相匹配的cells </code> filter可以使用如下的表达式\\ {{:edastudy:pasted:20230608-084822.png?nolink}} ==== - attribute function match ==== <code tcl> get_cells * -filter "defined(full_name)" # 这个例子是获取所有define了full_name属性的cells </code> {{:edastudy:pasted:20230608-084915.png?nolink}} ===== - lsc ===== <code tcl> set fp [open "abc.log" w]; foreach_in_collection tmp [get_pins -hierarchical *Q] { set tt [get_attribute [get_pins $tmp] FULL_NAME]; puts $fp $tt; } close $fp; </code> ===== - cc ===== <code tcl> list get_attribute object_list attribute_name [-bus] [-quiet] [-return_null_values] </code> <code tcl> proc cc {coll} { foreach_in_collection item $coll { puts [get_attribute $item full_name] } } # 用于将coll list打印为行形式。 cc [get_cells] </code>
语法/tcl_synopsys.txt
· 最后更改: 2025/06/15 19:19 由
user01
页面工具
显示页面
修订记录
反向链接
导出 PDF
回到顶部