CheckCrpr::findCrpr resolves orfs1253
Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
parent
9550c99f0c
commit
091d69385e
|
|
@ -221,18 +221,21 @@ CheckCrpr::findCrpr(const Path *src_clk_path,
|
|||
int level_diff = src_level - tgt_level;
|
||||
if (level_diff >= 0) {
|
||||
src_clk_path2 = src_clk_path2->prevPath();
|
||||
if (src_clk_path2 == nullptr)
|
||||
if (src_clk_path2 == nullptr
|
||||
|| src_clk_path2->isNull())
|
||||
break;
|
||||
src_level = src_clk_path2->vertex(this)->level();
|
||||
}
|
||||
if (level_diff <= 0) {
|
||||
tgt_clk_path2 = tgt_clk_path2->prevPath();
|
||||
if (tgt_clk_path2 == nullptr)
|
||||
if (tgt_clk_path2 == nullptr
|
||||
|| tgt_clk_path2->isNull())
|
||||
break;
|
||||
tgt_level = tgt_clk_path2->vertex(this)->level();
|
||||
}
|
||||
}
|
||||
if (src_clk_path2 && tgt_clk_path2
|
||||
if (src_clk_path2 && !src_clk_path2->isNull()
|
||||
&& tgt_clk_path2 && !tgt_clk_path2->isNull()
|
||||
&& (src_clk_path2->transition(this) == tgt_clk_path2->transition(this)
|
||||
|| same_pin)) {
|
||||
debugPrint(debug_, "crpr", 2, "crpr pin %s",
|
||||
|
|
|
|||
Loading…
Reference in New Issue