Skip to content

Commit

Permalink
Merge pull request The-OpenROAD-Project#3776 from The-OpenROAD-Projec…
Browse files Browse the repository at this point in the history
…t-staging/gui-cts-viewer-skip-virtual

gui: skip virtual clocks in the clock tree viewer
  • Loading branch information
maliberty authored Aug 3, 2023
2 parents 771a260 + 1298d0c commit 72f6333
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/gui/src/clockWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1350,6 +1350,9 @@ void ClockWidget::populate()
stagui.setCorner(corner_box_->currentData().value<sta::Corner*>());

for (auto& tree : stagui.getClockTrees()) {
if (!tree->getNet()) { // skip virtual clocks
continue;
}
auto* view = new ClockTreeView(tree.release(), &stagui, logger_, this);
views_.emplace_back(view);
clocks_tab_->addTab(view, view->getClockName());
Expand Down

0 comments on commit 72f6333

Please sign in to comment.