diff --git a/common/kernel/report.cc b/common/kernel/report.cc index 917740b9..7fe0bf74 100644 --- a/common/kernel/report.cc +++ b/common/kernel/report.cc @@ -79,7 +79,11 @@ static Json::array json_report_critical_paths(const Context *ctx) auto segmentJson = Json::object({{"delay", Json::array({minDelay, maxDelay})}, {"from", fromJson}, {"to", toJson}}); - if (segment.type == CriticalPath::Segment::Type::CLK_TO_Q) { + if (segment.type == CriticalPath::Segment::Type::CLK2CLK) { + segmentJson["type"] = "clk-to-clk"; + } else if (segment.type == CriticalPath::Segment::Type::CLK_SKEW) { + segmentJson["type"] = "clk-skew"; + } else if (segment.type == CriticalPath::Segment::Type::CLK_TO_Q) { segmentJson["type"] = "clk-to-q"; } else if (segment.type == CriticalPath::Segment::Type::SOURCE) { segmentJson["type"] = "source";