层次结构和get_supply_nets命令
get_supply_nets命令用于查找指定作用域内指定电源网络的逻辑网络名称。图48和以下代码示例展示了如何使用get_supply_nets命令在层次化级别之间建立电源网络连接。
图48 使用get_supply_nets的层次化电源连接
create_power_domain PDY -scope L1 -elements {L1}
create_supply_net SN1 -domain L1/PDY
create_supply_port L1/L2/L3/P1
set n [get_supply_nets SN1 -domain L1/PDY -scope L1/L2]
connect_supply_net $n -ports {L1/L2/L3/P1}