Pcell Question?

Discussion in 'Cadence' started by Praveen, Jan 7, 2004.

  1. Praveen

    Praveen Guest

    Hi,

    Just a very quick question. Is it possible to code pcells using
    skill++ or I have to adhere strictly to the functions documented in
    skill language reference for coding the pcells.

    thanking everyone in advance,
    Praveen.
     
    Praveen, Jan 7, 2004
    #1
  2. SKILL++ functions are perfectly legal in pcells. SKILL++ can be broadly
    divided into two parts - the Object System, and lexical scoping (i.e. the syntax
    is the same, but the semantics are different).

    One limitation is that the pcDefinePcell call needs to be interpreted with SKILL
    (not SKILL++) semantics (if I remember rightly). You can call any SKILL++
    functions from within the pcDefinePcell, but in general it's best to have the
    pcDefinePcell in a file with a .il (not .ils) suffix. Often what I do is:

    pcDefinePcell(
    (cellView info...)
    (parameter info)
    ABdoTheActualPcellCode(param1 param2 param3 param4...)
    )

    And then ABdoTheActualPcellCode can be a SKILL++ function (defined in another
    file with a .ils suffix). Of course all the extra code (not the file with the
    pcDefinePcell in) needs to be loaded at run time - usually via a libInit.il file
    in the library containing the pcell.

    Best Regards,

    Andrew.
     
    Andrew Beckett, Jan 8, 2004
    #2
  3. Praveen

    Praveen Guest

    Thanks you Andrew, for the clarification.
    Praveen.
     
    Praveen, Jan 9, 2004
    #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.