Skip to content

Commit

Permalink
rm dup msg ids
Browse files Browse the repository at this point in the history
  • Loading branch information
jjcherry56 committed Dec 20, 2020
1 parent 14bacb3 commit a231978
Show file tree
Hide file tree
Showing 7 changed files with 341 additions and 23 deletions.
318 changes: 318 additions & 0 deletions messages.txt

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion parasitics/EstimateParasitics.cc
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ EstimateParasitics::estimatePiElmoreBalanced(const Pin *drvr_pin,
else if (network->isTopLevelPort(load_pin))
load_cap = sdc->portExtCap(port, rf, min_max);
else
report->critical(212, "load pin not leaf or top level");
report->critical(597, "load pin not leaf or top level");
double cap = load_cap + cap_fanout;
double y2_ = res_fanout * cap * cap;
y1 += cap;
Expand Down
4 changes: 2 additions & 2 deletions search/PathEnumed.cc
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ const Required &
PathEnumed::required(const StaState *sta) const
{
// Required times are never needed for enumerated paths.
sta->report()->critical(251, "enumerated path required time\n");
sta->report()->critical(251, "enumerated path required time");
return delay_zero;
}

Expand All @@ -132,7 +132,7 @@ PathEnumed::setRequired(const Required &,
const StaState *sta)
{
// Required times are never needed for enumerated paths.
sta->report()->critical(252, "enumerated path required time\n");
sta->report()->critical(252, "enumerated path required time");
}

Path *
Expand Down
2 changes: 1 addition & 1 deletion search/ReportPath.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2351,7 +2351,7 @@ ReportPath::reportGenClkSrcPath1(Clock *clk,
Arrival pll_delay = search_->genclks()->pllDelay(clk, clk_rf, pll_ap);
size_t path_length = src_expanded.size();
if (path_length < 2)
report_->critical(258, "generated clock pll source path too short.\n");
report_->critical(258, "generated clock pll source path too short.");
PathRef *path0 = src_expanded.path(path_length - 2);
Arrival time0 = path0->arrival(this) + gclk_time;
PathRef *path1 = src_expanded.path(path_length - 1);
Expand Down
26 changes: 13 additions & 13 deletions tcl/Cmds.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -1872,7 +1872,7 @@ proc get_object_property { object prop } {
} elseif { $object_type == "TimingArcSet" } {
return [timing_arc_set_property $object $prop]
} else {
sta_error 492 "get_property unsupported object type $object_type."
sta_error 606 "get_property unsupported object type $object_type."
}
} else {
sta_error 493 "get_property $object is not an object."
Expand Down Expand Up @@ -1975,55 +1975,55 @@ proc write_path_spice { args } {
if { [info exists keys(-spice_directory)] } {
set spice_dir [file_expand_tilde $keys(-spice_directory)]
if { ![file exists $spice_dir] } {
sta_error 496 "Directory $spice_dir not found.\n"
sta_error 496 "Directory $spice_dir not found."
}
if { ![file isdirectory $spice_dir] } {
sta_error 497 "$spice_dir is not a directory.\n"
sta_error 497 "$spice_dir is not a directory."
}
if { ![file writable $spice_dir] } {
sta_error 498 "Cannot write in $spice_dir.\n"
sta_error 498 "Cannot write in $spice_dir."
}
} else {
sta_error 499 "No -spice_directory specified.\n"
sta_error 499 "No -spice_directory specified."
}

if { [info exists keys(-lib_subckt_file)] } {
set lib_subckt_file [file_expand_tilde $keys(-lib_subckt_file)]
if { ![file readable $lib_subckt_file] } {
sta_error 500 "-lib_subckt_file $lib_subckt_file is not readable.\n"
sta_error 500 "-lib_subckt_file $lib_subckt_file is not readable."
}
} else {
sta_error 501 "No -lib_subckt_file specified.\n"
sta_error 501 "No -lib_subckt_file specified."
}

if { [info exists keys(-model_file)] } {
set model_file [file_expand_tilde $keys(-model_file)]
if { ![file readable $model_file] } {
sta_error 502 "-model_file $model_file is not readable.\n"
sta_error 502 "-model_file $model_file is not readable."
}
} else {
sta_error 503 "No -model_file specified.\n"
sta_error 503 "No -model_file specified."
}

if { [info exists keys(-power)] } {
set power $keys(-power)
} else {
sta_error 504 "No -power specified.\n"
sta_error 504 "No -power specified."
}

if { [info exists keys(-ground)] } {
set ground $keys(-ground)
} else {
sta_error 505 "No -ground specified.\n"
sta_error 505 "No -ground specified."
}

if { ![info exists keys(-path_args)] } {
sta_error 506 "No -path_args specified.\n"
sta_error 506 "No -path_args specified."
}
set path_args $keys(-path_args)
set path_ends [eval [concat find_timing_paths $path_args]]
if { $path_ends == {} } {
sta_error 507 "No paths found for -path_args $path_args.\n"
sta_error 507 "No paths found for -path_args $path_args."
} else {
set path_index 1
foreach path_end $path_ends {
Expand Down
2 changes: 1 addition & 1 deletion tcl/NetworkEdit.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ proc disconnect_pin { net pin } {
}

proc disconnect_pins { net pins } {
sta_warn 372 "disconnect_pins is deprecated. Use disconnect_pin."
sta_warn 603 "disconnect_pins is deprecated. Use disconnect_pin."
foreach pin $pins {
disconnect_pin $net $pins
}
Expand Down
10 changes: 5 additions & 5 deletions tcl/Sdc.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ proc unit_prefix_scale { unit prefix } {
} elseif { [string equal $prefix "f"] } {
return 1E-15
} else {
sta_error 514 "unknown $unit prefix '$prefix'."
sta_error 604 "unknown $unit prefix '$prefix'."
}
}

Expand Down Expand Up @@ -1942,7 +1942,7 @@ proc set_false_path { args } {
} else {
check_for_key_args $cmd args
if { $args != {} } {
sta_warn 349 "'$args' ignored."
sta_warn 600 "'$args' ignored."
}
if { ($from == "NULL" && $thrus == "" && $to == "NULL") } {
delete_from_thrus_to $from $thrus $to
Expand Down Expand Up @@ -2441,7 +2441,7 @@ proc set_driving_cell { args } {
define_cmd_args "set_fanout_load" {fanout ports}

proc set_fanout_load { fanout port_list } {
sta_warn 361 "set_fanout_load not supported."
sta_warn 601 "set_fanout_load not supported."
}

################################################################
Expand Down Expand Up @@ -2901,7 +2901,7 @@ proc parse_to_arg1 { keys_var end_rf arg_error_var } {
if {$to_pins == {} && $to_insts == {} && $to_clks == {}} {
upvar 1 $arg_error_var arg_error
set arg_error 1
sta_warn 370 "no valid objects specified for $key."
sta_warn 602 "no valid objects specified for $key."
return "NULL"
}
return [make_exception_to $to_pins $to_clks $to_insts $to_rf $end_rf]
Expand Down Expand Up @@ -3063,7 +3063,7 @@ proc set_wire_load_model { args } {
$lib_iter finish
}
if {$wireload == "NULL"} {
sta_error 583 "wire load model '$model_name' not found."
sta_error 605 "wire load model '$model_name' not found."
}
set objects $args
set_wire_load_cmd $wireload $min_max
Expand Down

0 comments on commit a231978

Please sign in to comment.