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

dbWriteSkillWithLib

dbWriteSkillWithLib( 
d_cellviewId 
t_fileName 
t_mode 
t_release 
[ g_conn ] 
[ g_ref ] 
)
=> t / nil

Description

Creates a file that contains all the SKILL commands needed to recreate a cellview.

The difference between dbWriteSkill and dbWriteSkillWithLib is that library name is not written in the SKILL code when using dbWriteSkillWithLib. Instead a SKILL variable, dbD_NewLibNameForDump, is written whose value can be used to set the name of the target library before loading the SKILL file.

Functions dbWriteSkill and dbWriteSkillWithLib do not replicate all database attributes of all objects, and should not be viewed as a way to completely recreate a given design. In previous releases, these functions served purposes related to migration of basic objects from older releases to newer versions, but are not intended to fully support newer and expanded capabilities and methods used by the latest versions, and latest features in the OA database. For example, a partial list of limitations include, layer coloring information, blockages, and physical-only attributes.

Arguments

d_topCellViewId

The top design cellview ID.

t_fileName

Target SKILL filename.

t_mode

Modes.

Valid Values: w (overwrite) or a (append)
Using a mode, you can dump a few designs into one file.

t_release

The release in which the file will be loaded.

g_conn

The default is to dump out everything. If this argument is set to TRUE, then only the connectivity of the given cellview will be written out.

g_ref

The default is to not dump the reference cellviews. If this argument is set to t, then all the cellviews that the source cellview directly or indirectly referenced will be written out.

Values Returned

t

The file was created.

nil

The file was not created.

Examples

Creates the file z4.il that contains the SKILL commands to recreate the cell2/layout cellview in a library given by the SKILL variable dbD_NewLibNameForDump.

cvId2 = dbOpenCellViewByType("dummyLib" "cell2" "layout" nil "r")
dbWriteSkillWithLib( cvId2 "z4.il" "w" "6.1")

Related Topics

dbWriteSkill

dbWriteSkillWithLib


Return to top
 ⠀
X