Home > Community > Forums > Custom IC Design > Skill code for extracting wire information for one signal

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: *

 Skill code for extracting wire information for one signal 

Last post Fri, Aug 24 2012 2:12 PM by skillUser. 3 replies.
Started by MYIN 24 Aug 2012 12:14 PM. Topic has 3 replies and 1094 views
Page 1 of 1 (4 items)
Sort Posts:
  • Fri, Aug 24 2012 12:14 PM

    • MYIN
    • Not Ranked
    • Joined on Wed, Jun 8 2011
    • Posts 4
    • Points 80
    Skill code for extracting wire information for one signal Reply

    Hi,

     Is there any skill code available to extract wire information from layout for singal signal?

     

    Thanks,

    Ming

    Filed under: ,
    • Post Points: 20
  • Fri, Aug 24 2012 1:19 PM

    • skillUser
    • Top 10 Contributor
    • Joined on Fri, Sep 19 2008
    • Austin, TX
    • Posts 2,595
    • Points 16,045
    Re: Skill code for extracting wire information for one signal Reply

    Hi Ming,

    There may be - but your question is unspecific and you did not mention which version you are using. What do you mean by "wire" do you mean physical characteristics of a segment or segments on a specific net, or do you mean logical information about the net/signal ?

    More detail of what you are looking for will get you a better answer.

    regards,

    Lawrence.

    • Post Points: 20
  • Fri, Aug 24 2012 1:26 PM

    • MYIN
    • Not Ranked
    • Joined on Wed, Jun 8 2011
    • Posts 4
    • Points 80
    Re: Skill code for extracting wire information for one signal Reply

     What I meant is the geometry information, such as wire length, width, spacing for different segments of a specific net.

    version is 6.1.5

    • Post Points: 20
  • Fri, Aug 24 2012 2:12 PM

    • skillUser
    • Top 10 Contributor
    • Joined on Fri, Sep 19 2008
    • Austin, TX
    • Posts 2,595
    • Points 16,045
    Re: Skill code for extracting wire information for one signal Reply

    Hi Ming,

    The net could be selected in the Navigator, then you could use hsmGetSelectedSet() to obtain the net name and work from that point.

    So let's assume my net of interest is net51...

     
    cv = geGetEditCellView()
    => db:0x16ab5e92
    netId = dbFindNetByName(cv "net51")
    =>db:0x16ab469c
    pathsOrSegs= setof(obj netId~>figs member(obj~>objType list("pathSeg" "path")))
    => (db:0x1d075e27 db:0x1d075e28 db:0x1d075e26 db:0x1d075e25 db:0x1d075e20
        ...
    foreach(object pathsOrSegs
      when(object~>objType=="pathSeg"
      printf("W=%g L=%g\n" 
        object~>width
        abs(car(setof(val rodSubPoints(object~>beginPt object~>endPt) abs(val)>0.0)))
      )
      ); when it is a pathSeg
    ); foreach
    ;; prints the following:
      W=0.06 L=0.885
      W=0.06 L=0.54
      W=0.06 L=0.48
      W=0.08 L=0.54
      W=0.06 L=0.13
      ...
    

    A path would need to be treated differently to a pathSeg (because it does not have "beginPt" and "endPt" attributes), but hopefully you get the idea from the above example.  I wrote CCSgetPathLength for paths...

    Hopefully this is close to what you were looking for?

    Regards,

    Lawrence.

    • Post Points: 5
Page 1 of 1 (4 items)
Sort Posts:
Started by MYIN at 24 Aug 2012 12:14 PM. Topic has 3 replies.