rm deprecated code

This commit is contained in:
James Cherry 2020-07-18 09:13:17 -07:00
parent 1c8f1ec9fc
commit 305a9bbf70
8 changed files with 1 additions and 106 deletions

View File

@ -24,7 +24,7 @@ if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.14)
cmake_policy(SET CMP0086 NEW)
endif()
project(STA VERSION 2.1.0
project(STA VERSION 2.2.0
LANGUAGES CXX
)

View File

@ -294,12 +294,4 @@ void
sortClockSet(ClockSet * set,
ClockSeq &clks);
// Clock source pins.
class ClockPinIterator : public PinSet::Iterator
{
public:
// Use range iterator on Clock::pins().
ClockPinIterator(Clock *clk) __attribute__ ((deprecated));
};
} // namespace

View File

@ -824,7 +824,6 @@ public:
// Find the clocks defined for pin.
ClockSet *findClocks(const Pin *pin) const;
ClockSet *findLeafPinClocks(const Pin *pin) const;
ClockIterator *clockIterator() __attribute__ ((deprecated));
void sortedClocks(ClockSeq &clks);
ClockSeq *clocks() { return &clocks_; }
ClockSeq &clks() { return clocks_; }

View File

@ -292,17 +292,8 @@ public:
void removeClock(Clock *clk);
// Update period/waveform for generated clocks from source pin clock.
void updateGeneratedClks();
// Use Sdc::findClock
Clock *findClock(const char *name) const __attribute__ ((deprecated));
// Use findClocksMatching.
void findClocksMatching(PatternMatch *pattern,
ClockSeq *clks) const __attribute__ ((deprecated));
// Use Sdc::clockIterator.
ClockIterator *clockIterator() const __attribute__ ((deprecated));
// True if pin is defined as a clock source (pin may be hierarchical).
bool isClockSrc(const Pin *pin) const;
// Use Sdc::defaultArrivalClock.
Clock *defaultArrivalClock() const __attribute__ ((deprecated));
// Propagated (non-ideal) clocks.
void setPropagatedClock(Clock *clk);
void removePropagatedClock(Clock *clk);
@ -873,42 +864,6 @@ public:
bool removal,
bool clk_gating_setup,
bool clk_gating_hold);
PathEndSeq *reportTiming(ExceptionFrom *from,
ExceptionThruSeq *thrus,
ExceptionTo *to,
// Use corner nullptr to report timing
// for all corners.
const Corner *corner,
// max for setup checks.
// min for hold checks.
// min_max for setup and hold checks.
const MinMaxAll *min_max,
// Number of path ends to report in
// each group.
int group_count,
// Number of paths to report for
// each endpoint.
int endpoint_count,
// endpoint_count paths report unique pins
// without rise/fall variations.
bool unique_pins,
// Min/max bounds for slack of
// returned path ends.
float slack_min,
float slack_max,
// Sort path ends by slack ignoring path groups.
bool sort_by_slack,
// Path groups to report.
// Null or empty list reports all groups.
PathGroupNameSet *group_names,
// Predicates to filter the type of path
// ends returned.
bool setup,
bool hold,
bool recovery,
bool removal,
bool clk_gating_setup,
bool clk_gating_hold) __attribute__ ((deprecated));
void setReportPathFormat(ReportPathFormat format);
void setReportPathFieldOrder(StringSeq *field_names);
void setReportPathFields(bool report_input_pin,
@ -947,7 +902,6 @@ public:
void delaysInvalid();
// Invalidate all arrival and required times.
void arrivalsInvalid();
void setPathMinMax(const MinMaxAll *min_max) __attribute__ ((deprecated));
void visitStartpoints(VertexVisitor *visitor);
void visitEndpoints(VertexVisitor *visitor);
// Find the fanin vertices for a group path.

View File

@ -699,9 +699,4 @@ sortClockSet(ClockSet *set,
sort(clks, ClockNameLess());
}
ClockPinIterator::ClockPinIterator(Clock *clk) :
PinSet::Iterator(clk->pins())
{
}
} // namespace

View File

@ -1240,12 +1240,6 @@ Sdc::findClocksMatching(PatternMatch *pattern,
}
}
ClockIterator *
Sdc::clockIterator()
{
return new ClockIterator(clocks_);
}
void
Sdc::sortedClocks(ClockSeq &clks)
{

View File

@ -1102,37 +1102,12 @@ Sta::removeClock(Clock *clk)
search_->arrivalsInvalid();
}
Clock *
Sta::findClock(const char *name) const
{
return sdc_->findClock(name);
}
void
Sta::findClocksMatching(PatternMatch *pattern,
ClockSeq *clks) const
{
sdc_->findClocksMatching(pattern, clks);
}
ClockIterator *
Sta::clockIterator() const
{
return new ClockIterator(sdc_);
}
bool
Sta::isClockSrc(const Pin *pin) const
{
return sdc_->isClock(pin);
}
Clock *
Sta::defaultArrivalClock() const
{
return sdc_->defaultArrivalClock();
}
void
Sta::setPropagatedClock(Clock *clk)
{
@ -2427,11 +2402,6 @@ Sta::setCmdCorner(Corner *corner)
cmd_corner_ = corner;
}
void
Sta::setPathMinMax(const MinMaxAll *)
{
}
////////////////////////////////////////////////////////////////
// from/thrus/to are owned and deleted by Search.

View File

@ -45,15 +45,6 @@ proc report_clock1 { clk } {
}
}
proc_redirect read_parasitics {
variable native
if { $native } {
sta_warn "The read_parasitics command is deprecated. Use read_spef."
}
eval [concat read_spef $args]
}
proc check_setup_cmd { cmd cmd_args } {
parse_key_args $cmd cmd_args keys {} flags {-verbose} 0
# When nothing is everything.