Home > Community > Forums > Digital Implementation > reporting multicut via

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 reporting multicut via 

Last post Tue, Oct 16 2007 2:20 AM by archive. 4 replies.
Started by archive 16 Oct 2007 02:20 AM. Topic has 4 replies and 1744 views
Page 1 of 1 (5 items)
Sort Posts:
  • Tue, Oct 16 2007 2:20 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    reporting multicut via Reply

    Does any one know the command to dump out the number of multicut vias in a design using nanoroute (Encounter).


    Originally posted in cdnusers.org by mvvijay78
    • Post Points: 0
  • Fri, Oct 19 2007 12:44 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: reporting multicut via Reply

    You should see a couple of lines in the log like the following:

    #Total number of vias = 1928911
    #Total number of multi-cut vias = 918149 ( 47.6%)


    - Kari


    Originally posted in cdnusers.org by Kari
    • Post Points: 0
  • Sun, Oct 21 2007 11:57 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: reporting multicut via Reply

    Thanks kari.Currently we are doing the same. We are looking into the log file of nanoroute to grep for the number of multicut vias .  But wanted to know if given a routed database is there any command which could dump out the same info.



    Originally posted in cdnusers.org by mvvijay78
    • Post Points: 0
  • Thu, Nov 1 2007 10:43 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: reporting multicut via Reply

    There's a gift script that comes with your FE install : userRptViaStats.tcl This dumps via counts to the cmd window for all vias individually (regular & special). You can source and run this as part of your batch run script, or in FE after restoring a routed db.
    You could tweak the gift script a bit to get what you want.

    Skip special nets so you don't get the power grid via arrays...
    if [dbIsNetSpecial $netId] { puts "Skip Special Net: $netName"
    ....

    Add some statements to get number of cuts in each via as it loops though the route segments...
    set xCuts [lindex [dbInfoViaCellRegularCuts $viaPtr] 4]
    set yCuts [lindex [dbInfoViaCellRegularCuts $viaPtr] 5]

    Then only list the multi-cut vias...
    if {$xCuts > 1 || $yCuts > 1} {
    incr multCutViaCount
    if [info exists viaList($viaName)] {
    ....

    If you want the script output to go to both the command window and the log file, you need to change the "puts " to "Puts" (use Upper-case P)...
    Puts "Total Multi-Cut Vias: $multiCutVias"

    -Rich


    Originally posted in cdnusers.org by rjkleinstick
    • Post Points: 0
  • Fri, Nov 2 2007 1:35 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: reporting multicut via Reply

    Thanks! Rich, your post indirectly helps me a lot!

    I have been tried to find way to iterate all the vias in SOCE until the day I see your post.

    Many thanks!!


    Originally posted in cdnusers.org by eminemshow
    • Post Points: 0
Page 1 of 1 (5 items)
Sort Posts:
Started by archive at 16 Oct 2007 02:20 AM. Topic has 4 replies.