• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC SKILL
  3. Is it possible add context to Find Marker result

Stats

  • Locked Locked
  • Replies 8
  • Subscribers 143
  • Views 15137
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Is it possible add context to Find Marker result

yuhua
yuhua over 15 years ago

Hi all ,

 Is it possible add context to Find Marker ,  i have a instance hierarchy list .

 i hope easy to find the instance in schematic that like Find Marker function .

 

thanks

YH 

 

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 15 years ago

    Can you expand your question? I don't understand what you mean by "Is it possible add context to Find Marker". So please give more details.

    Also, what version are you using?

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • yuhua
    yuhua over 15 years ago

    Hi andrew ,

    my composer version : 5141 ISR140

    i have instance hierarchy list like :

    XI_BIASOSC/XI146/MN1
    XI_BIASOSC/XI146/MP1
    XI_LVD/XI18/MM7
    XI_LVD/XI18/MM8
    XI_LVD/XI22/MP10 

    i wish easy to find and search instance in schematic .

    the function like "Find Marker" , when i click instance list line .

    the instnace will be highlight and jump to schematic .

    thanks ,

    YH

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 15 years ago

    In IC61, in Schematic XL, you have the "Navigator" assistant which allows you to easily traverse the hierarchy. In IC614 there's a search built in to that, but you also have the Search assistant. This makes it very easy to find stuff, because it can then open lower level schematics (in tabs) and zoom/pan to selected instances automatically.

    In IC5141, your best bet is probably Edit->Search->Find, and set the  search scope to hierarchy, and then search for the leaf part of the hierarchy (e.g. MM7). There's also "Zoom to Object" on this form.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • yuhua
    yuhua over 15 years ago

    Hi andrew ,

     thanks ,

    i will try it !

     

    BRs,

    YH

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • dmay
    dmay over 15 years ago

    You can write a little recursive routine to do this. The main Cadence functions to use would be:

    instId = dbFindAnyInstByName(geGetEditCellView() instName)
    geSwitch(hiGetCurrentWindow() "r" instId 0 0 0)

    This would be very easy to implement for your examples. It gets a little trickier when you have iterated instances (like myInst<0:7>). The dbFindAnyInstByName will not find myInst<1>, but would only find the entire name.

    Here is how you might implement this for your examples:

    procedure(mySchDescend(path)
      let((pathList)
        pathList = parseString(path "/")
        instId = dbFindAnyInstByName(geGetEditCellView() car(pathList))
        geSwitch(hiGetCurrentWindow() "r" instId 0 0 0)
        when(pathList = cdr(pathList)
            mySchDescend(buildString(pathList "/"))
        )
      )
    )

    mySchDescend("XI_BIASOSC/XI146/MN1")

    Derek

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • yuhua
    yuhua over 15 years ago

    Hi Derek ,

    thanks ~ the procedure mySchDescend is power help for me .

    Hi all,

    the Find Marker GUI interface is powerful .

    i check the document and find the command "geCreateMarker"

    Is it possible add marker via geCreateMarker ???

    geCreateMarker( cell2 "warning" "PDV" "physical rule violation" "mytext" )

    the cell2 setting  

    cell2 = ddGetObj("mylib" "mycell" "schematic")

    i get error message *Error* geCreateMarker: argument #1 should be a database object (type template = "dtttt") - dd:0xc50dbc4

    How to create Marker via skill command in schematic view ?

     

    BRs,

    YH

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • skillUser
    skillUser over 15 years ago

     Hi Yu Hua,

    The problem is that the ddGetObj function returns a "dd" object which is not the same as a "db" object which is what the marker function requires.  You can get a db cellview object id using a function like geGetEditCellView() or dbOpenCellViewByType(<lib> <cell> <view>)

    Also the db object for the geCreateMarker() function can be for another database object, such as a shape or an instance, these might be obtained through selection, e.g. car(geGetSelectedSet()) or through the mouse pointer location, e.g. in a bindkey function gePointToFig(hiGetCurrentWindow() t hiGetPoint())

    Anyway, I hope that I have provided enough information to get you working again...

    Regards,

    Lawrence.

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • yuhua
    yuhua over 15 years ago

    Thanks again everybody.

    it's work .

    BRs,

    YH

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information