rm ClkInfo::crprClkPin

This commit is contained in:
James Cherry 2020-09-17 20:00:56 -07:00
parent 26e457636d
commit bdfbaac2e6
2 changed files with 2 additions and 14 deletions

View File

@ -59,10 +59,7 @@ public:
// crpr resolution.
PathVertexRep &crprClkPath() { return crpr_clk_path_; }
const PathVertexRep &crprClkPath() const { return crpr_clk_path_; }
const Pin *crprClkPin(const StaState *sta) const;
// Much faster than crprClkPin.
VertexId crprClkVertexId() const;
// Much faster than crprClkPin != nullptr
bool hasCrprClkPin() const { return !crpr_clk_path_.isNull(); }
bool refsFilter(const StaState *sta) const;
// This clk_info/tag is used for a generated clock source path.

View File

@ -129,8 +129,8 @@ ClkInfo::asString(const StaState *sta) const
str += network->pathName(clk_src_);
}
const Pin *crpr_clk_pin = crprClkPin(sta);
if (crpr_clk_pin) {
if (!crpr_clk_path_.isNull()) {
const Pin *crpr_clk_pin = crpr_clk_path_.vertex(sta)->pin();
str += " crpr_pin ";
str += network->pathName(crpr_clk_pin);
}
@ -161,15 +161,6 @@ ClkInfo::pulseClkSense() const
return nullptr;
}
const Pin *
ClkInfo::crprClkPin(const StaState *sta) const
{
if (!crpr_clk_path_.isNull())
return crpr_clk_path_.vertex(sta)->pin();
else
return nullptr;
}
bool
ClkInfo::refsFilter(const StaState *sta) const
{