Tuesday 12 July 2016

Power Switch cells and strategy in Power aware design and UPF


Overview:
  • Power Switch cells are used for Power distribution in Power aware design. 
  • These are typically inserted by Placement and routing tool (i.e ICC).
  • To let tool insert a PSW cells in the design , At RTL stage user needs to define Power switch strategy in UPF using create_power_switch command.

Types of Power switch cells:

Depending on liberty attribute:

1. Fine grain :
  • Liberty attribute : switch_cell_type : fine_grain;

2. Coarse grain :
  • Liberty attribute : switch_cell_type : coarse_grain;


Depending on Power/Ground Routing:

1. Header switch :
  • This is for routing Power Net. PMOS is used for constructing this type of PSW cells as PMOS is good to pass logic 1 .

2. Footer switch :
  • This is for routing Ground Net. NMOS is used for constructing this type of PSW cells as NMOS is good to pass logic 1 .

Example: 

UPF:

create_power_switch sw_1 -domain TOP
-output_supply_port {psw_out VDD_PSW}
-input_supply_port {psw_in VDD}
-control_port {ctrl_psw sw_en}
-on_state {PSW_on vin { ctrl_psw }}
-off_state {PSW_off { ! ctrl_psw}}




2 comments:

  1. Hi Ravin,

    Thanks for the post on create_power_switch.

    Can you let me know understanding and answer to my below queries


    Create_power_switch command does not take library cell name unlike any other UPF command.

    1) in RTL stage if no instance is created then how does next stages like Synthesis/Formality/PNR treat this command ???
    Assume all these next stages are depending on UPF to tell which cell model to use.

    2) If RTL is has power switch cell defined along with cell model,
    how does next stages Synthesis/formality/PNR treat this command?
    Assume UPF has this definition, then what is the purpose of this command?


    Thanks
    vikram

    ReplyDelete
    Replies
    1. Hi Vikram,

      1) If there is no switch cell available PNR toll will place switch cell .
      2) If cell is already their, tool just have to check the consistency check between actual cell placed and what is required as per UPF power switch command.

      Thanks,
      Ravin

      Delete