pcSkillGen
pcSkillGen(d_cellViewId t_outputFile g_isSkillFile[‘disablePrompt] ) =>t / nil
Description
Converts a specified cellview into a SKILL file. A SKILL file can be edited and loaded back to a cellview after modification. Loading a SKILL file generates a SKILL master; however, the cellview contains only a label with the text: Warning: The master is defined by the SKILL procedure associated with the cellview.
You must have defined the parameters in this cellview.
Arguments
Value Returned
Examples
pcSkillGen(cv ~/mySkillCell t)
Puts the SKILL code that creates the cellview cv in the ~/mySkillFile file. For example:
let( ( pcMember pcStretchGroup stretchOffsetX stretchOffsetY pcLib
pcMaster pcInst pcTerm pcPin pcPinName
pcNet pcTermNet pcNetName pcTermNetName pcMosaicInst
tpcParameters pcParamProp pcStep pcStepX pcStepY
pcRepeat pcRepeatX pcRepeatY pcIndexX pcIndexY
pcLayer pcPurpose pcLabelText pcLabelHeight pcPropText
pcParamText pcCoords pcPathWidth pcPolygonMargin )
pcLib = pcCellView~>lib
pcParameters = pcCellView~>parameters~>value
; generate all the cv's properties
; ---------------------------------
; generate all the primitive shapes in layer "pwell (drawing)"
; ---------------------------------------------------------------
pcLayer = 6
pcPurpose = "drawing"
pcInst = dbCreateRect(pcCellView list(pcLayer pcPurpose) list(2:0.5 6.5:7.5))
t
)
pcSkillGen(cv ~/mySkillCell nil)
Puts the SKILL code that creates the cellview cv inside a pcGenCell procedure and writes it to the ~/mySkillFile file. For example:
procedure( pcGenCell( pcCellView "d")
let( ( pcMember pcStretchGroup stretchOffsetX stretchOffsetY pcLib
pcMaster pcInst pcTerm pcPin pcPinName
pcNet pcTermNet pcNetName pcTermNetName pcMosaicInst
tpcParameters pcParamProp pcStep pcStepX pcStepY
pcRepeat pcRepeatX pcRepeatY pcIndexX pcIndexY
pcLayer pcPurpose pcLabelText pcLabelHeight pcPropText
pcParamText pcCoords pcPathWidth pcPolygonMargin )
pcLib = pcCellView~>lib
pcParameters = pcCellView~>parameters~>value
; generate all the cv's properties ; --------------------------------- ; generate all the primitive shapes in layer "pwell (drawing)" ; --------------------------------------------------------------- pcLayer = 6 pcPurpose = "drawing" pcInst = dbCreateRect(pcCellView list(pcLayer pcPurpose) list(2:0.5 6.5:7.5)) t ) )
Return to top