Product Documentation
Virtuoso Studio Design Environment SKILL Reference
Product Version IC23.1, November 2023

pkxCreateCompDef

pkxCreateCompDef(
d_bagId
t_deviceType
t_class
t_package
) 
=> pkx_compDefId | nil

Description

(Virtuoso MultiTech Framework) Creates a compDef object in the specified database and returns its ID.

Arguments

d_bagId

ID of the database containing the object.

t_deviceType

Name of the device type that identifies the compDef object. For example, dtype.

t_class

Placement class of the compDef object to be created. For example, IO.

t_package

Name of the matching package symbol used by the compDef object.

Value Returned

pkx_compDefId

ID of the created compDef object.

nil

The operation failed.

Example

Creates a compDef object in the database bag with the device type as dtype, class as IO, and package as package.

compDef = pkxCreateCompDef(bag "dtype" "IO" "package") 

Related Topics

Components of a Package


Return to top
 ⠀
X