diff --git a/src/gui/src/staGui.cpp b/src/gui/src/staGui.cpp index 65dab42afc3..ac7770f5a96 100644 --- a/src/gui/src/staGui.cpp +++ b/src/gui/src/staGui.cpp @@ -328,14 +328,21 @@ QVariant TimingPathDetailModel::data(const QModelIndex& index, int role) const } const auto& node = nodes_->at(start_idx); + float time = node->getArrival(); + float delay = node->getArrival() - nodes_->at(0)->getArrival(); + + if (sta_->isIdealClock(node->getPinAsSTA())) { + time = 0.0f; + delay = 0.0f; + } + switch (col_index) { case Pin: return "clock network delay"; case Time: - return convertDelay(node->getArrival(), time_units); + return convertDelay(time, time_units); case Delay: - return convertDelay(node->getArrival() - nodes_->at(0)->getArrival(), - time_units); + return convertDelay(delay, time_units); default: return QVariant(); }