[SOLVED] replacing lvt cells with rvt cells

Status
Not open for further replies.

cyrax747

Full Member level 3
Joined
Nov 8, 2012
Messages
167
Helped
13
Reputation
26
Reaction score
11
Trophy points
1,298
Location
Bangalore
Activity points
2,494
Hi All,

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 ??
 

you can [get_cells -hier -filter "full_name =~ *" ] to get all the cell in your database!
then changelink the cell with the rvt library.
 

ic compiler.

- - - Updated - - -

That is what i am asking shobit.Can you say me the procedure more elaborately ?

- - - Updated - - -

Hi

I think ref_name is giving me the total number of lvt cells.

i have 13204 .i want to change those lvt with rvt cells
 

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.
 
Reactions: cyrax747

    cyrax747

    Points: 2
    Helpful Answer Positive Rating
    V

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…