• 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. How to get Connectivity Information between given modul...

Stats

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

How to get Connectivity Information between given modules

Nataraja G
Nataraja G over 15 years ago

after searching the pdf i found this dbHInstConnection but  it say's not working !!!

can i get that information from dbGet commands .....

 

thks in advance ..... 

  • Cancel
  • BobD
    BobD over 15 years ago

    Hi Nataraja,

    You can access the connections from an hinst by walking to "hInstTerms" and then "net":

    dbGet $hinst.hInstTerms.net

    Also, you might find the "userFindNetsOfSelModules.tcl" script in the gifts directory shipped with the software useful. It contains an example of how to find the common nets between selected modules using older-style FE-TCL commands.

    Hope this helps,
    Bob

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Nataraja G
    Nataraja G over 15 years ago

     thanks a lot Bob....

    this is what i was looking for

    dbGet $hinst.hInstTerms.net

     

    after i gets the nets connected to that first module ,i need to trace the sink pins  and find if that sink pins belong to the second module(between which i want to find connectivity  information) .......... is that it

    or is their any other ingenious way :)

     

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

    I think that would work, but it might be more efficient to capture the nets associated with each hinst and then find the nets common to both hinsts. There's a script in the gifts dir that could help with the list intersection part:

    encounter 12> set hinst1 [dbGetHInstByName DTMF_INST/TDSP_CORE_INST]
    0x2aa8959d60
    encounter 14> set hinst2 [dbGetHInstByName DTMF_INST/RESULTS_CONV_INST]
    0x2aa895a8c0

    encounter 15> set a [dbGet $hinst1.hInstTerms.net]
    encounter 16> set b [dbGet $hinst2.hInstTerms.net]

    encounter 16> source <path_to_gift_scripts>/userListUtilities.tcl
    encounter 17> userIntersectLists $a $b
    ->returns list of nets common to 2 hinsts

    -Bob

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Nataraja G
    Nataraja G over 15 years ago

    Wow !!!!

    simple and time efficient way to do my work .........

    and im using SOC 8.1 ..... i dont have any documents on dbGet or the example's like in gifts folder .....

    dbGet seems to be a powerfull tool !!!!!!! i have started using recently and i want to learn more and i have read all ur post's on dbGet

     

    9.1 version does it have any doc's regarding this

     

    thks again  

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Nataraja G
    Nataraja G over 15 years ago

     today i was writing one script , i had to get the instance name's of all the hard macro in the  design

    i tryed using dbGet top.insts.?

    dbGet fplan.?

    couldn't find any help,then i found on script in gifts floder which used 

    dbforeachcell and dbInstname $cellPtr in a loop for extracting the instance name..... at the end of the day i have completed my work 

    but i want to know how to get the macro names using  " dbGet " : the master command :) 

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

    I think the docs for dbGet were improved in 9.1 as compared to 8.1.  Here's a link to the documentation online (login required):

    http://support.cadence.com/wps/mypoc/cos?uri=deeplinkmin:DocumentViewer;src=pubs;q=/fetxtcmdref/fetxtcmdref9.1.1/basic_cmds.html
     
    We do have a 1 hour educational lunch 'n learn session that folks can obtain from their Cadence AE. You or anyone else who has a valid support agreement for Encounter can contact your Cadence AE and/or contact Cadence customer support and ask them for our "dbGet Training Lab".  If they don't know where to find it have them contact me (Bob Dwyer/dwyer at cadence dot com) for a pointer.
     
    Thanks,
    Bob
     
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Nataraja G
    Nataraja G over 15 years ago

     at my work place i even have ..... soc 9.1 ..... so ill find all those doc's about dbGet ??

    how to register ???  for cadence online support information , tommo ill ask my team lead about this 

    and by they way is their any way to get info about macro's using dbGet

     

    thks a million ......bye

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

    This is a great example of how dbGet's "-p" option is useful as well as its built-in interation function:

    encounter 44> dbGet [dbGet top.insts.cell.baseClass block -p2].name
    DTMF_INST/PLLCLK_INST
    DTMF_INST/RAM_128x16_TEST_INST/RAM_128x16_INST DTMF_INST/RAM_256x16_TEST_INST/RAM_256x16_INST
    DTMF_INST/ROM_512x16_0_INS

    • 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