PCells evaluation & DRC/LV

S

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
 
On Tue, 18 Sep 2007 12:39:27 -0000, Sylvain <sylvain.triviaux@gmail.com> wrote:

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
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
Senior Solution Architect
Cadence Design Systems, UK.
 

Welcome to EDABoard.com

Sponsor

Back
Top