function definition inside pcDefinePCell

Discussion in 'Cadence' started by Bernd Fischer, Aug 8, 2005.

  1. 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, Aug 8, 2005
    #1
  2. Bernd Fischer

    jayl-news Guest

    I've never done that (define a function inside a pcDefinePCell()
    call).
    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-
     
    jayl-news, Aug 8, 2005
    #2
  3. 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
     
    Bernd Fischer, Aug 9, 2005
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.