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 ClkHpinDisable;
|
||||||
class FindClkHpinDisables;
|
class FindClkHpinDisables;
|
||||||
class Corner;
|
class Corner;
|
||||||
class ClockGroupIterator;
|
|
||||||
class GroupPathIterator;
|
class GroupPathIterator;
|
||||||
class ClockPinIterator;
|
class ClockPinIterator;
|
||||||
class ClockIterator;
|
class ClockIterator;
|
||||||
|
|
@ -476,7 +475,6 @@ public:
|
||||||
// Clocks explicitly excluded by set_clock_group.
|
// Clocks explicitly excluded by set_clock_group.
|
||||||
bool sameClockGroupExplicit(const Clock *clk1,
|
bool sameClockGroupExplicit(const Clock *clk1,
|
||||||
const Clock *clk2);
|
const Clock *clk2);
|
||||||
ClockGroupIterator *clockGroupIterator();
|
|
||||||
void setClockSense(PinSet *pins,
|
void setClockSense(PinSet *pins,
|
||||||
ClockSet *clks,
|
ClockSet *clks,
|
||||||
ClockSense sense);
|
ClockSense sense);
|
||||||
|
|
@ -1392,7 +1390,6 @@ protected:
|
||||||
private:
|
private:
|
||||||
friend class WriteSdc;
|
friend class WriteSdc;
|
||||||
friend class FindNetCaps;
|
friend class FindNetCaps;
|
||||||
friend class ClockGroupIterator;
|
|
||||||
friend class GroupPathIterator;
|
friend class GroupPathIterator;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -1407,17 +1404,6 @@ private:
|
||||||
friend class Sdc;
|
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
|
class GroupPathIterator : public GroupPathMap::Iterator
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
|
||||||
18
sdc/Sdc.cc
18
sdc/Sdc.cc
|
|
@ -1932,12 +1932,6 @@ Sdc::makeClockGroup(ClockGroups *clk_groups,
|
||||||
clk_groups->makeClockGroup(clks);
|
clk_groups->makeClockGroup(clks);
|
||||||
}
|
}
|
||||||
|
|
||||||
ClockGroupIterator *
|
|
||||||
Sdc::clockGroupIterator()
|
|
||||||
{
|
|
||||||
return new ClockGroupIterator(clk_groups_name_map_);
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
Sdc::ensureClkGroupExclusions()
|
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::GroupPathIterator(Sdc *sdc) :
|
||||||
GroupPathIterator(sdc->group_path_map_)
|
GroupPathIterator(sdc->group_path_map_)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -946,9 +946,8 @@ ClockGroupLess::operator()(const ClockGroup *clk_group1,
|
||||||
void
|
void
|
||||||
WriteSdc::writeClockGroups() const
|
WriteSdc::writeClockGroups() const
|
||||||
{
|
{
|
||||||
ClockGroupIterator groups_iter(sdc_);
|
for (auto name_groups : sdc_->clk_groups_name_map_) {
|
||||||
while (groups_iter.hasNext()) {
|
ClockGroups *clk_groups = name_groups.second;
|
||||||
ClockGroups *clk_groups = groups_iter.next();
|
|
||||||
writeClockGroups(clk_groups);
|
writeClockGroups(clk_groups);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue