gdmCreateSpec
gdmCreateSpec(
t_libName | emptyString | nil
t_cellName | emptyString | nil
t_viewName | emptyString | nil
t_fileName | emptyString | nil
t_namespace
[ x_gdmOptions ]
)
=> G_gdmSpecId / nil
Description
Creates a gdmSpec object, a user-defined type of SKILL object, according to the options you specify. You must specify at least one of the first four arguments—a library name, cell name, view name, or file name. If you specify a cell name, you must also specify a library name. If you specify a view name, you must also specify a cell name and a library name.
Arguments
|
t_libName
|
Name of the library.
|
|
t_cellName
|
Name of the cell.
If you specify a cell name, you must also specify a library name.
|
|
t_viewName
|
Name of the view.
If you specify a view name, you must also specify a cell name and a library name.
|
|
t_fileName
|
Name of the file.
All the above four arguments cannot be empty strings; you must provide a name for at least one of them.
|
|
t_namespace
|
Name space in which the gdmSpec is to be created. Can be one of the following strings: VHDL, VHDLAMS, Verilog, VerilogA, VerilogAMS, CDBA, Concept, Library, LibraryUnix, LibraryNT, Spectre, SpectreHDL, or Spice.
|
|
x_gdmOptions
|
Specifies that commands such as check out or check in work recursively on the directory. Applies only to gdmSpec objects that consist of directories.
|
Value Returned
|
G_gdmSpecId
|
The ID of the gdmSpec object created.
|
|
nil
|
The gdmSpec object could not be created.
|
Examples
Creating an ID of the gdmSpec object with the library name myLib and the name space CDBA.
newSpec = gdmCreateSpec( "myLib" "" "" "" "CDBA" )
Related Topics
Name Spaces for Different Data Types
Return to top