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

dbDumpPcell

dbDumpPcell( 
d_cvId 
t_outputFile
t_pCellFile 
) 
=> t / nil 

Description

The dbDumpPcell function is used in the implementation of the keepPcell option, during XStream In and XStream Out translation. Pcells are preserved by writing the Pcells to SKILL files (during XStream Out translation) which are loaded back into Virtuoso Studio (during XStream In translation).

Dumping parameterized cell devices defined in a technology file is not supported in this function.

A supermaster cellview contains two parts. The first part is a cellview database that contains normal cellview components such as shapes, nets, and terminals. The second part is the Pcell script that contains the code to generate the submasters. The first part may be empty and the script may or may not depend on the contents of the first part but both parts must exist. The dbDumpPcell SKILL command dumps the cellview part into t_outputFile and it dumps the script part into t_pCellFile.

Arguments

d_cvId

Must be a valid cellview ID and Pcell.

t_outputFile

Output file which can be reloaded to recreate the Pcell.

t_pCellFile

Output file for the SKILL procedure attached to the Pcell, this file will be given to dbDefineProc when reloading outputFile.

Value Returned

t

The files are dumped successfully.

nil

The files are not dumped successfully.

Examples

The following example produces two files nmos2v_nat.il and nmos2v_nat_script.il.

cv=dbOpenCellViewByType("gpdk090" "nmos2v_nat" "layout" nil "r")
db:0x284be39a
dbDumpPcell(cv "nmos2v_nat.il" "nmos2v_nat_script.il")
t

Return to top
 ⠀
X