How to Create Skill Pcell

V

vtcad

Guest
I'm attempting to learn how to build a pcell using skill, I've put
together the following code, but need some ideas on how to add drain/
source contacts and make the device multiple fingers. Any examples of
code would be greatly appreciated.

pcDefinePCell(
list(ddGetObj("roland_pcells") "mpbl" "layout")
(
(width float 1.4)
(length float 0.6)
)

pact = rodCreateRect(
?name "pact"
?cvId pcCellView
?layer "pact"
?bBox list(0:0 length+4:width)
);end rod



pgate = rodCreateRect(
?name "pgate"
?cvId pcCellView
?layer "pgate"
?bBox list(2:-.6 2+length:width+.6)
);end rod



rodAssignHandleToParameter(
?parameter "width"
?rodObj pact
?handleName list("upperCenter")
?displayName "width"
?stretchDir "y"
?stretchType "relative"
?moveOrigin t
) ; end rodAssignHandleToParameter

rodAssignHandleToParameter(
?parameter "length"
?rodObj pgate
?handleName list("lowerRight")
?displayName "length"
?stretchDir "x"
?stretchType "relative"
?moveOrigin t
) ; end rodAssignHandleToParameter

t
)
 
vtcad wrote:
I'm attempting to learn how to build a pcell using skill, I've put
together the following code, but need some ideas on how to add drain/
source contacts and make the device multiple fingers.
At least as of 5141, you get pretty substantial sample pcell code
from CDNS:

..../tools/dfII/samples/ROD/rodPcells

It's probably more of an example than you were looking
for (500+ lines of simple_mos.il), but it certainly works,
and you should already have it.

-Jay-
 
On Saturday, December 1, 2007 at 4:33:17 AM UTC+5:30, jayl...@accelerant.net wrote:
vtcad wrote:
I'm attempting to learn how to build a pcell using skill, I've put
together the following code, but need some ideas on how to add drain/
source contacts and make the device multiple fingers.

At least as of 5141, you get pretty substantial sample pcell code
from CDNS:

.../tools/dfII/samples/ROD/rodPcells

It's probably more of an example than you were looking
for (500+ lines of simple_mos.il), but it certainly works,
and you should already have it.

-Jay-


HI Jay
can u please upload that simple_mos.il pcell code. that link doesnt work

regards
keerthan kumar
 

Welcome to EDABoard.com

Sponsor

Back
Top