用户工具

站点工具


语法:tcl_synopsys

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录前一修订版
后一修订版
前一修订版
语法:tcl_synopsys [2025/06/15 19:19] – [1.1 表达式匹配 expression] user01语法:tcl_synopsys [2026/10/15 21:29] (当前版本) – 外部编辑 127.0.0.1
行 1: 行 1:
-====== tcl for synopsys ======+# tcl for synopsys
 这个tcl是只用于snps的tcl环境,其它家可能不能用。 这个tcl是只用于snps的tcl环境,其它家可能不能用。
  
-===== - filter expression ===== +## - filter expression 
-==== - 表达式匹配 expression ====+### - 表达式匹配 expression
  
-<code tcl>+```tcl
 get_cells * -filter "full_name =~ *abc*" get_cells * -filter "full_name =~ *abc*"
 # 这个例子是获取full_name与*abc*相匹配的cells # 这个例子是获取full_name与*abc*相匹配的cells
-</code> +```
-filter可以使用如下的表达式\\ +
-{{:edastudy:pasted:20230608-084822.png?nolink}}+
  
 +filter可以使用如下的表达式\
 +![:edastudy:pasted:20230608-084822.png](:edastudy:pasted:20230608-084822.png?nolink)
  
-==== - attribute function match ==== + 
-<code tcl>+### - attribute function match 
 + 
 +```tcl
 get_cells * -filter "defined(full_name)" get_cells * -filter "defined(full_name)"
 # 这个例子是获取所有define了full_name属性的cells # 这个例子是获取所有define了full_name属性的cells
-</code> +```
-{{:edastudy:pasted:20230608-084915.png}}+
  
 +![:edastudy:pasted:20230608-084915.png](:edastudy:pasted:20230608-084915.png?nolink)
  
-===== - lsc ===== 
  
-<code tcl>+## - lsc 
 + 
 +```tcl
 set fp [open "abc.log" w]; set fp [open "abc.log" w];
  
行 32: 行 35:
  
 close $fp; close $fp;
 +```
  
-</code> 
  
  
-===== - cc =====+## - cc
  
-<code tcl>+```tcl
  
 list get_attribute list get_attribute
行 46: 行 49:
     [-quiet]     [-quiet]
     [-return_null_values]     [-return_null_values]
 +```
 +
  
-</code> 
  
  
-<code tcl>+```tcl
 proc cc {coll} { foreach_in_collection item $coll { puts [get_attribute $item full_name] } } proc cc {coll} { foreach_in_collection item $coll { puts [get_attribute $item full_name] } }
  
 # 用于将coll list打印为行形式。 # 用于将coll list打印为行形式。
 cc [get_cells] cc [get_cells]
 +```
  
-</code> 
语法/tcl_synopsys.1749986380.txt.gz · 最后更改: (外部编辑)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki