R
rick
Guest
Thanks for all of the help so far, this thing is actually
working!....just need to add a few features
I would like to include a radio button in this pcell that turns on/off
the taps. Based on the handful of previous posts, this needs to be
done with the CDF's. The code below creates the tap and CDF's but
doesnt there need to be an if/then statement or something that gates
whether to insantiate or not? I was unable to find an example.
;;; Parameters
cdfCreateParam( cdfId
?name "ptapBulk"
?prompt "substrate tap"
?defValue "t"
?type "boolean"
?editable "t"
?display "t"
)
ntapId = dbOpenCellViewByType("tsmc13rf" "M1_NWELL"
"symbolic")
ntapInst=dbCreateParamInst(cv ntapId
"ntapWell" 0:0 "R0" 1 list(
list("row" "int" 1)
list("column" "int" 5)
)
)
dbClose(ntapId)
ntapWell = rodGetObj("ntapWell" cv)
rodAlign(?alignObj ntapWell ?alignHandle "lowerCenter" ?ySep
halfHeight-0.39 ?xSep 1.5 )
working!....just need to add a few features
I would like to include a radio button in this pcell that turns on/off
the taps. Based on the handful of previous posts, this needs to be
done with the CDF's. The code below creates the tap and CDF's but
doesnt there need to be an if/then statement or something that gates
whether to insantiate or not? I was unable to find an example.
;;; Parameters
cdfCreateParam( cdfId
?name "ptapBulk"
?prompt "substrate tap"
?defValue "t"
?type "boolean"
?editable "t"
?display "t"
)
ntapId = dbOpenCellViewByType("tsmc13rf" "M1_NWELL"
"symbolic")
ntapInst=dbCreateParamInst(cv ntapId
"ntapWell" 0:0 "R0" 1 list(
list("row" "int" 1)
list("column" "int" 5)
)
)
dbClose(ntapId)
ntapWell = rodGetObj("ntapWell" cv)
rodAlign(?alignObj ntapWell ?alignHandle "lowerCenter" ?ySep
halfHeight-0.39 ?xSep 1.5 )