• 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. Digital Implementation
  3. db help

Stats

  • Locked Locked
  • Replies 7
  • Subscribers 91
  • Views 13990
  • 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

db help

sambasiva
sambasiva over 14 years ago

 dbIsNetRectSignal netrectPtr

In the above command how to get  netrectPtr for a given net.

thanks in advance

sambasiva 

  • Cancel
  • BobD
    BobD over 14 years ago

    If you want to iterate through the wire segments associated with a given net I think you'd find dbGet's interface much more user-friendly:

    encounter 8> dbGet [dbGet -p top.nets.name tdsp_portO[15]].wires
    0x2aaab8ee2d90 0x2aaab8cab468 0x2aaab8dd2720 0x2aaab8ccde38 0x2aaab76bc5b8

    If you have a chance, please have a look and let us know what you think.

    Hope this helps,
    Bob

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • sambasiva
    sambasiva over 14 years ago

     Hi Bob

    Thanks for the info.

    But actually  what iam intersted is  the below one

    dbIsNetRectTrunk netrectPtr
    Returns a 1 if the specified net rectangle is a trunk, else a 0.

    I can get this info like this by using the below command
    dbGet [dbGet -p top.nets.name FE_OFN49_o_ls_tx0_premptap_2_].isPatternTrunk

    I want  to use this  dbIsNetRectTrunk coomand to get objpart of the given net.

    Thanks
    siva

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • sambasiva
    sambasiva over 14 years ago
    Hi Bob

    Thanks for the info.

    But actually what iam intersted is the below one

    dbIsNetRectTrunk netrectPtr
    Returns a 1 if the specified net rectangle is a trunk, else a 0.

    I can get this info like this by using the beow command
    dbGet [dbGet -p top.nets.name FE_OFN49_o_ls_tx0_premptap_2_].isPatternTrunk

    I want to use this dbIsNetRectTrunk coomand to get objpart of the given net.

    Thanks
    siva
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • sambasiva
    sambasiva over 14 years ago

    hi Bob

     Any updates plzzzzzz

     

    Thanks

    samba 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • BobD
    BobD over 14 years ago

    I'm checking with R&D now on this and I'll get back to you when I hear from them.

    It sounds like "Trunk" is a marking that's on a net-by-net basis rather than a wire segment basis in which case you would need to traverse from wire segment to net to trunk marking.  Would you let us know what you're trying to determine?  There might be a better way to find what you're looking for than figuring out dbIsNetRetTrunk.

    Thanks,
    Bob

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • BobD
    BobD over 14 years ago

    R&D responded that you likely don't want to use these NetRect commands - they're intended for accessing properties for a specific application rather than general purpose use.

    Instead, try:
    dbGet [dbStripBoxNet [dbGet selected]].isPatternTrunk

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • sambasiva
    sambasiva over 14 years ago
    Thanks Bob
    • 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