[mems-modsim] Coventor hierarchical generators - how to get shapes to add to objects

Mark Begbie Mark.Begbie at sli-institute.ac.uk
Wed Apr 21 10:45:11 EDT 2004


Hello list,

 

I am using Coventorware and am writing a generator script to create a
design from parameterised input.  This works fine, until I try to build
a hierarchical design within a generator.  There seems to be something
about opening new cells that breaks the addObject method.  The symptom
is that the drawing elements appear in the Catapult window when the
generator creates them, but they do not add to a design object.
Consequently, at the end of the process none of the elements on the
screen are really present in the design.  A code sample is given below
to show how I am trying to create a cell (oh man, this is such a simple
code fragment and I know the solution is going to be equally simple):

 

      cat:cellcreate "CellName"

      set Msk [cat:rectangle -layer poly1 -10 -10 10 10]; $obj addObject
$Msk

      cat:cellsave

 

The same code, when not within the cell create and save loop works fine
(of course).  Sadly, this is an area where Coventor do not see fit to
publicly release their documentation, so I am left scrabbling in the
dark.  Any information to point me in the right direction would be
greatly appreciated.  I am guessing that it is probably to do with
passing objects back and forth to the addObject method, but there ain't
no documentation in my set for this command.

 

Dr. Mark Begbie

Technologist - Microsystems

==================================================================

The Institute for System Level Integration

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.mems-exchange.org/pipermail/mems-modsim/attachments/20040421/bf827223/attachment.html


More information about the MEMS-modsim mailing list