write_db
write_db
[ -lib s_libName -cell s_cellName -view s_viewName ]
[ -hierarchical [ true | false ] ]
[ -immediate [ true | false ] ]
[ -overwrite_existing [ true | false ] ]
[ -vmonly [ true | false ] ]
Description
Saves the active cellview database to a file or only to memory. If no arguments are given, the Save As form appears that lets you specify the parameters.
The GUI equivalents for this command are:
-
File—Save As (equivalent)
-
File—Close
-
File—Open
-
Window—New Window
Arguments
|
-hierarchical [ true | false ]
|
|
|
When true and saving to an existing file, all modified ctuOccurrences are written to OpenAccess. When false (default) and saving to an existing file, only the top-most design is saved.
You cannot save hierarchically to a different cellview.
|
|
-immediate [ true | false ]
|
|
|
When set to true and the file already exists, the file will automatically be overwritten. If the file exists and this argument is not included or is set to false, a dialog box will appear to notify you that the file exists and that nothing is saved.
|
|
-lib s_libName -cell s_cellName -view s_viewName
|
|
|
Specifies the file hierarchy to save the active cellview to. If no options are given, a Save As dialog appears, letting you specify the library name, cell name, and view for the file, as well as other arguments.
|
|
-overwrite_existing [ true | false ]
|
|
|
When set to true and the file already exists, the file will automatically be overwritten. If the file exists and this argument is not included or is set to false, a dialog box will appear to notify you that the file exists and that nothing is saved.
|
|
-vmonly [ true | false ]
|
|
|
When true, the OpenAccess database is written to memory, but not to a disk file. When false (default), the memory image is updated and then the database is written to the disk file.
|
Value Returned
None
Examples
This example saves the database for the active cellview to the chiplib/top_chip/layout.
write_db -lib chiplib -cell top_chip -view layout
Related Topics
close_db
new_window
read_db
Return to top