⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 listratt.il

📁 skill语言在Cadence平台二次开发中大量使用
💻 IL
字号:
/* This is an example of how to lists all RatT locations. 

################################################################################
#                                                                              #
#                      Command: listratt                                       #
#                   Skill File: listratt.il                                    #
#                  How To Load: Command> (load("listratt.il"))                 #
#               How To Execute: Command> listratt                              #
#                                                                              #
#                                                                              #
#                       Author: Larry Bowman, Cadence Design Systems           #
#                        Email: bowman@cadence.com                             #
#                    Telephone: 512-349-1109                                   #
#                Creation Date: 2/19/2003                                      #
#                                                                              #
#                                                                              #
#      This program will generate a list of all Rat T names,                   #
#      Rat T X-Y locations and their associated net names.                     #
#                                                                              #
################################################################################



################################################################################
#  DISCLAIMER:                                                                 #
#       The user of this command assumes all responsibility and does not       #
#       hold Cadence Design Systems nor the author of this code for any        #
#       unwarranted results or problems due to the use of this code.           #
#                                                                              #
#       This is non-supported code and the user may modify it as needed.       #
#                                                                              #
################################################################################
*/


axlCmdRegister("listratt" 'LCB_list_ratt)

defun(LCB_list_ratt ()

root = axlDBGetDesign()
lnets = root->nets
ratt_nets = setof(net lnets net->ratT != nil)
if(ratt_nets then
  foreach(net ratt_nets
     netname = net->name
     foreach(netratt net->ratT
       axlUIWPrint(nil "Found RatT %s at location %L for net %s"  netratt->name netratt->xy netname)
     ); end foreach
  ); end foreach
else
 axlUIWPrint(nil "** No RatT's Found. **")
); endif

); end defun

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -