rm insert_buffer fragment

This commit is contained in:
James Cherry 2020-09-22 19:20:48 -07:00
parent 9c8d9569b5
commit edd65d1c5b
2 changed files with 2 additions and 27 deletions

View File

@ -15,6 +15,8 @@ The report_check_types -min_fanout -max_fanout -max_capacitance -min_capacitance
report_check_types [-min_fanout] [-max_fanout] [-max_capacitance] [-min_capacitance] report_check_types [-min_fanout] [-max_fanout] [-max_capacitance] [-min_capacitance]
The insert_buffer command is no longer supported.
Release 2.0.0 2018/09/28 Release 2.0.0 2018/09/28
------------------------- -------------------------

View File

@ -236,32 +236,5 @@ proc replace_cell { instance lib_cell } {
} }
} }
################################################################
proc insert_buffer { buffer_name buffer_cell net load_pins buffer_out_net_name } {
set buffer_cell [sta::get_lib_cell_warn "buffer_cell" $buffer_cell]
set net [sta::get_net_warn "net" $net]
if { [get_cells -quiet $buffer_name] != "" } {
sta_error "instance $buffer_name already exists."
}
if { [get_nets -quiet $buffer_out_net_name] != "" } {
sta_error "net $buffer_out_net_name already exists."
}
# Copy backslashes that will be removed by foreach.
set load_pins1 [string map {\\ \\\\} $load_pins]
set load_pins {}
foreach pin $load_pins1 {
set pin1 [get_port_pin_warn "pin" $pin]
if { $pin1 != "NULL" } {
lappend load_pins $pin1
}
}
if { $buffer_cell != "NULL" \
&& $net != "NULL" } {
insert_buffer_cmd $buffer_name $buffer_cell $net $load_pins $buffer_out_net_name
}
}
# sta namespace end. # sta namespace end.
} }