pcdbOpen
pcdbOpen(
t_libName
t_cellName
t_viewName
t_mode
[ ?nameSpace t_nameSpace ]
[ ?dontOpenNextLevel g_dontOpenNextLevel ]
)
=> h_pcdbHandle / nil
Description
Opens a configuration and gets a handle that will allow access to the parent/child data for a view.
Arguments
|
t_libName
|
The library name for the configuration you want to open.
|
|
t_libName
|
The cell name for the configuration you want to open.
|
|
t_viewName
|
The view name for the configuration you want to open.
|
|
t_mode
|
A string. Must be r for read.
|
|
?nameSpace t_nameSpace
|
|
|
The name space for library, cell, view, and instance names when using the pcdb SKILL interface. If it is not specified, the default name space, CDBA, is used.
|
|
?dontOpenNextLevel g_dontOpenNextLevel
|
|
|
By default, or if the value is nil, when opening an Open Access view, the next level of the design is opened to determine whether the instances associated with the part should be ignored. Parts with the nlAction property set to ignore are excluded from the handle.
When set to a value other than nil, this argument indicates that while opening an Open Access view, the next level of the design is not opened to determine whether the instances associated with the part should be ignored.
|
Value Returned
|
h_pcdbHandle
|
The pcdb handle of the configuration opened.
|
|
nil
|
The open operation failed.
|
Example
Changes the name space from the default value, CDBA, to Verilog.
pcdbOpen("lib" "cell" "schematic" "r" ?nameSpace "Verilog")
Includes ignored masters.
pcdbOpen("lib" "cell" "schematic" "r" ?dontOpenNextLevel t)
An example for the use of this function can also be found at:
your_install_dir/tools/hdb/examples/hdbTraverse.il
Related Topics
pcdbGetInstMasterGen
pcdbClose
Hierarchy Database Functions
Occurrence Property Functions
Parent/Child Database Functions
Example for all pcdb Functions
Return to top