1. Introduction

    Verifying the low power intent of the design using SV assertions is not straightforward because of the fact that there is disconnect between the traditional RTL and low power objects. Users can not access and manipulate the low power object in the same way as they do for RTL. Low power concepts are abstract and the sources which form the low power information are varied e.g. UPF, HDL and Liberty. Various tool vendors provide tool-generated low power assertions to dynamically verify the design.

    Often these tool generated assertions do not suffice the user’s need and there is a requirement for additional checks. Users have also adopted varies ad-hoc approaches to write assertions in a checker module. One of these approaches is to access the low power objects using UPF commands and bind these checker modules into the design.2

    However, as these checkers are written and compiled along with the design, they have to undergo the whole simulation process. Even a simple task of adding more assertions involves re-iteration of whole low power simulation flow which is highly time inefficient specially when the simulations are run for larger SOCs.

    Low power information model was introduced in UPF 3.0 which allows users to access and manipulate the low power objects. Once the handle of low power objects is available, a lot of operations can be performed on them.

    In this paper we are going to demonstrate with the help of relevant examples and case studies that how we can leverage UPF 3.0 information model TCL query functions (aka Tcl Apps) and tool provided CLI commands to do low power checking of the design. This is an innovative way of dynamically verifying the low power intent after the simulation has completed and all the waveforms are available. The paper also explains how users can write their own checker TCL procedures for a specific scenario.

    Power Intent Specification and Basic Concepts of UPF

    IEEE Std 1801™-2015 Unified Power Format (UPF) allows designers to specify the power intent of the design. It is based on Tcl and provides concepts and commands which are necessary to describe the power management requirements for IPs or complete SoCs. A power intent specification in UPF is used throughout the design flow; however, it may be refined at various steps in the design cycle. Some of the important concepts and terminology used in power intent specification are the following:

    1. Power Domain: A collection of HDL module instances and/or library cells that are treated as a group for power management purposes. The instances of a power domain typically, but do not always, share a primary supply set and typically are all in the same power state at a given time. This group of instances is referred to as the extent of a power domain.
    2. Power State: The state of a supply net, supply port, supply set, or power domain. It is an abstract representation of the voltage and current characteristics of a power supply, and also an abstract representation of the operating mode of the elements of a power domain or of a module instance (e.g., on, off, sleep).
    3. Isolation Cell: An instance that passes logic values during normal mode operation and clamps its output to some specified logic value when a control signal is asserted. It is required when the driving logic supply is switched off while the receiving logic supply is still on.
    4. Level Shifter: An instance that translates signal values from an input voltage swing to a different output voltage swing.
    5. Hard Macro: A block that has been completely implemented and can be used as it is in other blocks. This can be modeled by a hardware description language (HDL) module for verification or as a library cell for implementation.
    6. Retention: Enhanced functionality associated with selected sequential elements or a memory such that memory values can be preserved during the power-down state of the primary supplies.

    UPF 3.0 Low Power Information Model

    UPF 3.0 has come up with the concept of an information model to represent the low power objects and concepts in a structured and consistent manner. This information model captures the low power management information. This is the result of application of low power UPF concepts and commands on the designs. It consists of a set of objects and various information-bearing properties defined for those objects. It also defines the relationship between the HDL and UPF. It provides a set of well-defined APIs to query the low power information in either Tcl or in HDL.

  2. Download Paper