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

cdfCreateUserLibCDF

cdfCreateUserLibCDF( 
g_libId 
[ ?doneProc t_doneProc ]
[ ?formInitProc t_formInitProc ]
[ ?fieldWidth x_fieldWidth ]
[ ?fieldHeight x_fieldHeight ]
[ ?buttonFieldWidth x_buttonFieldWidth ]
[ ?promptWidth x_promptWidth ]
) 
=> g_cdfDataId / nil

Description

Creates the user-level library CDF that is applied to all the devices in the library. The user-level CDF can override entries in the base-level CDF. Therefore, a combination of the base-level CDF and the user-level CDF becomes the effective CDF.

The CDF description is created with no parameters or simulation models.

Before using this function, ensure that the user-level CDF description does not already exist for the library. If the CDF description already exists, this function will not update the existing CDF description.

Arguments

g_libId

This is the library ID.

?doneProc t_doneProc

Lets you specify an optional SKILL routine that is run to validate any parameter changes on the instantiation form.

?formInitProc t_formInitProc

Lets you specify an optional SKILL language routine that executes automatically when the component is placed on an instantiation form.

?fieldWidth x_fieldWidth

Lets you specify the width of a field on the instantiation form. The default width is 350 pixels.

?fieldHeight x_fieldHeight

Lets you specify the height of a field on the instantiation form. The default height is 35 pixels.

?buttonFieldWidth x_buttonFieldWidth

Lets you specify the width of a button on the instantiation form. The default width is 350 pixels.

?promptWidth x_promptWidth

Lets you specify the width of the prompt on the instantiation form. The default width is 175 pixels.

Value Returned

g_cdfDataId

The database object that represents the CDF description for the component.

nil

When a library is not specified.


Return to top
 ⠀
X