Product Documentation
Virtuoso Power Manager User Guide
Product Version IC23.1, June 2023

Exporting Liberty Power Model

You can export the power intent specified for the design as a Liberty power model template file with the non-characterized attributes for pg_pin and pin groups of a library or cell, such as related_power_pin, related_ground_pin, pg_type, direction, is_isolated, isolation_enable_condition, switch_pin, pg_function, switch_function, and so on.

To export power intent from a design:

  1. Open the cellview in the Power Manager.
  2. Prepare the setup for automatic extraction. For more details about how to prepare the setup, refer to Setup for Automatic Extraction of Power Intent.
  3. Load the setup from the Power Manager toolbar/menu.
  4. Click Power ManagerExtract from Design.
  5. Click Power ManagerExport Liberty Model.
    The Export Liberty Model Form form appears. The library, cell, and view names of the cellview that is currently open are displayed by default in the form.
  6. In the Liberty File field, specify the path and the name of the file for exporting the Liberty power model.
  7. Select the Overwrite Existing File check box to overwrite the file.
  8. Click OK.
vpmExportDotLib has been provided to export the Liberty power model information for a cellview.

Liberty power model is the power intent at the macro model level, for complex design blocks. This can also be referred as a black box model of the power characteristics of a complex design block or a hard IP. Power Manager helps in automatically extracting the power intent from the design schematic and exporting the low power attributes to a Liberty Power Model template. It can be further integrated while extracting the power intent of the top design. The Exported Liberty Power Model, having the PG attributes can be stitched to the baseline Liberty model from an IP characterization tool to generate a complete liberty file for schematic IP ready for verification and implementation.

While creating the Liberty power model for a macro cell, the following tasks are performed:

The Liberty power model also enables creation of analog ports. Analog ports are a list of ports of a macro cell or a design that either drive the analog circuits or are driven by them. In a Liberty power model, a port is considered an analog port in the following cases: Ports identified as analog ports have the attribute associated with them.
####################################################################
/*
 Liberty Power Model Template (Section 1)
 =============================
 library              : upf_export;
 cell                 : top;
 Program Version      : sub-version  IC6.1.8-64b.main.174 ;
*/
##################(Section 2)###################################################
library(upf_export) {
 date                 : "Wed Mar  6 18:02:38 2019 ";
 comment              : "Generated by Virtuoso Power Manager";
 voltage_unit         : "1V";
 voltage_map( VDD , 1.100000);
 voltage_map( VDDA , 1.300000);
 voltage_map( VDDSW , 1.100000);
 voltage_map( VSS , 0.000000);
#####################(Section 3)################################################
 cell(top)  {
  switch_cell_type     : fine_grain;
  is_macro_cell        : true;
  pg_pin(VDD)  {
   voltage_name         : VDD;
   pg_type              : primary_power;
   direction            : inout;
  } 
  pg_pin(VDDA)  {
   voltage_name         : VDDA;
   pg_type              : primary_power;
   direction            : inout;
  } 
  pg_pin(VSS)  {
   voltage_name         : VSS;
   pg_type              : primary_ground;
   direction            : inout;
  } 
  pg_pin(VDDSW)  {
   switch_function      : "psw_en";
   voltage_name         : VDDSW;
   pg_function          : VDD;
   pg_type              : internal_power;
   direction            : internal;
  }
######################################################
  pin(en_iso)  {
   related_ground_pin   : VSS;
   related_power_pin    : VDD;
   direction            : input;
  } 
  pin(in1)  {
   related_ground_pin   : VSS;
   related_power_pin    : VDD;
   direction            : input;
  } 
  pin(out1)  {
   power_down_function  : "!VDD + VSS";
   related_ground_pin   : VSS;
   related_power_pin    : VDD;
   direction            : output;
  } 
  pin(out_iso)  {
   is_isolated          : true;
   power_down_function  : "!VDD + VSS";
   related_ground_pin   : VSS;
   related_power_pin    : VDD;
   isolation_enable_condition : "en_iso";
   direction            : output;
  } 
  pin(out_psw)  {
   power_down_function  : "!VDD + VSS";
   related_ground_pin   : VSS;
   related_power_pin    : VDD;
   direction            : output;
  } 
  pin(outvdd)  {
   power_down_function  : "!VDD + VSS";
   related_ground_pin   : VSS;
   related_power_pin    : VDD;
   direction            : output;
  } 
  pin(psw_en)  {
   antenna_diode_related_ground_pins : "VSS";
   switch_pin           : true;
   related_ground_pin   : VSS;
   related_power_pin    : VDD;
   direction            : input;
  } 
 } /* end of cell top */
} /* end of library upf_export */

The following points explain the different sections of the exported Liberty power model:

For more information on the 1801 commands, refer to Liberty User Guides and Reference Manual Suite (Version 2017.06).

Related Topics

Setup for Automatic Extraction of Power Intent

vpmExportDotLib

Extracting the Power Intent from a Design

Creation of Power Domains

Exporting 1801 Design Model

Exporting 1801 Power Model

Special Isolation Cells in Liberty Power Model Export


Return to top
 ⠀
X