Shape to Polygon

Discussion in 'Cadence' started by tracy&amanda, Mar 12, 2005.

  1. tracy&amanda

    tracy&amanda Guest

    All,

    Is there a equilavant
    db function to convert
    shapes to polygons .
    I need something besides
    the leShapetoPolygon() .

    Reagrds

    Tracy
     
    tracy&amanda, Mar 12, 2005
    #1
  2. tracy&amanda

    vlsidesign Guest

    The Interactive Skill function is 'leHiConvertShapeToPolygon' and the
    procedural function is 'leConvertShapeToPolygon'. You may want to
    check the "custom layout skill functions reference' on page 32.
     
    vlsidesign, Mar 12, 2005
    #2
  3. tracy&amanda

    tracy&amanda Guest

    thats true but I need
    a db function or similar,
    the reason for this is
    with pcells it's told not
    to use ge or le functions .
    Per the cdsdocs for PCELLS.


    Thanks for ur reply
     
    tracy&amanda, Mar 13, 2005
    #3
  4. tracy&amanda

    Jim Newton Guest

    hi tracy, VCAD has a fully SKILL based implementation
    of the layer boolean functions which are completely
    usable in pcells. If you need to do simle boolean
    layer operations on manhattan shapes, the SKILL
    implementation is of course slower than the c-level
    le...functions, but they are very nice to use in
    PCells.

    Please let me know if you are interested in them.
    -jim
     
    Jim Newton, Mar 13, 2005
    #4
  5. In 5.2.51, and recent hotfixes of 5.0.33 and 5.1.41, the boolean
    functions have been made safe for use in PCells. The official function
    names are dbLayerOr, dbLayerAnd, etc. with the old layerOr, layerAnd,
    etc. functions being aliased to the new functions.

    This does not solve your shape conversion question though. I suppose you
    could call dbLayerOr passing it the shape. As far as I know, it always
    returns the polygon that represents the shape you gave it. Kind of an
    expensive operation though. A little cheaper if you know none of the
    shapes on a single layer overlap and feed them all in at once, or don't
    care that they merge together.

    Why are you trying to convert to polygons? Why not just generate
    polygons to start with?
     
    Diva Physical Verification, Mar 13, 2005
    #5
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.