clearLogicConstants()
This commit is contained in:
parent
2451c897da
commit
370b4787aa
|
|
@ -1052,6 +1052,9 @@ public:
|
||||||
// Propagate liberty constant functions and pins tied high/low through
|
// Propagate liberty constant functions and pins tied high/low through
|
||||||
// combinational logic and registers.
|
// combinational logic and registers.
|
||||||
void findLogicConstants();
|
void findLogicConstants();
|
||||||
|
// Clear the constants found by findLogicConstants so they do not interfere
|
||||||
|
// with normal constant propagate for timing.
|
||||||
|
void clearLogicConstants();
|
||||||
|
|
||||||
// Iterator for instances sorted by max driver pin slew.
|
// Iterator for instances sorted by max driver pin slew.
|
||||||
// Caller owns iterator and iterator->container().
|
// Caller owns iterator and iterator->container().
|
||||||
|
|
|
||||||
|
|
@ -569,6 +569,7 @@ Sim::findLogicConstants()
|
||||||
enqueueConstantPinInputs();
|
enqueueConstantPinInputs();
|
||||||
setConstFuncPins();
|
setConstFuncPins();
|
||||||
propagateConstants(true);
|
propagateConstants(true);
|
||||||
|
valid_ = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
||||||
|
|
@ -3447,9 +3447,16 @@ Sta::simLogicValue(const Pin *pin)
|
||||||
void
|
void
|
||||||
Sta::findLogicConstants()
|
Sta::findLogicConstants()
|
||||||
{
|
{
|
||||||
|
ensureGraph();
|
||||||
sim_->findLogicConstants();
|
sim_->findLogicConstants();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
Sta::clearLogicConstants()
|
||||||
|
{
|
||||||
|
sim_->clear();
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
Sta::setPortExtPinCap(Port *port,
|
Sta::setPortExtPinCap(Port *port,
|
||||||
const RiseFallBoth *rf,
|
const RiseFallBoth *rf,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue