• 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 9274
  • 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
Parents
  • 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
Reply
  • 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
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