flush ClockGroupIterator
Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
parent
baa887ce58
commit
576611fe68
|
|
@ -50,7 +50,6 @@ class FindNetCaps;
|
|||
class ClkHpinDisable;
|
||||
class FindClkHpinDisables;
|
||||
class Corner;
|
||||
class ClockGroupIterator;
|
||||
class GroupPathIterator;
|
||||
class ClockPinIterator;
|
||||
class ClockIterator;
|
||||
|
|
@ -476,7 +475,6 @@ public:
|
|||
// Clocks explicitly excluded by set_clock_group.
|
||||
bool sameClockGroupExplicit(const Clock *clk1,
|
||||
const Clock *clk2);
|
||||
ClockGroupIterator *clockGroupIterator();
|
||||
void setClockSense(PinSet *pins,
|
||||
ClockSet *clks,
|
||||
ClockSense sense);
|
||||
|
|
@ -1392,7 +1390,6 @@ protected:
|
|||
private:
|
||||
friend class WriteSdc;
|
||||
friend class FindNetCaps;
|
||||
friend class ClockGroupIterator;
|
||||
friend class GroupPathIterator;
|
||||
};
|
||||
|
||||
|
|
@ -1407,17 +1404,6 @@ private:
|
|||
friend class Sdc;
|
||||
};
|
||||
|
||||
class ClockGroupIterator : public ClockGroupsNameMap::Iterator
|
||||
{
|
||||
public:
|
||||
ClockGroupIterator(Sdc *sdc);
|
||||
|
||||
private:
|
||||
ClockGroupIterator(ClockGroupsNameMap &clk_groups_name_map);
|
||||
|
||||
friend class Sdc;
|
||||
};
|
||||
|
||||
class GroupPathIterator : public GroupPathMap::Iterator
|
||||
{
|
||||
public:
|
||||
|
|
|
|||
18
sdc/Sdc.cc
18
sdc/Sdc.cc
|
|
@ -1932,12 +1932,6 @@ Sdc::makeClockGroup(ClockGroups *clk_groups,
|
|||
clk_groups->makeClockGroup(clks);
|
||||
}
|
||||
|
||||
ClockGroupIterator *
|
||||
Sdc::clockGroupIterator()
|
||||
{
|
||||
return new ClockGroupIterator(clk_groups_name_map_);
|
||||
}
|
||||
|
||||
void
|
||||
Sdc::ensureClkGroupExclusions()
|
||||
{
|
||||
|
|
@ -6011,18 +6005,6 @@ ClockIterator::ClockIterator(ClockSeq &clocks) :
|
|||
|
||||
////////////////////////////////////////////////////////////////
|
||||
|
||||
ClockGroupIterator::ClockGroupIterator(Sdc *sdc) :
|
||||
ClockGroupsNameMap::Iterator(sdc->clk_groups_name_map_)
|
||||
{
|
||||
}
|
||||
|
||||
ClockGroupIterator::ClockGroupIterator(ClockGroupsNameMap &clk_groups_name_map) :
|
||||
ClockGroupsNameMap::Iterator(clk_groups_name_map)
|
||||
{
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////
|
||||
|
||||
GroupPathIterator::GroupPathIterator(Sdc *sdc) :
|
||||
GroupPathIterator(sdc->group_path_map_)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -946,9 +946,8 @@ ClockGroupLess::operator()(const ClockGroup *clk_group1,
|
|||
void
|
||||
WriteSdc::writeClockGroups() const
|
||||
{
|
||||
ClockGroupIterator groups_iter(sdc_);
|
||||
while (groups_iter.hasNext()) {
|
||||
ClockGroups *clk_groups = groups_iter.next();
|
||||
for (auto name_groups : sdc_->clk_groups_name_map_) {
|
||||
ClockGroups *clk_groups = name_groups.second;
|
||||
writeClockGroups(clk_groups);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue