Skip to content

Individual cells report milliwatts of power consumption, which is unrealistic #201

@oharboe

Description

@oharboe

Based on The-OpenROAD-Project/OpenROAD#6320

Using 8797ac5

untar https://drive.google.com/file/d/126aoQX3H5yGygy5jZhv3YidaH8IszD6L/view?usp=sharing

./run-me-fs-mul-mod-q-asap7-base.sh

Outputs:

./run-me-fs-mul-mod-q-asap7-base.sh 
+ sta -no_init power.tcl
OpenSTA 2.6.0 8797ac5add Copyright (c) 2024, Parallax Software, Inc.
License GPLv3: GNU GPL version 3 <http://gnu.org/licenses/gpl.html>

This is free software, and you are free to change and redistribute it
under certain conditions; type `show_copying' for details. 
This program comes with ABSOLUTELY NO WARRANTY; for details type `show_warranty'.
Warning: /home/oyvind/OpenROAD-flow-scripts/foo/platforms/asap7/lib/NLDM/asap7sc7p5t_SIMPLE_RVT_FF_nldm_211120.lib.gz line 13178, timing group from output port.
[deleted more of the same]
read_verilog ./results/asap7/fs-mul-mod-q/base/6_final.v
read_verilog /home/oyvind/OpenROAD-flow-scripts/foo/platforms/asap7/verilog/stdcell/empty.v
link_design fs_mul_mod_q_wrapper
read_sdc ./results/asap7/fs-mul-mod-q/base/6_final.sdc
read_spef ./results/asap7/fs-mul-mod-q/base/6_final.spef
report_clock_properties 
Clock                   Period          Waveform
----------------------------------------------------
clk                    2850.00        0.00   1425.00
report_units 
 time 1ps
 capacitance 1fF
 resistance 1kohm
 voltage 1v
 current 1mA
 power 1pW
 distance 1um
report_power 
Group                  Internal  Switching    Leakage      Total
                          Power      Power      Power      Power (Watts)
----------------------------------------------------------------
Sequential             4.65e-04   7.67e-06   3.04e-08   4.73e-04   0.3%
Combinational          6.96e-02   7.49e-02   2.05e-06   1.45e-01  99.6%
Clock                  8.88e-05   4.72e-05   9.05e-09   1.36e-04   0.1%
Macro                  0.00e+00   0.00e+00   0.00e+00   0.00e+00   0.0%
Pad                    0.00e+00   0.00e+00   0.00e+00   0.00e+00   0.0%
----------------------------------------------------------------
Total                  7.01e-02   7.50e-02   2.09e-06   1.45e-01 100.0%
                          48.3%      51.7%       0.0%
report_power -instances _28554_
   Internal  Switching    Leakage      Total
      Power      Power      Power      Power (Watts)
--------------------------------------------
   1.20e-04   1.95e-04   2.12e-10   3.16e-04 _28554_
get_property [get_pins _28554_/A] activity
4.18642e+10 0.561 propagated
get_property [get_pins _28554_/Y] activity
4.18642e+10 0.561 propagated
sta [~/OpenROAD-flow-scripts/foo]

To run in OpenROAD GUI, run:

. vars-fs-mul-mod-q-asap7-base.sh
ODB_FILE=results/asap7/fs-mul-mod-q/base/6_final.odb openroad -no_init -gui scripts/open.tcl

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions