• 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 Design
  3. check instance binding layout Vs Schematic

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 125
  • Views 7487
  • 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

check instance binding layout Vs Schematic

jaapvds
jaapvds over 2 years ago

I would like to check per instance the binding (XL compliancy) between Layout and Schematic.

Function bndGetBoundObjects can be used for this purpose, like:

foreach(insts cvId~>instaces

   bndGetBoundObjects(insts)

....

However this must be ran in XL mode

To overcome this, function lxRunCmdInXL should be used, however when using:

foreach(insts cvId~>instaces

  lxRunCmdInXL(cvId  'bndGetBoundObjects insts) 

....

I get the error: *Error* lxRunCmdInXL: extra arguments or keyword missing - ((db:0x5d0ef89a db:0x5d0ef89b))

What extra argument must be added?

Thanks!

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 2 years ago

    Two issues:

    1. You need to pass the argument list to lxRunCmdInXL with ?cmdArgs (which needs to be a list)
    2. The function always gets passed the layout and schematic cellView ids. 

    You could do:

    procedure(MyWrapBndGetBoundObjects(_d1 d2 instId)
      bndGetBoundObjects(instId)
    )
    bindings=foreach(mapcar inst cv~>instances lxRunCmdInXL(cv  'MyWrapBndGetBoundObjects ?cmdArgs list(inst)))

    However, it is probably best to just to "run in XL" once (this will be much quicker, as XL only gets initialised a single time):

    procedure(MyGetAllBindings(lcv _scv)
      foreach(mapcar inst lcv~>instances bndGetBoundObjects(inst))
    )
    bindings=lxRunCmdInXL(cv 'MyGetAllBindings)

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • jaapvds
    jaapvds over 2 years ago in reply to Andrew Beckett

    thanks Andrew for quick reply, this works!

    Kind Regards,

    Jaap

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • jaapvds
    jaapvds over 2 years ago in reply to Andrew Beckett

    thanks Andrew for quick reply, this works!

    Kind Regards,

    Jaap

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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