From af35dfb929183ac8c3d9df76cbc5606d18056ed1 Mon Sep 17 00:00:00 2001 From: James Cherry Date: Fri, 23 Sep 2022 17:49:48 -0700 Subject: [PATCH] paths output ports respect sta_input_port_default_clock Signed-off-by: James Cherry --- search/VisitPathEnds.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/search/VisitPathEnds.cc b/search/VisitPathEnds.cc index 5735f5a5..0e487f88 100644 --- a/search/VisitPathEnds.cc +++ b/search/VisitPathEnds.cc @@ -344,6 +344,7 @@ VisitPathEnds::visitOutputDelayEnd1(OutputDelay *output_delay, // but the exception may be -to clk. ExceptionPath *exception = exceptionTo(path, pin, end_rf, tgt_clk_edge, min_max); + ClockEdge *src_clk_edge = path->clkEdge(this); if (exception && exception->isPathDelay()) { PathDelay *path_delay = dynamic_cast(exception); @@ -351,7 +352,11 @@ VisitPathEnds::visitOutputDelayEnd1(OutputDelay *output_delay, visitor->visit(&path_end); is_constrained = true; } - else if (tgt_clk_edge + else if (src_clk_edge + && (search_->checkDefaultArrivalPaths() + || src_clk_edge + != sdc_->defaultArrivalClockEdge()) + && tgt_clk_edge && sdc_->sameClockGroup(path->clock(this), tgt_clk_edge->clock()) // False paths and path delays override. && (exception == nullptr