Home > Community > Forums > Custom IC Design > How to search for vias with rows or columsn property in layout XL

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 search for vias with rows or columsn property in layout XL 

Last post Wed, Aug 28 2013 11:12 AM by pham777. 6 replies.
Started by pham777 23 Aug 2013 09:45 AM. Topic has 6 replies and 506 views
Page 1 of 1 (7 items)
Sort Posts:
  • Fri, Aug 23 2013 9:45 AM

    • pham777
    • Top 500 Contributor
    • Joined on Mon, Feb 11 2013
    • Posts 24
    • Points 405
    How to search for vias with rows or columsn property in layout XL Reply

    Hi,

    I am using IC615.06.15.151. In virtuoso layout XL, I opened a Find/Replace form, search for via in current cellview with

    via definition == M5_M4

    property Name CutRows == 2

    But can not find any , eventhough there are  a lot of vias like that in layout. Do I make any mistakes ??

    Thanks,

    ha

    • Post Points: 20
  • Sun, Aug 25 2013 4:06 PM

    • theopaone
    • Top 75 Contributor
    • Joined on Tue, Feb 12 2013
    • Cedar Park, TX
    • Posts 119
    • Points 1,755
    Re: How to search for vias with rows or columsn property in layout XL Reply

     The attribute is cutRows, not CutRows.

    Try this:

    viaHeaders = setof( vh deGetCellView()~>viaHeaders
                                      vh~>viaDefName == "M5_M4"  && vh~>cutRows == 2 )

    viaInstances = viaHeaders~>vias

     

    Ted

     

    Filed under:
    • Post Points: 20
  • Tue, Aug 27 2013 1:50 PM

    • pham777
    • Top 500 Contributor
    • Joined on Mon, Feb 11 2013
    • Posts 24
    • Points 405
    Re: How to search for vias with rows or columsn property in layout XL Reply

    Thanks for your skill code, Ted. I tried it, but it still return nill. Maybe I typed it wrong. I believed the results will be something like

    db:0x0000x....How can I use that to select the vias in layout. I am not good at all about skill code.

    Thanks,

    ha

    • Post Points: 20
  • Tue, Aug 27 2013 8:39 PM

    Re: How to search for vias with rows or columns property in layout XL Reply

    There's a mistake in Ted's code - you can't do ~>cutRows on a viaHeader object. You can do that on a via instance, but not a viaHeader. So instead you'd need to do:

    ; take car, because there should only be one match
    viaHeaders = car(setof( vh deGetCellView()~>viaHeaders
                                      vh~>viaDefName == "M5_M4"  && cadr(assoc("cutRows" vh~>overrideParams)) == 2 ))
    viaInstances = viaHeaders~>vias
    foreach(via viaInstances geSelectFig(via))

    This will select the vias afterwards.

    I think you should also contact customer support to request that you can specify cutRows/cutColumns etc in the search criteria for finding vias on the Find command (it doesn't work, because it's not a "property").

    Kind Regards,

    Andrew.

     

    • Post Points: 20
  • Wed, Aug 28 2013 9:59 AM

    • pham777
    • Top 500 Contributor
    • Joined on Mon, Feb 11 2013
    • Posts 24
    • Points 405
    Re: How to search for vias with rows or columns property in layout XL Reply

    Thanks, Andrew. Your code works. But it returns only one match. Is it possible to return more than one match ?

    I will try to contact customer support.

    best regards,

    ha

    • Post Points: 20
  • Wed, Aug 28 2013 10:15 AM

    Re: How to search for vias with rows or columns property in layout XL Reply

    Sorry, I was being a bit stupid. I forgot you'd likely have more than one M5_M4 viaHeader with that number of cutRows...

    Change the code to:

    viaHeaders = setof( vh deGetCellView()~>viaHeaders
                                      vh~>viaDefName == "M5_M4"  && cadr(assoc("cutRows" vh~>overrideParams)) == 2 )
    foreach(viaHeader viaHeaders
      foreach(via viaHeader~>vias geSelectFig(via))
    )

    Regards,

    Andrew.

    • Post Points: 20
  • Wed, Aug 28 2013 11:12 AM

    • pham777
    • Top 500 Contributor
    • Joined on Mon, Feb 11 2013
    • Posts 24
    • Points 405
    Re: How to search for vias with rows or columns property in layout XL Reply

    Hi Andrew,

    It works perfect now. You're the man.

    Appreciated,

    ha

    • Post Points: 5
Page 1 of 1 (7 items)
Sort Posts:
Started by pham777 at 23 Aug 2013 09:45 AM. Topic has 6 replies.