# UPF for low power design

I want to write simple UPF for doing power supply connection for the design. I have top level design (eg name TOP) having 6 different power supplies.I am not sure while defining domain how to use 'TOP' for individual power supplies. Eg i have power supplies A, B, C , D, E all are in the same block TOP.

for writing power supply A:

create_power_domain TOP -elements {......}
create_supply_net A -domain TOP
create_supply_net VSS -domain TOP
set_domain_supply_net TOP -primary_power_net A -primary_ground_net VSS
create_supply_port VSS -domain TOP -direction in
create_supply_port A -domain TOP -direction in

• You may use the same commands as you can have multiple power nets in a power domain. Use set_domain_supply_net to set primary power and ground nets. – across Mar 27 at 12:03