function definition inside pcDefinePCell

B

Bernd Fischer

Guest
Hi,

In general I use the encapsulated method to write SKILL
PCell, but in some specific cases I need to define and also
call a subfunction in side the 'pcDefinePCell' statement.

What is the recommend way there to do, defun or procedure, etc.?
Are there any advantages vs. disadvantages of one method?

Thanks Bernd
 
Bernd Fischer wrote:
In general I use the encapsulated method to write SKILL
PCell, but in some specific cases I need to define
I've never done that (define a function inside a pcDefinePCell()
call).

and also
call a subfunction in side the 'pcDefinePCell' statement.
That I do all the time.

My pcells reside in their own library, and the libInit.il
for that library loads all the procedures needed by the
pcDefinePCell() call.

-Jay-
 
Jay,

That's what I meant with the encapsulated method.


libInit.il loads my subfunction


pcDefinePCell(

bla bla
....

subfunction( )

)


But what I want to do


pcDefinePCell(

procedure( subfunction( )
)

bla bla
....

subfunction( )

)

or

pcDefinePCell(

defun( subfunction ( )
)

bla bla
....

subfunction( )

)


Are there any disadvantages or advantages of
eitehr one or the other method?

Bernd

jayl-news@accelerant.net wrote:
Bernd Fischer wrote:

In general I use the encapsulated method to write SKILL
PCell, but in some specific cases I need to define


I've never done that (define a function inside a pcDefinePCell()
call).


and also
call a subfunction in side the 'pcDefinePCell' statement.


That I do all the time.

My pcells reside in their own library, and the libInit.il
for that library loads all the procedures needed by the
pcDefinePCell() call.

-Jay-
 

Welcome to EDABoard.com

Sponsor

Back
Top