Product Documentation
Virtuoso Layout Suite SKILL Reference
Product Version IC23.1, November 2023

dbRegVPLGenCreateCellName

dbRegVPLGenCreateCellName(
s_functionName
)
=> t / nil

Description

Registers a SKILL function to create unique cell names for VPLGen core layouts.

Arguments

s_functionName

Name of the SKILL function to be registered.

The SKILL function must return a string equal to the cell name. It takes two arguments:

cv: The database ID of the VPLGen supermaster.

params: A list of lists of string pairs, where the first string in each pair is the parameter name and the second string in each pair is the parameter value. The pairs are sorted alphabetically by parameter name.

Value Returned

t

The function was registered.

nil

The function was not registered.

Example

dbRegVPLGenCreateCellName("VPLGenCellName")

Where the SKILL function VPLGenCellName is defined as:

procedure(VPLGenCellName(cv params)
let((name)
name = cv~>cellName
foreach(param params
name = strcat(name sprintf(nil "%s%s" car(param) cadr(param)))
)
name = pcreReplace(pcreCompile("\\.") name "_" 0)
name
)
)

Return to top
 ⠀
X