Control is not coming out from leHiCreatePath() fn due to nestability

Discussion in 'Cadence' started by Pratheesh.s, Nov 14, 2008.

  1. Pratheesh.s

    Pratheesh.s Guest


    We are developing a checklist automation tool for Virtuoso LE. We need
    to prevent user from things like "long routing of poly". I could not
    find any trigger functions in skill to call our functions at the time
    of leHiCreatePath(). So I have assigned a bind key which calls our fn
    and runs leHiCreatePath(). But the issue is leHiCreatePath()
    is recursivly calling itself.So control is not moving down

    hiSetBindKey("Layout" "<key>p" "polyLenCheckWp()")

    Control is stucked at leHiCreatePath() and not going to lengthFn() &
    displayFn().until the user presses escape.(but I cant wait till esc)

    Can you please help me...


    Pratheesh S
    AMS-Wipro Technologies
    Pratheesh.s, Nov 14, 2008
    1. Advertisements

  2. Pratheesh.s

    Riad KACED Guest


    I don't see how to workaround this interactive function off the top of
    my head.
    I would rather advice using the enterPath fucntion along with the
    dbCreatePath function. This way, you could control what you are
    drawing based on the points, width ... etc of your path.
    That's the best solution I could see so far ... Other chaps might have
    better ideas !

    Riad KACED, Nov 18, 2008
    1. Advertisements

  3. Pratheesh.s wrote, on 11/14/08 13:42:
    The only way would be to turn off the "Repeat Commands" option in the
    Options->Editor Options form. Otherwise it keeps in the same function until you
    hit escape.

    However, I would suggest that the approach of having to look over the entire
    design for long paths is going to be problematic (i.e. slow) when you have a
    large design - if you're doing this after every single edit operation.

    Perhaps it should be an elective check - i.e. something that has to be run like DRC.

    Andrew Beckett, Dec 20, 2008
    1. Advertisements

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.