I have a floorplan def which already contains libraries with lvt cells ,with hierarchy 13k approx and using get_Cells only 372.My aim is to replace them all 13k with rvt cells,So i need a tcl script and i am not good at coding.Can you share some kind of help or any easy method to replace them all ??
The following command will get all the LVT cells.
set a [get_flat_cells -filter "ref_name=~*lvt*"]
Now, loop through each of them and replace LVT with HVT.
foreach_in_collection var $a {
set cell [get_attr $var ref_name]
regsub "lvt" $cell "rvt" cell_new
size_cell $var $cell_new
}
This should help you in doing the task that you wanted.