Home > Community > Forums > Custom IC SKILL > How to obtain full path of an instance interms of instance names?

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 How to obtain full path of an instance interms of instance names? 

Last post Wed, Jul 15 2009 6:30 AM by Andrew Beckett. 4 replies.
Started by IC Layout 15 Jul 2009 01:46 AM. Topic has 4 replies and 1029 views
Page 1 of 1 (5 items)
Sort Posts:
  • Wed, Jul 15 2009 1:46 AM

    • IC Layout
    • Top 150 Contributor
    • Joined on Sat, Mar 7 2009
    • Hyderabad, Andhra Pradesh
    • Posts 53
    • Points 1,155
    How to obtain full path of an instance interms of instance names? Reply

    Hello! Everyone,

                           My toplevel schematic containing 5 TGs(Transmission Gates) and with instance name T0 --> T4.

                           And 5 transistors with instance name P0, P1, P2 & N0, N1.

                           Also each TG having 2 transistors with instance name TP0, TN0.

    Now I would like to print path to TP0 which is in T0 as T0/TP0, for TN0 it has to print T0/TN0...

    similarly, the  path to TP0 which is in T1 as T1/TP0, for TN0 it has to print T1/TN0...

    I hope You understood my problem and please, guide me in this way.... 

    Thanks in Advance

    Prabhakar. K -- Layout Engineer 

    • Post Points: 20
  • Wed, Jul 15 2009 1:56 AM

    Re: How to obtain full path of an instance interms of instance names? Reply

    Print how, when, where? It's really unclear as to what you're trying to do. What is triggering this printing? Otherwise you can just do printf("/T0/TN0\n") . I'm sure that's not what you want, but I'm just pointing out that your requirements are unclear.

    Regards,

    Andrew.

    • Post Points: 20
  • Wed, Jul 15 2009 2:23 AM

    • IC Layout
    • Top 150 Contributor
    • Joined on Sat, Mar 7 2009
    • Hyderabad, Andhra Pradesh
    • Posts 53
    • Points 1,155
    Re: How to obtain full path of an instance interms of instance names? Reply

    Foreach transistor/resistor/cap in the schematic  I would like to print it's path from toplevel to current edit level (as I mentioned before) in the CIW window.

    Ex: I have opend a toplevel schematic and now I would like to print path to the instances which are in 1st, 2nd or 3rd .. level by means of SKILL code.

    • Post Points: 20
  • Wed, Jul 15 2009 6:04 AM

    • skillUser
    • Top 10 Contributor
    • Joined on Fri, Sep 19 2008
    • Austin, TX
    • Posts 2,567
    • Points 15,575
    Re: How to obtain full path of an instance interms of instance names? Reply

    Hi Prabhakar,

    I believe that SourceLink solution 11169362 does what you want, can you take a look at it?

    Have you tried the functionality from the Layout side of things (I think it is called leHiTree()) ?  It should work on a schematic too, though I am not sure if the hierarchy printing is quite what you are asking for.

    Regards,

    Lawrence.

    • Post Points: 20
  • Wed, Jul 15 2009 6:30 AM

    Re: How to obtain full path of an instance interms of instance names? Reply

    You may also find Sourcelink Solution 11300048 useful (OK, I'm biased, as I wrote it...). It handles configs too. It would need some tweaking to do what you want though.

    Regards,

    Andrew.

     

    • Post Points: 5
Page 1 of 1 (5 items)
Sort Posts:
Started by IC Layout at 15 Jul 2009 01:46 AM. Topic has 4 replies.