rm deprecated functions

Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
James Cherry 2024-01-17 18:12:25 -08:00
parent b2b9ab3f35
commit d493d17ab3
5 changed files with 7 additions and 43 deletions

View File

@ -229,9 +229,7 @@ public:
LibertyPort *from() const { return set_->from(); }
LibertyPort *to() const { return set_->to(); }
Transition *fromEdge() const { return from_rf_; }
Transition *fromTrans() const __attribute__ ((deprecated)) { return from_rf_; }
Transition *toEdge() const { return to_rf_; }
Transition *toTrans() const __attribute__ ((deprecated)) { return to_rf_; }
TimingRole *role() const { return set_->role(); }
TimingArcSet *set() const { return set_; }
TimingSense sense() const;

View File

@ -66,9 +66,6 @@ proc_redirect read_spef {
set quiet [info exists flags(-quiet)]
set save [info exists flags(-save)]
set filename [file nativename [lindex $args 0]]
if { [info exists flags(-increment)] } {
sta_warn 272 "read_spef -increment is deprecated."
}
return [read_spef_cmd $filename $instance $corner $min_max \
$pin_cap_included $keep_coupling_caps $coupling_reduction_factor \
$reduce_to $delete_after_reduce $quiet]

View File

@ -46,9 +46,6 @@ proc_redirect read_sdf {
sta_error 621 "-cond_use min_max cannot be used with analysis type single."
}
}
if [info exists keys(-analysis_type)] {
sta_warn 622 "-analysis_type is deprecated. Use set_operating_conditions -analysis_type."
}
set unescaped_dividers [info exists flags(-unescaped_dividers)]
set incremental_only [info exists flags(-incremental_only)]

View File

@ -19,19 +19,16 @@
namespace eval sta {
define_cmd_args "read_liberty" \
{[-corner corner] [-min] [-max] [-no_latch_infer] filename}
{[-corner corner] [-min] [-max] [-infer_latches] filename}
proc_redirect read_liberty {
parse_key_args "read_liberty" args keys {-corner} \
flags {-min -max -no_latch_infer -infer_latches}
flags {-min -max -infer_latches}
check_argc_eq1 "read_liberty" $args
set filename [file nativename [lindex $args 0]]
set corner [parse_corner keys]
set min_max [parse_min_max_all_flags flags]
if { [info exists flags(-no_latch_infer)] } {
sta_warn "-no_latch_infer is deprecated."
}
set infer_latches [info exists flags(-infer_latches)]
read_liberty_cmd $filename $corner $min_max $infer_latches
}

View File

@ -404,13 +404,7 @@ proc_redirect report_check_types {
variable path_options
parse_key_args "report_check_types" args keys {-net -corner}\
flags {-violators -all_violators -verbose -no_line_splits} 0
set violators [info exists flags(-violators)]
if { [info exists flags(-all_violators)] } {
sta_warn 517 "-all_violators is deprecated. Use -violators"
set violators 1
}
flags {-violators -verbose -no_line_splits} 0
set verbose [info exists flags(-verbose)]
set nosplit [info exists flags(-no_line_splits)]
@ -477,8 +471,7 @@ proc_redirect report_check_types {
-max_fanout -min_fanout \
-max_capacitance -min_capacitance \
-min_pulse_width \
-min_period -max_skew \
-max_transition -min_transition } 1
-min_period -max_skew} 1
set setup [info exists flags(-max_delay)]
set hold [info exists flags(-min_delay)]
@ -487,15 +480,6 @@ proc_redirect report_check_types {
set clk_gating_setup [info exists flags(-clock_gating_setup)]
set clk_gating_hold [info exists flags(-clock_gating_hold)]
set max_slew [info exists flags(-max_slew)]
if { [info exists flags(-max_transition)] } {
sta_warn 518 "-max_transition deprecated. Use -max_slew."
set max_slew 1
}
set min_slew [info exists flags(-min_slew)]
if { [info exists flags(-min_transition)] } {
sta_warn 519 "-min_transition deprecated. Use -min_slew."
set min_slew 1
}
set max_fanout [info exists flags(-max_fanout)]
set min_fanout [info exists flags(-min_fanout)]
set max_capacitance [info exists flags(-max_capacitance)]
@ -528,15 +512,9 @@ proc_redirect report_check_types {
} elseif { $hold || $removal || $clk_gating_hold } {
set path_min_max "min"
}
if { $violators } {
set group_count $sta::group_count_max
set slack_min [expr -$sta::float_inf]
set slack_max 0.0
} else {
set group_count 1
set slack_min [expr -$sta::float_inf]
set slack_max $sta::float_inf
}
set group_count 1
set slack_min [expr -$sta::float_inf]
set slack_max $sta::float_inf
set path_ends [find_path_ends "NULL" {} "NULL" 0 \
$corner $path_min_max $group_count 1 0 \
$slack_min $slack_max \
@ -900,9 +878,6 @@ proc parse_report_path_options { cmd args_var default_format
set report_net [expr [lsearch $fields "net*"] != -1]
set report_slew [expr [lsearch $fields "slew*"] != -1]
set report_fanout [expr [lsearch $fields "fanout*"] != -1]
if { [expr [lsearch $fields "trans*"] != -1] } {
sta_warn 525 "The transition_time field is deprecated. Use slew instead."
}
} else {
set report_input_pin 0
set report_cap 0