Skill Q: Is there a way to get object from the print name

Discussion in 'Cadence' started by Suresh Jeevanandam, Jul 14, 2004.

  1. Andrew and all,
    Can we get the object from the print name such as db:78268516
    Something like,
    myObj = getObjFromPrintName("db:78268516")

    thanks in advance,
    Suresh.J.
     
    Suresh Jeevanandam, Jul 14, 2004
    #1
  2. No. Why would you want to?

    Andrew.

     
    Andrew Beckett, Jul 14, 2004
    #2
  3. Suresh Jeevanandam

    Jim Newton Guest

    hi andrew, i've often wanted to get the object from the printname.
    it would be very useful for debugging... if db:78268516 appears
    in my stacktrace, i'd love to be able to find out what it is.
    was a pin being passed to my function rather than a terminal
    for example or to examine the object to figure out why my
    algorithm failed for that particular object.... would be
    a very useful function in my opinion..


    -jim
     
    Jim Newton, Jul 14, 2004
    #3
  4. Jim,

    I think that's the reasoning behind the funobj(), stdobj() and envobj() SKILL
    functions - for debugging purposes.

    I don't believe there is a way of doing this right now though for db objects, so
    it would need an enhancement PCR.

    Andrew.
     
    Andrew Beckett, Jul 15, 2004
    #4
  5. Andrew,
    I was just playing around with one of the solutions you gave long back.
    http://groups.google.com/groups?selm=&output=gplain

    Was just wondering if external program that communicates and executes
    skill statements in the icfb could be given some mechanism to store the
    skill objects as string and refer them back.

    Thanks for the response. --Suresh
     
    Suresh Jeevanandam, Jul 15, 2004
    #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.