• 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. Finding the leaf clock nets in the design

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 92
  • Views 14927
  • 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

Finding the leaf clock nets in the design

ssuhas
ssuhas over 14 years ago

Hi,

I am applying NDR's only to the clock nets. But when I see manually the clock routed after CTS. Only certain clock have been applied NDR.But I have not applied NDR for leaf nets. SO wanted to find the leaf clock nets of the design. Can you please tel me how do we find the leaf clock nets in SOCE.

If possible please let me the changes to be done in the clock speacfication file after applying NDR and performing CTS.

 

Thanks

 

  • Cancel
  • Kari
    Kari over 14 years ago

    I'm not sure I completely understand the question. Are you saying that you want all of your clocks to use the NDR, but some of them are not using it? 

    Make sure you have the NDR description at the top of your .ctstch file:

    #-- Wide_wire Route Type --
    RouteTypeName DBLWIDE
    TopPreferredLayer 4
    BottomPreferredLayer 3
    NonDefaultRule DBLWIDE
    End

    Then make sure that each clock section uses it:

    RouteClkNet    YES
    RouteType      DBLWIDE
    LeafRouteType  DBLWIDE

     If you want the leaf nets to use a different rule, you can specify that, but the rule needs to be defined at the top of the .ctstch file.

    Hope this helps,

    - Kari

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

     Hi kari,

    Ya what you are saying is completely correct. I have not applied the NDR for leaf nets. So I wanted to cross verify if all the leaf nets have not been applied NDR. So I wanted to know how do we find or dump only the leaf clk nets in the design.

     

    Thanks and Regards

    Suhas

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

     So, is your LeafRouteType set to Regular, or not set at all? If it's not set at all, I *think* the default is to follow the RouteType, wich means your leaf nets will be double wide. If you've set the leaf type to Regular, then I would just check a few for sanity and be done, personally. If you check a few, you can be fairly certain that what was done to those was done to all of them. But, I did come across a script that should get the leaf nets for you.

    get_leaf_nets.tcl

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Vishnu Chada
    Vishnu Chada over 14 years ago

     

    proc leafNet { outRpt  clockTerm  } {
    set f [open $outRpt w]
    set  x  [get_cells -hier -filter "is_sequential == true"]
    foreach_in_collection y $x {
    set inst [get_object_name $y]
    if { [dbGetTermByName [dbGetInstByName $inst] $clockTerm ] } {
    puts $f "[dbNetName [dbTermNet [dbGetTermByName [dbGetInstByName $inst] $clockTerm ]]]"
     }
    }

    close $f
    }

    Would the above script help ?

    --Vishnu

     

     

     

    • 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