PCells evaluation & DRC/LV

Discussion in 'Cadence' started by Sylvain, Sep 18, 2007.

  1. Sylvain

    Sylvain Guest

    Hi,

    I've achieved to write a PCell which is using structures defined by
    defstruct.
    This allows me to declare and set variables with the implicitly
    declarated function Make_*.

    My problem is that my Pcell works very well in virtuoso when I
    instanciate it, make changes etc... But when i try to run a drc/lvs
    which uses PIPO GDS export, some function aer not findable (the make_*
    function for example).
    The error message tells me to only use db* and rod* functions, but I
    know that we can define our own functions in Pcells.

    So my question is the following :

    Are defstructs unusable in PCells, or is there a special way to
    autoload pcell to make them visible when PIPO process is launched ?

    Thank you for your time.


    Sylvain
     
    Sylvain, Sep 18, 2007
    #1
  2. As with pcells which use custom functions, you should put the defstruct
    definitions, along with any custom functions you define, in the libInit.il file
    for the library containing your pcell (this lives in the library directory
    itself).

    That way applications (including PIPO and DFII) will read the libInit.il the
    first time the library is accessed, and thus before the pcell is evaluated.

    Regards,

    Andrew.
     
    Andrew Beckett, Sep 18, 2007
    #2
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.