×

Slew rate based power usage simulation and method

  • US 5,625,803 A
  • Filed: 12/14/1994
  • Issued: 04/29/1997
  • Est. Priority Date: 12/14/1994
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for simulating power consumption of an electronic circuit having a plurality of circuit elements, where each said circuit element is an instance of a library cell selected from a predefined set of library cells, said method comprising the steps of:

  • (a) providing a transistor-level netlist of a cell to be characterized, said cell having an input and an output, said cell comprising one of said set of library cells;

    (b) determining a power dissipation profile for said cell by modelling at said transistor-level power dissipated by said cell in response to input waveforms applied to said input of said cell for a plurality of input slew rate and output load combinations, wherein said input slew rate is a signal transition rate associated with said input waveforms and said output load is a capacitive load driven from said output;

    said determining step including, when said cell is capable of assuming more than one internal logic state, a plurality of power dissipation profiles corresponding to a plurality of internal logic states for said cell;

    (c) characterizing each said power dissipation profile for said cell with a plurality of power coefficients representing power dissipation for said cell as function of said slew rate and said output load;

    (d) executing steps (a)-(c) for each of said cells comprising said circuit;

    (e) precomputing for each circuit element an input slew rate and an output load;

    (f) precomputing for each circuit element a power factor corresponding to each of said power dissipation profiles for the library cell corresponding to said each circuit element, each said power factor being computed as a function of said power coefficients for the corresponding power dissipation profile, said precomputed input slew rate and said precomputed output load;

    (g) simulating the logic and timing behavior of said circuit for a specified time period so as to generate data representing simulated signal transitions at computed times in said circuit;

    (h) for each said simulated signal transition, storing a power factor for each circuit element, if any, that receives said simulated signal transition, wherein the power factor stored is the one of said precomputed power factors for said circuit element corresponding to said circuit element'"'"'s simulated state, if any, just prior to said simulated signal transition;

    wherein said characterization of said cell constituted as a single-stage device further comprises the steps of;

    (i) measuring a first power (P1) corresponding to a first input ramp (IR1) in a fast ramp region and a first output load (LOAD1) in a low load region, wherein said fast ramp region defines a part of said power dissipation profile where, for a constant output load, power dissipated by said cell is relatively independent of input ramp;

    (j) measuring a second power (P2) corresponding to a second input ramp (IR2) in said fast ramp region and said first output load (LOAD1);

    (k) measuring a third power (P3) corresponding to said first input ramp (IR1) and a second output load (LOAD2) in a high load region;

    (l) measuring a fourth power (P4) corresponding to a fourth input ramp (IR4) from a slow ramp region and an output load in said low load region, wherein said slow ramp region defines a part of said power dissipation profile where, for a constant output load, power dissipated by said cell increases as said input ramp increases;

    (m) determining a critical input ramp (CIR) for said power dissipation profile, where said CIR is a curve separating said fast ramp and said slow ramp regions of said power dissipation probe;

    (n) computing a first coefficient (D) as follows;

    D=(P2-P1)/(IR2-IR1);

    (o) computing a second coefficient (B) as follows;

    B=(P3-P1)/(LOAD3-LOAD1);

    (p) computing a third coefficient (A) as follows;

    A=P3-B*LOAD3-D*IR1; and

    (q) computing a fourth coefficient (E) as follows;

    E=((P4-P1)-D*CIR)/(IR4-CIR)such that, given an input ramp, an output load; and

    a state of said cell, a measure of dynamic and static power dissipated by said cell as a result of a pin-pair transition on said input and said output of said cell can be determined according to the following formula;

    
    
    space="preserve" listing-type="equation">P=A+B*LOAD+D*min(IR, CIR)+E*max(0,IR-CIR),which approximates said power dissipation profile in a piecewise linear fashion, said approximation consisting of a first line segment having a first slope defining said fast ramp region and a second line segment having a second slope defining said slow ramp region, said first line segment and said second line segment intersecting at a single point located on said CIR.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×