From 43631751490235d4fd4c6a05cac39cefcb5e912a Mon Sep 17 00:00:00 2001 From: James Cherry Date: Thu, 7 Mar 2024 10:20:18 -0700 Subject: [PATCH] Sdc::ensureClkGroupExclusions check if necessary Signed-off-by: James Cherry --- sdc/Sdc.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sdc/Sdc.cc b/sdc/Sdc.cc index 2f345a13..4770bdae 100644 --- a/sdc/Sdc.cc +++ b/sdc/Sdc.cc @@ -1908,8 +1908,10 @@ Sdc::makeClockGroup(ClockGroups *clk_groups, void Sdc::ensureClkGroupExclusions() { - for (auto name_clk_groups : clk_groups_name_map_) - makeClkGroupExclusions(name_clk_groups.second); + if (clk_group_exclusions_.empty()) { + for (auto name_clk_groups : clk_groups_name_map_) + makeClkGroupExclusions(name_clk_groups.second); + } } void