语法:tcl_synopsys
这是本文档旧的修订版!
目录
tcl for synopsys
这个tcl是只用于snps的tcl环境,其它家可能不能用。
1. filter expression
1.1 表达式匹配 expression
get_cells * -filter "full_name =~ *abc*" # 这个例子是获取full_name与*abc*相匹配的cells
filter可以使用如下的表达式
1.2 attribute function match
2. lsc
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;
3. cc
list get_attribute object_list attribute_name [-bus] [-quiet] [-return_null_values]
proc cc {coll} { foreach_in_collection item $coll { puts [get_attribute $item full_name] } } # 用于将coll list打印为行形式。 cc [get_cells]
语法/tcl_synopsys.1749986380.txt.gz · 最后更改: 2025/06/15 19:19 由 user01