mirror of
https://github.com/The-OpenROAD-Project/OpenSTA.git
synced 2026-09-06 17:21:05 +02:00
Merge remote-tracking branch 'parallax/master'
This commit is contained in:
+1
-1
@@ -1132,7 +1132,7 @@ LibertyCell::isClockGateLatchPosedge() const
|
||||
bool
|
||||
LibertyCell::isClockGateLatchNegedge() const
|
||||
{
|
||||
return clock_gate_type_ == ClockGateType::latch_posedge;
|
||||
return clock_gate_type_ == ClockGateType::latch_negedge;
|
||||
}
|
||||
|
||||
bool
|
||||
|
||||
@@ -602,8 +602,8 @@ LibertyReader::defineScalingFactorVisitors()
|
||||
string attr_name;
|
||||
stringPrint(attr_name, "k_%s_%s_%s",
|
||||
pvt_name,
|
||||
tr_name,
|
||||
type_name);
|
||||
type_name,
|
||||
tr_name);
|
||||
defineAttrVisitor(attr_name.c_str(),&LibertyReader::visitScaleFactorHiLow);
|
||||
}
|
||||
}
|
||||
|
||||
+6
-3
@@ -1331,12 +1331,15 @@ Power::findLeakagePower(const Instance *inst,
|
||||
cell_leakage *= duty;
|
||||
}
|
||||
// Ignore unconditional leakage unless there are no conditional leakage groups.
|
||||
if (found_cond)
|
||||
if (found_cond) {
|
||||
leakage = cond_leakage;
|
||||
if (cell_leakage_exists)
|
||||
leakage += cell_leakage;
|
||||
}
|
||||
else if (found_uncond)
|
||||
leakage = uncond_leakage;
|
||||
if (cell_leakage_exists)
|
||||
leakage += cell_leakage;
|
||||
else if (cell_leakage_exists)
|
||||
leakage = cell_leakage;
|
||||
debugPrint(debug_, "power", 2, "leakage %s %.3e",
|
||||
cell->name(),
|
||||
leakage);
|
||||
|
||||
Reference in New Issue
Block a user