cdfDump
cdfDump(
t_libName
t_fileName
[ ?cellName t_cellName ]
[ ?level s_level ]
[ ?edit g_edit ]
)
=> t / nil
Description
Dumps the CDF description for the specified library and cell into the given file. If a cell is not specified, then only the library CDF description is dumped. The file is created in the current working directory or the directory specified with the file name. If g_edit is t, a text editor window is automatically opened on t_fileName. The default is no editor.
You can also specify the level of the CDF description by using the ?level s_level argument.
Arguments
|
t_libName
|
Specifies the name of the library for which the CDF description is to be saved to the given file.
|
|
t_fileName
|
Specifies the name of the file to which the CDF descriptions for the given library and cell are to be saved.
|
|
?cellName t_cellName
|
|
|
Specifies the name of the cell for which the CDF description is to be saved to the given file.
|
|
?level s_level
|
|
|
Specifies the level of the CDF description to be displayed.
-
base: Saves the base-level CDF descriptions to the specified file. -
user: Saves the user-level CDF descriptions to the specified file. This is the default.
|
|
?edit g_edit
|
|
|
Specified whether the specified file should be opened in a text editor.
-
t: Opens the specified file in a text editor. -
nil: The specified file is not opened in a text editor.
|
Value Returned
|
t
|
Dumps the CDF description for the specified library and cell to the given file.
|
|
nil
|
When the specified library or cell is invalid.
|
Examples
cdfDump( "nmos" "tr.mod" ?cellName "pnp" ?level 'base
?edit t)
Return to top