read_spef rm -save flag

This commit is contained in:
James Cherry 2020-10-19 19:59:49 -07:00
parent 43dd39079e
commit 20021479bb
6 changed files with 5 additions and 15 deletions

View File

@ -1070,7 +1070,6 @@ public:
float coupling_cap_factor,
ReduceParasiticsTo reduce_to,
bool delete_after_reduce,
bool save,
bool quiet);
// Parasitics.
void findPiElmore(Pin *drvr_pin,

View File

@ -43,15 +43,13 @@ read_spef_cmd(const char *filename,
float coupling_cap_factor,
ReduceParasiticsTo reduce_to,
bool delete_after_reduce,
bool quiet,
bool save)
bool quiet)
{
cmdLinkedNetwork();
return Sta::sta()->readSpef(filename, instance, min_max,
increment, pin_cap_included,
keep_coupling_caps, coupling_cap_factor,
reduce_to, delete_after_reduce,
save, quiet);
reduce_to, delete_after_reduce, quiet);
}
TmpFloatSeq *

View File

@ -19,7 +19,6 @@ namespace eval sta {
define_cmd_args "read_spef" \
{[-min]\
[-max]\
[-elmore]\
[-path path]\
[-increment]\
[-pin_cap_included]\
@ -34,7 +33,7 @@ define_cmd_args "read_spef" \
proc_redirect read_spef {
parse_key_args "read_spef" args \
keys {-path -coupling_reduction_factor -reduce_to} \
flags {-min -max -elmore -increment -pin_cap_included \
flags {-min -max -increment -pin_cap_included \
-keep_capacitive_coupling \
-delete_after_reduce -quiet -save}
check_argc_eq1 "report_spef" $args
@ -70,8 +69,7 @@ proc_redirect read_spef {
set filename $args
return [read_spef_cmd $filename $instance $min_max $increment \
$pin_cap_included $keep_coupling_caps $coupling_reduction_factor \
$reduce_to $delete_after_reduce \
$save $quiet]
$reduce_to $delete_after_reduce $quiet]
}
# set_pi_model [-min] [-max] drvr_pin c2 rpi c1

View File

@ -54,7 +54,6 @@ readSpefFile(const char *filename,
const OperatingConditions *op_cond,
const Corner *corner,
const MinMax *cnst_min_max,
bool save,
bool quiet,
Report *report,
Network *network,
@ -76,8 +75,6 @@ readSpefFile(const char *filename,
}
else
throw FileNotReadable(filename);
if (success && save)
parasitics->save();
return success;
}

View File

@ -48,7 +48,6 @@ readSpefFile(const char *filename,
const OperatingConditions *op_cond,
const Corner *corner,
const MinMax *cnst_min_max,
bool save,
bool quiet,
Report *report,
Network *network,

View File

@ -3576,7 +3576,6 @@ Sta::readSpef(const char *filename,
float coupling_cap_factor,
ReduceParasiticsTo reduce_to,
bool delete_after_reduce,
bool save,
bool quiet)
{
Corner *corner = cmd_corner_;
@ -3598,7 +3597,7 @@ Sta::readSpef(const char *filename,
pin_cap_included,
keep_coupling_caps, coupling_cap_factor,
reduce_to, delete_after_reduce,
op_cond, corner, cnst_min_max, save, quiet,
op_cond, corner, cnst_min_max, quiet,
report_, network_, parasitics_);
graph_delay_calc_->delaysInvalid();
search_->arrivalsInvalid();