power doc
Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
parent
5824e44abf
commit
b0bd2d87a1
BIN
doc/OpenSTA.odt
BIN
doc/OpenSTA.odt
Binary file not shown.
|
|
@ -600,13 +600,16 @@ Power::evalBddActivity(DdNode *bdd,
|
|||
Cudd_RecursiveDeref(bdd_.cuddMgr(), diff);
|
||||
float var_act = var_activity.activity() * diff_duty;
|
||||
activity += var_act;
|
||||
const Clock *clk = findClk(pin);
|
||||
float clk_period = clk ? clk->period() : 1.0;
|
||||
debugPrint(debug_, "power_activity", 3, "var %s %.3e * %.3f = %.3e",
|
||||
port->name(),
|
||||
var_activity.activity() / clk_period,
|
||||
diff_duty,
|
||||
var_act / clk_period);
|
||||
if (debug_->check("power_activity", 3)) {
|
||||
const Clock *clk = findClk(pin);
|
||||
float clk_period = clk ? clk->period() : 1.0;
|
||||
debugPrint(debug_, "power_activity", 3, "var %s%s %.3e * %.3f = %.3e",
|
||||
port->name(),
|
||||
clk ? "" : " (unclocked)",
|
||||
var_activity.activity() / clk_period,
|
||||
diff_duty,
|
||||
var_act / clk_period);
|
||||
}
|
||||
}
|
||||
}
|
||||
return activity;
|
||||
|
|
|
|||
|
|
@ -271,6 +271,7 @@ proc set_power_activity { args } {
|
|||
|
||||
################################################################
|
||||
|
||||
# Deprecated 9/2024
|
||||
define_cmd_args "read_power_activities" { [-scope scope] -vcd filename }
|
||||
|
||||
proc read_power_activities { args } {
|
||||
|
|
|
|||
|
|
@ -89,6 +89,7 @@ SaifReader::read()
|
|||
// yyparse returns 0 on success.
|
||||
bool success = (::SaifParse_parse() == 0);
|
||||
gzclose(stream_);
|
||||
report_->reportLine("Annotated %zu pin activities.", annotated_pins_.size());
|
||||
return success;
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in New Issue