S
Shankar
Guest
Hi All,
I want to generate a set of pcells, for which some of the
parameter options i wanted it to be in pre defined cyclic fields. I
have few questions regarding this
1. I have given an example of the CDF file. Is the format right?
2. Do i have to load CDF file for every cell used in the library?
3. How do i use this parameter variable in my actual pcell_Skill file?
4. What is the procedure of loading the CDF and pcell file in a cadence
session
/****************************************************/
loadi "/user/shankar/Skill/cdfLoad"
LIBRARY = "test_pcells"
CELL = "nmoslv"
/****************************************************/
let( ( libId cellId cdfId )
unless( cellId = ddGetObj( LIBRARY CELL )
error( "Could not get cell %s." CELL )
)
when( cdfId = cdfGetBaseCellCDF( cellId )
cdfDeleteCDF( cdfId )
)
cdfId = cdfCreateBaseCellCDF( cellId )
;;; Parameters
cdfCreateParam( cdfId
?name "backgate"
?prompt "Backgate Contact"
?defValue "none"
?choices '("none" "butting" "non-butting" "dual butting"
"dual non-butting" )
?type "cyclic"
)
cdfId->formInitProc = ""
cdfId->doneProc = ""
cdfId->buttonFieldWidth = 340
cdfId->fieldHeight = 35
cdfId->fieldWidth = 350
cdfId->promptWidth = 175
cdfId->cell = "nmoslv"
cdfSaveCDF( cdfId )
)
Please help me in sorting out the issues
Rgds,
Shankar
I want to generate a set of pcells, for which some of the
parameter options i wanted it to be in pre defined cyclic fields. I
have few questions regarding this
1. I have given an example of the CDF file. Is the format right?
2. Do i have to load CDF file for every cell used in the library?
3. How do i use this parameter variable in my actual pcell_Skill file?
4. What is the procedure of loading the CDF and pcell file in a cadence
session
/****************************************************/
loadi "/user/shankar/Skill/cdfLoad"
LIBRARY = "test_pcells"
CELL = "nmoslv"
/****************************************************/
let( ( libId cellId cdfId )
unless( cellId = ddGetObj( LIBRARY CELL )
error( "Could not get cell %s." CELL )
)
when( cdfId = cdfGetBaseCellCDF( cellId )
cdfDeleteCDF( cdfId )
)
cdfId = cdfCreateBaseCellCDF( cellId )
;;; Parameters
cdfCreateParam( cdfId
?name "backgate"
?prompt "Backgate Contact"
?defValue "none"
?choices '("none" "butting" "non-butting" "dual butting"
"dual non-butting" )
?type "cyclic"
)
cdfId->formInitProc = ""
cdfId->doneProc = ""
cdfId->buttonFieldWidth = 340
cdfId->fieldHeight = 35
cdfId->fieldWidth = 350
cdfId->promptWidth = 175
cdfId->cell = "nmoslv"
cdfSaveCDF( cdfId )
)
Please help me in sorting out the issues
Rgds,
Shankar