SKILL Script needed to replace library and cell name of all

D

del

Guest
Hi,

I need to replace both the library and cell names of all instances in the current cell view:

Suppose I have a schematic cell view with the following instances:
i0: libname=primitives_old
cellname=inverter_veryold

i1: libname=primitives_old
cellname=inverter4x_veryold

i2: libname=primitives_old
cellname=buffer4x_veryold


and I want to create a new schematic cell view with the following instances:
i0: libname=primitives_new
cellname=inverter_verynew

i1: libname=primitives_new
cellname=inverter4x_verynew

i2: libname=primitives_new
cellname=buffer4x_verynew


How do I go about doing this?

Thanks!
 
Use following command. But new cell view and new lib should available in library manager.

leReplaceAnyInstMaster(
d_instId
{ t_libName | nil }
{ t_cellName | nil }
{ t_viewName | nil }
)




On Wednesday, September 2, 2015 at 8:18:15 PM UTC+5:30, del wrote:
Hi,

I need to replace both the library and cell names of all instances in the current cell view:

Suppose I have a schematic cell view with the following instances:
i0: libname=primitives_old
cellname=inverter_veryold

i1: libname=primitives_old
cellname=inverter4x_veryold

i2: libname=primitives_old
cellname=buffer4x_veryold


and I want to create a new schematic cell view with the following instances:
i0: libname=primitives_new
cellname=inverter_verynew

i1: libname=primitives_new
cellname=inverter4x_verynew

i2: libname=primitives_new
cellname=buffer4x_verynew


How do I go about doing this?

Thanks!
 
On Thursday, March 31, 2016 at 1:51:19 AM UTC-5, Kedari Hotkar wrote:
Use following command. But new cell view and new lib should available in library manager.

leReplaceAnyInstMaster(
d_instId
{ t_libName | nil }
{ t_cellName | nil }
{ t_viewName | nil }
)




On Wednesday, September 2, 2015 at 8:18:15 PM UTC+5:30, del wrote:
Hi,

I need to replace both the library and cell names of all instances in the current cell view:

Suppose I have a schematic cell view with the following instances:
i0: libname=primitives_old
cellname=inverter_veryold

i1: libname=primitives_old
cellname=inverter4x_veryold

i2: libname=primitives_old
cellname=buffer4x_veryold


and I want to create a new schematic cell view with the following instances:
i0: libname=primitives_new
cellname=inverter_verynew

i1: libname=primitives_new
cellname=inverter4x_verynew

i2: libname=primitives_new
cellname=buffer4x_verynew


How do I go about doing this?

Thanks!

I believe the request for help is referring to how to do this in batch mode for all cellviews when copying them from an "old" library to a "new" library, while also changing the "old" cellname prefix to a "new" cellname prefix. This is something that seems pretty common for companies these days. Is there an existing Cadence tool in the Cadence Library Manager that can do this instead of every single customer trying to write their own CAD tool features?
 

Welcome to EDABoard.com

Sponsor

Back
Top