Product Documentation
Cadence Application Infrastructure SKILL Reference
Product Version IC23.1, November 2023

ccpRenameReferenceLib

ccpRenameReferenceLib(
G_fromLib
G_toLib
q_updateList
[ s_whatCanChange ]
[ g_existenceCheck ]
[ g_reReferenceCustomVias ]
)
=> t / nil

Description

Renames references to an external library. The external library is not changed.

Arguments

G_fromLib

Represents the old library. References to this library will be replaced with the value of G_toLib.

G_toLib

Represents the new library. References to the library you specify in G_fromLib will be replaced with references to this library.

q_updateList

Specifies the library in which references are updated. The value of this argument must be a library, or a list of files, views, or cells that belong to the same library.

s_whatCanChange

One of the following predefined symbols, which tells the cross-reference updater what to update:

  • CCP_ALL_REFS: Updates all the references.
  • CCP_VALID_TO_REFS: Updates references only if the G_toLib library exists.
  • CCP_VALID_FROM_REFS: Updates references only if the G_fromLib library exists.
  • CCP_VALID_BOTH_REFS: Updates references only if both the G_toLib and the G_fromLib libraries exist.

The default value of this argument is CCP_ALL_REFS.

g_existenceCheck

Sets a flag for the Virtuoso post-copy updater to validate the existence of layers, purposes, viaDefs, and siteDefs in the technology database of the destination library after the copy command is completed. Default is 0.

g_reReferenceCustomVias

Sets a flag for the Virtuoso post-copy updater to update custom via definitions to point to cellviews in the destination library. Default is 0.

This argument is typically used with the copy functions and is not needed for expansion functions.

Value Returned

t

The references were renamed.

nil

The references were not renamed.

Related Topics

Generic Design Management (GDM) Functions

Name Spaces for Different Data Types


Return to top
 ⠀
X