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
|
Output file for the SKILL procedure attached to the Pcell, this file will be given to |
Value Returned
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
-
nmos2v_nat.ilcontains a script that can be used to recreate the shapes, such as rectangles, properties, nets, terminals, and pins of the Pcell supermaster. In this part of the dump, all the Pcell parameters appear as properties of the cellview. -
nmos2v_nat_script.ilcontains the Pcell script that is used to generate the submasters. In this section, the Pcell parameters appear as program variables.
Return to top