rm deprecated code
This commit is contained in:
parent
1c8f1ec9fc
commit
305a9bbf70
|
|
@ -24,7 +24,7 @@ if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.14)
|
||||||
cmake_policy(SET CMP0086 NEW)
|
cmake_policy(SET CMP0086 NEW)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
project(STA VERSION 2.1.0
|
project(STA VERSION 2.2.0
|
||||||
LANGUAGES CXX
|
LANGUAGES CXX
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -294,12 +294,4 @@ void
|
||||||
sortClockSet(ClockSet * set,
|
sortClockSet(ClockSet * set,
|
||||||
ClockSeq &clks);
|
ClockSeq &clks);
|
||||||
|
|
||||||
// Clock source pins.
|
|
||||||
class ClockPinIterator : public PinSet::Iterator
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
// Use range iterator on Clock::pins().
|
|
||||||
ClockPinIterator(Clock *clk) __attribute__ ((deprecated));
|
|
||||||
};
|
|
||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
|
||||||
|
|
@ -824,7 +824,6 @@ public:
|
||||||
// Find the clocks defined for pin.
|
// Find the clocks defined for pin.
|
||||||
ClockSet *findClocks(const Pin *pin) const;
|
ClockSet *findClocks(const Pin *pin) const;
|
||||||
ClockSet *findLeafPinClocks(const Pin *pin) const;
|
ClockSet *findLeafPinClocks(const Pin *pin) const;
|
||||||
ClockIterator *clockIterator() __attribute__ ((deprecated));
|
|
||||||
void sortedClocks(ClockSeq &clks);
|
void sortedClocks(ClockSeq &clks);
|
||||||
ClockSeq *clocks() { return &clocks_; }
|
ClockSeq *clocks() { return &clocks_; }
|
||||||
ClockSeq &clks() { return clocks_; }
|
ClockSeq &clks() { return clocks_; }
|
||||||
|
|
|
||||||
|
|
@ -292,17 +292,8 @@ public:
|
||||||
void removeClock(Clock *clk);
|
void removeClock(Clock *clk);
|
||||||
// Update period/waveform for generated clocks from source pin clock.
|
// Update period/waveform for generated clocks from source pin clock.
|
||||||
void updateGeneratedClks();
|
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).
|
// True if pin is defined as a clock source (pin may be hierarchical).
|
||||||
bool isClockSrc(const Pin *pin) const;
|
bool isClockSrc(const Pin *pin) const;
|
||||||
// Use Sdc::defaultArrivalClock.
|
|
||||||
Clock *defaultArrivalClock() const __attribute__ ((deprecated));
|
|
||||||
// Propagated (non-ideal) clocks.
|
// Propagated (non-ideal) clocks.
|
||||||
void setPropagatedClock(Clock *clk);
|
void setPropagatedClock(Clock *clk);
|
||||||
void removePropagatedClock(Clock *clk);
|
void removePropagatedClock(Clock *clk);
|
||||||
|
|
@ -873,42 +864,6 @@ public:
|
||||||
bool removal,
|
bool removal,
|
||||||
bool clk_gating_setup,
|
bool clk_gating_setup,
|
||||||
bool clk_gating_hold);
|
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 setReportPathFormat(ReportPathFormat format);
|
||||||
void setReportPathFieldOrder(StringSeq *field_names);
|
void setReportPathFieldOrder(StringSeq *field_names);
|
||||||
void setReportPathFields(bool report_input_pin,
|
void setReportPathFields(bool report_input_pin,
|
||||||
|
|
@ -947,7 +902,6 @@ public:
|
||||||
void delaysInvalid();
|
void delaysInvalid();
|
||||||
// Invalidate all arrival and required times.
|
// Invalidate all arrival and required times.
|
||||||
void arrivalsInvalid();
|
void arrivalsInvalid();
|
||||||
void setPathMinMax(const MinMaxAll *min_max) __attribute__ ((deprecated));
|
|
||||||
void visitStartpoints(VertexVisitor *visitor);
|
void visitStartpoints(VertexVisitor *visitor);
|
||||||
void visitEndpoints(VertexVisitor *visitor);
|
void visitEndpoints(VertexVisitor *visitor);
|
||||||
// Find the fanin vertices for a group path.
|
// Find the fanin vertices for a group path.
|
||||||
|
|
|
||||||
|
|
@ -699,9 +699,4 @@ sortClockSet(ClockSet *set,
|
||||||
sort(clks, ClockNameLess());
|
sort(clks, ClockNameLess());
|
||||||
}
|
}
|
||||||
|
|
||||||
ClockPinIterator::ClockPinIterator(Clock *clk) :
|
|
||||||
PinSet::Iterator(clk->pins())
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
|
||||||
|
|
@ -1240,12 +1240,6 @@ Sdc::findClocksMatching(PatternMatch *pattern,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ClockIterator *
|
|
||||||
Sdc::clockIterator()
|
|
||||||
{
|
|
||||||
return new ClockIterator(clocks_);
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
Sdc::sortedClocks(ClockSeq &clks)
|
Sdc::sortedClocks(ClockSeq &clks)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1102,37 +1102,12 @@ Sta::removeClock(Clock *clk)
|
||||||
search_->arrivalsInvalid();
|
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
|
bool
|
||||||
Sta::isClockSrc(const Pin *pin) const
|
Sta::isClockSrc(const Pin *pin) const
|
||||||
{
|
{
|
||||||
return sdc_->isClock(pin);
|
return sdc_->isClock(pin);
|
||||||
}
|
}
|
||||||
|
|
||||||
Clock *
|
|
||||||
Sta::defaultArrivalClock() const
|
|
||||||
{
|
|
||||||
return sdc_->defaultArrivalClock();
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
Sta::setPropagatedClock(Clock *clk)
|
Sta::setPropagatedClock(Clock *clk)
|
||||||
{
|
{
|
||||||
|
|
@ -2427,11 +2402,6 @@ Sta::setCmdCorner(Corner *corner)
|
||||||
cmd_corner_ = corner;
|
cmd_corner_ = corner;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
Sta::setPathMinMax(const MinMaxAll *)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
// from/thrus/to are owned and deleted by Search.
|
// from/thrus/to are owned and deleted by Search.
|
||||||
|
|
|
||||||
|
|
@ -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 } {
|
proc check_setup_cmd { cmd cmd_args } {
|
||||||
parse_key_args $cmd cmd_args keys {} flags {-verbose} 0
|
parse_key_args $cmd cmd_args keys {} flags {-verbose} 0
|
||||||
# When nothing is everything.
|
# When nothing is everything.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue