Sdc::ensureClkGroupExclusions check if necessary

Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
James Cherry 2024-03-07 10:20:18 -07:00
parent 1740c894b4
commit 4363175149
1 changed files with 4 additions and 2 deletions

View File

@ -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