• 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. List all cells in fanout/fanin cone of a node

Stats

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

List all cells in fanout/fanin cone of a node

ssuhas
ssuhas over 14 years ago

 Hi,

I wanted  know how do we list all cells in fanout/fanin cone of a node in encounter.

Do we have any command to get the above else can i get to the way to start of writing the tcl script for the above.

 

Thanks

  • Cancel
  • BobD
    BobD over 14 years ago

    The all_fanout and all_fanin commands are available in Encounter for this.  For example:

    encounter 22> all_fanout -only_cells -from [get_pins DTMF_INST/TDSP_CORE_INST/TDSP_CORE_GLUE_INST/i_955/Y]
    DTMF_INST/TDSP_CORE_INST/TDSP_CORE_GLUE_INST/i_955
    0x83

    Let us know if we could help applying those commands to your scenario.

    Hope this helps,
    Bob

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

    Hi bob, 

    It did help me out but I also wanted to get to know how do we find the fanin and fanout nets for the given cell.

    The commands mentioned by you gives me the the cells to which the fanin and fanout nets are connected to.But I wanted the names of fanin and fanout nets too.

     

    Thanks

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

    There may be an easier way to do this, but you could loop through each of the pins in the fanout cone and append the connected net to a list:

    set nets {}
    foreach_in_collection pin [all_fanout -from [get_ports din[14]]] {
      set net [all_connected $pin]
      set netName [get_property $net hierarchical_name]
      if {[lsearch $nets $netName] == -1} {
        lappend nets $netName
      }
    }
    Puts "Found [llength $nets] net(s):"
    Puts "$nets"
     

    Example:
    Found 17 net(s):
    {din[14]} {din[14]} n_4744 {din[14]} n_4840 {din[14]} n_4936 {din[14]} n_5032 {din[14]} n_5128 {din[14]} n_5224 {din[14]} n_5320 {din[14]} n_5416

    -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