diff --git a/CMakeLists.txt b/CMakeLists.txt index bf2fe384..7115c790 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 ) diff --git a/include/sta/Clock.hh b/include/sta/Clock.hh index d38c65ee..33d48898 100644 --- a/include/sta/Clock.hh +++ b/include/sta/Clock.hh @@ -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 diff --git a/include/sta/Sdc.hh b/include/sta/Sdc.hh index 5bea0c9f..03dd6513 100644 --- a/include/sta/Sdc.hh +++ b/include/sta/Sdc.hh @@ -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_; } diff --git a/include/sta/Sta.hh b/include/sta/Sta.hh index b7e78efe..3c0a3377 100644 --- a/include/sta/Sta.hh +++ b/include/sta/Sta.hh @@ -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. diff --git a/sdc/Clock.cc b/sdc/Clock.cc index 51a991a5..04cf3bbb 100644 --- a/sdc/Clock.cc +++ b/sdc/Clock.cc @@ -699,9 +699,4 @@ sortClockSet(ClockSet *set, sort(clks, ClockNameLess()); } -ClockPinIterator::ClockPinIterator(Clock *clk) : - PinSet::Iterator(clk->pins()) -{ -} - } // namespace diff --git a/sdc/Sdc.cc b/sdc/Sdc.cc index ea1de829..9d2839b1 100644 --- a/sdc/Sdc.cc +++ b/sdc/Sdc.cc @@ -1240,12 +1240,6 @@ Sdc::findClocksMatching(PatternMatch *pattern, } } -ClockIterator * -Sdc::clockIterator() -{ - return new ClockIterator(clocks_); -} - void Sdc::sortedClocks(ClockSeq &clks) { diff --git a/search/Sta.cc b/search/Sta.cc index f2798042..10a76a1b 100644 --- a/search/Sta.cc +++ b/search/Sta.cc @@ -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. diff --git a/tcl/Cmds.tcl b/tcl/Cmds.tcl index c4beb0b2..91548b66 100644 --- a/tcl/Cmds.tcl +++ b/tcl/Cmds.tcl @@ -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.