Cadence Skill 论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 4140|回复: 3

[求助] 请问怎么获取via所在net的名字?

[复制链接]
发表于 2015-9-14 14:19:04 | 显示全部楼层 |阅读模式
via_dbid->parent->objType
=>branch
via_dbid->parent->parent
=>nil
说明书中有一句
Table 2-4  Branch Attributes
Attribute Name Type Description
Also includes generic object and figure attributes
children l_dbid List of dbids of the objects that make up branch:
paths, tees, vias, pins and shapes
objType string Type of object, in this case “branch”
parent dbid Always nil
但是查询via是能看到归属的net的
发表于 2015-9-14 18:14:49 | 显示全部楼层
怎么搞那么复杂。直接用下面一句获取:
viaDbid->net->name
 楼主| 发表于 2015-9-14 18:18:09 | 显示全部楼层
vivienluo 发表于 2015-9-14 18:14
怎么搞那么复杂。直接用下面一句获取:
viaDbid->net->name

这。。。。原来这么简单。。。。。。
我想了好多好多的方法。。。。
结果死在死循环这出不来了。。。
发表于 2015-9-14 18:20:08 | 显示全部楼层
leilei4908 发表于 2015-9-14 18:18
这。。。。原来这么简单。。。。。。
我想了好多好多的方法。。。。
结果死在死循环这出不来了。。。

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|网站地图|Cadence Skill 论坛 ( 蜀ICP备13024417号 )

GMT+8, 2024-5-16 16:47 , Processed in 0.132102 second(s), 15 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表